@nanoporetech-digital/components 8.23.0 → 8.23.2
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-Dk5hgLxE.js → fade-BBm4CWLi.js} +1 -1
- package/dist/cjs/{fullscreen-B8PI8fLw.js → fullscreen-Bkk4fggn.js} +1 -1
- package/dist/cjs/{lazyload-ChvKaF2s.js → lazyload-DFPCQcws.js} +1 -1
- package/dist/cjs/nano-avatar_5.cjs.entry.js +11 -11
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +12 -7
- package/dist/cjs/nano-global-nav.cjs.entry.js +5 -6
- 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-DLdjGrLe.js → nano-slides-B5VhMbVx.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 +5 -6
- 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/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/menu.js +12 -7
- 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/menu.js +12 -7
- package/dist/components/nano-global-nav.js +5 -6
- 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-7baHrSn9.js → fade-DRoL_0er.js} +1 -1
- package/dist/esm/{fullscreen-C7RormIi.js → fullscreen-936htj2i.js} +1 -1
- package/dist/esm/{lazyload-gQjhjQkV.js → lazyload-cQ60nfzF.js} +1 -1
- package/dist/esm/nano-avatar_5.entry.js +11 -11
- package/dist/esm/nano-dropdown_2.entry.js +12 -7
- package/dist/esm/nano-global-nav.entry.js +5 -6
- 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-B9LD7oLb.js → nano-slides-Dbp6Qk42.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-components/{fade-7baHrSn9.js → fade-DRoL_0er.js} +1 -1
- package/dist/nano-components/{fullscreen-C7RormIi.js → fullscreen-936htj2i.js} +1 -1
- package/dist/nano-components/{lazyload-gQjhjQkV.js → lazyload-cQ60nfzF.js} +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- 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-B9LD7oLb.js → nano-slides-Dbp6Qk42.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/docs-json.json +2 -2
- package/hydrate/index.js +78 -74
- package/hydrate/index.mjs +78 -74
- package/package.json +2 -2
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{sHPJkByK → nxMX84kt}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -15267,13 +15267,12 @@ 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
|
-
|
|
15274
|
-
].join('')), this.breakpoint <= bpps.contact.breakpoint
|
|
15270
|
+
])))))), h("div", { key: 'f84317012affbf6aa952810f627ca318f042dd0b', class: "gn__cart" }, this.cartUrl && [
|
|
15271
|
+
h("nano-icon-button", { key: 'c656b17e3ee2462900fc855c8128b2e92e3ad4cb', iconName: "light/cart-shopping", label: "View your cart", href: this.cartUrl }),
|
|
15272
|
+
!!this.cartCount && (h("nano-badge", { key: 'f6dbaa60f1960c3674c446fec760b27e9655d537', theme: "danger", strength: "2" }, this.cartCount > 9 ? '9+' : this.cartCount)),
|
|
15273
|
+
]), this.breakpoint <= bpps.contact.breakpoint
|
|
15275
15274
|
? bpps.contact.tpl()
|
|
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: '
|
|
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: '673b8dc2257fce9a5bb0766768cfcb7750e890f5', part: "site-search-results" }, h("div", { key: '73d76e83b1e397ed135bc102f45c37f41ca6759c', class: "gn__site", part: "site-wrapper" }, h("slot", { key: '940796917153c26f98dfb7359465989274673770' }))))));
|
|
15277
15276
|
}
|
|
15278
15277
|
static get assetsDirs() { return ["assets"]; }
|
|
15279
15278
|
static get watchers() { return {
|
|
@@ -15603,12 +15602,12 @@ class GlobalSearchResults {
|
|
|
15603
15602
|
this.ro.observe(this.el);
|
|
15604
15603
|
}
|
|
15605
15604
|
render() {
|
|
15606
|
-
return (h(Host, { key: '
|
|
15605
|
+
return (h(Host, { key: '63af990582466961e1cf02c9e67bd8cffa82e620', class: {
|
|
15607
15606
|
small: this.currentWidth < 780,
|
|
15608
15607
|
'nano-global-search-results': true,
|
|
15609
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: '
|
|
15608
|
+
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : undefined }, h("nano-algolia", { key: 'ea81b7334b7d2edb65328f65c70db0f75b48820c', 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",
|
|
15610
15609
|
// @ts-expect-error this bubbles from nano-algolia-filter
|
|
15611
|
-
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: '
|
|
15610
|
+
onNanoFilterChanged: () => this.handleNanoFilterChanged() }, h("template", { key: '10cf57aac61c6b40cd3a285ddfd03b483b9d131d', slot: "template" },
|
|
15612
15611
|
/* html */ `<div class="main-search sc-nano-global-search-results">
|
|
15613
15612
|
<nano-algolia-results id="main-search-results" class="main-search__results sc-nano-global-search-results" infinite-scroll>
|
|
15614
15613
|
<script type="text/template" slot="start-template">
|
|
@@ -15986,7 +15985,7 @@ class GlobalSearchResults {
|
|
|
15986
15985
|
</div>
|
|
15987
15986
|
</div>
|
|
15988
15987
|
{{ /if }}
|
|
15989
|
-
</div>`), h("div", { key: '
|
|
15988
|
+
</div>`), h("div", { key: '531d1aaf58fe5df465d93998f9448207d23de76a', slot: "output" }), h("slot", { key: '66231f02547592a1b03a87b3f3e237c527befc38' }))));
|
|
15990
15989
|
}
|
|
15991
15990
|
static get watchers() { return {
|
|
15992
15991
|
"algoliaEle": ["handleAlgoliaCredsChange", "handleAlgoliaIndexChange", "handleAlgoliaEleChange"],
|
|
@@ -16274,7 +16273,7 @@ class Grid {
|
|
|
16274
16273
|
this.constructSizeArray();
|
|
16275
16274
|
}
|
|
16276
16275
|
render() {
|
|
16277
|
-
return (h(Host, { key: '
|
|
16276
|
+
return (h(Host, { key: '56ae0bda8aedac96841dd8cf308117ef1aaa9824', class: "nano-grid" }, h("div", { key: '6fffc201e4261b8f6c458bd044b31fe12cd9045e', part: "grid", class: "grid", "cache-key": this.cacheKey }, h("slot", { key: 'a6d7473ba9a8ffd21c4df95c2028e67026ffd1a5' })), this.showHelper && (h("div", { key: '275145f83283b504171fdc973741a1398cca6317', class: "grid grid--helper", part: "helper", "cache-key": this.cacheKey }, [...Array(24)].map(() => (h("div", { class: "grid__helper-item" })))))));
|
|
16278
16277
|
}
|
|
16279
16278
|
static get watchers() { return {
|
|
16280
16279
|
"sTpl": ["constructSizeArray"],
|
|
@@ -16343,7 +16342,7 @@ class GridItem {
|
|
|
16343
16342
|
* m-row-start-2
|
|
16344
16343
|
*/
|
|
16345
16344
|
render() {
|
|
16346
|
-
return hAsync("slot", { key: '
|
|
16345
|
+
return hAsync("slot", { key: '9a50a1034bd70b2d0c461f01acdb6b0484e492d3' });
|
|
16347
16346
|
}
|
|
16348
16347
|
static get style() { return ":host { display: inline-block; }"; }
|
|
16349
16348
|
static get cmpMeta() { return {
|
|
@@ -16461,7 +16460,7 @@ class Hero {
|
|
|
16461
16460
|
};
|
|
16462
16461
|
render() {
|
|
16463
16462
|
const rtl = this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
|
|
16464
|
-
return (h(Host, { key: '
|
|
16463
|
+
return (h(Host, { key: '8270c80717ac41cc4cd5bedb577b131fe01ac967', class: "nano-hero" }, h("div", { key: '8b04bda451af03b648beb5576cd0badd48364aab', class: {
|
|
16465
16464
|
hero: true,
|
|
16466
16465
|
'hero--light': this.theme === 'light',
|
|
16467
16466
|
'hero--secondary': this.hasSecondaryContent,
|
|
@@ -16472,9 +16471,9 @@ class Hero {
|
|
|
16472
16471
|
'hero--hasbg': this.hasBg,
|
|
16473
16472
|
'hero--backbtn': this.hasBackBtn,
|
|
16474
16473
|
'hero--sub': this.level === 'sub',
|
|
16475
|
-
} }, h("div", { key: '
|
|
16476
|
-
h("div", { key: '
|
|
16477
|
-
h(this.HeroContent, { key: '
|
|
16474
|
+
} }, h("div", { key: 'be91fa5b23ceddaf411b269eb6635b886c83174d', class: "hero__bg-wrap" }, !!this.imgSrc && (h("nano-img", { key: '961b0a21220f0305cc0f4a4af0c6cd5e99446c41', class: "hero__img", lazy: false, background: true, srcSet: this.imgSrcSet, src: this.imgSrc }, h(this.HeroContent, { key: 'b272423beee722ae9d4adc0313d2d9ca4e6e3cd4' }))), !this.imgSrc && [
|
|
16475
|
+
h("div", { key: 'f10056208ed97f1d4a051572261c874e5dae6e96', class: "hero__bg-slot" }, h("slot", { key: '225c3a0b114b16e8edb063d6979683b343e85419', name: "background" })),
|
|
16476
|
+
h(this.HeroContent, { key: '375442509ce1954ca651d56d49488b0da464e577' }),
|
|
16478
16477
|
]))));
|
|
16479
16478
|
}
|
|
16480
16479
|
static get watchers() { return {
|
|
@@ -16669,7 +16668,7 @@ class Icon {
|
|
|
16669
16668
|
(this.name.indexOf('arrow') > -1 ||
|
|
16670
16669
|
this.name.indexOf('chevron') > -1) &&
|
|
16671
16670
|
this.isRtl());
|
|
16672
|
-
return (h(Host, { key: '
|
|
16671
|
+
return (h(Host, { key: '5c392d7707158df8b3c3d75f00824e597c3a87a9', class: {
|
|
16673
16672
|
loading: this.isLoading,
|
|
16674
16673
|
'flip-rtl': !!flipRtl,
|
|
16675
16674
|
'nano-icon': true,
|
|
@@ -16971,16 +16970,16 @@ class Img {
|
|
|
16971
16970
|
const bgStyle = this.loadSrc
|
|
16972
16971
|
? { 'background-image': `url(${this.loadSrc})` }
|
|
16973
16972
|
: {};
|
|
16974
|
-
return (h(Host, { key: '
|
|
16973
|
+
return (h(Host, { key: 'f8774fc9ad6e94727378337c2f405a068a7c88fb', class: "nano-img" }, h("div", { key: '15ae3c8ea944c8f0eab8616194f44fc1033e8fe2', class: "img" }, h("div", { key: 'ec3f433ded23dcb7fc57e53b0ecaba789ba492e0', class: "img__loader n-loader-skeleton" }, "Loading"), !!this.background && (h("div", { key: '8f4e8c9d595a31b477b0ae3f9e135f6b5c3f0e69', class: {
|
|
16975
16974
|
loaded: this.hasLoaded,
|
|
16976
16975
|
img__bg: true,
|
|
16977
16976
|
'no-height': this.autoHeight === 'image',
|
|
16978
|
-
}, style: bgStyle }, h("slot", { key: '
|
|
16977
|
+
}, style: bgStyle }, h("slot", { key: '29bab2a5c86b3dfe18db8936af77674c44d743d0' }))), h("img", { key: 'e6731b48ed137d97aa98e64dc55488d56724f672', class: {
|
|
16979
16978
|
img__image: true,
|
|
16980
16979
|
loaded: this.hasLoaded,
|
|
16981
16980
|
hide: this.background,
|
|
16982
16981
|
'no-height': this.autoHeight === 'content',
|
|
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: '
|
|
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: '0f1ce7d8b82adc19bfa459ff2adae708a4263c6e', class: "img__observer", onNanoResizeStateChange: this.onResize, states: this.imgStates }))));
|
|
16984
16983
|
}
|
|
16985
16984
|
static get watchers() { return {
|
|
16986
16985
|
"_src": ["_srcChanged"],
|
|
@@ -18482,17 +18481,17 @@ class InputOTP {
|
|
|
18482
18481
|
const inputmode = this.getInputmode();
|
|
18483
18482
|
const tabbableIndex = this.getTabbableIndex();
|
|
18484
18483
|
const pattern = this.getPattern();
|
|
18485
|
-
return (hAsync(Host, { key: '
|
|
18484
|
+
return (hAsync(Host, { key: '69c1b3c4a4cae21665bb7e3646a27a89f8d0a73b', class: {
|
|
18486
18485
|
'has-focus': hasFocus,
|
|
18487
18486
|
'input-otp-disabled': disabled,
|
|
18488
18487
|
'input-otp-readonly': readonly,
|
|
18489
18488
|
'nano-invalid': invalid,
|
|
18490
18489
|
'nano-valid': valid,
|
|
18491
|
-
} }, hAsync("div", { key: '
|
|
18490
|
+
} }, hAsync("div", { key: '9fcd9882d552cde88adfa7578e556155651bbb4d', class: "input-otp-container" }, hAsync("div", { key: '3e2c1a83282c08c1ccef81c4f13a895f1efeec13', 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: 'b5d9d9f3023cca6fcf9d8a394287de2333eeff54', class: {
|
|
18492
18491
|
'input-otp-icon': true,
|
|
18493
18492
|
'input-otp-icon--valid': valid,
|
|
18494
18493
|
'input-otp-icon--invalid': invalid,
|
|
18495
|
-
}, part: "validity-icon" }, hAsync("slot", { key: '
|
|
18494
|
+
}, part: "validity-icon" }, hAsync("slot", { key: 'd4a3123b713487f579a503ea1158e73b97a35198', name: "validity-icon" }, hAsync("nano-icon", { key: '2d7886aadaaa786f3594ace3d4fa3d2ebbdc30c3', hidden: !valid, name: "light/circle-check", class: "input-otp-valid-icon", "aria-label": "Valid input" }))))), this.slotCtrl.has('[default]') && (hAsync("div", { key: '32b6883425e8f62bda344ad6f92ff63a5fef98f4', class: "input-otp-description" }, hAsync("slot", { key: '81b5c65f7c8bab2f8bf371c03bc5a2ae455b6c3f' })))));
|
|
18496
18495
|
}
|
|
18497
18496
|
static get watchers() { return {
|
|
18498
18497
|
"value": ["valueChanged"]
|
|
@@ -18664,7 +18663,7 @@ class IntersectionObserve {
|
|
|
18664
18663
|
this.removeIO();
|
|
18665
18664
|
}
|
|
18666
18665
|
render() {
|
|
18667
|
-
return (h(Host, { key: '
|
|
18666
|
+
return (h(Host, { key: '6ed0913499a9caede509c0394a2be337ddbcfc7c', class: "nano-intersection-observe" }, h("slot", { key: 'a55eeb8c1527dd62aba761b60b6a0764cbd5bfa4', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
|
18668
18667
|
}
|
|
18669
18668
|
static get watchers() { return {
|
|
18670
18669
|
"root": ["handleRootChange"],
|
|
@@ -19011,7 +19010,7 @@ class MaskedOverflow {
|
|
|
19011
19010
|
}
|
|
19012
19011
|
}
|
|
19013
19012
|
render() {
|
|
19014
|
-
return (h(Host, { key: '
|
|
19013
|
+
return (h(Host, { key: 'e5c6238730817f0c7036060faa8c344d514a3924', dir: this.isRtl ? 'rtl' : null, class: "nano-masked-overflow", "has-scroll-controls": this.hasScrollControls }, h("div", { key: '4027acd51b80fd1bf2bb9d66a05ec051802732f3', part: "base", class: {
|
|
19015
19014
|
onav: true,
|
|
19016
19015
|
[`onav--${this.orientation}`]: true,
|
|
19017
19016
|
'onav--has-scroll-controls': this.hasScrollControls,
|
|
@@ -19020,12 +19019,12 @@ class MaskedOverflow {
|
|
|
19020
19019
|
'onav--no-transitions': this.instantReCalc,
|
|
19021
19020
|
'onnav--has-indicator': this.showIndicator,
|
|
19022
19021
|
'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
|
|
19023
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
19022
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'a552b2e3cdf9f84249655b21ce6f2acb5c330a75', class: "onav__nav" }, this.scrollControls && (h("nano-icon-button", { key: '5aca29990db29b3d0d00e6bca317cd3870d06d6b', part: "scroll-button scroll-button-prev", class: {
|
|
19024
19023
|
'onav__scroll-button': true,
|
|
19025
19024
|
'onav__scroll-button--start': true,
|
|
19026
19025
|
}, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
19027
19026
|
? 'light/chevron-left'
|
|
19028
|
-
: 'light/chevron-up' })), h("div", { key: '
|
|
19027
|
+
: 'light/chevron-up' })), h("div", { key: '9c2b4c91859b5c6c132ab2eecc01cf56eeec18b9', 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: 'a77097f7b9a70e08f9a1eb980948c5c92dff760d', part: "items", ref: (el) => (this.itemContainer = el), class: "onav__items" }, this.showIndicator && (h("div", { key: 'b8661b042f9e195850a33ce3570b75c9bed25d7e', part: "indicator", ref: (el) => (this.activeIndicator = el), class: "onav__active-indicator" })), h("slot", { key: '54af572f6ef591d8d3cb34221e048ac0e32140bb', onSlotchange: this.slotChangeHandler }))), this.scrollControls && (h("nano-icon-button", { key: 'e27a06cc2cec7ed373c527e3c6db5a0a56a90b71', part: "scroll-button scroll-button-next", class: {
|
|
19029
19028
|
'onav__scroll-button': true,
|
|
19030
19029
|
'onav__scroll-button--end': true,
|
|
19031
19030
|
}, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
|
@@ -19154,7 +19153,7 @@ class Menu {
|
|
|
19154
19153
|
get selectedItem() {
|
|
19155
19154
|
return this.getItems.find((i) => i.selected);
|
|
19156
19155
|
}
|
|
19157
|
-
async setActiveFocusItem(item, focus = true) {
|
|
19156
|
+
async setActiveFocusItem(item, focus = true, preventScroll = false) {
|
|
19158
19157
|
const items = this.getItems;
|
|
19159
19158
|
const activeItem = !item
|
|
19160
19159
|
? items.find((i) => i.selected) || items[0]
|
|
@@ -19165,13 +19164,18 @@ class Menu {
|
|
|
19165
19164
|
if (!focus)
|
|
19166
19165
|
return;
|
|
19167
19166
|
if (activeItem) {
|
|
19168
|
-
if (
|
|
19167
|
+
if (preventScroll) {
|
|
19168
|
+
activeItem.focus({ preventScroll: true });
|
|
19169
|
+
}
|
|
19170
|
+
else if (activeItem.setFocus) {
|
|
19169
19171
|
activeItem.setFocus();
|
|
19170
|
-
|
|
19172
|
+
}
|
|
19173
|
+
else {
|
|
19171
19174
|
activeItem.focus();
|
|
19175
|
+
}
|
|
19172
19176
|
}
|
|
19173
19177
|
else if (!this.hasFocus) {
|
|
19174
|
-
this.menu.focus();
|
|
19178
|
+
this.menu.focus({ preventScroll });
|
|
19175
19179
|
}
|
|
19176
19180
|
}
|
|
19177
19181
|
// Event Handlers
|
|
@@ -19282,7 +19286,7 @@ class Menu {
|
|
|
19282
19286
|
target.closest(transformTag('nano-option')) ||
|
|
19283
19287
|
target.closest('a');
|
|
19284
19288
|
if (item && !this.ignoreMouseEvents) {
|
|
19285
|
-
this.setActiveFocusItem(item);
|
|
19289
|
+
this.setActiveFocusItem(item, true, true);
|
|
19286
19290
|
}
|
|
19287
19291
|
};
|
|
19288
19292
|
handleSlotContent = () => {
|
|
@@ -19326,11 +19330,11 @@ class Menu {
|
|
|
19326
19330
|
this.handleSlotContent();
|
|
19327
19331
|
}
|
|
19328
19332
|
render() {
|
|
19329
|
-
return (h(Host, { key: '
|
|
19333
|
+
return (h(Host, { key: '40403e7a4f942f8fa8594edc9ceb24f33aba6979', role: this._type === 'listbox' ? 'group' : this._type, class: "nano-menu" }, h("div", { key: '561716ed34aa038cebacb31dc3b8562829f062e4', onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onFocus: this.handleFocus, "aria-label": this.label ? this.label : undefined, ref: (el) => (this.menu = el), part: "base", class: {
|
|
19330
19334
|
menu: true,
|
|
19331
19335
|
['menu--' + this._type]: true,
|
|
19332
19336
|
'menu--has-focus': this.hasFocus,
|
|
19333
|
-
}, tabIndex: -1, role: "group" }, h("slot", { key: '
|
|
19337
|
+
}, tabIndex: -1, role: "group" }, h("slot", { key: 'e36d4071433a6e7ddd700aee284868856cbd82ff', onSlotchange: this.handleSlotContent }))));
|
|
19334
19338
|
}
|
|
19335
19339
|
static get style() { return menuCss; }
|
|
19336
19340
|
static get cmpMeta() { return {
|
|
@@ -19466,14 +19470,14 @@ class MenuDrawer {
|
|
|
19466
19470
|
disconnectedCallback() {
|
|
19467
19471
|
}
|
|
19468
19472
|
render() {
|
|
19469
|
-
return (h(Host, { key: '
|
|
19473
|
+
return (h(Host, { key: 'bed821db8e5a30f26c3c9bad45b01321bdf4ca77', class: {
|
|
19470
19474
|
open: this.open,
|
|
19471
19475
|
'secondary-open': this.secondaryOpen,
|
|
19472
19476
|
hide: this.hide,
|
|
19473
19477
|
loading: this.isLoading,
|
|
19474
19478
|
'has-global-nav': !!this.globalNav,
|
|
19475
19479
|
'nano-menu-drawer': true,
|
|
19476
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: '
|
|
19480
|
+
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: 'e80fe18a73873359fc1d86ca93a06b8c6d3173c1', ref: (div) => (this.containerDiv = div), class: "container" }, h("div", { key: 'fe83b1858bacd94f3e0540ee3933d1018f7bfb9d', class: `content-wrap ${this.secondaryOpen ? 'secondary-open' : ''}` }, h("nav", { key: 'bed3b6c253cf16f8a796393be71c2c1b9aebd266', ref: (div) => (this.contentDiv = div), class: "content" }, h("div", { key: 'a8ea363c51345c83fcbf8723a32627bd99c5a9cf', class: "head" }, h("button", { key: 'fa9765354704685582e64771ded73c30c88e0374', onClick: this.toggle, class: "collapse-btn" }, h("nano-icon", { key: '0489c46c0c76a72720daf6656e26c2946433bccc', name: "light/arrow-right-to-line" }), h("span", { key: '81b00aaf09a528d6137351df20e23149a5325bf0', class: "visually-hidden" }, "collapse / expand menu"))), h("slot", { key: 'ab5f6ed3b81b2d5f741a1d102a12db5b0f68bae7' }), this.slotCtrl.has('foot') && (h("div", { key: 'dbb8345173ee78b9685cc46c6dcde5c2d617a868', class: "foot" }, h("slot", { key: '93bfeb1493a1d5e9a420803a09e64dced877591b', name: "foot" }))))))));
|
|
19477
19481
|
}
|
|
19478
19482
|
static get watchers() { return {
|
|
19479
19483
|
"open": ["openChange"]
|
|
@@ -23594,11 +23598,11 @@ class NanoInPageNav {
|
|
|
23594
23598
|
}
|
|
23595
23599
|
}
|
|
23596
23600
|
render() {
|
|
23597
|
-
return (h(Host, { key: '
|
|
23601
|
+
return (h(Host, { key: 'a975c3e0b58fe39d504281784dd2f16e086eb0a1', class: {
|
|
23598
23602
|
'nano-in-page-nav': true,
|
|
23599
23603
|
'external-links': this.externalLinks === true ||
|
|
23600
23604
|
(this.externalLinks === 'auto' && this.autoExternalLinks),
|
|
23601
|
-
} }, h("nav", { key: '
|
|
23605
|
+
} }, h("nav", { key: 'd5ecad4befef8a17ab87bc6fd8166548d3bbac02', part: "root", "aria-label": "In-page navigation" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (h("div", { key: 'b8af62ddcfb510d5db84b10fdae6c3abc140adff', class: "header" }, h("slot", { key: 'd54e126201453b1b4ddf0d788193eecd9fb3f32f', name: "back" }), h("slot", { key: 'aabc23912eb3f55c38793596f347de8c1bb72fa0', name: "accessory" }))), h("div", { key: 'dcd9be9561af10b16731a80072ee851f16d1cacd', class: "desktop-nav" }, h("slot", { key: '5af492dafc853a042d14fa752f327303c102be23', onSlotchange: () => this.handleSlotChange })), h("nano-details", { key: 'b04115b88b4f2fbcfad931f82de1fe70030400be', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
|
|
23602
23606
|
}
|
|
23603
23607
|
static get style() { return inPageNavCss; }
|
|
23604
23608
|
static get cmpMeta() { return {
|
|
@@ -23685,7 +23689,7 @@ class NanoIncrement {
|
|
|
23685
23689
|
this.handleSlotChange();
|
|
23686
23690
|
}
|
|
23687
23691
|
render() {
|
|
23688
|
-
return (h(Host, { key: '
|
|
23692
|
+
return (h(Host, { key: '14c12f59b2f00d22bc58fb5ca64616a0a6b19749', class: "nano-increment" }, h("div", { key: '77800505fe9e0d79fda864dc48cb199e6ea611c7', class: "root" }, h("div", { key: '01576d846ca2708319d9faf1c7a0a25169f6c3f4', class: "minus" }, h("nano-icon-button", { key: 'a6b30034c64de602ac504a882aa3ff7c5a933083', iconName: "light/minus", label: "Decrement", onClick: this.handleMinus })), h("slot", { key: 'f04566d5f4a52f23a36bfb1c86a8dadfa3638d66', onSlotchange: this.handleSlotChange }), h("div", { key: '4f1e183e7d547d5f72154115300d14cfbbe3d62b', class: "plus" }, h("nano-icon-button", { key: '20af1b2a19cd8c9264e6375f4a5c05b9f917d979', iconName: "light/plus", label: "Increment", onClick: this.handlePlus })))));
|
|
23689
23693
|
}
|
|
23690
23694
|
static get watchers() { return {
|
|
23691
23695
|
"inputElement": ["inputElementChanged"]
|
|
@@ -23846,7 +23850,7 @@ class NanoStepAccordion {
|
|
|
23846
23850
|
}
|
|
23847
23851
|
}
|
|
23848
23852
|
render() {
|
|
23849
|
-
return (h("nano-accordion", { key: '
|
|
23853
|
+
return (h("nano-accordion", { key: '1a977444388da596ff3fbf0559ac77a274efce11', alwaysOpen: true, onNanoToggle: (event) => this.handleToggle(event) }, this.steps.map((step, index) => (h("nano-details", { open: index === this.activeStep, disabled: !step.enabled, class: {
|
|
23850
23854
|
step: true,
|
|
23851
23855
|
'step--active': index === this.activeStep,
|
|
23852
23856
|
'step--complete': step.complete,
|
|
@@ -23975,10 +23979,10 @@ class NanoStepBreadcrumb {
|
|
|
23975
23979
|
};
|
|
23976
23980
|
render() {
|
|
23977
23981
|
const Wrapper = this.steps.filter((step) => step.href).length > 0 ? 'nav' : 'div';
|
|
23978
|
-
return (h(Host, { key: '
|
|
23982
|
+
return (h(Host, { key: 'c36aea91ff263fe145d0eebfe5ba34c3fb33c948' }, h(Wrapper, { key: '5399b604512fdc7254f01702b5f58fd1ab5725be', class: "step-wrapper" }, h("ul", { key: '42f2f8adddd37661873ed4b16559b558a4525af4', 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: 'ab41697fed0c7d4282913f8492676008cee1ec63', class: `step-list mobile ${this.cacheKey}` }, h("nano-dropdown", { key: '73e5bba6d10f193c4e0b6b2ff43919e0b1589bcb', dialogTitle: "Steps", class: "step-dropdown" }, h("button", { key: '7054eb631e22d22ef7fbcb0c8320e77b288b381f', slot: "trigger", class: "step-trigger" }, h("div", { key: '8f0816402f31637a1402d1ee1e66bcd086ef6377', class: "step-progress-circle", role: "progressbar", "aria-valuenow": "2", "aria-valuemin": "0", "aria-valuemax": "5", style: {
|
|
23979
23983
|
'--value': '' + (this.activeStep + 1),
|
|
23980
23984
|
'--max': '' + this.steps.length,
|
|
23981
|
-
} }, h("span", { key: '
|
|
23985
|
+
} }, h("span", { key: '1ab7e9e69dc52d2761b2c1a2c7bdb19cc0cdad0f', class: "step-progress-text" }, h("strong", { key: 'e760c2e668e5930694a873448154e3f23bf03018' }, this.activeStep + 1), " of", ' ', this.steps.length)), h("div", { key: '0afdddcdfa767f2d250986360c5ce52a37adc868', class: "step-trigger-text" }, h("div", { key: '1c200ddd5ca41a6c003c4b4bfa6c6e188a8641ac', class: "step-trigger-now" }, this.steps[this.activeStep | 0]?.title || 'Select a step'), h("div", { key: 'c600fd068470ea8ae187c74dc9616e8efb057c9e', class: "step-trigger-next" }, this.steps[this.activeStep + 1]?.title || 'Next step')), h("nano-icon", { key: '053727621ffd9a19c39b9be0766c904391ede136', class: "step-trigger-icon", name: "light/chevron-down" })), h("nano-menu", { key: '7a578be0c13a7e4edeb40500e30e58d47c917b8e' }, this.steps.map((step, index) => (h("nano-nav-item", { class: {
|
|
23982
23986
|
'step-item-mobile': true,
|
|
23983
23987
|
'step-item-mobile step-item--active': index === this.activeStep,
|
|
23984
23988
|
'step-item-mobile step-item--complete': step.complete,
|
|
@@ -24070,12 +24074,12 @@ class NanoTab {
|
|
|
24070
24074
|
};
|
|
24071
24075
|
render() {
|
|
24072
24076
|
const Tag = this.href ? 'a' : 'div';
|
|
24073
|
-
return (h(Host, { key: '
|
|
24077
|
+
return (h(Host, { key: 'eeba7d6c136e8ede5c1d60ecf53696a6aac3e2c4', 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: 'a91c1e97699d0d32329c1f17b63da3ef97040333', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
|
24074
24078
|
tab: true,
|
|
24075
24079
|
'tab--active': this.active,
|
|
24076
24080
|
'tab--disabled': this.disabled,
|
|
24077
24081
|
'tab--closable': this.closable,
|
|
24078
|
-
}, href: this.href, target: this.target }, h("slot", { key: '
|
|
24082
|
+
}, href: this.href, target: this.target }, h("slot", { key: '2bab15a4a52e1eb75acecaf28b3b625ae3949716', name: "start" }), h("div", { key: 'ac5235d4d3b7802d5d7f7f5e896d996f8be68fc0', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active || this.href ? '-1' : '0', class: "tab__label" }, h("slot", { key: '5ad82f1d6061ab94268f623d1aaa82791a221b7c' })), h("slot", { key: '6f30a65a661a1a85eb3d363edb03c3e16fcf59f0', name: "end" }), this.closable && !this.disabled && (h("nano-icon-button", { key: 'f8ea9979858ab6faf98100cf970271e4262d7ab1', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
|
|
24079
24083
|
}
|
|
24080
24084
|
static get style() { return tabCss; }
|
|
24081
24085
|
static get cmpMeta() { return {
|
|
@@ -24123,10 +24127,10 @@ class NanoTabContent {
|
|
|
24123
24127
|
requestAnimationFrame(() => (this.ready = true));
|
|
24124
24128
|
}
|
|
24125
24129
|
render() {
|
|
24126
|
-
return (h(Host, { key: '
|
|
24130
|
+
return (h(Host, { key: 'd6b4670c20b4ba1434561d9ca12fa31da1a0e20d', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
|
24127
24131
|
ready: this.ready,
|
|
24128
24132
|
'nano-tab-content': true,
|
|
24129
|
-
} }, h("div", { key: '
|
|
24133
|
+
} }, h("div", { key: 'c7c7a56f8942451a8a9beca4b9126c5f6533f9e3', part: "base", class: "nano-tab-content" }, h("slot", { key: '662b14c342f751f9d7a4bcbfecb82ae8207ee219' }))));
|
|
24130
24134
|
}
|
|
24131
24135
|
static get style() { return tabContentCss; }
|
|
24132
24136
|
static get cmpMeta() { return {
|
|
@@ -24692,10 +24696,10 @@ class NanoTable {
|
|
|
24692
24696
|
this.cleanUpObservers();
|
|
24693
24697
|
}
|
|
24694
24698
|
render() {
|
|
24695
|
-
return (h(Host, { key: '
|
|
24699
|
+
return (h(Host, { key: 'fa8f3bb2dfffee9a213d372282b5902ed56c5a2b', class: {
|
|
24696
24700
|
'nano-table': true,
|
|
24697
24701
|
'nano-table--props-ready': this.propsReady,
|
|
24698
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
|
24702
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: 'da0d773c42fb2c1b9f694fa4b2c307c2c070d67d', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: '83f36ec8ff79fa21fb1ae03f1746ccc544ffa7f3', class: "nano-table__overflow" }))), h("slot", { key: '57821514111245364971a5f85c6ff95309590eb3' })));
|
|
24699
24703
|
}
|
|
24700
24704
|
static get watchers() { return {
|
|
24701
24705
|
"compact": ["handleCompactChange"],
|
|
@@ -25772,8 +25776,8 @@ let Rating$1 = class Rating {
|
|
|
25772
25776
|
this.handleShowHideElements();
|
|
25773
25777
|
}
|
|
25774
25778
|
render() {
|
|
25775
|
-
return (h(Host, { key: '
|
|
25776
|
-
h("div", { key: '
|
|
25779
|
+
return (h(Host, { key: 'b129148afdc959f912a16d1e2642c3e920a0a381', class: "nano-more-less" }, h("slot", { key: '92aa96b6301d14f7b4d9aee9cc4cafbf0ff75431', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
|
|
25780
|
+
h("div", { key: '73a5c457e8243cd8cf8e8ec1e681aa2c62244936', style: { display: this.show ? 'none' : 'contents' }, class: "button-wrapper", part: "button-wrapper button-wrapper--less", onClick: (e) => this.handleClick(e) }, h("slot", { key: '48802275120ff78676a19b25f792806dd03db2c1', name: "less" }, h("button", { key: '703d054e4560cf22d571a29838dfbd649062f7ca', part: "button button--less" }, "Show more (+", this.children.length - this.maxToShow, ")"))),
|
|
25777
25781
|
!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, ")")))) : (''),
|
|
25778
25782
|
]));
|
|
25779
25783
|
}
|
|
@@ -25994,20 +25998,20 @@ class Rating {
|
|
|
25994
25998
|
else {
|
|
25995
25999
|
displayValue = this.isHovering ? this.hoverValue : this.value;
|
|
25996
26000
|
}
|
|
25997
|
-
return (h(Host, { key: '
|
|
26001
|
+
return (h(Host, { key: '3011ba88cafed0ec3c79d823a3abac433f68b5d1', class: "nano-rating" }, h("label", { key: 'ea6a01bc5a7f8e7fecbb16a905c472b5e1c62328', class: `rating-label${this.hideLabel ? ' visually-hidden' : ''}`, part: "label", htmlFor: this.name }, h("slot", { key: '22e31eeaed0aca337a71c1bbb39c238413f1c00c', name: "label" }, this.label)), h("input", { key: '265bd0055cbd05911611e0a5e45828d4dab7ac8c', class: "range-input visually-hidden", name: this.name, id: this.name, disabled: this.disabled || this.readonly, required: this.required, value: this.value, onFocus: () => {
|
|
25998
26002
|
this.setFocus();
|
|
25999
|
-
} }), h("div", { key: '
|
|
26003
|
+
} }), h("div", { key: '4c0af619c68c230a5994871efdf5608870fb83e0', class: "rating-wrap" }, h("div", { key: 'e6f94c258bc04b6a4a6aad66c9364c1c811f859a', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
|
|
26000
26004
|
rating: true,
|
|
26001
26005
|
'rating--readonly': this.readonly,
|
|
26002
26006
|
'rating--disabled': this.disabled,
|
|
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: '
|
|
26007
|
+
}, "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: 'd514ae0f85be4d59ab6a2ae4496357c5d6601ba9', class: "rating__symbols rating__symbols--inactive" }, counter.map((index) => (h("span", { class: {
|
|
26004
26008
|
rating__symbol: true,
|
|
26005
26009
|
'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
|
|
26006
26010
|
},
|
|
26007
26011
|
// Users can click the current value to clear the rating. When this happens, we set this.isHovering to
|
|
26008
26012
|
// false to prevent the hover state from confusing them as they move the mouse out of the control. This
|
|
26009
26013
|
// extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
|
|
26010
|
-
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '
|
|
26014
|
+
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '0caf2f0561d3b74e6891e6c2a4b970fef53298f3', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
|
|
26011
26015
|
clip: this.clip(displayValue),
|
|
26012
26016
|
} }, counter.map((index) => (h("span", { class: {
|
|
26013
26017
|
rating__symbol: true,
|
|
@@ -26279,13 +26283,13 @@ class ResizeObserve {
|
|
|
26279
26283
|
}
|
|
26280
26284
|
}
|
|
26281
26285
|
render() {
|
|
26282
|
-
return (h(Host, { key: '
|
|
26286
|
+
return (h(Host, { key: 'a2c57218f65a9af2297e6662c29d3a7c853092df', class: {
|
|
26283
26287
|
'nano-resize-observe': true,
|
|
26284
26288
|
'content-fit-x': this.contentFitX,
|
|
26285
26289
|
'content-fit-y': this.contentFitY,
|
|
26286
26290
|
'content-nofit-x': this.contentFitX === false,
|
|
26287
26291
|
'content-nofit-y': this.contentFitY === false,
|
|
26288
|
-
} }, h("slot", { key: '
|
|
26292
|
+
} }, h("slot", { key: 'cf0faa31f7c1daa08238555a46699c1b731e13b8' }), !!this.notifyContentFit &&
|
|
26289
26293
|
(this.contentFitX !== null || this.contentFitY !== null) && [
|
|
26290
26294
|
this.contentFitX ? (h("slot", { name: "content-fit-x" })) : (h("slot", { name: "content-nofit-x" })),
|
|
26291
26295
|
this.contentFitY ? (h("slot", { name: "content-fit-y" })) : (h("slot", { name: "content-nofit-y" })),
|
|
@@ -27016,30 +27020,30 @@ class Select {
|
|
|
27016
27020
|
disabled,
|
|
27017
27021
|
clearControl: this.clearable,
|
|
27018
27022
|
}))(this);
|
|
27019
|
-
return (h(Host, { key: '
|
|
27023
|
+
return (h(Host, { key: 'a2c56f43fef750f8e336a1612644761293b19bd4', type: this.multiple ? 'select-multiple' : 'select-one', "aria-disabled": this.disabled ? 'true' : null, class: {
|
|
27020
27024
|
'has-value': !!this.value.length || !!this.inputSearchVal.length,
|
|
27021
27025
|
'has-focus': this.hasFocus,
|
|
27022
27026
|
'is-invalid': this._invalid === true,
|
|
27023
27027
|
'is-valid': this._invalid === false,
|
|
27024
27028
|
'nano-select': true,
|
|
27025
|
-
} }, h(FormControlWrap, { key: '
|
|
27029
|
+
} }, h(FormControlWrap, { key: '632d901cdff60d36ae1a410f6c252c671eac8e63', ...wrapOptions, class: {
|
|
27026
27030
|
'has-error': !!this.errorMessage &&
|
|
27027
27031
|
this.showInlineError &&
|
|
27028
27032
|
this._invalid === true,
|
|
27029
27033
|
'has-helper': this.hasHelperSlot,
|
|
27030
27034
|
'is-open': this.hasOpened,
|
|
27031
27035
|
masked: this.mask,
|
|
27032
|
-
} }, h(FormControl, { key: '
|
|
27033
|
-
this.mask && (h("div", { key: '
|
|
27034
|
-
h("input", { key: '
|
|
27035
|
-
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: '
|
|
27036
|
+
} }, h(FormControl, { key: '387a55518ed1c74ea944008c750a0ca42a6bbbe8', ...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: '660b70b098520471d4f7653af5cc50388625cd1c', class: "select__multi-wrap select" }, this.multipleValues(labelId, moreId, helperEndId))), !this.multiple && [
|
|
27037
|
+
this.mask && (h("div", { key: '44f53317d26f2f8b85b5c8b397ccfd68a26eebb5', class: "select__mask" }, this.getLabel(this.value))),
|
|
27038
|
+
h("input", { key: '04f3935c7f759e3767f32faecb9e6ef81a36c777', 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 }),
|
|
27039
|
+
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: 'aae86b85c3bd2c2c562468f2a33e52c7036ad69b', ref: (el) => (this.datalist = el), selected: this.valArray, type: this.multiple ? 'selectMulti' : 'select', options: this._options.length ? this._options : undefined, onNanoDeselect: (e) => {
|
|
27036
27040
|
e.preventDefault();
|
|
27037
27041
|
this.removeValue(e.detail.value);
|
|
27038
27042
|
}, onNanoOptionsUpdated: this.setOptions, onNanoSelect: this.setValue,
|
|
27039
27043
|
// @ts-expect-error - this bubbles from the nano-dropdown
|
|
27040
27044
|
onNanoShow: () => (this.hasOpened = true), onNanoHide: () => (this.hasOpened = false) }, this.allowCustomValues &&
|
|
27041
27045
|
this.multiple &&
|
|
27042
|
-
!!this.inputSearchVal && (h("nano-option", { key: '
|
|
27046
|
+
!!this.inputSearchVal && (h("nano-option", { key: 'cf744eb6bbad3ce2d8d05354d5edaf3eab07a207', slot: "list-top", value: this.inputSearchVal, selected: false, label: this.inputSearchVal, onNanoSelect: () => this.inputCtrl.focus() }, h("span", { key: '990e00208c403d92d1586fb0b2c4618768f5fda5', slot: "check-icon" }), "Add '", this.inputSearchVal, "'")), h("slot", { key: '54fce41f95c01e0b2ff1619209ebb15a28383677' }))), h("select", { key: '1c5ff40ac84be25c6b7075ef031b29f2b6f9b007', 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 &&
|
|
27043
27047
|
this.valArray.map((val) => {
|
|
27044
27048
|
return (h("option", { value: val, selected: true }, val));
|
|
27045
27049
|
}), !this.allowCustomValues &&
|
|
@@ -27182,7 +27186,7 @@ let Slide$2 = class Slide {
|
|
|
27182
27186
|
});
|
|
27183
27187
|
}
|
|
27184
27188
|
render() {
|
|
27185
|
-
return (h(Host, { key: '
|
|
27189
|
+
return (h(Host, { key: '3de94ff45cb6dddcca7f0097f3376361c2666f7e', class: "nano-slide" }, h("slot", { key: '9998d9102bdc69eecd28752b4a2c130497b34d06' })));
|
|
27186
27190
|
}
|
|
27187
27191
|
static get watchers() { return {
|
|
27188
27192
|
"ready": ["readyChange"]
|
|
@@ -30164,15 +30168,15 @@ class Slides {
|
|
|
30164
30168
|
this.destroyflickity();
|
|
30165
30169
|
}
|
|
30166
30170
|
render() {
|
|
30167
|
-
return (h(Host, { key: '
|
|
30171
|
+
return (h(Host, { key: 'ab3c7c4aee4786601f82e6d83ddb2de195ff8fd7', class: "nano-slides" }, h("div", { key: 'fbe7dadaddefd92daef76bec6e01dfb7a11aded7', class: {
|
|
30168
30172
|
slideshow: true,
|
|
30169
30173
|
ready: this.ready,
|
|
30170
30174
|
'not-ready': !this.ready,
|
|
30171
|
-
}, part: "base" }, h("div", { key: '
|
|
30175
|
+
}, part: "base" }, h("div", { key: 'efef77051a0db1a52586ce3e12baee3cb443d312', ref: (div) => (this.flickityEl = div), class: {
|
|
30172
30176
|
'flickity-container': true,
|
|
30173
30177
|
'slides-ready': this.slidesReady,
|
|
30174
30178
|
'slides-not-ready': !this.slidesReady,
|
|
30175
|
-
}, part: "slide-container" }, h("slot", { key: '
|
|
30179
|
+
}, part: "slide-container" }, h("slot", { key: 'cbdf063d45eb964328ade1026c897e02e27567f2', onSlotchange: () => this.update() })), h("div", { key: 'a68ae1524777a0fbb9369135e4f802cd70b8249f', class: "ui-extras" }, h("slot", { key: 'ea8f0636dcfabaa7704ed86fa10cdbd5d21db872', name: "ui" })), this.slideCount > 1 && (this.pager || this.navbtns) && (h("div", { key: '078617be5a5af3ea80886927f2f2b6c8bafd8427', class: "pagination", part: "pagination" }, this.navbtns && (h("button", { key: 'fb0c9671d14839940f71640edf42039f28e81ca1', 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: '4b535329bbcc1a13cb13e07b6885e33127c21d25', class: "button-icon button-icon--previous", part: "navigation-icon" }, h("slot", { key: '160d5479d37a91b4b210b3f477d780a39f93049d', name: "previous-icon" })))), this.pager && (h("div", { key: '370e6b8f4991efa3a19362f7e886ea8650cc92ad', class: "flickity-page-dots" }, Array.from({ length: this.slideCount }).map((_, index) => (h("button", { part: "pagination-item--active", key: index, class: {
|
|
30176
30180
|
'pagination-btn': true,
|
|
30177
30181
|
'pagination-btn--active': this.isActive(index),
|
|
30178
30182
|
'is-selected': this.isActive(index),
|
|
@@ -30181,8 +30185,8 @@ class Slides {
|
|
|
30181
30185
|
if (this.isActive(index))
|
|
30182
30186
|
return;
|
|
30183
30187
|
this.slideTo(index);
|
|
30184
|
-
} }, h("span", { class: "pagination-btn__label" }, "Go to slide ", index + 1)))))), this.navbtns && (h("button", { key: '
|
|
30185
|
-
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: '
|
|
30188
|
+
} }, h("span", { class: "pagination-btn__label" }, "Go to slide ", index + 1)))))), this.navbtns && (h("button", { key: '8c8841103ecf7e698326216cd9d19616098ba087', 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 ===
|
|
30189
|
+
this.iCurrentSlide + 1 && !this.options.wrapAround }, h("span", { key: '038894a16910a9f7156d69ddf02805cd7a4b3db2', class: "button-icon", part: "navigation-icon" }, h("slot", { key: 'fce4e6b92873f9805e8d2d5db6eac1afb04bd9f2', name: "next-icon" })))))))));
|
|
30186
30190
|
}
|
|
30187
30191
|
static get watchers() { return {
|
|
30188
30192
|
"options": ["optionsChanged"],
|
|
@@ -30940,7 +30944,7 @@ class Sortable {
|
|
|
30940
30944
|
}
|
|
30941
30945
|
}
|
|
30942
30946
|
render() {
|
|
30943
|
-
return (h(Host, { key: '
|
|
30947
|
+
return (h(Host, { key: '845be657a2bbfb42718ee9e8d4672ff31756fcc3', class: "nano-sortable" }, h("div", { key: '9c603a11407cb62ffe50bb6cfd89b47994df21e9', 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: '36a5e7111ed26a7714206c449ffc7be1a46337d1' })));
|
|
30944
30948
|
}
|
|
30945
30949
|
static get watchers() { return {
|
|
30946
30950
|
"itemSelector": ["handleItemSelectorChange"],
|
|
@@ -31939,12 +31943,12 @@ class Sticker {
|
|
|
31939
31943
|
this.hasBootstrapped = false;
|
|
31940
31944
|
}
|
|
31941
31945
|
render() {
|
|
31942
|
-
return (h(Host, { key: '
|
|
31946
|
+
return (h(Host, { key: '9760c52934c0b3d6459598dfa3a197927cf7e878', 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: 'abbbd0a9b785792f00a75d411fbc3b882f605032', class: {
|
|
31943
31947
|
sticker: true,
|
|
31944
31948
|
sticky: this.isRootSticker && this.isSticky,
|
|
31945
31949
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
|
31946
31950
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
|
31947
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
|
31951
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: 'de9552b69657aad9f2015dfa1470a197d490520c', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: 'baafb74a16688cd9e1839eb617ceb46fb7e2b23f' })))));
|
|
31948
31952
|
}
|
|
31949
31953
|
static get watchers() { return {
|
|
31950
31954
|
"trigger": ["updateTriggerOffset"],
|
|
@@ -32233,10 +32237,10 @@ class Tooltip {
|
|
|
32233
32237
|
this.popover.destroy();
|
|
32234
32238
|
}
|
|
32235
32239
|
render() {
|
|
32236
|
-
return (h(Host, { key: '
|
|
32240
|
+
return (h(Host, { key: '79951f5782653b519fabd8345c2ec0af5cf86f2d', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, class: "nano-tooltip" }, h("slot", { key: '6698cb226357c92807393c1fe2f73991c13ead07', onSlotchange: this.handleSlotChange }), h("div", { key: 'dbb8bda886e15850c17c06dca8d9f8924cb62486', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner", popover: "manual" }, h("div", { key: '9b1f5692d592331470c0159229aab8fbcb091b21', part: "base", ref: (el) => (this.tooltip = el), class: {
|
|
32237
32241
|
tooltip: true,
|
|
32238
32242
|
'tooltip--open': this.open,
|
|
32239
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
|
32243
|
+
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '1e6f35227072b696e2cea3cbf93eea26285b20cf', name: "content", onSlotchange: () => this.setLabel() }, this.content), h("div", { key: 'dab2de407dae223b4ac229283d9dedb8a69e4919', class: "tooltip-arrow", "data-popper-arrow": true })))));
|
|
32240
32244
|
}
|
|
32241
32245
|
static get watchers() { return {
|
|
32242
32246
|
"content": ["setLabel"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanoporetech-digital/components",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.2",
|
|
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.23.
|
|
59
|
+
"@nanoporetech-digital/style": "8.23.2"
|
|
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
|