@brightspace-ui-labs/navigation
Advanced tools
Comparing version 5.7.2 to 5.7.3
@@ -20,3 +20,3 @@ import { css, html, LitElement } from 'lit'; | ||
return [bodyCompactStyles, css` | ||
.wrapper { | ||
:host { | ||
align-items: center; | ||
@@ -29,2 +29,5 @@ display: flex; | ||
} | ||
:host([hidden]) { | ||
display: none; | ||
} | ||
`]; | ||
@@ -46,19 +49,19 @@ } | ||
return html` | ||
<div class="wrapper d2l-body-compact"> | ||
<d2l-navigation-button-icon | ||
icon="tier3:chevron-left-circle" | ||
icon-position="start" | ||
text="${previousText}" | ||
?text-hidden="${this.hideText}" | ||
?disabled="${this.previousDisabled}" | ||
@click="${this._dispatchPreviousClicked}"></d2l-navigation-button-icon> | ||
<slot></slot> | ||
<d2l-navigation-button-icon | ||
icon="tier3:chevron-right-circle" | ||
icon-position="end" | ||
text="${nextText}" | ||
?text-hidden="${this.hideText}" | ||
?disabled="${this.nextDisabled}" | ||
@click="${this._dispatchNextClicked}"></d2l-navigation-button-icon> | ||
</div> | ||
<d2l-navigation-button-icon | ||
class="d2l-body-compact" | ||
icon="tier3:chevron-left-circle" | ||
icon-position="start" | ||
text="${previousText}" | ||
?text-hidden="${this.hideText}" | ||
?disabled="${this.previousDisabled}" | ||
@click="${this._dispatchPreviousClicked}"></d2l-navigation-button-icon> | ||
<slot class="d2l-body-compact"></slot> | ||
<d2l-navigation-button-icon | ||
class="d2l-body-compact" | ||
icon="tier3:chevron-right-circle" | ||
icon-position="end" | ||
text="${nextText}" | ||
?text-hidden="${this.hideText}" | ||
?disabled="${this.nextDisabled}" | ||
@click="${this._dispatchNextClicked}"></d2l-navigation-button-icon> | ||
`; | ||
@@ -65,0 +68,0 @@ } |
{ | ||
"name": "@brightspace-ui-labs/navigation", | ||
"version": "5.7.2", | ||
"version": "5.7.3", | ||
"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
72845
1582