@zanichelli/albe-web-components 19.2.3-RC1 → 19.2.3
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 +20 -0
- package/dist/cjs/_commonjsHelpers-68cdf74f.js +7 -0
- package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{breakpoints-B7vFm-3T.js → breakpoints-8a1e87e0.js} +2 -0
- package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
- package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-5d47610c.js} +4 -3
- package/dist/cjs/iconset-5d47610c.js.map +1 -0
- package/dist/cjs/index-012853a0.js +21 -0
- package/dist/cjs/index-012853a0.js.map +1 -0
- package/dist/cjs/index-1d7a50cc.js +67 -0
- package/dist/cjs/index-1d7a50cc.js.map +1 -0
- package/dist/cjs/index-2dff20f5.js +20 -0
- package/dist/cjs/index-2dff20f5.js.map +1 -0
- package/dist/cjs/index-86a8a3a4.js +23 -0
- package/dist/cjs/index-86a8a3a4.js.map +1 -0
- package/dist/cjs/index-96af6326.js +2324 -0
- package/dist/cjs/index-96af6326.js.map +1 -0
- package/dist/cjs/index-c38e5b9e.js +73 -0
- package/dist/cjs/index-c38e5b9e.js.map +1 -0
- package/dist/cjs/index-cb280932.js +47 -0
- package/dist/cjs/index-cb280932.js.map +1 -0
- package/dist/cjs/{index-wGaSHN1_.js → index-e30d0503.js} +2 -0
- package/dist/cjs/index-e30d0503.js.map +1 -0
- package/dist/cjs/index.cjs.js +224 -112
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +8 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{utils-C5_wGVkJ.js → utils-4f7b4830.js} +73 -81
- package/dist/cjs/utils-4f7b4830.js.map +1 -0
- package/dist/cjs/{utils-Ctc6JP2n.js → utils-b1859d65.js} +4 -2
- package/dist/cjs/utils-b1859d65.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +10 -7
- package/dist/cjs/web-components-library.cjs.js.map +1 -0
- package/dist/cjs/z-accordion.cjs.entry.js +13 -26
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/z-alert.cjs.entry.js +10 -4
- package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +10 -25
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +22 -53
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +150 -261
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +7 -4
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-avatar.cjs.entry.js +13 -9
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-app.cjs.entry.js +18 -10
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +24 -10
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card.cjs.entry.js +23 -11
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-cover.cjs.entry.js +11 -6
- package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +19 -24
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +14 -9
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
- package/dist/cjs/z-card.cjs.entry.js +12 -9
- package/dist/cjs/z-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-carousel.cjs.entry.js +29 -49
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/z-chip.cjs.entry.js +13 -9
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-color-picker.cjs.entry.js +18 -24
- package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-combobox.cjs.entry.js +26 -27
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +11 -18
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +330 -351
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +22 -18
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -21
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file.cjs.entry.js +13 -6
- package/dist/cjs/z-file.cjs.entry.js.map +1 -0
- package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -4
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-box.cjs.entry.js +10 -5
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-reveal.cjs.entry.js +13 -20
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
- package/dist/cjs/z-logo.cjs.entry.js +15 -4
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +14 -23
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +13 -10
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +16 -15
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu.cjs.entry.js +17 -27
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +14 -5
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +12 -9
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +9 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +15 -7
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +10 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-info.cjs.entry.js +13 -8
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js +10 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +31 -16
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list-item.cjs.entry.js +17 -9
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list.cjs.entry.js +12 -7
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +18 -28
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/z-notification.cjs.entry.js +13 -10
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-otp.cjs.entry.js +14 -10
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
- package/dist/cjs/z-pagination.cjs.entry.js +18 -28
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/z-panel-elem.cjs.entry.js +17 -7
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
- package/dist/cjs/z-popover.cjs.entry.js +19 -35
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-range-picker.cjs.entry.js +31 -38
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-result-card.cjs.entry.js +16 -7
- package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-section-title.cjs.entry.js +10 -12
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
- package/dist/cjs/z-select.cjs.entry.js +25 -21
- package/dist/cjs/z-select.cjs.entry.js.map +1 -0
- package/dist/cjs/z-skip-to-content.cjs.entry.js +13 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +16 -12
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +14 -4
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper.cjs.entry.js +9 -4
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/z-table.cjs.entry.js +18 -19
- package/dist/cjs/z-table.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tbody.cjs.entry.js +7 -12
- package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
- package/dist/cjs/z-td.cjs.entry.js +8 -54
- package/dist/cjs/z-td.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +7 -16
- package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
- package/dist/cjs/z-th.cjs.entry.js +8 -81
- package/dist/cjs/z-th.cjs.entry.js.map +1 -0
- package/dist/cjs/z-thead.cjs.entry.js +7 -21
- package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +12 -11
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +3957 -3936
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-button.cjs.entry.js +12 -8
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-switch.cjs.entry.js +14 -13
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tool.cjs.entry.js +29 -28
- package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toolbar.cjs.entry.js +12 -7
- package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +11 -15
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tr.cjs.entry.js +12 -80
- package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tree-list.cjs.entry.js +14 -10
- package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +9 -4
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
- package/dist/collection/__mocks__/fileMock.js +1 -0
- package/dist/collection/__mocks__/fileMock.js.map +1 -0
- package/dist/collection/beans/index.js +1 -0
- package/dist/collection/beans/index.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/book-card/z-book-card/index.js +34 -55
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js +1 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +15 -23
- package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-label/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-label/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/utils.js +1 -0
- package/dist/collection/components/date-picker/utils.js.map +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +35 -61
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +34 -61
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +23 -70
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +40 -57
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +12 -31
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +10 -11
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.js +5 -16
- package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +6 -7
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file/index.js +8 -9
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js +1 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +37 -80
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
- package/dist/collection/components/index.js +1 -0
- package/dist/collection/components/index.js.map +1 -0
- package/dist/collection/components/list/z-list/index.js +7 -23
- package/dist/collection/components/list/z-list/index.js.map +1 -0
- package/dist/collection/components/list/z-list/index.stories.js +1 -0
- package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.js +38 -113
- package/dist/collection/components/list/z-list-element/index.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.stories.js +1 -0
- package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.js +16 -50
- package/dist/collection/components/list/z-list-group/index.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.stories.js +1 -0
- package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.js +11 -16
- package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js +1 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js.map +1 -0
- package/dist/collection/components/table/cells/z-td/index.js +10 -32
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-th/index.js +17 -54
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
- package/dist/collection/components/table/z-table/index.js +3 -10
- package/dist/collection/components/table/z-table/index.js.map +1 -0
- package/dist/collection/components/table/z-table/index.stories.js +1 -0
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
- package/dist/collection/components/table/z-tbody/index.js +2 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -0
- package/dist/collection/components/table/z-tfoot/index.js +3 -7
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
- package/dist/collection/components/table/z-thead/index.js +4 -13
- package/dist/collection/components/table/z-thead/index.js.map +1 -0
- package/dist/collection/components/table/z-tr/index.js +5 -17
- package/dist/collection/components/table/z-tr/index.js.map +1 -0
- package/dist/collection/components/z-accordion/index.js +16 -49
- package/dist/collection/components/z-accordion/index.js.map +1 -0
- package/dist/collection/components/z-accordion/index.stories.js +1 -0
- package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/index.js +6 -33
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js +1 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
- package/dist/collection/components/z-app-header/index.js +20 -58
- package/dist/collection/components/z-app-header/index.js.map +1 -0
- package/dist/collection/components/z-app-header/index.stories.js +1 -0
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.js +4 -7
- package/dist/collection/components/z-aria-alert/index.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.stories.js +1 -0
- package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
- package/dist/collection/components/z-avatar/index.js +13 -24
- package/dist/collection/components/z-avatar/index.js.map +1 -0
- package/dist/collection/components/z-avatar/index.stories.js +1 -0
- package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
- package/dist/collection/components/z-book-cover/index.js +10 -17
- package/dist/collection/components/z-book-cover/index.js.map +1 -0
- package/dist/collection/components/z-book-cover/index.stories.js +1 -0
- package/dist/collection/components/z-book-cover/index.stories.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.js +17 -37
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js +1 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
- package/dist/collection/components/z-button/index.js +35 -74
- package/dist/collection/components/z-button/index.js.map +1 -0
- package/dist/collection/components/z-button/index.stories.js +1 -0
- package/dist/collection/components/z-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.js +18 -33
- package/dist/collection/components/z-button-sort/index.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
- package/dist/collection/components/z-card/index.js +11 -21
- package/dist/collection/components/z-card/index.js.map +1 -0
- package/dist/collection/components/z-card/index.stories.js +1 -0
- package/dist/collection/components/z-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-carousel/index.js +35 -69
- package/dist/collection/components/z-carousel/index.js.map +1 -0
- package/dist/collection/components/z-carousel/index.stories.js +3 -2
- package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
- package/dist/collection/components/z-chip/index.js +13 -24
- package/dist/collection/components/z-chip/index.js.map +1 -0
- package/dist/collection/components/z-chip/index.stories.js +1 -0
- package/dist/collection/components/z-chip/index.stories.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.js +17 -31
- package/dist/collection/components/z-color-picker/index.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.stories.js +1 -0
- package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
- package/dist/collection/components/z-combobox/index.js +41 -80
- package/dist/collection/components/z-combobox/index.js.map +1 -0
- package/dist/collection/components/z-combobox/index.stories.js +1 -0
- package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.js +8 -27
- package/dist/collection/components/z-cover-hero/index.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.stories.js +1 -0
- package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
- package/dist/collection/components/z-divider/index.js +7 -17
- package/dist/collection/components/z-divider/index.js.map +1 -0
- package/dist/collection/components/z-divider/index.stories.js +1 -0
- package/dist/collection/components/z-divider/index.stories.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.js +2 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js +1 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
- package/dist/collection/components/z-icon/index.js +22 -25
- package/dist/collection/components/z-icon/index.js.map +1 -0
- package/dist/collection/components/z-icon/index.stories.js +1 -0
- package/dist/collection/components/z-icon/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-box/index.js +6 -9
- package/dist/collection/components/z-info-box/index.js.map +1 -0
- package/dist/collection/components/z-info-box/index.stories.js +1 -0
- package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.js +11 -30
- package/dist/collection/components/z-info-reveal/index.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.stories.js +1 -0
- package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/index.js +74 -131
- package/dist/collection/components/z-input/index.js.map +1 -0
- package/dist/collection/components/z-input/index.stories.js +1 -0
- package/dist/collection/components/z-input/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/styles.css +5 -3
- package/dist/collection/components/z-input-message/index.js +12 -15
- package/dist/collection/components/z-input-message/index.js.map +1 -0
- package/dist/collection/components/z-input-message/index.stories.js +1 -0
- package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/index.js +22 -25
- package/dist/collection/components/z-logo/index.js.map +1 -0
- package/dist/collection/components/z-logo/index.stories.js +1 -0
- package/dist/collection/components/z-logo/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu/index.js +12 -32
- package/dist/collection/components/z-menu/index.js.map +1 -0
- package/dist/collection/components/z-menu/index.stories.js +1 -0
- package/dist/collection/components/z-menu/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.js +12 -17
- package/dist/collection/components/z-menu-section/index.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
- package/dist/collection/components/z-modal/index.js +19 -36
- package/dist/collection/components/z-modal/index.js.map +1 -0
- package/dist/collection/components/z-modal/index.stories.js +1 -0
- package/dist/collection/components/z-modal/index.stories.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.js +15 -35
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/index.js +35 -30
- package/dist/collection/components/z-notification/index.js.map +1 -0
- package/dist/collection/components/z-notification/index.stories.js +32 -5
- package/dist/collection/components/z-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/styles.css +18 -7
- package/dist/collection/components/z-offcanvas/index.js +12 -42
- package/dist/collection/components/z-offcanvas/index.js.map +1 -0
- package/dist/collection/components/z-offcanvas/index.stories.js +1 -0
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
- package/dist/collection/components/z-pagination/index.js +21 -45
- package/dist/collection/components/z-pagination/index.js.map +1 -0
- package/dist/collection/components/z-pagination/index.stories.js +1 -0
- package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.js +26 -38
- package/dist/collection/components/z-panel-elem/index.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
- package/dist/collection/components/z-popover/index.js +16 -44
- package/dist/collection/components/z-popover/index.js.map +1 -0
- package/dist/collection/components/z-popover/index.stories.js +1 -0
- package/dist/collection/components/z-popover/index.stories.js.map +1 -0
- package/dist/collection/components/z-result-card/index.js +23 -34
- package/dist/collection/components/z-result-card/index.js.map +1 -0
- package/dist/collection/components/z-result-card/z-result-card.stories.js +1 -0
- package/dist/collection/components/z-result-card/z-result-card.stories.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.js +40 -80
- package/dist/collection/components/z-searchbar/index.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-select/index.js +47 -87
- package/dist/collection/components/z-select/index.js.map +1 -0
- package/dist/collection/components/z-select/index.stories.js +1 -0
- package/dist/collection/components/z-select/index.stories.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.js +8 -13
- package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js +1 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper/index.js +2 -1
- package/dist/collection/components/z-stepper/index.js.map +1 -0
- package/dist/collection/components/z-stepper/index.stories.js +1 -0
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.js +19 -21
- package/dist/collection/components/z-stepper-item/index.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
- package/dist/collection/components/z-tag/index.js +14 -11
- package/dist/collection/components/z-tag/index.js.map +1 -0
- package/dist/collection/components/z-tag/index.stories.js +1 -0
- package/dist/collection/components/z-tag/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.js +34 -52
- package/dist/collection/components/z-toast-notification/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.js +6 -12
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.js +12 -22
- package/dist/collection/components/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.js +9 -21
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
- package/dist/collection/components/z-tool/index.js +31 -49
- package/dist/collection/components/z-tool/index.js.map +1 -0
- package/dist/collection/components/z-tool/index.stories.js +1 -0
- package/dist/collection/components/z-tool/index.stories.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.js +6 -7
- package/dist/collection/components/z-toolbar/index.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.stories.js +1 -0
- package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.js +10 -29
- package/dist/collection/components/z-tooltip/index.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.js +2 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js +1 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
- package/dist/collection/constants/breakpoints.js +1 -0
- package/dist/collection/constants/breakpoints.js.map +1 -0
- package/dist/collection/constants/icons.js +1 -0
- package/dist/collection/constants/icons.js.map +1 -0
- package/dist/collection/constants/iconset.js +1 -0
- package/dist/collection/constants/iconset.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +11 -19
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +16 -17
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +16 -17
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +12 -25
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +20 -31
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +12 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +7 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +7 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +19 -29
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +8 -7
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +12 -19
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +9 -11
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
- package/dist/collection/utils/storybook-utils.js +1 -0
- package/dist/collection/utils/storybook-utils.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +5 -1
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/breakpoints.js +11 -1
- package/dist/components/breakpoints.js.map +1 -0
- package/dist/components/iconset.js +1013 -1
- package/dist/components/iconset.js.map +1 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +98 -1
- package/dist/components/index.js.map +1 -0
- package/dist/components/index10.js +60 -1
- package/dist/components/index10.js.map +1 -0
- package/dist/components/index11.js +92 -1
- package/dist/components/index11.js.map +1 -0
- package/dist/components/index12.js +342 -1
- package/dist/components/index12.js.map +1 -0
- package/dist/components/index13.js +66 -1
- package/dist/components/index13.js.map +1 -0
- package/dist/components/index14.js +53 -1
- package/dist/components/index14.js.map +1 -0
- package/dist/components/index15.js +181 -1
- package/dist/components/index15.js.map +1 -0
- package/dist/components/index16.js +76 -1
- package/dist/components/index16.js.map +1 -0
- package/dist/components/index17.js +1040 -1
- package/dist/components/index17.js.map +1 -0
- package/dist/components/index18.js +65 -1
- package/dist/components/index18.js.map +1 -0
- package/dist/components/index19.js +33 -1
- package/dist/components/index19.js.map +1 -0
- package/dist/components/index2.js +407 -1
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index20.js +45 -1
- package/dist/components/index20.js.map +1 -0
- package/dist/components/index21.js +62 -1
- package/dist/components/index21.js.map +1 -0
- package/dist/components/index22.js +66 -1
- package/dist/components/index22.js.map +1 -0
- package/dist/components/index23.js +179 -1
- package/dist/components/index23.js.map +1 -0
- package/dist/components/index24.js +549 -1
- package/dist/components/index24.js.map +1 -0
- package/dist/components/index25.js +409 -1
- package/dist/components/index25.js.map +1 -0
- package/dist/components/index26.js +49 -1
- package/dist/components/index26.js.map +1 -0
- package/dist/components/index27.js +55 -1
- package/dist/components/index27.js.map +1 -0
- package/dist/components/index3.js +36 -1
- package/dist/components/index3.js.map +1 -0
- package/dist/components/index4.js +45 -1
- package/dist/components/index4.js.map +1 -0
- package/dist/components/index5.js +82 -1
- package/dist/components/index5.js.map +1 -0
- package/dist/components/index6.js +56 -1
- package/dist/components/index6.js.map +1 -0
- package/dist/components/index7.js +40 -1
- package/dist/components/index7.js.map +1 -0
- package/dist/components/index8.js +63 -1
- package/dist/components/index8.js.map +1 -0
- package/dist/components/index9.js +33 -1
- package/dist/components/index9.js.map +1 -0
- package/dist/components/utils.js +246 -1
- package/dist/components/utils.js.map +1 -0
- package/dist/components/utils2.js +2704 -1
- package/dist/components/utils2.js.map +1 -0
- package/dist/components/z-accordion.js +95 -1
- package/dist/components/z-accordion.js.map +1 -0
- package/dist/components/z-alert.js +8 -1
- package/dist/components/z-alert.js.map +1 -0
- package/dist/components/z-anchor-navigation.js +87 -1
- package/dist/components/z-anchor-navigation.js.map +1 -0
- package/dist/components/z-app-header-deprecated.js +255 -1
- package/dist/components/z-app-header-deprecated.js.map +1 -0
- package/dist/components/z-app-header.js +367 -1
- package/dist/components/z-app-header.js.map +1 -0
- package/dist/components/z-aria-alert.js +35 -1
- package/dist/components/z-aria-alert.js.map +1 -0
- package/dist/components/z-avatar.js +66 -1
- package/dist/components/z-avatar.js.map +1 -0
- package/dist/components/z-book-card-app.js +77 -1
- package/dist/components/z-book-card-app.js.map +1 -0
- package/dist/components/z-book-card-deprecated.js +175 -1
- package/dist/components/z-book-card-deprecated.js.map +1 -0
- package/dist/components/z-book-card.js +149 -1
- package/dist/components/z-book-card.js.map +1 -0
- package/dist/components/z-book-cover.js +8 -1
- package/dist/components/z-book-cover.js.map +1 -0
- package/dist/components/z-breadcrumb.js +290 -1
- package/dist/components/z-breadcrumb.js.map +1 -0
- package/dist/components/z-button-sort.js +86 -1
- package/dist/components/z-button-sort.js.map +1 -0
- package/dist/components/z-button.js +8 -1
- package/dist/components/z-button.js.map +1 -0
- package/dist/components/z-card.js +83 -1
- package/dist/components/z-card.js.map +1 -0
- package/dist/components/z-carousel.js +234 -1
- package/dist/components/z-carousel.js.map +1 -0
- package/dist/components/z-chip.js +8 -1
- package/dist/components/z-chip.js.map +1 -0
- package/dist/components/z-color-picker.js +234 -1
- package/dist/components/z-color-picker.js.map +1 -0
- package/dist/components/z-combobox.js +393 -1
- package/dist/components/z-combobox.js.map +1 -0
- package/dist/components/z-cover-hero.js +66 -1
- package/dist/components/z-cover-hero.js.map +1 -0
- package/dist/components/z-date-picker.js +528 -16
- package/dist/components/z-date-picker.js.map +1 -0
- package/dist/components/z-divider.js +8 -1
- package/dist/components/z-divider.js.map +1 -0
- package/dist/components/z-dragdrop-area.js +8 -1
- package/dist/components/z-dragdrop-area.js.map +1 -0
- package/dist/components/z-file-upload.js +253 -1
- package/dist/components/z-file-upload.js.map +1 -0
- package/dist/components/z-file.js +89 -1
- package/dist/components/z-file.js.map +1 -0
- package/dist/components/z-ghost-loading.js +8 -1
- package/dist/components/z-ghost-loading.js.map +1 -0
- package/dist/components/z-icon.js +8 -1
- package/dist/components/z-icon.js.map +1 -0
- package/dist/components/z-info-box.js +51 -1
- package/dist/components/z-info-box.js.map +1 -0
- package/dist/components/z-info-reveal.js +8 -1
- package/dist/components/z-info-reveal.js.map +1 -0
- package/dist/components/z-input-message.js +8 -1
- package/dist/components/z-input-message.js.map +1 -0
- package/dist/components/z-input.js +8 -1
- package/dist/components/z-input.js.map +1 -0
- package/dist/components/z-list-element.js +8 -1
- package/dist/components/z-list-element.js.map +1 -0
- package/dist/components/z-list-group.js +8 -1
- package/dist/components/z-list-group.js.map +1 -0
- package/dist/components/z-list.js +8 -1
- package/dist/components/z-list.js.map +1 -0
- package/dist/components/z-logo.js +56 -1
- package/dist/components/z-logo.js.map +1 -0
- package/dist/components/z-menu-deprecated.js +144 -1
- package/dist/components/z-menu-deprecated.js.map +1 -0
- package/dist/components/z-menu-section-deprecated.js +84 -1
- package/dist/components/z-menu-section-deprecated.js.map +1 -0
- package/dist/components/z-menu-section.js +226 -1
- package/dist/components/z-menu-section.js.map +1 -0
- package/dist/components/z-menu.js +353 -1
- package/dist/components/z-menu.js.map +1 -0
- package/dist/components/z-modal.js +8 -1
- package/dist/components/z-modal.js.map +1 -0
- package/dist/components/z-myz-card-alert.js +101 -1
- package/dist/components/z-myz-card-alert.js.map +1 -0
- package/dist/components/z-myz-card-body.js +8 -1
- package/dist/components/z-myz-card-body.js.map +1 -0
- package/dist/components/z-myz-card-cover.js +8 -1
- package/dist/components/z-myz-card-cover.js.map +1 -0
- package/dist/components/z-myz-card-dictionary.js +94 -1
- package/dist/components/z-myz-card-dictionary.js.map +1 -0
- package/dist/components/z-myz-card-footer-sections.js +36 -1
- package/dist/components/z-myz-card-footer-sections.js.map +1 -0
- package/dist/components/z-myz-card-footer.js +99 -1
- package/dist/components/z-myz-card-footer.js.map +1 -0
- package/dist/components/z-myz-card-header.js +8 -1
- package/dist/components/z-myz-card-header.js.map +1 -0
- package/dist/components/z-myz-card-icon.js +49 -1
- package/dist/components/z-myz-card-icon.js.map +1 -0
- package/dist/components/z-myz-card-info.js +162 -1
- package/dist/components/z-myz-card-info.js.map +1 -0
- package/dist/components/z-myz-card-list.js +58 -1
- package/dist/components/z-myz-card-list.js.map +1 -0
- package/dist/components/z-myz-card.js +8 -1
- package/dist/components/z-myz-card.js.map +1 -0
- package/dist/components/z-myz-list-item.js +8 -1
- package/dist/components/z-myz-list-item.js.map +1 -0
- package/dist/components/z-myz-list.js +71 -1
- package/dist/components/z-myz-list.js.map +1 -0
- package/dist/components/z-navigation-tabs.js +272 -1
- package/dist/components/z-navigation-tabs.js.map +1 -0
- package/dist/components/z-notification.js +70 -1
- package/dist/components/z-notification.js.map +1 -0
- package/dist/components/z-offcanvas.js +8 -1
- package/dist/components/z-offcanvas.js.map +1 -0
- package/dist/components/z-otp.js +75 -1
- package/dist/components/z-otp.js.map +1 -0
- package/dist/components/z-pagination.js +283 -1
- package/dist/components/z-pagination.js.map +1 -0
- package/dist/components/z-panel-elem.js +66 -1
- package/dist/components/z-panel-elem.js.map +1 -0
- package/dist/components/z-popover.js +8 -1
- package/dist/components/z-popover.js.map +1 -0
- package/dist/components/z-range-picker.js +413 -1
- package/dist/components/z-range-picker.js.map +1 -0
- package/dist/components/z-result-card.js +121 -1
- package/dist/components/z-result-card.js.map +1 -0
- package/dist/components/z-searchbar.js +8 -1
- package/dist/components/z-searchbar.js.map +1 -0
- package/dist/components/z-section-title.js +52 -1
- package/dist/components/z-section-title.js.map +1 -0
- package/dist/components/z-select.js +585 -1
- package/dist/components/z-select.js.map +1 -0
- package/dist/components/z-skip-to-content.js +93 -1
- package/dist/components/z-skip-to-content.js.map +1 -0
- package/dist/components/z-slideshow.js +161 -1
- package/dist/components/z-slideshow.js.map +1 -0
- package/dist/components/z-stepper-item.js +60 -1
- package/dist/components/z-stepper-item.js.map +1 -0
- package/dist/components/z-stepper.js +36 -1
- package/dist/components/z-stepper.js.map +1 -0
- package/dist/components/z-table.js +68 -1
- package/dist/components/z-table.js.map +1 -0
- package/dist/components/z-tag.js +8 -1
- package/dist/components/z-tag.js.map +1 -0
- package/dist/components/z-tbody.js +36 -1
- package/dist/components/z-tbody.js.map +1 -0
- package/dist/components/z-td.js +89 -1
- package/dist/components/z-td.js.map +1 -0
- package/dist/components/z-tfoot.js +39 -1
- package/dist/components/z-tfoot.js.map +1 -0
- package/dist/components/z-th.js +112 -1
- package/dist/components/z-th.js.map +1 -0
- package/dist/components/z-thead.js +42 -1
- package/dist/components/z-thead.js.map +1 -0
- package/dist/components/z-toast-notification-list.js +79 -1
- package/dist/components/z-toast-notification-list.js.map +1 -0
- package/dist/components/z-toast-notification.js +4228 -2
- package/dist/components/z-toast-notification.js.map +1 -0
- package/dist/components/z-toggle-button.js +64 -1
- package/dist/components/z-toggle-button.js.map +1 -0
- package/dist/components/z-toggle-switch.js +73 -1
- package/dist/components/z-toggle-switch.js.map +1 -0
- package/dist/components/z-tool.js +260 -1
- package/dist/components/z-tool.js.map +1 -0
- package/dist/components/z-toolbar.js +165 -1
- package/dist/components/z-toolbar.js.map +1 -0
- package/dist/components/z-tooltip.js +8 -1
- package/dist/components/z-tooltip.js.map +1 -0
- package/dist/components/z-tr.js +101 -1
- package/dist/components/z-tr.js.map +1 -0
- package/dist/components/z-tree-list.js +162 -1
- package/dist/components/z-tree-list.js.map +1 -0
- package/dist/components/z-visually-hidden.js +36 -1
- package/dist/components/z-visually-hidden.js.map +1 -0
- package/dist/docs/grid/index.stories.js +54 -0
- package/dist/docs/grid/index.stories.js.map +1 -0
- package/dist/docs/iconset/index.stories.js +32 -0
- package/dist/docs/iconset/index.stories.js.map +1 -0
- package/dist/docs/themes/index.stories.js +108 -0
- package/dist/docs/themes/index.stories.js.map +1 -0
- package/dist/docs/typography/index.stories.js +186 -0
- package/dist/docs/typography/index.stories.js.map +1 -0
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +5 -0
- package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/{breakpoints-Q-tWjk7P.js → breakpoints-d148bfde.js} +2 -0
- package/dist/esm/breakpoints-d148bfde.js.map +1 -0
- package/dist/esm/{iconset-BanpkIXZ.js → iconset-d7823b13.js} +4 -3
- package/dist/esm/iconset-d7823b13.js.map +1 -0
- package/dist/esm/index-09bfb4ee.js +18 -0
- package/dist/esm/index-09bfb4ee.js.map +1 -0
- package/dist/esm/{index-BKCj6NR2.js → index-106473a8.js} +2 -0
- package/dist/esm/index-106473a8.js.map +1 -0
- package/dist/esm/index-3856a6ca.js +19 -0
- package/dist/esm/index-3856a6ca.js.map +1 -0
- package/dist/esm/index-455c0a68.js +21 -0
- package/dist/esm/index-455c0a68.js.map +1 -0
- package/dist/esm/index-6c43bc70.js +65 -0
- package/dist/esm/index-6c43bc70.js.map +1 -0
- package/dist/esm/index-a0b957e0.js +71 -0
- package/dist/esm/index-a0b957e0.js.map +1 -0
- package/dist/esm/index-c8ceadeb.js +2293 -0
- package/dist/esm/index-c8ceadeb.js.map +1 -0
- package/dist/esm/index-f8517155.js +45 -0
- package/dist/esm/index-f8517155.js.map +1 -0
- package/dist/esm/index.js +6 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/{utils-0PByxJyN.js → utils-8d6ca808.js} +5 -3
- package/dist/esm/utils-8d6ca808.js.map +1 -0
- package/dist/esm/{utils-DuuLzXZj.js → utils-93ac0e6c.js} +73 -81
- package/dist/esm/utils-93ac0e6c.js.map +1 -0
- package/dist/esm/web-components-library.js +7 -5
- package/dist/esm/web-components-library.js.map +1 -0
- package/dist/esm/z-accordion.entry.js +11 -26
- package/dist/esm/z-accordion.entry.js.map +1 -0
- package/dist/esm/z-alert.entry.js +8 -4
- package/dist/esm/z-alert.entry.js.map +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +8 -25
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
- package/dist/esm/z-app-header-deprecated.entry.js +20 -53
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm/z-app-header_12.entry.js +148 -261
- package/dist/esm/z-app-header_12.entry.js.map +1 -0
- package/dist/esm/z-aria-alert.entry.js +5 -4
- package/dist/esm/z-aria-alert.entry.js.map +1 -0
- package/dist/esm/z-avatar.entry.js +11 -9
- package/dist/esm/z-avatar.entry.js.map +1 -0
- package/dist/esm/z-book-card-app.entry.js +16 -10
- package/dist/esm/z-book-card-app.entry.js.map +1 -0
- package/dist/esm/z-book-card-deprecated.entry.js +22 -10
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm/z-book-card.entry.js +21 -11
- package/dist/esm/z-book-card.entry.js.map +1 -0
- package/dist/esm/z-book-cover.entry.js +9 -6
- package/dist/esm/z-book-cover.entry.js.map +1 -0
- package/dist/esm/z-breadcrumb.entry.js +17 -24
- package/dist/esm/z-breadcrumb.entry.js.map +1 -0
- package/dist/esm/z-button-sort.entry.js +12 -9
- package/dist/esm/z-button-sort.entry.js.map +1 -0
- package/dist/esm/z-card.entry.js +10 -9
- package/dist/esm/z-card.entry.js.map +1 -0
- package/dist/esm/z-carousel.entry.js +28 -50
- package/dist/esm/z-carousel.entry.js.map +1 -0
- package/dist/esm/z-chip.entry.js +11 -9
- package/dist/esm/z-chip.entry.js.map +1 -0
- package/dist/esm/z-color-picker.entry.js +16 -24
- package/dist/esm/z-color-picker.entry.js.map +1 -0
- package/dist/esm/z-combobox.entry.js +24 -27
- package/dist/esm/z-combobox.entry.js.map +1 -0
- package/dist/esm/z-cover-hero.entry.js +9 -18
- package/dist/esm/z-cover-hero.entry.js.map +1 -0
- package/dist/esm/z-date-picker.entry.js +329 -352
- package/dist/esm/z-date-picker.entry.js.map +1 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +20 -18
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
- package/dist/esm/z-file-upload.entry.js +16 -21
- package/dist/esm/z-file-upload.entry.js.map +1 -0
- package/dist/esm/z-file.entry.js +11 -6
- package/dist/esm/z-file.entry.js.map +1 -0
- package/dist/esm/z-ghost-loading.entry.js +7 -4
- package/dist/esm/z-ghost-loading.entry.js.map +1 -0
- package/dist/esm/z-info-box.entry.js +8 -5
- package/dist/esm/z-info-box.entry.js.map +1 -0
- package/dist/esm/z-info-reveal.entry.js +11 -20
- package/dist/esm/z-info-reveal.entry.js.map +1 -0
- package/dist/esm/z-logo.entry.js +13 -4
- package/dist/esm/z-logo.entry.js.map +1 -0
- package/dist/esm/z-menu-deprecated.entry.js +12 -23
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section-deprecated.entry.js +11 -10
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section.entry.js +14 -15
- package/dist/esm/z-menu-section.entry.js.map +1 -0
- package/dist/esm/z-menu.entry.js +15 -27
- package/dist/esm/z-menu.entry.js.map +1 -0
- package/dist/esm/z-myz-card-alert.entry.js +12 -5
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
- package/dist/esm/z-myz-card-dictionary.entry.js +10 -9
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js +7 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer.entry.js +13 -7
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
- package/dist/esm/z-myz-card-icon.entry.js +8 -6
- package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
- package/dist/esm/z-myz-card-info.entry.js +11 -8
- package/dist/esm/z-myz-card-info.entry.js.map +1 -0
- package/dist/esm/z-myz-card-list.entry.js +8 -4
- package/dist/esm/z-myz-card-list.entry.js.map +1 -0
- package/dist/esm/z-myz-card_4.entry.js +29 -16
- package/dist/esm/z-myz-card_4.entry.js.map +1 -0
- package/dist/esm/z-myz-list-item.entry.js +15 -9
- package/dist/esm/z-myz-list-item.entry.js.map +1 -0
- package/dist/esm/z-myz-list.entry.js +10 -7
- package/dist/esm/z-myz-list.entry.js.map +1 -0
- package/dist/esm/z-navigation-tabs.entry.js +16 -28
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
- package/dist/esm/z-notification.entry.js +11 -10
- package/dist/esm/z-notification.entry.js.map +1 -0
- package/dist/esm/z-otp.entry.js +12 -10
- package/dist/esm/z-otp.entry.js.map +1 -0
- package/dist/esm/z-pagination.entry.js +16 -28
- package/dist/esm/z-pagination.entry.js.map +1 -0
- package/dist/esm/z-panel-elem.entry.js +15 -7
- package/dist/esm/z-panel-elem.entry.js.map +1 -0
- package/dist/esm/z-popover.entry.js +17 -35
- package/dist/esm/z-popover.entry.js.map +1 -0
- package/dist/esm/z-range-picker.entry.js +29 -38
- package/dist/esm/z-range-picker.entry.js.map +1 -0
- package/dist/esm/z-result-card.entry.js +14 -7
- package/dist/esm/z-result-card.entry.js.map +1 -0
- package/dist/esm/z-section-title.entry.js +8 -12
- package/dist/esm/z-section-title.entry.js.map +1 -0
- package/dist/esm/z-select.entry.js +23 -21
- package/dist/esm/z-select.entry.js.map +1 -0
- package/dist/esm/z-skip-to-content.entry.js +11 -8
- package/dist/esm/z-skip-to-content.entry.js.map +1 -0
- package/dist/esm/z-slideshow.entry.js +14 -12
- package/dist/esm/z-slideshow.entry.js.map +1 -0
- package/dist/esm/z-stepper-item.entry.js +12 -4
- package/dist/esm/z-stepper-item.entry.js.map +1 -0
- package/dist/esm/z-stepper.entry.js +7 -4
- package/dist/esm/z-stepper.entry.js.map +1 -0
- package/dist/esm/z-table.entry.js +16 -19
- package/dist/esm/z-table.entry.js.map +1 -0
- package/dist/esm/z-tbody.entry.js +3 -14
- package/dist/esm/z-tbody.entry.js.map +1 -0
- package/dist/esm/z-td.entry.js +4 -56
- package/dist/esm/z-td.entry.js.map +1 -0
- package/dist/esm/z-tfoot.entry.js +3 -18
- package/dist/esm/z-tfoot.entry.js.map +1 -0
- package/dist/esm/z-th.entry.js +4 -83
- package/dist/esm/z-th.entry.js.map +1 -0
- package/dist/esm/z-thead.entry.js +3 -23
- package/dist/esm/z-thead.entry.js.map +1 -0
- package/dist/esm/z-toast-notification-list.entry.js +10 -11
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
- package/dist/esm/z-toast-notification.entry.js +3955 -3936
- package/dist/esm/z-toast-notification.entry.js.map +1 -0
- package/dist/esm/z-toggle-button.entry.js +10 -8
- package/dist/esm/z-toggle-button.entry.js.map +1 -0
- package/dist/esm/z-toggle-switch.entry.js +12 -13
- package/dist/esm/z-toggle-switch.entry.js.map +1 -0
- package/dist/esm/z-tool.entry.js +27 -28
- package/dist/esm/z-tool.entry.js.map +1 -0
- package/dist/esm/z-toolbar.entry.js +10 -7
- package/dist/esm/z-toolbar.entry.js.map +1 -0
- package/dist/esm/z-tooltip.entry.js +9 -15
- package/dist/esm/z-tooltip.entry.js.map +1 -0
- package/dist/esm/z-tr.entry.js +8 -82
- package/dist/esm/z-tr.entry.js.map +1 -0
- package/dist/esm/z-tree-list.entry.js +12 -10
- package/dist/esm/z-tree-list.entry.js.map +1 -0
- package/dist/esm/z-visually-hidden.entry.js +7 -4
- package/dist/esm/z-visually-hidden.entry.js.map +1 -0
- 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 +1 -2
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
- package/dist/types/components/list/z-list/index.d.ts +1 -2
- package/dist/types/components/list/z-list-element/index.d.ts +2 -2
- package/dist/types/components/list/z-list-group/index.d.ts +1 -2
- 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 +1 -2
- package/dist/types/components/table/z-table/index.d.ts +1 -2
- package/dist/types/components/table/z-tbody/index.d.ts +1 -2
- package/dist/types/components/table/z-tfoot/index.d.ts +1 -2
- package/dist/types/components/table/z-thead/index.d.ts +1 -2
- package/dist/types/components/table/z-tr/index.d.ts +2 -2
- package/dist/types/components/z-accordion/index.d.ts +2 -2
- package/dist/types/components/z-anchor-navigation/index.d.ts +1 -2
- package/dist/types/components/z-app-header/index.d.ts +2 -2
- package/dist/types/components/z-aria-alert/index.d.ts +1 -2
- package/dist/types/components/z-avatar/index.d.ts +1 -2
- package/dist/types/components/z-book-cover/index.d.ts +1 -2
- package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
- package/dist/types/components/z-button/index.d.ts +2 -5
- package/dist/types/components/z-button-sort/index.d.ts +2 -2
- package/dist/types/components/z-card/index.d.ts +1 -2
- package/dist/types/components/z-carousel/index.d.ts +2 -5
- 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 +1 -2
- package/dist/types/components/z-divider/index.d.ts +1 -2
- package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
- package/dist/types/components/z-icon/index.d.ts +1 -2
- package/dist/types/components/z-info-box/index.d.ts +2 -2
- package/dist/types/components/z-info-reveal/index.d.ts +1 -2
- package/dist/types/components/z-input/index.d.ts +2 -2
- package/dist/types/components/z-input-message/index.d.ts +1 -2
- package/dist/types/components/z-logo/index.d.ts +1 -2
- 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 +5 -2
- package/dist/types/components/z-notification/index.stories.d.ts +12 -1
- 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 +1 -2
- package/dist/types/components/z-popover/index.d.ts +2 -2
- package/dist/types/components/z-result-card/index.d.ts +1 -2
- package/dist/types/components/z-searchbar/index.d.ts +2 -2
- package/dist/types/components/z-select/index.d.ts +2 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
- package/dist/types/components/z-stepper/index.d.ts +1 -2
- package/dist/types/components/z-stepper-item/index.d.ts +1 -2
- package/dist/types/components/z-tag/index.d.ts +1 -2
- package/dist/types/components/z-toast-notification/index.d.ts +2 -2
- package/dist/types/components/z-toast-notification-list/index.d.ts +1 -2
- 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 +1 -2
- package/dist/types/components/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -2
- package/dist/types/components.d.ts +178 -1299
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +96 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +1 -2
- 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 +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -2
- 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 +1 -2
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +1 -2
- 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 +1 -2
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +1 -2
- package/dist/types/stencil-public-runtime.d.ts +8 -194
- package/dist/web-components-library/index.esm.js +2 -1
- package/dist/web-components-library/index.esm.js.map +1 -0
- package/dist/web-components-library/p-061e28d6.js +2 -0
- package/dist/web-components-library/p-061e28d6.js.map +1 -0
- package/dist/web-components-library/p-08b16bb4.entry.js +2 -0
- package/dist/web-components-library/p-08b16bb4.entry.js.map +1 -0
- package/dist/web-components-library/p-0b03b0e3.js +2 -0
- package/dist/web-components-library/p-0b03b0e3.js.map +1 -0
- package/dist/web-components-library/p-0b9fc73c.entry.js +2 -0
- package/dist/web-components-library/p-0b9fc73c.entry.js.map +1 -0
- package/dist/web-components-library/p-146a4d4b.entry.js +2 -0
- package/dist/web-components-library/p-146a4d4b.entry.js.map +1 -0
- package/dist/web-components-library/p-252893a8.entry.js +2 -0
- package/dist/web-components-library/p-252893a8.entry.js.map +1 -0
- package/dist/web-components-library/p-2bb84080.entry.js +2 -0
- package/dist/web-components-library/p-2bb84080.entry.js.map +1 -0
- package/dist/web-components-library/p-31bd2a1c.entry.js +2 -0
- package/dist/web-components-library/p-31bd2a1c.entry.js.map +1 -0
- package/dist/web-components-library/p-32bc8a40.entry.js +2 -0
- package/dist/web-components-library/p-32bc8a40.entry.js.map +1 -0
- package/dist/web-components-library/p-36b84a8e.entry.js +2 -0
- package/dist/web-components-library/p-36b84a8e.entry.js.map +1 -0
- package/dist/web-components-library/p-3977b0ae.entry.js +2 -0
- package/dist/web-components-library/p-3977b0ae.entry.js.map +1 -0
- package/dist/web-components-library/p-41891d34.entry.js +2 -0
- package/dist/web-components-library/p-41891d34.entry.js.map +1 -0
- package/dist/web-components-library/p-42abfe3b.entry.js +2 -0
- package/dist/web-components-library/p-42abfe3b.entry.js.map +1 -0
- package/dist/web-components-library/p-447a6391.entry.js +2 -0
- package/dist/web-components-library/p-447a6391.entry.js.map +1 -0
- package/dist/web-components-library/p-4573c419.js +2 -0
- package/dist/web-components-library/p-4573c419.js.map +1 -0
- package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
- package/dist/web-components-library/p-463e0ac0.entry.js.map +1 -0
- package/dist/web-components-library/p-47b59f05.entry.js +2 -0
- package/dist/web-components-library/p-47b59f05.entry.js.map +1 -0
- package/dist/web-components-library/p-5145a606.js +2 -0
- package/dist/web-components-library/p-5145a606.js.map +1 -0
- package/dist/web-components-library/p-5372d49f.entry.js +2 -0
- package/dist/web-components-library/p-5372d49f.entry.js.map +1 -0
- package/dist/web-components-library/p-565c1815.entry.js +2 -0
- package/dist/web-components-library/p-565c1815.entry.js.map +1 -0
- package/dist/web-components-library/p-5b577b6f.entry.js +2 -0
- package/dist/web-components-library/p-5b577b6f.entry.js.map +1 -0
- package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
- package/dist/web-components-library/p-5fde1b41.entry.js.map +1 -0
- package/dist/web-components-library/p-6164feb9.entry.js +2 -0
- package/dist/web-components-library/p-6164feb9.entry.js.map +1 -0
- package/dist/web-components-library/p-623fdee4.js +2 -0
- package/dist/web-components-library/p-623fdee4.js.map +1 -0
- package/dist/web-components-library/p-64d5fdd8.entry.js +2 -0
- package/dist/web-components-library/p-64d5fdd8.entry.js.map +1 -0
- package/dist/web-components-library/p-662119bb.entry.js +2 -0
- package/dist/web-components-library/p-662119bb.entry.js.map +1 -0
- package/dist/web-components-library/p-66c0f993.entry.js +2 -0
- package/dist/web-components-library/p-66c0f993.entry.js.map +1 -0
- package/dist/web-components-library/p-68278c42.entry.js +2 -0
- package/dist/web-components-library/p-68278c42.entry.js.map +1 -0
- package/dist/web-components-library/p-68d91a93.js +2 -0
- package/dist/web-components-library/p-68d91a93.js.map +1 -0
- package/dist/web-components-library/p-6c6a655e.entry.js +2 -0
- package/dist/web-components-library/p-6c6a655e.entry.js.map +1 -0
- package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-6c9cd6be.entry.js} +2 -1
- package/dist/web-components-library/p-6c9cd6be.entry.js.map +1 -0
- package/dist/web-components-library/p-6e13aa8e.entry.js +2 -0
- package/dist/web-components-library/p-6e13aa8e.entry.js.map +1 -0
- package/dist/web-components-library/p-75c4a726.js +3 -0
- package/dist/web-components-library/p-75c4a726.js.map +1 -0
- package/dist/web-components-library/p-767b66ca.entry.js +2 -0
- package/dist/web-components-library/p-767b66ca.entry.js.map +1 -0
- package/dist/web-components-library/p-78af415b.entry.js +2 -0
- package/dist/web-components-library/p-78af415b.entry.js.map +1 -0
- package/dist/web-components-library/p-7a4f6a5b.entry.js +2 -0
- package/dist/web-components-library/p-7a4f6a5b.entry.js.map +1 -0
- package/dist/web-components-library/p-7ade2a71.entry.js +2 -0
- package/dist/web-components-library/p-7ade2a71.entry.js.map +1 -0
- package/dist/web-components-library/p-7b837e11.js +2 -0
- package/dist/web-components-library/p-7b837e11.js.map +1 -0
- package/dist/web-components-library/p-7d655f96.entry.js +2 -0
- package/dist/web-components-library/p-7d655f96.entry.js.map +1 -0
- package/dist/web-components-library/p-80b04954.entry.js +2 -0
- package/dist/web-components-library/p-80b04954.entry.js.map +1 -0
- package/dist/web-components-library/p-82eeea83.entry.js +2 -0
- package/dist/web-components-library/p-82eeea83.entry.js.map +1 -0
- package/dist/web-components-library/p-8503c87a.entry.js +2 -0
- package/dist/web-components-library/p-8503c87a.entry.js.map +1 -0
- package/dist/web-components-library/p-86618221.js +2 -0
- package/dist/web-components-library/p-86618221.js.map +1 -0
- package/dist/web-components-library/p-88a9865c.entry.js +2 -0
- package/dist/web-components-library/p-88a9865c.entry.js.map +1 -0
- package/dist/web-components-library/p-8b367393.js +2 -0
- package/dist/web-components-library/p-8b367393.js.map +1 -0
- package/dist/web-components-library/p-8c52635e.entry.js +2 -0
- package/dist/web-components-library/p-8c52635e.entry.js.map +1 -0
- package/dist/web-components-library/p-8ee2a9d2.entry.js +2 -0
- package/dist/web-components-library/p-8ee2a9d2.entry.js.map +1 -0
- package/dist/web-components-library/p-8fd50cc5.entry.js +2 -0
- package/dist/web-components-library/p-8fd50cc5.entry.js.map +1 -0
- package/dist/web-components-library/p-8ff5b76b.entry.js +2 -0
- package/dist/web-components-library/p-8ff5b76b.entry.js.map +1 -0
- package/dist/web-components-library/p-92f13701.entry.js +2 -0
- package/dist/web-components-library/p-92f13701.entry.js.map +1 -0
- package/dist/web-components-library/p-93bb075f.entry.js +2 -0
- package/dist/web-components-library/p-93bb075f.entry.js.map +1 -0
- package/dist/web-components-library/p-93d349ee.entry.js +2 -0
- package/dist/web-components-library/p-93d349ee.entry.js.map +1 -0
- package/dist/web-components-library/p-943db3a8.entry.js +2 -0
- package/dist/web-components-library/p-943db3a8.entry.js.map +1 -0
- package/dist/web-components-library/p-9814f864.entry.js +2 -0
- package/dist/web-components-library/p-9814f864.entry.js.map +1 -0
- package/dist/web-components-library/p-988a58dd.entry.js +2 -0
- package/dist/web-components-library/p-988a58dd.entry.js.map +1 -0
- package/dist/web-components-library/p-9ae0c0c6.entry.js +2 -0
- package/dist/web-components-library/p-9ae0c0c6.entry.js.map +1 -0
- package/dist/web-components-library/p-9c816a3b.js +2 -0
- package/dist/web-components-library/p-9c816a3b.js.map +1 -0
- package/dist/web-components-library/p-a2ee659d.entry.js +2 -0
- package/dist/web-components-library/p-a2ee659d.entry.js.map +1 -0
- package/dist/web-components-library/p-a3f9a5da.entry.js +2 -0
- package/dist/web-components-library/p-a3f9a5da.entry.js.map +1 -0
- package/dist/web-components-library/p-a4d2cf55.entry.js +2 -0
- package/dist/web-components-library/p-a4d2cf55.entry.js.map +1 -0
- package/dist/web-components-library/p-a6c07588.entry.js +2 -0
- package/dist/web-components-library/p-a6c07588.entry.js.map +1 -0
- package/dist/web-components-library/p-a8790237.entry.js +2 -0
- package/dist/web-components-library/p-a8790237.entry.js.map +1 -0
- package/dist/web-components-library/p-aaa96c12.entry.js +17 -0
- package/dist/web-components-library/p-aaa96c12.entry.js.map +1 -0
- package/dist/web-components-library/p-b0324c7d.entry.js +2 -0
- package/dist/web-components-library/p-b0324c7d.entry.js.map +1 -0
- package/dist/web-components-library/p-b421424f.entry.js +2 -0
- package/dist/web-components-library/p-b421424f.entry.js.map +1 -0
- package/dist/web-components-library/p-bbc20250.entry.js +2 -0
- package/dist/web-components-library/p-bbc20250.entry.js.map +1 -0
- package/dist/web-components-library/p-bd2156cc.entry.js +2 -0
- package/dist/web-components-library/p-bd2156cc.entry.js.map +1 -0
- package/dist/web-components-library/p-bd76ca35.entry.js +2 -0
- package/dist/web-components-library/p-bd76ca35.entry.js.map +1 -0
- package/dist/web-components-library/p-be1c414e.entry.js +2 -0
- package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
- package/dist/web-components-library/p-c3e03e41.entry.js +2 -0
- package/dist/web-components-library/p-c3e03e41.entry.js.map +1 -0
- package/dist/web-components-library/p-c9b81cab.entry.js +2 -0
- package/dist/web-components-library/p-c9b81cab.entry.js.map +1 -0
- package/dist/web-components-library/p-caced575.entry.js +2 -0
- package/dist/web-components-library/p-caced575.entry.js.map +1 -0
- package/dist/web-components-library/p-cb395500.js +2 -0
- package/dist/web-components-library/p-cb395500.js.map +1 -0
- package/dist/web-components-library/p-cbc09112.entry.js +2 -0
- package/dist/web-components-library/p-cbc09112.entry.js.map +1 -0
- package/dist/web-components-library/p-d080b624.entry.js +2 -0
- package/dist/web-components-library/p-d080b624.entry.js.map +1 -0
- package/dist/web-components-library/p-d6f43903.entry.js +2 -0
- package/dist/web-components-library/p-d6f43903.entry.js.map +1 -0
- package/dist/web-components-library/p-da3abb97.entry.js +2 -0
- package/dist/web-components-library/p-da3abb97.entry.js.map +1 -0
- package/dist/web-components-library/p-e1255160.js +2 -0
- package/dist/web-components-library/p-e1255160.js.map +1 -0
- package/dist/web-components-library/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
- package/dist/web-components-library/p-eb15536d.js.map +1 -0
- package/dist/web-components-library/p-ec1270db.entry.js +2 -0
- package/dist/web-components-library/p-ec1270db.entry.js.map +1 -0
- package/dist/web-components-library/p-efa6b991.entry.js +2 -0
- package/dist/web-components-library/p-efa6b991.entry.js.map +1 -0
- package/dist/web-components-library/p-f4b987ed.entry.js +2 -0
- package/dist/web-components-library/p-f4b987ed.entry.js.map +1 -0
- package/dist/web-components-library/p-f74973b5.entry.js +8 -0
- package/dist/web-components-library/p-f74973b5.entry.js.map +1 -0
- package/dist/web-components-library/p-f7e65eb0.entry.js +2 -0
- package/dist/web-components-library/p-f7e65eb0.entry.js.map +1 -0
- package/dist/web-components-library/p-ff89d630.entry.js +2 -0
- package/dist/web-components-library/p-ff89d630.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +2 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -0
- package/loader/package.json +11 -0
- package/package.json +10 -14
- package/react/components.js +92 -87
- package/react/components.js.map +1 -0
- package/react/index.js +18 -1
- package/react/index.js.map +1 -0
- package/react/react-component-lib/createComponent.js +39 -11
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.js +56 -35
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.js +8 -2
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.js +3 -1
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.js +20 -11
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.js +8 -2
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.js +9 -3
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.js +35 -10
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/www/build/index.esm.js +2 -1
- package/www/build/index.esm.js.map +1 -0
- package/www/build/p-061e28d6.js +2 -0
- package/www/build/p-061e28d6.js.map +1 -0
- package/www/build/p-08b16bb4.entry.js +2 -0
- package/www/build/p-08b16bb4.entry.js.map +1 -0
- package/www/build/p-0b03b0e3.js +2 -0
- package/www/build/p-0b03b0e3.js.map +1 -0
- package/www/build/p-0b9fc73c.entry.js +2 -0
- package/www/build/p-0b9fc73c.entry.js.map +1 -0
- package/www/build/p-146a4d4b.entry.js +2 -0
- package/www/build/p-146a4d4b.entry.js.map +1 -0
- package/www/build/p-252893a8.entry.js +2 -0
- package/www/build/p-252893a8.entry.js.map +1 -0
- package/www/build/p-2bb84080.entry.js +2 -0
- package/www/build/p-2bb84080.entry.js.map +1 -0
- package/www/build/p-31bd2a1c.entry.js +2 -0
- package/www/build/p-31bd2a1c.entry.js.map +1 -0
- package/www/build/p-32bc8a40.entry.js +2 -0
- package/www/build/p-32bc8a40.entry.js.map +1 -0
- package/www/build/p-36b84a8e.entry.js +2 -0
- package/www/build/p-36b84a8e.entry.js.map +1 -0
- package/www/build/p-3977b0ae.entry.js +2 -0
- package/www/build/p-3977b0ae.entry.js.map +1 -0
- package/www/build/p-41891d34.entry.js +2 -0
- package/www/build/p-41891d34.entry.js.map +1 -0
- package/www/build/p-42abfe3b.entry.js +2 -0
- package/www/build/p-42abfe3b.entry.js.map +1 -0
- package/www/build/p-447a6391.entry.js +2 -0
- package/www/build/p-447a6391.entry.js.map +1 -0
- package/www/build/p-4573c419.js +2 -0
- package/www/build/p-4573c419.js.map +1 -0
- package/www/build/p-463e0ac0.entry.js +2 -0
- package/www/build/p-463e0ac0.entry.js.map +1 -0
- package/www/build/p-47b59f05.entry.js +2 -0
- package/www/build/p-47b59f05.entry.js.map +1 -0
- package/www/build/p-5145a606.js +2 -0
- package/www/build/p-5145a606.js.map +1 -0
- package/www/build/p-5372d49f.entry.js +2 -0
- package/www/build/p-5372d49f.entry.js.map +1 -0
- package/www/build/p-565c1815.entry.js +2 -0
- package/www/build/p-565c1815.entry.js.map +1 -0
- package/www/build/p-5b577b6f.entry.js +2 -0
- package/www/build/p-5b577b6f.entry.js.map +1 -0
- package/www/build/p-5fde1b41.entry.js +2 -0
- package/www/build/p-5fde1b41.entry.js.map +1 -0
- package/www/build/p-6164feb9.entry.js +2 -0
- package/www/build/p-6164feb9.entry.js.map +1 -0
- package/www/build/p-623fdee4.js +2 -0
- package/www/build/p-623fdee4.js.map +1 -0
- package/www/build/p-64d5fdd8.entry.js +2 -0
- package/www/build/p-64d5fdd8.entry.js.map +1 -0
- package/www/build/p-662119bb.entry.js +2 -0
- package/www/build/p-662119bb.entry.js.map +1 -0
- package/www/build/p-66c0f993.entry.js +2 -0
- package/www/build/p-66c0f993.entry.js.map +1 -0
- package/www/build/p-68278c42.entry.js +2 -0
- package/www/build/p-68278c42.entry.js.map +1 -0
- package/www/build/p-68d91a93.js +2 -0
- package/www/build/p-68d91a93.js.map +1 -0
- package/www/build/p-6c6a655e.entry.js +2 -0
- package/www/build/p-6c6a655e.entry.js.map +1 -0
- package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-6c9cd6be.entry.js} +2 -1
- package/www/build/p-6c9cd6be.entry.js.map +1 -0
- package/www/build/p-6e13aa8e.entry.js +2 -0
- package/www/build/p-6e13aa8e.entry.js.map +1 -0
- package/www/build/p-75c4a726.js +3 -0
- package/www/build/p-75c4a726.js.map +1 -0
- package/www/build/p-767b66ca.entry.js +2 -0
- package/www/build/p-767b66ca.entry.js.map +1 -0
- package/www/build/p-78af415b.entry.js +2 -0
- package/www/build/p-78af415b.entry.js.map +1 -0
- package/www/build/p-7a4f6a5b.entry.js +2 -0
- package/www/build/p-7a4f6a5b.entry.js.map +1 -0
- package/www/build/p-7ade2a71.entry.js +2 -0
- package/www/build/p-7ade2a71.entry.js.map +1 -0
- package/www/build/p-7b837e11.js +2 -0
- package/www/build/p-7b837e11.js.map +1 -0
- package/www/build/p-7d655f96.entry.js +2 -0
- package/www/build/p-7d655f96.entry.js.map +1 -0
- package/www/build/p-80b04954.entry.js +2 -0
- package/www/build/p-80b04954.entry.js.map +1 -0
- package/www/build/p-82eeea83.entry.js +2 -0
- package/www/build/p-82eeea83.entry.js.map +1 -0
- package/www/build/p-8503c87a.entry.js +2 -0
- package/www/build/p-8503c87a.entry.js.map +1 -0
- package/www/build/p-86618221.js +2 -0
- package/www/build/p-86618221.js.map +1 -0
- package/www/build/p-88a9865c.entry.js +2 -0
- package/www/build/p-88a9865c.entry.js.map +1 -0
- package/www/build/p-8b367393.js +2 -0
- package/www/build/p-8b367393.js.map +1 -0
- package/www/build/p-8c52635e.entry.js +2 -0
- package/www/build/p-8c52635e.entry.js.map +1 -0
- package/www/build/p-8ee2a9d2.entry.js +2 -0
- package/www/build/p-8ee2a9d2.entry.js.map +1 -0
- package/www/build/p-8fd50cc5.entry.js +2 -0
- package/www/build/p-8fd50cc5.entry.js.map +1 -0
- package/www/build/p-8ff5b76b.entry.js +2 -0
- package/www/build/p-8ff5b76b.entry.js.map +1 -0
- package/www/build/p-92f13701.entry.js +2 -0
- package/www/build/p-92f13701.entry.js.map +1 -0
- package/www/build/p-93bb075f.entry.js +2 -0
- package/www/build/p-93bb075f.entry.js.map +1 -0
- package/www/build/p-93d349ee.entry.js +2 -0
- package/www/build/p-93d349ee.entry.js.map +1 -0
- package/www/build/p-943db3a8.entry.js +2 -0
- package/www/build/p-943db3a8.entry.js.map +1 -0
- package/www/build/p-9814f864.entry.js +2 -0
- package/www/build/p-9814f864.entry.js.map +1 -0
- package/www/build/p-988a58dd.entry.js +2 -0
- package/www/build/p-988a58dd.entry.js.map +1 -0
- package/www/build/p-9ae0c0c6.entry.js +2 -0
- package/www/build/p-9ae0c0c6.entry.js.map +1 -0
- package/www/build/p-9c816a3b.js +2 -0
- package/www/build/p-9c816a3b.js.map +1 -0
- package/www/build/p-a2ee659d.entry.js +2 -0
- package/www/build/p-a2ee659d.entry.js.map +1 -0
- package/www/build/p-a3f9a5da.entry.js +2 -0
- package/www/build/p-a3f9a5da.entry.js.map +1 -0
- package/www/build/p-a4d2cf55.entry.js +2 -0
- package/www/build/p-a4d2cf55.entry.js.map +1 -0
- package/www/build/p-a6c07588.entry.js +2 -0
- package/www/build/p-a6c07588.entry.js.map +1 -0
- package/www/build/p-a8790237.entry.js +2 -0
- package/www/build/p-a8790237.entry.js.map +1 -0
- package/www/build/p-aaa96c12.entry.js +17 -0
- package/www/build/p-aaa96c12.entry.js.map +1 -0
- package/www/build/p-b0324c7d.entry.js +2 -0
- package/www/build/p-b0324c7d.entry.js.map +1 -0
- package/www/build/p-b421424f.entry.js +2 -0
- package/www/build/p-b421424f.entry.js.map +1 -0
- package/www/build/p-bbc20250.entry.js +2 -0
- package/www/build/p-bbc20250.entry.js.map +1 -0
- package/www/build/p-bd2156cc.entry.js +2 -0
- package/www/build/p-bd2156cc.entry.js.map +1 -0
- package/www/build/p-bd76ca35.entry.js +2 -0
- package/www/build/p-bd76ca35.entry.js.map +1 -0
- package/www/build/p-be1c414e.entry.js +2 -0
- package/www/build/p-be1c414e.entry.js.map +1 -0
- package/www/build/p-c3e03e41.entry.js +2 -0
- package/www/build/p-c3e03e41.entry.js.map +1 -0
- package/www/build/p-c9b81cab.entry.js +2 -0
- package/www/build/p-c9b81cab.entry.js.map +1 -0
- package/www/build/p-caced575.entry.js +2 -0
- package/www/build/p-caced575.entry.js.map +1 -0
- package/www/build/p-cb395500.js +2 -0
- package/www/build/p-cb395500.js.map +1 -0
- package/www/build/p-cbc09112.entry.js +2 -0
- package/www/build/p-cbc09112.entry.js.map +1 -0
- package/www/build/p-d080b624.entry.js +2 -0
- package/www/build/p-d080b624.entry.js.map +1 -0
- package/www/build/p-d3d3edf1.js +2 -0
- package/www/build/p-d6f43903.entry.js +2 -0
- package/www/build/p-d6f43903.entry.js.map +1 -0
- package/www/build/p-da3abb97.entry.js +2 -0
- package/www/build/p-da3abb97.entry.js.map +1 -0
- package/www/build/p-e1255160.js +2 -0
- package/www/build/p-e1255160.js.map +1 -0
- package/www/build/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
- package/www/build/p-eb15536d.js.map +1 -0
- package/www/build/p-ec1270db.entry.js +2 -0
- package/www/build/p-ec1270db.entry.js.map +1 -0
- package/www/build/p-efa6b991.entry.js +2 -0
- package/www/build/p-efa6b991.entry.js.map +1 -0
- package/www/build/p-f4b987ed.entry.js +2 -0
- package/www/build/p-f4b987ed.entry.js.map +1 -0
- package/www/build/p-f74973b5.entry.js +8 -0
- package/www/build/p-f74973b5.entry.js.map +1 -0
- package/www/build/p-f7e65eb0.entry.js +2 -0
- package/www/build/p-f7e65eb0.entry.js.map +1 -0
- package/www/build/p-ff89d630.entry.js +2 -0
- package/www/build/p-ff89d630.entry.js.map +1 -0
- package/www/build/web-components-library.esm.js +2 -1
- package/www/build/web-components-library.esm.js.map +1 -0
- package/www/index.html +1 -1
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
- package/dist/cjs/index-2H1EJ2Tl.js +0 -2683
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
- package/dist/esm/index-ByN2sYu6.js +0 -2653
- package/dist/web-components-library/p-00f09ae2.entry.js +0 -1
- package/dist/web-components-library/p-02e588b4.entry.js +0 -1
- package/dist/web-components-library/p-040fbd28.entry.js +0 -1
- package/dist/web-components-library/p-05fe5555.entry.js +0 -1
- package/dist/web-components-library/p-081b1648.entry.js +0 -1
- package/dist/web-components-library/p-0a819ab4.entry.js +0 -1
- package/dist/web-components-library/p-0dde6773.entry.js +0 -1
- package/dist/web-components-library/p-11a90064.entry.js +0 -1
- package/dist/web-components-library/p-1210c90f.entry.js +0 -1
- package/dist/web-components-library/p-1280ac72.entry.js +0 -1
- package/dist/web-components-library/p-17429bce.entry.js +0 -1
- package/dist/web-components-library/p-18782c2f.entry.js +0 -1
- package/dist/web-components-library/p-19536f5e.entry.js +0 -1
- package/dist/web-components-library/p-1b851174.entry.js +0 -1
- package/dist/web-components-library/p-1c75b67f.entry.js +0 -1
- package/dist/web-components-library/p-1e984688.entry.js +0 -1
- package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
- package/dist/web-components-library/p-26fc8a38.entry.js +0 -1
- package/dist/web-components-library/p-27f93251.entry.js +0 -1
- package/dist/web-components-library/p-294f7b4e.entry.js +0 -1
- package/dist/web-components-library/p-2b122a22.entry.js +0 -1
- package/dist/web-components-library/p-2f99634d.entry.js +0 -1
- package/dist/web-components-library/p-30c86858.entry.js +0 -1
- package/dist/web-components-library/p-314302ce.entry.js +0 -1
- package/dist/web-components-library/p-366d2553.entry.js +0 -1
- package/dist/web-components-library/p-3a9aec16.entry.js +0 -1
- package/dist/web-components-library/p-3c861d49.entry.js +0 -1
- package/dist/web-components-library/p-41b55222.entry.js +0 -1
- package/dist/web-components-library/p-44220d6b.entry.js +0 -1
- package/dist/web-components-library/p-48d72b52.entry.js +0 -1
- package/dist/web-components-library/p-50b59012.entry.js +0 -1
- package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
- package/dist/web-components-library/p-58933ba5.entry.js +0 -1
- package/dist/web-components-library/p-5bb77af2.entry.js +0 -1
- package/dist/web-components-library/p-5e91940f.entry.js +0 -1
- package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
- package/dist/web-components-library/p-61b2ad9b.entry.js +0 -1
- package/dist/web-components-library/p-631f111d.entry.js +0 -1
- package/dist/web-components-library/p-6d0abf8c.entry.js +0 -1
- package/dist/web-components-library/p-6ece59b5.entry.js +0 -1
- package/dist/web-components-library/p-73aaace2.entry.js +0 -1
- package/dist/web-components-library/p-772c3e3e.entry.js +0 -1
- package/dist/web-components-library/p-849d65f5.entry.js +0 -1
- package/dist/web-components-library/p-87306cd0.entry.js +0 -1
- package/dist/web-components-library/p-8745878e.entry.js +0 -1
- package/dist/web-components-library/p-8f5387ef.entry.js +0 -1
- package/dist/web-components-library/p-967549d2.entry.js +0 -1
- package/dist/web-components-library/p-99922496.entry.js +0 -1
- package/dist/web-components-library/p-9b181c2c.entry.js +0 -1
- package/dist/web-components-library/p-9e4db6a2.entry.js +0 -1
- package/dist/web-components-library/p-B85MJLTf.js +0 -1
- package/dist/web-components-library/p-B8WJfd4z.js +0 -1
- package/dist/web-components-library/p-BKCj6NR2.js +0 -1
- package/dist/web-components-library/p-ByN2sYu6.js +0 -2
- package/dist/web-components-library/p-D4yqZKyM.js +0 -1
- package/dist/web-components-library/p-Q-tWjk7P.js +0 -1
- package/dist/web-components-library/p-a336c241.entry.js +0 -1
- package/dist/web-components-library/p-a3a7c406.entry.js +0 -1
- package/dist/web-components-library/p-a9534450.entry.js +0 -1
- package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
- package/dist/web-components-library/p-abfdc045.entry.js +0 -1
- package/dist/web-components-library/p-ad2ed505.entry.js +0 -16
- package/dist/web-components-library/p-aeaf586b.entry.js +0 -1
- package/dist/web-components-library/p-afab22fc.entry.js +0 -1
- package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
- package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
- package/dist/web-components-library/p-b5c180bc.entry.js +0 -1
- package/dist/web-components-library/p-c1677653.entry.js +0 -1
- package/dist/web-components-library/p-c23bfec2.entry.js +0 -1
- package/dist/web-components-library/p-d8f0e022.entry.js +0 -2
- package/dist/web-components-library/p-dc759208.entry.js +0 -1
- package/dist/web-components-library/p-eb722234.entry.js +0 -1
- package/dist/web-components-library/p-ebdbd84c.entry.js +0 -1
- package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
- package/dist/web-components-library/p-fade8c19.entry.js +0 -1
- package/dist/web-components-library/p-fc90579e.entry.js +0 -1
- package/www/build/p-00f09ae2.entry.js +0 -1
- package/www/build/p-02e588b4.entry.js +0 -1
- package/www/build/p-040fbd28.entry.js +0 -1
- package/www/build/p-05fe5555.entry.js +0 -1
- package/www/build/p-081b1648.entry.js +0 -1
- package/www/build/p-0a819ab4.entry.js +0 -1
- package/www/build/p-0dde6773.entry.js +0 -1
- package/www/build/p-11a90064.entry.js +0 -1
- package/www/build/p-1210c90f.entry.js +0 -1
- package/www/build/p-1280ac72.entry.js +0 -1
- package/www/build/p-17429bce.entry.js +0 -1
- package/www/build/p-18782c2f.entry.js +0 -1
- package/www/build/p-19536f5e.entry.js +0 -1
- package/www/build/p-1b851174.entry.js +0 -1
- package/www/build/p-1c75b67f.entry.js +0 -1
- package/www/build/p-1e984688.entry.js +0 -1
- package/www/build/p-2294f1b0.entry.js +0 -1
- package/www/build/p-26fc8a38.entry.js +0 -1
- package/www/build/p-27f93251.entry.js +0 -1
- package/www/build/p-294f7b4e.entry.js +0 -1
- package/www/build/p-2b122a22.entry.js +0 -1
- package/www/build/p-2f99634d.entry.js +0 -1
- package/www/build/p-30c86858.entry.js +0 -1
- package/www/build/p-314302ce.entry.js +0 -1
- package/www/build/p-366d2553.entry.js +0 -1
- package/www/build/p-3a9aec16.entry.js +0 -1
- package/www/build/p-3c861d49.entry.js +0 -1
- package/www/build/p-41b55222.entry.js +0 -1
- package/www/build/p-44220d6b.entry.js +0 -1
- package/www/build/p-48d72b52.entry.js +0 -1
- package/www/build/p-50b59012.entry.js +0 -1
- package/www/build/p-5883dbc1.entry.js +0 -1
- package/www/build/p-58933ba5.entry.js +0 -1
- package/www/build/p-5bb77af2.entry.js +0 -1
- package/www/build/p-5e91940f.entry.js +0 -1
- package/www/build/p-5fc4048b.entry.js +0 -1
- package/www/build/p-61b2ad9b.entry.js +0 -1
- package/www/build/p-631f111d.entry.js +0 -1
- package/www/build/p-654b3801.js +0 -1
- package/www/build/p-6d0abf8c.entry.js +0 -1
- package/www/build/p-6ece59b5.entry.js +0 -1
- package/www/build/p-73aaace2.entry.js +0 -1
- package/www/build/p-772c3e3e.entry.js +0 -1
- package/www/build/p-849d65f5.entry.js +0 -1
- package/www/build/p-87306cd0.entry.js +0 -1
- package/www/build/p-8745878e.entry.js +0 -1
- package/www/build/p-8f5387ef.entry.js +0 -1
- package/www/build/p-967549d2.entry.js +0 -1
- package/www/build/p-99922496.entry.js +0 -1
- package/www/build/p-9b181c2c.entry.js +0 -1
- package/www/build/p-9e4db6a2.entry.js +0 -1
- package/www/build/p-B85MJLTf.js +0 -1
- package/www/build/p-B8WJfd4z.js +0 -1
- package/www/build/p-BKCj6NR2.js +0 -1
- package/www/build/p-ByN2sYu6.js +0 -2
- package/www/build/p-D4yqZKyM.js +0 -1
- package/www/build/p-Q-tWjk7P.js +0 -1
- package/www/build/p-a336c241.entry.js +0 -1
- package/www/build/p-a3a7c406.entry.js +0 -1
- package/www/build/p-a9534450.entry.js +0 -1
- package/www/build/p-aabb5aea.entry.js +0 -1
- package/www/build/p-abfdc045.entry.js +0 -1
- package/www/build/p-ad2ed505.entry.js +0 -16
- package/www/build/p-aeaf586b.entry.js +0 -1
- package/www/build/p-afab22fc.entry.js +0 -1
- package/www/build/p-afcabf3b.entry.js +0 -1
- package/www/build/p-b38d52e5.entry.js +0 -1
- package/www/build/p-b5c180bc.entry.js +0 -1
- package/www/build/p-c1677653.entry.js +0 -1
- package/www/build/p-c23bfec2.entry.js +0 -1
- package/www/build/p-d8f0e022.entry.js +0 -2
- package/www/build/p-dc759208.entry.js +0 -1
- package/www/build/p-eb722234.entry.js +0 -1
- package/www/build/p-ebdbd84c.entry.js +0 -1
- package/www/build/p-ecea3d09.entry.js +0 -1
- package/www/build/p-fade8c19.entry.js +0 -1
- package/www/build/p-fc90579e.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file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AC,aAAa,IAAI;gBACrBA,kBAAM,IAAI,EAAC,OAAO,GAAQ;gBAC1B,IAAI,CAAC,OAAO,KAAKC,mBAAW,CAAC,OAAO,IAAI,IAAI,CAAC,SAAS,IAAID,oBAAQ,IAAI,EAAE,IAAI,CAAC,SAAS,GAAW;aAClG,EACA,CAAC,IAAI,CAAC,aAAa,IAAIA,iBAAK,KAAK,EAAC,aAAa,GAAO,CACnD,EACL,IAAI,CAAC,aAAa,EAAE,CAChB,EACP;SACH;QAED,OAAOA,QAACE,UAAI,QAAE,IAAI,CAAC,oBAAoB,EAAE,CAAQ,CAAC;KACnD;;;;;;;","names":["h","CardVariant","Host"],"sources":["src/components/z-card/styles.css?tag=z-card&encapsulation=shadow","src/components/z-card/index.tsx"],"sourcesContent":[":host {\n --aspect-ratio: 1.62;\n --z-card--border-color: var(--gray200);\n --z-card--color-cover-background: var(--color-surface01);\n --z-card--text-background: var(--color-surface01);\n --z-card--text-border-radius: none;\n --z-card--text-border: none;\n --z-card--text-padding: calc(var(--space-unit) * 2) var(--space-unit);\n\n position: relative;\n display: flex;\n flex-direction: column;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n*,\n::slotted(*) {\n box-sizing: border-box;\n}\n\n*:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:not([variant=\"overlay\"])) .cover-container {\n position: relative;\n width: 100%;\n}\n\n/* Old good trick with percentage padding to keep the aspect ratio.\nUnfortunately the `aspect-ratio` property is still experimental */\n.cover-container {\n padding-bottom: calc(100% / var(--aspect-ratio));\n}\n\n::slotted([slot=\"cover\"]),\n.color-cover {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n\n.cover-container > z-icon {\n --z-icon-width: calc(var(--space-unit) * 11);\n --z-icon-height: var(--z-icon-width);\n\n position: absolute;\n top: calc(50% - calc(var(--z-icon-height) / 2));\n left: calc(50% - calc(var(--z-icon-width) / 2));\n fill: var(--color-primary01);\n}\n\n.color-cover {\n background-color: var(--z-card--color-cover-background);\n}\n\n.content {\n display: flex;\n flex-direction: column;\n padding-top: var(--space-unit);\n}\n\n.color-cover .cover-content {\n display: flex;\n height: 100%;\n flex-direction: column;\n justify-content: flex-end;\n padding: var(--space-unit);\n}\n\n/* Truncates overflowing text */\n::slotted([slot=\"metadata\"]),\n::slotted([slot=\"title\"]),\n::slotted([slot=\"text\"]) {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n}\n\n::slotted([slot=\"title\"]:not(:last-child)),\n::slotted([slot=\"text\"]:not(:last-child)) {\n margin-bottom: var(--space-unit);\n}\n\n::slotted([slot=\"title\"])::before {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: \"\";\n}\n\n::slotted([slot=\"metadata\"]) {\n width: 100%;\n -webkit-line-clamp: 1;\n line-clamp: 1;\n text-transform: uppercase;\n}\n\n::slotted([slot=\"metadata\"]:not(:last-child)) {\n margin: 0 0 calc(var(--space-unit) * 0.25);\n}\n\n::slotted([slot=\"title\"]) {\n margin: 0;\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n -webkit-line-clamp: 2;\n line-clamp: 2;\n text-decoration: none;\n}\n\n::slotted([slot=\"title\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n::slotted([slot=\"text\"]) {\n width: 100%;\n margin: 0;\n -webkit-line-clamp: 3;\n line-clamp: 3;\n}\n\n.actions {\n display: flex;\n align-items: center;\n}\n\n:host(:not([variant=\"overlay\"])) .actions {\n margin-top: auto;\n}\n\n::slotted([slot=\"action\"]) {\n position: relative;\n z-index: 2;\n}\n\n::slotted([slot=\"action\"]:not(:last-child)) {\n margin-right: calc(var(--space-unit) * 2);\n}\n\n::slotted([slot=\"action\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible) {\n box-shadow: none !important;\n outline: none !important;\n}\n\n:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible)::before {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([variant=\"text\"]) {\n border: var(--z-card--text-border);\n background-color: var(--z-card--text-background);\n border-radius: var(--z-card--text-border-radius);\n}\n\n:host([variant=\"text\"]) [slot=\"text\"]::before {\n border-radius: var(--z-card--text-border-radius);\n}\n\n:host([show-shadow]) > .content,\n:host([variant=\"border\"]) > .content,\n:host([variant=\"shadow\"]) > .content {\n height: 100%;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);\n}\n\n:host([variant=\"text\"]) > .content {\n padding: var(--z-card--text-padding);\n}\n\n/* Border */\n:host([variant=\"border\"]) {\n border: var(--border-size-small) solid var(--z-card--border-color);\n}\n\n:host([variant=\"border\"][clickable]:hover) > .content {\n background: var(--color-background);\n}\n\n:host([variant=\"border\"][clickable]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([variant=\"border\"][clickable]:active) {\n border-color: transparent;\n}\n\n/* Shadow */\n:host([variant=\"shadow\"]),\n:host([show-shadow]) {\n box-shadow: var(--shadow-2);\n}\n\n:host([variant=\"shadow\"][clickable]:hover),\n:host([clickable][show-shadow]:hover) {\n box-shadow: var(--shadow-4);\n}\n\n:host([variant=\"shadow\"][clickable]:focus:focus-visible),\n:host([clickable][show-shadow]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([variant=\"shadow\"][clickable]:active),\n:host([clickable][show-shadow]:active) {\n box-shadow: none;\n}\n\n/* Overlay */\n:host([variant=\"overlay\"]) .content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n justify-content: flex-end;\n padding: var(--space-unit);\n background-image: linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));\n color: var(--color-text-inverse);\n fill: var(--color-text-inverse);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport {CardVariant} from \"../../beans\";\n\n/**\n * ZCard component.\n * The width of the card must be set by its container, following the grid indications of the design.\n *\n * @cssprop --aspect-ratio - Cover aspect ratio. Default: `1.62`\n * @cssprop --z-card--border-color - Default: `var(--gray200)`\n * @cssprop --z-card--color-cover-background - Cover color. Default: `var(--color-surface01)`\n * @cssprop --z-card--text-background - Background color for the `text` variant. Default: `var(--color-surface01)`\n * @cssprop --z-card--text-border-radius - Default: `none`\n * @cssprop --z-card--text-border - Configure CSS `border`. Default: `none`\n * @cssprop --z-card--text-padding - Configure CSS `padding`. Default: `none`\n * @slot cover - Image cover\n * @slot metadata - Metadata\n * @slot title - Using an `<a>` tag here will make the whole card clickable as if the link was wrapping it.\n * @slot text\n * @slot action - Interactive elements to place at the bottom of the card. To put non-interactive elements here when using an `<a>` tag in the `title` slot, and use this as a sort of \"footer\", set `z-index: 0` on each of those elements.\n */\n@Component({\n tag: \"z-card\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZCard {\n /**\n * Card variant.\n * Can be one of \"text\", \"border\", \"shadow\", \"overlay\".\n * Leave it undefined for the default card.\n */\n @Prop({reflect: true})\n variant: CardVariant;\n\n /** Name of the icon to place over the image cover */\n @Prop()\n coverIcon: string;\n\n /** Enable shadow. Default: false. */\n @Prop({reflect: true})\n showShadow = false;\n\n /**\n * Enable \"clickable\" styles like hover background and cursor, focus shadow on the whole card, etc.\n * Always set this to `true` when putting an `<a>` tag in the `title` slot.\n */\n @Prop({reflect: true})\n clickable = false;\n\n @Element() host: HTMLZCardElement;\n\n @State()\n hasCoverImage: boolean;\n\n componentWillLoad(): void {\n this.hasCoverImage = this.host.querySelector('[slot=\"cover\"]') !== null;\n }\n\n /**\n * Template for a card without image cover.\n * A colored background replaces the image and some data is moved over it.\n */\n private renderColorCoverCard(): HTMLDivElement[] {\n return [\n <div class=\"cover-container\">\n <div class=\"color-cover\">\n <div class=\"cover-content\">\n <slot name=\"metadata\"></slot>\n <slot name=\"title\"></slot>\n </div>\n </div>\n </div>,\n <div class=\"content\">\n <slot name=\"text\"></slot>\n <div class=\"actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>,\n ];\n }\n\n /**\n * Template for the content.\n */\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"content\">\n <slot name=\"metadata\"></slot>\n <slot name=\"title\"></slot>\n <slot name=\"text\"></slot>\n <div class=\"actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n );\n }\n\n render(): HTMLZCardElement {\n if (this.variant === CardVariant.TEXT) {\n return <Host>{this.renderContent()}</Host>;\n }\n\n if (this.variant === CardVariant.OVERLAY || this.hasCoverImage) {\n return (\n <Host>\n <div class=\"cover-container\">\n {this.hasCoverImage && [\n <slot name=\"cover\"></slot>,\n this.variant !== CardVariant.OVERLAY && this.coverIcon && <z-icon name={this.coverIcon}></z-icon>,\n ]}\n {!this.hasCoverImage && <div class=\"color-cover\"></div>}\n </div>\n {this.renderContent()}\n </Host>\n );\n }\n\n return <Host>{this.renderColorCoverCard()}</Host>;\n }\n}\n"],"version":3}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var index$1 = require('./index-wGaSHN1_.js');
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
4
|
|
|
6
|
-
const
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
|
+
const index$1 = require('./index-e30d0503.js');
|
|
7
7
|
|
|
8
|
-
const typographyCss = () => `:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}`;
|
|
8
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0;}:host([single]){display:flex;flex-direction:column;align-items:center;justify-content:center}:host([single]) .z-carousel-container{width:fit-content;max-width:100%}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-title{margin-bottom:calc(var(--space-unit) * 2)}.z-carousel-wrapper{position:relative}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;box-shadow:var(--z-carousel-items-shadow, none);column-gap:var(--z-carousel-gutter);list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container ::slotted(*){scroll-snap-align:center}.z-carousel-navigation-arrow[hidden]{display:none}.z-carousel-navigation-arrow[data-direction]{position:absolute;z-index:1;bottom:50%;transform:translateY(50%)}.z-carousel-navigation-arrow[data-direction=\"next\"]{right:0}:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow{display:none}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;column-gap:calc(var(--space-unit) * 3)}:host([arrows-position=\"bottom\"]) .z-carousel-footer{margin-top:calc(var(--space-unit) * 0.75)}.z-carousel-footer .numbers-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress{column-gap:calc(var(--space-unit) * 3)}:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .dots-progress{margin-top:calc(var(--space-unit) * 2)}.z-carousel-footer .dots-progress button{display:flex;width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);align-items:center;padding:0;border:none;margin:0;background-color:var(--color-surface03);border-radius:calc(var(--space-unit) * 3)}.z-carousel-footer .dots-progress button.current{background-color:var(--color-primary01)}.z-carousel-footer .dots-progress button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{column-gap:calc(var(--space-unit) / 2)}:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .numbers-progress{margin-top:var(--space-unit)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}@media (min-width: 768px){:host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]){display:flex}}";
|
|
9
|
+
const ZCarouselStyle0 = stylesCss;
|
|
9
10
|
|
|
10
11
|
const ZCarousel = class {
|
|
11
12
|
constructor(hostRef) {
|
|
12
13
|
index.registerInstance(this, hostRef);
|
|
13
14
|
this.indexChange = index.createEvent(this, "indexChange", 7);
|
|
14
|
-
/**
|
|
15
|
+
/** Flag indicating the items container is about to scroll programmatically towards the stored index. */
|
|
16
|
+
this.scrollingTo = null;
|
|
17
|
+
this.isLoading = undefined;
|
|
18
|
+
this.label = undefined;
|
|
15
19
|
this.single = false;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
* If set to `false`, the arrows will not be visible on mobile.
|
|
19
|
-
* Only meaningful with `arrowsPosition` set to `OVER`.
|
|
20
|
-
*/
|
|
20
|
+
this.arrowsPosition = undefined;
|
|
21
|
+
this.progressMode = undefined;
|
|
21
22
|
this.fixedArrows = true;
|
|
22
|
-
/** The height of the ghost loader (only visible when `isLoading` is set to `true`) */
|
|
23
23
|
this.ghostLoadingHeight = 100;
|
|
24
|
-
/** When enabled, navigating next the last item will go back to the first item and vice versa. */
|
|
25
24
|
this.infinite = false;
|
|
26
|
-
/** Current item index for single mode. */
|
|
27
25
|
this.current = 0;
|
|
28
|
-
|
|
29
|
-
this.
|
|
26
|
+
this.items = undefined;
|
|
27
|
+
this.highlightedIndicator = undefined;
|
|
28
|
+
this.canNavigatePrev = undefined;
|
|
29
|
+
this.canNavigateNext = undefined;
|
|
30
30
|
}
|
|
31
31
|
onIndexChange() {
|
|
32
32
|
this.indexChange.emit({ currentItem: this.current });
|
|
@@ -39,24 +39,6 @@ const ZCarousel = class {
|
|
|
39
39
|
onInfiniteModeChange() {
|
|
40
40
|
this.checkNavigationValidity();
|
|
41
41
|
}
|
|
42
|
-
onLoadingChange() {
|
|
43
|
-
if (!this.isLoading) {
|
|
44
|
-
// when loading is finished, we need to set up things with the real items that were not present during the loading phase
|
|
45
|
-
this.setupObserversAndListeners();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/** Set up all observers and listeners related to the rendered items. */
|
|
49
|
-
setupObserversAndListeners() {
|
|
50
|
-
var _a;
|
|
51
|
-
this.setupItems();
|
|
52
|
-
(_a = this.itemsContainer) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", this.checkNavigationValidity.bind(this), { passive: true });
|
|
53
|
-
this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));
|
|
54
|
-
this.resizeObserver.observe(this.itemsContainer);
|
|
55
|
-
if (this.single) {
|
|
56
|
-
this.setIntersectionObserver();
|
|
57
|
-
}
|
|
58
|
-
this.checkNavigationValidity();
|
|
59
|
-
}
|
|
60
42
|
/**
|
|
61
43
|
* Set an intersection observer to:
|
|
62
44
|
* - highlight the indicator of the intersecting item during scroll
|
|
@@ -168,10 +150,15 @@ const ZCarousel = class {
|
|
|
168
150
|
});
|
|
169
151
|
}
|
|
170
152
|
componentDidLoad() {
|
|
171
|
-
|
|
172
|
-
|
|
153
|
+
var _a, _b;
|
|
154
|
+
(_a = this.itemsContainer) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", this.checkNavigationValidity.bind(this), { passive: true });
|
|
155
|
+
this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));
|
|
156
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(this.itemsContainer);
|
|
157
|
+
this.setupItems();
|
|
158
|
+
if (this.single) {
|
|
159
|
+
this.setIntersectionObserver();
|
|
173
160
|
}
|
|
174
|
-
this.
|
|
161
|
+
this.checkNavigationValidity();
|
|
175
162
|
}
|
|
176
163
|
disconnectedCallback() {
|
|
177
164
|
var _a;
|
|
@@ -185,20 +172,13 @@ const ZCarousel = class {
|
|
|
185
172
|
}
|
|
186
173
|
get host() { return index.getElement(this); }
|
|
187
174
|
static get watchers() { return {
|
|
188
|
-
"current": [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
"single": [{
|
|
192
|
-
"onSingleModeChange": 0
|
|
193
|
-
}],
|
|
194
|
-
"infinite": [{
|
|
195
|
-
"onInfiniteModeChange": 0
|
|
196
|
-
}],
|
|
197
|
-
"isLoading": [{
|
|
198
|
-
"onLoadingChange": 0
|
|
199
|
-
}]
|
|
175
|
+
"current": ["onIndexChange"],
|
|
176
|
+
"single": ["onSingleModeChange"],
|
|
177
|
+
"infinite": ["onInfiniteModeChange"]
|
|
200
178
|
}; }
|
|
201
179
|
};
|
|
202
|
-
ZCarousel.style =
|
|
180
|
+
ZCarousel.style = ZCarouselStyle0;
|
|
203
181
|
|
|
204
182
|
exports.z_carousel = ZCarousel;
|
|
183
|
+
|
|
184
|
+
//# sourceMappingURL=z-carousel.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-carousel.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,8kFAA8kF,CAAC;AACjmF,wBAAe,SAAS;;MCaX,SAAS;;;;;QAmEZ,gBAAW,GAAW,IAAI,CAAC;;;sBAtD1B,KAAK;;;2BAgBA,IAAI;kCAIG,GAAG;wBAIb,KAAK;uBAIN,CAAC;;;;;;IAiCX,aAAa;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;KACpD;IAGD,kBAAkB;QAChB,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC7C,IAAI,CAAC,uBAAuB,EAAE,CAAC;SAChC;KACF;IAGD,oBAAoB;QAClB,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;;;;;;IAOO,uBAAuB;QAC7B,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CA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EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAC/B,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,eAAe,EACjD,SAAS,EAAE,IAAI,CAAC,MAAM,GAAG,8BAA8B,GAAG,gCAAgC,GAC1F,CACH,CACG,CACP,CACI,EACP;KACH;;;;;;;;;;;;","names":["CarouselArrowsPosition","CarouselProgressMode","h","Host","ButtonVariant","index"],"sources":["src/components/z-carousel/styles.css?tag=z-carousel&encapsulation=shadow","src/components/z-carousel/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --z-carousel-gutter: 0;\n --z-carousel-items-shadow: ;\n}\n\n:host([single]) {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n:host([single]) .z-carousel-container {\n width: fit-content;\n max-width: 100%;\n}\n\n.z-carousel-container {\n display: flex;\n flex-direction: column;\n}\n\n.z-carousel-title {\n margin-bottom: calc(var(--space-unit) * 2);\n}\n\n.z-carousel-wrapper {\n position: relative;\n}\n\n.z-carousel-items-container {\n display: flex;\n max-width: 100%;\n flex-direction: row;\n margin: 0;\n box-shadow: var(--z-carousel-items-shadow, none);\n column-gap: var(--z-carousel-gutter);\n list-style: none;\n -ms-overflow-style: none; /* IE and Edge */\n overflow-x: scroll;\n padding-inline-start: 0;\n scroll-behavior: smooth;\n scroll-snap-type: x mandatory;\n\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n\n/* Hide scrollbar for Chrome, Safari and Opera */\n.z-carousel-items-container::-webkit-scrollbar {\n display: none;\n}\n\n.z-carousel-items-container ::slotted(*) {\n scroll-snap-align: center;\n}\n\n.z-carousel-navigation-arrow[hidden] {\n display: none;\n}\n\n.z-carousel-navigation-arrow[data-direction] {\n position: absolute;\n z-index: 1;\n bottom: 50%;\n transform: translateY(50%);\n}\n\n.z-carousel-navigation-arrow[data-direction=\"next\"] {\n right: 0;\n}\n\n:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow {\n display: none;\n}\n\n.z-carousel-footer {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n column-gap: calc(var(--space-unit) * 3);\n}\n\n:host([arrows-position=\"bottom\"]) .z-carousel-footer {\n margin-top: calc(var(--space-unit) * 0.75);\n}\n\n.z-carousel-footer .numbers-progress,\n.z-carousel-footer .dots-progress {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.z-carousel-footer .dots-progress {\n column-gap: calc(var(--space-unit) * 3);\n}\n\n:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .dots-progress {\n margin-top: calc(var(--space-unit) * 2);\n}\n\n.z-carousel-footer .dots-progress button {\n display: flex;\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n align-items: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--color-surface03);\n border-radius: calc(var(--space-unit) * 3);\n}\n\n.z-carousel-footer .dots-progress button.current {\n background-color: var(--color-primary01);\n}\n\n.z-carousel-footer .dots-progress button:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-carousel-footer .dots-progress button:not(.current) {\n cursor: pointer;\n}\n\n.z-carousel-footer .numbers-progress {\n column-gap: calc(var(--space-unit) / 2);\n}\n\n:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .numbers-progress {\n margin-top: var(--space-unit);\n}\n\n.z-carousel-footer .numbers-progress .current {\n font-weight: var(--font-sb);\n}\n\n@media (min-width: 768px) {\n :host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]) {\n display: flex;\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, CarouselArrowsPosition, CarouselProgressMode} from \"../../beans\";\n\n/**\n * ZCarousel component.\n * @cssprop --z-carousel-gutter - The gutter between items.\n * @cssprop --z-carousel-items-shadow - The shadow around the items.\n * @slot - Carousel items. Use `<li>` elements inside this slot.\n */\n@Component({\n tag: \"z-carousel\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZCarousel {\n @Element() host: HTMLZCarouselElement;\n\n /** The z-carousel is on loading state */\n @Prop()\n isLoading: boolean;\n\n /** The z-carousel title */\n @Prop()\n label?: string;\n\n /** Shows only one content at a time */\n @Prop({reflect: true})\n single = false;\n\n /** Arrow buttons position */\n @Prop({reflect: true})\n arrowsPosition?: CarouselArrowsPosition;\n\n /** Progress indicator type. Only available for `single` mode */\n @Prop()\n progressMode?: CarouselProgressMode;\n\n /**\n * Whether the navigation arrow buttons over the items are always visible or only on mouse hover.\n * If set to `false`, the arrows will not be visible on mobile.\n * Only meaningful with `arrowsPosition` set to `OVER`.\n */\n @Prop({reflect: true})\n fixedArrows = true;\n\n /** The height of the ghost loader (only visible when `isLoading` is set to `true`) */\n @Prop()\n ghostLoadingHeight = 100;\n\n /** When enabled, navigating next the last item will go back to the first item and vice versa. */\n @Prop()\n infinite = false;\n\n /** Current item index for single mode. */\n @State()\n current = 0;\n\n /** Items on the slider. */\n @State()\n items: HTMLLIElement[];\n\n /** Index of the indicator to highlight. */\n @State()\n highlightedIndicator: number;\n\n @State()\n canNavigatePrev: boolean;\n\n @State()\n canNavigateNext: boolean;\n\n /** Reference for the items container element. */\n protected itemsContainer: HTMLUListElement;\n\n /** Observer that handles current index change when scrolling on single mode. */\n private intersectionObserver: IntersectionObserver;\n\n /** Observer to check if navigation can still be enabled/showed when the size of the items' container changes */\n private resizeObserver: ResizeObserver;\n\n /** Flag indicating the items container is about to scroll programmatically towards the stored index. */\n private scrollingTo: number = null;\n\n /** Emitted on index change and only in `single` mode. */\n @Event()\n indexChange: EventEmitter<{currentItem: number}>;\n\n @Watch(\"current\")\n onIndexChange(): void {\n this.indexChange.emit({currentItem: this.current});\n }\n\n @Watch(\"single\")\n onSingleModeChange(): void {\n if (this.single && !this.intersectionObserver) {\n this.setIntersectionObserver();\n }\n }\n\n @Watch(\"infinite\")\n onInfiniteModeChange(): void {\n this.checkNavigationValidity();\n }\n\n /**\n * Set an intersection observer to:\n * - highlight the indicator of the intersecting item during scroll\n * - set the current item to the last intersecting item\n */\n private setIntersectionObserver(): void {\n this.intersectionObserver = new IntersectionObserver(\n (entries) => {\n const entry = entries.find(({isIntersecting}) => isIntersecting);\n if (!entry) {\n return;\n }\n\n const entryIndex = this.items.findIndex((item) => item === entry.target);\n this.highlightedIndicator = entryIndex;\n\n /* skip setting the current item if intersection has been triggered by a programmatic scroll\n (@see `goTo` function) and the final index has not been reached */\n if (this.scrollingTo !== null && entryIndex !== this.scrollingTo) {\n return;\n }\n\n this.scrollingTo = null;\n this.current = entryIndex;\n },\n {\n root: this.itemsContainer,\n threshold: 0.5,\n }\n );\n\n this.items.forEach((element) => this.intersectionObserver.observe(element));\n }\n\n /** Update items' list and check conditions to allow navigation */\n private onSlotChange(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.checkNavigationValidity();\n this.setIntersectionObserver();\n this.goTo(this.current);\n }\n\n private onPrev(): void {\n if (this.single) {\n this.goTo(this.infinite && this.current - 1 < 0 ? this.items.length - 1 : Math.max(0, this.current - 1));\n\n return;\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite && this.itemsContainer.scrollLeft == 0\n ? this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n : -this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n private onNext(): void {\n if (this.single) {\n const next =\n this.infinite && this.current + 1 > this.items.length - 1\n ? 0\n : Math.min(this.current + 1, this.items.length - 1);\n\n return this.goTo(next);\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite &&\n this.itemsContainer.scrollLeft == this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n ? -this.itemsContainer.scrollWidth\n : this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if navigation buttons can be enabled and set the related local states.\n */\n private checkNavigationValidity(): void {\n if (this.single) {\n this.canNavigatePrev = this.current > 0;\n this.canNavigateNext = this.current < this.items.length - 1;\n\n return;\n }\n\n this.canNavigatePrev = this.itemsContainer.scrollLeft > 0;\n this.canNavigateNext =\n this.itemsContainer.scrollLeft < this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth;\n }\n\n /**\n * Check if footer has to be rendered.\n */\n private canShowFooter(): boolean {\n if (!this.canNavigatePrev && !this.canNavigateNext) {\n return false;\n }\n\n return (\n this.arrowsPosition === CarouselArrowsPosition.BOTTOM ||\n this.progressMode === CarouselProgressMode.DOTS ||\n this.progressMode === CarouselProgressMode.NUMBERS\n );\n }\n\n /**\n * Set current item to passed index.\n * @param index Index to set\n */\n private goTo(index: number): void {\n if (this.current === index) {\n return;\n }\n\n this.scrollingTo = index;\n const left = this.items.slice(0, index).reduce((acc, item) => (acc += item.clientWidth), 0);\n // the scroll will trigger the IntersectionObserver and set the current item\n this.itemsContainer.scroll({\n left,\n behavior: \"smooth\",\n });\n }\n\n /** Check if navigation of at least one direction is enabled */\n private get canNavigate(): boolean {\n return this.canNavigatePrev || this.canNavigateNext;\n }\n\n private setupItems(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.items.forEach((item) => {\n item.setAttribute(\"aria-roledescription\", \"slide\");\n });\n }\n\n componentDidLoad(): void {\n this.itemsContainer?.addEventListener(\"scroll\", this.checkNavigationValidity.bind(this), {passive: true});\n this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));\n this.resizeObserver?.observe(this.itemsContainer);\n this.setupItems();\n if (this.single) {\n this.setIntersectionObserver();\n }\n this.checkNavigationValidity();\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLDivElement | HTMLZCarouselElement {\n if (this.isLoading) {\n return (\n <div class=\"z-carousel-container\">\n {this.label && <div class=\"heading-3-sb z-carousel-title\">{this.label}</div>}\n <div style={{height: `${this.ghostLoadingHeight}px`}}>\n <z-ghost-loading></z-ghost-loading>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div\n class=\"z-carousel-container\"\n aria-roledescription=\"carousel\"\n aria-label={this.label || \"Carousel\"}\n >\n {this.label && <div class=\"z-carousel-title heading-3-sb\">{this.label}</div>}\n <div class=\"z-carousel-wrapper\">\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"prev\"\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n <ul\n class=\"z-carousel-items-container\"\n aria-atomic=\"false\"\n aria-live=\"polite\"\n ref={(el) => (this.itemsContainer = el)}\n >\n <slot onSlotchange={this.onSlotChange.bind(this)} />\n </ul>\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"next\"\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n </div>\n </div>\n\n {this.canShowFooter() && (\n <div class=\"z-carousel-footer\">\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n )}\n {this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (\n <div class=\"dots-progress\">\n {this.items.map((_, index) => (\n <button\n type=\"button\"\n class={{current: this.highlightedIndicator === index}}\n aria-label={\n this.highlightedIndicator === index ? \"Elemento corrente\" : `Spostati all'elemento ${index + 1}`\n }\n onClick={() => this.goTo(index)}\n />\n ))}\n </div>\n )}\n {this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (\n <div class=\"numbers-progress interactive-1\">\n <span class=\"current\">{this.current + 1}</span>\n <span>di</span>\n <span>{this.items.length}</span>\n </div>\n )}\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n )}\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var index$1 = require('./index-wGaSHN1_.js');
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
4
|
|
|
6
|
-
const
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
|
+
const index$1 = require('./index-e30d0503.js');
|
|
7
|
+
|
|
8
|
+
const stylesCss = ".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";
|
|
9
|
+
const ZChipStyle0 = stylesCss;
|
|
7
10
|
|
|
8
11
|
const ZChip = class {
|
|
9
12
|
constructor(hostRef) {
|
|
10
13
|
index.registerInstance(this, hostRef);
|
|
11
14
|
this.interactiveIconClick = index.createEvent(this, "interactiveIconClick", 7);
|
|
12
|
-
|
|
15
|
+
this.icon = undefined;
|
|
13
16
|
this.type = index$1.ZChipType.DEFAULT;
|
|
14
|
-
|
|
17
|
+
this.interactiveIcon = undefined;
|
|
15
18
|
this.disabled = false;
|
|
16
|
-
/** z-chip aria-label string */
|
|
17
19
|
this.ariaLabel = "";
|
|
18
20
|
}
|
|
19
21
|
render() {
|
|
20
|
-
return (index.h("div", { key: '
|
|
22
|
+
return (index.h("div", { key: '7dd8f9f2d4c632559d1e9b3b04e2d139d3cdd1ce', class: {
|
|
21
23
|
"z-chip-container": true,
|
|
22
24
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
23
25
|
[this.type]: true,
|
|
24
|
-
}, "aria-disabled": this.disabled }, this.icon && index.h("z-icon", { key: '
|
|
26
|
+
}, "aria-disabled": this.disabled }, this.icon && index.h("z-icon", { key: 'af4721aa7ef2e3c8381685bb2eadd19a35effc81', name: this.icon }), index.h("slot", { key: '521b4fc72980f48dec8ee49c6fc3c06df3c9bf9a' }), this.interactiveIcon && (index.h("button", { key: '15cb6244073a9402ee3cb147f74cf3763b2a02cd', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, index.h("z-icon", { key: 'a7c434efafd9891a5262dffa24136724acc0f791', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
25
27
|
}
|
|
26
28
|
get el() { return index.getElement(this); }
|
|
27
29
|
};
|
|
28
|
-
ZChip.style =
|
|
30
|
+
ZChip.style = ZChipStyle0;
|
|
29
31
|
|
|
30
32
|
exports.z_chip = ZChip;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=z-chip.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-chip.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,+jFAA+jF,CAAC;AACllF,oBAAe,SAAS;;MCQX,KAAK;;;;;oBASGA,iBAAS,CAAC,OAAO;;wBAQf,KAAK;yBAId,EAAE;;IAMd,MAAM;QACJ,QACEC,kEACE,KAAK,EAAE;gBACL,kBAAkB,EAAE,IAAI;gBACxB,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe;gBAC5C,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI;aAClB,mBACc,IAAI,CAAC,QAAQ,IAE3B,IAAI,CAAC,IAAI,IAAIA,qEAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,EACzCA,oEAAQ,EACP,IAAI,CAAC,eAAe,KACnBA,qEACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,MAAM,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,gBACnC,IAAI,CAAC,SAAS,EAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvBA,qEACE,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAE,IAAI,CAAC,eAAe,GAC1B,CACK,CACV,CACG,EACN;KACH;;;;;;;","names":["ZChipType","h"],"sources":["src/components/z-chip/styles.css?tag=z-chip&encapsulation=scoped","src/components/z-chip/index.tsx"],"sourcesContent":[":host > .z-chip-container {\n display: inline-flex;\n min-height: 28px;\n align-items: center;\n padding: 0 calc(var(--space-unit) * 1.5);\n border: var(--border-size-small) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: 14px;\n color: var(--color-default-text);\n fill: var(--color-default-icon);\n font-family: var(--font-family-sans);\n font-size: 14px;\n line-height: 28px;\n}\n\n:host > .z-chip-interactive {\n font-weight: var(--font-sb);\n}\n\n:host > .z-chip-container > button {\n padding: 0;\n border: none;\n margin-left: var(--space-unit);\n background-color: transparent;\n cursor: pointer;\n}\n\n:host > .z-chip-container > z-icon:first-child {\n margin-right: calc(var(--space-unit) / 2);\n}\n\n:host > .z-chip-container .interactive-icon {\n fill: var(--color-primary01-icon);\n}\n\n:host > .z-chip-container:not([aria-disabled]) .interactive-icon:hover {\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\n:host > .z-chip-container[aria-disabled],\n:host > .z-chip-container[aria-disabled] z-icon {\n color: var(--color-disabled03);\n cursor: auto;\n fill: var(--color-disabled03);\n}\n\n:host > .z-chip-container[aria-disabled] {\n border: var(--border-size-small) solid var(--color-disabled01);\n}\n\n:host > .z-chip-container > button:focus:focus-visible {\n border-radius: 100%;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host > button:not([disabled]):active:hover .interactive-icon {\n color: var(--color-primary01);\n fill: var(--color-primary01-icon);\n}\n\n:host > .z-chip-container > z-icon,\n:host > .z-chip-container .interactive-icon {\n --z-icon-width: 22px;\n --z-icon-height: 22px;\n}\n\n/* :host type */\n:host > .z-chip-container.default {\n min-height: 44px;\n border-radius: 22px;\n line-height: 44px;\n}\n\n:host > .z-chip-container.medium {\n min-height: 40px;\n border-radius: 22px;\n line-height: 40px;\n}\n\n:host > .z-chip-container.small {\n min-height: 36px;\n border-radius: 22px;\n line-height: 36px;\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host > .z-chip-container {\n font-size: 12px;\n }\n\n /* :host type */\n :host > .z-chip-container.default {\n min-height: 32px;\n border-radius: 16px;\n line-height: 32px;\n }\n\n :host > .z-chip-container.medium {\n min-height: 28px;\n border-radius: 16px;\n line-height: 28px;\n }\n\n :host > .z-chip-container.small {\n min-height: 24px;\n border-radius: 16px;\n line-height: 24px;\n }\n\n :host > .z-chip-container > z-icon,\n :host > .z-chip-container .interactive-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n }\n}\n","import {Component, Element, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {ZChipType} from \"../../beans\";\n\n@Component({\n tag: \"z-chip\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZChip {\n @Element() el: HTMLZChipElement;\n\n /** Non interactive icon */\n @Prop()\n icon?: string;\n\n /** z-chip size type, can be default, medium or small */\n @Prop({reflect: true})\n type?: ZChipType = ZChipType.DEFAULT;\n\n /** z-chip interactive icon */\n @Prop({reflect: true})\n interactiveIcon?: string;\n\n /** set z-chip as disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** z-chip aria-label string */\n @Prop()\n ariaLabel = \"\";\n\n /** click on interactive icon */\n @Event()\n interactiveIconClick: EventEmitter;\n\n render(): HTMLDivElement {\n return (\n <div\n class={{\n \"z-chip-container\": true,\n \"z-chip-interactive\": !!this.interactiveIcon,\n [this.type]: true,\n }}\n aria-disabled={this.disabled}\n >\n {this.icon && <z-icon name={this.icon} />}\n <slot />\n {this.interactiveIcon && (\n <button\n type=\"button\"\n onClick={() => this.interactiveIconClick.emit()}\n aria-label={this.ariaLabel}\n disabled={this.disabled}\n >\n <z-icon\n class=\"interactive-icon\"\n name={this.interactiveIcon}\n />\n </button>\n )}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var index$1 = require('./index-wGaSHN1_.js');
|
|
5
|
-
var utils = require('./utils-Ctc6JP2n.js');
|
|
6
|
-
require('./breakpoints-B7vFm-3T.js');
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
4
|
|
|
8
|
-
const
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
|
+
const index$1 = require('./index-e30d0503.js');
|
|
7
|
+
const utils = require('./utils-b1859d65.js');
|
|
8
|
+
require('./breakpoints-8a1e87e0.js');
|
|
9
|
+
|
|
10
|
+
const stylesCss = ":host{display:grid;width:fit-content;padding:calc(var(--space-unit) * 2);background:var(--color-surface01);gap:var(--space-unit);grid-template-columns:repeat(9, calc(var(--space-unit) * 3));grid-template-rows:repeat(5, calc(var(--space-unit) * 3))}:host,*{box-sizing:border-box}button{--border-color:var(--color-surface05);padding:0;border:none;appearance:none;background:none;border-radius:var(--border-radius);cursor:pointer}button[data-color=\"#FFFFFF00\"]{position:relative}button[data-color=\"#FFFFFF00\"]::after{position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );border-radius:var(--border-radius);content:\"\"}button[aria-selected=\"true\"]{box-shadow:0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary)}button:focus-visible{box-shadow:var(--shadow-focus-primary)}button .color-swatch{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--border-color);border-radius:var(--border-radius)}button[data-color=\"#FFFFFF00\"]:disabled{--border-color:var(--color-disabled01-icon);cursor:not-allowed}button[data-color=\"#FFFFFF00\"]:disabled .color-swatch{background-color:var(--color-disabled02)}";
|
|
11
|
+
const ZColorPickerStyle0 = stylesCss;
|
|
9
12
|
|
|
10
13
|
const LOCALES = {
|
|
11
14
|
it: {
|
|
@@ -25,20 +28,15 @@ const ZColorPicker = class {
|
|
|
25
28
|
constructor(hostRef) {
|
|
26
29
|
index.registerInstance(this, hostRef);
|
|
27
30
|
this.colorSelected = index.createEvent(this, "colorSelected", 7);
|
|
28
|
-
/**
|
|
29
|
-
* The language for the aria labels inside the color picker.
|
|
30
|
-
*/
|
|
31
|
-
this.lng = "it";
|
|
32
|
-
/**
|
|
33
|
-
* Disables the transparent color option.
|
|
34
|
-
* Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` ("dark gray 2").
|
|
35
|
-
*/
|
|
36
|
-
this.disableTransparent = false;
|
|
37
31
|
/**
|
|
38
32
|
* The color keys arranged in row-major order for rendering and navigation.
|
|
39
33
|
*/
|
|
40
34
|
this.colorKeysByRow = [];
|
|
41
35
|
this._colorButtons = [];
|
|
36
|
+
this.selectedColor = undefined;
|
|
37
|
+
this.lng = "it";
|
|
38
|
+
this.htmlAriaLabel = undefined;
|
|
39
|
+
this.disableTransparent = false;
|
|
42
40
|
}
|
|
43
41
|
get colorButtons() {
|
|
44
42
|
if (!this._colorButtons.length) {
|
|
@@ -196,23 +194,19 @@ const ZColorPicker = class {
|
|
|
196
194
|
this.colorKeysByRow = this.sortColorKeysByRow();
|
|
197
195
|
}
|
|
198
196
|
render() {
|
|
199
|
-
return (index.h(index.Host, { key: '
|
|
197
|
+
return (index.h(index.Host, { key: '24f0e76aecda9731ed826e8228f49ca5e08a14a5', role: "listbox", "aria-label": this.htmlAriaLabel || LOCALES[this.lng]["Select a color"], tabIndex: 0 }, this.colorKeysByRow.map((colorKey) => {
|
|
200
198
|
var _a;
|
|
201
199
|
return (index.h("button", { class: "color-swatch", "data-color": colorKey, role: "option", "aria-selected": ((_a = this.selectedColor) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === colorKey.toUpperCase() ? "true" : "false", tabIndex: -1, onClick: () => (this.selectedColor = colorKey), disabled: this.disableTransparent && colorKey === "#FFFFFF00" }, index.h("div", { class: "color-swatch", role: "img", "aria-roledescription": LOCALES[this.lng]["Color swatch"], "aria-label": index$1.ColorPickerPalette[colorKey][this.lng], title: index$1.ColorPickerPalette[colorKey][this.lng], style: { backgroundColor: colorKey } })));
|
|
202
200
|
})));
|
|
203
201
|
}
|
|
204
202
|
get host() { return index.getElement(this); }
|
|
205
203
|
static get watchers() { return {
|
|
206
|
-
"disableTransparent": [
|
|
207
|
-
|
|
208
|
-
}],
|
|
209
|
-
"selectedColor": [{
|
|
210
|
-
"validateTransparentSelection": 0
|
|
211
|
-
}, {
|
|
212
|
-
"emitColorSelected": 0
|
|
213
|
-
}]
|
|
204
|
+
"disableTransparent": ["validateTransparentSelection"],
|
|
205
|
+
"selectedColor": ["validateTransparentSelection", "emitColorSelected"]
|
|
214
206
|
}; }
|
|
215
207
|
};
|
|
216
|
-
ZColorPicker.style =
|
|
208
|
+
ZColorPicker.style = ZColorPickerStyle0;
|
|
217
209
|
|
|
218
210
|
exports.z_color_picker = ZColorPicker;
|
|
211
|
+
|
|
212
|
+
//# sourceMappingURL=z-color-picker.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-color-picker.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,ozCAAozC,CAAC;AACv0C,2BAAe,SAAS;;ACGxB,MAAM,OAAO,GAAG;IACd,EAAE,EAAE;QACF,gBAAgB,EAAE,qBAAqB;QACvC,cAAc,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,gBAAgB;QAClC,cAAc,EAAE,cAAc;KAC/B;CACO,CAAC;AAEX;AACA,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B;AACA,MAAM,YAAY,GAAG,CAAC,CAAC;MAWV,YAAY;;;;;;;QAqCf,mBAAc,GAAyB,EAAE,CAAC;QAE1C,kBAAa,GAAwB,EAAE,CAAC;;mBA1B7B,IAAI;;kCAaF,KAAK;;IAe1B,IAAY,YAAY;QACtB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE;YAC9B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAwB,CAAC;SACzG;QAED,OAAO,IAAI,CAAC,aAAa,CAAC;KAC3B;;;;;IAMO,kBAAkB;QACxB,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAACA,0BAAkB,CAAyB,CAAC;QACxE,MAAM,OAAO,GAAyB,EAAE,CAAC;;QAGzC,KAAK,IAAI,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,gBAAgB,EAAE,GAAG,EAAE,EAAE;YAC/C,KAAK,IAAI,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,YAAY,EAAE,GAAG,EAAE,EAAE;gBAC3C,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A4B;;YAAK,QACzDD,oBACE,KAAK,EAAC,cAAc,gBACR,QAAQ,EACpB,IAAI,EAAC,QAAQ,mBACE,CAAA,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,MAAK,QAAQ,CAAC,WAAW,EAAE,GAAG,MAAM,GAAG,OAAO,EAC9F,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,EAC9C,QAAQ,EAAE,IAAI,CAAC,kBAAkB,IAAI,QAAQ,KAAK,WAAW,IAE7DA,iBACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,KAAK,0BACY,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,gBAC3CF,0BAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAClD,KAAK,EAAEA,0BAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7C,KAAK,EAAE,EAAC,eAAe,EAAE,QAAQ,EAAC,GAC7B,CACA,EACV;SAAA,CAAC,CACG,EACP;KACH;;;;;;;;;;;","names":["ColorPickerPalette","containsElement","h","Host"],"sources":["src/components/z-color-picker/styles.css?tag=z-color-picker&encapsulation=shadow","src/components/z-color-picker/index.tsx"],"sourcesContent":[":host {\n display: grid;\n width: fit-content;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n gap: var(--space-unit);\n grid-template-columns: repeat(9, calc(var(--space-unit) * 3));\n grid-template-rows: repeat(5, calc(var(--space-unit) * 3));\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\nbutton {\n --border-color: var(--color-surface05);\n\n padding: 0;\n border: none;\n appearance: none;\n background: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\nbutton[data-color=\"#FFFFFF00\"] {\n position: relative;\n}\n\n/* draw a diagonal line from top right corner */\nbutton[data-color=\"#FFFFFF00\"]::after {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );\n border-radius: var(--border-radius);\n content: \"\";\n}\n\nbutton[aria-selected=\"true\"] {\n box-shadow:\n 0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary);\n}\n\nbutton:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton .color-swatch {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--border-color);\n border-radius: var(--border-radius);\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled {\n --border-color: var(--color-disabled01-icon);\n\n cursor: not-allowed;\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled .color-swatch {\n background-color: var(--color-disabled02);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst LOCALES = {\n it: {\n \"Select a color\": \"Seleziona un colore\",\n \"Color swatch\": \"Campione di colore\",\n },\n en: {\n \"Select a color\": \"Select a color\",\n \"Color swatch\": \"Color swatch\",\n },\n} as const;\n\n/** Number of colors in each group (column) of the grid. */\nconst COLOR_GROUP_SIZE = 5;\n\n/** Number of color groups (columns) in the grid. */\nconst COLOR_GROUPS = 9;\n\n/**\n * Color picker component.\n * This component allows the user to pick a color from a predefined set.\n */\n@Component({\n tag: \"z-color-picker\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZColorPicker {\n @Element() host: HTMLZColorPickerElement;\n\n /**\n * The selected color to highlight.\n */\n @Prop({mutable: true})\n selectedColor: ColorPickerPalette;\n\n /**\n * The language for the aria labels inside the color picker.\n */\n @Prop()\n lng: \"it\" | \"en\" = \"it\";\n\n /**\n * The aria-label for the color picker, e.g. \"Select a background color for the label\".\n */\n @Prop()\n htmlAriaLabel: string;\n\n /**\n * Disables the transparent color option.\n * Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` (\"dark gray 2\").\n */\n @Prop()\n disableTransparent = false;\n\n /**\n * Event emitted when a color is selected.\n */\n @Event()\n colorSelected: EventEmitter<ColorPickerPalette>;\n\n /**\n * The color keys arranged in row-major order for rendering and navigation.\n */\n private colorKeysByRow: ColorPickerPalette[] = [];\n\n private _colorButtons: HTMLButtonElement[] = [];\n\n private get colorButtons(): HTMLButtonElement[] {\n if (!this._colorButtons.length) {\n this._colorButtons = Array.from(this.host.shadowRoot.querySelectorAll(\"button\")) as HTMLButtonElement[];\n }\n\n return this._colorButtons;\n }\n\n /**\n * Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).\n * This ensures button indices in the DOM match their visual position in the grid.\n */\n private sortColorKeysByRow(): ColorPickerPalette[] {\n const allKeys = Object.keys(ColorPickerPalette) as ColorPickerPalette[];\n const ordered: ColorPickerPalette[] = [];\n\n // Iterate through visual positions (row by row, left to right)\n for (let row = 0; row < COLOR_GROUP_SIZE; row++) {\n for (let col = 0; col < COLOR_GROUPS; col++) {\n const columnMajorIndex = col * COLOR_GROUP_SIZE + row;\n if (columnMajorIndex < allKeys.length) {\n ordered.push(allKeys[columnMajorIndex]);\n }\n }\n }\n\n return ordered;\n }\n\n /** Move focus to the specified color button by index. */\n private moveFocusTo(index: number): void {\n // Reset tabindex of other buttons and set tabindex to 0 on selected button\n this.colorButtons.forEach((btn, i) => (btn.tabIndex = i === index ? 0 : -1));\n this.colorButtons[index].focus();\n }\n\n @Watch(\"disableTransparent\")\n @Watch(\"selectedColor\")\n validateTransparentSelection(): void {\n if (this.disableTransparent && this.selectedColor === \"#FFFFFF00\") {\n this.selectedColor = \"#333333\"; // Default to dark gray 2 if transparent is disabled and currently selected\n }\n }\n\n @Watch(\"selectedColor\")\n emitColorSelected(): void {\n this.colorSelected.emit(this.selectedColor);\n }\n\n /**\n * Focuses the selected or first enabled color button and makes the container non-tabbable.\n */\n @Listen(\"focus\")\n @Method()\n async setFocus(): Promise<void> {\n // Reset tabindex of all buttons\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n const firstSelectedOrEnabled =\n this.colorButtons.find((btn) => btn.ariaSelected === \"true\") || this.colorButtons.find((btn) => !btn.disabled);\n if (!firstSelectedOrEnabled) {\n return;\n }\n\n firstSelectedOrEnabled.tabIndex = 0;\n setTimeout(() => {\n firstSelectedOrEnabled.focus();\n }, 50);\n // Set container as non-tabbable\n this.host.tabIndex = -1;\n }\n\n /**\n * Compute next index in row-major grid according to keyboard direction.\n */\n private getNextIndexByKey(currentIndex: number, key: string, totalColors: number): number {\n const row = Math.floor(currentIndex / COLOR_GROUPS);\n const col = currentIndex % COLOR_GROUPS;\n let newIndex = currentIndex;\n\n switch (key) {\n case \"ArrowRight\": {\n const newCol = col + 1;\n const newRow = newCol >= COLOR_GROUPS ? (row + 1) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + (newCol % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowLeft\": {\n const newCol = col - 1;\n const newRow = newCol < 0 ? (row - 1 + COLOR_GROUP_SIZE) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + ((newCol + COLOR_GROUPS) % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n case \"ArrowDown\": {\n let newRow = row + 1;\n let newCol = col;\n if (newRow >= COLOR_GROUP_SIZE) {\n // Wrap to first item of next column\n newRow = 0;\n newCol = (col + 1) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowUp\": {\n let newRow = row - 1;\n let newCol = col;\n if (newRow < 0) {\n // Wrap to last item of previous column\n newRow = COLOR_GROUP_SIZE - 1;\n newCol = (col - 1 + COLOR_GROUPS) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n }\n\n return newIndex;\n }\n\n /**\n * Handle keyboard navigation within the color picker.\n * Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!target.dataset.color) {\n return;\n }\n\n const currentIndex = this.colorButtons.indexOf(target as HTMLButtonElement);\n const totalColors = this.colorButtons.length;\n if (currentIndex < 0 || ![\"ArrowRight\", \"ArrowLeft\", \"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n return;\n }\n\n let newIndex = currentIndex;\n let attempts = 0;\n\n do {\n newIndex = this.getNextIndexByKey(newIndex, event.key, totalColors);\n attempts++;\n } while (attempts < totalColors && this.colorButtons[newIndex]?.disabled);\n\n if (\n newIndex !== currentIndex &&\n newIndex >= 0 &&\n newIndex < totalColors &&\n !this.colorButtons[newIndex]?.disabled\n ) {\n this.moveFocusTo(newIndex);\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /**\n * When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.\n */\n @Listen(\"blur\")\n handleBlur(event: FocusEvent): void {\n const relatedTarget = event.relatedTarget as HTMLElement;\n if (!containsElement(this.host, relatedTarget)) {\n this.host.tabIndex = 0;\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n }\n }\n\n componentWillLoad(): void {\n this.colorKeysByRow = this.sortColorKeysByRow();\n }\n\n render(): HTMLZColorPickerElement {\n return (\n <Host\n role=\"listbox\"\n aria-label={this.htmlAriaLabel || LOCALES[this.lng][\"Select a color\"]}\n tabIndex={0}\n >\n {this.colorKeysByRow.map((colorKey: ColorPickerPalette) => (\n <button\n class=\"color-swatch\"\n data-color={colorKey}\n role=\"option\"\n aria-selected={this.selectedColor?.toUpperCase() === colorKey.toUpperCase() ? \"true\" : \"false\"}\n tabIndex={-1}\n onClick={() => (this.selectedColor = colorKey)}\n disabled={this.disableTransparent && colorKey === \"#FFFFFF00\"}\n >\n <div\n class=\"color-swatch\"\n role=\"img\"\n aria-roledescription={LOCALES[this.lng][\"Color swatch\"]}\n aria-label={ColorPickerPalette[colorKey][this.lng]}\n title={ColorPickerPalette[colorKey][this.lng]}\n style={{backgroundColor: colorKey}}\n ></div>\n </button>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var index$1 = require('./index-wGaSHN1_.js');
|
|
5
|
-
var utils = require('./utils-Ctc6JP2n.js');
|
|
6
|
-
require('./breakpoints-B7vFm-3T.js');
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
4
|
|
|
8
|
-
const
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
|
+
const index$1 = require('./index-e30d0503.js');
|
|
7
|
+
const utils = require('./utils-b1859d65.js');
|
|
8
|
+
require('./breakpoints-8a1e87e0.js');
|
|
9
|
+
|
|
10
|
+
const stylesCss = ".z-label{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}:host{display:block;min-width:290px;color:var(--color-form-default-text);fill:var(--color-form-default-icon);font-family:var(--font-family-sans)}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-form-surface04);margin:0;background-color:var(--color-form-background);border-radius:var(--border-radius-small);cursor:pointer}:host([size=\"small\"])>div>.header{min-height:34px;font-size:var(--font-size-2)}:host([size=\"x-small\"])>div>.header{min-height:30px;font-size:var(--font-size-2)}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--color-form-surface04);outline-offset:-2px}:host>div>div.header:focus:focus-visible{z-index:16;box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>span.body-3>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--color-form-default-icon);transform:rotate(360deg);transition:all 200ms linear}:host>div>.header>z-icon.small,:host>div>.header>z-icon.x-small{--z-icon-width:16px;--z-icon-height:16px}:host>div.open>.header{border:var(--border-size-small) solid var(--color-form-active-primary);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-form-disabled03);fill:var(--color-form-disabled01-icon)}:host>div.disabled .header>span.body-3{color:var(--color-form-disabled03)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-form-disabled01-icon)}:host>div.open>.header>z-icon{fill:var(--color-form-default-icon);transform:rotate(180deg);transition:all 200ms linear}:host>div>div.open-combo-data{display:none}:host>div.open>div.open-combo-data{position:relative;z-index:12;display:block;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--color-form-surface03);border-top:0;background-color:var(--color-form-background);border-radius:0;box-shadow:var(--shadow-2)}:host .open .open-combo-data z-input .z-label{color:var(--color-form-default-text)}:host>div.open>div.open-combo-data>div>div{overflow:auto;max-height:235px;padding:0;padding-left:var(--space-unit);margin-left:calc(var(--space-unit) * -1);}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>div>ul{max-height:235px;padding:0 calc(var(--space-unit) * 0.5);margin:0}:host .open-combo-data z-list-element{--background-color-list-element:var(--color-form-background);--background-hover-color-list-element:var(--color-form-surface03);--background-active-color-list-element:var(--color-form-surface03)}:host .open-combo-data z-list-element[disabled]{pointer-events:none}:host .open-combo-data z-list-element .option-wrap{display:flex;flex-direction:row;align-items:center;cursor:pointer;gap:var(--space-unit)}:host .open-combo-data z-list-element[size=\"medium\"] .option-wrap,:host .open-combo-data z-list-element[size=\"small\"] .option-wrap{--z-icon-width:16px;--z-icon-height:16px;font-size:var(--font-size-2);gap:calc(var(--space-unit) / 2)}:host .open-combo-data z-list-element .option-wrap>z-icon{fill:var(--color-primary01)}:host .open-combo-data z-list-element[disabled] .option-wrap>z-icon{fill:var(--color-disabled01)}:host .open-combo-data z-list-element .option-wrap>z-icon.focused{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary);outline:none}:host .open-combo-data z-list-element .option-wrap>[role=\"option\"]:focus,:host .open-combo-data z-list-element .option-wrap>[role=\"option\"]:focus-visible{outline:none}::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}@supports not selector(::-webkit-scrollbar-track){:host{scrollbar-color:var(--color-primary01) transparent}}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--color-form-active-primary)}:host>div.open>div.open-combo-data>div>div.search{overflow:hidden;max-height:none;margin-top:0}:host>div.open>div.open-combo-data>div>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host .open .open-combo-data .search .no-results{display:flex;align-items:center;column-gap:var(--space-unit)}:host>.open>.open-combo-data .search .close-search{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div>div.search .close-search>a{display:inline-block;height:44px;color:var(--color-form-active-primary);cursor:pointer;font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div>div.search .close-search>a:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 2)\n calc(var(--space-unit) * 1.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);margin-left:calc(var(--space-unit) * -1);text-align:left}:host([size=\"small\"])>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 0.5)}:host([size=\"x-small\"])>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:var(--space-unit) calc(var(--space-unit) * 0.5)}";
|
|
11
|
+
const ZComboboxStyle0 = stylesCss;
|
|
9
12
|
|
|
10
13
|
const ZCombobox = class {
|
|
11
14
|
watchItems() {
|
|
@@ -22,32 +25,30 @@ const ZCombobox = class {
|
|
|
22
25
|
constructor(hostRef) {
|
|
23
26
|
index.registerInstance(this, hostRef);
|
|
24
27
|
this.comboboxChange = index.createEvent(this, "comboboxChange", 7);
|
|
25
|
-
|
|
28
|
+
this.itemsList = [];
|
|
29
|
+
this.inputType = index$1.InputType.TEXT;
|
|
26
30
|
this.inputid = `combo-${utils.randomId()}`;
|
|
27
|
-
|
|
31
|
+
this.items = undefined;
|
|
32
|
+
this.label = undefined;
|
|
28
33
|
this.disabled = false;
|
|
29
|
-
/** show search input flag (optional) */
|
|
30
34
|
this.hassearch = false;
|
|
31
|
-
|
|
35
|
+
this.searchlabel = undefined;
|
|
36
|
+
this.searchplaceholder = undefined;
|
|
37
|
+
this.searchtitle = undefined;
|
|
32
38
|
this.noresultslabel = "Nessun risultato";
|
|
33
|
-
/** toggle combo list opening flag */
|
|
34
39
|
this.isopen = false;
|
|
35
|
-
/** fixed style flag */
|
|
36
40
|
this.isfixed = false;
|
|
37
|
-
/** show "check all" checkbox (optional) */
|
|
38
41
|
this.hascheckall = false;
|
|
39
|
-
/** check all label (optional) */
|
|
40
42
|
this.checkalltext = "Seleziona tutti";
|
|
41
|
-
/** uncheck all label (optional) */
|
|
42
43
|
this.uncheckalltext = "Deseleziona tutti";
|
|
43
|
-
/** max number of checkable items (0 = unlimited) */
|
|
44
44
|
this.maxcheckableitems = 0;
|
|
45
|
-
|
|
45
|
+
this.hasgroupitems = undefined;
|
|
46
46
|
this.size = index$1.ControlSize.BIG;
|
|
47
|
-
this.
|
|
47
|
+
this.htmlAriaLabel = undefined;
|
|
48
|
+
this.searchValue = undefined;
|
|
49
|
+
this.selectedCounter = undefined;
|
|
50
|
+
this.renderItemsList = [];
|
|
48
51
|
this.focusedItemId = "";
|
|
49
|
-
this.itemsList = [];
|
|
50
|
-
this.inputType = index$1.InputType.TEXT;
|
|
51
52
|
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
52
53
|
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
53
54
|
}
|
|
@@ -302,18 +303,16 @@ const ZCombobox = class {
|
|
|
302
303
|
return (index.h("z-list-element", { class: "check-all-wrapper", role: "presentation", htmlTabindex: -1, dividerType: index$1.ListDividerType.ELEMENT, dividerColor: "gray800", size: this.getControlToListSize(), disabled: !!isDisabled }, index.h("span", { class: "option-wrap", role: "presentation", onClick: () => this.checkOption(optionId) }, index.h("z-icon", { name: allChecked ? "checkbox-checked" : "checkbox", class: this.focusedItemId === optionId ? "focused" : "" }), index.h("span", { id: optionId, role: isDisabled ? "presentation" : "option", "aria-selected": allChecked ? "true" : "false" }, allChecked ? this.uncheckalltext : this.checkalltext))));
|
|
303
304
|
}
|
|
304
305
|
render() {
|
|
305
|
-
return (index.h("div", { key: '
|
|
306
|
+
return (index.h("div", { key: '3d2a5f02bd730efb2ff1390c4e21e96224a4e552', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
306
307
|
}
|
|
307
308
|
get element() { return index.getElement(this); }
|
|
308
309
|
static get watchers() { return {
|
|
309
|
-
"items": [
|
|
310
|
-
|
|
311
|
-
}],
|
|
312
|
-
"searchValue": [{
|
|
313
|
-
"watchSearchValue": 0
|
|
314
|
-
}]
|
|
310
|
+
"items": ["watchItems"],
|
|
311
|
+
"searchValue": ["watchSearchValue"]
|
|
315
312
|
}; }
|
|
316
313
|
};
|
|
317
|
-
ZCombobox.style =
|
|
314
|
+
ZCombobox.style = ZComboboxStyle0;
|
|
318
315
|
|
|
319
316
|
exports.z_combobox = ZCombobox;
|
|
317
|
+
|
|
318
|
+
//# sourceMappingURL=z-combobox.cjs.entry.js.map
|