@nanoporetech-digital/components 8.21.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/icon/pictogram/viral-vector-purification.svg +17 -17
- 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-assets/icon/pictogram/viral-vector-purification.svg +17 -17
- 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/nano-components/pictogram/viral-vector-purification.svg +17 -17
- 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/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{8qhywLzS → sHPJkByK}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -15267,12 +15267,13 @@ class GlobalNav {
|
|
|
15267
15267
|
});
|
|
15268
15268
|
} }, h("span", { innerHTML: this.autocompleteSnippet(hit) })))),
|
|
15269
15269
|
h("nano-option", { key: 'ddf176669705bb04a45575ee1bf8897d46ae9704', class: "gn__search-viewall", onNanoSelect: this.onSearchSubmit }, "View all results"),
|
|
15270
|
-
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15270
|
+
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl &&
|
|
15271
|
+
[
|
|
15272
|
+
h("nano-icon-button", { iconName: "light/cart-shopping", label: "View your cart", href: this.cartUrl }),
|
|
15273
|
+
this.cartCount && (h("nano-badge", { theme: "danger", strength: "2" }, this.cartCount > 9 ? '9+' : this.cartCount)),
|
|
15274
|
+
].join('')), this.breakpoint <= bpps.contact.breakpoint
|
|
15274
15275
|
? bpps.contact.tpl()
|
|
15275
|
-
: '', 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: '
|
|
15276
|
+
: '', 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' }))))));
|
|
15276
15277
|
}
|
|
15277
15278
|
static get assetsDirs() { return ["assets"]; }
|
|
15278
15279
|
static get watchers() { return {
|
|
@@ -15602,12 +15603,12 @@ class GlobalSearchResults {
|
|
|
15602
15603
|
this.ro.observe(this.el);
|
|
15603
15604
|
}
|
|
15604
15605
|
render() {
|
|
15605
|
-
return (h(Host, { key: '
|
|
15606
|
+
return (h(Host, { key: '5f98118e522745952fcf8ec685baaefe50449f61', class: {
|
|
15606
15607
|
small: this.currentWidth < 780,
|
|
15607
15608
|
'nano-global-search-results': true,
|
|
15608
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: '
|
|
15609
|
+
}, 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",
|
|
15609
15610
|
// @ts-expect-error this bubbles from nano-algolia-filter
|
|
15610
|
-
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: '
|
|
15611
|
+
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: 'fddb187aa20b542d26f687cf99185103fe385016', slot: "template" },
|
|
15611
15612
|
/* html */ `<div class="main-search sc-nano-global-search-results">
|
|
15612
15613
|
<nano-algolia-results id="main-search-results" class="main-search__results sc-nano-global-search-results" infinite-scroll>
|
|
15613
15614
|
<script type="text/template" slot="start-template">
|
|
@@ -15985,7 +15986,7 @@ class GlobalSearchResults {
|
|
|
15985
15986
|
</div>
|
|
15986
15987
|
</div>
|
|
15987
15988
|
{{ /if }}
|
|
15988
|
-
</div>`), h("div", { key: '
|
|
15989
|
+
</div>`), h("div", { key: '3f0569e65a67eecec757ca63c4563c714597f800', slot: "output" }), h("slot", { key: 'bf73c4ef234e11134894950b4116a45e50d694f7' }))));
|
|
15989
15990
|
}
|
|
15990
15991
|
static get watchers() { return {
|
|
15991
15992
|
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange", "handleAlgoliaEleChange"],
|
|
@@ -16273,7 +16274,7 @@ class Grid {
|
|
|
16273
16274
|
this.constructSizeArray();
|
|
16274
16275
|
}
|
|
16275
16276
|
render() {
|
|
16276
|
-
return (h(Host, { key: '
|
|
16277
|
+
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" })))))));
|
|
16277
16278
|
}
|
|
16278
16279
|
static get watchers() { return {
|
|
16279
16280
|
"sTpl": ["constructSizeArray"],
|
|
@@ -16342,7 +16343,7 @@ class GridItem {
|
|
|
16342
16343
|
* m-row-start-2
|
|
16343
16344
|
*/
|
|
16344
16345
|
render() {
|
|
16345
|
-
return hAsync("slot", { key: '
|
|
16346
|
+
return hAsync("slot", { key: '840c6d4f408fdec3c76f27cff9bd5760e3672483' });
|
|
16346
16347
|
}
|
|
16347
16348
|
static get style() { return ":host { display: inline-block; }"; }
|
|
16348
16349
|
static get cmpMeta() { return {
|
|
@@ -16460,7 +16461,7 @@ class Hero {
|
|
|
16460
16461
|
};
|
|
16461
16462
|
render() {
|
|
16462
16463
|
const rtl = this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
|
|
16463
|
-
return (h(Host, { key: '
|
|
16464
|
+
return (h(Host, { key: '27b92467c95fb4fd6369a66e97af741b921e797b', class: "nano-hero" }, h("div", { key: '30c66e5e68288e3f9357306a562f43535727f3f4', class: {
|
|
16464
16465
|
hero: true,
|
|
16465
16466
|
'hero--light': this.theme === 'light',
|
|
16466
16467
|
'hero--secondary': this.hasSecondaryContent,
|
|
@@ -16471,9 +16472,9 @@ class Hero {
|
|
|
16471
16472
|
'hero--hasbg': this.hasBg,
|
|
16472
16473
|
'hero--backbtn': this.hasBackBtn,
|
|
16473
16474
|
'hero--sub': this.level === 'sub',
|
|
16474
|
-
} }, h("div", { key: '
|
|
16475
|
-
h("div", { key: '
|
|
16476
|
-
h(this.HeroContent, { key: '
|
|
16475
|
+
} }, 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 && [
|
|
16476
|
+
h("div", { key: '897f86e5f4ee4ace8622bd21e67cbe582a72304d', class: "hero__bg-slot" }, h("slot", { key: 'd30ccb5fad732bbf9bab8111b6d96dccca9c77b3', name: "background" })),
|
|
16477
|
+
h(this.HeroContent, { key: 'ce045aca03de5fe3474d3a4c9c3e258da3a19823' }),
|
|
16477
16478
|
]))));
|
|
16478
16479
|
}
|
|
16479
16480
|
static get watchers() { return {
|
|
@@ -16668,7 +16669,7 @@ class Icon {
|
|
|
16668
16669
|
(this.name.indexOf('arrow') > -1 ||
|
|
16669
16670
|
this.name.indexOf('chevron') > -1) &&
|
|
16670
16671
|
this.isRtl());
|
|
16671
|
-
return (h(Host, { key: '
|
|
16672
|
+
return (h(Host, { key: '7210f407d6f2cff4fc6944e38f8913c6153246b9', class: {
|
|
16672
16673
|
loading: this.isLoading,
|
|
16673
16674
|
'flip-rtl': !!flipRtl,
|
|
16674
16675
|
'nano-icon': true,
|
|
@@ -16970,16 +16971,16 @@ class Img {
|
|
|
16970
16971
|
const bgStyle = this.loadSrc
|
|
16971
16972
|
? { 'background-image': `url(${this.loadSrc})` }
|
|
16972
16973
|
: {};
|
|
16973
|
-
return (h(Host, { key: '
|
|
16974
|
+
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: {
|
|
16974
16975
|
loaded: this.hasLoaded,
|
|
16975
16976
|
img__bg: true,
|
|
16976
16977
|
'no-height': this.autoHeight === 'image',
|
|
16977
|
-
}, style: bgStyle }, h("slot", { key: '
|
|
16978
|
+
}, style: bgStyle }, h("slot", { key: 'd1882bdb7dc2ddf9706523f630cc7162620a8cb9' }))), h("img", { key: 'cf058a2586e24b4c31d587d898749df5c00c550b', class: {
|
|
16978
16979
|
img__image: true,
|
|
16979
16980
|
loaded: this.hasLoaded,
|
|
16980
16981
|
hide: this.background,
|
|
16981
16982
|
'no-height': this.autoHeight === 'content',
|
|
16982
|
-
}, decoding: "async", src: this.src , loading: this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '
|
|
16983
|
+
}, 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 }))));
|
|
16983
16984
|
}
|
|
16984
16985
|
static get watchers() { return {
|
|
16985
16986
|
"_src": ["_srcChanged"],
|
|
@@ -18481,17 +18482,17 @@ class InputOTP {
|
|
|
18481
18482
|
const inputmode = this.getInputmode();
|
|
18482
18483
|
const tabbableIndex = this.getTabbableIndex();
|
|
18483
18484
|
const pattern = this.getPattern();
|
|
18484
|
-
return (hAsync(Host, { key: '
|
|
18485
|
+
return (hAsync(Host, { key: 'f64df732f8821fe6a50473f9eeedda67a4e24d9f', class: {
|
|
18485
18486
|
'has-focus': hasFocus,
|
|
18486
18487
|
'input-otp-disabled': disabled,
|
|
18487
18488
|
'input-otp-readonly': readonly,
|
|
18488
18489
|
'nano-invalid': invalid,
|
|
18489
18490
|
'nano-valid': valid,
|
|
18490
|
-
} }, hAsync("div", { key: '
|
|
18491
|
+
} }, 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: {
|
|
18491
18492
|
'input-otp-icon': true,
|
|
18492
18493
|
'input-otp-icon--valid': valid,
|
|
18493
18494
|
'input-otp-icon--invalid': invalid,
|
|
18494
|
-
}, part: "validity-icon" }, hAsync("slot", { key: '
|
|
18495
|
+
}, 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' })))));
|
|
18495
18496
|
}
|
|
18496
18497
|
static get watchers() { return {
|
|
18497
18498
|
"value": ["valueChanged"]
|
|
@@ -18663,7 +18664,7 @@ class IntersectionObserve {
|
|
|
18663
18664
|
this.removeIO();
|
|
18664
18665
|
}
|
|
18665
18666
|
render() {
|
|
18666
|
-
return (h(Host, { key: '
|
|
18667
|
+
return (h(Host, { key: '2f1a60278e63faf882cff97b4ace2f1735acc2ca', class: "nano-intersection-observe" }, h("slot", { key: '77cb4316de920f26b5306f77c9484df410a0dbf8', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
|
18667
18668
|
}
|
|
18668
18669
|
static get watchers() { return {
|
|
18669
18670
|
"root": ["handleRootChange"],
|
|
@@ -19010,7 +19011,7 @@ class MaskedOverflow {
|
|
|
19010
19011
|
}
|
|
19011
19012
|
}
|
|
19012
19013
|
render() {
|
|
19013
|
-
return (h(Host, { key: '
|
|
19014
|
+
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: {
|
|
19014
19015
|
onav: true,
|
|
19015
19016
|
[`onav--${this.orientation}`]: true,
|
|
19016
19017
|
'onav--has-scroll-controls': this.hasScrollControls,
|
|
@@ -19019,12 +19020,12 @@ class MaskedOverflow {
|
|
|
19019
19020
|
'onav--no-transitions': this.instantReCalc,
|
|
19020
19021
|
'onnav--has-indicator': this.showIndicator,
|
|
19021
19022
|
'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
|
|
19022
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
19023
|
+
}, 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: {
|
|
19023
19024
|
'onav__scroll-button': true,
|
|
19024
19025
|
'onav__scroll-button--start': true,
|
|
19025
19026
|
}, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
19026
19027
|
? 'light/chevron-left'
|
|
19027
|
-
: 'light/chevron-up' })), h("div", { key: '
|
|
19028
|
+
: '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: {
|
|
19028
19029
|
'onav__scroll-button': true,
|
|
19029
19030
|
'onav__scroll-button--end': true,
|
|
19030
19031
|
}, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
@@ -19465,14 +19466,14 @@ class MenuDrawer {
|
|
|
19465
19466
|
disconnectedCallback() {
|
|
19466
19467
|
}
|
|
19467
19468
|
render() {
|
|
19468
|
-
return (h(Host, { key: '
|
|
19469
|
+
return (h(Host, { key: '88e497a7de6fa22960b367e348d07e25d983e0b7', class: {
|
|
19469
19470
|
open: this.open,
|
|
19470
19471
|
'secondary-open': this.secondaryOpen,
|
|
19471
19472
|
hide: this.hide,
|
|
19472
19473
|
loading: this.isLoading,
|
|
19473
19474
|
'has-global-nav': !!this.globalNav,
|
|
19474
19475
|
'nano-menu-drawer': true,
|
|
19475
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: '
|
|
19476
|
+
}, 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" }))))))));
|
|
19476
19477
|
}
|
|
19477
19478
|
static get watchers() { return {
|
|
19478
19479
|
"open": ["openChange"]
|
|
@@ -23593,11 +23594,11 @@ class NanoInPageNav {
|
|
|
23593
23594
|
}
|
|
23594
23595
|
}
|
|
23595
23596
|
render() {
|
|
23596
|
-
return (h(Host, { key: '
|
|
23597
|
+
return (h(Host, { key: '98e7ef088a7a2fef3688f8c162e8c9ff03b693f3', class: {
|
|
23597
23598
|
'nano-in-page-nav': true,
|
|
23598
23599
|
'external-links': this.externalLinks === true ||
|
|
23599
23600
|
(this.externalLinks === 'auto' && this.autoExternalLinks),
|
|
23600
|
-
} }, h("nav", { key: '
|
|
23601
|
+
} }, 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) }))));
|
|
23601
23602
|
}
|
|
23602
23603
|
static get style() { return inPageNavCss; }
|
|
23603
23604
|
static get cmpMeta() { return {
|
|
@@ -23684,7 +23685,7 @@ class NanoIncrement {
|
|
|
23684
23685
|
this.handleSlotChange();
|
|
23685
23686
|
}
|
|
23686
23687
|
render() {
|
|
23687
|
-
return (h(Host, { key: '
|
|
23688
|
+
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 })))));
|
|
23688
23689
|
}
|
|
23689
23690
|
static get watchers() { return {
|
|
23690
23691
|
"inputElement": ["inputElementChanged"]
|
|
@@ -23845,7 +23846,7 @@ class NanoStepAccordion {
|
|
|
23845
23846
|
}
|
|
23846
23847
|
}
|
|
23847
23848
|
render() {
|
|
23848
|
-
return (h("nano-accordion", { key: '
|
|
23849
|
+
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: {
|
|
23849
23850
|
step: true,
|
|
23850
23851
|
'step--active': index === this.activeStep,
|
|
23851
23852
|
'step--complete': step.complete,
|
|
@@ -23974,10 +23975,10 @@ class NanoStepBreadcrumb {
|
|
|
23974
23975
|
};
|
|
23975
23976
|
render() {
|
|
23976
23977
|
const Wrapper = this.steps.filter((step) => step.href).length > 0 ? 'nav' : 'div';
|
|
23977
|
-
return (h(Host, { key: '
|
|
23978
|
+
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: {
|
|
23978
23979
|
'--value': '' + (this.activeStep + 1),
|
|
23979
23980
|
'--max': '' + this.steps.length,
|
|
23980
|
-
} }, h("span", { key: '
|
|
23981
|
+
} }, 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: {
|
|
23981
23982
|
'step-item-mobile': true,
|
|
23982
23983
|
'step-item-mobile step-item--active': index === this.activeStep,
|
|
23983
23984
|
'step-item-mobile step-item--complete': step.complete,
|
|
@@ -24069,12 +24070,12 @@ class NanoTab {
|
|
|
24069
24070
|
};
|
|
24070
24071
|
render() {
|
|
24071
24072
|
const Tag = this.href ? 'a' : 'div';
|
|
24072
|
-
return (h(Host, { key: '
|
|
24073
|
+
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: {
|
|
24073
24074
|
tab: true,
|
|
24074
24075
|
'tab--active': this.active,
|
|
24075
24076
|
'tab--disabled': this.disabled,
|
|
24076
24077
|
'tab--closable': this.closable,
|
|
24077
|
-
}, href: this.href, target: this.target }, h("slot", { key: '
|
|
24078
|
+
}, 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" })))));
|
|
24078
24079
|
}
|
|
24079
24080
|
static get style() { return tabCss; }
|
|
24080
24081
|
static get cmpMeta() { return {
|
|
@@ -24122,10 +24123,10 @@ class NanoTabContent {
|
|
|
24122
24123
|
requestAnimationFrame(() => (this.ready = true));
|
|
24123
24124
|
}
|
|
24124
24125
|
render() {
|
|
24125
|
-
return (h(Host, { key: '
|
|
24126
|
+
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: {
|
|
24126
24127
|
ready: this.ready,
|
|
24127
24128
|
'nano-tab-content': true,
|
|
24128
|
-
} }, h("div", { key: '
|
|
24129
|
+
} }, h("div", { key: '5e4b64e22c8db58ba785b229f5016dd1d868fab4', part: "base", class: "nano-tab-content" }, h("slot", { key: '20d01c471574e0d122edb605993d1ee36d132dc2' }))));
|
|
24129
24130
|
}
|
|
24130
24131
|
static get style() { return tabContentCss; }
|
|
24131
24132
|
static get cmpMeta() { return {
|
|
@@ -24691,10 +24692,10 @@ class NanoTable {
|
|
|
24691
24692
|
this.cleanUpObservers();
|
|
24692
24693
|
}
|
|
24693
24694
|
render() {
|
|
24694
|
-
return (h(Host, { key: '
|
|
24695
|
+
return (h(Host, { key: 'f68fb611a2b8c93efbeadc151066297d28078ef2', class: {
|
|
24695
24696
|
'nano-table': true,
|
|
24696
24697
|
'nano-table--props-ready': this.propsReady,
|
|
24697
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
|
24698
|
+
} }, 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' })));
|
|
24698
24699
|
}
|
|
24699
24700
|
static get watchers() { return {
|
|
24700
24701
|
"compact": ["handleCompactChange"],
|
|
@@ -25771,8 +25772,8 @@ let Rating$1 = class Rating {
|
|
|
25771
25772
|
this.handleShowHideElements();
|
|
25772
25773
|
}
|
|
25773
25774
|
render() {
|
|
25774
|
-
return (h(Host, { key: '
|
|
25775
|
-
h("div", { key: '
|
|
25775
|
+
return (h(Host, { key: '6725c318f6b61aa4820271d17d497b5c8cb8c7dc', class: "nano-more-less" }, h("slot", { key: 'a625bedbd79f00944006a2d65c2179ab59989f1d', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
|
|
25776
|
+
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, ")"))),
|
|
25776
25777
|
!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, ")")))) : (''),
|
|
25777
25778
|
]));
|
|
25778
25779
|
}
|
|
@@ -25993,20 +25994,20 @@ class Rating {
|
|
|
25993
25994
|
else {
|
|
25994
25995
|
displayValue = this.isHovering ? this.hoverValue : this.value;
|
|
25995
25996
|
}
|
|
25996
|
-
return (h(Host, { key: '
|
|
25997
|
+
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: () => {
|
|
25997
25998
|
this.setFocus();
|
|
25998
|
-
} }), h("div", { key: '
|
|
25999
|
+
} }), h("div", { key: '85ff5c3544ad9945583bb7899b6c4c03f49fcf38', class: "rating-wrap" }, h("div", { key: 'e6456939171b5e5ab35927aeac29f4c0c136d974', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
|
|
25999
26000
|
rating: true,
|
|
26000
26001
|
'rating--readonly': this.readonly,
|
|
26001
26002
|
'rating--disabled': this.disabled,
|
|
26002
|
-
}, "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: '
|
|
26003
|
+
}, "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: {
|
|
26003
26004
|
rating__symbol: true,
|
|
26004
26005
|
'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
|
|
26005
26006
|
},
|
|
26006
26007
|
// Users can click the current value to clear the rating. When this happens, we set this.isHovering to
|
|
26007
26008
|
// false to prevent the hover state from confusing them as they move the mouse out of the control. This
|
|
26008
26009
|
// extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
|
|
26009
|
-
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '
|
|
26010
|
+
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '4921301540e54a7e3d632a3ac296f53765ca3c10', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
|
|
26010
26011
|
clip: this.clip(displayValue),
|
|
26011
26012
|
} }, counter.map((index) => (h("span", { class: {
|
|
26012
26013
|
rating__symbol: true,
|
|
@@ -26278,13 +26279,13 @@ class ResizeObserve {
|
|
|
26278
26279
|
}
|
|
26279
26280
|
}
|
|
26280
26281
|
render() {
|
|
26281
|
-
return (h(Host, { key: '
|
|
26282
|
+
return (h(Host, { key: 'c53e9d0b32ab42d70286f2e419bafd0ac47a10ab', class: {
|
|
26282
26283
|
'nano-resize-observe': true,
|
|
26283
26284
|
'content-fit-x': this.contentFitX,
|
|
26284
26285
|
'content-fit-y': this.contentFitY,
|
|
26285
26286
|
'content-nofit-x': this.contentFitX === false,
|
|
26286
26287
|
'content-nofit-y': this.contentFitY === false,
|
|
26287
|
-
} }, h("slot", { key: '
|
|
26288
|
+
} }, h("slot", { key: 'f90ceb11f59a9e7416a9279821daae7922ce497f' }), !!this.notifyContentFit &&
|
|
26288
26289
|
(this.contentFitX !== null || this.contentFitY !== null) && [
|
|
26289
26290
|
this.contentFitX ? (h("slot", { name: "content-fit-x" })) : (h("slot", { name: "content-nofit-x" })),
|
|
26290
26291
|
this.contentFitY ? (h("slot", { name: "content-fit-y" })) : (h("slot", { name: "content-nofit-y" })),
|
|
@@ -27015,30 +27016,30 @@ class Select {
|
|
|
27015
27016
|
disabled,
|
|
27016
27017
|
clearControl: this.clearable,
|
|
27017
27018
|
}))(this);
|
|
27018
|
-
return (h(Host, { key: '
|
|
27019
|
+
return (h(Host, { key: '025066dc414ac2cb5e53c24f40ad82e7ce68695e', type: this.multiple ? 'select-multiple' : 'select-one', "aria-disabled": this.disabled ? 'true' : null, class: {
|
|
27019
27020
|
'has-value': !!this.value.length || !!this.inputSearchVal.length,
|
|
27020
27021
|
'has-focus': this.hasFocus,
|
|
27021
27022
|
'is-invalid': this._invalid === true,
|
|
27022
27023
|
'is-valid': this._invalid === false,
|
|
27023
27024
|
'nano-select': true,
|
|
27024
|
-
} }, h(FormControlWrap, { key: '
|
|
27025
|
+
} }, h(FormControlWrap, { key: 'b2a86d25b2c92627bb2f17c1c6c7a8348766141b', ...wrapOptions, class: {
|
|
27025
27026
|
'has-error': !!this.errorMessage &&
|
|
27026
27027
|
this.showInlineError &&
|
|
27027
27028
|
this._invalid === true,
|
|
27028
27029
|
'has-helper': this.hasHelperSlot,
|
|
27029
27030
|
'is-open': this.hasOpened,
|
|
27030
27031
|
masked: this.mask,
|
|
27031
|
-
} }, h(FormControl, { key: '
|
|
27032
|
-
this.mask && (h("div", { key: '
|
|
27033
|
-
h("input", { key: '
|
|
27034
|
-
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: '
|
|
27032
|
+
} }, 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 && [
|
|
27033
|
+
this.mask && (h("div", { key: '6da5a52e4c35495ae29e74010e6329c224ca458d', class: "select__mask" }, this.getLabel(this.value))),
|
|
27034
|
+
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 }),
|
|
27035
|
+
])), !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) => {
|
|
27035
27036
|
e.preventDefault();
|
|
27036
27037
|
this.removeValue(e.detail.value);
|
|
27037
27038
|
}, onNanoOptionsUpdated: this.setOptions, onNanoSelect: this.setValue,
|
|
27038
27039
|
// @ts-expect-error - this bubbles from the nano-dropdown
|
|
27039
27040
|
onNanoShow: () => (this.hasOpened = true), onNanoHide: () => (this.hasOpened = false) }, this.allowCustomValues &&
|
|
27040
27041
|
this.multiple &&
|
|
27041
|
-
!!this.inputSearchVal && (h("nano-option", { key: '
|
|
27042
|
+
!!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 &&
|
|
27042
27043
|
this.valArray.map((val) => {
|
|
27043
27044
|
return (h("option", { value: val, selected: true }, val));
|
|
27044
27045
|
}), !this.allowCustomValues &&
|
|
@@ -27181,7 +27182,7 @@ let Slide$2 = class Slide {
|
|
|
27181
27182
|
});
|
|
27182
27183
|
}
|
|
27183
27184
|
render() {
|
|
27184
|
-
return (h(Host, { key: '
|
|
27185
|
+
return (h(Host, { key: '5942e883ec56c489c9ff7c7172f45bd804b3e269', class: "nano-slide" }, h("slot", { key: '7224e97679d00b8e1f4957898a1c0c1ddcd101cc' })));
|
|
27185
27186
|
}
|
|
27186
27187
|
static get watchers() { return {
|
|
27187
27188
|
"ready": ["readyChange"]
|
|
@@ -30163,15 +30164,15 @@ class Slides {
|
|
|
30163
30164
|
this.destroyflickity();
|
|
30164
30165
|
}
|
|
30165
30166
|
render() {
|
|
30166
|
-
return (h(Host, { key: '
|
|
30167
|
+
return (h(Host, { key: '5d1c313e7391e5fadf9a282e8e0d620a826c8ae2', class: "nano-slides" }, h("div", { key: 'b9cdbd89391725d29ddb3b9f3ac57346712bf94a', class: {
|
|
30167
30168
|
slideshow: true,
|
|
30168
30169
|
ready: this.ready,
|
|
30169
30170
|
'not-ready': !this.ready,
|
|
30170
|
-
}, part: "base" }, h("div", { key: '
|
|
30171
|
+
}, part: "base" }, h("div", { key: 'a82230810b978fe9760d245e668e9a683ee12ad4', ref: (div) => (this.flickityEl = div), class: {
|
|
30171
30172
|
'flickity-container': true,
|
|
30172
30173
|
'slides-ready': this.slidesReady,
|
|
30173
30174
|
'slides-not-ready': !this.slidesReady,
|
|
30174
|
-
}, part: "slide-container" }, h("slot", { key: '
|
|
30175
|
+
}, 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: {
|
|
30175
30176
|
'pagination-btn': true,
|
|
30176
30177
|
'pagination-btn--active': this.isActive(index),
|
|
30177
30178
|
'is-selected': this.isActive(index),
|
|
@@ -30180,8 +30181,8 @@ class Slides {
|
|
|
30180
30181
|
if (this.isActive(index))
|
|
30181
30182
|
return;
|
|
30182
30183
|
this.slideTo(index);
|
|
30183
|
-
} }, h("span", { class: "pagination-btn__label" }, "Go to slide ", index + 1)))))), this.navbtns && (h("button", { key: '
|
|
30184
|
-
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: '
|
|
30184
|
+
} }, 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 ===
|
|
30185
|
+
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: 'a27d88c1264de80d79b8b1ccee08bb0f7cb7d019', class: "button-icon", part: "navigation-icon" }, h("slot", { key: '01ff479ea5b2208abcbfc72a902914a37e571721', name: "next-icon" })))))))));
|
|
30185
30186
|
}
|
|
30186
30187
|
static get watchers() { return {
|
|
30187
30188
|
"options": ["optionsChanged"],
|
|
@@ -30939,7 +30940,7 @@ class Sortable {
|
|
|
30939
30940
|
}
|
|
30940
30941
|
}
|
|
30941
30942
|
render() {
|
|
30942
|
-
return (h(Host, { key: '
|
|
30943
|
+
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' })));
|
|
30943
30944
|
}
|
|
30944
30945
|
static get watchers() { return {
|
|
30945
30946
|
"itemSelector": ["handleItemSelectorChange"],
|
|
@@ -31938,12 +31939,12 @@ class Sticker {
|
|
|
31938
31939
|
this.hasBootstrapped = false;
|
|
31939
31940
|
}
|
|
31940
31941
|
render() {
|
|
31941
|
-
return (h(Host, { key: '
|
|
31942
|
+
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: {
|
|
31942
31943
|
sticker: true,
|
|
31943
31944
|
sticky: this.isRootSticker && this.isSticky,
|
|
31944
31945
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
|
31945
31946
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
|
31946
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
|
31947
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: '70289b3224edd38bee35a856c4e7d02a8b631ab1', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '20df0df1966b2ca4097a7baad492e5f35c5e77c5' })))));
|
|
31947
31948
|
}
|
|
31948
31949
|
static get watchers() { return {
|
|
31949
31950
|
"trigger": ["updateTriggerOffset"],
|
|
@@ -32232,10 +32233,10 @@ class Tooltip {
|
|
|
32232
32233
|
this.popover.destroy();
|
|
32233
32234
|
}
|
|
32234
32235
|
render() {
|
|
32235
|
-
return (h(Host, { key: '
|
|
32236
|
+
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: {
|
|
32236
32237
|
tooltip: true,
|
|
32237
32238
|
'tooltip--open': this.open,
|
|
32238
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
|
32239
|
+
}, 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 })))));
|
|
32239
32240
|
}
|
|
32240
32241
|
static get watchers() { return {
|
|
32241
32242
|
"content": ["setLabel"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanoporetech-digital/components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.23.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "A collection of Oxford Nanopore corporate / digital webcomponents",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"smart-array-filter": "^4.0.2",
|
|
57
57
|
"stencil-wormhole": "3.2.1",
|
|
58
58
|
"tyqs": "^0.1.3",
|
|
59
|
-
"@nanoporetech-digital/style": "8.
|
|
59
|
+
"@nanoporetech-digital/style": "8.23.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@algolia/client-search": "^4.22.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|