@brightspace-ui-labs/navigation
Advanced tools
Comparing version 5.5.4 to 5.5.5
@@ -54,8 +54,11 @@ import { css, html, LitElement } from 'lit'; | ||
render() { | ||
return html` | ||
<a href="${this.href}" title="${this.text}"> | ||
<span class="d2l-navigation-highlight-border"></span> | ||
<span class="d2l-navigation-link-image-container"><img src="${this.src}" alt="${this.text}"></span> | ||
</a> | ||
`; | ||
if (this.href) { | ||
return html` | ||
<a href="${this.href}" title="${this.text}"> | ||
<span class="d2l-navigation-highlight-border"></span> | ||
<span class="d2l-navigation-link-image-container"><img src="${this.src}" alt="${this.text}"></span> | ||
</a> | ||
`; | ||
} | ||
return html`<span class="d2l-navigation-link-image-container"><img src="${this.src}" alt="${this.text}" title="${this.text}"></span>`; | ||
} | ||
@@ -62,0 +65,0 @@ } |
{ | ||
"name": "@brightspace-ui-labs/navigation", | ||
"version": "5.5.4", | ||
"version": "5.5.5", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/BrightspaceUILabs/navigation.git", |
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
68544
1451