@nanoporetech-digital/components 8.22.0 → 8.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{fade-BBm4CWLi.js → fade-Dk5hgLxE.js} +1 -1
- package/dist/cjs/{fullscreen-Bkk4fggn.js → fullscreen-B8PI8fLw.js} +1 -1
- package/dist/cjs/{lazyload-DFPCQcws.js → lazyload-ChvKaF2s.js} +1 -1
- package/dist/cjs/nano-avatar_5.cjs.entry.js +11 -11
- package/dist/cjs/nano-global-nav.cjs.entry.js +6 -5
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-hero.cjs.entry.js +4 -4
- package/dist/cjs/nano-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon.cjs.entry.js +1 -1
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +2 -2
- package/dist/cjs/nano-increment.cjs.entry.js +1 -1
- package/dist/cjs/nano-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +1 -1
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +3 -3
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +4 -4
- package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/{nano-slides-B5VhMbVx.js → nano-slides-DLdjGrLe.js} +8 -8
- package/dist/cjs/nano-slides.cjs.entry.js +1 -1
- package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
- package/dist/cjs/nano-step-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nano-step-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/global-nav/global-nav.js +6 -5
- package/dist/collection/components/global-search-results/global-search-results.js +4 -4
- package/dist/collection/components/grid/grid-item.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/hero/hero.js +4 -4
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/pictogram/encapsulation-and-formulation.svg +5 -0
- package/dist/collection/components/icon/pictogram/in-vivo-genetic-editing.svg +4 -0
- package/dist/collection/components/img/img.js +3 -3
- package/dist/collection/components/in-page-nav/in-page-nav.js +2 -2
- package/dist/collection/components/increment/increment.js +1 -1
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/intersection-observe/intersection-observe.js +1 -1
- package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
- package/dist/collection/components/menu-drawer/menu-drawer.js +2 -2
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +2 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.js +5 -5
- package/dist/collection/components/sortable/sortable.js +1 -1
- package/dist/collection/components/step-accordion/step-accordion.js +1 -1
- package/dist/collection/components/step-breadcrumb/step-breadcrumb.js +2 -2
- package/dist/collection/components/sticker/sticker.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/tabs/tab-content.js +2 -2
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/global-search-results.js +4 -4
- package/dist/components/grid.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/img.js +3 -3
- package/dist/components/masked-overflow.js +3 -3
- package/dist/components/nano-global-nav.js +6 -5
- package/dist/components/nano-grid-item.js +1 -1
- package/dist/components/nano-hero.js +4 -4
- package/dist/components/nano-in-page-nav.js +2 -2
- package/dist/components/nano-increment.js +1 -1
- package/dist/components/nano-input-otp.js +3 -3
- package/dist/components/nano-intersection-observe.js +1 -1
- package/dist/components/nano-menu-drawer.js +2 -2
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-rating.js +4 -4
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-sortable.js +1 -1
- package/dist/components/nano-step-accordion.js +1 -1
- package/dist/components/nano-step-breadcrumb.js +2 -2
- package/dist/components/nano-tab-content.js +2 -2
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/resize-observe.js +2 -2
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +5 -5
- package/dist/components/sticker.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{fade-DRoL_0er.js → fade-7baHrSn9.js} +1 -1
- package/dist/esm/{fullscreen-936htj2i.js → fullscreen-C7RormIi.js} +1 -1
- package/dist/esm/{lazyload-cQ60nfzF.js → lazyload-gQjhjQkV.js} +1 -1
- package/dist/esm/nano-avatar_5.entry.js +11 -11
- package/dist/esm/nano-global-nav.entry.js +6 -5
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +4 -4
- package/dist/esm/nano-hero.entry.js +4 -4
- package/dist/esm/nano-icon-button_2.entry.js +2 -2
- package/dist/esm/nano-icon.entry.js +1 -1
- package/dist/esm/nano-in-page-nav.entry.js +2 -2
- package/dist/esm/nano-increment.entry.js +1 -1
- package/dist/esm/nano-input-otp.entry.js +3 -3
- package/dist/esm/nano-intersection-observe.entry.js +1 -1
- package/dist/esm/nano-masked-overflow.entry.js +3 -3
- package/dist/esm/nano-menu-drawer.entry.js +2 -2
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +4 -4
- package/dist/esm/nano-resize-observe.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/{nano-slides-Dbp6Qk42.js → nano-slides-B9LD7oLb.js} +8 -8
- package/dist/esm/nano-slides.entry.js +1 -1
- package/dist/esm/nano-sortable.entry.js +1 -1
- package/dist/esm/nano-step-accordion.entry.js +1 -1
- package/dist/esm/nano-step-breadcrumb.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +2 -2
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/nano-assets/hash.txt +1 -1
- package/dist/nano-assets/icon/pictogram/encapsulation-and-formulation.svg +5 -0
- package/dist/nano-assets/icon/pictogram/in-vivo-genetic-editing.svg +4 -0
- package/dist/nano-components/{fade-DRoL_0er.js → fade-7baHrSn9.js} +1 -1
- package/dist/nano-components/{fullscreen-936htj2i.js → fullscreen-C7RormIi.js} +1 -1
- package/dist/nano-components/{lazyload-cQ60nfzF.js → lazyload-gQjhjQkV.js} +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-components.css +1 -0
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid-item.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-icon-button_2.entry.js +1 -1
- package/dist/nano-components/nano-icon.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
- package/dist/nano-components/nano-increment.entry.js +1 -1
- package/dist/nano-components/nano-input-otp.entry.js +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-Dbp6Qk42.js → nano-slides-B9LD7oLb.js} +4 -4
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-step-accordion.entry.js +1 -1
- package/dist/nano-components/nano-step-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/pictogram/encapsulation-and-formulation.svg +5 -0
- package/dist/nano-components/pictogram/in-vivo-genetic-editing.svg +4 -0
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/docs-json.json +2 -2
- package/hydrate/index.js +67 -66
- package/hydrate/index.mjs +67 -66
- package/package.json +2 -2
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{ZCT-PoHy → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
|
@@ -231,10 +231,10 @@ export class NanoTable {
|
|
|
231
231
|
this.cleanUpObservers();
|
|
232
232
|
}
|
|
233
233
|
render() {
|
|
234
|
-
return (h(Host, { key: '
|
|
234
|
+
return (h(Host, { key: 'f68fb611a2b8c93efbeadc151066297d28078ef2', class: {
|
|
235
235
|
'nano-table': true,
|
|
236
236
|
'nano-table--props-ready': this.propsReady,
|
|
237
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
|
237
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: 'ba100eb1f9459b4e0f13260cd62510325fa080a8', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: 'cac84916ed7f96ce2ea1ee441400654358214a68', class: "nano-table__overflow" }))), h("slot", { key: 'ca3fa5224877847494b1399643cfc8d5aeb9cf45' })));
|
|
238
238
|
}
|
|
239
239
|
static get is() { return "nano-table"; }
|
|
240
240
|
static get encapsulation() { return "scoped"; }
|
|
@@ -24,10 +24,10 @@ export class NanoTabContent {
|
|
|
24
24
|
requestAnimationFrame(() => (this.ready = true));
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '48c39766db841b0359dd94133fa5003511ca1089', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
|
28
28
|
ready: this.ready,
|
|
29
29
|
'nano-tab-content': true,
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: '5e4b64e22c8db58ba785b229f5016dd1d868fab4', part: "base", class: "nano-tab-content" }, h("slot", { key: '20d01c471574e0d122edb605993d1ee36d132dc2' }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "nano-tab-content"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,12 +56,12 @@ export class NanoTab {
|
|
|
56
56
|
};
|
|
57
57
|
render() {
|
|
58
58
|
const Tag = this.href ? 'a' : 'div';
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '875ed41d6262b96ec0c2a2f6d098f81c17d64b04', id: this.host.id || this.tabId, role: !this.href ? 'tab' : undefined, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, h(Tag, { key: 'aead25be6fbc998c99feadc6117bb7cc7e9f313a', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
|
60
60
|
tab: true,
|
|
61
61
|
'tab--active': this.active,
|
|
62
62
|
'tab--disabled': this.disabled,
|
|
63
63
|
'tab--closable': this.closable,
|
|
64
|
-
}, href: this.href, target: this.target }, h("slot", { key: '
|
|
64
|
+
}, href: this.href, target: this.target }, h("slot", { key: 'a51277a59c4d77dfec9fb4a854a4b220d6385951', name: "start" }), h("div", { key: 'b9e40aed4fbb0ee84743c30c8999f53e3cff78e3', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active || this.href ? '-1' : '0', class: "tab__label" }, h("slot", { key: '0686818384592ad23d33d44975dfb5a73bdd29ce' })), h("slot", { key: 'e5352b25ead956c16a8010f86ce77aac3b79f701', name: "end" }), this.closable && !this.disabled && (h("nano-icon-button", { key: '0322668a114a903d1c253ac4aa672d836189a360', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "nano-tab"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -227,10 +227,10 @@ export class Tooltip {
|
|
|
227
227
|
this.popover.destroy();
|
|
228
228
|
}
|
|
229
229
|
render() {
|
|
230
|
-
return (h(Host, { key: '
|
|
230
|
+
return (h(Host, { key: '4cb6b736687f8d9239977489efe329a075114992', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, class: "nano-tooltip" }, h("slot", { key: '01ee007dff43ac6955707da369d29d123b01b7be', onSlotchange: this.handleSlotChange }), h("div", { key: 'c9f487295d223825983dc5882e3ec9bf9e81d250', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner", popover: "manual" }, h("div", { key: 'b1918debb6975af209042a030536fa05d737b170', part: "base", ref: (el) => (this.tooltip = el), class: {
|
|
231
231
|
tooltip: true,
|
|
232
232
|
'tooltip--open': this.open,
|
|
233
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
|
233
|
+
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: 'bb040cfddec62e9110ad2ba3c143a2f9f8a0aa48', name: "content", onSlotchange: () => this.setLabel() }, this.content), h("div", { key: '0471547ce6acc7c036bb23a820fcb74998a22d75', class: "tooltip-arrow", "data-popper-arrow": true })))));
|
|
234
234
|
}
|
|
235
235
|
static get is() { return "nano-tooltip"; }
|
|
236
236
|
static get encapsulation() { return "shadow"; }
|
|
@@ -329,12 +329,12 @@ const GlobalSearchResults = /*@__PURE__*/ proxyCustomElement(class GlobalSearchR
|
|
|
329
329
|
this.ro.observe(this.el);
|
|
330
330
|
}
|
|
331
331
|
render() {
|
|
332
|
-
return (h(Host, { key: '
|
|
332
|
+
return (h(Host, { key: '5f98118e522745952fcf8ec685baaefe50449f61', class: {
|
|
333
333
|
small: this.currentWidth < 780,
|
|
334
334
|
'nano-global-search-results': true,
|
|
335
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: '
|
|
335
|
+
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: '95ef31ad42c4ad9481a5f550f855c74df9d2495b', storeId: this.queryId, storeMethod: "url-hash-push", class: "main-search__wrap sc-nano-global-search-results", ref: (ele) => requestAnimationFrame(() => (this.algoliaEle = ele)), id: "main-search",
|
|
336
336
|
// @ts-expect-error this bubbles from nano-algolia-filter
|
|
337
|
-
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: '
|
|
337
|
+
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: 'fddb187aa20b542d26f687cf99185103fe385016', slot: "template" },
|
|
338
338
|
/* html */ `<div class="main-search sc-nano-global-search-results">
|
|
339
339
|
<nano-algolia-results id="main-search-results" class="main-search__results sc-nano-global-search-results" infinite-scroll>
|
|
340
340
|
<script type="text/template" slot="start-template">
|
|
@@ -712,7 +712,7 @@ const GlobalSearchResults = /*@__PURE__*/ proxyCustomElement(class GlobalSearchR
|
|
|
712
712
|
</div>
|
|
713
713
|
</div>
|
|
714
714
|
{{ /if }}
|
|
715
|
-
</div>`), h("div", { key: '
|
|
715
|
+
</div>`), h("div", { key: '3f0569e65a67eecec757ca63c4563c714597f800', slot: "output" }), h("slot", { key: 'bf73c4ef234e11134894950b4116a45e50d694f7' }))));
|
|
716
716
|
}
|
|
717
717
|
static get watchers() { return {
|
|
718
718
|
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange", "handleAlgoliaEleChange"],
|
package/dist/components/grid.js
CHANGED
|
@@ -171,7 +171,7 @@ const Grid = /*@__PURE__*/ proxyCustomElement(class Grid extends HTMLElement {
|
|
|
171
171
|
this.constructSizeArray();
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: '7a52ad31f58be507692b215b3efb4f73c299f32a', class: "nano-grid" }, h("div", { key: '62e6e11a9bd8023e58a488f7f5b25c0ffa2b9ea9', part: "grid", class: "grid", "cache-key": this.cacheKey }, h("slot", { key: 'c290f451f09b19ea99c0510c154033ca6a511adf' })), this.showHelper && (h("div", { key: 'a60138cc0ce3f097a2457db4841eb69b6f978380', class: "grid grid--helper", part: "helper", "cache-key": this.cacheKey }, [...Array(24)].map(() => (h("div", { class: "grid__helper-item" })))))));
|
|
175
175
|
}
|
|
176
176
|
static get watchers() { return {
|
|
177
177
|
"sTpl": ["constructSizeArray"],
|
package/dist/components/icon.js
CHANGED
|
@@ -309,7 +309,7 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
309
309
|
(this.name.indexOf('arrow') > -1 ||
|
|
310
310
|
this.name.indexOf('chevron') > -1) &&
|
|
311
311
|
this.isRtl());
|
|
312
|
-
return (h(Host, { key: '
|
|
312
|
+
return (h(Host, { key: '7210f407d6f2cff4fc6944e38f8913c6153246b9', class: {
|
|
313
313
|
loading: this.isLoading,
|
|
314
314
|
'flip-rtl': !!flipRtl,
|
|
315
315
|
'nano-icon': true,
|
package/dist/components/img.js
CHANGED
|
@@ -142,16 +142,16 @@ const Img = /*@__PURE__*/ proxyCustomElement(class Img extends HTMLElement {
|
|
|
142
142
|
const bgStyle = this.loadSrc
|
|
143
143
|
? { 'background-image': `url(${this.loadSrc})` }
|
|
144
144
|
: {};
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '87b53a98c1228b994b1a6ab0c46cc91bc119e974', class: "nano-img" }, h("div", { key: '217c7d94900cb7605c339d050ccd0e3b86f404ca', class: "img" }, h("div", { key: '7e9ff37632ca1614f8921ec1cc0cd19052e27b5e', class: "img__loader n-loader-skeleton" }, "Loading"), !!this.background && (h("div", { key: 'aa108de18fafcde5276f6e14ea729f74003a40e9', class: {
|
|
146
146
|
loaded: this.hasLoaded,
|
|
147
147
|
img__bg: true,
|
|
148
148
|
'no-height': this.autoHeight === 'image',
|
|
149
|
-
}, style: bgStyle }, h("slot", { key: '
|
|
149
|
+
}, style: bgStyle }, h("slot", { key: 'd1882bdb7dc2ddf9706523f630cc7162620a8cb9' }))), h("img", { key: 'cf058a2586e24b4c31d587d898749df5c00c550b', class: {
|
|
150
150
|
img__image: true,
|
|
151
151
|
loaded: this.hasLoaded,
|
|
152
152
|
hide: this.background,
|
|
153
153
|
'no-height': this.autoHeight === 'content',
|
|
154
|
-
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '
|
|
154
|
+
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: 'c7ebda46f4adea6954f0d01586c6f7a3bb5fe77b', class: "img__observer", onNanoResizeStateChange: this.onResize, states: this.imgStates }))));
|
|
155
155
|
}
|
|
156
156
|
static get watchers() { return {
|
|
157
157
|
"_src": ["_srcChanged"],
|
|
@@ -322,7 +322,7 @@ const MaskedOverflow = /*@__PURE__*/ proxyCustomElement(class MaskedOverflow ext
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
render() {
|
|
325
|
-
return (h(Host, { key: '
|
|
325
|
+
return (h(Host, { key: '1f67834ad38adbec9efab74d6133e841b7ae0fa2', dir: this.isRtl ? 'rtl' : null, class: "nano-masked-overflow", "has-scroll-controls": this.hasScrollControls }, h("div", { key: 'b186e466ef1ddb2360ec9cdbc0c8d39c2b3d68eb', part: "base", class: {
|
|
326
326
|
onav: true,
|
|
327
327
|
[`onav--${this.orientation}`]: true,
|
|
328
328
|
'onav--has-scroll-controls': this.hasScrollControls,
|
|
@@ -331,12 +331,12 @@ const MaskedOverflow = /*@__PURE__*/ proxyCustomElement(class MaskedOverflow ext
|
|
|
331
331
|
'onav--no-transitions': this.instantReCalc,
|
|
332
332
|
'onnav--has-indicator': this.showIndicator,
|
|
333
333
|
'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
|
|
334
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
334
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '00e2cfcd9cae23bd249495f6d05e937b5ff73e63', class: "onav__nav" }, this.scrollControls && (h("nano-icon-button", { key: '4a0c678fb5aae21b5e8ed456f40806a49c2e11e0', part: "scroll-button scroll-button-prev", class: {
|
|
335
335
|
'onav__scroll-button': true,
|
|
336
336
|
'onav__scroll-button--start': true,
|
|
337
337
|
}, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
338
338
|
? 'light/chevron-left'
|
|
339
|
-
: 'light/chevron-up' })), h("div", { key: '
|
|
339
|
+
: 'light/chevron-up' })), h("div", { key: '21534fc131bbe794e60515724cfb7dba73ae79fd', part: "scroller", ref: (el) => (this.nav = el), class: "onav__scroller", onScroll: this.handleScroll, tabindex: this.hasScrollControls ? 0 : undefined, role: "region", "aria-label": this.label || undefined }, h("div", { key: 'cac929682c1f05fb172a28cda883739606c67dfd', part: "items", ref: (el) => (this.itemContainer = el), class: "onav__items" }, this.showIndicator && (h("div", { key: 'ba83a8981643a256d178799a4b5e7835071a35dd', part: "indicator", ref: (el) => (this.activeIndicator = el), class: "onav__active-indicator" })), h("slot", { key: '540bb7d3652e2af8b8a04b21287f9ce927aacfcf', onSlotchange: this.slotChangeHandler }))), this.scrollControls && (h("nano-icon-button", { key: '06b1a788269ef77093092c281278a43c9031520d', part: "scroll-button scroll-button-next", class: {
|
|
340
340
|
'onav__scroll-button': true,
|
|
341
341
|
'onav__scroll-button--end': true,
|
|
342
342
|
}, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
@@ -538,12 +538,13 @@ const GlobalNav = /*@__PURE__*/ proxyCustomElement(class GlobalNav extends HTMLE
|
|
|
538
538
|
});
|
|
539
539
|
} }, h("span", { innerHTML: this.autocompleteSnippet(hit) })))),
|
|
540
540
|
h("nano-option", { key: 'ddf176669705bb04a45575ee1bf8897d46ae9704', class: "gn__search-viewall", onNanoSelect: this.onSearchSubmit }, "View all results"),
|
|
541
|
-
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
541
|
+
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
542
|
+
[
|
|
543
|
+
h("nano-icon-button", { iconName: "light/cart-shopping", label: "View your cart", href: this.cartUrl }),
|
|
544
|
+
this.cartCount && (h("nano-badge", { theme: "danger", strength: "2" }, this.cartCount > 9 ? '9+' : this.cartCount)),
|
|
545
|
+
].join('')), this.breakpoint <= bpps.contact.breakpoint
|
|
545
546
|
? bpps.contact.tpl()
|
|
546
|
-
: '', this.isLoggedIn ? (h("nano-dropdown", { dialogTitle: "User menu", class: "gn__user-dropdown", distance: 10, placement: "bottom-end" }, h("button", { slot: "trigger", class: "gn__user-dropdown-trigger" }, h("nano-icon", { name: "light/user" }), h("nano-icon", { name: "light/chevron-down", class: "gn__user-dropdown-chevron" }), !!this.msgCount && (h("nano-badge", { theme: "danger", strength: "2" }, this.msgCount > 9 ? '9+' : this.msgCount))), this.loggedInPanel())) : (h("nano-cta", { secondary: true, size: "small", icon: "false", class: "gn__login-cta" }, typeof this.loginUrl === 'string' ? (h("a", { href: this.formatLoginLink(this.loginUrl) }, "Login")) : (h("button", { onClick: this.loginUrl }, "Login")))))))), h("nano-global-search-results", { key: '
|
|
547
|
+
: '', this.isLoggedIn ? (h("nano-dropdown", { dialogTitle: "User menu", class: "gn__user-dropdown", distance: 10, placement: "bottom-end" }, h("button", { slot: "trigger", class: "gn__user-dropdown-trigger" }, h("nano-icon", { name: "light/user" }), h("nano-icon", { name: "light/chevron-down", class: "gn__user-dropdown-chevron" }), !!this.msgCount && (h("nano-badge", { theme: "danger", strength: "2" }, this.msgCount > 9 ? '9+' : this.msgCount))), this.loggedInPanel())) : (h("nano-cta", { secondary: true, size: "small", icon: "false", class: "gn__login-cta" }, typeof this.loginUrl === 'string' ? (h("a", { href: this.formatLoginLink(this.loginUrl) }, "Login")) : (h("button", { onClick: this.loginUrl }, "Login")))))))), h("nano-global-search-results", { key: 'f8e1eb79d5e0c7aa36799ea2cb969cc642d22e0f', part: "site-search-results" }, h("div", { key: 'd8161c9901f704d2e5a31c275f5a72c541f03440', class: "gn__site", part: "site-wrapper" }, h("slot", { key: '6bea1e3ef7a22cf414d13161496d915b9d6738a0' }))))));
|
|
547
548
|
}
|
|
548
549
|
static get assetsDirs() { return ["assets"]; }
|
|
549
550
|
static get watchers() { return {
|
|
@@ -17,7 +17,7 @@ const GridItem = /*@__PURE__*/ proxyCustomElement(class GridItem extends HTMLEle
|
|
|
17
17
|
* m-row-start-2
|
|
18
18
|
*/
|
|
19
19
|
render() {
|
|
20
|
-
return h("slot", { key: '
|
|
20
|
+
return h("slot", { key: '840c6d4f408fdec3c76f27cff9bd5760e3672483' });
|
|
21
21
|
}
|
|
22
22
|
static get style() { return ":host { display: inline-block; }"; }
|
|
23
23
|
}, [257, "nano-grid-item"]);
|
|
@@ -101,7 +101,7 @@ const Hero = /*@__PURE__*/ proxyCustomElement(class Hero extends HTMLElement {
|
|
|
101
101
|
};
|
|
102
102
|
render() {
|
|
103
103
|
const rtl = this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '27b92467c95fb4fd6369a66e97af741b921e797b', class: "nano-hero" }, h("div", { key: '30c66e5e68288e3f9357306a562f43535727f3f4', class: {
|
|
105
105
|
hero: true,
|
|
106
106
|
'hero--light': this.theme === 'light',
|
|
107
107
|
'hero--secondary': this.hasSecondaryContent,
|
|
@@ -112,9 +112,9 @@ const Hero = /*@__PURE__*/ proxyCustomElement(class Hero extends HTMLElement {
|
|
|
112
112
|
'hero--hasbg': this.hasBg,
|
|
113
113
|
'hero--backbtn': this.hasBackBtn,
|
|
114
114
|
'hero--sub': this.level === 'sub',
|
|
115
|
-
} }, h("div", { key: '
|
|
116
|
-
h("div", { key: '
|
|
117
|
-
h(this.HeroContent, { key: '
|
|
115
|
+
} }, h("div", { key: '494286fc1f1539883b8cd5a81b7c12a2ad8d00b8', class: "hero__bg-wrap" }, !!this.imgSrc && (h("nano-img", { key: '7590b6d1b1aef03a5f0ff0e47d78299dfdd749d0', class: "hero__img", lazy: false, background: true, srcSet: this.imgSrcSet, src: this.imgSrc }, h(this.HeroContent, { key: '4f95d47c8cdcf4b78333c0ace1935f4f6f979448' }))), !this.imgSrc && [
|
|
116
|
+
h("div", { key: '897f86e5f4ee4ace8622bd21e67cbe582a72304d', class: "hero__bg-slot" }, h("slot", { key: 'd30ccb5fad732bbf9bab8111b6d96dccca9c77b3', name: "background" })),
|
|
117
|
+
h(this.HeroContent, { key: 'ce045aca03de5fe3474d3a4c9c3e258da3a19823' }),
|
|
118
118
|
]))));
|
|
119
119
|
}
|
|
120
120
|
static get watchers() { return {
|
|
@@ -136,11 +136,11 @@ const NanoInPageNav$1 = /*@__PURE__*/ proxyCustomElement(class NanoInPageNav ext
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
|
-
return (h(Host, { key: '
|
|
139
|
+
return (h(Host, { key: '98e7ef088a7a2fef3688f8c162e8c9ff03b693f3', class: {
|
|
140
140
|
'nano-in-page-nav': true,
|
|
141
141
|
'external-links': this.externalLinks === true ||
|
|
142
142
|
(this.externalLinks === 'auto' && this.autoExternalLinks),
|
|
143
|
-
} }, h("nav", { key: '
|
|
143
|
+
} }, h("nav", { key: '0661c3f487261c2cdc22ce3b88964c77504a5b99', part: "root", "aria-label": "In-page navigation" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (h("div", { key: 'd55049ae9253d491a3543f24b95528503d91ab8e', class: "header" }, h("slot", { key: 'ad852799569e17e5367a910d685ecc7bb50cb6e8', name: "back" }), h("slot", { key: '74e4cbf7bd86c1477d23c83f054f62d1e81c9d07', name: "accessory" }))), h("div", { key: 'cd1d6fea25ba9c727d89ef95b942c2a2d246c133', class: "desktop-nav" }, h("slot", { key: 'd8489cf43bd6f41b4f248312547b81b4d9579567', onSlotchange: () => this.handleSlotChange })), h("nano-details", { key: '7d262c965ff3749dcda07cbab110a3828f754cb1', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
|
|
144
144
|
}
|
|
145
145
|
static get style() { return inPageNavCss; }
|
|
146
146
|
}, [257, "nano-in-page-nav", {
|
|
@@ -73,7 +73,7 @@ const NanoIncrement$1 = /*@__PURE__*/ proxyCustomElement(class NanoIncrement ext
|
|
|
73
73
|
this.handleSlotChange();
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'b004b7452e52ff5fd5075255cd9653b9559be1b0', class: "nano-increment" }, h("div", { key: 'd0caad9244de44e53dbca5a2acd47760730bdca3', class: "root" }, h("div", { key: 'abfa810a7bcd47cc2c944438427e1373c5e55025', class: "minus" }, h("nano-icon-button", { key: '74234fb22f0f3d1ee1396a9407cfea9680ae3fa2', iconName: "light/minus", label: "Decrement", onClick: this.handleMinus })), h("slot", { key: '88d3bb4d96b1b8f4177ec72116c76401f3cfc2ec', onSlotchange: this.handleSlotChange }), h("div", { key: '66590f569382d6d8b7594c2774ed61a784966248', class: "plus" }, h("nano-icon-button", { key: 'efd86d3fb1618ff9b95bc3f21abd5c9a547e5177', iconName: "light/plus", label: "Increment", onClick: this.handlePlus })))));
|
|
77
77
|
}
|
|
78
78
|
static get watchers() { return {
|
|
79
79
|
"inputElement": ["inputElementChanged"]
|
|
@@ -705,17 +705,17 @@ const InputOTP = /*@__PURE__*/ proxyCustomElement(class InputOTP extends HTMLEle
|
|
|
705
705
|
const inputmode = this.getInputmode();
|
|
706
706
|
const tabbableIndex = this.getTabbableIndex();
|
|
707
707
|
const pattern = this.getPattern();
|
|
708
|
-
return (h(Host, { key: '
|
|
708
|
+
return (h(Host, { key: 'f64df732f8821fe6a50473f9eeedda67a4e24d9f', class: {
|
|
709
709
|
'has-focus': hasFocus,
|
|
710
710
|
'input-otp-disabled': disabled,
|
|
711
711
|
'input-otp-readonly': readonly,
|
|
712
712
|
'nano-invalid': invalid,
|
|
713
713
|
'nano-valid': valid,
|
|
714
|
-
} }, h("div", { key: '
|
|
714
|
+
} }, h("div", { key: '9c870f9c59052a8c91b82e156d349e54de81c041', class: "input-otp-container" }, h("div", { key: 'f4a5e00024479470b315e65bcffbbab4abd9ffbd', class: "input-otp-group", role: "group", "aria-label": "One-time password input" }, Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper" }, h("input", { class: "native-input", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && (h("div", { class: "input-otp-separator" })))))), this.showValidity && (h("div", { key: 'bcb625f2e6c49296f225b0ad25a1c373995aed23', class: {
|
|
715
715
|
'input-otp-icon': true,
|
|
716
716
|
'input-otp-icon--valid': valid,
|
|
717
717
|
'input-otp-icon--invalid': invalid,
|
|
718
|
-
}, part: "validity-icon" }, h("slot", { key: '
|
|
718
|
+
}, part: "validity-icon" }, h("slot", { key: '1a0605cbb7fcce8de9586762603a5aea7edf9efd', name: "validity-icon" }, h("nano-icon", { key: '9e3296be4bd6ec722aeade4f856b05f8db8c7c9a', hidden: !valid, name: "light/circle-check", class: "input-otp-valid-icon", "aria-label": "Valid input" }))))), this.slotCtrl.has('[default]') && (h("div", { key: 'd222b87bcfd6b54408c6cb32b59f4a15a59eafee', class: "input-otp-description" }, h("slot", { key: 'da5df8a834ef47ae08cd856eff4c6ffc8f78636c' })))));
|
|
719
719
|
}
|
|
720
720
|
static get watchers() { return {
|
|
721
721
|
"value": ["valueChanged"]
|
|
@@ -144,7 +144,7 @@ const IntersectionObserve = /*@__PURE__*/ proxyCustomElement(class IntersectionO
|
|
|
144
144
|
this.removeIO();
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '2f1a60278e63faf882cff97b4ace2f1735acc2ca', class: "nano-intersection-observe" }, h("slot", { key: '77cb4316de920f26b5306f77c9484df410a0dbf8', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
|
148
148
|
}
|
|
149
149
|
static get watchers() { return {
|
|
150
150
|
"root": ["handleRootChange"],
|
|
@@ -146,14 +146,14 @@ const MenuDrawer = /*@__PURE__*/ proxyCustomElement(class MenuDrawer extends HTM
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: '88e497a7de6fa22960b367e348d07e25d983e0b7', class: {
|
|
150
150
|
open: this.open,
|
|
151
151
|
'secondary-open': this.secondaryOpen,
|
|
152
152
|
hide: this.hide,
|
|
153
153
|
loading: this.isLoading,
|
|
154
154
|
'has-global-nav': !!this.globalNav,
|
|
155
155
|
'nano-menu-drawer': true,
|
|
156
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: '
|
|
156
|
+
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: 'acdbcb1b7999b4f558803a2b9c8e2157153e3a87', ref: (div) => (this.containerDiv = div), class: "container" }, h("div", { key: 'e32ccc0e51864c5625b601a1b26c4964e043611d', class: `content-wrap ${this.secondaryOpen ? 'secondary-open' : ''}` }, h("nav", { key: 'a6f310fe0ba1e43f4ababadd571d216b5308e572', ref: (div) => (this.contentDiv = div), class: "content" }, h("div", { key: '0bf69ec7213f74af4f2a23216ff2c94096b316db', class: "head" }, h("button", { key: '8d88423f034bda1ce69e22dc380b6060b3ef69ea', onClick: this.toggle, class: "collapse-btn" }, h("nano-icon", { key: '7bb5aabdfd50ee97038962536c775c95ce186665', name: "light/arrow-right-to-line" }), h("span", { key: '123597bc410dc8d56070e8409c29470a4adf708d', class: "visually-hidden" }, "collapse / expand menu"))), h("slot", { key: 'd35d60883b1e6fd30148e0bdf0f1af91dcc6b239' }), this.slotCtrl.has('foot') && (h("div", { key: '3e64eda301760521a433c9fc2baa7ae8dba76cb4', class: "foot" }, h("slot", { key: 'b1fc95970ef9206f4cc0438a90fd7ce4ed0103da', name: "foot" }))))))));
|
|
157
157
|
}
|
|
158
158
|
static get watchers() { return {
|
|
159
159
|
"open": ["openChange"]
|
|
@@ -54,8 +54,8 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class Rating extends HTMLElement
|
|
|
54
54
|
this.handleShowHideElements();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
58
|
-
h("div", { key: '
|
|
57
|
+
return (h(Host, { key: '6725c318f6b61aa4820271d17d497b5c8cb8c7dc', class: "nano-more-less" }, h("slot", { key: 'a625bedbd79f00944006a2d65c2179ab59989f1d', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
|
|
58
|
+
h("div", { key: 'cc3fb3559fc46491b3bca7ba2fd51f3eefe6725b', style: { display: this.show ? 'none' : 'contents' }, class: "button-wrapper", part: "button-wrapper button-wrapper--less", onClick: (e) => this.handleClick(e) }, h("slot", { key: '188bc1a935508f6d65109e361774526cd869dc1f', name: "less" }, h("button", { key: 'f19d147e8644cfa3230d1c486905f1a927830284', part: "button button--less" }, "Show more (+", this.children.length - this.maxToShow, ")"))),
|
|
59
59
|
!this.noHideBtn ? (h("div", { style: { display: this.show ? 'contents' : 'none' }, class: "button-wrapper", part: "button-wrapper button-wrapper--more", onClick: (e) => this.handleClick(e) }, h("slot", { name: "more" }, h("button", { part: "button button--more" }, "Show less (-", this.children.length - this.maxToShow, ")")))) : (''),
|
|
60
60
|
]));
|
|
61
61
|
}
|
|
@@ -194,20 +194,20 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class Rating extends HTMLElement
|
|
|
194
194
|
else {
|
|
195
195
|
displayValue = this.isHovering ? this.hoverValue : this.value;
|
|
196
196
|
}
|
|
197
|
-
return (h(Host, { key: '
|
|
197
|
+
return (h(Host, { key: '7b00ff24b403047e03fda276bc537e579aaf9337', class: "nano-rating" }, h("label", { key: '26257b3d070a664d05a6600aef8dbd107e88baaa', class: `rating-label${this.hideLabel ? ' visually-hidden' : ''}`, part: "label", htmlFor: this.name }, h("slot", { key: '8a036cdedf3a5dd00c6da73d7502571e35b2548a', name: "label" }, this.label)), h("input", { key: '08c877385050f6db8a6a330ffe2931998b3df06c', class: "range-input visually-hidden", name: this.name, id: this.name, disabled: this.disabled || this.readonly, required: this.required, value: this.value, onFocus: () => {
|
|
198
198
|
this.setFocus();
|
|
199
|
-
} }), h("div", { key: '
|
|
199
|
+
} }), h("div", { key: '85ff5c3544ad9945583bb7899b6c4c03f49fcf38', class: "rating-wrap" }, h("div", { key: 'e6456939171b5e5ab35927aeac29f4c0c136d974', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
|
|
200
200
|
rating: true,
|
|
201
201
|
'rating--readonly': this.readonly,
|
|
202
202
|
'rating--disabled': this.disabled,
|
|
203
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false', "aria-readonly": this.readonly ? 'true' : 'false', "aria-valuenow": this.value, "aria-valuemin": 0, "aria-valuemax": this.max, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("span", { key: '
|
|
203
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false', "aria-readonly": this.readonly ? 'true' : 'false', "aria-valuenow": this.value, "aria-valuemin": 0, "aria-valuemax": this.max, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("span", { key: '42602e3cc956c85b6dcd5b646a8c23a0558693fc', class: "rating__symbols rating__symbols--inactive" }, counter.map((index) => (h("span", { class: {
|
|
204
204
|
rating__symbol: true,
|
|
205
205
|
'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
|
|
206
206
|
},
|
|
207
207
|
// Users can click the current value to clear the rating. When this happens, we set this.isHovering to
|
|
208
208
|
// false to prevent the hover state from confusing them as they move the mouse out of the control. This
|
|
209
209
|
// extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
|
|
210
|
-
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '
|
|
210
|
+
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '4921301540e54a7e3d632a3ac296f53765ca3c10', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
|
|
211
211
|
clip: this.clip(displayValue),
|
|
212
212
|
} }, counter.map((index) => (h("span", { class: {
|
|
213
213
|
rating__symbol: true,
|
|
@@ -39,7 +39,7 @@ const Slide = /*@__PURE__*/ proxyCustomElement(class Slide extends HTMLElement {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '5942e883ec56c489c9ff7c7172f45bd804b3e269', class: "nano-slide" }, h("slot", { key: '7224e97679d00b8e1f4957898a1c0c1ddcd101cc' })));
|
|
43
43
|
}
|
|
44
44
|
static get watchers() { return {
|
|
45
45
|
"ready": ["readyChange"]
|
|
@@ -730,7 +730,7 @@ const Sortable = /*@__PURE__*/ proxyCustomElement(class Sortable extends HTMLEle
|
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
render() {
|
|
733
|
-
return (h(Host, { key: '
|
|
733
|
+
return (h(Host, { key: '0117648295aac00c85009e3af3d446a828a5aacb', class: "nano-sortable" }, h("div", { key: '5b740c9d6049933c342d2ebb72a89f94362e2060', class: "sortable__live-region", "aria-live": "polite", "aria-relevant": "additions", "aria-atomic": "true", role: "log", part: "announcements" }, this.ariaTextList.map((str) => (h("div", null, str)))), h("slot", { key: '3760f1ef3178eac54451b1482247082e058b1437' })));
|
|
734
734
|
}
|
|
735
735
|
static get watchers() { return {
|
|
736
736
|
"itemSelector": ["handleItemSelectorChange"],
|
|
@@ -86,7 +86,7 @@ const NanoStepAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NanoStepAccor
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h("nano-accordion", { key: '
|
|
89
|
+
return (h("nano-accordion", { key: '3933ced100bc62e13f6a2ea4e28fbfb3b47623bd', alwaysOpen: true, onNanoToggle: (event) => this.handleToggle(event) }, this.steps.map((step, index) => (h("nano-details", { open: index === this.activeStep, disabled: !step.enabled, class: {
|
|
90
90
|
step: true,
|
|
91
91
|
'step--active': index === this.activeStep,
|
|
92
92
|
'step--complete': step.complete,
|
|
@@ -111,10 +111,10 @@ const NanoStepBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class NanoStepBrea
|
|
|
111
111
|
};
|
|
112
112
|
render() {
|
|
113
113
|
const Wrapper = this.steps.filter((step) => step.href).length > 0 ? 'nav' : 'div';
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: '48029ac0b605c9647855037129d6ad5a98a715dd' }, h(Wrapper, { key: 'ef6d7a2c89752d634d58f28ce9a40d4d1f4b98fa', class: "step-wrapper" }, h("ul", { key: 'ee8af5b273d4053e6fab17e61a2ec2a57c91f4b2', class: `step-list desktop ${this.cacheKey}` }, this.steps.map((step, index) => (h("li", { class: "step-item-wrapper", key: index }, h(this.ControlTag, { step: step, index: index }))))), h("div", { key: 'ac2e7b33ce199a98ba9c8e96834337ef228baddf', class: `step-list mobile ${this.cacheKey}` }, h("nano-dropdown", { key: 'f5d5219f318f30ec566ea059433931b91df81f63', dialogTitle: "Steps", class: "step-dropdown" }, h("button", { key: '219b8a02f81d57d69a65d5ddb37e488da1a4cdd5', slot: "trigger", class: "step-trigger" }, h("div", { key: '534fb29581efd259190ac7595ed90c9a318ec8aa', class: "step-progress-circle", role: "progressbar", "aria-valuenow": "2", "aria-valuemin": "0", "aria-valuemax": "5", style: {
|
|
115
115
|
'--value': '' + (this.activeStep + 1),
|
|
116
116
|
'--max': '' + this.steps.length,
|
|
117
|
-
} }, h("span", { key: '
|
|
117
|
+
} }, h("span", { key: '78ad1b7c4abc3792084f5bcf981636a2a6164ab8', class: "step-progress-text" }, h("strong", { key: '1bdbe550c28f43cb2b912217729d144748d6c1ed' }, this.activeStep + 1), " of", ' ', this.steps.length)), h("div", { key: 'a51e378206530c72192156539fea5335615904d1', class: "step-trigger-text" }, h("div", { key: '1651e2890fd4c9b3c765c19ff87a0ac33a93c24a', class: "step-trigger-now" }, this.steps[this.activeStep | 0]?.title || 'Select a step'), h("div", { key: 'fb6829d86e5095131b1cf634694df9431871b6eb', class: "step-trigger-next" }, this.steps[this.activeStep + 1]?.title || 'Next step')), h("nano-icon", { key: 'd830c93a1b82c4bba48e868a15c4932429cf6e12', class: "step-trigger-icon", name: "light/chevron-down" })), h("nano-menu", { key: '19cd91a9422e730a20a2af144b8bdb831f6e4741' }, this.steps.map((step, index) => (h("nano-nav-item", { class: {
|
|
118
118
|
'step-item-mobile': true,
|
|
119
119
|
'step-item-mobile step-item--active': index === this.activeStep,
|
|
120
120
|
'step-item-mobile step-item--complete': step.complete,
|
|
@@ -24,10 +24,10 @@ const NanoTabContent$1 = /*@__PURE__*/ proxyCustomElement(class NanoTabContent e
|
|
|
24
24
|
requestAnimationFrame(() => (this.ready = true));
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '48c39766db841b0359dd94133fa5003511ca1089', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
|
28
28
|
ready: this.ready,
|
|
29
29
|
'nano-tab-content': true,
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: '5e4b64e22c8db58ba785b229f5016dd1d868fab4', part: "base", class: "nano-tab-content" }, h("slot", { key: '20d01c471574e0d122edb605993d1ee36d132dc2' }))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return tabContentCss; }
|
|
33
33
|
}, [257, "nano-tab-content", {
|
|
@@ -54,12 +54,12 @@ const NanoTab$1 = /*@__PURE__*/ proxyCustomElement(class NanoTab extends HTMLEle
|
|
|
54
54
|
};
|
|
55
55
|
render() {
|
|
56
56
|
const Tag = this.href ? 'a' : 'div';
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '875ed41d6262b96ec0c2a2f6d098f81c17d64b04', id: this.host.id || this.tabId, role: !this.href ? 'tab' : undefined, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, h(Tag, { key: 'aead25be6fbc998c99feadc6117bb7cc7e9f313a', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
|
58
58
|
tab: true,
|
|
59
59
|
'tab--active': this.active,
|
|
60
60
|
'tab--disabled': this.disabled,
|
|
61
61
|
'tab--closable': this.closable,
|
|
62
|
-
}, href: this.href, target: this.target }, h("slot", { key: '
|
|
62
|
+
}, href: this.href, target: this.target }, h("slot", { key: 'a51277a59c4d77dfec9fb4a854a4b220d6385951', name: "start" }), h("div", { key: 'b9e40aed4fbb0ee84743c30c8999f53e3cff78e3', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active || this.href ? '-1' : '0', class: "tab__label" }, h("slot", { key: '0686818384592ad23d33d44975dfb5a73bdd29ce' })), h("slot", { key: 'e5352b25ead956c16a8010f86ce77aac3b79f701', name: "end" }), this.closable && !this.disabled && (h("nano-icon-button", { key: '0322668a114a903d1c253ac4aa672d836189a360', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
|
|
63
63
|
}
|
|
64
64
|
static get style() { return tabCss; }
|
|
65
65
|
}, [257, "nano-tab", {
|
|
@@ -233,10 +233,10 @@ const NanoTable$1 = /*@__PURE__*/ proxyCustomElement(class NanoTable extends HTM
|
|
|
233
233
|
this.cleanUpObservers();
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
|
-
return (h(Host, { key: '
|
|
236
|
+
return (h(Host, { key: 'f68fb611a2b8c93efbeadc151066297d28078ef2', class: {
|
|
237
237
|
'nano-table': true,
|
|
238
238
|
'nano-table--props-ready': this.propsReady,
|
|
239
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
|
239
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: 'ba100eb1f9459b4e0f13260cd62510325fa080a8', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: 'cac84916ed7f96ce2ea1ee441400654358214a68', class: "nano-table__overflow" }))), h("slot", { key: 'ca3fa5224877847494b1399643cfc8d5aeb9cf45' })));
|
|
240
240
|
}
|
|
241
241
|
static get watchers() { return {
|
|
242
242
|
"compact": ["handleCompactChange"],
|
|
@@ -228,13 +228,13 @@ const ResizeObserve = /*@__PURE__*/ proxyCustomElement(class ResizeObserve exten
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: 'c53e9d0b32ab42d70286f2e419bafd0ac47a10ab', class: {
|
|
232
232
|
'nano-resize-observe': true,
|
|
233
233
|
'content-fit-x': this.contentFitX,
|
|
234
234
|
'content-fit-y': this.contentFitY,
|
|
235
235
|
'content-nofit-x': this.contentFitX === false,
|
|
236
236
|
'content-nofit-y': this.contentFitY === false,
|
|
237
|
-
} }, h("slot", { key: '
|
|
237
|
+
} }, h("slot", { key: 'f90ceb11f59a9e7416a9279821daae7922ce497f' }), !!this.notifyContentFit &&
|
|
238
238
|
(this.contentFitX !== null || this.contentFitY !== null) && [
|
|
239
239
|
this.contentFitX ? (h("slot", { name: "content-fit-x" })) : (h("slot", { name: "content-nofit-x" })),
|
|
240
240
|
this.contentFitY ? (h("slot", { name: "content-fit-y" })) : (h("slot", { name: "content-nofit-y" })),
|
|
@@ -711,30 +711,30 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
711
711
|
disabled,
|
|
712
712
|
clearControl: this.clearable,
|
|
713
713
|
}))(this);
|
|
714
|
-
return (h(Host, { key: '
|
|
714
|
+
return (h(Host, { key: '025066dc414ac2cb5e53c24f40ad82e7ce68695e', type: this.multiple ? 'select-multiple' : 'select-one', "aria-disabled": this.disabled ? 'true' : null, class: {
|
|
715
715
|
'has-value': !!this.value.length || !!this.inputSearchVal.length,
|
|
716
716
|
'has-focus': this.hasFocus,
|
|
717
717
|
'is-invalid': this._invalid === true,
|
|
718
718
|
'is-valid': this._invalid === false,
|
|
719
719
|
'nano-select': true,
|
|
720
|
-
} }, h(FormControlWrap, { key: '
|
|
720
|
+
} }, h(FormControlWrap, { key: 'b2a86d25b2c92627bb2f17c1c6c7a8348766141b', ...wrapOptions, class: {
|
|
721
721
|
'has-error': !!this.errorMessage &&
|
|
722
722
|
this.showInlineError &&
|
|
723
723
|
this._invalid === true,
|
|
724
724
|
'has-helper': this.hasHelperSlot,
|
|
725
725
|
'is-open': this.hasOpened,
|
|
726
726
|
masked: this.mask,
|
|
727
|
-
} }, h(FormControl, { key: '
|
|
728
|
-
this.mask && (h("div", { key: '
|
|
729
|
-
h("input", { key: '
|
|
730
|
-
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: '
|
|
727
|
+
} }, h(FormControl, { key: '21156d1bae4d42e2a2d7abcaa34798d769516ee2', ...controlOptions, ref: (el) => (this.selectWrap = el), onClearText: this.clearSelectValue, control: this.el, endValueSlot: h("slot", { name: "down-arrow" }, h("nano-icon", { class: "select__down-arrow", name: "light/chevron-down" })), showInlineError: this.showInlineError }, this.multiple && (h("div", { key: 'ffab8aaa7ff8fe98569a7a95a460d4cad46fec7d', class: "select__multi-wrap select" }, this.multipleValues(labelId, moreId, helperEndId))), !this.multiple && [
|
|
728
|
+
this.mask && (h("div", { key: '6da5a52e4c35495ae29e74010e6329c224ca458d', class: "select__mask" }, this.getLabel(this.value))),
|
|
729
|
+
h("input", { key: '50a6562f4a2897834df1f203f5395387c882abca', ref: (input) => (this.inputCtrl = input), id: this.selectId, class: "select__native-input", "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, form: this.form, placeholder: this.placeholder, readonly: true, required: this.required, value: this.getLabel(this.value), onFocus: this.onFocus }),
|
|
730
|
+
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: 'b466edd540ff40d4fdd387acfab419a03e7e1dfe', ref: (el) => (this.datalist = el), selected: this.valArray, type: this.multiple ? 'selectMulti' : 'select', options: this._options.length ? this._options : undefined, onNanoDeselect: (e) => {
|
|
731
731
|
e.preventDefault();
|
|
732
732
|
this.removeValue(e.detail.value);
|
|
733
733
|
}, onNanoOptionsUpdated: this.setOptions, onNanoSelect: this.setValue,
|
|
734
734
|
// @ts-expect-error - this bubbles from the nano-dropdown
|
|
735
735
|
onNanoShow: () => (this.hasOpened = true), onNanoHide: () => (this.hasOpened = false) }, this.allowCustomValues &&
|
|
736
736
|
this.multiple &&
|
|
737
|
-
!!this.inputSearchVal && (h("nano-option", { key: '
|
|
737
|
+
!!this.inputSearchVal && (h("nano-option", { key: '570d63eea44ae889bb3c5ac9714b5c7064ebaaaf', slot: "list-top", value: this.inputSearchVal, selected: false, label: this.inputSearchVal, onNanoSelect: () => this.inputCtrl.focus() }, h("span", { key: 'ab6331bbd2d9391e847339f9a4bd6103131465d1', slot: "check-icon" }), "Add '", this.inputSearchVal, "'")), h("slot", { key: '8176482dad3b46a3213aac5b38fe13cad13445e4' }))), h("select", { key: '8a5cbfcbd895703a459c1acd3a8a18399977d21a', id: this.selectId + '-hidden', class: "select__native-ctrl", ref: (select) => (this.nativeSelect = select), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, form: this.form, multiple: this.multiple, name: this.name, required: this.required, onInvalid: this.handleInvalid }, this.allowCustomValues &&
|
|
738
738
|
this.valArray.map((val) => {
|
|
739
739
|
return (h("option", { value: val, selected: true }, val));
|
|
740
740
|
}), !this.allowCustomValues &&
|