@zanichelli/albe-web-components 19.3.0-RC4 → 19.3.0-RC6
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/CHANGELOG.md +153 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/breakpoints-B7vFm-3T.js +9 -0
- package/dist/cjs/iconset-Cz-UsfoU.js +1027 -0
- package/dist/cjs/index-DnscebL4.js +2683 -0
- package/dist/cjs/index-wGaSHN1_.js +407 -0
- package/dist/cjs/index.cjs.js +112 -224
- package/dist/cjs/loader.cjs.js +3 -8
- package/dist/cjs/utils-BY7xrW7W.js +265 -0
- package/dist/cjs/utils-C5_wGVkJ.js +2718 -0
- package/dist/cjs/web-components-library.cjs.js +7 -10
- package/dist/cjs/z-accordion.cjs.entry.js +35 -13
- package/dist/cjs/z-alert.cjs.entry.js +4 -10
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +25 -10
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +53 -22
- package/dist/cjs/z-app-header_12.cjs.entry.js +425 -335
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -7
- package/dist/cjs/z-avatar.cjs.entry.js +9 -13
- package/dist/cjs/z-book-card-app.cjs.entry.js +10 -18
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +10 -24
- package/dist/cjs/z-book-card.cjs.entry.js +11 -23
- package/dist/cjs/z-book-cover.cjs.entry.js +6 -11
- package/dist/cjs/z-breadcrumb.cjs.entry.js +27 -22
- package/dist/cjs/z-button-sort.cjs.entry.js +9 -14
- package/dist/cjs/z-card.cjs.entry.js +9 -12
- package/dist/cjs/z-carousel.cjs.entry.js +49 -29
- package/dist/cjs/z-chip.cjs.entry.js +9 -13
- package/dist/cjs/z-color-picker.cjs.entry.js +24 -18
- package/dist/cjs/z-combobox.cjs.entry.js +42 -36
- package/dist/cjs/z-cover-hero.cjs.entry.js +18 -11
- package/dist/cjs/z-date-picker.cjs.entry.js +351 -330
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +18 -22
- package/dist/cjs/z-file-upload.cjs.entry.js +22 -19
- package/dist/cjs/z-file.cjs.entry.js +6 -13
- package/dist/cjs/z-ghost-loading.cjs.entry.js +4 -9
- package/dist/cjs/z-info-box.cjs.entry.js +5 -10
- package/dist/cjs/z-info-reveal.cjs.entry.js +20 -13
- package/dist/cjs/z-logo.cjs.entry.js +4 -15
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +23 -14
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +10 -13
- package/dist/cjs/z-menu-section.cjs.entry.js +15 -16
- package/dist/cjs/z-menu.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -14
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +9 -12
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +4 -9
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +7 -15
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +6 -10
- package/dist/cjs/z-myz-card-info.cjs.entry.js +8 -13
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -10
- package/dist/cjs/z-myz-card_4.cjs.entry.js +16 -31
- package/dist/cjs/z-myz-list-item.cjs.entry.js +9 -17
- package/dist/cjs/z-myz-list.cjs.entry.js +7 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +28 -18
- package/dist/cjs/z-notification.cjs.entry.js +12 -12
- package/dist/cjs/z-otp.cjs.entry.js +10 -14
- package/dist/cjs/z-pagination.cjs.entry.js +30 -20
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -17
- package/dist/cjs/z-popover.cjs.entry.js +35 -19
- package/dist/cjs/z-range-picker.cjs.entry.js +38 -31
- package/dist/cjs/z-result-card.cjs.entry.js +7 -16
- package/dist/cjs/z-section-title.cjs.entry.js +12 -10
- package/dist/cjs/z-select.cjs.entry.js +23 -31
- package/dist/cjs/z-skip-to-content.cjs.entry.js +8 -13
- package/dist/cjs/z-slideshow.cjs.entry.js +12 -16
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -14
- package/dist/cjs/z-stepper.cjs.entry.js +4 -9
- package/dist/cjs/z-table.cjs.entry.js +20 -17
- package/dist/cjs/z-tbody.cjs.entry.js +13 -6
- package/dist/cjs/z-td.cjs.entry.js +55 -7
- package/dist/cjs/z-tfoot.cjs.entry.js +17 -6
- package/dist/cjs/z-th.cjs.entry.js +83 -6
- package/dist/cjs/z-thead.cjs.entry.js +22 -6
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +11 -12
- package/dist/cjs/z-toast-notification.cjs.entry.js +4034 -3997
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -12
- package/dist/cjs/z-toggle-switch.cjs.entry.js +13 -14
- package/dist/cjs/z-tool.cjs.entry.js +28 -29
- package/dist/cjs/z-toolbar.cjs.entry.js +7 -12
- package/dist/cjs/z-tooltip.cjs.entry.js +15 -11
- package/dist/cjs/z-tr.cjs.entry.js +81 -11
- package/dist/cjs/z-tree-list.cjs.entry.js +10 -14
- package/dist/cjs/z-visually-hidden.cjs.entry.js +4 -9
- package/dist/collection/beans/index.js +0 -1
- package/dist/collection/collection-manifest.json +14 -13
- package/dist/collection/components/book-card/z-book-card/index.js +55 -41
- package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +23 -17
- package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
- package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
- package/dist/collection/components/css-components/z-table/styles.css +61 -0
- package/dist/collection/components/date-picker/utils.js +0 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +61 -35
- package/dist/collection/components/date-picker/z-range-picker/index.js +61 -34
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +70 -76
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +57 -44
- package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +31 -13
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +11 -10
- package/dist/collection/components/deprecated/z-section-title/index.js +16 -6
- package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +7 -6
- package/dist/collection/components/file-upload/z-file/index.js +9 -8
- package/dist/collection/components/file-upload/z-file-upload/index.js +81 -38
- package/dist/collection/components/index.js +0 -1
- package/dist/collection/components/list/z-list/index.js +23 -7
- package/dist/collection/components/list/z-list-element/index.js +113 -38
- package/dist/collection/components/list/z-list-group/index.js +50 -16
- package/dist/collection/components/list/z-tree-list/index.js +16 -11
- package/dist/collection/components/table/cells/z-table-cells.css +69 -0
- package/dist/collection/components/table/cells/z-td/index.js +34 -12
- package/dist/collection/components/table/cells/z-th/index.js +56 -19
- package/dist/collection/components/table/cells/z-th/styles.css +2 -74
- package/dist/collection/components/table/z-table/index.js +12 -6
- package/dist/collection/components/table/z-table/styles.css +3 -6
- package/dist/collection/components/table/z-tbody/index.js +3 -4
- package/dist/collection/components/table/z-tfoot/index.js +9 -5
- package/dist/collection/components/table/z-tfoot/styles.css +1 -2
- package/dist/collection/components/table/z-thead/index.js +15 -6
- package/dist/collection/components/table/z-thead/styles.css +0 -4
- package/dist/collection/components/table/z-tr/index.js +19 -7
- package/dist/collection/components/table/z-tr/styles.css +5 -11
- package/dist/collection/components/z-accordion/index.js +65 -26
- package/dist/collection/components/z-accordion/styles.css +14 -34
- package/dist/collection/components/z-anchor-navigation/index.js +34 -7
- package/dist/collection/components/z-app-header/index.js +97 -27
- package/dist/collection/components/z-app-header/styles.css +12 -12
- package/dist/collection/components/z-aria-alert/index.js +7 -4
- package/dist/collection/components/z-avatar/index.js +24 -13
- package/dist/collection/components/z-book-cover/index.js +17 -14
- package/dist/collection/components/z-book-cover/styles.css +6 -0
- package/dist/collection/components/z-breadcrumb/index.js +40 -20
- package/dist/collection/components/z-button/index.js +78 -36
- package/dist/collection/components/z-button-sort/index.js +33 -18
- package/dist/collection/components/z-card/index.js +22 -19
- package/dist/collection/components/z-card/styles.css +9 -0
- package/dist/collection/components/z-carousel/index.js +69 -37
- package/dist/collection/components/z-carousel/styles.css +7 -3
- package/dist/collection/components/z-chip/index.js +24 -13
- package/dist/collection/components/z-color-picker/index.js +31 -17
- package/dist/collection/components/z-combobox/index.js +97 -55
- package/dist/collection/components/z-combobox/styles.css +0 -12
- package/dist/collection/components/z-cover-hero/index.js +27 -11
- package/dist/collection/components/z-cover-hero/styles.css +5 -0
- package/dist/collection/components/z-divider/index.js +17 -7
- package/dist/collection/components/z-ghost-loading/index.js +1 -2
- package/dist/collection/components/z-icon/index.js +57 -27
- package/dist/collection/components/z-icon/styles.css +3 -2
- package/dist/collection/components/z-info-box/index.js +9 -6
- package/dist/collection/components/z-info-reveal/index.js +30 -15
- package/dist/collection/components/z-info-reveal/styles.css +7 -1
- package/dist/collection/components/z-input/index.js +193 -86
- package/dist/collection/components/z-input/styles-checkbox-radio.css +132 -0
- package/dist/collection/components/z-input/styles-general.css +166 -0
- package/dist/collection/components/z-input/styles-text.css +92 -0
- package/dist/collection/components/z-input/styles-textarea.css +19 -0
- package/dist/collection/components/z-input-message/index.js +64 -13
- package/dist/collection/components/z-logo/index.js +25 -22
- package/dist/collection/components/z-logo/styles.css +5 -0
- package/dist/collection/components/z-menu/index.js +32 -13
- package/dist/collection/components/z-menu/styles.css +3 -0
- package/dist/collection/components/z-menu-section/index.js +17 -12
- package/dist/collection/components/z-modal/index.js +36 -20
- package/dist/collection/components/z-modal/styles.css +5 -2
- package/dist/collection/components/z-navigation-tabs/index.js +35 -17
- package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
- package/dist/collection/components/z-notification/index.js +52 -16
- package/dist/collection/components/z-notification/styles.css +31 -13
- package/dist/collection/components/z-offcanvas/index.js +42 -15
- package/dist/collection/components/z-offcanvas/styles.css +5 -0
- package/dist/collection/components/z-pagination/index.js +47 -25
- package/dist/collection/components/z-pagination/styles.css +6 -0
- package/dist/collection/components/z-panel-elem/index.js +38 -26
- package/dist/collection/components/z-popover/index.js +44 -21
- package/dist/collection/components/z-popover/styles.css +6 -0
- package/dist/collection/components/z-result-card/index.js +34 -23
- package/dist/collection/components/z-result-card/styles.css +8 -5
- package/dist/collection/components/z-searchbar/index.js +203 -228
- package/dist/collection/components/z-searchbar/styles.css +92 -201
- package/dist/collection/components/z-select/index.js +90 -54
- package/dist/collection/components/z-skip-to-content/index.js +13 -8
- package/dist/collection/components/z-stepper/index.js +1 -2
- package/dist/collection/components/z-stepper-item/index.js +21 -19
- package/dist/collection/components/z-tag/index.js +11 -16
- package/dist/collection/components/z-tag/styles.css +5 -0
- package/dist/collection/components/z-toast-notification/index.js +90 -74
- package/dist/collection/components/z-toast-notification/styles.css +124 -124
- package/dist/collection/components/z-toast-notification-list/index.js +12 -6
- package/dist/collection/components/z-toggle-button/index.js +22 -12
- package/dist/collection/components/z-toggle-switch/index.js +21 -9
- package/dist/collection/components/z-tool/index.js +49 -31
- package/dist/collection/components/z-toolbar/index.js +7 -7
- package/dist/collection/components/z-toolbar/styles.css +4 -0
- package/dist/collection/components/z-tooltip/index.js +29 -14
- package/dist/collection/components/z-tooltip/styles.css +6 -0
- package/dist/collection/components/z-visually-hidden/index.js +1 -2
- package/dist/collection/constants/breakpoints.js +0 -1
- package/dist/collection/constants/icons.js +0 -1
- package/dist/collection/constants/iconset.js +19 -8
- package/dist/collection/index.js +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +20 -12
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +17 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +17 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +25 -12
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +31 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +15 -12
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +13 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +12 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +29 -19
- package/dist/collection/snowflakes/myz/z-alert/index.js +7 -8
- package/dist/collection/snowflakes/myz/z-otp/index.js +19 -12
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +11 -9
- package/dist/collection/utils/storybook-utils.js +7 -1
- package/dist/collection/utils/utils.js +5 -1
- package/dist/components/_commonjsHelpers.js +1 -5
- package/dist/components/breakpoints.js +1 -11
- package/dist/components/iconset.js +1 -1013
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -98
- package/dist/components/index10.js +1 -62
- package/dist/components/index11.js +1 -92
- package/dist/components/index12.js +1 -342
- package/dist/components/index13.js +1 -66
- package/dist/components/index14.js +1 -53
- package/dist/components/index15.js +1 -181
- package/dist/components/index16.js +1 -76
- package/dist/components/index17.js +1 -1040
- package/dist/components/index18.js +1 -65
- package/dist/components/index19.js +1 -33
- package/dist/components/index2.js +1 -407
- package/dist/components/index20.js +1 -45
- package/dist/components/index21.js +1 -62
- package/dist/components/index22.js +1 -66
- package/dist/components/index23.js +1 -179
- package/dist/components/index24.js +1 -549
- package/dist/components/index25.js +1 -409
- package/dist/components/index26.js +1 -49
- package/dist/components/index27.js +1 -55
- package/dist/components/index3.js +1 -36
- package/dist/components/index4.js +1 -45
- package/dist/components/index5.js +1 -82
- package/dist/components/index6.js +1 -56
- package/dist/components/index7.js +1 -40
- package/dist/components/index8.js +1 -63
- package/dist/components/index9.js +1 -33
- package/dist/components/utils.js +1 -246
- package/dist/components/utils2.js +1 -2704
- package/dist/components/z-accordion.js +1 -85
- package/dist/components/z-alert.js +1 -8
- package/dist/components/z-anchor-navigation.js +1 -87
- package/dist/components/z-app-header-deprecated.js +1 -255
- package/dist/components/z-app-header.js +1 -367
- package/dist/components/z-aria-alert.js +1 -35
- package/dist/components/z-avatar.js +1 -66
- package/dist/components/z-book-card-app.js +1 -77
- package/dist/components/z-book-card-deprecated.js +1 -175
- package/dist/components/z-book-card.js +1 -149
- package/dist/components/z-book-cover.js +1 -8
- package/dist/components/z-breadcrumb.js +1 -290
- package/dist/components/z-button-sort.js +1 -86
- package/dist/components/z-button.js +1 -8
- package/dist/components/z-card.js +1 -83
- package/dist/components/z-carousel.js +1 -234
- package/dist/components/z-chip.js +1 -8
- package/dist/components/z-color-picker.js +1 -234
- package/dist/components/z-combobox.js +1 -393
- package/dist/components/z-cover-hero.js +1 -66
- package/dist/components/z-date-picker.js +16 -528
- package/dist/components/z-divider.js +1 -8
- package/dist/components/z-dragdrop-area.js +1 -8
- package/dist/components/z-file-upload.js +1 -253
- package/dist/components/z-file.js +1 -89
- package/dist/components/z-ghost-loading.js +1 -8
- package/dist/components/z-icon.js +1 -8
- package/dist/components/z-info-box.js +1 -51
- package/dist/components/z-info-reveal.js +1 -8
- package/dist/components/z-input-message.js +1 -8
- package/dist/components/z-input.js +1 -8
- package/dist/components/z-list-element.js +1 -8
- package/dist/components/z-list-group.js +1 -8
- package/dist/components/z-list.js +1 -8
- package/dist/components/z-logo.js +1 -56
- package/dist/components/z-menu-deprecated.js +1 -144
- package/dist/components/z-menu-section-deprecated.js +1 -84
- package/dist/components/z-menu-section.js +1 -226
- package/dist/components/z-menu.js +1 -353
- package/dist/components/z-modal.js +1 -8
- package/dist/components/z-myz-card-alert.js +1 -101
- package/dist/components/z-myz-card-body.js +1 -8
- package/dist/components/z-myz-card-cover.js +1 -8
- package/dist/components/z-myz-card-dictionary.js +1 -94
- package/dist/components/z-myz-card-footer-sections.js +1 -36
- package/dist/components/z-myz-card-footer.js +1 -99
- package/dist/components/z-myz-card-header.js +1 -8
- package/dist/components/z-myz-card-icon.js +1 -49
- package/dist/components/z-myz-card-info.js +1 -162
- package/dist/components/z-myz-card-list.js +1 -58
- package/dist/components/z-myz-card.js +1 -8
- package/dist/components/z-myz-list-item.js +1 -8
- package/dist/components/z-myz-list.js +1 -71
- package/dist/components/z-navigation-tabs.js +1 -272
- package/dist/components/z-notification.js +1 -68
- package/dist/components/z-offcanvas.js +1 -8
- package/dist/components/z-otp.js +1 -75
- package/dist/components/z-pagination.js +1 -283
- package/dist/components/z-panel-elem.js +1 -66
- package/dist/components/z-popover.js +1 -8
- package/dist/components/z-range-picker.js +1 -413
- package/dist/components/z-result-card.js +1 -121
- package/dist/components/z-searchbar.js +1 -8
- package/dist/components/z-section-title.js +1 -52
- package/dist/components/z-select.js +1 -585
- package/dist/components/z-skip-to-content.js +1 -93
- package/dist/components/z-slideshow.js +1 -161
- package/dist/components/z-stepper-item.js +1 -60
- package/dist/components/z-stepper.js +1 -36
- package/dist/components/z-table.js +1 -68
- package/dist/components/z-tag.js +1 -8
- package/dist/components/z-tbody.js +1 -36
- package/dist/components/z-td.js +1 -89
- package/dist/components/z-tfoot.js +1 -39
- package/dist/components/z-th.js +1 -112
- package/dist/components/z-thead.js +1 -42
- package/dist/components/z-toast-notification-list.js +1 -79
- package/dist/components/z-toast-notification.js +2 -4230
- package/dist/components/z-toggle-button.js +1 -64
- package/dist/components/z-toggle-switch.js +1 -73
- package/dist/components/z-tool.js +1 -260
- package/dist/components/z-toolbar.js +1 -165
- package/dist/components/z-tooltip.js +1 -8
- package/dist/components/z-tr.js +1 -101
- package/dist/components/z-tree-list.js +1 -162
- package/dist/components/z-visually-hidden.js +1 -36
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/breakpoints-Q-tWjk7P.js +9 -0
- package/dist/esm/iconset-AwzX9V8L.js +1024 -0
- package/dist/esm/index-BKCj6NR2.js +405 -0
- package/dist/esm/index-fIt9Ytc6.js +2653 -0
- package/dist/esm/index.js +4 -6
- package/dist/esm/loader.js +3 -6
- package/dist/esm/utils-BEzZQwOB.js +249 -0
- package/dist/esm/utils-DuuLzXZj.js +2712 -0
- package/dist/esm/web-components-library.js +5 -7
- package/dist/esm/z-accordion.entry.js +35 -11
- package/dist/esm/z-alert.entry.js +4 -8
- package/dist/esm/z-anchor-navigation.entry.js +25 -8
- package/dist/esm/z-app-header-deprecated.entry.js +53 -20
- package/dist/esm/z-app-header_12.entry.js +425 -333
- package/dist/esm/z-aria-alert.entry.js +4 -5
- package/dist/esm/z-avatar.entry.js +9 -11
- package/dist/esm/z-book-card-app.entry.js +10 -16
- package/dist/esm/z-book-card-deprecated.entry.js +10 -22
- package/dist/esm/z-book-card.entry.js +11 -21
- package/dist/esm/z-book-cover.entry.js +6 -9
- package/dist/esm/z-breadcrumb.entry.js +27 -20
- package/dist/esm/z-button-sort.entry.js +9 -12
- package/dist/esm/z-card.entry.js +9 -10
- package/dist/esm/z-carousel.entry.js +50 -28
- package/dist/esm/z-chip.entry.js +9 -11
- package/dist/esm/z-color-picker.entry.js +24 -16
- package/dist/esm/z-combobox.entry.js +43 -35
- package/dist/esm/z-cover-hero.entry.js +18 -9
- package/dist/esm/z-date-picker.entry.js +352 -329
- package/dist/esm/z-dragdrop-area_2.entry.js +18 -20
- package/dist/esm/z-file-upload.entry.js +22 -17
- package/dist/esm/z-file.entry.js +6 -11
- package/dist/esm/z-ghost-loading.entry.js +4 -7
- package/dist/esm/z-info-box.entry.js +5 -8
- package/dist/esm/z-info-reveal.entry.js +20 -11
- package/dist/esm/z-logo.entry.js +4 -13
- package/dist/esm/z-menu-deprecated.entry.js +23 -12
- package/dist/esm/z-menu-section-deprecated.entry.js +10 -11
- package/dist/esm/z-menu-section.entry.js +15 -14
- package/dist/esm/z-menu.entry.js +27 -15
- package/dist/esm/z-myz-card-alert.entry.js +5 -12
- package/dist/esm/z-myz-card-dictionary.entry.js +9 -10
- package/dist/esm/z-myz-card-footer-sections.entry.js +4 -7
- package/dist/esm/z-myz-card-footer.entry.js +7 -13
- package/dist/esm/z-myz-card-icon.entry.js +6 -8
- package/dist/esm/z-myz-card-info.entry.js +8 -11
- package/dist/esm/z-myz-card-list.entry.js +4 -8
- package/dist/esm/z-myz-card_4.entry.js +16 -29
- package/dist/esm/z-myz-list-item.entry.js +9 -15
- package/dist/esm/z-myz-list.entry.js +7 -10
- package/dist/esm/z-navigation-tabs.entry.js +28 -16
- package/dist/esm/z-notification.entry.js +12 -10
- package/dist/esm/z-otp.entry.js +10 -12
- package/dist/esm/z-pagination.entry.js +30 -18
- package/dist/esm/z-panel-elem.entry.js +7 -15
- package/dist/esm/z-popover.entry.js +35 -17
- package/dist/esm/z-range-picker.entry.js +38 -29
- package/dist/esm/z-result-card.entry.js +7 -14
- package/dist/esm/z-section-title.entry.js +12 -8
- package/dist/esm/z-select.entry.js +23 -29
- package/dist/esm/z-skip-to-content.entry.js +8 -11
- package/dist/esm/z-slideshow.entry.js +12 -14
- package/dist/esm/z-stepper-item.entry.js +4 -12
- package/dist/esm/z-stepper.entry.js +4 -7
- package/dist/esm/z-table.entry.js +21 -16
- package/dist/esm/z-tbody.entry.js +16 -3
- package/dist/esm/z-td.entry.js +58 -4
- package/dist/esm/z-tfoot.entry.js +20 -3
- package/dist/esm/z-th.entry.js +87 -4
- package/dist/esm/z-thead.entry.js +25 -3
- package/dist/esm/z-toast-notification-list.entry.js +11 -10
- package/dist/esm/z-toast-notification.entry.js +4034 -3995
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +13 -12
- package/dist/esm/z-tool.entry.js +28 -27
- package/dist/esm/z-toolbar.entry.js +7 -10
- package/dist/esm/z-tooltip.entry.js +15 -9
- package/dist/esm/z-tr.entry.js +85 -9
- package/dist/esm/z-tree-list.entry.js +10 -12
- package/dist/esm/z-visually-hidden.entry.js +4 -7
- package/dist/types/components/book-card/z-book-card/index.d.ts +2 -9
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -55
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -6
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -3
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-section-title/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
- package/dist/types/components/list/z-list/index.d.ts +2 -1
- package/dist/types/components/list/z-list-element/index.d.ts +2 -2
- package/dist/types/components/list/z-list-group/index.d.ts +2 -1
- package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
- package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
- package/dist/types/components/table/cells/z-th/index.d.ts +2 -1
- package/dist/types/components/table/z-table/index.d.ts +2 -2
- package/dist/types/components/table/z-tbody/index.d.ts +2 -1
- package/dist/types/components/table/z-tfoot/index.d.ts +2 -1
- package/dist/types/components/table/z-thead/index.d.ts +2 -1
- package/dist/types/components/table/z-tr/index.d.ts +2 -2
- package/dist/types/components/z-accordion/index.d.ts +9 -12
- package/dist/types/components/z-anchor-navigation/index.d.ts +3 -2
- package/dist/types/components/z-app-header/index.d.ts +10 -8
- package/dist/types/components/z-aria-alert/index.d.ts +2 -1
- package/dist/types/components/z-avatar/index.d.ts +2 -1
- package/dist/types/components/z-book-cover/index.d.ts +2 -5
- package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
- package/dist/types/components/z-button/index.d.ts +6 -3
- package/dist/types/components/z-button-sort/index.d.ts +2 -2
- package/dist/types/components/z-card/index.d.ts +3 -9
- package/dist/types/components/z-carousel/index.d.ts +5 -4
- package/dist/types/components/z-chip/index.d.ts +2 -2
- package/dist/types/components/z-color-picker/index.d.ts +2 -2
- package/dist/types/components/z-combobox/index.d.ts +3 -2
- package/dist/types/components/z-cover-hero/index.d.ts +2 -4
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-icon/index.d.ts +17 -2
- package/dist/types/components/z-info-box/index.d.ts +2 -2
- package/dist/types/components/z-info-reveal/index.d.ts +2 -5
- package/dist/types/components/z-input/index.d.ts +9 -4
- package/dist/types/components/z-input-message/index.d.ts +6 -1
- package/dist/types/components/z-logo/index.d.ts +2 -1
- package/dist/types/components/z-menu/index.d.ts +2 -3
- package/dist/types/components/z-menu-section/index.d.ts +2 -2
- package/dist/types/components/z-modal/index.d.ts +2 -3
- package/dist/types/components/z-navigation-tabs/index.d.ts +2 -4
- package/dist/types/components/z-notification/index.d.ts +4 -3
- package/dist/types/components/z-offcanvas/index.d.ts +2 -5
- package/dist/types/components/z-pagination/index.d.ts +2 -4
- package/dist/types/components/z-panel-elem/index.d.ts +2 -1
- package/dist/types/components/z-popover/index.d.ts +2 -7
- package/dist/types/components/z-result-card/index.d.ts +2 -1
- package/dist/types/components/z-searchbar/index.d.ts +28 -35
- package/dist/types/components/z-select/index.d.ts +2 -3
- package/dist/types/components/z-skip-to-content/index.d.ts +2 -1
- package/dist/types/components/z-stepper/index.d.ts +2 -1
- package/dist/types/components/z-stepper-item/index.d.ts +2 -1
- package/dist/types/components/z-tag/index.d.ts +2 -3
- package/dist/types/components/z-toast-notification/index.d.ts +10 -9
- package/dist/types/components/z-toast-notification-list/index.d.ts +2 -1
- package/dist/types/components/z-toggle-button/index.d.ts +2 -2
- package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
- package/dist/types/components/z-tool/index.d.ts +2 -2
- package/dist/types/components/z-toolbar/index.d.ts +2 -2
- package/dist/types/components/z-tooltip/index.d.ts +2 -6
- package/dist/types/components/z-visually-hidden/index.d.ts +2 -1
- package/dist/types/components.d.ts +1398 -769
- package/dist/types/constants/iconset.d.ts +30 -6
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +3 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +2 -1
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +194 -8
- package/dist/types/utils/storybook-utils.d.ts +7 -2
- package/dist/types/utils/utils.d.ts +2 -0
- package/dist/web-components-library/index.esm.js +1 -2
- package/dist/web-components-library/p-053470ec.entry.js +1 -0
- package/dist/web-components-library/p-071d2a57.entry.js +1 -0
- package/dist/web-components-library/p-0e9e73ed.entry.js +1 -0
- package/dist/web-components-library/p-1397ebb2.entry.js +1 -0
- package/dist/web-components-library/p-13d3c53c.entry.js +1 -0
- package/dist/web-components-library/p-1418f4d2.entry.js +1 -0
- package/dist/web-components-library/p-1432864e.entry.js +1 -0
- package/dist/web-components-library/p-150171da.entry.js +1 -0
- package/dist/web-components-library/p-16d99a59.entry.js +1 -0
- package/dist/web-components-library/p-17276ae7.entry.js +1 -0
- package/dist/web-components-library/p-1afc3227.entry.js +1 -0
- package/dist/web-components-library/p-1d00c30e.entry.js +1 -0
- package/dist/web-components-library/p-2621b31f.entry.js +1 -0
- package/dist/web-components-library/p-263b4960.entry.js +1 -0
- package/dist/web-components-library/p-2f79d3fd.entry.js +1 -0
- package/dist/web-components-library/p-3aa12417.entry.js +1 -0
- package/dist/web-components-library/p-4170d86b.entry.js +1 -0
- package/dist/web-components-library/p-41edfbd3.entry.js +1 -0
- package/dist/web-components-library/p-420b547f.entry.js +1 -0
- package/dist/web-components-library/p-473594e3.entry.js +1 -0
- package/dist/web-components-library/p-48ef2fb1.entry.js +1 -0
- package/dist/web-components-library/p-50a15c76.entry.js +16 -0
- package/dist/web-components-library/p-5c3bc8a1.entry.js +1 -0
- package/dist/web-components-library/p-733ddcca.entry.js +1 -0
- package/dist/web-components-library/p-7648a0b0.entry.js +1 -0
- package/dist/web-components-library/p-7a58bb24.entry.js +1 -0
- package/dist/web-components-library/p-7b4ca721.entry.js +1 -0
- package/dist/web-components-library/p-7fa3211f.entry.js +2 -0
- package/dist/web-components-library/p-80eb4ada.entry.js +1 -0
- package/dist/web-components-library/p-8237255f.entry.js +1 -0
- package/dist/web-components-library/p-8711674f.entry.js +1 -0
- package/dist/web-components-library/p-90a25f58.entry.js +1 -0
- package/dist/web-components-library/p-93e2f49e.entry.js +1 -0
- package/dist/web-components-library/p-94bc612d.entry.js +1 -0
- package/dist/web-components-library/p-98165529.entry.js +1 -0
- package/dist/web-components-library/p-99d355d6.entry.js +1 -0
- package/dist/web-components-library/p-9b2589a6.entry.js +1 -0
- package/dist/web-components-library/p-9f9b9b8e.entry.js +1 -0
- package/dist/web-components-library/p-AwzX9V8L.js +1 -0
- package/dist/web-components-library/p-B0bOjMSb.js +1 -0
- package/dist/web-components-library/p-B85MJLTf.js +1 -0
- package/dist/web-components-library/p-B8WJfd4z.js +1 -0
- package/dist/web-components-library/p-BKCj6NR2.js +1 -0
- package/dist/web-components-library/p-Q-tWjk7P.js +1 -0
- package/dist/web-components-library/p-a0675e97.entry.js +1 -0
- package/dist/web-components-library/p-a26011c7.entry.js +1 -0
- package/dist/web-components-library/p-a336b496.entry.js +1 -0
- package/dist/web-components-library/p-a9282ee9.entry.js +1 -0
- package/dist/web-components-library/p-acd32089.entry.js +1 -0
- package/dist/web-components-library/p-addac0e0.entry.js +1 -0
- package/dist/web-components-library/p-b127d150.entry.js +1 -0
- package/dist/web-components-library/p-b64dd64c.entry.js +1 -0
- package/dist/web-components-library/p-b757d2dc.entry.js +1 -0
- package/dist/web-components-library/p-b76f39fa.entry.js +1 -0
- package/dist/web-components-library/p-b7907578.entry.js +1 -0
- package/dist/web-components-library/p-bb319405.entry.js +1 -0
- package/dist/web-components-library/p-c3a6159b.entry.js +1 -0
- package/dist/web-components-library/p-ca89f8e8.entry.js +1 -0
- package/dist/web-components-library/p-cb6af60f.entry.js +1 -0
- package/dist/web-components-library/p-d0c0e9f1.entry.js +1 -0
- package/dist/web-components-library/p-d6ff2160.entry.js +1 -0
- package/dist/web-components-library/p-d756e131.entry.js +1 -0
- package/dist/web-components-library/p-d79a7787.entry.js +1 -0
- package/dist/web-components-library/p-d7fc390f.entry.js +1 -0
- package/dist/web-components-library/p-d9998674.entry.js +1 -0
- package/dist/web-components-library/p-d9a20a51.entry.js +1 -0
- package/dist/web-components-library/p-da977942.entry.js +1 -0
- package/dist/web-components-library/p-e03fc01d.entry.js +1 -0
- package/dist/web-components-library/p-eb093728.entry.js +1 -0
- package/dist/web-components-library/p-ebd8c113.entry.js +1 -0
- package/dist/web-components-library/p-ecf55fe6.entry.js +1 -0
- package/dist/web-components-library/p-f2ebf81b.entry.js +1 -0
- package/dist/web-components-library/p-f33d8f8d.entry.js +1 -0
- package/dist/web-components-library/p-f4082ec2.entry.js +1 -0
- package/dist/web-components-library/p-fIt9Ytc6.js +2 -0
- package/dist/web-components-library/p-fad8e9b8.entry.js +1 -0
- package/dist/web-components-library/p-fb7edb66.entry.js +1 -0
- package/dist/web-components-library/p-fea76ac6.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +86 -26
- package/dist/web-components-library/web-components-library.esm.js +1 -2
- package/package.json +25 -22
- package/react/components.js +0 -1
- package/react/index.js +0 -1
- package/react/react-component-lib/createComponent.js +0 -1
- package/react/react-component-lib/createOverlayComponent.js +0 -1
- package/react/react-component-lib/index.js +0 -1
- package/react/react-component-lib/interfaces.js +0 -1
- package/react/react-component-lib/utils/attachProps.js +0 -1
- package/react/react-component-lib/utils/case.js +0 -1
- package/react/react-component-lib/utils/dev.js +0 -1
- package/react/react-component-lib/utils/index.js +0 -1
- package/readme.md +8 -19
- package/www/build/index.esm.js +1 -2
- package/www/build/p-053470ec.entry.js +1 -0
- package/www/build/p-071d2a57.entry.js +1 -0
- package/www/build/p-0e9e73ed.entry.js +1 -0
- package/www/build/p-1397ebb2.entry.js +1 -0
- package/www/build/p-13d3c53c.entry.js +1 -0
- package/www/build/p-1418f4d2.entry.js +1 -0
- package/www/build/p-1432864e.entry.js +1 -0
- package/www/build/p-150171da.entry.js +1 -0
- package/www/build/p-16d99a59.entry.js +1 -0
- package/www/build/p-17276ae7.entry.js +1 -0
- package/www/build/p-1afc3227.entry.js +1 -0
- package/www/build/p-1d00c30e.entry.js +1 -0
- package/www/build/p-2621b31f.entry.js +1 -0
- package/www/build/p-263b4960.entry.js +1 -0
- package/www/build/p-2f79d3fd.entry.js +1 -0
- package/www/build/p-3aa12417.entry.js +1 -0
- package/www/build/p-40eed148.js +1 -0
- package/www/build/p-4170d86b.entry.js +1 -0
- package/www/build/p-41edfbd3.entry.js +1 -0
- package/www/build/p-420b547f.entry.js +1 -0
- package/www/build/p-473594e3.entry.js +1 -0
- package/www/build/p-48ef2fb1.entry.js +1 -0
- package/www/build/p-50a15c76.entry.js +16 -0
- package/www/build/p-5c3bc8a1.entry.js +1 -0
- package/www/build/p-733ddcca.entry.js +1 -0
- package/www/build/p-7648a0b0.entry.js +1 -0
- package/www/build/p-7a58bb24.entry.js +1 -0
- package/www/build/p-7b4ca721.entry.js +1 -0
- package/www/build/p-7fa3211f.entry.js +2 -0
- package/www/build/p-80eb4ada.entry.js +1 -0
- package/www/build/p-8237255f.entry.js +1 -0
- package/www/build/p-8711674f.entry.js +1 -0
- package/www/build/p-90a25f58.entry.js +1 -0
- package/www/build/p-93e2f49e.entry.js +1 -0
- package/www/build/p-94bc612d.entry.js +1 -0
- package/www/build/p-98165529.entry.js +1 -0
- package/www/build/p-99d355d6.entry.js +1 -0
- package/www/build/p-9b2589a6.entry.js +1 -0
- package/www/build/p-9f9b9b8e.entry.js +1 -0
- package/www/build/p-AwzX9V8L.js +1 -0
- package/www/build/p-B0bOjMSb.js +1 -0
- package/www/build/p-B85MJLTf.js +1 -0
- package/www/build/p-B8WJfd4z.js +1 -0
- package/www/build/p-BKCj6NR2.js +1 -0
- package/www/build/p-Q-tWjk7P.js +1 -0
- package/www/build/p-a0675e97.entry.js +1 -0
- package/www/build/p-a26011c7.entry.js +1 -0
- package/www/build/p-a336b496.entry.js +1 -0
- package/www/build/p-a9282ee9.entry.js +1 -0
- package/www/build/p-acd32089.entry.js +1 -0
- package/www/build/p-addac0e0.entry.js +1 -0
- package/www/build/p-b127d150.entry.js +1 -0
- package/www/build/p-b64dd64c.entry.js +1 -0
- package/www/build/p-b757d2dc.entry.js +1 -0
- package/www/build/p-b76f39fa.entry.js +1 -0
- package/www/build/p-b7907578.entry.js +1 -0
- package/www/build/p-bb319405.entry.js +1 -0
- package/www/build/p-c3a6159b.entry.js +1 -0
- package/www/build/p-c9523ede.css +2698 -0
- package/www/build/p-ca89f8e8.entry.js +1 -0
- package/www/build/p-cb6af60f.entry.js +1 -0
- package/www/build/p-d0c0e9f1.entry.js +1 -0
- package/www/build/p-d6ff2160.entry.js +1 -0
- package/www/build/p-d756e131.entry.js +1 -0
- package/www/build/p-d79a7787.entry.js +1 -0
- package/www/build/p-d7fc390f.entry.js +1 -0
- package/www/build/p-d9998674.entry.js +1 -0
- package/www/build/p-d9a20a51.entry.js +1 -0
- package/www/build/p-da977942.entry.js +1 -0
- package/www/build/p-e03fc01d.entry.js +1 -0
- package/www/build/p-eb093728.entry.js +1 -0
- package/www/build/p-ebd8c113.entry.js +1 -0
- package/www/build/p-ecf55fe6.entry.js +1 -0
- package/www/build/p-f2ebf81b.entry.js +1 -0
- package/www/build/p-f33d8f8d.entry.js +1 -0
- package/www/build/p-f4082ec2.entry.js +1 -0
- package/www/build/p-fIt9Ytc6.js +2 -0
- package/www/build/p-fad8e9b8.entry.js +1 -0
- package/www/build/p-fb7edb66.entry.js +1 -0
- package/www/build/p-fea76ac6.entry.js +1 -0
- package/www/build/web-components-library.css +86 -26
- package/www/build/web-components-library.esm.js +1 -2
- package/www/index.html +1 -1
- package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
- package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/breakpoints-8a1e87e0.js +0 -11
- package/dist/cjs/breakpoints-8a1e87e0.js.map +0 -1
- package/dist/cjs/iconset-5d47610c.js +0 -1016
- package/dist/cjs/iconset-5d47610c.js.map +0 -1
- package/dist/cjs/index-1ee051ca.js +0 -23
- package/dist/cjs/index-1ee051ca.js.map +0 -1
- package/dist/cjs/index-43dfc8b2.js +0 -47
- package/dist/cjs/index-43dfc8b2.js.map +0 -1
- package/dist/cjs/index-44e3cf31.js +0 -73
- package/dist/cjs/index-44e3cf31.js.map +0 -1
- package/dist/cjs/index-5eb95b44.js +0 -21
- package/dist/cjs/index-5eb95b44.js.map +0 -1
- package/dist/cjs/index-8770e71a.js +0 -20
- package/dist/cjs/index-8770e71a.js.map +0 -1
- package/dist/cjs/index-96af6326.js +0 -2324
- package/dist/cjs/index-96af6326.js.map +0 -1
- package/dist/cjs/index-d214a119.js +0 -67
- package/dist/cjs/index-d214a119.js.map +0 -1
- package/dist/cjs/index-e30d0503.js +0 -409
- package/dist/cjs/index-e30d0503.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-4f7b4830.js +0 -2710
- package/dist/cjs/utils-4f7b4830.js.map +0 -1
- package/dist/cjs/utils-b1859d65.js +0 -261
- package/dist/cjs/utils-b1859d65.js.map +0 -1
- package/dist/cjs/web-components-library.cjs.js.map +0 -1
- package/dist/cjs/z-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +0 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +0 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-card.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-cover.cjs.entry.js.map +0 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +0 -1
- package/dist/cjs/z-button-sort.cjs.entry.js.map +0 -1
- package/dist/cjs/z-card.cjs.entry.js.map +0 -1
- package/dist/cjs/z-carousel.cjs.entry.js.map +0 -1
- package/dist/cjs/z-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/z-color-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/z-combobox.cjs.entry.js.map +0 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +0 -1
- package/dist/cjs/z-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +0 -1
- package/dist/cjs/z-file-upload.cjs.entry.js.map +0 -1
- package/dist/cjs/z-file.cjs.entry.js.map +0 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +0 -1
- package/dist/cjs/z-info-box.cjs.entry.js.map +0 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +0 -1
- package/dist/cjs/z-logo.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-section.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/z-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
- package/dist/cjs/z-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
- package/dist/cjs/z-popover.cjs.entry.js.map +0 -1
- package/dist/cjs/z-range-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/z-result-card.cjs.entry.js.map +0 -1
- package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
- package/dist/cjs/z-select.cjs.entry.js.map +0 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +0 -1
- package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/z-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/z-table.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tbody.cjs.entry.js.map +0 -1
- package/dist/cjs/z-td.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tfoot.cjs.entry.js.map +0 -1
- package/dist/cjs/z-th.cjs.entry.js.map +0 -1
- package/dist/cjs/z-thead.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tool.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toolbar.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tr.cjs.entry.js.map +0 -1
- package/dist/cjs/z-tree-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +0 -1
- package/dist/collection/__mocks__/fileMock.js +0 -2
- package/dist/collection/__mocks__/fileMock.js.map +0 -1
- package/dist/collection/beans/index.js.map +0 -1
- package/dist/collection/components/book-card/z-book-card/index.js.map +0 -1
- package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -176
- package/dist/collection/components/book-card/z-book-card/index.stories.js.map +0 -1
- package/dist/collection/components/book-card/z-book-card-app/index.js.map +0 -1
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -41
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +0 -1
- package/dist/collection/components/css-components/z-fab/index.stories.js +0 -104
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +0 -1
- package/dist/collection/components/css-components/z-label/index.stories.js +0 -10
- package/dist/collection/components/css-components/z-label/index.stories.js.map +0 -1
- package/dist/collection/components/css-components/z-link/index.stories.js +0 -74
- package/dist/collection/components/css-components/z-link/index.stories.js.map +0 -1
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -73
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +0 -1
- package/dist/collection/components/date-picker/utils.js.map +0 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +0 -1
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -112
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +0 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +0 -1
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -110
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -637
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +0 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -384
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -129
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -41
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +0 -1
- package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -57
- package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +0 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +0 -1
- package/dist/collection/components/file-upload/z-file/index.js.map +0 -1
- package/dist/collection/components/file-upload/z-file/index.stories.js +0 -17
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +0 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +0 -1
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -140
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +0 -1
- package/dist/collection/components/index.js.map +0 -1
- package/dist/collection/components/list/z-list/index.js.map +0 -1
- package/dist/collection/components/list/z-list/index.stories.js +0 -185
- package/dist/collection/components/list/z-list/index.stories.js.map +0 -1
- package/dist/collection/components/list/z-list-element/index.js.map +0 -1
- package/dist/collection/components/list/z-list-element/index.stories.js +0 -128
- package/dist/collection/components/list/z-list-element/index.stories.js.map +0 -1
- package/dist/collection/components/list/z-list-group/index.js.map +0 -1
- package/dist/collection/components/list/z-list-group/index.stories.js +0 -121
- package/dist/collection/components/list/z-list-group/index.stories.js.map +0 -1
- package/dist/collection/components/list/z-tree-list/index.js.map +0 -1
- package/dist/collection/components/list/z-tree-list/index.stories.js +0 -120
- package/dist/collection/components/list/z-tree-list/index.stories.js.map +0 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
- package/dist/collection/components/table/cells/z-td/styles.css +0 -71
- package/dist/collection/components/table/cells/z-th/index.js.map +0 -1
- package/dist/collection/components/table/z-table/index.js.map +0 -1
- package/dist/collection/components/table/z-table/index.stories.js +0 -283
- package/dist/collection/components/table/z-table/index.stories.js.map +0 -1
- package/dist/collection/components/table/z-tbody/index.js.map +0 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +0 -1
- package/dist/collection/components/table/z-thead/index.js.map +0 -1
- package/dist/collection/components/table/z-tr/index.js.map +0 -1
- package/dist/collection/components/z-accordion/index.js.map +0 -1
- package/dist/collection/components/z-accordion/index.stories.js +0 -165
- package/dist/collection/components/z-accordion/index.stories.js.map +0 -1
- package/dist/collection/components/z-anchor-navigation/index.js.map +0 -1
- package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -351
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +0 -1
- package/dist/collection/components/z-app-header/index.js.map +0 -1
- package/dist/collection/components/z-app-header/index.stories.js +0 -303
- package/dist/collection/components/z-app-header/index.stories.js.map +0 -1
- package/dist/collection/components/z-aria-alert/index.js.map +0 -1
- package/dist/collection/components/z-aria-alert/index.stories.js +0 -76
- package/dist/collection/components/z-aria-alert/index.stories.js.map +0 -1
- package/dist/collection/components/z-avatar/index.js.map +0 -1
- package/dist/collection/components/z-avatar/index.stories.js +0 -51
- package/dist/collection/components/z-avatar/index.stories.js.map +0 -1
- package/dist/collection/components/z-book-cover/index.js.map +0 -1
- package/dist/collection/components/z-book-cover/index.stories.js +0 -31
- package/dist/collection/components/z-book-cover/index.stories.js.map +0 -1
- package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
- package/dist/collection/components/z-breadcrumb/index.stories.js +0 -68
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +0 -1
- package/dist/collection/components/z-button/index.js.map +0 -1
- package/dist/collection/components/z-button/index.stories.js +0 -104
- package/dist/collection/components/z-button/index.stories.js.map +0 -1
- package/dist/collection/components/z-button-sort/index.js.map +0 -1
- package/dist/collection/components/z-button-sort/index.stories.js +0 -31
- package/dist/collection/components/z-button-sort/index.stories.js.map +0 -1
- package/dist/collection/components/z-card/index.js.map +0 -1
- package/dist/collection/components/z-card/index.stories.js +0 -303
- package/dist/collection/components/z-card/index.stories.js.map +0 -1
- package/dist/collection/components/z-carousel/index.js.map +0 -1
- package/dist/collection/components/z-carousel/index.stories.js +0 -129
- package/dist/collection/components/z-carousel/index.stories.js.map +0 -1
- package/dist/collection/components/z-chip/index.js.map +0 -1
- package/dist/collection/components/z-chip/index.stories.js +0 -70
- package/dist/collection/components/z-chip/index.stories.js.map +0 -1
- package/dist/collection/components/z-color-picker/index.js.map +0 -1
- package/dist/collection/components/z-color-picker/index.stories.js +0 -34
- package/dist/collection/components/z-color-picker/index.stories.js.map +0 -1
- package/dist/collection/components/z-combobox/index.js.map +0 -1
- package/dist/collection/components/z-combobox/index.stories.js +0 -78
- package/dist/collection/components/z-combobox/index.stories.js.map +0 -1
- package/dist/collection/components/z-cover-hero/index.js.map +0 -1
- package/dist/collection/components/z-cover-hero/index.stories.js +0 -256
- package/dist/collection/components/z-cover-hero/index.stories.js.map +0 -1
- package/dist/collection/components/z-divider/index.js.map +0 -1
- package/dist/collection/components/z-divider/index.stories.js +0 -45
- package/dist/collection/components/z-divider/index.stories.js.map +0 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +0 -1
- package/dist/collection/components/z-ghost-loading/index.stories.js +0 -22
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +0 -1
- package/dist/collection/components/z-icon/index.js.map +0 -1
- package/dist/collection/components/z-icon/index.stories.js +0 -71
- package/dist/collection/components/z-icon/index.stories.js.map +0 -1
- package/dist/collection/components/z-info-box/index.js.map +0 -1
- package/dist/collection/components/z-info-box/index.stories.js +0 -20
- package/dist/collection/components/z-info-box/index.stories.js.map +0 -1
- package/dist/collection/components/z-info-reveal/index.js.map +0 -1
- package/dist/collection/components/z-info-reveal/index.stories.js +0 -59
- package/dist/collection/components/z-info-reveal/index.stories.js.map +0 -1
- package/dist/collection/components/z-input/index.js.map +0 -1
- package/dist/collection/components/z-input/index.stories.js +0 -294
- package/dist/collection/components/z-input/index.stories.js.map +0 -1
- package/dist/collection/components/z-input/styles.css +0 -404
- package/dist/collection/components/z-input-message/index.js.map +0 -1
- package/dist/collection/components/z-input-message/index.stories.js +0 -37
- package/dist/collection/components/z-input-message/index.stories.js.map +0 -1
- package/dist/collection/components/z-logo/index.js.map +0 -1
- package/dist/collection/components/z-logo/index.stories.js +0 -26
- package/dist/collection/components/z-logo/index.stories.js.map +0 -1
- package/dist/collection/components/z-menu/index.js.map +0 -1
- package/dist/collection/components/z-menu/index.stories.js +0 -123
- package/dist/collection/components/z-menu/index.stories.js.map +0 -1
- package/dist/collection/components/z-menu-section/index.js.map +0 -1
- package/dist/collection/components/z-menu-section/index.stories.js +0 -41
- package/dist/collection/components/z-menu-section/index.stories.js.map +0 -1
- package/dist/collection/components/z-modal/index.js.map +0 -1
- package/dist/collection/components/z-modal/index.stories.js +0 -202
- package/dist/collection/components/z-modal/index.stories.js.map +0 -1
- package/dist/collection/components/z-navigation-tabs/index.js.map +0 -1
- package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -191
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +0 -1
- package/dist/collection/components/z-notification/index.js.map +0 -1
- package/dist/collection/components/z-notification/index.stories.js +0 -147
- package/dist/collection/components/z-notification/index.stories.js.map +0 -1
- package/dist/collection/components/z-offcanvas/index.js.map +0 -1
- package/dist/collection/components/z-offcanvas/index.stories.js +0 -144
- package/dist/collection/components/z-offcanvas/index.stories.js.map +0 -1
- package/dist/collection/components/z-pagination/index.js.map +0 -1
- package/dist/collection/components/z-pagination/index.stories.js +0 -118
- package/dist/collection/components/z-pagination/index.stories.js.map +0 -1
- package/dist/collection/components/z-panel-elem/index.js.map +0 -1
- package/dist/collection/components/z-panel-elem/index.stories.js +0 -26
- package/dist/collection/components/z-panel-elem/index.stories.js.map +0 -1
- package/dist/collection/components/z-popover/index.js.map +0 -1
- package/dist/collection/components/z-popover/index.stories.js +0 -283
- package/dist/collection/components/z-popover/index.stories.js.map +0 -1
- package/dist/collection/components/z-result-card/index.js.map +0 -1
- package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -148
- package/dist/collection/components/z-result-card/z-result-card.stories.js.map +0 -1
- package/dist/collection/components/z-searchbar/index.js.map +0 -1
- package/dist/collection/components/z-searchbar/index.stories.js +0 -337
- package/dist/collection/components/z-searchbar/index.stories.js.map +0 -1
- package/dist/collection/components/z-select/index.js.map +0 -1
- package/dist/collection/components/z-select/index.stories.js +0 -360
- package/dist/collection/components/z-select/index.stories.js.map +0 -1
- package/dist/collection/components/z-skip-to-content/index.js.map +0 -1
- package/dist/collection/components/z-skip-to-content/index.stories.js +0 -41
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +0 -1
- package/dist/collection/components/z-stepper/index.js.map +0 -1
- package/dist/collection/components/z-stepper/index.stories.js +0 -109
- package/dist/collection/components/z-stepper/index.stories.js.map +0 -1
- package/dist/collection/components/z-stepper-item/index.js.map +0 -1
- package/dist/collection/components/z-stepper-item/index.stories.js +0 -59
- package/dist/collection/components/z-stepper-item/index.stories.js.map +0 -1
- package/dist/collection/components/z-tag/index.js.map +0 -1
- package/dist/collection/components/z-tag/index.stories.js +0 -64
- package/dist/collection/components/z-tag/index.stories.js.map +0 -1
- package/dist/collection/components/z-toast-notification/index.js.map +0 -1
- package/dist/collection/components/z-toast-notification/index.stories.js +0 -175
- package/dist/collection/components/z-toast-notification/index.stories.js.map +0 -1
- package/dist/collection/components/z-toast-notification-list/index.js.map +0 -1
- package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -148
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +0 -1
- package/dist/collection/components/z-toggle-button/index.js.map +0 -1
- package/dist/collection/components/z-toggle-button/index.stories.js +0 -23
- package/dist/collection/components/z-toggle-button/index.stories.js.map +0 -1
- package/dist/collection/components/z-toggle-switch/index.js.map +0 -1
- package/dist/collection/components/z-toggle-switch/index.stories.js +0 -27
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +0 -1
- package/dist/collection/components/z-tool/index.js.map +0 -1
- package/dist/collection/components/z-tool/index.stories.js +0 -147
- package/dist/collection/components/z-tool/index.stories.js.map +0 -1
- package/dist/collection/components/z-toolbar/index.js.map +0 -1
- package/dist/collection/components/z-toolbar/index.stories.js +0 -318
- package/dist/collection/components/z-toolbar/index.stories.js.map +0 -1
- package/dist/collection/components/z-tooltip/index.js.map +0 -1
- package/dist/collection/components/z-tooltip/index.stories.js +0 -123
- package/dist/collection/components/z-tooltip/index.stories.js.map +0 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +0 -1
- package/dist/collection/components/z-visually-hidden/index.stories.js +0 -28
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +0 -1
- package/dist/collection/constants/breakpoints.js.map +0 -1
- package/dist/collection/constants/icons.js.map +0 -1
- package/dist/collection/constants/iconset.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
- package/dist/collection/utils/storybook-utils.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/breakpoints.js.map +0 -1
- package/dist/components/iconset.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index10.js.map +0 -1
- package/dist/components/index11.js.map +0 -1
- package/dist/components/index12.js.map +0 -1
- package/dist/components/index13.js.map +0 -1
- package/dist/components/index14.js.map +0 -1
- package/dist/components/index15.js.map +0 -1
- package/dist/components/index16.js.map +0 -1
- package/dist/components/index17.js.map +0 -1
- package/dist/components/index18.js.map +0 -1
- package/dist/components/index19.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index20.js.map +0 -1
- package/dist/components/index21.js.map +0 -1
- package/dist/components/index22.js.map +0 -1
- package/dist/components/index23.js.map +0 -1
- package/dist/components/index24.js.map +0 -1
- package/dist/components/index25.js.map +0 -1
- package/dist/components/index26.js.map +0 -1
- package/dist/components/index27.js.map +0 -1
- package/dist/components/index3.js.map +0 -1
- package/dist/components/index4.js.map +0 -1
- package/dist/components/index5.js.map +0 -1
- package/dist/components/index6.js.map +0 -1
- package/dist/components/index7.js.map +0 -1
- package/dist/components/index8.js.map +0 -1
- package/dist/components/index9.js.map +0 -1
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/z-accordion.js.map +0 -1
- package/dist/components/z-alert.js.map +0 -1
- package/dist/components/z-anchor-navigation.js.map +0 -1
- package/dist/components/z-app-header-deprecated.js.map +0 -1
- package/dist/components/z-app-header.js.map +0 -1
- package/dist/components/z-aria-alert.js.map +0 -1
- package/dist/components/z-avatar.js.map +0 -1
- package/dist/components/z-book-card-app.js.map +0 -1
- package/dist/components/z-book-card-deprecated.js.map +0 -1
- package/dist/components/z-book-card.js.map +0 -1
- package/dist/components/z-book-cover.js.map +0 -1
- package/dist/components/z-breadcrumb.js.map +0 -1
- package/dist/components/z-button-sort.js.map +0 -1
- package/dist/components/z-button.js.map +0 -1
- package/dist/components/z-card.js.map +0 -1
- package/dist/components/z-carousel.js.map +0 -1
- package/dist/components/z-chip.js.map +0 -1
- package/dist/components/z-color-picker.js.map +0 -1
- package/dist/components/z-combobox.js.map +0 -1
- package/dist/components/z-cover-hero.js.map +0 -1
- package/dist/components/z-date-picker.js.map +0 -1
- package/dist/components/z-divider.js.map +0 -1
- package/dist/components/z-dragdrop-area.js.map +0 -1
- package/dist/components/z-file-upload.js.map +0 -1
- package/dist/components/z-file.js.map +0 -1
- package/dist/components/z-ghost-loading.js.map +0 -1
- package/dist/components/z-icon.js.map +0 -1
- package/dist/components/z-info-box.js.map +0 -1
- package/dist/components/z-info-reveal.js.map +0 -1
- package/dist/components/z-input-message.js.map +0 -1
- package/dist/components/z-input.js.map +0 -1
- package/dist/components/z-list-element.js.map +0 -1
- package/dist/components/z-list-group.js.map +0 -1
- package/dist/components/z-list.js.map +0 -1
- package/dist/components/z-logo.js.map +0 -1
- package/dist/components/z-menu-deprecated.js.map +0 -1
- package/dist/components/z-menu-section-deprecated.js.map +0 -1
- package/dist/components/z-menu-section.js.map +0 -1
- package/dist/components/z-menu.js.map +0 -1
- package/dist/components/z-modal.js.map +0 -1
- package/dist/components/z-myz-card-alert.js.map +0 -1
- package/dist/components/z-myz-card-body.js.map +0 -1
- package/dist/components/z-myz-card-cover.js.map +0 -1
- package/dist/components/z-myz-card-dictionary.js.map +0 -1
- package/dist/components/z-myz-card-footer-sections.js.map +0 -1
- package/dist/components/z-myz-card-footer.js.map +0 -1
- package/dist/components/z-myz-card-header.js.map +0 -1
- package/dist/components/z-myz-card-icon.js.map +0 -1
- package/dist/components/z-myz-card-info.js.map +0 -1
- package/dist/components/z-myz-card-list.js.map +0 -1
- package/dist/components/z-myz-card.js.map +0 -1
- package/dist/components/z-myz-list-item.js.map +0 -1
- package/dist/components/z-myz-list.js.map +0 -1
- package/dist/components/z-navigation-tabs.js.map +0 -1
- package/dist/components/z-notification.js.map +0 -1
- package/dist/components/z-offcanvas.js.map +0 -1
- package/dist/components/z-otp.js.map +0 -1
- package/dist/components/z-pagination.js.map +0 -1
- package/dist/components/z-panel-elem.js.map +0 -1
- package/dist/components/z-popover.js.map +0 -1
- package/dist/components/z-range-picker.js.map +0 -1
- package/dist/components/z-result-card.js.map +0 -1
- package/dist/components/z-searchbar.js.map +0 -1
- package/dist/components/z-section-title.js.map +0 -1
- package/dist/components/z-select.js.map +0 -1
- package/dist/components/z-skip-to-content.js.map +0 -1
- package/dist/components/z-slideshow.js.map +0 -1
- package/dist/components/z-stepper-item.js.map +0 -1
- package/dist/components/z-stepper.js.map +0 -1
- package/dist/components/z-table.js.map +0 -1
- package/dist/components/z-tag.js.map +0 -1
- package/dist/components/z-tbody.js.map +0 -1
- package/dist/components/z-td.js.map +0 -1
- package/dist/components/z-tfoot.js.map +0 -1
- package/dist/components/z-th.js.map +0 -1
- package/dist/components/z-thead.js.map +0 -1
- package/dist/components/z-toast-notification-list.js.map +0 -1
- package/dist/components/z-toast-notification.js.map +0 -1
- package/dist/components/z-toggle-button.js.map +0 -1
- package/dist/components/z-toggle-switch.js.map +0 -1
- package/dist/components/z-tool.js.map +0 -1
- package/dist/components/z-toolbar.js.map +0 -1
- package/dist/components/z-tooltip.js.map +0 -1
- package/dist/components/z-tr.js.map +0 -1
- package/dist/components/z-tree-list.js.map +0 -1
- package/dist/components/z-visually-hidden.js.map +0 -1
- package/dist/docs/grid/index.stories.js +0 -54
- package/dist/docs/grid/index.stories.js.map +0 -1
- package/dist/docs/iconset/index.stories.js +0 -32
- package/dist/docs/iconset/index.stories.js.map +0 -1
- package/dist/docs/themes/index.stories.js +0 -108
- package/dist/docs/themes/index.stories.js.map +0 -1
- package/dist/docs/typography/index.stories.js +0 -186
- package/dist/docs/typography/index.stories.js.map +0 -1
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
- package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/breakpoints-d148bfde.js +0 -11
- package/dist/esm/breakpoints-d148bfde.js.map +0 -1
- package/dist/esm/iconset-d7823b13.js +0 -1013
- package/dist/esm/iconset-d7823b13.js.map +0 -1
- package/dist/esm/index-106473a8.js +0 -407
- package/dist/esm/index-106473a8.js.map +0 -1
- package/dist/esm/index-167f46ad.js +0 -71
- package/dist/esm/index-167f46ad.js.map +0 -1
- package/dist/esm/index-21176e80.js +0 -21
- package/dist/esm/index-21176e80.js.map +0 -1
- package/dist/esm/index-39a920c4.js +0 -65
- package/dist/esm/index-39a920c4.js.map +0 -1
- package/dist/esm/index-41934729.js +0 -19
- package/dist/esm/index-41934729.js.map +0 -1
- package/dist/esm/index-4845b32f.js +0 -45
- package/dist/esm/index-4845b32f.js.map +0 -1
- package/dist/esm/index-599cd05a.js +0 -18
- package/dist/esm/index-599cd05a.js.map +0 -1
- package/dist/esm/index-c8ceadeb.js +0 -2293
- package/dist/esm/index-c8ceadeb.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/utils-8d6ca808.js +0 -246
- package/dist/esm/utils-8d6ca808.js.map +0 -1
- package/dist/esm/utils-93ac0e6c.js +0 -2704
- package/dist/esm/utils-93ac0e6c.js.map +0 -1
- package/dist/esm/web-components-library.js.map +0 -1
- package/dist/esm/z-accordion.entry.js.map +0 -1
- package/dist/esm/z-alert.entry.js.map +0 -1
- package/dist/esm/z-anchor-navigation.entry.js.map +0 -1
- package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
- package/dist/esm/z-app-header_12.entry.js.map +0 -1
- package/dist/esm/z-aria-alert.entry.js.map +0 -1
- package/dist/esm/z-avatar.entry.js.map +0 -1
- package/dist/esm/z-book-card-app.entry.js.map +0 -1
- package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
- package/dist/esm/z-book-card.entry.js.map +0 -1
- package/dist/esm/z-book-cover.entry.js.map +0 -1
- package/dist/esm/z-breadcrumb.entry.js.map +0 -1
- package/dist/esm/z-button-sort.entry.js.map +0 -1
- package/dist/esm/z-card.entry.js.map +0 -1
- package/dist/esm/z-carousel.entry.js.map +0 -1
- package/dist/esm/z-chip.entry.js.map +0 -1
- package/dist/esm/z-color-picker.entry.js.map +0 -1
- package/dist/esm/z-combobox.entry.js.map +0 -1
- package/dist/esm/z-cover-hero.entry.js.map +0 -1
- package/dist/esm/z-date-picker.entry.js.map +0 -1
- package/dist/esm/z-dragdrop-area_2.entry.js.map +0 -1
- package/dist/esm/z-file-upload.entry.js.map +0 -1
- package/dist/esm/z-file.entry.js.map +0 -1
- package/dist/esm/z-ghost-loading.entry.js.map +0 -1
- package/dist/esm/z-info-box.entry.js.map +0 -1
- package/dist/esm/z-info-reveal.entry.js.map +0 -1
- package/dist/esm/z-logo.entry.js.map +0 -1
- package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-section.entry.js.map +0 -1
- package/dist/esm/z-menu.entry.js.map +0 -1
- package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
- package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
- package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
- package/dist/esm/z-myz-card-info.entry.js.map +0 -1
- package/dist/esm/z-myz-card-list.entry.js.map +0 -1
- package/dist/esm/z-myz-card_4.entry.js.map +0 -1
- package/dist/esm/z-myz-list-item.entry.js.map +0 -1
- package/dist/esm/z-myz-list.entry.js.map +0 -1
- package/dist/esm/z-navigation-tabs.entry.js.map +0 -1
- package/dist/esm/z-notification.entry.js.map +0 -1
- package/dist/esm/z-otp.entry.js.map +0 -1
- package/dist/esm/z-pagination.entry.js.map +0 -1
- package/dist/esm/z-panel-elem.entry.js.map +0 -1
- package/dist/esm/z-popover.entry.js.map +0 -1
- package/dist/esm/z-range-picker.entry.js.map +0 -1
- package/dist/esm/z-result-card.entry.js.map +0 -1
- package/dist/esm/z-section-title.entry.js.map +0 -1
- package/dist/esm/z-select.entry.js.map +0 -1
- package/dist/esm/z-skip-to-content.entry.js.map +0 -1
- package/dist/esm/z-slideshow.entry.js.map +0 -1
- package/dist/esm/z-stepper-item.entry.js.map +0 -1
- package/dist/esm/z-stepper.entry.js.map +0 -1
- package/dist/esm/z-table.entry.js.map +0 -1
- package/dist/esm/z-tbody.entry.js.map +0 -1
- package/dist/esm/z-td.entry.js.map +0 -1
- package/dist/esm/z-tfoot.entry.js.map +0 -1
- package/dist/esm/z-th.entry.js.map +0 -1
- package/dist/esm/z-thead.entry.js.map +0 -1
- package/dist/esm/z-toast-notification-list.entry.js.map +0 -1
- package/dist/esm/z-toast-notification.entry.js.map +0 -1
- package/dist/esm/z-toggle-button.entry.js.map +0 -1
- package/dist/esm/z-toggle-switch.entry.js.map +0 -1
- package/dist/esm/z-tool.entry.js.map +0 -1
- package/dist/esm/z-toolbar.entry.js.map +0 -1
- package/dist/esm/z-tooltip.entry.js.map +0 -1
- package/dist/esm/z-tr.entry.js.map +0 -1
- package/dist/esm/z-tree-list.entry.js.map +0 -1
- package/dist/esm/z-visually-hidden.entry.js.map +0 -1
- package/dist/types/__mocks__/fileMock.d.ts +0 -2
- package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
- package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
- package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
- package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
- package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
- package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
- package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
- package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
- package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
- package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
- package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
- package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
- package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
- package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
- package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
- package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
- package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
- package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
- package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
- package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
- package/dist/types/components/z-app-header/index.stories.d.ts +0 -121
- package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
- package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
- package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
- package/dist/types/components/z-button/index.stories.d.ts +0 -79
- package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
- package/dist/types/components/z-card/index.stories.d.ts +0 -75
- package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
- package/dist/types/components/z-chip/index.stories.d.ts +0 -46
- package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
- package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
- package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
- package/dist/types/components/z-divider/index.stories.d.ts +0 -37
- package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
- package/dist/types/components/z-icon/index.stories.d.ts +0 -56
- package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
- package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
- package/dist/types/components/z-input/index.stories.d.ts +0 -126
- package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
- package/dist/types/components/z-logo/index.stories.d.ts +0 -18
- package/dist/types/components/z-menu/index.stories.d.ts +0 -26
- package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
- package/dist/types/components/z-modal/index.stories.d.ts +0 -37
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
- package/dist/types/components/z-notification/index.stories.d.ts +0 -61
- package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
- package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
- package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
- package/dist/types/components/z-popover/index.stories.d.ts +0 -82
- package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
- package/dist/types/components/z-searchbar/index.stories.d.ts +0 -159
- package/dist/types/components/z-select/index.stories.d.ts +0 -84
- package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
- package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
- package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
- package/dist/types/components/z-tag/index.stories.d.ts +0 -39
- package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -86
- package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
- package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
- package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
- package/dist/types/components/z-tool/index.stories.d.ts +0 -70
- package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
- package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
- package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -16
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +0 -96
- package/dist/web-components-library/index.esm.js.map +0 -1
- package/dist/web-components-library/p-03a558ef.entry.js +0 -2
- package/dist/web-components-library/p-03a558ef.entry.js.map +0 -1
- package/dist/web-components-library/p-061e28d6.js +0 -2
- package/dist/web-components-library/p-061e28d6.js.map +0 -1
- package/dist/web-components-library/p-0989655c.entry.js +0 -2
- package/dist/web-components-library/p-0989655c.entry.js.map +0 -1
- package/dist/web-components-library/p-15951fc6.entry.js +0 -2
- package/dist/web-components-library/p-15951fc6.entry.js.map +0 -1
- package/dist/web-components-library/p-17e2fed2.entry.js +0 -2
- package/dist/web-components-library/p-17e2fed2.entry.js.map +0 -1
- package/dist/web-components-library/p-19172b2c.entry.js +0 -2
- package/dist/web-components-library/p-19172b2c.entry.js.map +0 -1
- package/dist/web-components-library/p-1939116a.entry.js +0 -2
- package/dist/web-components-library/p-1939116a.entry.js.map +0 -1
- package/dist/web-components-library/p-1e0d85d5.entry.js +0 -2
- package/dist/web-components-library/p-1e0d85d5.entry.js.map +0 -1
- package/dist/web-components-library/p-215b1fa5.entry.js +0 -2
- package/dist/web-components-library/p-215b1fa5.entry.js.map +0 -1
- package/dist/web-components-library/p-22b683a3.entry.js +0 -2
- package/dist/web-components-library/p-22b683a3.entry.js.map +0 -1
- package/dist/web-components-library/p-2a04c00e.entry.js +0 -2
- package/dist/web-components-library/p-2a04c00e.entry.js.map +0 -1
- package/dist/web-components-library/p-2bba665d.entry.js +0 -2
- package/dist/web-components-library/p-2bba665d.entry.js.map +0 -1
- package/dist/web-components-library/p-2f45f1ff.entry.js +0 -2
- package/dist/web-components-library/p-2f45f1ff.entry.js.map +0 -1
- package/dist/web-components-library/p-31bd2a1c.entry.js +0 -2
- package/dist/web-components-library/p-31bd2a1c.entry.js.map +0 -1
- package/dist/web-components-library/p-332e0361.entry.js +0 -2
- package/dist/web-components-library/p-332e0361.entry.js.map +0 -1
- package/dist/web-components-library/p-3d02ad75.entry.js +0 -2
- package/dist/web-components-library/p-3d02ad75.entry.js.map +0 -1
- package/dist/web-components-library/p-3f66654f.entry.js +0 -2
- package/dist/web-components-library/p-3f66654f.entry.js.map +0 -1
- package/dist/web-components-library/p-41891d34.entry.js +0 -2
- package/dist/web-components-library/p-41891d34.entry.js.map +0 -1
- package/dist/web-components-library/p-4573c419.js +0 -2
- package/dist/web-components-library/p-4573c419.js.map +0 -1
- package/dist/web-components-library/p-47b7bc63.entry.js +0 -2
- package/dist/web-components-library/p-47b7bc63.entry.js.map +0 -1
- package/dist/web-components-library/p-4df66afe.entry.js +0 -2
- package/dist/web-components-library/p-4df66afe.entry.js.map +0 -1
- package/dist/web-components-library/p-5145a606.js +0 -2
- package/dist/web-components-library/p-5145a606.js.map +0 -1
- package/dist/web-components-library/p-54cd104c.js +0 -2
- package/dist/web-components-library/p-54cd104c.js.map +0 -1
- package/dist/web-components-library/p-57dcff49.entry.js +0 -2
- package/dist/web-components-library/p-57dcff49.entry.js.map +0 -1
- package/dist/web-components-library/p-5838b77c.entry.js +0 -2
- package/dist/web-components-library/p-5838b77c.entry.js.map +0 -1
- package/dist/web-components-library/p-59fac888.entry.js +0 -2
- package/dist/web-components-library/p-59fac888.entry.js.map +0 -1
- package/dist/web-components-library/p-5cdd431e.entry.js +0 -2
- package/dist/web-components-library/p-5cdd431e.entry.js.map +0 -1
- package/dist/web-components-library/p-5f1e17cb.js +0 -2
- package/dist/web-components-library/p-5f1e17cb.js.map +0 -1
- package/dist/web-components-library/p-5fda8769.entry.js +0 -8
- package/dist/web-components-library/p-5fda8769.entry.js.map +0 -1
- package/dist/web-components-library/p-661bce1c.entry.js +0 -2
- package/dist/web-components-library/p-661bce1c.entry.js.map +0 -1
- package/dist/web-components-library/p-66c0f993.entry.js +0 -2
- package/dist/web-components-library/p-66c0f993.entry.js.map +0 -1
- package/dist/web-components-library/p-6c3d141b.entry.js +0 -2
- package/dist/web-components-library/p-6c3d141b.entry.js.map +0 -1
- package/dist/web-components-library/p-6d61933f.entry.js +0 -2
- package/dist/web-components-library/p-6d61933f.entry.js.map +0 -1
- package/dist/web-components-library/p-6ef58a14.entry.js +0 -2
- package/dist/web-components-library/p-6ef58a14.entry.js.map +0 -1
- package/dist/web-components-library/p-71f62226.entry.js +0 -2
- package/dist/web-components-library/p-71f62226.entry.js.map +0 -1
- package/dist/web-components-library/p-75c4a726.js +0 -3
- package/dist/web-components-library/p-75c4a726.js.map +0 -1
- package/dist/web-components-library/p-76003048.entry.js +0 -2
- package/dist/web-components-library/p-76003048.entry.js.map +0 -1
- package/dist/web-components-library/p-80285500.js +0 -2
- package/dist/web-components-library/p-80285500.js.map +0 -1
- package/dist/web-components-library/p-80ddecaf.entry.js +0 -2
- package/dist/web-components-library/p-80ddecaf.entry.js.map +0 -1
- package/dist/web-components-library/p-83a26e88.entry.js +0 -2
- package/dist/web-components-library/p-83a26e88.entry.js.map +0 -1
- package/dist/web-components-library/p-8503c87a.entry.js +0 -2
- package/dist/web-components-library/p-8503c87a.entry.js.map +0 -1
- package/dist/web-components-library/p-86618221.js +0 -2
- package/dist/web-components-library/p-86618221.js.map +0 -1
- package/dist/web-components-library/p-87edcc75.entry.js +0 -2
- package/dist/web-components-library/p-87edcc75.entry.js.map +0 -1
- package/dist/web-components-library/p-88a9865c.entry.js +0 -2
- package/dist/web-components-library/p-88a9865c.entry.js.map +0 -1
- package/dist/web-components-library/p-8aaceeed.entry.js +0 -2
- package/dist/web-components-library/p-8aaceeed.entry.js.map +0 -1
- package/dist/web-components-library/p-8b562dca.entry.js +0 -2
- package/dist/web-components-library/p-8b562dca.entry.js.map +0 -1
- package/dist/web-components-library/p-901518b8.entry.js +0 -2
- package/dist/web-components-library/p-901518b8.entry.js.map +0 -1
- package/dist/web-components-library/p-90690d4d.entry.js +0 -2
- package/dist/web-components-library/p-90690d4d.entry.js.map +0 -1
- package/dist/web-components-library/p-90babaaa.entry.js +0 -2
- package/dist/web-components-library/p-90babaaa.entry.js.map +0 -1
- package/dist/web-components-library/p-9af837bb.entry.js +0 -2
- package/dist/web-components-library/p-9af837bb.entry.js.map +0 -1
- package/dist/web-components-library/p-9eba4a37.entry.js +0 -2
- package/dist/web-components-library/p-9eba4a37.entry.js.map +0 -1
- package/dist/web-components-library/p-a32ebcc3.entry.js +0 -2
- package/dist/web-components-library/p-a32ebcc3.entry.js.map +0 -1
- package/dist/web-components-library/p-a3f9a5da.entry.js +0 -2
- package/dist/web-components-library/p-a3f9a5da.entry.js.map +0 -1
- package/dist/web-components-library/p-b0324c7d.entry.js +0 -2
- package/dist/web-components-library/p-b0324c7d.entry.js.map +0 -1
- package/dist/web-components-library/p-b06af2fc.js +0 -2
- package/dist/web-components-library/p-b06af2fc.js.map +0 -1
- package/dist/web-components-library/p-b1f2388a.entry.js +0 -17
- package/dist/web-components-library/p-b1f2388a.entry.js.map +0 -1
- package/dist/web-components-library/p-b421424f.entry.js +0 -2
- package/dist/web-components-library/p-b421424f.entry.js.map +0 -1
- package/dist/web-components-library/p-b4b264b1.entry.js +0 -2
- package/dist/web-components-library/p-b4b264b1.entry.js.map +0 -1
- package/dist/web-components-library/p-b70ff542.entry.js +0 -2
- package/dist/web-components-library/p-b70ff542.entry.js.map +0 -1
- package/dist/web-components-library/p-b854cc3d.entry.js +0 -2
- package/dist/web-components-library/p-b854cc3d.entry.js.map +0 -1
- package/dist/web-components-library/p-bad22f5f.entry.js +0 -2
- package/dist/web-components-library/p-bad22f5f.entry.js.map +0 -1
- package/dist/web-components-library/p-bc15e1dc.entry.js +0 -2
- package/dist/web-components-library/p-bc15e1dc.entry.js.map +0 -1
- package/dist/web-components-library/p-c03767a4.entry.js +0 -2
- package/dist/web-components-library/p-c03767a4.entry.js.map +0 -1
- package/dist/web-components-library/p-c0b4f29d.entry.js +0 -2
- package/dist/web-components-library/p-c0b4f29d.entry.js.map +0 -1
- package/dist/web-components-library/p-c57bb632.entry.js +0 -2
- package/dist/web-components-library/p-c57bb632.entry.js.map +0 -1
- package/dist/web-components-library/p-c5e032de.entry.js +0 -2
- package/dist/web-components-library/p-c5e032de.entry.js.map +0 -1
- package/dist/web-components-library/p-c645dc11.entry.js +0 -2
- package/dist/web-components-library/p-c645dc11.entry.js.map +0 -1
- package/dist/web-components-library/p-c93c6135.entry.js +0 -2
- package/dist/web-components-library/p-c93c6135.entry.js.map +0 -1
- package/dist/web-components-library/p-cb395500.js +0 -2
- package/dist/web-components-library/p-cb395500.js.map +0 -1
- package/dist/web-components-library/p-cc87d814.entry.js +0 -2
- package/dist/web-components-library/p-cc87d814.entry.js.map +0 -1
- package/dist/web-components-library/p-d1fe7960.entry.js +0 -2
- package/dist/web-components-library/p-d1fe7960.entry.js.map +0 -1
- package/dist/web-components-library/p-d5ebbfdf.entry.js +0 -2
- package/dist/web-components-library/p-d5ebbfdf.entry.js.map +0 -1
- package/dist/web-components-library/p-d65aeb54.entry.js +0 -2
- package/dist/web-components-library/p-d65aeb54.entry.js.map +0 -1
- package/dist/web-components-library/p-dba260f2.entry.js +0 -2
- package/dist/web-components-library/p-dba260f2.entry.js.map +0 -1
- package/dist/web-components-library/p-ddae9016.entry.js +0 -2
- package/dist/web-components-library/p-ddae9016.entry.js.map +0 -1
- package/dist/web-components-library/p-de313d96.entry.js +0 -2
- package/dist/web-components-library/p-de313d96.entry.js.map +0 -1
- package/dist/web-components-library/p-e1255160.js +0 -2
- package/dist/web-components-library/p-e1255160.js.map +0 -1
- package/dist/web-components-library/p-e38a5dd2.entry.js +0 -2
- package/dist/web-components-library/p-e38a5dd2.entry.js.map +0 -1
- package/dist/web-components-library/p-eb15536d.js +0 -2
- package/dist/web-components-library/p-eb15536d.js.map +0 -1
- package/dist/web-components-library/p-eb9161bc.entry.js +0 -2
- package/dist/web-components-library/p-eb9161bc.entry.js.map +0 -1
- package/dist/web-components-library/p-ec2a0b31.js +0 -2
- package/dist/web-components-library/p-ec2a0b31.js.map +0 -1
- package/dist/web-components-library/p-f0271f86.entry.js +0 -2
- package/dist/web-components-library/p-f0271f86.entry.js.map +0 -1
- package/dist/web-components-library/p-f0f53bb2.entry.js +0 -2
- package/dist/web-components-library/p-f0f53bb2.entry.js.map +0 -1
- package/dist/web-components-library/p-f79010de.js +0 -2
- package/dist/web-components-library/p-f79010de.js.map +0 -1
- package/dist/web-components-library/p-f8e95a75.entry.js +0 -2
- package/dist/web-components-library/p-f8e95a75.entry.js.map +0 -1
- package/dist/web-components-library/web-components-library.esm.js.map +0 -1
- package/loader/package.json +0 -11
- package/react/components.js.map +0 -1
- package/react/index.js.map +0 -1
- package/react/react-component-lib/createComponent.js.map +0 -1
- package/react/react-component-lib/createOverlayComponent.js.map +0 -1
- package/react/react-component-lib/index.js.map +0 -1
- package/react/react-component-lib/interfaces.js.map +0 -1
- package/react/react-component-lib/utils/attachProps.js.map +0 -1
- package/react/react-component-lib/utils/case.js.map +0 -1
- package/react/react-component-lib/utils/dev.js.map +0 -1
- package/react/react-component-lib/utils/index.js.map +0 -1
- package/www/build/index.esm.js.map +0 -1
- package/www/build/p-03a558ef.entry.js +0 -2
- package/www/build/p-03a558ef.entry.js.map +0 -1
- package/www/build/p-061e28d6.js +0 -2
- package/www/build/p-061e28d6.js.map +0 -1
- package/www/build/p-0989655c.entry.js +0 -2
- package/www/build/p-0989655c.entry.js.map +0 -1
- package/www/build/p-15951fc6.entry.js +0 -2
- package/www/build/p-15951fc6.entry.js.map +0 -1
- package/www/build/p-17e2fed2.entry.js +0 -2
- package/www/build/p-17e2fed2.entry.js.map +0 -1
- package/www/build/p-19172b2c.entry.js +0 -2
- package/www/build/p-19172b2c.entry.js.map +0 -1
- package/www/build/p-1939116a.entry.js +0 -2
- package/www/build/p-1939116a.entry.js.map +0 -1
- package/www/build/p-1e0d85d5.entry.js +0 -2
- package/www/build/p-1e0d85d5.entry.js.map +0 -1
- package/www/build/p-215b1fa5.entry.js +0 -2
- package/www/build/p-215b1fa5.entry.js.map +0 -1
- package/www/build/p-22b683a3.entry.js +0 -2
- package/www/build/p-22b683a3.entry.js.map +0 -1
- package/www/build/p-2a04c00e.entry.js +0 -2
- package/www/build/p-2a04c00e.entry.js.map +0 -1
- package/www/build/p-2bba665d.entry.js +0 -2
- package/www/build/p-2bba665d.entry.js.map +0 -1
- package/www/build/p-2f45f1ff.entry.js +0 -2
- package/www/build/p-2f45f1ff.entry.js.map +0 -1
- package/www/build/p-31bd2a1c.entry.js +0 -2
- package/www/build/p-31bd2a1c.entry.js.map +0 -1
- package/www/build/p-332e0361.entry.js +0 -2
- package/www/build/p-332e0361.entry.js.map +0 -1
- package/www/build/p-3d02ad75.entry.js +0 -2
- package/www/build/p-3d02ad75.entry.js.map +0 -1
- package/www/build/p-3f66654f.entry.js +0 -2
- package/www/build/p-3f66654f.entry.js.map +0 -1
- package/www/build/p-41891d34.entry.js +0 -2
- package/www/build/p-41891d34.entry.js.map +0 -1
- package/www/build/p-4573c419.js +0 -2
- package/www/build/p-4573c419.js.map +0 -1
- package/www/build/p-47b7bc63.entry.js +0 -2
- package/www/build/p-47b7bc63.entry.js.map +0 -1
- package/www/build/p-4bab8e94.js +0 -2
- package/www/build/p-4df66afe.entry.js +0 -2
- package/www/build/p-4df66afe.entry.js.map +0 -1
- package/www/build/p-5145a606.js +0 -2
- package/www/build/p-5145a606.js.map +0 -1
- package/www/build/p-54cd104c.js +0 -2
- package/www/build/p-54cd104c.js.map +0 -1
- package/www/build/p-57dcff49.entry.js +0 -2
- package/www/build/p-57dcff49.entry.js.map +0 -1
- package/www/build/p-5838b77c.entry.js +0 -2
- package/www/build/p-5838b77c.entry.js.map +0 -1
- package/www/build/p-59fac888.entry.js +0 -2
- package/www/build/p-59fac888.entry.js.map +0 -1
- package/www/build/p-5cdd431e.entry.js +0 -2
- package/www/build/p-5cdd431e.entry.js.map +0 -1
- package/www/build/p-5f1e17cb.js +0 -2
- package/www/build/p-5f1e17cb.js.map +0 -1
- package/www/build/p-5fda8769.entry.js +0 -8
- package/www/build/p-5fda8769.entry.js.map +0 -1
- package/www/build/p-661bce1c.entry.js +0 -2
- package/www/build/p-661bce1c.entry.js.map +0 -1
- package/www/build/p-66c0f993.entry.js +0 -2
- package/www/build/p-66c0f993.entry.js.map +0 -1
- package/www/build/p-6c3d141b.entry.js +0 -2
- package/www/build/p-6c3d141b.entry.js.map +0 -1
- package/www/build/p-6d61933f.entry.js +0 -2
- package/www/build/p-6d61933f.entry.js.map +0 -1
- package/www/build/p-6ef58a14.entry.js +0 -2
- package/www/build/p-6ef58a14.entry.js.map +0 -1
- package/www/build/p-71f62226.entry.js +0 -2
- package/www/build/p-71f62226.entry.js.map +0 -1
- package/www/build/p-75c4a726.js +0 -3
- package/www/build/p-75c4a726.js.map +0 -1
- package/www/build/p-76003048.entry.js +0 -2
- package/www/build/p-76003048.entry.js.map +0 -1
- package/www/build/p-80285500.js +0 -2
- package/www/build/p-80285500.js.map +0 -1
- package/www/build/p-80ddecaf.entry.js +0 -2
- package/www/build/p-80ddecaf.entry.js.map +0 -1
- package/www/build/p-83a26e88.entry.js +0 -2
- package/www/build/p-83a26e88.entry.js.map +0 -1
- package/www/build/p-8503c87a.entry.js +0 -2
- package/www/build/p-8503c87a.entry.js.map +0 -1
- package/www/build/p-86618221.js +0 -2
- package/www/build/p-86618221.js.map +0 -1
- package/www/build/p-87edcc75.entry.js +0 -2
- package/www/build/p-87edcc75.entry.js.map +0 -1
- package/www/build/p-88a9865c.entry.js +0 -2
- package/www/build/p-88a9865c.entry.js.map +0 -1
- package/www/build/p-8aaceeed.entry.js +0 -2
- package/www/build/p-8aaceeed.entry.js.map +0 -1
- package/www/build/p-8b562dca.entry.js +0 -2
- package/www/build/p-8b562dca.entry.js.map +0 -1
- package/www/build/p-901518b8.entry.js +0 -2
- package/www/build/p-901518b8.entry.js.map +0 -1
- package/www/build/p-90690d4d.entry.js +0 -2
- package/www/build/p-90690d4d.entry.js.map +0 -1
- package/www/build/p-90babaaa.entry.js +0 -2
- package/www/build/p-90babaaa.entry.js.map +0 -1
- package/www/build/p-9af837bb.entry.js +0 -2
- package/www/build/p-9af837bb.entry.js.map +0 -1
- package/www/build/p-9eba4a37.entry.js +0 -2
- package/www/build/p-9eba4a37.entry.js.map +0 -1
- package/www/build/p-a32ebcc3.entry.js +0 -2
- package/www/build/p-a32ebcc3.entry.js.map +0 -1
- package/www/build/p-a3f9a5da.entry.js +0 -2
- package/www/build/p-a3f9a5da.entry.js.map +0 -1
- package/www/build/p-b0324c7d.entry.js +0 -2
- package/www/build/p-b0324c7d.entry.js.map +0 -1
- package/www/build/p-b06af2fc.js +0 -2
- package/www/build/p-b06af2fc.js.map +0 -1
- package/www/build/p-b1f2388a.entry.js +0 -17
- package/www/build/p-b1f2388a.entry.js.map +0 -1
- package/www/build/p-b421424f.entry.js +0 -2
- package/www/build/p-b421424f.entry.js.map +0 -1
- package/www/build/p-b4b264b1.entry.js +0 -2
- package/www/build/p-b4b264b1.entry.js.map +0 -1
- package/www/build/p-b5b5dae5.css +0 -2638
- package/www/build/p-b70ff542.entry.js +0 -2
- package/www/build/p-b70ff542.entry.js.map +0 -1
- package/www/build/p-b854cc3d.entry.js +0 -2
- package/www/build/p-b854cc3d.entry.js.map +0 -1
- package/www/build/p-bad22f5f.entry.js +0 -2
- package/www/build/p-bad22f5f.entry.js.map +0 -1
- package/www/build/p-bc15e1dc.entry.js +0 -2
- package/www/build/p-bc15e1dc.entry.js.map +0 -1
- package/www/build/p-c03767a4.entry.js +0 -2
- package/www/build/p-c03767a4.entry.js.map +0 -1
- package/www/build/p-c0b4f29d.entry.js +0 -2
- package/www/build/p-c0b4f29d.entry.js.map +0 -1
- package/www/build/p-c57bb632.entry.js +0 -2
- package/www/build/p-c57bb632.entry.js.map +0 -1
- package/www/build/p-c5e032de.entry.js +0 -2
- package/www/build/p-c5e032de.entry.js.map +0 -1
- package/www/build/p-c645dc11.entry.js +0 -2
- package/www/build/p-c645dc11.entry.js.map +0 -1
- package/www/build/p-c93c6135.entry.js +0 -2
- package/www/build/p-c93c6135.entry.js.map +0 -1
- package/www/build/p-cb395500.js +0 -2
- package/www/build/p-cb395500.js.map +0 -1
- package/www/build/p-cc87d814.entry.js +0 -2
- package/www/build/p-cc87d814.entry.js.map +0 -1
- package/www/build/p-d1fe7960.entry.js +0 -2
- package/www/build/p-d1fe7960.entry.js.map +0 -1
- package/www/build/p-d5ebbfdf.entry.js +0 -2
- package/www/build/p-d5ebbfdf.entry.js.map +0 -1
- package/www/build/p-d65aeb54.entry.js +0 -2
- package/www/build/p-d65aeb54.entry.js.map +0 -1
- package/www/build/p-dba260f2.entry.js +0 -2
- package/www/build/p-dba260f2.entry.js.map +0 -1
- package/www/build/p-ddae9016.entry.js +0 -2
- package/www/build/p-ddae9016.entry.js.map +0 -1
- package/www/build/p-de313d96.entry.js +0 -2
- package/www/build/p-de313d96.entry.js.map +0 -1
- package/www/build/p-e1255160.js +0 -2
- package/www/build/p-e1255160.js.map +0 -1
- package/www/build/p-e38a5dd2.entry.js +0 -2
- package/www/build/p-e38a5dd2.entry.js.map +0 -1
- package/www/build/p-eb15536d.js +0 -2
- package/www/build/p-eb15536d.js.map +0 -1
- package/www/build/p-eb9161bc.entry.js +0 -2
- package/www/build/p-eb9161bc.entry.js.map +0 -1
- package/www/build/p-ec2a0b31.js +0 -2
- package/www/build/p-ec2a0b31.js.map +0 -1
- package/www/build/p-f0271f86.entry.js +0 -2
- package/www/build/p-f0271f86.entry.js.map +0 -1
- package/www/build/p-f0f53bb2.entry.js +0 -2
- package/www/build/p-f0f53bb2.entry.js.map +0 -1
- package/www/build/p-f79010de.js +0 -2
- package/www/build/p-f79010de.js.map +0 -1
- package/www/build/p-f8e95a75.entry.js +0 -2
- package/www/build/p-f8e95a75.entry.js.map +0 -1
- package/www/build/web-components-library.esm.js.map +0 -1
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { html } from "lit";
|
|
2
|
-
import "../z-button/index";
|
|
3
|
-
import "../z-icon/index";
|
|
4
|
-
import "./index";
|
|
5
|
-
import "./index.stories.css";
|
|
6
|
-
const StoryMeta = {
|
|
7
|
-
title: "ZAnchorNavigation",
|
|
8
|
-
component: "z-anchor-navigation",
|
|
9
|
-
args: {
|
|
10
|
-
hideUnselected: false,
|
|
11
|
-
collapsedLabel: "salta a",
|
|
12
|
-
isCollapsed: false,
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
export default StoryMeta;
|
|
16
|
-
export const Default = {
|
|
17
|
-
render: (args) => html `
|
|
18
|
-
<div class="z-anchor-navigation-story-wrapper ${args.isCollapsed ? "collapsed" : ""}">
|
|
19
|
-
<z-anchor-navigation
|
|
20
|
-
collapsed-label=${args.collapsedLabel}
|
|
21
|
-
.hideUnselected=${args.hideUnselected}
|
|
22
|
-
.isCollapsed=${args.isCollapsed}
|
|
23
|
-
>
|
|
24
|
-
<div>
|
|
25
|
-
<a
|
|
26
|
-
href="#first-section"
|
|
27
|
-
target="_self"
|
|
28
|
-
>First section</a
|
|
29
|
-
>
|
|
30
|
-
<z-button
|
|
31
|
-
variant="tertiary"
|
|
32
|
-
icon="share"
|
|
33
|
-
size="x-small"
|
|
34
|
-
></z-button>
|
|
35
|
-
</div>
|
|
36
|
-
<div>
|
|
37
|
-
<a
|
|
38
|
-
href="#second-section"
|
|
39
|
-
target="_self"
|
|
40
|
-
>Second section</a
|
|
41
|
-
>
|
|
42
|
-
</div>
|
|
43
|
-
<div>
|
|
44
|
-
<a
|
|
45
|
-
href="#third-section"
|
|
46
|
-
target="_self"
|
|
47
|
-
>Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
48
|
-
Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
49
|
-
</a>
|
|
50
|
-
<button
|
|
51
|
-
type="button"
|
|
52
|
-
aria-label="share"
|
|
53
|
-
>
|
|
54
|
-
<z-icon name="share" />
|
|
55
|
-
</button>
|
|
56
|
-
</div>
|
|
57
|
-
<a
|
|
58
|
-
href="#fourth-section"
|
|
59
|
-
target="_self"
|
|
60
|
-
>Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
61
|
-
Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
62
|
-
</a>
|
|
63
|
-
</z-anchor-navigation>
|
|
64
|
-
<div>
|
|
65
|
-
<div
|
|
66
|
-
class="section"
|
|
67
|
-
id="first-section"
|
|
68
|
-
>
|
|
69
|
-
<h4>First section</h4>
|
|
70
|
-
<p>
|
|
71
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
72
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
73
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
74
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
75
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
76
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
77
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
78
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
79
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
80
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
81
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
82
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
83
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
84
|
-
quod non referatur ad corpus.
|
|
85
|
-
</p>
|
|
86
|
-
</div>
|
|
87
|
-
<div class="separator"></div>
|
|
88
|
-
<div
|
|
89
|
-
class="section"
|
|
90
|
-
id="second-section"
|
|
91
|
-
>
|
|
92
|
-
<h4>Second section</h4>
|
|
93
|
-
<p>
|
|
94
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
95
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
96
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
97
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
98
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
99
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
100
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
101
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
102
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
103
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
104
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
105
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
106
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
107
|
-
quod non referatur ad corpus.
|
|
108
|
-
</p>
|
|
109
|
-
</div>
|
|
110
|
-
<div class="separator"></div>
|
|
111
|
-
<div
|
|
112
|
-
class="section"
|
|
113
|
-
id="third-section"
|
|
114
|
-
>
|
|
115
|
-
<h4>Third section</h4>
|
|
116
|
-
<p>
|
|
117
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
118
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
119
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
120
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
121
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
122
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
123
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
124
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
125
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
126
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
127
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
128
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
129
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
130
|
-
quod non referatur ad corpus.
|
|
131
|
-
</p>
|
|
132
|
-
</div>
|
|
133
|
-
<div class="separator"></div>
|
|
134
|
-
<div
|
|
135
|
-
class="section"
|
|
136
|
-
id="fourth-section"
|
|
137
|
-
>
|
|
138
|
-
<h4>Fourth section</h4>
|
|
139
|
-
<p>
|
|
140
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
141
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
142
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
143
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
144
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
145
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
146
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
147
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
148
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
149
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
150
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
151
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
152
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
153
|
-
quod non referatur ad corpus.
|
|
154
|
-
</p>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="separator"></div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
`,
|
|
160
|
-
};
|
|
161
|
-
/**
|
|
162
|
-
* Setting `autoCurrent` to `false` disables the automatic highlighting of the current section in the anchor navigation
|
|
163
|
-
* and allows manual handling.
|
|
164
|
-
* In this story, for example, the highlighting of the current section is done by clicking on the related button.
|
|
165
|
-
*/
|
|
166
|
-
export const AutoCurrentDisabling = {
|
|
167
|
-
args: {
|
|
168
|
-
autoCurrent: false,
|
|
169
|
-
},
|
|
170
|
-
parameters: {
|
|
171
|
-
controls: {
|
|
172
|
-
exclude: ["autoCurrent"],
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
render: (args) => html `
|
|
176
|
-
<script>
|
|
177
|
-
Array.from(document.querySelectorAll(".z-anchor-navigation-manual-current z-button")).forEach((item) =>
|
|
178
|
-
item.addEventListener("click", (ev) => {
|
|
179
|
-
const sectionID = ev.target.closest("z-button")?.dataset.to;
|
|
180
|
-
const current = document.querySelector("#" + sectionID + "-anchor");
|
|
181
|
-
const nav = current?.closest("nav");
|
|
182
|
-
Array.from(nav?.children ?? []).forEach((item) => {
|
|
183
|
-
const isCurrent = item.contains(current);
|
|
184
|
-
if (isCurrent) {
|
|
185
|
-
item.setAttribute("data-current", "");
|
|
186
|
-
} else {
|
|
187
|
-
item.removeAttribute("data-current");
|
|
188
|
-
}
|
|
189
|
-
const anchor = item.tagName === "A" ? item : item.querySelector("a");
|
|
190
|
-
item?.setAttribute("aria-current", isCurrent.toString());
|
|
191
|
-
});
|
|
192
|
-
const section = document.querySelector("#" + sectionID);
|
|
193
|
-
section?.scrollIntoView();
|
|
194
|
-
})
|
|
195
|
-
);
|
|
196
|
-
</script>
|
|
197
|
-
|
|
198
|
-
<div class="z-anchor-navigation-manual-current">
|
|
199
|
-
<z-button
|
|
200
|
-
size="x-small"
|
|
201
|
-
data-to="first-section"
|
|
202
|
-
>To first section</z-button
|
|
203
|
-
>
|
|
204
|
-
<z-button
|
|
205
|
-
size="x-small"
|
|
206
|
-
data-to="second-section"
|
|
207
|
-
>To second section</z-button
|
|
208
|
-
>
|
|
209
|
-
<z-button
|
|
210
|
-
size="x-small"
|
|
211
|
-
data-to="third-section"
|
|
212
|
-
>To third section</z-button
|
|
213
|
-
>
|
|
214
|
-
<z-button
|
|
215
|
-
size="x-small"
|
|
216
|
-
data-to="fourth-section"
|
|
217
|
-
>Highlight fourth section</z-button
|
|
218
|
-
>
|
|
219
|
-
</div>
|
|
220
|
-
<div class="z-anchor-navigation-story-wrapper">
|
|
221
|
-
<z-anchor-navigation
|
|
222
|
-
collapsed-label=${args.collapsedLabel}
|
|
223
|
-
.hideUnselected=${args.hideUnselected}
|
|
224
|
-
.autoCurrent=${args.autoCurrent}
|
|
225
|
-
>
|
|
226
|
-
<div>
|
|
227
|
-
<a id="first-section-anchor">First section</a>
|
|
228
|
-
<z-button
|
|
229
|
-
variant="tertiary"
|
|
230
|
-
icon="share"
|
|
231
|
-
size="x-small"
|
|
232
|
-
></z-button>
|
|
233
|
-
</div>
|
|
234
|
-
<div>
|
|
235
|
-
<a id="second-section-anchor">Second section</a>
|
|
236
|
-
</div>
|
|
237
|
-
<div>
|
|
238
|
-
<a id="third-section-anchor"
|
|
239
|
-
>Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
240
|
-
Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
241
|
-
</a>
|
|
242
|
-
<button
|
|
243
|
-
type="button"
|
|
244
|
-
aria-label="share"
|
|
245
|
-
>
|
|
246
|
-
<z-icon name="share" />
|
|
247
|
-
</button>
|
|
248
|
-
</div>
|
|
249
|
-
<a id="fourth-section-anchor"
|
|
250
|
-
>Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
251
|
-
Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines
|
|
252
|
-
</a>
|
|
253
|
-
</z-anchor-navigation>
|
|
254
|
-
<div class="z-anchor-navigation-demo-sections">
|
|
255
|
-
<div
|
|
256
|
-
class="section"
|
|
257
|
-
id="first-section"
|
|
258
|
-
>
|
|
259
|
-
<h4>First section</h4>
|
|
260
|
-
<p>
|
|
261
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
262
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
263
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
264
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
265
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
266
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
267
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
268
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
269
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
270
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
271
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
272
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
273
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
274
|
-
quod non referatur ad corpus.
|
|
275
|
-
</p>
|
|
276
|
-
</div>
|
|
277
|
-
<div class="separator"></div>
|
|
278
|
-
<div
|
|
279
|
-
class="section"
|
|
280
|
-
id="second-section"
|
|
281
|
-
>
|
|
282
|
-
<h4>Second section</h4>
|
|
283
|
-
<p>
|
|
284
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
285
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
286
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
287
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
288
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
289
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
290
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
291
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
292
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
293
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
294
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
295
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
296
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
297
|
-
quod non referatur ad corpus.
|
|
298
|
-
</p>
|
|
299
|
-
</div>
|
|
300
|
-
<div class="separator"></div>
|
|
301
|
-
<div
|
|
302
|
-
class="section"
|
|
303
|
-
id="third-section"
|
|
304
|
-
>
|
|
305
|
-
<h4>Third section</h4>
|
|
306
|
-
<p>
|
|
307
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
308
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
309
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
310
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
311
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
312
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
313
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
314
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
315
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
316
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
317
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
318
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
319
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
320
|
-
quod non referatur ad corpus.
|
|
321
|
-
</p>
|
|
322
|
-
</div>
|
|
323
|
-
<div class="separator"></div>
|
|
324
|
-
<div
|
|
325
|
-
class="section"
|
|
326
|
-
id="fourth-section"
|
|
327
|
-
>
|
|
328
|
-
<h4>Fourth section</h4>
|
|
329
|
-
<p>
|
|
330
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in
|
|
331
|
-
Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?
|
|
332
|
-
Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo
|
|
333
|
-
affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,
|
|
334
|
-
oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo
|
|
335
|
-
Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem
|
|
336
|
-
loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte
|
|
337
|
-
natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni
|
|
338
|
-
licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat
|
|
339
|
-
Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam
|
|
340
|
-
voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas
|
|
341
|
-
commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis
|
|
342
|
-
filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,
|
|
343
|
-
quod non referatur ad corpus.
|
|
344
|
-
</p>
|
|
345
|
-
</div>
|
|
346
|
-
<div class="separator"></div>
|
|
347
|
-
</div>
|
|
348
|
-
</div>
|
|
349
|
-
`,
|
|
350
|
-
};
|
|
351
|
-
//# sourceMappingURL=index.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-anchor-navigation/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,qBAAqB;IAChC,IAAI,EAAE;QACJ,cAAc,EAAE,KAAK;QACrB,cAAc,EAAE,SAAS;QACzB,WAAW,EAAE,KAAK;KACnB;CACgC,CAAC;AAEpC,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;oDAC4B,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE;;0BAE7D,IAAI,CAAC,cAAc;0BACnB,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyIpC;CACoC,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE;QACJ,WAAW,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,aAAa,CAAC;SACzB;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+CE,IAAI,CAAC,cAAc;0BACnB,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HpC;CACoC,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZAnchorNavigation} from \".\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\nconst StoryMeta = {\n title: \"ZAnchorNavigation\",\n component: \"z-anchor-navigation\",\n args: {\n hideUnselected: false,\n collapsedLabel: \"salta a\",\n isCollapsed: false,\n },\n} satisfies Meta<ZAnchorNavigation>;\n\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) => html`\n <div class=\"z-anchor-navigation-story-wrapper ${args.isCollapsed ? \"collapsed\" : \"\"}\">\n <z-anchor-navigation\n collapsed-label=${args.collapsedLabel}\n .hideUnselected=${args.hideUnselected}\n .isCollapsed=${args.isCollapsed}\n >\n <div>\n <a\n href=\"#first-section\"\n target=\"_self\"\n >First section</a\n >\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a\n href=\"#second-section\"\n target=\"_self\"\n >Second section</a\n >\n </div>\n <div>\n <a\n href=\"#third-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a\n href=\"#fourth-section\"\n target=\"_self\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div>\n <div\n class=\"section\"\n id=\"first-section\"\n >\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"second-section\"\n >\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"third-section\"\n >\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"fourth-section\"\n >\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n\n/**\n * Setting `autoCurrent` to `false` disables the automatic highlighting of the current section in the anchor navigation\n * and allows manual handling.\n * In this story, for example, the highlighting of the current section is done by clicking on the related button.\n */\nexport const AutoCurrentDisabling = {\n args: {\n autoCurrent: false,\n },\n parameters: {\n controls: {\n exclude: [\"autoCurrent\"],\n },\n },\n render: (args) => html`\n <script>\n Array.from(document.querySelectorAll(\".z-anchor-navigation-manual-current z-button\")).forEach((item) =>\n item.addEventListener(\"click\", (ev) => {\n const sectionID = ev.target.closest(\"z-button\")?.dataset.to;\n const current = document.querySelector(\"#\" + sectionID + \"-anchor\");\n const nav = current?.closest(\"nav\");\n Array.from(nav?.children ?? []).forEach((item) => {\n const isCurrent = item.contains(current);\n if (isCurrent) {\n item.setAttribute(\"data-current\", \"\");\n } else {\n item.removeAttribute(\"data-current\");\n }\n const anchor = item.tagName === \"A\" ? item : item.querySelector(\"a\");\n item?.setAttribute(\"aria-current\", isCurrent.toString());\n });\n const section = document.querySelector(\"#\" + sectionID);\n section?.scrollIntoView();\n })\n );\n </script>\n\n <div class=\"z-anchor-navigation-manual-current\">\n <z-button\n size=\"x-small\"\n data-to=\"first-section\"\n >To first section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"second-section\"\n >To second section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"third-section\"\n >To third section</z-button\n >\n <z-button\n size=\"x-small\"\n data-to=\"fourth-section\"\n >Highlight fourth section</z-button\n >\n </div>\n <div class=\"z-anchor-navigation-story-wrapper\">\n <z-anchor-navigation\n collapsed-label=${args.collapsedLabel}\n .hideUnselected=${args.hideUnselected}\n .autoCurrent=${args.autoCurrent}\n >\n <div>\n <a id=\"first-section-anchor\">First section</a>\n <z-button\n variant=\"tertiary\"\n icon=\"share\"\n size=\"x-small\"\n ></z-button>\n </div>\n <div>\n <a id=\"second-section-anchor\">Second section</a>\n </div>\n <div>\n <a id=\"third-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n <button\n type=\"button\"\n aria-label=\"share\"\n >\n <z-icon name=\"share\" />\n </button>\n </div>\n <a id=\"fourth-section-anchor\"\n >Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n Third section with a very very long title and an icon and the title is repeated so it can go over 2 lines\n </a>\n </z-anchor-navigation>\n <div class=\"z-anchor-navigation-demo-sections\">\n <div\n class=\"section\"\n id=\"first-section\"\n >\n <h4>First section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"second-section\"\n >\n <h4>Second section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"third-section\"\n >\n <h4>Third section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n <div\n class=\"section\"\n id=\"fourth-section\"\n >\n <h4>Fourth section</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit?\n Possumusne ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo\n affectus, exul, orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo,\n oblivisci non possum quae volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo\n Reges: constructio interrete. Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem\n loco tantum explicemus haec honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte\n natura per se esse expetenda. Te enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni\n licuit, cum rem aliquam invenisset inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat\n Catoni? Ita cum ea volunt retinere, quae superiori sententiae conveniunt, in Aristonem incidunt; Istam\n voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas\n commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas? Stuprata per vim Lucretia a regis\n filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod negas animi ullum esse gaudium,\n quod non referatur ad corpus.\n </p>\n </div>\n <div class=\"separator\"></div>\n </div>\n </div>\n `,\n} satisfies StoryObj<ZAnchorNavigation>;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-app-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACrH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAC5G,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,MAAM,6BAA6B,GAAG,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tB,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,CAC7B,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Fragment, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, KeyboardCode, OffCanvasVariant, TransitionDirection} from \"../../beans\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== \"undefined\";\n\n/**\n * @slot menu-button - Slot for a custom menu button. It will replace the default burger icon.\n * @slot title - Slot for the main title\n * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.\n * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.\n * @slot product-logo - To insert the product logo, it should be used with an img tag.\n * @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.\n * @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).\n * @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-text-color - Header text color. Defaults to `--color-default-text`.\n * @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.\n * @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.\n */\n@Component({\n tag: \"z-app-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAppHeader {\n @Element() hostElement: HTMLZAppHeaderElement;\n\n /**\n * Stuck mode for the header.\n * You can programmatically set it using an IntersectionObserver.\n */\n @Prop({reflect: true})\n stuck = false;\n\n /**\n * When enabled, the menu bar is not displayed and a burger icon appears to open the offcanvas menu. Automatically enabled on mobile and when the menu items overflow the container.\n */\n @Prop({reflect: true, mutable: true})\n enableOffcanvas = false;\n\n /**\n * Enable the search bar.\n */\n @Prop({reflect: true})\n enableSearch = false;\n\n /**\n * Placeholder text for the search bar.\n */\n @Prop()\n searchPlaceholder = \"Cerca\";\n\n /**\n * Search string for the search bar.\n */\n @Prop({mutable: true})\n searchString = \"\";\n\n /**\n * Url to the search page.\n * Set this prop and `enableSearch` to show a link-button on mobile and tablet viewports, instead of the normal searchbar.\n * The link will also appear on the sticky header.\n */\n @Prop()\n searchPageUrl: string;\n\n /**\n * Enable laZ logo.\n */\n @Prop({reflect: true})\n enableZLogo = true;\n\n /**\n * The opening state of the drawer.\n */\n @Prop({mutable: true})\n drawerOpen = false;\n\n /**\n * Emitted when the `stuck` state of the header changes\n */\n @Event()\n sticking: EventEmitter;\n\n /**\n * The stuck state of the bar.\n */\n @State()\n private _stuck = false;\n\n /**\n * Current count of menu items.\n */\n @State()\n private menuLength: number;\n\n @State()\n private isMobile = true;\n\n @State()\n private isTablet = false;\n\n private container?: HTMLDivElement;\n\n private menuElements: HTMLZMenuElement[] = [];\n\n private menuWidth: number;\n\n private closeDrawerButton: HTMLButtonElement;\n\n private burgerButton: HTMLButtonElement;\n\n private menuResizeObserver: ResizeObserver;\n\n private stuckIntersecObserver?: IntersectionObserver = SUPPORT_INTERSECTION_OBSERVER\n ? new IntersectionObserver(\n ([entry]) => {\n this._stuck = !entry.isIntersecting;\n },\n {threshold: 0.5}\n )\n : undefined;\n\n @Watch(\"_stuck\")\n onStuck(): void {\n const scrollParent = this.scrollParent;\n if (!scrollParent) {\n return;\n }\n\n this.sticking.emit(this._stuck);\n }\n\n @Watch(\"drawerOpen\")\n setMenuFloatingMode(): void {\n if (this.menuElements.length === 0) {\n return;\n }\n\n this.menuElements.forEach((element) => {\n element.open = false;\n element.verticalContext = this.drawerOpen;\n });\n }\n\n @Watch(\"stuck\")\n onStuckChange(): void {\n if (!this.container) {\n return;\n }\n\n if (this.stuck) {\n this.stuckIntersecObserver?.observe(this.container);\n } else {\n this._stuck = false;\n this.stuckIntersecObserver?.unobserve(this.container);\n }\n }\n\n private get title(): string {\n return this.hostElement.querySelector('[slot=\"title\"]')?.textContent.trim();\n }\n\n private get scrollParent(): Window | Element {\n const parent = this.hostElement.offsetParent;\n if (parent === document.body || parent === document.documentElement) {\n return window;\n }\n\n return parent;\n }\n\n private get canShowMenu(): boolean {\n return !this.enableOffcanvas && this.menuElements.length > 0 && !this.isMobile && !this.drawerOpen;\n }\n\n private get focusableMenu(): HTMLZMenuElement {\n return this.menuElements.find((el) => el.htmlTabindex === 0);\n }\n\n private openDrawer(): void {\n this.drawerOpen = true;\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n setTimeout(() => this.menuElements[0].setFocus(), 400); /* wait for the 400ms offcanvas transition */\n }\n\n private closeDrawer(): void {\n this.drawerOpen = false;\n setTimeout(() => this.burgerButton.focus(), 100);\n }\n\n private collectMenuElements(): void {\n this.menuElements = Array.from(this.hostElement.querySelectorAll('[slot=\"menu\"]'));\n this.menuElements.forEach((element, index) => (element.htmlTabindex = index === 0 ? 0 : -1));\n this.menuLength = this.menuElements.length;\n if (!this.enableOffcanvas) {\n this.menuWidth =\n this.menuElements.reduce((acc, el) => acc + el.getBoundingClientRect().width, 0) +\n (this.menuLength - 1) * 32 /* 32px is the gap between each menu item */;\n }\n this.setMenuFloatingMode();\n }\n\n /** Automatically use offcanvas mode when the menubar doesn't fit in the header. */\n private setupMenuResizeObserver(): void {\n if (this.enableOffcanvas) {\n return;\n }\n\n this.menuResizeObserver = new ResizeObserver((entries) => {\n if (this.isMobile) {\n this.enableOffcanvas = true;\n\n return;\n }\n\n const containerWidth = entries[0].contentBoxSize[0].inlineSize;\n if (this.menuWidth === 0) {\n return;\n }\n\n if (this.menuWidth > containerWidth && !this.enableOffcanvas) {\n this.enableOffcanvas = true;\n } else if (this.menuWidth <= containerWidth && this.enableOffcanvas) {\n this.enableOffcanvas = false;\n }\n });\n this.menuResizeObserver.observe(this.container);\n }\n\n private hasSlot(slotName: string): boolean {\n return this.hostElement.querySelector(`[slot=\"${slotName}\"]`) !== null;\n }\n\n private moveFocus(current: HTMLZMenuElement, receiver: HTMLZMenuElement): void {\n current.htmlTabindex = -1;\n receiver.setFocus();\n }\n\n private onOffcanvasKeydown(ev: KeyboardEvent): void {\n if (ev.key !== KeyboardCode.TAB || !this.drawerOpen) {\n return;\n }\n\n const closestMenu = (ev.target as HTMLElement).closest(\"z-menu\");\n if (closestMenu) {\n ev.preventDefault();\n ev.stopPropagation();\n // restore tabindex to the zmenu containing the focused element\n closestMenu.htmlTabindex = 0;\n this.closeDrawerButton.focus();\n } else if (ev.target === this.closeDrawerButton) {\n ev.preventDefault();\n ev.stopPropagation();\n if (ev.shiftKey) {\n // give focus to the last open menu if any or the last menu otherwhise\n (this.menuElements.filter((menu) => menu.open).pop() ?? this.menuElements[this.menuLength - 1]).setFocus();\n } else {\n // give focus to the first open menu if any or the first menu otherwhise\n (this.menuElements.find((menu) => menu.open) ?? this.menuElements[0]).setFocus();\n }\n }\n }\n\n /** Close each menu except the one receiving focus/click, if any */\n @Listen(\"focusin\", {target: \"document\", passive: true})\n @Listen(\"click\", {target: \"document\", passive: true})\n manageMenus(ev: FocusEvent | PointerEvent): void {\n const targetMenu = this.menuElements.find((menu) => containsElement(menu, ev.target as Element));\n if (targetMenu) {\n this.menuElements.forEach((menu) => {\n if (menu === targetMenu) {\n return;\n }\n\n menu.htmlTabindex = -1;\n if (!this.drawerOpen) {\n menu.open = false;\n }\n });\n } else if (!this.drawerOpen) {\n this.menuElements.forEach((menu) => {\n menu.open = false;\n });\n }\n }\n\n @Listen(\"keydown\", {passive: true})\n handleKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ESC && this.drawerOpen) {\n this.closeDrawer();\n\n return;\n }\n\n if (!this.menuElements.some((elem) => elem.contains(ev.target as HTMLElement))) {\n return;\n }\n\n const current = this.focusableMenu;\n const currentIndex = this.menuElements.indexOf(current);\n let receiver: HTMLZMenuElement;\n if (\n (ev.key === KeyboardCode.ARROW_RIGHT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_DOWN && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex + 1] ?? this.menuElements[0];\n } else if (\n (ev.key === KeyboardCode.ARROW_LEFT && !current.verticalContext) ||\n (ev.key === KeyboardCode.ARROW_UP && current.verticalContext)\n ) {\n receiver = this.menuElements[currentIndex - 1] ?? this.menuElements[this.menuLength - 1];\n }\n if (!receiver) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_UP && current.verticalContext) {\n if (receiver.open) {\n current.htmlTabindex = -1;\n receiver.focusLastItem();\n\n return;\n }\n }\n\n this.moveFocus(current, receiver);\n }\n\n private renderSeachbar(): HTMLZButtonElement | HTMLZSearchbarElement | undefined {\n if (this.isMobile && !this.searchPageUrl && this._stuck) {\n return;\n }\n\n if (this.searchPageUrl && (this.isMobile || this.isTablet)) {\n return (\n <z-button\n class=\"search-page-button\"\n variant={ButtonVariant.SECONDARY}\n href={this.searchPageUrl}\n icon=\"search\"\n size={ControlSize.X_SMALL}\n />\n );\n }\n\n return (\n <z-searchbar\n value={this.searchString}\n placeholder={this.searchPlaceholder}\n showSearchButton={true}\n searchButtonIconOnly={this.isMobile || this.isTablet}\n size={ControlSize.X_SMALL}\n variant={ButtonVariant.SECONDARY}\n preventSubmit={this.searchString.length < 3}\n onSearchTyping={(e) => (this.searchString = e.detail)}\n />\n );\n }\n\n private renderProductLogos(): HTMLElement | null {\n return (\n <Fragment>\n {this.enableZLogo && (\n <span class=\"z-logo\">\n <img alt=\"Logo Zanichelli\" />\n </span>\n )}\n {this.hostElement.querySelector(\"[slot='product-logo']\") && (\n <span class=\"product-logo\">\n <slot name=\"product-logo\" />\n </span>\n )}\n </Fragment>\n );\n }\n\n private renderMenuButton(): HTMLButtonElement {\n return (\n this.menuLength > 0 &&\n (this.enableOffcanvas || this._stuck || this.isMobile) && (\n <button\n ref={(el) => (this.burgerButton = el as HTMLButtonElement)}\n class=\"drawer-trigger\"\n aria-label=\"Apri menu\"\n aria-haspopup=\"menu\"\n aria-expanded={`${this.drawerOpen}`}\n aria-controls=\"offcanvas-menu\"\n onClick={this.openDrawer}\n >\n <z-icon name=\"burger-menu\" />\n </button>\n )\n );\n }\n\n private renderOffcanvas(): HTMLZOffcanvasElement {\n return (\n <z-offcanvas\n id=\"offcanvas-menu\"\n variant={OffCanvasVariant.OVERLAY}\n transitiondirection={TransitionDirection.RIGHT}\n open={this.drawerOpen}\n onCanvasOpenStatusChanged={(ev) => (this.drawerOpen = ev.detail)}\n onKeyDown={this.onOffcanvasKeydown}\n >\n <div slot=\"canvasContent\">\n <button\n ref={(el) => (this.closeDrawerButton = el)}\n class=\"drawer-close\"\n aria-label=\"Chiudi menu\"\n onClick={this.closeDrawer}\n aria-hidden={`${!this.drawerOpen}`}\n disabled={!this.drawerOpen}\n >\n <z-icon name=\"close\" />\n </button>\n\n <div\n class=\"drawer-content\"\n aria-hidden={`${!this.drawerOpen}`}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n </div>\n </z-offcanvas>\n );\n }\n\n private renderStuck(): HTMLElement {\n return (\n <div class=\"heading-stuck\">\n <div class=\"heading-stuck-content\">\n {this.renderMenuButton()}\n <div class=\"heading-title\">\n {this.renderProductLogos()}\n <div class=\"stucked-title\">\n <slot name=\"stucked-title\">{this.title}</slot>\n </div>\n </div>\n {this.enableSearch && this.renderSeachbar()}\n </div>\n </div>\n );\n }\n\n constructor() {\n this.openDrawer = this.openDrawer.bind(this);\n this.closeDrawer = this.closeDrawer.bind(this);\n this.collectMenuElements = this.collectMenuElements.bind(this);\n this.onOffcanvasKeydown = this.onOffcanvasKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.collectMenuElements();\n\n // mobile and tablet media queries listeners\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n this.isMobile = mobileMediaQuery.matches;\n mobileMediaQuery.addEventListener(\"change\", (e) => (this.isMobile = e.matches));\n const tabletMediaQuery = window.matchMedia(\n `(min-width: ${Breakpoints.MOBILE + 1}px) and (max-width: ${Breakpoints.TABLET}px)`\n );\n this.isTablet = tabletMediaQuery.matches;\n tabletMediaQuery.addEventListener(\"change\", (e) => (this.isTablet = e.matches));\n }\n\n componentDidLoad(): void {\n this.onStuckChange();\n this.setupMenuResizeObserver();\n }\n\n disconnectedCallback(): void {\n this.menuResizeObserver?.disconnect();\n }\n\n render(): HTMLZAppHeaderElement {\n const hasTopSubtitle = this.hasSlot(\"top-subtitle\");\n\n return (\n <Host menu-length={this.menuLength}>\n <div\n class={{\"heading-panel\": true, \"has-menubar\": this.menuLength > 0 && !this.enableOffcanvas}}\n ref={(el) => (this.container = el)}\n >\n <div class={{\"heading-container\": true, \"has-top-subtitle\": hasTopSubtitle}}>\n {((!this.enableSearch && this.isMobile) || !this.isMobile) && (\n <div class={{\"top-subtitle\": true, \"has-product-logo\": hasTopSubtitle && this.hasSlot(\"product-logo\")}}>\n <slot name=\"top-subtitle\" />\n </div>\n )}\n <div class=\"heading-title\">\n <slot name=\"menu-button\">{this.renderMenuButton()}</slot>\n {!this._stuck && this.renderProductLogos()}\n <slot name=\"title\" />\n {this.enableSearch && !this.isMobile && this.renderSeachbar()}\n </div>\n {this.enableSearch && this.isMobile && this.renderSeachbar()}\n </div>\n\n <nav\n class=\"menu-container\"\n aria-label={this.title || undefined}\n >\n {this.canShowMenu && (\n <div\n role=\"menubar\"\n aria-label={this.title || undefined}\n >\n <slot\n name=\"menu\"\n onSlotchange={this.collectMenuElements}\n />\n </div>\n )}\n </nav>\n </div>\n {this.renderOffcanvas()}\n {this._stuck && this.renderStuck()}\n </Host>\n );\n }\n}\n"]}
|