@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
package/docs-json.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-03-02T13:25:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.36.1",
|
|
@@ -3369,7 +3369,7 @@
|
|
|
3369
3369
|
"references": {
|
|
3370
3370
|
"Breadcrumb": {
|
|
3371
3371
|
"location": "local",
|
|
3372
|
-
"path": "/builds/
|
|
3372
|
+
"path": "/builds/sHPJkByK/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
|
|
3373
3373
|
"id": "src/components/breadcrumb/breadcrumb.tsx::Breadcrumb"
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
package/hydrate/index.js
CHANGED
|
@@ -15269,12 +15269,13 @@ class GlobalNav {
|
|
|
15269
15269
|
});
|
|
15270
15270
|
} }, h("span", { innerHTML: this.autocompleteSnippet(hit) })))),
|
|
15271
15271
|
h("nano-option", { key: 'ddf176669705bb04a45575ee1bf8897d46ae9704', class: "gn__search-viewall", onNanoSelect: this.onSearchSubmit }, "View all results"),
|
|
15272
|
-
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15272
|
+
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
15273
|
+
[
|
|
15274
|
+
h("nano-icon-button", { iconName: "light/cart-shopping", label: "View your cart", href: this.cartUrl }),
|
|
15275
|
+
this.cartCount && (h("nano-badge", { theme: "danger", strength: "2" }, this.cartCount > 9 ? '9+' : this.cartCount)),
|
|
15276
|
+
].join('')), this.breakpoint <= bpps.contact.breakpoint
|
|
15276
15277
|
? bpps.contact.tpl()
|
|
15277
|
-
: '', 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: '
|
|
15278
|
+
: '', 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' }))))));
|
|
15278
15279
|
}
|
|
15279
15280
|
static get assetsDirs() { return ["assets"]; }
|
|
15280
15281
|
static get watchers() { return {
|
|
@@ -15604,12 +15605,12 @@ class GlobalSearchResults {
|
|
|
15604
15605
|
this.ro.observe(this.el);
|
|
15605
15606
|
}
|
|
15606
15607
|
render() {
|
|
15607
|
-
return (h(Host, { key: '
|
|
15608
|
+
return (h(Host, { key: '5f98118e522745952fcf8ec685baaefe50449f61', class: {
|
|
15608
15609
|
small: this.currentWidth < 780,
|
|
15609
15610
|
'nano-global-search-results': true,
|
|
15610
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: '
|
|
15611
|
+
}, 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",
|
|
15611
15612
|
// @ts-expect-error this bubbles from nano-algolia-filter
|
|
15612
|
-
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: '
|
|
15613
|
+
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: 'fddb187aa20b542d26f687cf99185103fe385016', slot: "template" },
|
|
15613
15614
|
/* html */ `<div class="main-search sc-nano-global-search-results">
|
|
15614
15615
|
<nano-algolia-results id="main-search-results" class="main-search__results sc-nano-global-search-results" infinite-scroll>
|
|
15615
15616
|
<script type="text/template" slot="start-template">
|
|
@@ -15987,7 +15988,7 @@ class GlobalSearchResults {
|
|
|
15987
15988
|
</div>
|
|
15988
15989
|
</div>
|
|
15989
15990
|
{{ /if }}
|
|
15990
|
-
</div>`), h("div", { key: '
|
|
15991
|
+
</div>`), h("div", { key: '3f0569e65a67eecec757ca63c4563c714597f800', slot: "output" }), h("slot", { key: 'bf73c4ef234e11134894950b4116a45e50d694f7' }))));
|
|
15991
15992
|
}
|
|
15992
15993
|
static get watchers() { return {
|
|
15993
15994
|
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange", "handleAlgoliaEleChange"],
|
|
@@ -16275,7 +16276,7 @@ class Grid {
|
|
|
16275
16276
|
this.constructSizeArray();
|
|
16276
16277
|
}
|
|
16277
16278
|
render() {
|
|
16278
|
-
return (h(Host, { key: '
|
|
16279
|
+
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" })))))));
|
|
16279
16280
|
}
|
|
16280
16281
|
static get watchers() { return {
|
|
16281
16282
|
"sTpl": ["constructSizeArray"],
|
|
@@ -16344,7 +16345,7 @@ class GridItem {
|
|
|
16344
16345
|
* m-row-start-2
|
|
16345
16346
|
*/
|
|
16346
16347
|
render() {
|
|
16347
|
-
return hAsync("slot", { key: '
|
|
16348
|
+
return hAsync("slot", { key: '840c6d4f408fdec3c76f27cff9bd5760e3672483' });
|
|
16348
16349
|
}
|
|
16349
16350
|
static get style() { return ":host { display: inline-block; }"; }
|
|
16350
16351
|
static get cmpMeta() { return {
|
|
@@ -16462,7 +16463,7 @@ class Hero {
|
|
|
16462
16463
|
};
|
|
16463
16464
|
render() {
|
|
16464
16465
|
const rtl = this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
|
|
16465
|
-
return (h(Host, { key: '
|
|
16466
|
+
return (h(Host, { key: '27b92467c95fb4fd6369a66e97af741b921e797b', class: "nano-hero" }, h("div", { key: '30c66e5e68288e3f9357306a562f43535727f3f4', class: {
|
|
16466
16467
|
hero: true,
|
|
16467
16468
|
'hero--light': this.theme === 'light',
|
|
16468
16469
|
'hero--secondary': this.hasSecondaryContent,
|
|
@@ -16473,9 +16474,9 @@ class Hero {
|
|
|
16473
16474
|
'hero--hasbg': this.hasBg,
|
|
16474
16475
|
'hero--backbtn': this.hasBackBtn,
|
|
16475
16476
|
'hero--sub': this.level === 'sub',
|
|
16476
|
-
} }, h("div", { key: '
|
|
16477
|
-
h("div", { key: '
|
|
16478
|
-
h(this.HeroContent, { key: '
|
|
16477
|
+
} }, 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 && [
|
|
16478
|
+
h("div", { key: '897f86e5f4ee4ace8622bd21e67cbe582a72304d', class: "hero__bg-slot" }, h("slot", { key: 'd30ccb5fad732bbf9bab8111b6d96dccca9c77b3', name: "background" })),
|
|
16479
|
+
h(this.HeroContent, { key: 'ce045aca03de5fe3474d3a4c9c3e258da3a19823' }),
|
|
16479
16480
|
]))));
|
|
16480
16481
|
}
|
|
16481
16482
|
static get watchers() { return {
|
|
@@ -16670,7 +16671,7 @@ class Icon {
|
|
|
16670
16671
|
(this.name.indexOf('arrow') > -1 ||
|
|
16671
16672
|
this.name.indexOf('chevron') > -1) &&
|
|
16672
16673
|
this.isRtl());
|
|
16673
|
-
return (h(Host, { key: '
|
|
16674
|
+
return (h(Host, { key: '7210f407d6f2cff4fc6944e38f8913c6153246b9', class: {
|
|
16674
16675
|
loading: this.isLoading,
|
|
16675
16676
|
'flip-rtl': !!flipRtl,
|
|
16676
16677
|
'nano-icon': true,
|
|
@@ -16972,16 +16973,16 @@ class Img {
|
|
|
16972
16973
|
const bgStyle = this.loadSrc
|
|
16973
16974
|
? { 'background-image': `url(${this.loadSrc})` }
|
|
16974
16975
|
: {};
|
|
16975
|
-
return (h(Host, { key: '
|
|
16976
|
+
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: {
|
|
16976
16977
|
loaded: this.hasLoaded,
|
|
16977
16978
|
img__bg: true,
|
|
16978
16979
|
'no-height': this.autoHeight === 'image',
|
|
16979
|
-
}, style: bgStyle }, h("slot", { key: '
|
|
16980
|
+
}, style: bgStyle }, h("slot", { key: 'd1882bdb7dc2ddf9706523f630cc7162620a8cb9' }))), h("img", { key: 'cf058a2586e24b4c31d587d898749df5c00c550b', class: {
|
|
16980
16981
|
img__image: true,
|
|
16981
16982
|
loaded: this.hasLoaded,
|
|
16982
16983
|
hide: this.background,
|
|
16983
16984
|
'no-height': this.autoHeight === 'content',
|
|
16984
|
-
}, decoding: "async", src: this.src , loading: this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '
|
|
16985
|
+
}, decoding: "async", src: this.src , loading: 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 }))));
|
|
16985
16986
|
}
|
|
16986
16987
|
static get watchers() { return {
|
|
16987
16988
|
"_src": ["_srcChanged"],
|
|
@@ -18483,17 +18484,17 @@ class InputOTP {
|
|
|
18483
18484
|
const inputmode = this.getInputmode();
|
|
18484
18485
|
const tabbableIndex = this.getTabbableIndex();
|
|
18485
18486
|
const pattern = this.getPattern();
|
|
18486
|
-
return (hAsync(Host, { key: '
|
|
18487
|
+
return (hAsync(Host, { key: 'f64df732f8821fe6a50473f9eeedda67a4e24d9f', class: {
|
|
18487
18488
|
'has-focus': hasFocus,
|
|
18488
18489
|
'input-otp-disabled': disabled,
|
|
18489
18490
|
'input-otp-readonly': readonly,
|
|
18490
18491
|
'nano-invalid': invalid,
|
|
18491
18492
|
'nano-valid': valid,
|
|
18492
|
-
} }, hAsync("div", { key: '
|
|
18493
|
+
} }, hAsync("div", { key: '9c870f9c59052a8c91b82e156d349e54de81c041', class: "input-otp-container" }, hAsync("div", { key: 'f4a5e00024479470b315e65bcffbbab4abd9ffbd', class: "input-otp-group", role: "group", "aria-label": "One-time password input" }, Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper" }, hAsync("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) && (hAsync("div", { class: "input-otp-separator" })))))), this.showValidity && (hAsync("div", { key: 'bcb625f2e6c49296f225b0ad25a1c373995aed23', class: {
|
|
18493
18494
|
'input-otp-icon': true,
|
|
18494
18495
|
'input-otp-icon--valid': valid,
|
|
18495
18496
|
'input-otp-icon--invalid': invalid,
|
|
18496
|
-
}, part: "validity-icon" }, hAsync("slot", { key: '
|
|
18497
|
+
}, part: "validity-icon" }, hAsync("slot", { key: '1a0605cbb7fcce8de9586762603a5aea7edf9efd', name: "validity-icon" }, hAsync("nano-icon", { key: '9e3296be4bd6ec722aeade4f856b05f8db8c7c9a', hidden: !valid, name: "light/circle-check", class: "input-otp-valid-icon", "aria-label": "Valid input" }))))), this.slotCtrl.has('[default]') && (hAsync("div", { key: 'd222b87bcfd6b54408c6cb32b59f4a15a59eafee', class: "input-otp-description" }, hAsync("slot", { key: 'da5df8a834ef47ae08cd856eff4c6ffc8f78636c' })))));
|
|
18497
18498
|
}
|
|
18498
18499
|
static get watchers() { return {
|
|
18499
18500
|
"value": ["valueChanged"]
|
|
@@ -18665,7 +18666,7 @@ class IntersectionObserve {
|
|
|
18665
18666
|
this.removeIO();
|
|
18666
18667
|
}
|
|
18667
18668
|
render() {
|
|
18668
|
-
return (h(Host, { key: '
|
|
18669
|
+
return (h(Host, { key: '2f1a60278e63faf882cff97b4ace2f1735acc2ca', class: "nano-intersection-observe" }, h("slot", { key: '77cb4316de920f26b5306f77c9484df410a0dbf8', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
|
18669
18670
|
}
|
|
18670
18671
|
static get watchers() { return {
|
|
18671
18672
|
"root": ["handleRootChange"],
|
|
@@ -19012,7 +19013,7 @@ class MaskedOverflow {
|
|
|
19012
19013
|
}
|
|
19013
19014
|
}
|
|
19014
19015
|
render() {
|
|
19015
|
-
return (h(Host, { key: '
|
|
19016
|
+
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: {
|
|
19016
19017
|
onav: true,
|
|
19017
19018
|
[`onav--${this.orientation}`]: true,
|
|
19018
19019
|
'onav--has-scroll-controls': this.hasScrollControls,
|
|
@@ -19021,12 +19022,12 @@ class MaskedOverflow {
|
|
|
19021
19022
|
'onav--no-transitions': this.instantReCalc,
|
|
19022
19023
|
'onnav--has-indicator': this.showIndicator,
|
|
19023
19024
|
'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
|
|
19024
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
19025
|
+
}, 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: {
|
|
19025
19026
|
'onav__scroll-button': true,
|
|
19026
19027
|
'onav__scroll-button--start': true,
|
|
19027
19028
|
}, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
19028
19029
|
? 'light/chevron-left'
|
|
19029
|
-
: 'light/chevron-up' })), h("div", { key: '
|
|
19030
|
+
: '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: {
|
|
19030
19031
|
'onav__scroll-button': true,
|
|
19031
19032
|
'onav__scroll-button--end': true,
|
|
19032
19033
|
}, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
@@ -19467,14 +19468,14 @@ class MenuDrawer {
|
|
|
19467
19468
|
disconnectedCallback() {
|
|
19468
19469
|
}
|
|
19469
19470
|
render() {
|
|
19470
|
-
return (h(Host, { key: '
|
|
19471
|
+
return (h(Host, { key: '88e497a7de6fa22960b367e348d07e25d983e0b7', class: {
|
|
19471
19472
|
open: this.open,
|
|
19472
19473
|
'secondary-open': this.secondaryOpen,
|
|
19473
19474
|
hide: this.hide,
|
|
19474
19475
|
loading: this.isLoading,
|
|
19475
19476
|
'has-global-nav': !!this.globalNav,
|
|
19476
19477
|
'nano-menu-drawer': true,
|
|
19477
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: '
|
|
19478
|
+
}, 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" }))))))));
|
|
19478
19479
|
}
|
|
19479
19480
|
static get watchers() { return {
|
|
19480
19481
|
"open": ["openChange"]
|
|
@@ -23595,11 +23596,11 @@ class NanoInPageNav {
|
|
|
23595
23596
|
}
|
|
23596
23597
|
}
|
|
23597
23598
|
render() {
|
|
23598
|
-
return (h(Host, { key: '
|
|
23599
|
+
return (h(Host, { key: '98e7ef088a7a2fef3688f8c162e8c9ff03b693f3', class: {
|
|
23599
23600
|
'nano-in-page-nav': true,
|
|
23600
23601
|
'external-links': this.externalLinks === true ||
|
|
23601
23602
|
(this.externalLinks === 'auto' && this.autoExternalLinks),
|
|
23602
|
-
} }, h("nav", { key: '
|
|
23603
|
+
} }, 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) }))));
|
|
23603
23604
|
}
|
|
23604
23605
|
static get style() { return inPageNavCss; }
|
|
23605
23606
|
static get cmpMeta() { return {
|
|
@@ -23686,7 +23687,7 @@ class NanoIncrement {
|
|
|
23686
23687
|
this.handleSlotChange();
|
|
23687
23688
|
}
|
|
23688
23689
|
render() {
|
|
23689
|
-
return (h(Host, { key: '
|
|
23690
|
+
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 })))));
|
|
23690
23691
|
}
|
|
23691
23692
|
static get watchers() { return {
|
|
23692
23693
|
"inputElement": ["inputElementChanged"]
|
|
@@ -23847,7 +23848,7 @@ class NanoStepAccordion {
|
|
|
23847
23848
|
}
|
|
23848
23849
|
}
|
|
23849
23850
|
render() {
|
|
23850
|
-
return (h("nano-accordion", { key: '
|
|
23851
|
+
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: {
|
|
23851
23852
|
step: true,
|
|
23852
23853
|
'step--active': index === this.activeStep,
|
|
23853
23854
|
'step--complete': step.complete,
|
|
@@ -23976,10 +23977,10 @@ class NanoStepBreadcrumb {
|
|
|
23976
23977
|
};
|
|
23977
23978
|
render() {
|
|
23978
23979
|
const Wrapper = this.steps.filter((step) => step.href).length > 0 ? 'nav' : 'div';
|
|
23979
|
-
return (h(Host, { key: '
|
|
23980
|
+
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: {
|
|
23980
23981
|
'--value': '' + (this.activeStep + 1),
|
|
23981
23982
|
'--max': '' + this.steps.length,
|
|
23982
|
-
} }, h("span", { key: '
|
|
23983
|
+
} }, 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: {
|
|
23983
23984
|
'step-item-mobile': true,
|
|
23984
23985
|
'step-item-mobile step-item--active': index === this.activeStep,
|
|
23985
23986
|
'step-item-mobile step-item--complete': step.complete,
|
|
@@ -24071,12 +24072,12 @@ class NanoTab {
|
|
|
24071
24072
|
};
|
|
24072
24073
|
render() {
|
|
24073
24074
|
const Tag = this.href ? 'a' : 'div';
|
|
24074
|
-
return (h(Host, { key: '
|
|
24075
|
+
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: {
|
|
24075
24076
|
tab: true,
|
|
24076
24077
|
'tab--active': this.active,
|
|
24077
24078
|
'tab--disabled': this.disabled,
|
|
24078
24079
|
'tab--closable': this.closable,
|
|
24079
|
-
}, href: this.href, target: this.target }, h("slot", { key: '
|
|
24080
|
+
}, 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" })))));
|
|
24080
24081
|
}
|
|
24081
24082
|
static get style() { return tabCss; }
|
|
24082
24083
|
static get cmpMeta() { return {
|
|
@@ -24124,10 +24125,10 @@ class NanoTabContent {
|
|
|
24124
24125
|
requestAnimationFrame(() => (this.ready = true));
|
|
24125
24126
|
}
|
|
24126
24127
|
render() {
|
|
24127
|
-
return (h(Host, { key: '
|
|
24128
|
+
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: {
|
|
24128
24129
|
ready: this.ready,
|
|
24129
24130
|
'nano-tab-content': true,
|
|
24130
|
-
} }, h("div", { key: '
|
|
24131
|
+
} }, h("div", { key: '5e4b64e22c8db58ba785b229f5016dd1d868fab4', part: "base", class: "nano-tab-content" }, h("slot", { key: '20d01c471574e0d122edb605993d1ee36d132dc2' }))));
|
|
24131
24132
|
}
|
|
24132
24133
|
static get style() { return tabContentCss; }
|
|
24133
24134
|
static get cmpMeta() { return {
|
|
@@ -24693,10 +24694,10 @@ class NanoTable {
|
|
|
24693
24694
|
this.cleanUpObservers();
|
|
24694
24695
|
}
|
|
24695
24696
|
render() {
|
|
24696
|
-
return (h(Host, { key: '
|
|
24697
|
+
return (h(Host, { key: 'f68fb611a2b8c93efbeadc151066297d28078ef2', class: {
|
|
24697
24698
|
'nano-table': true,
|
|
24698
24699
|
'nano-table--props-ready': this.propsReady,
|
|
24699
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
|
24700
|
+
} }, 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' })));
|
|
24700
24701
|
}
|
|
24701
24702
|
static get watchers() { return {
|
|
24702
24703
|
"compact": ["handleCompactChange"],
|
|
@@ -25773,8 +25774,8 @@ let Rating$1 = class Rating {
|
|
|
25773
25774
|
this.handleShowHideElements();
|
|
25774
25775
|
}
|
|
25775
25776
|
render() {
|
|
25776
|
-
return (h(Host, { key: '
|
|
25777
|
-
h("div", { key: '
|
|
25777
|
+
return (h(Host, { key: '6725c318f6b61aa4820271d17d497b5c8cb8c7dc', class: "nano-more-less" }, h("slot", { key: 'a625bedbd79f00944006a2d65c2179ab59989f1d', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
|
|
25778
|
+
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, ")"))),
|
|
25778
25779
|
!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, ")")))) : (''),
|
|
25779
25780
|
]));
|
|
25780
25781
|
}
|
|
@@ -25995,20 +25996,20 @@ class Rating {
|
|
|
25995
25996
|
else {
|
|
25996
25997
|
displayValue = this.isHovering ? this.hoverValue : this.value;
|
|
25997
25998
|
}
|
|
25998
|
-
return (h(Host, { key: '
|
|
25999
|
+
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: () => {
|
|
25999
26000
|
this.setFocus();
|
|
26000
|
-
} }), h("div", { key: '
|
|
26001
|
+
} }), h("div", { key: '85ff5c3544ad9945583bb7899b6c4c03f49fcf38', class: "rating-wrap" }, h("div", { key: 'e6456939171b5e5ab35927aeac29f4c0c136d974', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
|
|
26001
26002
|
rating: true,
|
|
26002
26003
|
'rating--readonly': this.readonly,
|
|
26003
26004
|
'rating--disabled': this.disabled,
|
|
26004
|
-
}, "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: '
|
|
26005
|
+
}, "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: {
|
|
26005
26006
|
rating__symbol: true,
|
|
26006
26007
|
'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
|
|
26007
26008
|
},
|
|
26008
26009
|
// Users can click the current value to clear the rating. When this happens, we set this.isHovering to
|
|
26009
26010
|
// false to prevent the hover state from confusing them as they move the mouse out of the control. This
|
|
26010
26011
|
// extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
|
|
26011
|
-
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '
|
|
26012
|
+
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '4921301540e54a7e3d632a3ac296f53765ca3c10', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
|
|
26012
26013
|
clip: this.clip(displayValue),
|
|
26013
26014
|
} }, counter.map((index) => (h("span", { class: {
|
|
26014
26015
|
rating__symbol: true,
|
|
@@ -26280,13 +26281,13 @@ class ResizeObserve {
|
|
|
26280
26281
|
}
|
|
26281
26282
|
}
|
|
26282
26283
|
render() {
|
|
26283
|
-
return (h(Host, { key: '
|
|
26284
|
+
return (h(Host, { key: 'c53e9d0b32ab42d70286f2e419bafd0ac47a10ab', class: {
|
|
26284
26285
|
'nano-resize-observe': true,
|
|
26285
26286
|
'content-fit-x': this.contentFitX,
|
|
26286
26287
|
'content-fit-y': this.contentFitY,
|
|
26287
26288
|
'content-nofit-x': this.contentFitX === false,
|
|
26288
26289
|
'content-nofit-y': this.contentFitY === false,
|
|
26289
|
-
} }, h("slot", { key: '
|
|
26290
|
+
} }, h("slot", { key: 'f90ceb11f59a9e7416a9279821daae7922ce497f' }), !!this.notifyContentFit &&
|
|
26290
26291
|
(this.contentFitX !== null || this.contentFitY !== null) && [
|
|
26291
26292
|
this.contentFitX ? (h("slot", { name: "content-fit-x" })) : (h("slot", { name: "content-nofit-x" })),
|
|
26292
26293
|
this.contentFitY ? (h("slot", { name: "content-fit-y" })) : (h("slot", { name: "content-nofit-y" })),
|
|
@@ -27017,30 +27018,30 @@ class Select {
|
|
|
27017
27018
|
disabled,
|
|
27018
27019
|
clearControl: this.clearable,
|
|
27019
27020
|
}))(this);
|
|
27020
|
-
return (h(Host, { key: '
|
|
27021
|
+
return (h(Host, { key: '025066dc414ac2cb5e53c24f40ad82e7ce68695e', type: this.multiple ? 'select-multiple' : 'select-one', "aria-disabled": this.disabled ? 'true' : null, class: {
|
|
27021
27022
|
'has-value': !!this.value.length || !!this.inputSearchVal.length,
|
|
27022
27023
|
'has-focus': this.hasFocus,
|
|
27023
27024
|
'is-invalid': this._invalid === true,
|
|
27024
27025
|
'is-valid': this._invalid === false,
|
|
27025
27026
|
'nano-select': true,
|
|
27026
|
-
} }, h(FormControlWrap, { key: '
|
|
27027
|
+
} }, h(FormControlWrap, { key: 'b2a86d25b2c92627bb2f17c1c6c7a8348766141b', ...wrapOptions, class: {
|
|
27027
27028
|
'has-error': !!this.errorMessage &&
|
|
27028
27029
|
this.showInlineError &&
|
|
27029
27030
|
this._invalid === true,
|
|
27030
27031
|
'has-helper': this.hasHelperSlot,
|
|
27031
27032
|
'is-open': this.hasOpened,
|
|
27032
27033
|
masked: this.mask,
|
|
27033
|
-
} }, h(FormControl, { key: '
|
|
27034
|
-
this.mask && (h("div", { key: '
|
|
27035
|
-
h("input", { key: '
|
|
27036
|
-
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: '
|
|
27034
|
+
} }, 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 && [
|
|
27035
|
+
this.mask && (h("div", { key: '6da5a52e4c35495ae29e74010e6329c224ca458d', class: "select__mask" }, this.getLabel(this.value))),
|
|
27036
|
+
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 }),
|
|
27037
|
+
])), !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) => {
|
|
27037
27038
|
e.preventDefault();
|
|
27038
27039
|
this.removeValue(e.detail.value);
|
|
27039
27040
|
}, onNanoOptionsUpdated: this.setOptions, onNanoSelect: this.setValue,
|
|
27040
27041
|
// @ts-expect-error - this bubbles from the nano-dropdown
|
|
27041
27042
|
onNanoShow: () => (this.hasOpened = true), onNanoHide: () => (this.hasOpened = false) }, this.allowCustomValues &&
|
|
27042
27043
|
this.multiple &&
|
|
27043
|
-
!!this.inputSearchVal && (h("nano-option", { key: '
|
|
27044
|
+
!!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 &&
|
|
27044
27045
|
this.valArray.map((val) => {
|
|
27045
27046
|
return (h("option", { value: val, selected: true }, val));
|
|
27046
27047
|
}), !this.allowCustomValues &&
|
|
@@ -27183,7 +27184,7 @@ let Slide$2 = class Slide {
|
|
|
27183
27184
|
});
|
|
27184
27185
|
}
|
|
27185
27186
|
render() {
|
|
27186
|
-
return (h(Host, { key: '
|
|
27187
|
+
return (h(Host, { key: '5942e883ec56c489c9ff7c7172f45bd804b3e269', class: "nano-slide" }, h("slot", { key: '7224e97679d00b8e1f4957898a1c0c1ddcd101cc' })));
|
|
27187
27188
|
}
|
|
27188
27189
|
static get watchers() { return {
|
|
27189
27190
|
"ready": ["readyChange"]
|
|
@@ -30165,15 +30166,15 @@ class Slides {
|
|
|
30165
30166
|
this.destroyflickity();
|
|
30166
30167
|
}
|
|
30167
30168
|
render() {
|
|
30168
|
-
return (h(Host, { key: '
|
|
30169
|
+
return (h(Host, { key: '5d1c313e7391e5fadf9a282e8e0d620a826c8ae2', class: "nano-slides" }, h("div", { key: 'b9cdbd89391725d29ddb3b9f3ac57346712bf94a', class: {
|
|
30169
30170
|
slideshow: true,
|
|
30170
30171
|
ready: this.ready,
|
|
30171
30172
|
'not-ready': !this.ready,
|
|
30172
|
-
}, part: "base" }, h("div", { key: '
|
|
30173
|
+
}, part: "base" }, h("div", { key: 'a82230810b978fe9760d245e668e9a683ee12ad4', ref: (div) => (this.flickityEl = div), class: {
|
|
30173
30174
|
'flickity-container': true,
|
|
30174
30175
|
'slides-ready': this.slidesReady,
|
|
30175
30176
|
'slides-not-ready': !this.slidesReady,
|
|
30176
|
-
}, part: "slide-container" }, h("slot", { key: '
|
|
30177
|
+
}, part: "slide-container" }, h("slot", { key: 'bc1f8563f4f4cd784ae9de46ccac11bc49e32cc3', onSlotchange: () => this.update() })), h("div", { key: 'e0c6dd93e882d2edf16e86f4e6898e5aed24f6b7', class: "ui-extras" }, h("slot", { key: '5b6de873affa6ce865ee9192a59a533edf9b839f', name: "ui" })), this.slideCount > 1 && (this.pager || this.navbtns) && (h("div", { key: '3c5108510d1e65d96a3174f15a161dcb46e46144', class: "pagination", part: "pagination" }, this.navbtns && (h("button", { key: 'db9adeb169165d2c2a789f9e4895ecb80264e0b4', class: "flickity-button flickity-prev-next-button previous", part: "navigation-button navigation-button--previous", "aria-label": "Previous slide", onClick: () => this.slidePrev(), disabled: this.iCurrentSlide === 0 && !this.options.wrapAround }, h("span", { key: '1e3f8cb53b5da081be8271cf9c63fbd4e646bdda', class: "button-icon button-icon--previous", part: "navigation-icon" }, h("slot", { key: '63ac42f3e49bac359f42b1351292ecaaa61b595d', name: "previous-icon" })))), this.pager && (h("div", { key: '832719a63ff65cde7b5ca17dd5978bdaefc7a8bc', class: "flickity-page-dots" }, Array.from({ length: this.slideCount }).map((_, index) => (h("button", { part: "pagination-item--active", key: index, class: {
|
|
30177
30178
|
'pagination-btn': true,
|
|
30178
30179
|
'pagination-btn--active': this.isActive(index),
|
|
30179
30180
|
'is-selected': this.isActive(index),
|
|
@@ -30182,8 +30183,8 @@ class Slides {
|
|
|
30182
30183
|
if (this.isActive(index))
|
|
30183
30184
|
return;
|
|
30184
30185
|
this.slideTo(index);
|
|
30185
|
-
} }, h("span", { class: "pagination-btn__label" }, "Go to slide ", index + 1)))))), this.navbtns && (h("button", { key: '
|
|
30186
|
-
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: '
|
|
30186
|
+
} }, h("span", { class: "pagination-btn__label" }, "Go to slide ", index + 1)))))), this.navbtns && (h("button", { key: 'ec472210b2562701da6fca63a33f5e3a192695bf', class: "flickity-button flickity-prev-next-button next", part: "navigation-button navigation-button--next", "aria-label": "Next slide", onClick: () => this.slideNext(), disabled: this.syncflickity?.slides.length ===
|
|
30187
|
+
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: 'a27d88c1264de80d79b8b1ccee08bb0f7cb7d019', class: "button-icon", part: "navigation-icon" }, h("slot", { key: '01ff479ea5b2208abcbfc72a902914a37e571721', name: "next-icon" })))))))));
|
|
30187
30188
|
}
|
|
30188
30189
|
static get watchers() { return {
|
|
30189
30190
|
"options": ["optionsChanged"],
|
|
@@ -30941,7 +30942,7 @@ class Sortable {
|
|
|
30941
30942
|
}
|
|
30942
30943
|
}
|
|
30943
30944
|
render() {
|
|
30944
|
-
return (h(Host, { key: '
|
|
30945
|
+
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' })));
|
|
30945
30946
|
}
|
|
30946
30947
|
static get watchers() { return {
|
|
30947
30948
|
"itemSelector": ["handleItemSelectorChange"],
|
|
@@ -31940,12 +31941,12 @@ class Sticker {
|
|
|
31940
31941
|
this.hasBootstrapped = false;
|
|
31941
31942
|
}
|
|
31942
31943
|
render() {
|
|
31943
|
-
return (h(Host, { key: '
|
|
31944
|
+
return (h(Host, { key: 'ee5683148e0b20facf45727a35a8e58168386011', sticky: !this.isRootSticker && !this.stickToEle && this.isSticky, hide: this.hide && this.isStuck, siblings: this.stuckCounter, index: this.stickerIndex, stuck: this.isStuck && this.isSticky, "placed-bottom": this.positions.includes('bottom'), "placed-top": this.positions.includes('top'), "placed-end": this.positions.includes('end'), "placed-start": this.positions.includes('start'), class: "nano-sticker" }, h("div", { key: '3063fd08b7a50d8c27a26acd8de37e2995d1b822', class: {
|
|
31944
31945
|
sticker: true,
|
|
31945
31946
|
sticky: this.isRootSticker && this.isSticky,
|
|
31946
31947
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
|
31947
31948
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
|
31948
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
|
31949
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: '70289b3224edd38bee35a856c4e7d02a8b631ab1', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '20df0df1966b2ca4097a7baad492e5f35c5e77c5' })))));
|
|
31949
31950
|
}
|
|
31950
31951
|
static get watchers() { return {
|
|
31951
31952
|
"trigger": ["updateTriggerOffset"],
|
|
@@ -32234,10 +32235,10 @@ class Tooltip {
|
|
|
32234
32235
|
this.popover.destroy();
|
|
32235
32236
|
}
|
|
32236
32237
|
render() {
|
|
32237
|
-
return (h(Host, { key: '
|
|
32238
|
+
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: {
|
|
32238
32239
|
tooltip: true,
|
|
32239
32240
|
'tooltip--open': this.open,
|
|
32240
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
|
32241
|
+
}, 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 })))));
|
|
32241
32242
|
}
|
|
32242
32243
|
static get watchers() { return {
|
|
32243
32244
|
"content": ["setLabel"],
|