Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brightspace-ui-labs/navigation

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightspace-ui-labs/navigation - npm Package Compare versions

Comparing version 5.10.0 to 5.11.0

8

d2l-navigation-button-icon.js

@@ -33,2 +33,7 @@ import '@brightspace-ui/core/components/colors/colors.js';

/**
* Visually hides the highlight border when hovered/focused
* @type {boolean}
*/
noHighlightBorder: { attribute: 'no-highlight-border', type: Boolean },
/**
* REQUIRED: Text for the button

@@ -62,2 +67,3 @@ * @type {string}

this.iconPosition = 'start';
this.noHighlightBorder = false;
this.textHidden = false;

@@ -73,3 +79,3 @@ this._buttonId = getUniqueId();

const { ariaLabel, id, text, tooltip } = this._getRenderSettings();
const highlightBorder = !this.disabled ? html`<span class="d2l-navigation-highlight-border"></span>` : nothing;
const highlightBorder = (!this.disabled && !this.noHighlightBorder) ? html`<span class="d2l-navigation-highlight-border"></span>` : nothing;
const icon = html`<d2l-icon icon="${this.icon}"></d2l-icon>`;

@@ -76,0 +82,0 @@ return html`

2

package.json
{
"name": "@brightspace-ui-labs/navigation",
"version": "5.10.0",
"version": "5.11.0",
"type": "module",

@@ -5,0 +5,0 @@ "repository": "https://github.com/BrightspaceUILabs/navigation.git",

@@ -164,2 +164,3 @@ # navigation

| `icon` | String | Preset icon key (e.g. `tier1:gear`) |
| `no-highlight-border` | Boolean | Visually hides the highlight border when hovered/focused |
| `text-hidden` | Boolean | Visually hides the text |

@@ -166,0 +167,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc