@brightspace-ui-labs/navigation
Advanced tools
Comparing version 5.2.2 to 5.3.0
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72636
309