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.2.2 to 5.3.0

2

d2l-navigation-link.js

@@ -60,3 +60,3 @@ import '@brightspace-ui/polymer-behaviors/d2l-focusable-behavior.js';

</style>
<a href$="[[href]]" title$="[[text]]">
<a class="d2l-focusable" href$="[[href]]" title$="[[text]]">
<span class="d2l-navigation-link-top-border"></span>

@@ -63,0 +63,0 @@ <slot></slot>

{
"name": "@brightspace-ui-labs/navigation",
"version": "5.2.2",
"version": "5.3.0",
"repository": "https://github.com/BrightspaceUILabs/navigation.git",

@@ -13,4 +13,4 @@ "scripts": {

"test": "npm run lint && npm run test:headless",
"test:headless": "web-test-runner --config web-test-runner.config.mjs",
"test:headless:watch": "web-test-runner --config web-test-runner.config.mjs --watch"
"test:headless": "web-test-runner --files ./test/**/*.test.mjs --node-resolve",
"test:headless:watch": "web-test-runner --files ./test/**/*.test.mjs --node-resolve --watch"
},

@@ -17,0 +17,0 @@ "files": [

@@ -16,3 +16,3 @@ # navigation

A series of [Polymer](https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview)-based web components for top level navigation use on D2L pages.
A series of web components for top level navigation use in D2L applications.

@@ -155,2 +155,19 @@ ![screenshot of sample usage](/screenshots/navigation.png?raw=true)

### d2l-navigation-link-icon
Similar to `<d2l-navigation-button-icon>`, a link that comes with an icon and optional text.
![screenshot of navigation link icon](/screenshots/navigation-link-button-icon.png?raw=true)
### Properties
| Property | Type | Description |
|--|--|--|
| `href` | String, required | URL or URL fragment of the link |
| `text` | String, required | Text for the button |
| `icon` | String | Preset icon key (e.g. `tier1:gear`) |
| `text-hidden` | Boolean | Visually hides the text |
---
### d2l-navigation-iterator

@@ -157,0 +174,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