@nanoporetech-digital/components 8.0.0-alpha.11 → 8.0.0-alpha.13
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/{algolia-data-C57jw89c.js → algolia-data-D6TycVS6.js} +1 -1
- package/dist/cjs/{component-store-D4ZpyJGu.js → component-store-DFgMey0A.js} +1 -1
- package/dist/cjs/{dom-DrCOFZHp.js → dom-Lc3nZSfj.js} +1 -1
- package/dist/cjs/{fade-C1bcLlQH.js → fade-CiX74e7g.js} +3 -3
- package/dist/cjs/{form-control-ed3BuLGX.js → form-control-iZOZz0ZY.js} +1 -1
- package/dist/cjs/{fullscreen-CEgvGOfe.js → fullscreen-CRDiLBHG.js} +3 -3
- package/dist/cjs/{index-BtfGVqVr.js → index-CFe0EAH2.js} +1 -1
- package/dist/cjs/{index-lEfdugE-.js → index-DxiOGt08.js} +13 -9
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-DHYuvWUl.js → lazyload-DQBOwjop.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-CZ38TYy8.js → modal-DE8UBht9.js} +1 -1
- package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
- package/dist/cjs/nano-alert.cjs.entry.js +7 -7
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
- package/dist/cjs/nano-algolia.cjs.entry.js +5 -5
- package/dist/cjs/nano-animation.cjs.entry.js +2 -2
- package/dist/cjs/nano-avatar_5.cjs.entry.js +9 -9
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nano-card-carousel.cjs.entry.js +2 -2
- package/dist/cjs/nano-card.cjs.entry.js +1 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +3 -3
- package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +1 -1
- package/dist/cjs/{nano-data-table-BygClX0L.js → nano-data-table-DpoWsfe-.js} +8 -7
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +3 -3
- package/dist/cjs/nano-date-input.cjs.entry.js +2 -2
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-details.cjs.entry.js +3 -3
- package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +5 -5
- package/dist/cjs/nano-feature-box.cjs.entry.js +1 -1
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/nano-footer.cjs.entry.js +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +2 -2
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +5 -5
- package/dist/cjs/nano-hero.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +3 -3
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +4 -4
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +4 -4
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-nav-item.cjs.entry.js +19 -11
- package/dist/cjs/nano-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +2 -2
- package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +2 -2
- package/dist/cjs/{nano-slides-CXU8XyXL.js → nano-slides-CEgnF-Y8.js} +16 -13
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +2 -2
- package/dist/cjs/nano-spinner.cjs.entry.js +1 -1
- package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +2 -2
- package/dist/cjs/{page-dots-DnxKCAbO.js → page-dots-KutnmYpQ.js} +3 -3
- package/dist/cjs/{renderer-Cp5bbbnx.js → renderer-BnqVSAc0.js} +1 -1
- package/dist/cjs/{scroll-oYroBCcY.js → scroll-Drq3PYD1.js} +1 -1
- package/dist/cjs/{slot-DamVLdw5.js → slot-CES6Hsw2.js} +1 -1
- package/dist/cjs/{tabbable-5kSrTVb2.js → tabbable-DpUHjeI_.js} +1 -1
- package/dist/cjs/{table.worker-Dj-G_N11.js → table.worker-iOdjCdrO.js} +6 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/data-table/table.pin-service.js +3 -2
- package/dist/collection/components/img/img.css +1 -1
- package/dist/collection/components/img/img.js +8 -4
- package/dist/collection/components/nav-item/nav-item.js +48 -6
- package/dist/collection/components/slides/slides.js +10 -7
- package/dist/collection/components/tabs/tab-group.css +8 -8
- package/dist/collection/components/tabs/tab.css +6 -6
- package/dist/components/img.js +3 -3
- package/dist/components/nano-data-table.js +3 -2
- package/dist/components/nav-item.js +17 -7
- package/dist/components/slides.js +10 -7
- package/dist/esm/{algolia-data-CHDAQ-na.js → algolia-data-1P9wrf61.js} +1 -1
- package/dist/esm/{component-store-BA4haUxz.js → component-store-DfmxxsJV.js} +1 -1
- package/dist/esm/{dom-DpX4e3pw.js → dom-dabRzt7p.js} +1 -1
- package/dist/esm/{fade-Dt3mCRd5.js → fade-DJjEJ3OV.js} +3 -3
- package/dist/esm/{form-control-BQDNikCR.js → form-control-DJJ-dewI.js} +1 -1
- package/dist/esm/{fullscreen-CiMUnO6C.js → fullscreen-C0Rg1tXP.js} +3 -3
- package/dist/esm/{index-Cb6_W06a.js → index-BC1-owN1.js} +1 -1
- package/dist/esm/{index-CDb2_YWF.js → index-D6WdRvhp.js} +13 -9
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-DBW-FOzX.js → lazyload-BGGkN269.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-DnQPxb_Q.js → modal-T-hfWzCu.js} +1 -1
- package/dist/esm/nano-accordion.entry.js +3 -3
- package/dist/esm/nano-alert.entry.js +7 -7
- package/dist/esm/nano-algolia-filter.entry.js +4 -4
- package/dist/esm/nano-algolia-pagination.entry.js +2 -2
- package/dist/esm/nano-algolia-results.entry.js +3 -3
- package/dist/esm/nano-algolia.entry.js +5 -5
- package/dist/esm/nano-animation.entry.js +2 -2
- package/dist/esm/nano-avatar_5.entry.js +9 -9
- package/dist/esm/nano-breadcrumb.entry.js +1 -1
- package/dist/esm/nano-card-carousel.entry.js +2 -2
- package/dist/esm/nano-card.entry.js +1 -1
- package/dist/esm/nano-checkbox-group.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js +2 -2
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +4 -4
- package/dist/esm/nano-content-links.entry.js +1 -1
- package/dist/esm/nano-cta.entry.js +1 -1
- package/dist/esm/{nano-data-table-bZhulcwy.js → nano-data-table-TfPKf5LE.js} +8 -7
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +3 -3
- package/dist/esm/nano-date-input.entry.js +2 -2
- package/dist/esm/nano-date-picker_2.entry.js +4 -4
- package/dist/esm/nano-details.entry.js +3 -3
- package/dist/esm/nano-dialog.entry.js +8 -8
- package/dist/esm/nano-dropdown_2.entry.js +5 -5
- package/dist/esm/nano-feature-box.entry.js +1 -1
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +2 -2
- package/dist/esm/nano-footer.entry.js +1 -1
- package/dist/esm/nano-global-nav.entry.js +2 -2
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +5 -5
- package/dist/esm/nano-hero.entry.js +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +2 -2
- package/dist/esm/nano-in-page-nav.entry.js +3 -3
- package/dist/esm/nano-intersection-observe.entry.js +4 -4
- package/dist/esm/nano-masked-overflow.entry.js +4 -4
- package/dist/esm/nano-menu-drawer.entry.js +4 -4
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-nav-item.entry.js +19 -11
- package/dist/esm/nano-progress-bar.entry.js +1 -1
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +2 -2
- package/dist/esm/nano-resize-observe.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +2 -2
- package/dist/esm/{nano-slides-BH9wpDRh.js → nano-slides-B1zM-u4Y.js} +16 -13
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +2 -2
- package/dist/esm/nano-spinner.entry.js +1 -1
- package/dist/esm/nano-split-pane.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +4 -4
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab-group.entry.js +4 -4
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/esm/{page-dots-B5aFjE5U.js → page-dots-D9sLGqee.js} +3 -3
- package/dist/esm/{renderer-CGoibSOJ.js → renderer-BhDJHRB-.js} +1 -1
- package/dist/esm/{scroll-DMVLi4kX.js → scroll-CRQg8Vf0.js} +1 -1
- package/dist/esm/{slot-xEoA61Tz.js → slot-D_kg1OPh.js} +1 -1
- package/dist/esm/{tabbable-DQFS44_5.js → tabbable-kd8FQPK3.js} +1 -1
- package/dist/esm/{table.worker-Bt49ORjw.js → table.worker-Dq_pppel.js} +6 -6
- package/dist/nano-components/{algolia-data-CHDAQ-na.js → algolia-data-1P9wrf61.js} +1 -1
- package/dist/nano-components/{component-store-BA4haUxz.js → component-store-DfmxxsJV.js} +1 -1
- package/dist/nano-components/{dom-DpX4e3pw.js → dom-dabRzt7p.js} +1 -1
- package/dist/nano-components/{fade-Dt3mCRd5.js → fade-DJjEJ3OV.js} +1 -1
- package/dist/nano-components/{form-control-BQDNikCR.js → form-control-DJJ-dewI.js} +1 -1
- package/dist/nano-components/{fullscreen-CiMUnO6C.js → fullscreen-C0Rg1tXP.js} +1 -1
- package/dist/nano-components/{index-Cb6_W06a.js → index-BC1-owN1.js} +1 -1
- package/dist/nano-components/{index-CDb2_YWF.js → index-D6WdRvhp.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-DBW-FOzX.js → lazyload-BGGkN269.js} +1 -1
- package/dist/nano-components/{modal-DnQPxb_Q.js → modal-T-hfWzCu.js} +1 -1
- package/dist/nano-components/nano-accordion.entry.js +1 -1
- package/dist/nano-components/nano-alert.entry.js +1 -1
- package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
- package/dist/nano-components/nano-algolia-results.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-animation.entry.js +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-card-carousel.entry.js +1 -1
- package/dist/nano-components/nano-card.entry.js +1 -1
- package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
- package/dist/nano-components/nano-checkbox.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-content-links.entry.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/nano-data-table-TfPKf5LE.js +4 -0
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-date-input.entry.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-details.entry.js +1 -1
- package/dist/nano-components/nano-dialog.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- package/dist/nano-components/nano-feature-box.entry.js +1 -1
- package/dist/nano-components/nano-field-validator.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.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-item.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.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-nav-item.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-range.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-BH9wpDRh.js → nano-slides-B1zM-u4Y.js} +3 -3
- 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-spinner.entry.js +1 -1
- package/dist/nano-components/nano-split-pane.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-group.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/{page-dots-B5aFjE5U.js → page-dots-D9sLGqee.js} +1 -1
- package/dist/nano-components/{renderer-CGoibSOJ.js → renderer-BhDJHRB-.js} +1 -1
- package/dist/nano-components/{scroll-DMVLi4kX.js → scroll-CRQg8Vf0.js} +1 -1
- package/dist/nano-components/{slot-xEoA61Tz.js → slot-D_kg1OPh.js} +1 -1
- package/dist/nano-components/{tabbable-DQFS44_5.js → tabbable-kd8FQPK3.js} +1 -1
- package/dist/nano-components/table.worker-Dq_pppel.js +4 -0
- package/dist/types/components/img/img.d.ts +5 -1
- package/dist/types/components/nav-item/nav-item.d.ts +4 -0
- package/dist/types/components/slides/slides.d.ts +1 -0
- package/dist/types/components.d.ts +20 -4
- package/docs-json.json +84 -32
- package/docs-vscode.json +1 -1
- package/hydrate/index.js +52 -30
- package/hydrate/index.mjs +52 -30
- package/package.json +2 -2
- package/dist/nano-components/nano-data-table-bZhulcwy.js +0 -4
- package/dist/nano-components/table.worker-Bt49ORjw.js +0 -4
@@ -3,8 +3,8 @@
|
|
3
3
|
*/
|
4
4
|
'use strict';
|
5
5
|
|
6
|
-
var index = require('./index-
|
7
|
-
var renderer = require('./renderer-
|
6
|
+
var index = require('./index-DxiOGt08.js');
|
7
|
+
var renderer = require('./renderer-BnqVSAc0.js');
|
8
8
|
|
9
9
|
const tabCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--border-hover-color:var(--nano-color-primary-700);--border-active-color:var(--nano-color-primary-1000);--text-hover-color:var(--nano-color-primary-1000);--text-active-color:var(--nano-color-primary-1000);--padding:var(--nano-spacing-md);font-size:var(--nano-font-size-small);line-height:var(--nano-line-height-normal);letter-spacing:var(--nano-letter-spacing-loose);display:inline-block;cursor:pointer;color:var(--nano-color-neutral-1400);border:var(--border);border-inline-end-width:0;border-inline-start-width:0;border-block-start-width:0;border-block-end:var(--border)}:host(:not([disabled]):hover){border-color:var(--border-hover-color);color:var(--text-hover-color)}:host(:not([disabled]):active),:host([active]){border-color:var(--border-active-color);color:var(--text-active-color)}:host(.nano-sortable__dragged){background:var(--nano-color-base-0);opacity:0.9 !important;box-shadow:var(--nano-shadow-l0) !important}.tab{padding:var(--padding);display:flex;white-space:nowrap;align-items:center;position:relative;gap:var(--nano-spacing-sm);justify-content:center}.tab.tab--disabled{opacity:0.5;cursor:not-allowed}.tab.tab--closable{padding-inline-end:calc(var(--padding) - var(--nano-spacing-sm))}.tab ::slotted(*),.tab::slotted(*){display:flex;align-items:center}.tab ::slotted(.nano-sortable__keyboard-handle){position:absolute;inset-inline-end:-1em;z-index:1}.tab:not(.tab--disabled):has(.tab__label:focus-visible){outline:var(--nano-focus-ring);outline-offset:-3px}.tab__label{display:flex;flex-direction:column;gap:var(--nano-spacing-sm);align-items:center}.tab__label:focus{outline:none}.tab__close-button{color:var(--nano-color-primary-1200);--hover-color:var(--nano-color-primary-700)}";
|
10
10
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
*/
|
4
4
|
'use strict';
|
5
5
|
|
6
|
-
var index = require('./index-
|
6
|
+
var index = require('./index-DxiOGt08.js');
|
7
7
|
var throttle = require('./throttle-CrRDOkln.js');
|
8
|
-
var renderer = require('./renderer-
|
8
|
+
var renderer = require('./renderer-BnqVSAc0.js');
|
9
9
|
|
10
10
|
const tableCss = ".sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";
|
11
11
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
*/
|
4
4
|
'use strict';
|
5
5
|
|
6
|
-
var nanoSlides_entry = require('./nano-slides-
|
7
|
-
require('./index-
|
8
|
-
require('./renderer-
|
6
|
+
var nanoSlides_entry = require('./nano-slides-CEgnF-Y8.js');
|
7
|
+
require('./index-DxiOGt08.js');
|
8
|
+
require('./renderer-BnqVSAc0.js');
|
9
9
|
|
10
10
|
// -------------------------- PageDots -------------------------- //
|
11
11
|
function PageDots(parent) {
|
@@ -3,14 +3,14 @@
|
|
3
3
|
*/
|
4
4
|
'use strict';
|
5
5
|
|
6
|
-
var nanoDataTable_entry = require('./nano-data-table-
|
7
|
-
require('./index-
|
8
|
-
require('./renderer-
|
6
|
+
var nanoDataTable_entry = require('./nano-data-table-DpoWsfe-.js');
|
7
|
+
require('./index-DxiOGt08.js');
|
8
|
+
require('./renderer-BnqVSAc0.js');
|
9
9
|
require('./math-DIjJ3V87.js');
|
10
10
|
require('./throttle-CrRDOkln.js');
|
11
|
-
require('./scroll-
|
12
|
-
require('./dom-
|
13
|
-
require('./index-
|
11
|
+
require('./scroll-Drq3PYD1.js');
|
12
|
+
require('./dom-Lc3nZSfj.js');
|
13
|
+
require('./index-CFe0EAH2.js');
|
14
14
|
|
15
15
|
const workerName = 'table.worker';
|
16
16
|
const workerMsgId = 'stencil.table.worker';
|
@@ -4,12 +4,13 @@
|
|
4
4
|
import { readTask, writeTask } from "@stencil/core";
|
5
5
|
import { CSSNAMESPACE } from "./table.constants";
|
6
6
|
function addStyleSheet(id, css) {
|
7
|
-
const
|
7
|
+
const root = this.host.getRootNode();
|
8
|
+
const styleSheet = root.getElementById(id) ||
|
8
9
|
document.createElement('style');
|
9
10
|
styleSheet.id = id;
|
10
11
|
styleSheet.innerHTML = css;
|
11
12
|
if (!styleSheet.isConnected)
|
12
|
-
|
13
|
+
root.append(styleSheet);
|
13
14
|
}
|
14
15
|
/**
|
15
16
|
* Manages the complex business of table 'pinning'; sticking columns and rows to the scrolling parent element.
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
}:host {
|
40
40
|
/**
|
41
|
-
* @prop --padding: padding around any content. Only
|
41
|
+
* @prop --padding: padding around any content. Only relevant when using `background` attribute. Defaults to `0`.
|
42
42
|
*/
|
43
43
|
--padding: 0;
|
44
44
|
display: inline-block;
|
@@ -4,7 +4,11 @@
|
|
4
4
|
import { Build, Host, } from "@stencil/core";
|
5
5
|
import { h } from "../../utils/renderer";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Utilities for displaying images; standard or background.
|
8
|
+
*
|
9
|
+
* @status deprecated
|
10
|
+
* @version 1.0.0
|
11
|
+
*
|
8
12
|
* @slot - Main slot. Only relevant with `<nano-img background>`
|
9
13
|
*/
|
10
14
|
export class Img {
|
@@ -134,16 +138,16 @@ export class Img {
|
|
134
138
|
const bgStyle = this.loadSrc
|
135
139
|
? { 'background-image': `url(${this.loadSrc})` }
|
136
140
|
: {};
|
137
|
-
return (h(Host, { key: '
|
141
|
+
return (h(Host, { key: '246b2bd0d05e76d4756a170534b84eeeb47b5692', class: "nano-img" }, h("div", { key: '17455932f3f0b6fef46b86f3731d1604295de25d', class: "img" }, h("div", { key: 'fb07e1f16faf27c6226a313c4bbcc54ccda29643', class: "img__loader n-loader-skeleton" }, "Loading"), !!this.background && (h("div", { key: '7e7a83eb7b4a75be00662f8dcd06b9452b4fcc21', class: {
|
138
142
|
loaded: this.hasLoaded,
|
139
143
|
img__bg: true,
|
140
144
|
'no-height': this.autoHeight === 'image',
|
141
|
-
}, style: bgStyle }, h("slot", { key: '
|
145
|
+
}, style: bgStyle }, h("slot", { key: '6fb65b4a0f745b517c0688da8b3fecae769d2e71' }))), h("img", { key: '8872cd76b14e32bfa3051ae1b2953ee2f01bf609', class: {
|
142
146
|
img__image: true,
|
143
147
|
loaded: this.hasLoaded,
|
144
148
|
hide: this.background,
|
145
149
|
'no-height': this.autoHeight === 'content',
|
146
|
-
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '
|
150
|
+
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '677afcbf603e4649a202f3a4d566c73c0fc70e10', class: "img__observer", onNanoResizeStateChange: this.onResize, states: this.imgStates }))));
|
147
151
|
}
|
148
152
|
static get is() { return "nano-img"; }
|
149
153
|
static get encapsulation() { return "shadow"; }
|
@@ -175,6 +175,14 @@ export class NavItem {
|
|
175
175
|
slottedA.remove();
|
176
176
|
}
|
177
177
|
};
|
178
|
+
/** Closes the secondary nav panel if it is open */
|
179
|
+
async closeMenu() {
|
180
|
+
this.closeSecondary();
|
181
|
+
}
|
182
|
+
/** Opens the secondary nav panel if it is not open */
|
183
|
+
async openMenu() {
|
184
|
+
this.openSecondary();
|
185
|
+
}
|
178
186
|
connectedCallback() {
|
179
187
|
this.handleDefaultSlotChange();
|
180
188
|
this.isInMenuDrawer = !!this.host.closest(transformTag('nano-menu-drawer'));
|
@@ -183,22 +191,22 @@ export class NavItem {
|
|
183
191
|
this.openChange();
|
184
192
|
}
|
185
193
|
render() {
|
186
|
-
return (h(Host, { key: '
|
194
|
+
return (h(Host, { key: 'b6ce27588c1ca2ac2a42d0aada06d7f554a1174a', class: {
|
187
195
|
'nano-menu-drawer': this.isInMenuDrawer,
|
188
196
|
'nano-nav-item': true,
|
189
197
|
disabled: this.disabled,
|
190
|
-
}, role: this.host.closest('[role="menu"]') ? 'menuitem' : undefined, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: '
|
198
|
+
}, role: this.host.closest('[role="menu"]') ? 'menuitem' : undefined, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: 'e8faa3568a13feb95ef131f0bd412577120fbf84', class: {
|
191
199
|
navitem: true,
|
192
200
|
'navitem--open': this.open,
|
193
201
|
'navitem--active': this.selected,
|
194
|
-
}, part: "trigger-wrapper" }, this.href && !this.disabled && (h("a", { key: '
|
202
|
+
}, part: "trigger-wrapper" }, this.href && !this.disabled && (h("a", { key: '4a4da7478db63015d0dcd81ed053146f8eeac5f3', part: "trigger trigger--anchor", target: this.target, ref: (a) => (this.controlElement = a), href: this.href, class: {
|
195
203
|
navitem__trigger: true,
|
196
|
-
} }, h("slot", { key: '
|
204
|
+
} }, h("slot", { key: '1eafb7864368850ad2539c402eb1b00877f3d55e', name: "icon-start" }), h("span", { key: '8953312d4dad64ced970d2f1120c07b6c36070f1', class: "navitem__label", part: "label" }, h("slot", { key: '390f468f8d1f5d4f0669cae53ef140e452b16b07', onSlotchange: this.handleDefaultSlotChange })), h("slot", { key: '3ecd42c2ca6c1546f48a1a5fcf7742d90ad4e1c4', name: "icon-end" }))), (!this.href || this.disabled) && (h("button", { key: '0694ce0708264ef1305e4b926a2f40f1875025a9', role: this.checkbox ? 'checkbox' : undefined, "aria-checked": this.checkbox ? this.selected.toString() : undefined, part: "trigger trigger--button", ref: (btn) => (this.controlElement = btn), onClick: this.handleClick, disabled: this.disabled, class: {
|
197
205
|
navitem__trigger: true,
|
198
|
-
} }, h("slot", { key: '
|
206
|
+
} }, h("slot", { key: 'c3cc4fcbb527f5f8ea2786243fe610d587e36190', name: "icon-start" }), h("span", { key: '385c92f1f2cc26b9c7e4f1a8601920c1f3bf2171', class: "navitem__label", part: "label" }, h("slot", { key: '4e7a75c8903081856c20206aa309c2a9855991da', onSlotchange: this.handleDefaultSlotChange })), h("slot", { key: '668b95901ba0b914ccc193d4f3cc4433d908c014', name: "icon-end" }))), this.slotCtrl.has('secondary') && !this.disabled && (h("div", { key: 'f81c9aeb6c903b25a662fd1fc615d6f95f6b8f4d', part: "modal", class: {
|
199
207
|
navitem__modal: true,
|
200
208
|
'navitem__modal--open': this.didOpen,
|
201
|
-
}, ref: (div) => (this.secondaryDiv = div), tabIndex: -1 }, h("div", { key: '
|
209
|
+
}, ref: (div) => (this.secondaryDiv = div), tabIndex: -1 }, h("div", { key: '70a4b002e989753c461c7dac4dd975200a92e3de', class: "navitem__modal-content", part: `modal-content ${this.didOpen ? 'modal-content--open' : ''}` }, this.slotCtrl.has('close-button') && (h("div", { key: '7b0daad80ae03a29789c9d2bef74d2473f2f1f39', part: "close-button", onClick: this.closeSecondary }, h("slot", { key: '858798062958ea0f4ee809cbf853bdb83dd4d184', name: "close-button" }))), h("slot", { key: '41583a8cc59babbfb1a9a084a3de31c61a145fbc', name: "secondary" })), h("div", { key: '5c260dca9a8fdf7951349df64a037fc7415c3c4b', class: "navitem__modal-mask", onClick: this.closeSecondary, part: `modal-mask ${this.didOpen ? 'modal-mask--open' : ''}` }))))));
|
202
210
|
}
|
203
211
|
static get is() { return "nano-nav-item"; }
|
204
212
|
static get encapsulation() { return "shadow"; }
|
@@ -467,6 +475,40 @@ export class NavItem {
|
|
467
475
|
"text": "Sets focus on the first button or anchor present. Use this method instead of the global\n`element.focus()`.",
|
468
476
|
"tags": []
|
469
477
|
}
|
478
|
+
},
|
479
|
+
"closeMenu": {
|
480
|
+
"complexType": {
|
481
|
+
"signature": "() => Promise<void>",
|
482
|
+
"parameters": [],
|
483
|
+
"references": {
|
484
|
+
"Promise": {
|
485
|
+
"location": "global",
|
486
|
+
"id": "global::Promise"
|
487
|
+
}
|
488
|
+
},
|
489
|
+
"return": "Promise<void>"
|
490
|
+
},
|
491
|
+
"docs": {
|
492
|
+
"text": "Closes the secondary nav panel if it is open",
|
493
|
+
"tags": []
|
494
|
+
}
|
495
|
+
},
|
496
|
+
"openMenu": {
|
497
|
+
"complexType": {
|
498
|
+
"signature": "() => Promise<void>",
|
499
|
+
"parameters": [],
|
500
|
+
"references": {
|
501
|
+
"Promise": {
|
502
|
+
"location": "global",
|
503
|
+
"id": "global::Promise"
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"return": "Promise<void>"
|
507
|
+
},
|
508
|
+
"docs": {
|
509
|
+
"text": "Opens the secondary nav panel if it is not open",
|
510
|
+
"tags": []
|
511
|
+
}
|
470
512
|
}
|
471
513
|
};
|
472
514
|
}
|
@@ -116,24 +116,27 @@ export class Slides {
|
|
116
116
|
}
|
117
117
|
// is a custom animation
|
118
118
|
if (typeof this.animation === 'function') {
|
119
|
-
this.
|
119
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
120
120
|
flkty.on('scroll', this.animation);
|
121
121
|
return;
|
122
122
|
}
|
123
123
|
// setup new stuff
|
124
124
|
switch (this.animation) {
|
125
125
|
case 'fade':
|
126
|
-
this.
|
126
|
+
this.updateOptions({ fade: true, percentPosition: true });
|
127
127
|
break;
|
128
128
|
case 'parallax':
|
129
|
-
this.
|
129
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
130
130
|
flkty.on('scroll', this.parallax);
|
131
131
|
break;
|
132
132
|
default:
|
133
|
-
this.
|
133
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
134
134
|
break;
|
135
135
|
}
|
136
136
|
}
|
137
|
+
updateOptions(opts) {
|
138
|
+
this.options = { ...this.options, ...opts };
|
139
|
+
}
|
137
140
|
/** Zero-based index of the selected cell. */
|
138
141
|
currentSlide = 0;
|
139
142
|
currentSlideChange() {
|
@@ -499,15 +502,15 @@ export class Slides {
|
|
499
502
|
this.destroyflickity();
|
500
503
|
}
|
501
504
|
render() {
|
502
|
-
return (h(Host, { key: '
|
505
|
+
return (h(Host, { key: '42935259126aea21edcf5ecb256d0c1fbbde543a', class: "nano-slides" }, h("div", { key: '933ffba7ee7036d4a8e7fddac8396eaf6b53ad9f', class: {
|
503
506
|
slideshow: true,
|
504
507
|
ready: this.ready,
|
505
508
|
'not-ready': !this.ready,
|
506
|
-
}, part: "base" }, h("div", { key: '
|
509
|
+
}, part: "base" }, h("div", { key: '5cd48261734c266f25f83cf63b60300c94868d52', ref: (div) => (this.flickityEl = div), class: {
|
507
510
|
'flickity-container': true,
|
508
511
|
'slides-ready': this.slidesReady,
|
509
512
|
'slides-not-ready': !this.slidesReady,
|
510
|
-
}, part: "slide-container" }, h("slot", { key: '
|
513
|
+
}, part: "slide-container" }, h("slot", { key: 'b04069a6bdbc76261a431b22660d012c25a8fb14' })), h("div", { key: '978e708ec781ff7aadc3928560f704669c60c1ab', class: "ui-extras" }, h("slot", { key: 'fd930c490857b9fab6b088015178151003f00f62', name: "ui" })))));
|
511
514
|
}
|
512
515
|
static get is() { return "nano-slides"; }
|
513
516
|
static get encapsulation() { return "shadow"; }
|
@@ -38,14 +38,14 @@
|
|
38
38
|
}
|
39
39
|
}:host {
|
40
40
|
/**
|
41
|
-
* @prop --border
|
42
|
-
* @prop --indicator-transition
|
43
|
-
* @prop --indicator-color
|
44
|
-
* @prop --indicator-track-color
|
45
|
-
* @prop --indicator-size
|
46
|
-
* @prop --fade-transparency
|
47
|
-
* @prop --tab-spacing
|
48
|
-
* @prop --content-spacing
|
41
|
+
* @prop --border: The border of the tab group. Defaults to `2px solid var(--nano-color-neutral-300)`.
|
42
|
+
* @prop --indicator-transition: The time it takes for the indicator to transition. Defaults to `var(--nano-transition-fast)`.
|
43
|
+
* @prop --indicator-color: The color of the indicator. Defaults to `var(--nano-color-primary-1000)`.
|
44
|
+
* @prop --indicator-track-color: The color of the indicator track. Defaults to `var(--nano-color-neutral-300)`.
|
45
|
+
* @prop --indicator-size: The size of the indicator. Defaults to `0`.
|
46
|
+
* @prop --fade-transparency: The transparency of the fade effect. Defaults to `0`.
|
47
|
+
* @prop --tab-spacing: The spacing between tabs. Defaults to `var(--nano-spacing-md)`.
|
48
|
+
* @prop --content-spacing: The spacing around the content area. Defaults to `var(--nano-spacing-l1-default)`.
|
49
49
|
*/
|
50
50
|
--border: 2px solid var(--nano-color-neutral-300);
|
51
51
|
--indicator-transition: var(--nano-transition-fast);
|
@@ -39,12 +39,12 @@
|
|
39
39
|
}/** Typography */
|
40
40
|
:host {
|
41
41
|
/**
|
42
|
-
* @prop --border
|
43
|
-
* @prop --border-hover-color
|
44
|
-
* @prop --border-active-color
|
45
|
-
* @prop --text-hover-color
|
46
|
-
* @prop --text-active-color
|
47
|
-
* @prop --padding
|
42
|
+
* @prop --border: The border of the tab. Defaults to `2px solid var(--nano-color-neutral-300)`.
|
43
|
+
* @prop --border-hover-color: The color of the border on hover. Defaults to `var(--nano-color-primary-700)`.
|
44
|
+
* @prop --border-active-color: The color of the border when active. Defaults to `var(--nano-color-primary-1000)`.
|
45
|
+
* @prop --text-hover-color: The color of the text on hover. Defaults to `var(--nano-color-primary-1000)`.
|
46
|
+
* @prop --text-active-color: The color of the text when active. Defaults to `var(--nano-color-primary-1000)`.
|
47
|
+
* @prop --padding: The padding of the tab. Defaults to `var(--nano-spacing-md)`.
|
48
48
|
*/
|
49
49
|
--border: 2px solid var(--nano-color-neutral-300);
|
50
50
|
--border-hover-color: var(--nano-color-primary-700);
|
package/dist/components/img.js
CHANGED
@@ -142,16 +142,16 @@ const Img = /*@__PURE__*/ proxyCustomElement(class Img extends HTMLElement {
|
|
142
142
|
const bgStyle = this.loadSrc
|
143
143
|
? { 'background-image': `url(${this.loadSrc})` }
|
144
144
|
: {};
|
145
|
-
return (h(Host, { key: '
|
145
|
+
return (h(Host, { key: '246b2bd0d05e76d4756a170534b84eeeb47b5692', class: "nano-img" }, h("div", { key: '17455932f3f0b6fef46b86f3731d1604295de25d', class: "img" }, h("div", { key: 'fb07e1f16faf27c6226a313c4bbcc54ccda29643', class: "img__loader n-loader-skeleton" }, "Loading"), !!this.background && (h("div", { key: '7e7a83eb7b4a75be00662f8dcd06b9452b4fcc21', class: {
|
146
146
|
loaded: this.hasLoaded,
|
147
147
|
img__bg: true,
|
148
148
|
'no-height': this.autoHeight === 'image',
|
149
|
-
}, style: bgStyle }, h("slot", { key: '
|
149
|
+
}, style: bgStyle }, h("slot", { key: '6fb65b4a0f745b517c0688da8b3fecae769d2e71' }))), h("img", { key: '8872cd76b14e32bfa3051ae1b2953ee2f01bf609', class: {
|
150
150
|
img__image: true,
|
151
151
|
loaded: this.hasLoaded,
|
152
152
|
hide: this.background,
|
153
153
|
'no-height': this.autoHeight === 'content',
|
154
|
-
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '
|
154
|
+
}, decoding: "async", src: Build.isServer ? this.src : this.loadSrc, loading: Build.isServer && this.lazy ? 'lazy' : undefined, alt: this.alt, onLoad: this.onLoad, onError: this.loadError }), h("nano-resize-observe", { key: '677afcbf603e4649a202f3a4d566c73c0fc70e10', class: "img__observer", onNanoResizeStateChange: this.onResize, states: this.imgStates }))));
|
155
155
|
}
|
156
156
|
static get watchers() { return {
|
157
157
|
"_src": ["_srcChanged"],
|
@@ -679,12 +679,13 @@ children, utils) => {
|
|
679
679
|
};
|
680
680
|
|
681
681
|
function addStyleSheet(id, css) {
|
682
|
-
const
|
682
|
+
const root = this.host.getRootNode();
|
683
|
+
const styleSheet = root.getElementById(id) ||
|
683
684
|
document.createElement('style');
|
684
685
|
styleSheet.id = id;
|
685
686
|
styleSheet.innerHTML = css;
|
686
687
|
if (!styleSheet.isConnected)
|
687
|
-
|
688
|
+
root.append(styleSheet);
|
688
689
|
}
|
689
690
|
/**
|
690
691
|
* Manages the complex business of table 'pinning'; sticking columns and rows to the scrolling parent element.
|
@@ -232,6 +232,14 @@ const NavItem = /*@__PURE__*/ proxyCustomElement(class NavItem extends HTMLEleme
|
|
232
232
|
slottedA.remove();
|
233
233
|
}
|
234
234
|
};
|
235
|
+
/** Closes the secondary nav panel if it is open */
|
236
|
+
async closeMenu() {
|
237
|
+
this.closeSecondary();
|
238
|
+
}
|
239
|
+
/** Opens the secondary nav panel if it is not open */
|
240
|
+
async openMenu() {
|
241
|
+
this.openSecondary();
|
242
|
+
}
|
235
243
|
connectedCallback() {
|
236
244
|
this.handleDefaultSlotChange();
|
237
245
|
this.isInMenuDrawer = !!this.host.closest(transformTag('nano-menu-drawer'));
|
@@ -240,22 +248,22 @@ const NavItem = /*@__PURE__*/ proxyCustomElement(class NavItem extends HTMLEleme
|
|
240
248
|
this.openChange();
|
241
249
|
}
|
242
250
|
render() {
|
243
|
-
return (h(Host, { key: '
|
251
|
+
return (h(Host, { key: 'b6ce27588c1ca2ac2a42d0aada06d7f554a1174a', class: {
|
244
252
|
'nano-menu-drawer': this.isInMenuDrawer,
|
245
253
|
'nano-nav-item': true,
|
246
254
|
disabled: this.disabled,
|
247
|
-
}, role: this.host.closest('[role="menu"]') ? 'menuitem' : undefined, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: '
|
255
|
+
}, role: this.host.closest('[role="menu"]') ? 'menuitem' : undefined, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: 'e8faa3568a13feb95ef131f0bd412577120fbf84', class: {
|
248
256
|
navitem: true,
|
249
257
|
'navitem--open': this.open,
|
250
258
|
'navitem--active': this.selected,
|
251
|
-
}, part: "trigger-wrapper" }, this.href && !this.disabled && (h("a", { key: '
|
259
|
+
}, part: "trigger-wrapper" }, this.href && !this.disabled && (h("a", { key: '4a4da7478db63015d0dcd81ed053146f8eeac5f3', part: "trigger trigger--anchor", target: this.target, ref: (a) => (this.controlElement = a), href: this.href, class: {
|
252
260
|
navitem__trigger: true,
|
253
|
-
} }, h("slot", { key: '
|
261
|
+
} }, h("slot", { key: '1eafb7864368850ad2539c402eb1b00877f3d55e', name: "icon-start" }), h("span", { key: '8953312d4dad64ced970d2f1120c07b6c36070f1', class: "navitem__label", part: "label" }, h("slot", { key: '390f468f8d1f5d4f0669cae53ef140e452b16b07', onSlotchange: this.handleDefaultSlotChange })), h("slot", { key: '3ecd42c2ca6c1546f48a1a5fcf7742d90ad4e1c4', name: "icon-end" }))), (!this.href || this.disabled) && (h("button", { key: '0694ce0708264ef1305e4b926a2f40f1875025a9', role: this.checkbox ? 'checkbox' : undefined, "aria-checked": this.checkbox ? this.selected.toString() : undefined, part: "trigger trigger--button", ref: (btn) => (this.controlElement = btn), onClick: this.handleClick, disabled: this.disabled, class: {
|
254
262
|
navitem__trigger: true,
|
255
|
-
} }, h("slot", { key: '
|
263
|
+
} }, h("slot", { key: 'c3cc4fcbb527f5f8ea2786243fe610d587e36190', name: "icon-start" }), h("span", { key: '385c92f1f2cc26b9c7e4f1a8601920c1f3bf2171', class: "navitem__label", part: "label" }, h("slot", { key: '4e7a75c8903081856c20206aa309c2a9855991da', onSlotchange: this.handleDefaultSlotChange })), h("slot", { key: '668b95901ba0b914ccc193d4f3cc4433d908c014', name: "icon-end" }))), this.slotCtrl.has('secondary') && !this.disabled && (h("div", { key: 'f81c9aeb6c903b25a662fd1fc615d6f95f6b8f4d', part: "modal", class: {
|
256
264
|
navitem__modal: true,
|
257
265
|
'navitem__modal--open': this.didOpen,
|
258
|
-
}, ref: (div) => (this.secondaryDiv = div), tabIndex: -1 }, h("div", { key: '
|
266
|
+
}, ref: (div) => (this.secondaryDiv = div), tabIndex: -1 }, h("div", { key: '70a4b002e989753c461c7dac4dd975200a92e3de', class: "navitem__modal-content", part: `modal-content ${this.didOpen ? 'modal-content--open' : ''}` }, this.slotCtrl.has('close-button') && (h("div", { key: '7b0daad80ae03a29789c9d2bef74d2473f2f1f39', part: "close-button", onClick: this.closeSecondary }, h("slot", { key: '858798062958ea0f4ee809cbf853bdb83dd4d184', name: "close-button" }))), h("slot", { key: '41583a8cc59babbfb1a9a084a3de31c61a145fbc', name: "secondary" })), h("div", { key: '5c260dca9a8fdf7951349df64a037fc7415c3c4b', class: "navitem__modal-mask", onClick: this.closeSecondary, part: `modal-mask ${this.didOpen ? 'modal-mask--open' : ''}` }))))));
|
259
267
|
}
|
260
268
|
static get watchers() { return {
|
261
269
|
"open": ["openChange"],
|
@@ -272,7 +280,9 @@ const NavItem = /*@__PURE__*/ proxyCustomElement(class NavItem extends HTMLEleme
|
|
272
280
|
"closeOnBlur": [4, "close-on-blur"],
|
273
281
|
"didOpen": [32],
|
274
282
|
"isInMenuDrawer": [32],
|
275
|
-
"setFocus": [64]
|
283
|
+
"setFocus": [64],
|
284
|
+
"closeMenu": [64],
|
285
|
+
"openMenu": [64]
|
276
286
|
}, [[16, "click", "handleClose"], [16, "keyup", "handleClose"]], {
|
277
287
|
"open": ["openChange"],
|
278
288
|
"didOpen": ["didOpenChange"]
|
@@ -2575,24 +2575,27 @@ const Slides = /*@__PURE__*/ proxyCustomElement(class Slides extends HTMLElement
|
|
2575
2575
|
}
|
2576
2576
|
// is a custom animation
|
2577
2577
|
if (typeof this.animation === 'function') {
|
2578
|
-
this.
|
2578
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
2579
2579
|
flkty.on('scroll', this.animation);
|
2580
2580
|
return;
|
2581
2581
|
}
|
2582
2582
|
// setup new stuff
|
2583
2583
|
switch (this.animation) {
|
2584
2584
|
case 'fade':
|
2585
|
-
this.
|
2585
|
+
this.updateOptions({ fade: true, percentPosition: true });
|
2586
2586
|
break;
|
2587
2587
|
case 'parallax':
|
2588
|
-
this.
|
2588
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
2589
2589
|
flkty.on('scroll', this.parallax);
|
2590
2590
|
break;
|
2591
2591
|
default:
|
2592
|
-
this.
|
2592
|
+
this.updateOptions({ fade: false, percentPosition: true });
|
2593
2593
|
break;
|
2594
2594
|
}
|
2595
2595
|
}
|
2596
|
+
updateOptions(opts) {
|
2597
|
+
this.options = { ...this.options, ...opts };
|
2598
|
+
}
|
2596
2599
|
/** Zero-based index of the selected cell. */
|
2597
2600
|
currentSlide = 0;
|
2598
2601
|
currentSlideChange() {
|
@@ -2958,15 +2961,15 @@ const Slides = /*@__PURE__*/ proxyCustomElement(class Slides extends HTMLElement
|
|
2958
2961
|
this.destroyflickity();
|
2959
2962
|
}
|
2960
2963
|
render() {
|
2961
|
-
return (h(Host, { key: '
|
2964
|
+
return (h(Host, { key: '42935259126aea21edcf5ecb256d0c1fbbde543a', class: "nano-slides" }, h("div", { key: '933ffba7ee7036d4a8e7fddac8396eaf6b53ad9f', class: {
|
2962
2965
|
slideshow: true,
|
2963
2966
|
ready: this.ready,
|
2964
2967
|
'not-ready': !this.ready,
|
2965
|
-
}, part: "base" }, h("div", { key: '
|
2968
|
+
}, part: "base" }, h("div", { key: '5cd48261734c266f25f83cf63b60300c94868d52', ref: (div) => (this.flickityEl = div), class: {
|
2966
2969
|
'flickity-container': true,
|
2967
2970
|
'slides-ready': this.slidesReady,
|
2968
2971
|
'slides-not-ready': !this.slidesReady,
|
2969
|
-
}, part: "slide-container" }, h("slot", { key: '
|
2972
|
+
}, part: "slide-container" }, h("slot", { key: 'b04069a6bdbc76261a431b22660d012c25a8fb14' })), h("div", { key: '978e708ec781ff7aadc3928560f704669c60c1ab', class: "ui-extras" }, h("slot", { key: 'fd930c490857b9fab6b088015178151003f00f62', name: "ui" })))));
|
2970
2973
|
}
|
2971
2974
|
static get watchers() { return {
|
2972
2975
|
"options": ["optionsChanged"],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { g as getElement } from './index-
|
4
|
+
import { g as getElement } from './index-D6WdRvhp.js';
|
5
5
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
6
6
|
|
7
7
|
function parse(searchParams, replacer) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { F as Flickity, u as utils } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { F as Flickity, u as utils } from './nano-slides-B1zM-u4Y.js';
|
5
|
+
import './index-D6WdRvhp.js';
|
6
|
+
import './renderer-BhDJHRB-.js';
|
7
7
|
|
8
8
|
const Slide = Flickity.Slide;
|
9
9
|
const slideUpdateTarget = Slide.prototype.updateTarget;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { h } from './renderer-
|
4
|
+
import { h } from './renderer-BhDJHRB-.js';
|
5
5
|
|
6
6
|
const renderLabel = ({ label, hasLabelSlot, controlId, labelId, floatLabel, placeholder, alwaysShowPlaceholder, hideLabel, hasValue, rtl, showCharCount, maxlength, charCount, }) => {
|
7
7
|
if (!label && !hasLabelSlot)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { F as Flickity } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { F as Flickity } from './nano-slides-B1zM-u4Y.js';
|
5
|
+
import './index-D6WdRvhp.js';
|
6
|
+
import './renderer-BhDJHRB-.js';
|
7
7
|
|
8
8
|
Flickity.createMethods.push('_createFullscreen');
|
9
9
|
const proto = Flickity.prototype;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { i as getRenderingRef, j as forceUpdate } from './index-
|
4
|
+
import { i as getRenderingRef, j as forceUpdate } from './index-D6WdRvhp.js';
|
5
5
|
|
6
6
|
const appendToMap = (map, propName, value) => {
|
7
7
|
const items = map.get(propName);
|