@nanoporetech-digital/components 8.0.0-alpha.7 → 8.0.0-alpha.9
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-Ck3OvAaS.js → algolia-data-CSm7qrG0.js} +1 -1
- package/dist/cjs/{component-store-Cpxjkhrv.js → component-store-Bjf_XOwd.js} +1 -1
- package/dist/cjs/{dom-B0-coRX2.js → dom-DM4lO0bS.js} +1 -1
- package/dist/cjs/{fade-BQI-VEQG.js → fade-DYt6Phy3.js} +3 -3
- package/dist/cjs/{form-control-OWJOOoxA.js → form-control-BGk1kbyE.js} +1 -1
- package/dist/cjs/{fullscreen-C3ErAoTH.js → fullscreen-B0RzdP3s.js} +3 -3
- package/dist/cjs/{index-ZOnWVzxx.js → index-DMCNW34o.js} +1 -1
- package/dist/cjs/{index-BlC8UV0T.js → index-trCnMfo7.js} +5 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-zGvFFCJx.js → lazyload-DzKvneFi.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-DTqHsNdW.js → modal-Ca7dG1up.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 +6 -6
- package/dist/cjs/nano-animation.cjs.entry.js +3 -3
- package/dist/cjs/nano-avatar_5.cjs.entry.js +21 -19
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +42 -9
- 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 +16 -19
- 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-ed7Lg_CN.js → nano-data-table-zUnFb2XO.js} +6 -6
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +15 -15
- package/dist/cjs/nano-date-input.cjs.entry.js +6 -6
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +16 -14
- 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 +19 -0
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +9 -6
- package/dist/cjs/nano-footer.cjs.entry.js +2 -2
- package/dist/cjs/nano-global-nav.cjs.entry.js +20 -12
- 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 +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +4 -4
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +14 -8
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +4 -4
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +7 -7
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +63 -99
- package/dist/cjs/nano-more-less.cjs.entry.js +4 -4
- package/dist/cjs/nano-nav-item.cjs.entry.js +12 -16
- package/dist/cjs/nano-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +6 -6
- package/dist/cjs/nano-resize-observe.cjs.entry.js +43 -34
- package/dist/cjs/nano-slide.cjs.entry.js +3 -3
- package/dist/cjs/{nano-slides-Aq8Qr76Y.js → nano-slides-C3CzGlwK.js} +13 -11
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +3 -3
- 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 +6 -6
- package/dist/cjs/nano-tab-content.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab-group.cjs.entry.js +5 -5
- package/dist/cjs/nano-tab.cjs.entry.js +4 -4
- package/dist/cjs/nano-table.cjs.entry.js +4 -4
- package/dist/cjs/{page-dots-BCL1Ou_V.js → page-dots-Cpgo_xGE.js} +3 -3
- package/dist/cjs/{renderer-BjTjwe8d.js → renderer-W7BRtd3i.js} +1 -1
- package/dist/cjs/{scroll-CtgMHKrt.js → scroll-33Y1FRj4.js} +9 -14
- package/dist/cjs/{slot-CoMwYflw.js → slot-CppKo1Tn.js} +1 -1
- package/dist/cjs/{tabbable-D33Xh_1b.js → tabbable-CQ4-mXv0.js} +1 -1
- package/dist/cjs/{table.worker-L6KfPMgT.js → table.worker-Dto6wn52.js} +6 -6
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/algolia/algolia.js +1 -1
- package/dist/collection/components/animation/animation.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +24 -28
- package/dist/collection/components/breadcrumb/breadcrumb.js +41 -8
- package/dist/collection/components/card/card.js +1 -0
- package/dist/collection/components/checkbox/checkbox-group.js +14 -17
- package/dist/collection/components/data-table/table.js +1 -1
- package/dist/collection/components/datalist/datalist.js +6 -6
- package/dist/collection/components/date-input/date-input.js +5 -6
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/drawer/drawer.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/feature-box/feature-box.css +42 -0
- package/dist/collection/components/feature-box/feature-box.js +49 -0
- package/dist/collection/components/field-validator/field-validator.js +1 -1
- package/dist/collection/components/file-upload/file-upload.js +7 -4
- package/dist/collection/components/footer/footer.css +15 -1
- package/dist/collection/components/global-nav/global-nav.css +1 -1
- package/dist/collection/components/global-nav/global-nav.js +34 -9
- package/dist/collection/components/global-search-results/global-search-results.css +0 -1
- package/dist/collection/components/grid/grid.css +8 -5
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/in-page-nav/in-page-nav.js +15 -5
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +8 -6
- package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
- package/dist/collection/components/menu-drawer/menu-drawer.css +61 -83
- package/dist/collection/components/menu-drawer/menu-drawer.js +66 -151
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/nav-item/nav-item.css +1 -93
- package/dist/collection/components/nav-item/nav-item.js +15 -32
- package/dist/collection/components/option/option.css +1 -3
- package/dist/collection/components/option/option.js +4 -4
- package/dist/collection/components/progress-bar/progress-bar.css +5 -5
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +44 -32
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +10 -8
- package/dist/collection/components/slides/lib/js/prev-next-button.js +3 -1
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.css +2 -2
- package/dist/collection/components/slides/slides.js +3 -3
- package/dist/collection/components/sortable/sortable.js +6 -6
- 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-group.js +1 -1
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/utils/constructible-style.js +1 -1
- package/dist/collection/utils/scroll.js +8 -13
- package/dist/components/algolia.js +1 -1
- package/dist/components/datalist.js +6 -6
- package/dist/components/date-picker.js +3 -3
- package/dist/components/drawer.js +1 -1
- package/dist/components/grid.js +2 -2
- package/dist/components/input.js +9 -7
- package/dist/components/masked-overflow.js +3 -3
- package/dist/components/nano-animation.js +1 -1
- package/dist/components/nano-breadcrumb.js +42 -9
- package/dist/components/nano-checkbox-group.js +14 -17
- package/dist/components/nano-data-table.js +1 -1
- package/dist/components/nano-date-input.js +4 -4
- package/dist/components/nano-feature-box.d.ts +11 -0
- package/dist/components/nano-feature-box.js +36 -0
- package/dist/components/nano-file-upload.js +7 -4
- package/dist/components/nano-footer.js +1 -1
- package/dist/components/nano-global-nav.js +19 -10
- package/dist/components/nano-in-page-nav.js +15 -5
- package/dist/components/nano-menu-drawer.js +64 -105
- 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-tab-content.js +2 -2
- package/dist/components/nano-tab-group.js +1 -1
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/nav-item.js +7 -12
- package/dist/components/option.js +4 -4
- package/dist/components/progress-bar.js +1 -1
- package/dist/components/resize-observe.js +41 -32
- package/dist/components/scroll.js +8 -13
- package/dist/components/select.js +11 -9
- package/dist/components/slides.js +7 -5
- package/dist/components/sticker.js +2 -2
- package/dist/components/tag.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/esm/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/esm/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/esm/{fade-TBJBUY-M.js → fade-BUaM9GO7.js} +3 -3
- package/dist/esm/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/esm/{fullscreen-7z4Hd9oU.js → fullscreen-D9bU32l7.js} +3 -3
- package/dist/esm/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +5 -1
- package/dist/esm/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-CMsexkIp.js → lazyload-C6olXHXA.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-CH7Vma1I.js → modal-DmA7xt58.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 +6 -6
- package/dist/esm/nano-animation.entry.js +3 -3
- package/dist/esm/nano-avatar_5.entry.js +21 -19
- package/dist/esm/nano-breadcrumb.entry.js +42 -9
- 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 +16 -19
- 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-CraXN1D7.js → nano-data-table-CC6zn15I.js} +6 -6
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +15 -15
- package/dist/esm/nano-date-input.entry.js +6 -6
- package/dist/esm/nano-date-picker_2.entry.js +16 -14
- 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 +17 -0
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +9 -6
- package/dist/esm/nano-footer.entry.js +2 -2
- package/dist/esm/nano-global-nav.entry.js +20 -12
- 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 +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +4 -4
- package/dist/esm/nano-in-page-nav.entry.js +14 -8
- package/dist/esm/nano-intersection-observe.entry.js +4 -4
- package/dist/esm/nano-masked-overflow.entry.js +7 -7
- package/dist/esm/nano-menu-drawer.entry.js +63 -99
- package/dist/esm/nano-more-less.entry.js +4 -4
- package/dist/esm/nano-nav-item.entry.js +12 -16
- package/dist/esm/nano-progress-bar.entry.js +2 -2
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +6 -6
- package/dist/esm/nano-resize-observe.entry.js +43 -34
- package/dist/esm/nano-slide.entry.js +3 -3
- package/dist/esm/{nano-slides-CuheM3tf.js → nano-slides-B0sdF3jS.js} +13 -11
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +3 -3
- 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 +6 -6
- package/dist/esm/nano-tab-content.entry.js +4 -4
- package/dist/esm/nano-tab-group.entry.js +5 -5
- package/dist/esm/nano-tab.entry.js +4 -4
- package/dist/esm/nano-table.entry.js +4 -4
- package/dist/esm/{page-dots-Dlng6mCY.js → page-dots-B8o2-Gb8.js} +3 -3
- package/dist/esm/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/esm/{scroll-D4n69pGx.js → scroll-N_WMYKm7.js} +9 -14
- package/dist/esm/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/esm/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/esm/{table.worker-D6BwHdpG.js → table.worker-DxcGLZVJ.js} +6 -6
- package/dist/nano-components/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/nano-components/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/nano-components/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/nano-components/{fade-TBJBUY-M.js → fade-BUaM9GO7.js} +1 -1
- package/dist/nano-components/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/nano-components/{fullscreen-7z4Hd9oU.js → fullscreen-D9bU32l7.js} +1 -1
- package/dist/nano-components/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-CMsexkIp.js → lazyload-C6olXHXA.js} +1 -1
- package/dist/nano-components/{modal-CH7Vma1I.js → modal-DmA7xt58.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.css +365 -120
- 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-CraXN1D7.js → nano-data-table-CC6zn15I.js} +1 -1
- 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 +4 -0
- 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-CuheM3tf.js → nano-slides-B0sdF3jS.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-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-Dlng6mCY.js → page-dots-B8o2-Gb8.js} +1 -1
- package/dist/nano-components/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/nano-components/scroll-N_WMYKm7.js +4 -0
- package/dist/nano-components/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/nano-components/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/nano-components/table.worker-DxcGLZVJ.js +4 -0
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -1
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/date-input/date-input.d.ts +1 -2
- package/dist/types/components/date-picker/date-picker-interface.d.ts +6 -6
- package/dist/types/components/feature-box/feature-box.d.ts +14 -0
- package/dist/types/components/global-nav/global-nav.d.ts +5 -0
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -0
- package/dist/types/components/menu-drawer/menu-drawer.d.ts +12 -27
- package/dist/types/components/nav-item/nav-item.d.ts +9 -4
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/resize-observe/resize-observe.d.ts +3 -0
- package/dist/types/components/slides/slides-interface.d.ts +1 -1
- package/dist/types/components.d.ts +79 -58
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/dist/types/utils/testing/index.d.ts +50 -0
- package/docs-json.json +232 -125
- package/docs-vscode.json +25 -16
- package/hydrate/index.js +303 -342
- package/hydrate/index.mjs +303 -342
- package/package.json +3 -3
- package/dist/nano-components/scroll-D4n69pGx.js +0 -4
- package/dist/nano-components/table.worker-D6BwHdpG.js +0 -4
- /package/dist/nano-components/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +0 -0
@@ -5,8 +5,7 @@ import type { Dropdown } from '../dropdown/dropdown';
|
|
5
5
|
import type { DateInputChangeEventDetail, DuetLocalizedText, LocalDateOpts } from './date-input-interface';
|
6
6
|
import type { DateDisabledPredicate } from '../date-picker/date-picker-interface';
|
7
7
|
/**
|
8
|
-
*
|
9
|
-
* It has specific options for localisation, date formatting and validation.
|
8
|
+
* Enables date selection and input in a form.
|
10
9
|
*
|
11
10
|
* @version 1.0.0
|
12
11
|
* @status deprecated
|
@@ -5,21 +5,21 @@ export type PickerChangeEvent = {
|
|
5
5
|
|
6
6
|
export type DateDisabledPredicate = (date: Date) => boolean;
|
7
7
|
|
8
|
-
type oneToNine = 1|2|3|4|5|6|7|8|9
|
9
|
-
type zeroToNine = 0|1|2|3|4|5|6|7|8|9
|
8
|
+
type oneToNine = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
9
|
+
type zeroToNine = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
10
10
|
/**
|
11
11
|
* Years
|
12
12
|
*/
|
13
|
-
type YYYY = `19${zeroToNine}${zeroToNine}` | `20${zeroToNine}${zeroToNine}
|
13
|
+
type YYYY = `19${zeroToNine}${zeroToNine}` | `20${zeroToNine}${zeroToNine}`;
|
14
14
|
/**
|
15
15
|
* Months
|
16
16
|
*/
|
17
|
-
type MM = `0${oneToNine}` | `1${0|1|2}
|
17
|
+
type MM = `0${oneToNine}` | `1${0 | 1 | 2}`;
|
18
18
|
/**
|
19
19
|
* Days
|
20
20
|
*/
|
21
|
-
type DD = `${0}${oneToNine}` | `${1|2}${zeroToNine}` | `3${0|1}
|
21
|
+
type DD = `${0}${oneToNine}` | `${1 | 2}${zeroToNine}` | `3${0 | 1}`;
|
22
22
|
/**
|
23
23
|
* YYYYMMDD
|
24
24
|
*/
|
25
|
-
export type RawDateString = `${YYYY}-${MM}-${DD}`;
|
25
|
+
export type RawDateString = `${YYYY}-${MM}-${DD}`;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Highlights a key message on a landing page.
|
3
|
+
*
|
4
|
+
* @status new
|
5
|
+
* @version 8.0.0
|
6
|
+
* @type CSS Only
|
7
|
+
*
|
8
|
+
* @slot img - The image of the card. Appears first.
|
9
|
+
* @slot content - The main content of the card. Suitable for headings, paragraphs, and other text elements.
|
10
|
+
*/
|
11
|
+
export declare class NanoFeatureBox {
|
12
|
+
/** The position of the image of the feature-box (`start` being left on a l2r page) */
|
13
|
+
imgPosition?: 'start' | 'end';
|
14
|
+
}
|
@@ -76,6 +76,11 @@ export declare class GlobalNav implements ComponentInterface {
|
|
76
76
|
private _mainMenuBar;
|
77
77
|
get mainMenuBar(): HTMLElement;
|
78
78
|
set mainMenuBar(el: HTMLElement);
|
79
|
+
/**
|
80
|
+
* Manually triggers the main menu bar resize behaviour.
|
81
|
+
* This can be useful if you append new children to the global-nav
|
82
|
+
*/
|
83
|
+
triggerResize(): Promise<void>;
|
79
84
|
shouldResize: boolean;
|
80
85
|
breakpoint: 0 | 1 | 2 | 3 | 4;
|
81
86
|
breakpointChanged(): void;
|
@@ -31,6 +31,7 @@ export declare class NanoInPageNav implements ComponentInterface {
|
|
31
31
|
*/
|
32
32
|
private updateNavForBreakpoint;
|
33
33
|
private initStickiness;
|
34
|
+
connectedCallback(): void;
|
34
35
|
disconnectedCallback(): void;
|
35
36
|
/**
|
36
37
|
* Transforms the desktop navigation into a mobile one by wrapping the <ul> elements in collapsible nano-details elements.
|
@@ -1,23 +1,22 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
2
|
+
*
|
3
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
4
|
+
*
|
5
|
+
* @status stable
|
6
|
+
* @version 1.0.0
|
7
|
+
*
|
6
8
|
* @slot foot - nav items to be placed at the bottom of the drawer
|
7
9
|
* @slot - default slot for nav items
|
8
10
|
*/
|
9
11
|
export declare class MenuDrawer {
|
10
12
|
private containerDiv;
|
11
13
|
private contentDiv;
|
12
|
-
private measureEle;
|
13
14
|
private globalNav;
|
14
15
|
private children;
|
15
|
-
private
|
16
|
-
private
|
16
|
+
private ro;
|
17
|
+
private slotCtrl;
|
17
18
|
private el;
|
18
19
|
reset: boolean;
|
19
|
-
widthOk: boolean;
|
20
|
-
heightOk: boolean;
|
21
20
|
isLoading: boolean;
|
22
21
|
hide: boolean;
|
23
22
|
/**
|
@@ -25,32 +24,18 @@ export declare class MenuDrawer {
|
|
25
24
|
*/
|
26
25
|
open: boolean;
|
27
26
|
/**
|
28
|
-
*
|
29
|
-
*/
|
30
|
-
saveState: boolean;
|
31
|
-
/**
|
32
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
27
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
33
28
|
*/
|
34
29
|
hideWidth: number;
|
35
|
-
/**
|
36
|
-
* Should element hide and move items into the nano-global-nav when items are cut off
|
37
|
-
* (this will only work when nano-menu-drawer is displayed at full screen)
|
38
|
-
*/
|
39
|
-
hideHeight: boolean;
|
40
30
|
cancelNavItemEvents(ev: CustomEvent): void;
|
41
31
|
openChange(): void;
|
42
|
-
widthChange(): void;
|
43
|
-
hideHeightChange(): void;
|
44
32
|
private moveItemsToGlobalNav;
|
45
33
|
private moveItemsToDrawer;
|
46
|
-
private
|
34
|
+
private onResize;
|
47
35
|
private toggle;
|
48
|
-
private
|
49
|
-
private attachIO;
|
50
|
-
handleGlobalNavReady(e: CustomEvent & {
|
51
|
-
target: HTMLNanoGlobalNavElement;
|
52
|
-
}): void;
|
36
|
+
private attachRO;
|
53
37
|
componentWillLoad(): void;
|
38
|
+
connectedCallback(): void;
|
54
39
|
componentDidLoad(): void;
|
55
40
|
disconnectedCallback(): void;
|
56
41
|
render(): any;
|
@@ -13,8 +13,15 @@ import type { NavItemEventDetail } from './nav-item-interface';
|
|
13
13
|
* @part trigger--button - the controlling `<button>` element
|
14
14
|
* @part trigger--anchor - the controlling <a> element
|
15
15
|
* @part trigger-wrapper - the wrapping div around the control (shadow `<button>` / `<a>` or slotted `<a>`)
|
16
|
-
* @part
|
17
|
-
* @part
|
16
|
+
* @part label - the label text of the nav item
|
17
|
+
* @part modal - the div that contains the secondary content panel
|
18
|
+
* @part modal--open - the div that contains the secondary content panel when open
|
19
|
+
* @part modal--close - the div that contains the secondary content panel when closed
|
20
|
+
* @part modal-content - the div that contains the secondary content panel content
|
21
|
+
* @part modal-content--open - the div that contains the secondary content panel content when open
|
22
|
+
* @part modal-mask - the div that covers the screen when the secondary content panel is open
|
23
|
+
* @part close-button - the div that contains the close button for the secondary content panel
|
24
|
+
* @part close-button-icon - the icon inside the close button for the secondary content panel
|
18
25
|
*
|
19
26
|
* @version 1.0.0
|
20
27
|
* @status stable
|
@@ -40,8 +47,6 @@ export declare class NavItem implements ComponentInterface {
|
|
40
47
|
checkbox: boolean;
|
41
48
|
/** Whether secondary menus should close on blur */
|
42
49
|
closeOnBlur: boolean;
|
43
|
-
/** Will show an indicator badge - only when placed in a nano-menu-draw */
|
44
|
-
notification: boolean;
|
45
50
|
/** Emitted when the nav item closes it's secondary navigation. */
|
46
51
|
nanoClose: EventEmitter<NavItemEventDetail>;
|
47
52
|
/** Emitted when the nav item opens it's secondary navigation. */
|
@@ -34,7 +34,7 @@ export declare class Option implements OptionInterface {
|
|
34
34
|
*/
|
35
35
|
disabled: boolean;
|
36
36
|
/** You can add extra meta for this option. When displayed in a list, users
|
37
|
-
* search / filter via extra related terms.
|
37
|
+
* search / filter via extra related terms.
|
38
38
|
*/
|
39
39
|
filterMeta: string;
|
40
40
|
/** Setting an href will render an `<a>` element */
|
@@ -3,6 +3,9 @@ import { ResizeStateChangeEventDetail } from './resize-observe-interface';
|
|
3
3
|
/**
|
4
4
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
5
5
|
*
|
6
|
+
* @status stable
|
7
|
+
* @version 1.0.0
|
8
|
+
*
|
6
9
|
* @slot - Main slot for any content.
|
7
10
|
* @slot content-fit-x - optional slot (when `notifyContentFit` is set). Shows when content fits / doesn't get cut off
|
8
11
|
* @slot content-nofit-x - optional slot (when `notifyContentFit` is set). Shows when content doesn't get cut off
|
@@ -869,8 +869,7 @@ export namespace Components {
|
|
869
869
|
"type": 'select' | 'selectMulti' | 'input';
|
870
870
|
}
|
871
871
|
/**
|
872
|
-
*
|
873
|
-
* It has specific options for localisation, date formatting and validation.
|
872
|
+
* Enables date selection and input in a form.
|
874
873
|
* @version 1.0.0
|
875
874
|
* @status deprecated
|
876
875
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -1306,6 +1305,19 @@ export namespace Components {
|
|
1306
1305
|
*/
|
1307
1306
|
"tetherTo": HTMLElement;
|
1308
1307
|
}
|
1308
|
+
/**
|
1309
|
+
* Highlights a key message on a landing page.
|
1310
|
+
* @status new
|
1311
|
+
* @version 8.0.0
|
1312
|
+
* @type CSS Only
|
1313
|
+
*/
|
1314
|
+
interface NanoFeatureBox {
|
1315
|
+
/**
|
1316
|
+
* The position of the image of the feature-box (`start` being left on a l2r page)
|
1317
|
+
* @default 'start'
|
1318
|
+
*/
|
1319
|
+
"imgPosition"?: 'start' | 'end';
|
1320
|
+
}
|
1309
1321
|
/**
|
1310
1322
|
* A toolbox to expose a form's data model and validation state
|
1311
1323
|
* @version 3.0.0
|
@@ -1595,6 +1607,10 @@ export namespace Components {
|
|
1595
1607
|
* Send the current search term and selected index to a nested `nano-global-search-results`
|
1596
1608
|
*/
|
1597
1609
|
"submitSearch": () => Promise<void>;
|
1610
|
+
/**
|
1611
|
+
* Manually triggers the main menu bar resize behaviour. This can be useful if you append new children to the global-nav
|
1612
|
+
*/
|
1613
|
+
"triggerResize": () => Promise<void>;
|
1598
1614
|
}
|
1599
1615
|
/**
|
1600
1616
|
* Nanopore Global Search results component
|
@@ -2255,19 +2271,13 @@ export namespace Components {
|
|
2255
2271
|
"type": 'menu' | 'listbox' | 'nav';
|
2256
2272
|
}
|
2257
2273
|
/**
|
2258
|
-
*
|
2259
|
-
*
|
2260
|
-
*
|
2261
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
2274
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
2275
|
+
* @status stable
|
2276
|
+
* @version 1.0.0
|
2262
2277
|
*/
|
2263
2278
|
interface NanoMenuDrawer {
|
2264
2279
|
/**
|
2265
|
-
*
|
2266
|
-
* @default true
|
2267
|
-
*/
|
2268
|
-
"hideHeight": boolean;
|
2269
|
-
/**
|
2270
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
2280
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
2271
2281
|
* @default 576
|
2272
2282
|
*/
|
2273
2283
|
"hideWidth": number;
|
@@ -2276,11 +2286,6 @@ export namespace Components {
|
|
2276
2286
|
* @default true
|
2277
2287
|
*/
|
2278
2288
|
"open": boolean;
|
2279
|
-
/**
|
2280
|
-
* Save open state to localStorage
|
2281
|
-
* @default true
|
2282
|
-
*/
|
2283
|
-
"saveState": boolean;
|
2284
2289
|
}
|
2285
2290
|
/**
|
2286
2291
|
* Show more or less from a collection of items.
|
@@ -2334,11 +2339,6 @@ export namespace Components {
|
|
2334
2339
|
* @default null
|
2335
2340
|
*/
|
2336
2341
|
"href": string;
|
2337
|
-
/**
|
2338
|
-
* Will show an indicator badge - only when placed in a nano-menu-draw
|
2339
|
-
* @default false
|
2340
|
-
*/
|
2341
|
-
"notification": boolean;
|
2342
2342
|
/**
|
2343
2343
|
* Whether a secondary menu should be or is currently open
|
2344
2344
|
* @default false
|
@@ -2371,7 +2371,7 @@ export namespace Components {
|
|
2371
2371
|
*/
|
2372
2372
|
"disabled": boolean;
|
2373
2373
|
/**
|
2374
|
-
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
2374
|
+
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
2375
2375
|
* @default ''
|
2376
2376
|
*/
|
2377
2377
|
"filterMeta": string;
|
@@ -2536,6 +2536,8 @@ export namespace Components {
|
|
2536
2536
|
}
|
2537
2537
|
/**
|
2538
2538
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
2539
|
+
* @status stable
|
2540
|
+
* @version 1.0.0
|
2539
2541
|
*/
|
2540
2542
|
interface NanoResizeObserve {
|
2541
2543
|
/**
|
@@ -3844,8 +3846,7 @@ declare global {
|
|
3844
3846
|
"nanoValidate": ControlValidityEventDetail;
|
3845
3847
|
}
|
3846
3848
|
/**
|
3847
|
-
*
|
3848
|
-
* It has specific options for localisation, date formatting and validation.
|
3849
|
+
* Enables date selection and input in a form.
|
3849
3850
|
* @version 1.0.0
|
3850
3851
|
* @status deprecated
|
3851
3852
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -3992,6 +3993,18 @@ declare global {
|
|
3992
3993
|
prototype: HTMLNanoDropdownElement;
|
3993
3994
|
new (): HTMLNanoDropdownElement;
|
3994
3995
|
};
|
3996
|
+
/**
|
3997
|
+
* Highlights a key message on a landing page.
|
3998
|
+
* @status new
|
3999
|
+
* @version 8.0.0
|
4000
|
+
* @type CSS Only
|
4001
|
+
*/
|
4002
|
+
interface HTMLNanoFeatureBoxElement extends Components.NanoFeatureBox, HTMLStencilElement {
|
4003
|
+
}
|
4004
|
+
var HTMLNanoFeatureBoxElement: {
|
4005
|
+
prototype: HTMLNanoFeatureBoxElement;
|
4006
|
+
new (): HTMLNanoFeatureBoxElement;
|
4007
|
+
};
|
3995
4008
|
interface HTMLNanoFieldValidatorElementEventMap {
|
3996
4009
|
"nanoPayloadChange": ValidatorValueStore;
|
3997
4010
|
"nanoSubmit": any;
|
@@ -4301,10 +4314,9 @@ declare global {
|
|
4301
4314
|
new (): HTMLNanoMenuElement;
|
4302
4315
|
};
|
4303
4316
|
/**
|
4304
|
-
*
|
4305
|
-
*
|
4306
|
-
*
|
4307
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
4317
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
4318
|
+
* @status stable
|
4319
|
+
* @version 1.0.0
|
4308
4320
|
*/
|
4309
4321
|
interface HTMLNanoMenuDrawerElement extends Components.NanoMenuDrawer, HTMLStencilElement {
|
4310
4322
|
}
|
@@ -4440,6 +4452,8 @@ declare global {
|
|
4440
4452
|
}
|
4441
4453
|
/**
|
4442
4454
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
4455
|
+
* @status stable
|
4456
|
+
* @version 1.0.0
|
4443
4457
|
*/
|
4444
4458
|
interface HTMLNanoResizeObserveElement extends Components.NanoResizeObserve, HTMLStencilElement {
|
4445
4459
|
addEventListener<K extends keyof HTMLNanoResizeObserveElementEventMap>(type: K, listener: (this: HTMLNanoResizeObserveElement, ev: NanoResizeObserveCustomEvent<HTMLNanoResizeObserveElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -4768,6 +4782,7 @@ declare global {
|
|
4768
4782
|
"nano-dialog": HTMLNanoDialogElement;
|
4769
4783
|
"nano-drawer": HTMLNanoDrawerElement;
|
4770
4784
|
"nano-dropdown": HTMLNanoDropdownElement;
|
4785
|
+
"nano-feature-box": HTMLNanoFeatureBoxElement;
|
4771
4786
|
"nano-field-validator": HTMLNanoFieldValidatorElement;
|
4772
4787
|
"nano-file-upload": HTMLNanoFileUploadElement;
|
4773
4788
|
"nano-footer": HTMLNanoFooterElement;
|
@@ -5658,8 +5673,7 @@ declare namespace LocalJSX {
|
|
5658
5673
|
"type"?: 'select' | 'selectMulti' | 'input';
|
5659
5674
|
}
|
5660
5675
|
/**
|
5661
|
-
*
|
5662
|
-
* It has specific options for localisation, date formatting and validation.
|
5676
|
+
* Enables date selection and input in a form.
|
5663
5677
|
* @version 1.0.0
|
5664
5678
|
* @status deprecated
|
5665
5679
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -6137,6 +6151,19 @@ declare namespace LocalJSX {
|
|
6137
6151
|
*/
|
6138
6152
|
"tetherTo"?: HTMLElement;
|
6139
6153
|
}
|
6154
|
+
/**
|
6155
|
+
* Highlights a key message on a landing page.
|
6156
|
+
* @status new
|
6157
|
+
* @version 8.0.0
|
6158
|
+
* @type CSS Only
|
6159
|
+
*/
|
6160
|
+
interface NanoFeatureBox {
|
6161
|
+
/**
|
6162
|
+
* The position of the image of the feature-box (`start` being left on a l2r page)
|
6163
|
+
* @default 'start'
|
6164
|
+
*/
|
6165
|
+
"imgPosition"?: 'start' | 'end';
|
6166
|
+
}
|
6140
6167
|
/**
|
6141
6168
|
* A toolbox to expose a form's data model and validation state
|
6142
6169
|
* @version 3.0.0
|
@@ -7097,19 +7124,13 @@ declare namespace LocalJSX {
|
|
7097
7124
|
"type"?: 'menu' | 'listbox' | 'nav';
|
7098
7125
|
}
|
7099
7126
|
/**
|
7100
|
-
*
|
7101
|
-
*
|
7102
|
-
*
|
7103
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
7127
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
7128
|
+
* @status stable
|
7129
|
+
* @version 1.0.0
|
7104
7130
|
*/
|
7105
7131
|
interface NanoMenuDrawer {
|
7106
7132
|
/**
|
7107
|
-
*
|
7108
|
-
* @default true
|
7109
|
-
*/
|
7110
|
-
"hideHeight"?: boolean;
|
7111
|
-
/**
|
7112
|
-
* Screen width to hide the menu drawer and move the items into the nano-global-nav
|
7133
|
+
* Global-nav width to hide the menu drawer and move the items into the nano-global-nav
|
7113
7134
|
* @default 576
|
7114
7135
|
*/
|
7115
7136
|
"hideWidth"?: number;
|
@@ -7118,11 +7139,6 @@ declare namespace LocalJSX {
|
|
7118
7139
|
* @default true
|
7119
7140
|
*/
|
7120
7141
|
"open"?: boolean;
|
7121
|
-
/**
|
7122
|
-
* Save open state to localStorage
|
7123
|
-
* @default true
|
7124
|
-
*/
|
7125
|
-
"saveState"?: boolean;
|
7126
7142
|
}
|
7127
7143
|
/**
|
7128
7144
|
* Show more or less from a collection of items.
|
@@ -7176,11 +7192,6 @@ declare namespace LocalJSX {
|
|
7176
7192
|
* @default null
|
7177
7193
|
*/
|
7178
7194
|
"href"?: string;
|
7179
|
-
/**
|
7180
|
-
* Will show an indicator badge - only when placed in a nano-menu-draw
|
7181
|
-
* @default false
|
7182
|
-
*/
|
7183
|
-
"notification"?: boolean;
|
7184
7195
|
/**
|
7185
7196
|
* Emitted when the nav item closes it's secondary navigation.
|
7186
7197
|
*/
|
@@ -7225,7 +7236,7 @@ declare namespace LocalJSX {
|
|
7225
7236
|
*/
|
7226
7237
|
"disabled"?: boolean;
|
7227
7238
|
/**
|
7228
|
-
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
7239
|
+
* You can add extra meta for this option. When displayed in a list, users search / filter via extra related terms.
|
7229
7240
|
* @default ''
|
7230
7241
|
*/
|
7231
7242
|
"filterMeta"?: string;
|
@@ -7410,6 +7421,8 @@ declare namespace LocalJSX {
|
|
7410
7421
|
}
|
7411
7422
|
/**
|
7412
7423
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
7424
|
+
* @status stable
|
7425
|
+
* @version 1.0.0
|
7413
7426
|
*/
|
7414
7427
|
interface NanoResizeObserve {
|
7415
7428
|
/**
|
@@ -8209,6 +8222,7 @@ declare namespace LocalJSX {
|
|
8209
8222
|
"nano-dialog": NanoDialog;
|
8210
8223
|
"nano-drawer": NanoDrawer;
|
8211
8224
|
"nano-dropdown": NanoDropdown;
|
8225
|
+
"nano-feature-box": NanoFeatureBox;
|
8212
8226
|
"nano-field-validator": NanoFieldValidator;
|
8213
8227
|
"nano-file-upload": NanoFileUpload;
|
8214
8228
|
"nano-footer": NanoFooter;
|
@@ -8373,8 +8387,7 @@ declare module "@stencil/core" {
|
|
8373
8387
|
*/
|
8374
8388
|
"nano-datalist": LocalJSX.NanoDatalist & JSXBase.HTMLAttributes<HTMLNanoDatalistElement>;
|
8375
8389
|
/**
|
8376
|
-
*
|
8377
|
-
* It has specific options for localisation, date formatting and validation.
|
8390
|
+
* Enables date selection and input in a form.
|
8378
8391
|
* @version 1.0.0
|
8379
8392
|
* @status deprecated
|
8380
8393
|
* @deprecated - use `nano-input` with `type="date"` instead.
|
@@ -8410,6 +8423,13 @@ declare module "@stencil/core" {
|
|
8410
8423
|
* @status stable
|
8411
8424
|
*/
|
8412
8425
|
"nano-dropdown": LocalJSX.NanoDropdown & JSXBase.HTMLAttributes<HTMLNanoDropdownElement>;
|
8426
|
+
/**
|
8427
|
+
* Highlights a key message on a landing page.
|
8428
|
+
* @status new
|
8429
|
+
* @version 8.0.0
|
8430
|
+
* @type CSS Only
|
8431
|
+
*/
|
8432
|
+
"nano-feature-box": LocalJSX.NanoFeatureBox & JSXBase.HTMLAttributes<HTMLNanoFeatureBoxElement>;
|
8413
8433
|
/**
|
8414
8434
|
* A toolbox to expose a form's data model and validation state
|
8415
8435
|
* @version 3.0.0
|
@@ -8514,10 +8534,9 @@ declare module "@stencil/core" {
|
|
8514
8534
|
*/
|
8515
8535
|
"nano-menu": LocalJSX.NanoMenu & JSXBase.HTMLAttributes<HTMLNanoMenuElement>;
|
8516
8536
|
/**
|
8517
|
-
*
|
8518
|
-
*
|
8519
|
-
*
|
8520
|
-
* Only one nano-menu-drawer element should be present on any page. It is fixed to a side on larger screens and items are added to the global nav 'burger' on smaller screens.
|
8537
|
+
* Display navigation items in a collapsible drawer at the side of a UI.
|
8538
|
+
* @status stable
|
8539
|
+
* @version 1.0.0
|
8521
8540
|
*/
|
8522
8541
|
"nano-menu-drawer": LocalJSX.NanoMenuDrawer & JSXBase.HTMLAttributes<HTMLNanoMenuDrawerElement>;
|
8523
8542
|
/**
|
@@ -8557,6 +8576,8 @@ declare module "@stencil/core" {
|
|
8557
8576
|
"nano-rating": LocalJSX.NanoRating & JSXBase.HTMLAttributes<HTMLNanoRatingElement>;
|
8558
8577
|
/**
|
8559
8578
|
* A thin, declarative interface to the [ResizeObserver API](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
8579
|
+
* @status stable
|
8580
|
+
* @version 1.0.0
|
8560
8581
|
*/
|
8561
8582
|
"nano-resize-observe": LocalJSX.NanoResizeObserve & JSXBase.HTMLAttributes<HTMLNanoResizeObserveElement>;
|
8562
8583
|
/**
|
@@ -846,7 +846,7 @@ export declare namespace JSXBase {
|
|
846
846
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
847
847
|
open?: boolean;
|
848
848
|
name?: string;
|
849
|
-
onToggle?: (event:
|
849
|
+
onToggle?: (event: ToggleEvent) => void;
|
850
850
|
}
|
851
851
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
852
852
|
cite?: string;
|
@@ -1552,6 +1552,13 @@ export declare namespace JSXBase {
|
|
1552
1552
|
z?: number | string;
|
1553
1553
|
zoomAndPan?: string;
|
1554
1554
|
}
|
1555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
1556
|
+
interface ToggleEvent extends Event {
|
1557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
1558
|
+
readonly newState: string;
|
1559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
1560
|
+
readonly oldState: string;
|
1561
|
+
}
|
1555
1562
|
interface DOMAttributes<T> extends JSXAttributes<T> {
|
1556
1563
|
slot?: string;
|
1557
1564
|
part?: string;
|
@@ -1568,6 +1575,10 @@ export declare namespace JSXBase {
|
|
1568
1575
|
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
1569
1576
|
onCompositionupdate?: (event: CompositionEvent) => void;
|
1570
1577
|
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
1578
|
+
onBeforeToggle?: (event: ToggleEvent) => void;
|
1579
|
+
onBeforeToggleCapture?: (event: ToggleEvent) => void;
|
1580
|
+
onToggle?: (event: ToggleEvent) => void;
|
1581
|
+
onToggleCapture?: (event: ToggleEvent) => void;
|
1571
1582
|
onFocus?: (event: FocusEvent) => void;
|
1572
1583
|
onFocusCapture?: (event: FocusEvent) => void;
|
1573
1584
|
onFocusin?: (event: FocusEvent) => void;
|
@@ -1586,10 +1597,6 @@ export declare namespace JSXBase {
|
|
1586
1597
|
onSubmitCapture?: (event: Event) => void;
|
1587
1598
|
onInvalid?: (event: Event) => void;
|
1588
1599
|
onInvalidCapture?: (event: Event) => void;
|
1589
|
-
onBeforeToggle?: (event: Event) => void;
|
1590
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
1591
|
-
onToggle?: (event: Event) => void;
|
1592
|
-
onToggleCapture?: (event: Event) => void;
|
1593
1600
|
onLoad?: (event: Event) => void;
|
1594
1601
|
onLoadCapture?: (event: Event) => void;
|
1595
1602
|
onError?: (event: Event) => void;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { E2EPage } from '@stencil/core/testing';
|
2
|
+
import * as axe from 'axe-core';
|
3
|
+
declare global {
|
4
|
+
interface Window {
|
5
|
+
axe: typeof axe;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
export interface NanoE2EPage extends E2EPage, Pick<PuppeteerPage, 'screenshot' | 'viewport'> {
|
9
|
+
reportA11y: (contextQuery?: string) => Promise<string>;
|
10
|
+
}
|
11
|
+
type NanoE2EPageOptions = {
|
12
|
+
html: string;
|
13
|
+
viewportWidth: number;
|
14
|
+
viewportHeight?: number;
|
15
|
+
dir: 'ltr' | 'rtl';
|
16
|
+
padding?: string;
|
17
|
+
};
|
18
|
+
export declare class E2EPlayGround<T> {
|
19
|
+
props: Partial<T>;
|
20
|
+
viewportHeight: number;
|
21
|
+
/** element template string. Add `{{ attrs }}` to place the attributes */
|
22
|
+
template: string;
|
23
|
+
cssVars: {
|
24
|
+
[key: string]: string;
|
25
|
+
};
|
26
|
+
viewportWidth: number;
|
27
|
+
page: NanoE2EPage;
|
28
|
+
tag: string;
|
29
|
+
constructor(setup: {
|
30
|
+
template: string;
|
31
|
+
tag: string;
|
32
|
+
} | string);
|
33
|
+
private get attrs();
|
34
|
+
private get css();
|
35
|
+
newPage(props?: Partial<T>, docOpts?: {
|
36
|
+
dir?: 'rtl' | 'ltr';
|
37
|
+
padding?: string;
|
38
|
+
}): Promise<NanoE2EPage>;
|
39
|
+
reportA11y(): Promise<string>;
|
40
|
+
component(): Promise<import("@stencil/core/testing").E2EElement>;
|
41
|
+
componentQuery(selectorStr: string, shadow?: boolean): Promise<any>;
|
42
|
+
}
|
43
|
+
export declare function getFocusedElement(page: E2EPage, shadowEleSelector?: string): Promise<any>;
|
44
|
+
export declare function clickOnElement(page: E2EPage, elem: ElementHandle<Element>, x?: number, y?: number): Promise<void>;
|
45
|
+
export declare function createPage(optionsOrHtml?: string | NanoE2EPageOptions): Promise<NanoE2EPage>;
|
46
|
+
export declare const kebabize: (str: any) => any;
|
47
|
+
export declare const screenshotSettings: (dirname: string) => MatchImageSnapshotOptions;
|
48
|
+
export declare const waitForVisibleSnippet: (selector: any) => string;
|
49
|
+
export declare const stringifyFormSnippet = "\n<div id=\"form-result\"></div>\n<script>\n var form = document.querySelector('form');\n var result = document.querySelector('#form-result');\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n var data = new FormData(event.target);\n var object = {};\n data.forEach((value, key) => {\n // Reflect.has in favor of: object.hasOwnProperty(key)\n if(!Reflect.has(object, key)){\n object[key] = value;\n return;\n }\n if(!Array.isArray(object[key])){\n object[key] = [object[key]];\n }\n object[key].push(value);\n });\n result.innerHTML = JSON.stringify(object);\n })\n</script>";
|
50
|
+
export {};
|