@zanichelli/albe-web-components 19.3.0-RC4 → 19.3.0-rc1
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 +116 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{breakpoints-8a1e87e0.js → breakpoints-B7vFm-3T.js} +0 -2
- package/dist/cjs/{iconset-5d47610c.js → iconset-oiCBBbd2.js} +18 -7
- package/dist/cjs/index-D_S5lGcb.js +2683 -0
- package/dist/cjs/{index-e30d0503.js → index-wGaSHN1_.js} +0 -2
- package/dist/cjs/index.cjs.js +112 -224
- package/dist/cjs/loader.cjs.js +3 -8
- package/dist/cjs/{utils-4f7b4830.js → utils-C5_wGVkJ.js} +81 -73
- package/dist/cjs/{utils-b1859d65.js → utils-Ctc6JP2n.js} +2 -4
- 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 +389 -329
- 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 +28 -25
- 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 +21 -18
- 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 +21 -25
- 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 +19 -18
- package/dist/cjs/z-tbody.cjs.entry.js +12 -7
- package/dist/cjs/z-td.cjs.entry.js +54 -8
- package/dist/cjs/z-tfoot.cjs.entry.js +16 -7
- package/dist/cjs/z-th.cjs.entry.js +82 -7
- package/dist/cjs/z-thead.cjs.entry.js +21 -7
- 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 +80 -12
- 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/__mocks__/fileMock.js +0 -1
- package/dist/collection/beans/index.js +0 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/book-card/z-book-card/index.js +55 -34
- package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -1
- package/dist/collection/components/book-card/z-book-card-app/index.js +23 -15
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -1
- package/dist/collection/components/css-components/z-fab/index.stories.js +0 -1
- package/dist/collection/components/css-components/z-label/index.stories.js +0 -1
- package/dist/collection/components/css-components/z-link/index.stories.js +0 -1
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -1
- package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -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-date-picker/index.stories.js +0 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js +61 -34
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +70 -23
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +57 -40
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +31 -12
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +11 -10
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -1
- package/dist/collection/components/deprecated/z-section-title/index.js +16 -5
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -1
- 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/index.stories.js +0 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +80 -37
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -1
- 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/index.stories.js +0 -1
- package/dist/collection/components/list/z-list-element/index.js +113 -38
- package/dist/collection/components/list/z-list-element/index.stories.js +0 -1
- package/dist/collection/components/list/z-list-group/index.js +50 -16
- package/dist/collection/components/list/z-list-group/index.stories.js +0 -1
- package/dist/collection/components/list/z-tree-list/index.js +16 -11
- package/dist/collection/components/list/z-tree-list/index.stories.js +0 -1
- package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
- 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 +0 -72
- package/dist/collection/components/table/z-table/index.js +10 -3
- package/dist/collection/components/table/z-table/index.stories.js +0 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -2
- package/dist/collection/components/table/z-tfoot/index.js +7 -3
- package/dist/collection/components/table/z-thead/index.js +13 -4
- package/dist/collection/components/table/z-tr/index.js +17 -5
- package/dist/collection/components/z-accordion/index.js +63 -16
- package/dist/collection/components/z-accordion/index.stories.js +4 -5
- package/dist/collection/components/z-accordion/styles.css +2 -34
- package/dist/collection/components/z-anchor-navigation/index.js +33 -6
- package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -1
- package/dist/collection/components/z-app-header/index.js +78 -21
- package/dist/collection/components/z-app-header/index.stories.js +25 -10
- package/dist/collection/components/z-aria-alert/index.js +7 -4
- package/dist/collection/components/z-aria-alert/index.stories.js +0 -1
- package/dist/collection/components/z-avatar/index.js +24 -13
- package/dist/collection/components/z-avatar/index.stories.js +0 -1
- package/dist/collection/components/z-book-cover/index.js +17 -10
- package/dist/collection/components/z-book-cover/index.stories.js +0 -1
- package/dist/collection/components/z-breadcrumb/index.js +40 -20
- package/dist/collection/components/z-breadcrumb/index.stories.js +0 -1
- package/dist/collection/components/z-button/index.js +77 -35
- package/dist/collection/components/z-button/index.stories.js +0 -1
- package/dist/collection/components/z-button-sort/index.js +33 -18
- package/dist/collection/components/z-button-sort/index.stories.js +0 -1
- package/dist/collection/components/z-card/index.js +21 -11
- package/dist/collection/components/z-card/index.stories.js +0 -1
- package/dist/collection/components/z-carousel/index.js +69 -35
- package/dist/collection/components/z-carousel/index.stories.js +2 -3
- package/dist/collection/components/z-chip/index.js +24 -13
- package/dist/collection/components/z-chip/index.stories.js +0 -1
- package/dist/collection/components/z-color-picker/index.js +31 -17
- package/dist/collection/components/z-color-picker/index.stories.js +0 -1
- package/dist/collection/components/z-combobox/index.js +82 -43
- package/dist/collection/components/z-combobox/index.stories.js +0 -1
- package/dist/collection/components/z-combobox/styles.css +0 -12
- package/dist/collection/components/z-cover-hero/index.js +27 -8
- package/dist/collection/components/z-cover-hero/index.stories.js +0 -1
- package/dist/collection/components/z-divider/index.js +17 -7
- package/dist/collection/components/z-divider/index.stories.js +0 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -2
- package/dist/collection/components/z-ghost-loading/index.stories.js +0 -1
- package/dist/collection/components/z-icon/index.js +28 -27
- package/dist/collection/components/z-icon/index.stories.js +0 -1
- 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-box/index.stories.js +0 -1
- package/dist/collection/components/z-info-reveal/index.js +30 -11
- package/dist/collection/components/z-info-reveal/index.stories.js +0 -1
- package/dist/collection/components/z-input/index.js +167 -80
- package/dist/collection/components/z-input/index.stories.js +0 -1
- package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
- package/dist/collection/components/z-input/styles-general.css +166 -0
- package/dist/collection/components/z-input/styles-text.css +87 -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-input-message/index.stories.js +0 -1
- package/dist/collection/components/z-logo/index.js +25 -22
- package/dist/collection/components/z-logo/index.stories.js +0 -1
- package/dist/collection/components/z-menu/index.js +32 -12
- package/dist/collection/components/z-menu/index.stories.js +0 -1
- package/dist/collection/components/z-menu-section/index.js +17 -12
- package/dist/collection/components/z-menu-section/index.stories.js +0 -1
- package/dist/collection/components/z-modal/index.js +36 -19
- package/dist/collection/components/z-modal/index.stories.js +0 -1
- package/dist/collection/components/z-navigation-tabs/index.js +35 -15
- package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -1
- package/dist/collection/components/z-notification/index.js +54 -15
- package/dist/collection/components/z-notification/index.stories.js +88 -61
- package/dist/collection/components/z-notification/styles.css +26 -13
- package/dist/collection/components/z-offcanvas/index.js +42 -12
- package/dist/collection/components/z-offcanvas/index.stories.js +0 -1
- package/dist/collection/components/z-pagination/index.js +47 -23
- package/dist/collection/components/z-pagination/index.stories.js +0 -1
- package/dist/collection/components/z-panel-elem/index.js +38 -26
- package/dist/collection/components/z-panel-elem/index.stories.js +0 -1
- package/dist/collection/components/z-popover/index.js +44 -16
- package/dist/collection/components/z-popover/index.stories.js +0 -1
- package/dist/collection/components/z-result-card/index.js +34 -23
- package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -1
- package/dist/collection/components/z-searchbar/index.js +203 -223
- package/dist/collection/components/z-searchbar/index.stories.js +12 -17
- package/dist/collection/components/z-searchbar/styles.css +87 -201
- package/dist/collection/components/z-select/index.js +87 -47
- package/dist/collection/components/z-select/index.stories.js +0 -1
- package/dist/collection/components/z-skip-to-content/index.js +13 -8
- package/dist/collection/components/z-skip-to-content/index.stories.js +0 -1
- package/dist/collection/components/z-stepper/index.js +1 -2
- package/dist/collection/components/z-stepper/index.stories.js +0 -1
- package/dist/collection/components/z-stepper-item/index.js +21 -19
- package/dist/collection/components/z-stepper-item/index.stories.js +0 -1
- package/dist/collection/components/z-tag/index.js +11 -14
- package/dist/collection/components/z-tag/index.stories.js +0 -1
- package/dist/collection/components/z-toast-notification/index.js +90 -74
- package/dist/collection/components/z-toast-notification/index.stories.js +3 -2
- 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-toast-notification-list/index.stories.js +0 -1
- package/dist/collection/components/z-toggle-button/index.js +22 -12
- package/dist/collection/components/z-toggle-button/index.stories.js +0 -1
- package/dist/collection/components/z-toggle-switch/index.js +21 -9
- package/dist/collection/components/z-toggle-switch/index.stories.js +0 -1
- package/dist/collection/components/z-tool/index.js +49 -31
- package/dist/collection/components/z-tool/index.stories.js +0 -1
- package/dist/collection/components/z-toolbar/index.js +7 -6
- package/dist/collection/components/z-toolbar/index.stories.js +0 -1
- package/dist/collection/components/z-tooltip/index.js +29 -10
- package/dist/collection/components/z-tooltip/index.stories.js +0 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -2
- package/dist/collection/components/z-visually-hidden/index.stories.js +0 -1
- package/dist/collection/constants/breakpoints.js +0 -1
- package/dist/collection/constants/icons.js +0 -1
- package/dist/collection/constants/iconset.js +15 -4
- package/dist/collection/index.js +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +19 -11
- 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 +11 -7
- 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 +0 -1
- package/dist/collection/utils/utils.js +0 -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-d148bfde.js → breakpoints-Q-tWjk7P.js} +0 -2
- package/dist/esm/{iconset-d7823b13.js → iconset-CjHS9zeM.js} +18 -7
- package/dist/esm/{index-106473a8.js → index-BKCj6NR2.js} +0 -2
- package/dist/esm/index-DPdXlnVe.js +2653 -0
- package/dist/esm/index.js +4 -6
- package/dist/esm/loader.js +3 -6
- package/dist/esm/{utils-8d6ca808.js → utils-DYd3kO0P.js} +3 -5
- package/dist/esm/{utils-93ac0e6c.js → utils-DuuLzXZj.js} +81 -73
- 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 +389 -327
- 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 +29 -24
- 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 +21 -16
- 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 +21 -23
- 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 +19 -16
- package/dist/esm/z-tbody.entry.js +14 -3
- package/dist/esm/z-td.entry.js +56 -4
- package/dist/esm/z-tfoot.entry.js +18 -3
- package/dist/esm/z-th.entry.js +85 -4
- package/dist/esm/z-thead.entry.js +23 -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 +82 -8
- 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 -2
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
- 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 -2
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
- 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 -1
- 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 -1
- 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 +7 -2
- package/dist/types/components/z-accordion/index.stories.d.ts +4 -4
- package/dist/types/components/z-anchor-navigation/index.d.ts +2 -1
- package/dist/types/components/z-app-header/index.d.ts +6 -2
- package/dist/types/components/z-app-header/index.stories.d.ts +7 -0
- 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 -1
- package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
- package/dist/types/components/z-button/index.d.ts +5 -2
- package/dist/types/components/z-button-sort/index.d.ts +2 -2
- package/dist/types/components/z-card/index.d.ts +2 -1
- package/dist/types/components/z-carousel/index.d.ts +5 -2
- package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
- 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 +2 -2
- package/dist/types/components/z-cover-hero/index.d.ts +2 -1
- 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 +4 -2
- package/dist/types/components/z-info-box/index.d.ts +2 -2
- package/dist/types/components/z-info-reveal/index.d.ts +2 -1
- package/dist/types/components/z-input/index.d.ts +5 -2
- 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 -2
- package/dist/types/components/z-menu-section/index.d.ts +2 -2
- package/dist/types/components/z-modal/index.d.ts +2 -2
- package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
- package/dist/types/components/z-notification/index.d.ts +6 -2
- package/dist/types/components/z-notification/index.stories.d.ts +29 -13
- package/dist/types/components/z-offcanvas/index.d.ts +2 -2
- package/dist/types/components/z-pagination/index.d.ts +2 -2
- package/dist/types/components/z-panel-elem/index.d.ts +2 -1
- package/dist/types/components/z-popover/index.d.ts +2 -2
- package/dist/types/components/z-result-card/index.d.ts +2 -1
- package/dist/types/components/z-searchbar/index.d.ts +28 -30
- package/dist/types/components/z-searchbar/index.stories.d.ts +4 -0
- package/dist/types/components/z-select/index.d.ts +2 -2
- 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 -1
- package/dist/types/components/z-toast-notification/index.d.ts +10 -9
- package/dist/types/components/z-toast-notification/index.stories.d.ts +11 -1
- 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 -1
- package/dist/types/components/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-visually-hidden/index.d.ts +2 -1
- package/dist/types/components.d.ts +1383 -180
- package/dist/types/constants/iconset.d.ts +30 -6
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -1
- 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 +2 -2
- 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/web-components-library/index.esm.js +1 -2
- package/dist/web-components-library/p-087956fa.entry.js +1 -0
- package/dist/web-components-library/p-10e5e16e.entry.js +1 -0
- package/dist/web-components-library/p-13e7f751.entry.js +1 -0
- package/dist/web-components-library/p-14b804f9.entry.js +1 -0
- package/dist/web-components-library/p-1580db58.entry.js +1 -0
- package/dist/web-components-library/p-15825811.entry.js +1 -0
- package/dist/web-components-library/p-1993b0ad.entry.js +1 -0
- package/dist/web-components-library/p-1a95491d.entry.js +1 -0
- package/dist/web-components-library/p-1d023220.entry.js +1 -0
- package/dist/web-components-library/p-21c85e04.entry.js +1 -0
- package/dist/web-components-library/p-23b46642.entry.js +1 -0
- package/dist/web-components-library/p-299f0f85.entry.js +1 -0
- package/dist/web-components-library/p-29dde955.entry.js +1 -0
- package/dist/web-components-library/p-2c036e17.entry.js +1 -0
- package/dist/web-components-library/p-2d4c01c3.entry.js +1 -0
- package/dist/web-components-library/p-2dabe353.entry.js +1 -0
- package/dist/web-components-library/p-2df6d169.entry.js +1 -0
- package/dist/web-components-library/p-2ef82e17.entry.js +1 -0
- package/dist/web-components-library/p-324933f6.entry.js +1 -0
- package/dist/web-components-library/p-37e84b71.entry.js +1 -0
- package/dist/web-components-library/p-3c53e451.entry.js +1 -0
- package/dist/web-components-library/p-3ea03d34.entry.js +1 -0
- package/dist/web-components-library/p-41584e90.entry.js +1 -0
- package/dist/web-components-library/p-50e10a10.entry.js +1 -0
- package/dist/web-components-library/p-52899754.entry.js +1 -0
- package/dist/web-components-library/p-53670be4.entry.js +1 -0
- package/dist/web-components-library/p-583b8152.entry.js +1 -0
- package/dist/web-components-library/p-5a05dc1e.entry.js +1 -0
- package/dist/web-components-library/p-5d20fc3d.entry.js +1 -0
- package/{www/build/p-eb9161bc.entry.js → dist/web-components-library/p-622466f9.entry.js} +1 -2
- package/dist/web-components-library/p-658f022d.entry.js +1 -0
- package/dist/web-components-library/p-6bd35edf.entry.js +1 -0
- package/dist/web-components-library/p-7226f07a.entry.js +1 -0
- package/dist/web-components-library/p-7371a543.entry.js +2 -0
- package/dist/web-components-library/p-77bf39a4.entry.js +1 -0
- package/dist/web-components-library/p-788eaac7.entry.js +1 -0
- package/dist/web-components-library/p-7bf7539a.entry.js +1 -0
- package/dist/web-components-library/p-81eb43fd.entry.js +1 -0
- package/dist/web-components-library/p-8261c869.entry.js +1 -0
- package/dist/web-components-library/p-83da1031.entry.js +1 -0
- package/dist/web-components-library/p-85cac60d.entry.js +1 -0
- package/dist/web-components-library/p-88a3ba7c.entry.js +1 -0
- package/dist/web-components-library/p-8a8df4f4.entry.js +1 -0
- package/dist/web-components-library/p-8b026993.entry.js +1 -0
- package/dist/web-components-library/p-8d7e2e16.entry.js +1 -0
- package/dist/web-components-library/p-8de064a4.entry.js +1 -0
- package/dist/web-components-library/p-8f4a04aa.entry.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-CPsEG702.js +1 -0
- package/dist/web-components-library/p-CjHS9zeM.js +1 -0
- package/dist/web-components-library/p-DPdXlnVe.js +2 -0
- package/dist/web-components-library/p-Q-tWjk7P.js +1 -0
- package/dist/web-components-library/p-a4f673f8.entry.js +1 -0
- package/dist/web-components-library/p-aa4fc3d3.entry.js +1 -0
- package/dist/web-components-library/p-aa72d766.entry.js +1 -0
- package/dist/web-components-library/p-ad2cd7fc.entry.js +1 -0
- package/dist/web-components-library/p-b6223d7e.entry.js +1 -0
- package/dist/web-components-library/p-b851f20b.entry.js +1 -0
- package/dist/web-components-library/p-b9343431.entry.js +1 -0
- package/dist/web-components-library/p-be354b22.entry.js +1 -0
- package/dist/web-components-library/p-c42ddd93.entry.js +1 -0
- package/dist/web-components-library/p-c4e7bd16.entry.js +1 -0
- package/dist/web-components-library/p-c944a943.entry.js +1 -0
- package/dist/web-components-library/p-cd33f4b1.entry.js +1 -0
- package/dist/web-components-library/p-cdd88182.entry.js +16 -0
- package/dist/web-components-library/p-d3053434.entry.js +1 -0
- package/dist/web-components-library/p-d63665c1.entry.js +1 -0
- package/dist/web-components-library/p-dabccb20.entry.js +1 -0
- package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
- package/dist/web-components-library/p-dfd43710.entry.js +1 -0
- package/dist/web-components-library/p-e1d0a6e3.entry.js +1 -0
- package/dist/web-components-library/p-e48497f0.entry.js +1 -0
- package/dist/web-components-library/p-ec4940ce.entry.js +1 -0
- package/dist/web-components-library/p-eddc2d19.entry.js +1 -0
- package/dist/web-components-library/p-ef5018bb.entry.js +1 -0
- package/dist/web-components-library/p-f7e46ef2.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +24 -26
- package/dist/web-components-library/web-components-library.esm.js +1 -2
- package/package.json +14 -11
- 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/www/build/index.esm.js +1 -2
- package/www/build/p-087956fa.entry.js +1 -0
- package/www/build/p-10e5e16e.entry.js +1 -0
- package/www/build/p-13e7f751.entry.js +1 -0
- package/www/build/p-14b804f9.entry.js +1 -0
- package/www/build/p-1580db58.entry.js +1 -0
- package/www/build/p-15825811.entry.js +1 -0
- package/www/build/p-1993b0ad.entry.js +1 -0
- package/www/build/p-1a95491d.entry.js +1 -0
- package/www/build/p-1d023220.entry.js +1 -0
- package/www/build/p-21c85e04.entry.js +1 -0
- package/www/build/p-23b46642.entry.js +1 -0
- package/www/build/p-299f0f85.entry.js +1 -0
- package/www/build/p-29dde955.entry.js +1 -0
- package/www/build/p-2c036e17.entry.js +1 -0
- package/www/build/p-2d4c01c3.entry.js +1 -0
- package/www/build/p-2dabe353.entry.js +1 -0
- package/www/build/p-2df6d169.entry.js +1 -0
- package/www/build/p-2ef82e17.entry.js +1 -0
- package/www/build/p-324933f6.entry.js +1 -0
- package/www/build/p-37e84b71.entry.js +1 -0
- package/www/build/p-3c53e451.entry.js +1 -0
- package/www/build/p-3ea03d34.entry.js +1 -0
- package/www/build/p-41584e90.entry.js +1 -0
- package/www/build/p-50e10a10.entry.js +1 -0
- package/www/build/p-52899754.entry.js +1 -0
- package/www/build/p-53670be4.entry.js +1 -0
- package/www/build/p-583b8152.entry.js +1 -0
- package/www/build/p-5a05dc1e.entry.js +1 -0
- package/www/build/p-5d20fc3d.entry.js +1 -0
- package/{dist/web-components-library/p-eb9161bc.entry.js → www/build/p-622466f9.entry.js} +1 -2
- package/www/build/p-658f022d.entry.js +1 -0
- package/www/build/p-6bd35edf.entry.js +1 -0
- package/www/build/p-7226f07a.entry.js +1 -0
- package/www/build/p-7371a543.entry.js +2 -0
- package/www/build/p-77bf39a4.entry.js +1 -0
- package/www/build/p-788eaac7.entry.js +1 -0
- package/www/build/p-7bf7539a.entry.js +1 -0
- package/www/build/p-81eb43fd.entry.js +1 -0
- package/www/build/p-8261c869.entry.js +1 -0
- package/www/build/p-83da1031.entry.js +1 -0
- package/www/build/p-85cac60d.entry.js +1 -0
- package/www/build/p-88a3ba7c.entry.js +1 -0
- package/www/build/p-8a8df4f4.entry.js +1 -0
- package/www/build/p-8b026993.entry.js +1 -0
- package/www/build/p-8d7e2e16.entry.js +1 -0
- package/www/build/p-8de064a4.entry.js +1 -0
- package/www/build/p-8f4a04aa.entry.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-CPsEG702.js +1 -0
- package/www/build/p-CjHS9zeM.js +1 -0
- package/www/build/p-DPdXlnVe.js +2 -0
- package/www/build/p-Q-tWjk7P.js +1 -0
- package/www/build/p-a4f673f8.entry.js +1 -0
- package/www/build/p-aa4fc3d3.entry.js +1 -0
- package/www/build/p-aa72d766.entry.js +1 -0
- package/www/build/p-ad2cd7fc.entry.js +1 -0
- package/www/build/p-b6223d7e.entry.js +1 -0
- package/www/build/p-b851f20b.entry.js +1 -0
- package/www/build/p-b9343431.entry.js +1 -0
- package/www/build/p-be354b22.entry.js +1 -0
- package/www/build/p-c42ddd93.entry.js +1 -0
- package/www/build/p-c4e7bd16.entry.js +1 -0
- package/www/build/p-c5c5a64f.js +1 -0
- package/www/build/{p-b5b5dae5.css → p-c60c851a.css} +24 -26
- package/www/build/p-c944a943.entry.js +1 -0
- package/www/build/p-cd33f4b1.entry.js +1 -0
- package/www/build/p-cdd88182.entry.js +16 -0
- package/www/build/p-d3053434.entry.js +1 -0
- package/www/build/p-d63665c1.entry.js +1 -0
- package/www/build/p-dabccb20.entry.js +1 -0
- package/www/build/p-dc5ab2cc.entry.js +1 -0
- package/www/build/p-dfd43710.entry.js +1 -0
- package/www/build/p-e1d0a6e3.entry.js +1 -0
- package/www/build/p-e48497f0.entry.js +1 -0
- package/www/build/p-ec4940ce.entry.js +1 -0
- package/www/build/p-eddc2d19.entry.js +1 -0
- package/www/build/p-ef5018bb.entry.js +1 -0
- package/www/build/p-f7e46ef2.entry.js +1 -0
- package/www/build/web-components-library.css +24 -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.map +0 -1
- 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.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.map +0 -1
- 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.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.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.map +0 -1
- 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.map +0 -1
- 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.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.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.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.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.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.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.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.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.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.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.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.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.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.map +0 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
- 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.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.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.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.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.map +0 -1
- package/dist/collection/components/z-avatar/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
- 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.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.map +0 -1
- package/dist/collection/components/z-card/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-chip/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-combobox/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-divider/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-icon/index.js.map +0 -1
- 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.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.map +0 -1
- package/dist/collection/components/z-input/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-logo/index.js.map +0 -1
- 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.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.map +0 -1
- package/dist/collection/components/z-modal/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-notification/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-pagination/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-popover/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-searchbar/index.js.map +0 -1
- 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.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.map +0 -1
- package/dist/collection/components/z-stepper/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-tag/index.js.map +0 -1
- 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.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.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.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.map +0 -1
- package/dist/collection/components/z-tool/index.js.map +0 -1
- 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.map +0 -1
- package/dist/collection/components/z-tooltip/index.js.map +0 -1
- 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.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-alert/index.js.map +0 -1
- 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-dictionary/index.js.map +0 -1
- 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-sections/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
- 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.map +0 -1
- package/dist/esm/iconset-d7823b13.js.map +0 -1
- 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.map +0 -1
- 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/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.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-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.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,404 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
width: inherit;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:host * {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
input::-ms-clear,
|
|
11
|
-
input::-ms-reveal {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* GENERAL */
|
|
16
|
-
:host input::-ms-clear,
|
|
17
|
-
:host input::-ms-reveal {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
input,
|
|
22
|
-
textarea {
|
|
23
|
-
background: var(--color-form-background);
|
|
24
|
-
fill: var(--color-form-default-icon);
|
|
25
|
-
font-family: var(--font-family-sans);
|
|
26
|
-
font-size: var(--font-size-3);
|
|
27
|
-
font-weight: var(--font-rg);
|
|
28
|
-
outline: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input,
|
|
32
|
-
.textarea-wrapper {
|
|
33
|
-
border: var(--border-size-small) solid var(--color-form-surface04);
|
|
34
|
-
border-radius: var(--border-radius-small);
|
|
35
|
-
color: var(--color-form-default-text);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([size="small"]) input,
|
|
39
|
-
:host([size="small"]) textarea,
|
|
40
|
-
:host([size="x-small"]) input,
|
|
41
|
-
:host([size="x-small"]) textarea {
|
|
42
|
-
font-size: var(--font-size-2);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host.cursor-select input {
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* HOVER */
|
|
50
|
-
input:not([readonly]):hover,
|
|
51
|
-
.textarea-wrapper:not(.readonly):hover {
|
|
52
|
-
outline: var(--border-size-medium) solid var(--color-surface04);
|
|
53
|
-
outline-offset: -2px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* FOCUS */
|
|
57
|
-
:host:not(.active-select) input:focus:focus-visible,
|
|
58
|
-
:host:not([readonly="true"]) .textarea-wrapper:focus-within {
|
|
59
|
-
border-color: var(--color-form-active-primary);
|
|
60
|
-
box-shadow: var(--shadow-focus-primary);
|
|
61
|
-
color: var(--color-form-active-primary);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
:host input:focus:focus-visible:hover,
|
|
65
|
-
.textarea-wrapper:not(.readonly):focus-within:hover {
|
|
66
|
-
outline-color: var(--color-form-active-primary);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
:host input:focus:focus-visible + .icons-wrapper {
|
|
70
|
-
fill: var(--color-form-active-primary);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
:host.active-select input {
|
|
74
|
-
border: var(--border-size-small) solid var(--color-form-active-primary);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
:host.cursor-select input:focus:focus-visible {
|
|
78
|
-
box-shadow: var(--shadow-focus-primary);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
:host input[readonly]:focus:focus-visible {
|
|
82
|
-
border-color: var(--color-form-surface03);
|
|
83
|
-
box-shadow: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* STATUSES (success, warning, error) */
|
|
87
|
-
.input-success {
|
|
88
|
-
border-color: var(--color-form-success01);
|
|
89
|
-
background: var(--color-form-inverse-success);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.input-success:focus:focus-visible + .icons-wrapper,
|
|
93
|
-
.input-success + .icons-wrapper {
|
|
94
|
-
fill: var(--color-form-success01);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.input-error {
|
|
98
|
-
border-color: var(--color-form-hover-error);
|
|
99
|
-
background: var(--color-form-inverse-error);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.input-error:focus:focus-visible + .icons-wrapper,
|
|
103
|
-
.input-error + .icons-wrapper {
|
|
104
|
-
fill: var(--color-form-hover-error);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.input-warning {
|
|
108
|
-
border-color: var(--color-form-hover-warning);
|
|
109
|
-
background: var(--color-form-inverse-warning);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.input-warning:focus:focus-visible + .icons-wrapper,
|
|
113
|
-
.input-warning + .icons-wrapper {
|
|
114
|
-
fill: var(--color-form-hover-warning);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:is(.input-success, .input-error, .input-warning):focus:focus-visible {
|
|
118
|
-
color: var(--color-form-default-text);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/* READONLY */
|
|
122
|
-
:host:not(.active-select) input[readonly],
|
|
123
|
-
.textarea-wrapper.readonly {
|
|
124
|
-
border-color: var(--color-form-surface03);
|
|
125
|
-
fill: var(--color-form-disabled01-icon);
|
|
126
|
-
pointer-events: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* DISABLED */
|
|
130
|
-
:host([disabled]:not([disabled="false"])) input,
|
|
131
|
-
:host([disabled]:not([disabled="false"])) .textarea-wrapper,
|
|
132
|
-
:host([disabled]:not([disabled="false"])) z-icon {
|
|
133
|
-
border-color: var(--color-form-disabled03);
|
|
134
|
-
box-shadow: none;
|
|
135
|
-
color: var(--color-form-disabled-text);
|
|
136
|
-
fill: var(--color-form-disabled01-icon);
|
|
137
|
-
pointer-events: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
:host([disabled]:not([disabled="false"])) input:hover {
|
|
141
|
-
border-width: var(--border-size-small);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/* PLACEHOLDER */
|
|
145
|
-
input::placeholder,
|
|
146
|
-
textarea::placeholder {
|
|
147
|
-
color: var(--color-form-placeholder-text);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
::-webkit-textarea-placeholder {
|
|
151
|
-
color: var(--color-form-placeholder-text);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
:-ms-textarea-placeholder {
|
|
155
|
-
color: var(--color-form-placeholder-text);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
::placeholder {
|
|
159
|
-
color: var(--color-form-placeholder-text);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
:host([disabled]:not([disabled="false"])) label.z-label {
|
|
163
|
-
color: var(--color-disabled03);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.text-wrapper > div {
|
|
167
|
-
position: relative;
|
|
168
|
-
z-index: 1;
|
|
169
|
-
fill: var(--color-form-default-icon);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.text-wrapper > div > input {
|
|
173
|
-
width: 100%;
|
|
174
|
-
height: calc(var(--space-unit) * 5.5);
|
|
175
|
-
box-sizing: border-box;
|
|
176
|
-
padding: 0 calc(var(--space-unit) * 1.5);
|
|
177
|
-
margin: 0;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
:host([size="small"]) .text-wrapper > div > input {
|
|
181
|
-
height: calc(var(--space-unit) * 4.5);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
:host([size="x-small"]) .text-wrapper > div > input {
|
|
185
|
-
height: calc(var(--space-unit) * 4);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.text-wrapper > div > input.has-icon,
|
|
189
|
-
.text-wrapper > div > input.has-clear-icon {
|
|
190
|
-
padding-right: calc(var(--space-unit) * 5.25);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.text-wrapper > div > input.has-icon.has-clear-icon {
|
|
194
|
-
padding-right: calc(var(--space-unit) * 8);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.text-wrapper .icons-wrapper {
|
|
198
|
-
position: absolute;
|
|
199
|
-
z-index: 2;
|
|
200
|
-
top: 50%;
|
|
201
|
-
right: calc(var(--space-unit) * 1.5);
|
|
202
|
-
display: flex;
|
|
203
|
-
pointer-events: none;
|
|
204
|
-
transform: translateY(-50%);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.text-wrapper .icons-wrapper > button.input-icon {
|
|
208
|
-
display: flex;
|
|
209
|
-
padding: 0;
|
|
210
|
-
border: 0;
|
|
211
|
-
background: none;
|
|
212
|
-
color: inherit;
|
|
213
|
-
font: inherit;
|
|
214
|
-
pointer-events: initial;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.text-wrapper .icons-wrapper > .input-icon + .input-icon {
|
|
218
|
-
margin-left: calc(var(--space-unit) * 0.5);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.text-wrapper .icons-wrapper > button.input-icon.hidden {
|
|
222
|
-
display: none;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.text-wrapper .icons-wrapper > button.reset-icon,
|
|
226
|
-
.text-wrapper .icons-wrapper > button.toggle-password-icon {
|
|
227
|
-
cursor: pointer;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.text-wrapper .icons-wrapper > .input-icon {
|
|
231
|
-
--z-icon-width: 18px;
|
|
232
|
-
--z-icon-height: 18px;
|
|
233
|
-
|
|
234
|
-
display: block;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.text-wrapper .icons-wrapper > .input-icon.small,
|
|
238
|
-
.text-wrapper .icons-wrapper > .input-icon.x-small {
|
|
239
|
-
--z-icon-width: 16px;
|
|
240
|
-
--z-icon-height: 16px;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.text-wrapper .icons-wrapper > button.input-icon:focus {
|
|
244
|
-
box-shadow: var(--shadow-focus-primary);
|
|
245
|
-
outline: none !important;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/* stylelint-disable property-no-vendor-prefix */
|
|
249
|
-
.text-wrapper > div > input:-webkit-autofill {
|
|
250
|
-
-webkit-box-shadow: 0 0 0 1000px #fff inset;
|
|
251
|
-
-webkit-text-fill-color: currentcolor;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.textarea-wrapper {
|
|
255
|
-
width: 100%;
|
|
256
|
-
height: 100%;
|
|
257
|
-
padding: calc(var(--space-unit) * 1.5);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.textarea-wrapper:not(.input-error, .input-success, .input-warning) {
|
|
261
|
-
background-color: var(--color-form-background);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
textarea {
|
|
265
|
-
width: 100%;
|
|
266
|
-
min-height: 132px;
|
|
267
|
-
padding: 0;
|
|
268
|
-
border: none;
|
|
269
|
-
margin: 0;
|
|
270
|
-
color: currentcolor;
|
|
271
|
-
resize: none;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.radio-wrapper,
|
|
275
|
-
.checkbox-wrapper {
|
|
276
|
-
position: relative;
|
|
277
|
-
display: inline-flex;
|
|
278
|
-
flex-direction: row;
|
|
279
|
-
align-items: center;
|
|
280
|
-
color: var(--color-default-text);
|
|
281
|
-
fill: var(--color-primary01);
|
|
282
|
-
font-family: var(--font-family-sans);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.radio-wrapper:hover,
|
|
286
|
-
.checkbox-wrapper:hover {
|
|
287
|
-
color: var(--color-hover-primary);
|
|
288
|
-
fill: var(--color-hover-primary-icon);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.radio-wrapper > input,
|
|
292
|
-
.checkbox-wrapper > input {
|
|
293
|
-
position: absolute;
|
|
294
|
-
z-index: -1;
|
|
295
|
-
opacity: 0;
|
|
296
|
-
pointer-events: none;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.radio-wrapper .radio-label,
|
|
300
|
-
.checkbox-wrapper .checkbox-label {
|
|
301
|
-
display: inline-flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
margin: 0;
|
|
304
|
-
color: inherit;
|
|
305
|
-
font-family: inherit;
|
|
306
|
-
font-size: inherit;
|
|
307
|
-
font-weight: inherit;
|
|
308
|
-
line-height: 1;
|
|
309
|
-
text-transform: inherit;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.radio-wrapper input:not(:disabled) + .radio-label,
|
|
313
|
-
.checkbox-wrapper input:not(:disabled) + .checkbox-label {
|
|
314
|
-
cursor: pointer;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.radio-wrapper .radio-label z-icon,
|
|
318
|
-
.checkbox-wrapper .checkbox-label z-icon {
|
|
319
|
-
cursor: pointer;
|
|
320
|
-
fill: inherit;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
:host([size="small"]) .radio-wrapper .radio-label z-icon,
|
|
324
|
-
:host([size="small"]) .checkbox-wrapper .checkbox-label z-icon {
|
|
325
|
-
--z-icon-width: 16px;
|
|
326
|
-
--z-icon-height: 16px;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
:host([size="small"]) .radio-wrapper .radio-label,
|
|
330
|
-
:host([size="small"]) .checkbox-wrapper .checkbox-label {
|
|
331
|
-
font-size: var(--font-size-2);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
:host([size="x-small"]) .radio-wrapper .radio-label z-icon,
|
|
335
|
-
:host([size="x-small"]) .checkbox-wrapper .checkbox-label z-icon {
|
|
336
|
-
--z-icon-width: 14px;
|
|
337
|
-
--z-icon-height: 14px;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host([size="x-small"]) .radio-wrapper .radio-label,
|
|
341
|
-
:host([size="x-small"]) .checkbox-wrapper .checkbox-label {
|
|
342
|
-
font-size: var(--font-size-1);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.radio-wrapper .radio-label.after,
|
|
346
|
-
.checkbox-wrapper .checkbox-label.after {
|
|
347
|
-
flex-direction: row;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.radio-wrapper .radio-label.before,
|
|
351
|
-
.checkbox-wrapper .checkbox-label.before {
|
|
352
|
-
flex-direction: row-reverse;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.radio-wrapper .radio-label.after > span,
|
|
356
|
-
.checkbox-wrapper .checkbox-label.after > span {
|
|
357
|
-
margin-left: var(--space-unit);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.radio-wrapper .radio-label.before > span,
|
|
361
|
-
.checkbox-wrapper .checkbox-label.before > span {
|
|
362
|
-
margin-right: var(--space-unit);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
:host([size="small"]) .radio-wrapper .radio-label.after > span,
|
|
366
|
-
:host([size="small"]) .checkbox-wrapper .checkbox-label.after > span,
|
|
367
|
-
:host([size="x-small"]) .radio-wrapper .radio-label.after > span,
|
|
368
|
-
:host([size="x-small"]) .checkbox-wrapper .checkbox-label.after > span {
|
|
369
|
-
margin-left: calc(var(--space-unit) * 0.5);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
:host([size="small"]) .radio-wrapper .radio-label.before > span,
|
|
373
|
-
:host([size="small"]) .checkbox-wrapper .checkbox-label.before > span,
|
|
374
|
-
:host([size="x-small"]) .radio-wrapper .radio-label.before > span,
|
|
375
|
-
:host([size="x-small"]) .checkbox-wrapper .checkbox-label.before > span {
|
|
376
|
-
margin-right: calc(var(--space-unit) * 0.5);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/* focus */
|
|
380
|
-
.radio-wrapper > input:focus:focus-visible + .radio-label > z-icon {
|
|
381
|
-
border-radius: 50%;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.checkbox-wrapper > input:focus:focus-visible + .checkbox-label > z-icon {
|
|
385
|
-
border-radius: var(--border-radius-small);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.radio-wrapper > input:focus:focus-visible + .radio-label > z-icon,
|
|
389
|
-
.checkbox-wrapper > input:focus:focus-visible + .checkbox-label > z-icon {
|
|
390
|
-
box-shadow: var(--shadow-focus-primary);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/* disabled */
|
|
394
|
-
.radio-wrapper > input:disabled + .radio-label,
|
|
395
|
-
.checkbox-wrapper > input:disabled + .checkbox-label {
|
|
396
|
-
color: var(--color-disabled03);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.radio-wrapper > input:disabled + .radio-label > z-icon,
|
|
400
|
-
.checkbox-wrapper > input:disabled + .checkbox-label > z-icon {
|
|
401
|
-
cursor: default;
|
|
402
|
-
fill: var(--color-disabled01);
|
|
403
|
-
}
|
|
404
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-input-message/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAOxC,MAAM,OAAO,aAAa;;QAahB,gBAAW,GAAG;YACpB,OAAO,EAAE,kBAAkB;YAC3B,KAAK,EAAE,kBAAkB;YACzB,OAAO,EAAE,oBAAoB;SAC9B,CAAC;;;;0BAGW,EAAE;;IAIf,eAAe;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACvE,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qEAAK,IAAI,CAAC,UAAU;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,GAAW;YACxG,6DAAM,SAAS,EAAE,IAAI,CAAC,OAAO,GAAI,CAC5B,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {InputStatus} from \"../../beans\";\n\n@Component({\n tag: \"z-input-message\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInputMessage {\n /** input helper message */\n @Prop()\n message: string;\n\n /** input status (optional) */\n @Prop({reflect: true})\n status?: InputStatus;\n\n /** input disabled status (optional) */\n @Prop({reflect: true})\n disabled?: boolean;\n\n private statusIcons = {\n success: \"checkmark-circle\",\n error: \"multiply-circled\",\n warning: \"exclamation-circle\",\n };\n\n @State()\n statusRole = {};\n\n @Watch(\"message\")\n @Watch(\"status\")\n onMessageChange(): void {\n this.statusRole = this.message && this.status ? {role: \"alert\"} : {};\n }\n\n componentWillLoad(): void {\n this.onMessageChange();\n }\n\n render(): HTMLZInputMessageElement {\n return (\n <Host {...this.statusRole}>\n {this.statusIcons[this.status] && this.message && <z-icon name={this.statusIcons[this.status]}></z-icon>}\n <span innerHTML={this.message} />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-input-message/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,SAAS,CAAC;AAIjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,iBAAiB;IAC5B,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;aACrB;YACD,OAAO,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SACpD;QACD,KAAK,EAAE;YACL,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;aACrB;YACD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC;SACpC;KACF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,WAAW;QACpB,MAAM,EAAE,WAAW,CAAC,KAAK;QACzB,KAAK,EAAE,WAAW,CAAC,GAAG;KACvB;CACuC,CAAC;AAC3C,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;eACb,IAAI,CAAC,MAAM;cACZ,IAAI,CAAC,KAAK;;GAErB;CAC2C,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZInputMessage} from \".\";\nimport {ControlSize, InputStatus} from \"../../beans\";\nimport \"./index\";\n\ntype ZInputMessageStoriesArgs = ZInputMessage & {class: ControlSize};\n\nconst StoryMeta = {\n title: \"ZInputMessage\",\n component: \"z-input-message\",\n argTypes: {\n status: {\n control: {\n type: \"inline-radio\",\n },\n options: [\"default\", ...Object.values(InputStatus)],\n },\n class: {\n control: {\n type: \"inline-radio\",\n },\n options: Object.values(ControlSize),\n },\n },\n args: {\n message: \"messaggio\",\n status: InputStatus.ERROR,\n class: ControlSize.BIG,\n },\n} satisfies Meta<ZInputMessageStoriesArgs>;\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) => html`\n <z-input-message\n message=${args.message}\n status=${args.status}\n class=${args.class}\n ></z-input-message>\n `,\n} satisfies StoryObj<ZInputMessageStoriesArgs>;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-logo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAOvD,MAAM,OAAO,KAAK;;;;;;;;;IAyBhB,MAAM;QACJ,MAAM,KAAK,GAAG,EAAE,CAAC;QAEjB,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC;QAC1D,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,KAAK,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC;QAC7D,CAAC;QAED,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,EAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,EAAC,IAEjC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,SACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO;YAE7C,WAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,GAAI,CACzB,CACL,CAAC,CAAC,CAAC,CACF,WAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,GAAI,CAC5B,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-logo\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZLogo {\n /** image width */\n @Prop()\n width?: number;\n\n /** image height */\n @Prop()\n height?: number;\n\n /** alternative image text */\n @Prop()\n imageAlt?: string;\n\n /** link url (optional) */\n @Prop()\n link?: string;\n\n /** link target: true means _blank, false means _self */\n @Prop()\n targetBlank?: boolean;\n\n /** if true, the mobile logo is displayed, otherwise the desktop one */\n @Prop()\n mobileLogo?: boolean;\n\n render(): HTMLZLogoElement {\n const style = {};\n\n if (this.width) {\n style[\"width\"] = style[\"max-width\"] = `${this.width}px`;\n }\n\n if (this.height) {\n style[\"height\"] = style[\"max-height\"] = `${this.height}px`;\n }\n\n return (\n <Host\n style={style}\n class={{mobile: !!this.mobileLogo}}\n >\n {this.link ? (\n <a\n href={this.link}\n target={this.targetBlank ? \"_blank\" : \"_self\"}\n >\n <img alt={this.imageAlt} />\n </a>\n ) : (\n <img alt={this.imageAlt} />\n )}\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-logo/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,EAAE;QACR,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,KAAK;KAClB;CACoB,CAAC;AAExB,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;mBACW,IAAI,CAAC,QAAQ;gBAChB,IAAI,CAAC,MAAM;eACZ,IAAI,CAAC,KAAK;cACX,IAAI,CAAC,IAAI;sBACD,IAAI,CAAC,WAAW;qBACjB,IAAI,CAAC,UAAU;eACrB;CACY,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZLogo} from \".\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"ZLogo\",\n component: \"z-logo\",\n args: {\n imageAlt: \"logo\",\n height: 50,\n width: 200,\n link: \"\",\n targetBlank: false,\n mobileLogo: false,\n },\n} satisfies Meta<ZLogo>;\n\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) =>\n html`<z-logo\n image-alt=\"${args.imageAlt}\"\n height=\"${args.height}\"\n width=\"${args.width}\"\n link=\"${args.link}\"\n target-blank=\"${args.targetBlank}\"\n mobile-logo=\"${args.mobileLogo}\"\n ></z-logo>`,\n} satisfies StoryObj<ZLogo>;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-menu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,K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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop({mutable: true})\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-menu/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE;QACJ,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,IAAI;KACf;CACoB,CAAC;AAExB,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,MAAM;kBACT,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6C5B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,MAAM;kBACT,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqC5B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,UAAU,CAAC;SACtB;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;sBACE,IAAI;;;;;;;GAOvB;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZMenu} from \".\";\nimport \"../z-menu-section/index\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"Zmenu/ZMenu\",\n component: \"z-menu\",\n args: {\n active: false,\n floating: true,\n },\n} satisfies Meta<ZMenu>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZMenu>;\n\nexport const FloatingContentLayout = {\n render: (args) => html`\n <z-menu\n .active=${args.active}\n .floating=${args.floating}\n >\n <h3>Menu label</h3>\n <a\n href=\"\"\n slot=\"item\"\n >Item 1</a\n >\n <a\n href=\"\"\n slot=\"item\"\n >Item 2</a\n >\n <z-menu-section slot=\"item\">\n <h3>Item 3</h3>\n <a\n href=\"\"\n slot=\"section\"\n >Item 3.1</a\n >\n <a\n href=\"\"\n slot=\"section\"\n >Item 3.2</a\n >\n </z-menu-section>\n <z-menu-section slot=\"item\">\n <h3>Item 4</h3>\n <a\n href=\"\"\n slot=\"section\"\n >Item 4.1</a\n >\n <a\n href=\"\"\n slot=\"section\"\n >Item 4.2</a\n >\n </z-menu-section>\n <a\n href=\"\"\n slot=\"item\"\n >Item 5</a\n >\n </z-menu>\n `,\n} satisfies Story;\n\nexport const WithHeader = {\n render: (args) => html`\n <z-menu\n .active=${args.active}\n .floating=${args.floating}\n >\n <img\n slot=\"header\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <h4 slot=\"header\">Menu header</h4>\n <h3>Menu label</h3>\n <a\n href=\"\"\n slot=\"item\"\n >Item 1</a\n >\n <a\n href=\"\"\n slot=\"item\"\n >Item 2</a\n >\n <z-menu-section slot=\"item\">\n <h3>Item 3</h3>\n <a\n href=\"\"\n slot=\"section\"\n >Item 3.1</a\n >\n <a\n href=\"\"\n slot=\"section\"\n >Item 3.2</a\n >\n </z-menu-section>\n <a\n href=\"\"\n slot=\"item\"\n >Item 4</a\n >\n </z-menu>\n `,\n} satisfies Story;\n\nexport const ActiveWithoutItems = {\n parameters: {\n controls: {\n exclude: [\"floating\"],\n },\n },\n render: () => html`\n <z-menu .active=${true}>\n <a\n href=\"https://cataas.com/cat/gif\"\n target=\"_blank\"\n >Click me</a\n >\n </z-menu>\n `,\n} satisfies Story;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-menu-section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC;;;;GAIG;AAMH,MAAM,OAAO,YAAY;IAkCvB,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC;IACzD,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;IACzB,CAAC;IAEO,iBAAiB;QACvB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YAC1B,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;YACtC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CA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C,CAAC;KACtD;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAE,IAAI,CAAC,IAAI;YACnB,+DACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,EAC9B,KAAK,EAAC,OAAO,mBACE,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,mBACpB,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,EAC/B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,YAAY,EAC1B,SAAS,EAAE,IAAI,CAAC,cAAc;gBAE9B,6DAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI;gBAC7C,IAAI,CAAC,QAAQ,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,GAAI,CACtE;YACT,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI;gBAElB,6DACE,IAAI,EAAC,SAAS,EACd,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\n\n/**\n * A component to create submenus inside the ZMenu.\n * @slot - Label of the menu section.\n * @slot section - Single entry of the menu section. Set the same slot name to different elements to put many of them. Add the `data-active` attribute to a slotted element to highlight it (`active` also works but `data-active` is preferable).\n */\n@Component({\n tag: \"z-menu-section\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuSection {\n @Element() host: HTMLZMenuSectionElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Tabindex value to set on the label button.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZMenu).\n */\n @Prop()\n htmlTabindex = -1;\n\n /** The opening state of the section. */\n @Prop({mutable: true})\n open: boolean;\n\n @State()\n hasItems: boolean;\n\n @State()\n items: HTMLElement[];\n\n /** The section has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The section has been closed. */\n @Event()\n closed: EventEmitter;\n\n private label: HTMLButtonElement;\n\n private get focusableItem(): HTMLElement {\n return this.items.find(({tabIndex}) => tabIndex === 0);\n }\n\n private toggle(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.open = !this.open;\n }\n\n private setItemsA11yAttrs(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.tabIndex = -1;\n });\n }\n\n private onItemsChange(): void {\n this.items = Array.from(this.host.querySelectorAll('[slot=\"section\"]')) as HTMLElement[];\n this.hasItems = this.items.length > 0;\n this.setItemsA11yAttrs();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.focustFirstItem();\n }\n }\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n */\n private moveFocus(receiver: HTMLElement, current?: HTMLElement): void {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n if (current) {\n current.tabIndex = -1;\n }\n }\n\n private focustFirstItem(): void {\n this.moveFocus(this.items[0]);\n }\n\n /** Focus the last item. */\n @Method()\n async focusLastItem(): Promise<void> {\n this.moveFocus(this.items[this.items.length - 1]);\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n setTimeout(() => {\n this.label.focus();\n }, 100);\n }\n\n @Watch(\"open\")\n onOpenChange(): void {\n if (!this.open) {\n this.setItemsA11yAttrs();\n this.closed.emit();\n } else {\n this.opened.emit();\n }\n }\n\n @Watch(\"htmlTabindex\")\n onTabindexChange(): void {\n if (!this.label) {\n return;\n }\n\n this.label.tabIndex = this.htmlTabindex;\n }\n\n @Listen(\"keydown\")\n private onItemsKeydown(ev: KeyboardEvent): void {\n switch (ev.key) {\n case KeyboardCode.ESC:\n case KeyboardCode.ARROW_LEFT:\n if (!this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(this.label, this.focusableItem);\n this.open = false;\n break;\n case KeyboardCode.ARROW_RIGHT:\n if (this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.focustFirstItem();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (!this.open) {\n break;\n }\n if (document.activeElement === this.host) {\n ev.preventDefault();\n ev.stopPropagation();\n this.focustFirstItem();\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex + 1];\n if (receiver) {\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(receiver, this.focusableItem);\n } else {\n this.htmlTabindex = 0;\n this.focusableItem.tabIndex = -1;\n }\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (!this.open || document.activeElement === this.host) {\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex - 1];\n ev.preventDefault();\n ev.stopPropagation();\n if (receiver) {\n this.moveFocus(receiver, this.focusableItem);\n } else {\n // since there isn't a previous item to focus, give the focus to the label element\n this.focusableItem.tabIndex = -1;\n this.setFocus();\n }\n break;\n }\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n this.onItemsKeydown = this.onItemsKeydown.bind(this);\n }\n\n connectedCallback(): void {\n this.onItemsChange();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host open={this.open}>\n <button\n ref={(el) => (this.label = el)}\n class=\"label\"\n aria-haspopup={`${!!this.hasItems}`}\n aria-expanded={`${!!this.open}`}\n role=\"menuitem\"\n tabindex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n {this.hasItems && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n <div\n class=\"items\"\n role=\"menu\"\n hidden={!this.open}\n >\n <slot\n name=\"section\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-menu-section/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,gBAAgB;IAC3B,IAAI,EAAE;QACJ,MAAM,EAAE,KAAK;KACd;CAC2B,CAAC;AAE/B,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;8BACM,IAAI,CAAC,MAAM;;;;;;;;;;;;;;;;;;;GAmBtC;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;8BACM,IAAI,CAAC,MAAM;;;GAGtC;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZMenuSection} from \".\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"ZMenu/ZMenuSection\",\n component: \"z-menu-section\",\n args: {\n active: false,\n },\n} satisfies Meta<ZMenuSection>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZMenuSection>;\n\nexport const WithItems = {\n render: (args) => html`\n <z-menu-section .active=${args.active}>\n <h3>Label</h3>\n <a\n href=\"\"\n slot=\"section\"\n >Item 1</a\n >\n <a\n href=\"\"\n slot=\"section\"\n >Item 2</a\n >\n <a\n href=\"\"\n slot=\"seection\"\n active\n >Item 3 - active</a\n >\n </z-menu-section>\n `,\n} satisfies Story;\n\nexport const WithoutItems = {\n render: (args) => html`\n <z-menu-section .active=${args.active}>\n <h3>Label</h3>\n </z-menu-section>\n `,\n} satisfies Story;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEz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BAChD,8BAA8B,EAAE,CAAC,IAAI,CAAC,YAAY;qBACnD,EACD,EAAE,EAAC,eAAe;oBAElB,6DAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B,CACF;YACN,4DACE,KAAK,EAAE;oBACL,kBAAkB,EAAE,IAAI;oBACxB,iCAAiC,EAAE,CAAC,IAAI,CAAC,YAAY;iBACtD,iBACW,iBAAiB,gBACjB,IAAI,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACf,CAAC,GACI,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - slot for custom close button\n * @slot modalContent - slot for the content of the modal\n * @cssprop --z-modal-content-padding - padding of the modal's content. The default is 16px (--space-unit * 2)\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n /** if true, the page scroll is locked when the modal is open (optional, default is true) */\n @Prop()\n lockPageScroll?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n private resetPageScroll(): void {\n if (this.lockPageScroll && document.body.style.overflowY === \"hidden\") {\n document.body.style.overflowY = \"\";\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n if (this.lockPageScroll) {\n requestAnimationFrame(() => (document.body.style.overflowY = \"hidden\"));\n }\n }\n\n disconnectedCallback(): void {\n this.resetPageScroll();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n if (this.lockPageScroll) {\n document.body.style.overflowY = \"hidden\";\n }\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n this.resetPageScroll();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B,MAAM,SAAS,GAAG;IAChB,KAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HxE;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZSearchbarStoriesArgs = ZModal & CSSVarsArguments<\"--z-modal-content-padding\">;\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n \"modalid\": \"my-modal\",\n \"modaltitle\": \"My modal title\",\n \"modalsubtitle\": \"My modal subtitle\",\n \"closeButtonLabel\": \"chiudi modale\",\n \"alertdialog\": false,\n \"closable\": true,\n \"scrollInside\": true,\n \"lockPageScroll\": true,\n \"--z-modal-content-padding\": \"calc(var(--space-unit) * 2)\",\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZSearchbarStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"date-picker-1\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"label\"\n ></z-date-picker>\n Provaaaaa 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? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
|