@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
|
@@ -1 +1,290 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,createEvent as i,h as s,Host as o,transformTag as n}from"@stencil/core/internal/client";import{U as r,V as a,p as l,g as h,P as p,i as c}from"./index2.js";import{g as d,h as m}from"./utils.js";import{d as u}from"./index6.js";import{d as v}from"./index3.js";import{d as f}from"./index9.js";import{d as b}from"./index10.js";import{d as g}from"./index11.js";import{d as z}from"./index17.js";const x=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.clickOnNode=i(this,"clickOnNode",7),this.pathStyle=r.UNDERLINED,this.homepageVariant=a.ICON,this.maxNodesToShow=5,this.preventFollowUrl=!1,this.overflowMenuItemRows=0,this.truncateChar=30,this.hasOverflow=!1,this.popoverEllipsisOpen=!1,this.collapsedElements=[],this.currentIndex=0,this.truncatePosition=null}handleResize(){this.viewPortWidth=d(),this.viewPortWidth!==l.MOBILE&&this.wrapElement&&this.wrapElement.scrollWidth>this.wrapElement.clientWidth&&(this.hasOverflow=!0)}handlePropChange(){this.initializeBreadcrumb()}handleResizeUp(t,e){(t===l.MOBILE||e===l.MOBILE&&t===l.TABLET||e===l.MOBILE&&t===l.DESKTOP||e===l.MOBILE&&t===l.DESKTOP_WIDE||e===l.TABLET&&t===l.DESKTOP||e===l.TABLET&&t===l.DESKTOP_WIDE||e===l.DESKTOP&&t===l.DESKTOP_WIDE)&&this.initializeBreadcrumb()}componentWillLoad(){this.viewPortWidth=d(),this.initializeBreadcrumb()}componentWillRender(){this.viewPortWidth!==l.MOBILE&&this.hasOverflow&&(this.checkEllipsisOrOverflowMenu(),this.hasOverflow=!1)}componentDidRender(){this.collapsedElementsRef&&(this.anchorElements=Array.from(this.hostElement.shadowRoot.querySelectorAll("z-list-group a"))),this.viewPortWidth!==l.MOBILE&&requestAnimationFrame((()=>{this.wrapElement.scrollWidth>this.wrapElement.clientWidth&&(this.hasOverflow||(this.hasOverflow=!0))}))}initializeBreadcrumb(){this.pathsList=this.viewPortWidth===l.MOBILE?this.getPathsItemsList().filter((t=>!!t.path)):this.getPathsItemsList(),this.homepageNode=this.pathsList.shift(),this.pathListCopy=[...this.pathsList],this.collapsedElements=[],this.pathsList.length>this.maxNodesToShow&&(this.collapsedElements=this.pathsList.splice(0,this.pathsList.length-2))}checkEllipsisOrOverflowMenu(){for(let t=0;t<this.pathsList.length;t++)if(!(this.pathsList[t].text.length<=this.truncateChar)){if(this.truncatePosition>0)return this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition)),this.pathsList.splice(0,this.truncatePosition),void(this.truncatePosition=0);if(0===this.truncatePosition)return this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition+1)),this.pathsList.splice(0,this.truncatePosition+1),void(this.truncatePosition=null);if(t!==this.pathsList.length-1){const e=this.truncateWithEllipsis(this.pathsList[t].text,this.truncateChar);return this.currentEllipsisText=this.pathsList[t].text,this.pathsList[t].text=e,this.pathsList[t].hasTooltip=!0,void(this.truncatePosition=t)}}}truncateWithEllipsis(t,e){return t.length<=e?t:t.substring(0,e-1)+"…"}getPathsItemsList(){return Array.from(this.hostElement.children).map((t=>({text:t.textContent,path:t.href,hasTooltip:!1})))}renderHomepageNode(){return s("li",null,s("a",{class:{"homepage-text":this.homepageVariant===a.TEXT},href:this.homepageNode.path,onClick:t=>this.handlePreventFollowUrl(t,this.homepageNode),innerHTML:this.homepageVariant===a.ICON?'<z-icon name="home" />':this.homepageNode.text||"Home"}),this.pathsList.length>0&&s("z-icon",{class:"separator",name:"chevron-right"}))}togglePopover(){this.collapsedElementsRef.open||(this.collapsedElementsRef.open=!0)}handlePreventFollowUrl(t,e){this.preventFollowUrl&&(t.preventDefault(),this.clickOnNode.emit(e.path))}handleOverflowMenuAccessibility(t){const e=this.anchorElements.length;t.key!==h.TAB?(t.stopPropagation(),[h.ARROW_DOWN,h.ARROW_UP].includes(t.key)&&(t.preventDefault(),t.key===h.ARROW_DOWN&&(this.currentIndex=e===this.currentIndex+1?0:this.currentIndex+1),t.key===h.ARROW_UP&&(this.currentIndex=this.currentIndex<=0?e-1:this.currentIndex-1),this.anchorElements[this.currentIndex].focus()),t.key===h.ESC&&this.triggerButton.focus()):t.preventDefault()}renderOverflowMenu(){return s("li",null,s("z-popover",{class:"hidden-paths-popover",ref:t=>this.collapsedElementsRef=t,bindTo:this.triggerButton,position:p.BOTTOM_RIGHT,closable:!0,showArrow:!0},s("div",{class:"popover-content"},s("z-list",null,s("z-list-group",{size:c.SMALL},this.collapsedElements.map(((t,e,i)=>s("div",null,s("z-list-element",{clickable:!0},s("a",{class:"text-ellipsis",href:t.path,onClick:e=>this.handlePreventFollowUrl(e,t),onKeyDown:t=>this.handleOverflowMenuAccessibility(t),innerHTML:t.text})),e<i.length-1&&s("z-divider",{color:"color-surface03"})))))))),s("button",{class:"dots",ref:t=>this.triggerButton=t,"aria-label":"Mostra più breadcrumb","aria-haspopup":"true",onClick:()=>{this.togglePopover()},onKeyDown:t=>{m(t,this.togglePopover.bind(this)),setTimeout((()=>{this.anchorElements[0].focus()}),100)},innerHTML:"…"}),this.pathsList.length>0&&s("z-icon",{class:"separator",name:"chevron-right"}))}renderMobileItems(){const t=this.pathsList[this.pathsList.length-1];if(t)return s("li",null,s("a",{"aria-current":t.path?void 0:"page",href:t.path,onClick:e=>this.handlePreventFollowUrl(e,t)},s("z-icon",{name:"chevron-left"}),s("span",{class:{"missing-path":!t.path,"text-ellipsis":!0}},t.text)))}renderItems(){let t;return[this.renderHomepageNode(),this.collapsedElements.length>0&&this.renderOverflowMenu(),...this.pathsList.map(((e,i)=>s("li",null,e.hasTooltip&&s("z-popover",{class:"full-path-tooltip",bindTo:t,open:this.popoverEllipsisOpen,position:p.BOTTOM_RIGHT,closable:!1,showArrow:!0},s("span",{class:"tooltip-content"},this.currentEllipsisText)),s("a",{class:{"missing-path":!e.path},ref:e=>t=e,"aria-current":e.path?void 0:"page",href:e.path,onClick:t=>this.handlePreventFollowUrl(t,e),onMouseOver:()=>{e.hasTooltip&&(this.popoverEllipsisOpen=!0)},onMouseLeave:()=>{e.hasTooltip&&(this.popoverEllipsisOpen=!1)},innerHTML:e.text}),i!==this.pathsList.length-1&&s("z-icon",{class:"separator",name:"chevron-right"}))))]}render(){return s(o,{key:"b0e69674c7e600f237dd64db7aee54aa1a29529e",style:{"--line-clamp-popover":""+this.overflowMenuItemRows}},s("nav",{key:"ab4672d78b961bf88e3cbe29a7a880c872b7370c",ref:t=>this.wrapElement=t,"aria-label":"Breadcrumb",class:{semibold:this.pathStyle===r.SEMIBOLD,underlined:this.pathStyle===r.UNDERLINED}},s("ol",{key:"bf1d0a0686b68240bcfd866012d3f4236b450bf1"},this.viewPortWidth===l.MOBILE?this.renderMobileItems():this.renderItems())))}get hostElement(){return this}static get watchers(){return{maxNodesToShow:[{handlePropChange:0}],viewPortWidth:[{handleResizeUp:0}]}}static get style(){return":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-text-link-blue);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-text-link-blue)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-text-link-blue);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-background);--z-popover-padding:0;--background-color-list-element:var(--color-background)}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover);line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}"}},[1,"z-breadcrumb",{pathStyle:[513,"path-style"],homepageVariant:[1,"homepage-variant"],maxNodesToShow:[2,"max-nodes-to-show"],preventFollowUrl:[4,"prevent-follow-url"],overflowMenuItemRows:[2,"overflow-menu-item-rows"],truncateChar:[2,"truncate-char"],viewPortWidth:[32],hasOverflow:[32],popoverEllipsisOpen:[32]},[[9,"resize","handleResize"]],{maxNodesToShow:[{handlePropChange:0}],viewPortWidth:[{handleResizeUp:0}]}]),w=x,k=function(){"undefined"!=typeof customElements&&["z-breadcrumb","z-divider","z-icon","z-list","z-list-element","z-list-group","z-popover"].forEach((t=>{switch(t){case"z-breadcrumb":customElements.get(n(t))||customElements.define(n(t),x);break;case"z-divider":customElements.get(n(t))||u();break;case"z-icon":customElements.get(n(t))||v();break;case"z-list":customElements.get(n(t))||f();break;case"z-list-element":customElements.get(n(t))||b();break;case"z-list-group":customElements.get(n(t))||g();break;case"z-popover":customElements.get(n(t))||z()}}))};export{w as ZBreadcrumb,k as defineCustomElement}
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { U as BreadcrumbPathStyle, V as BreadcrumbHomepageVariant, p as Device, g as KeyboardCode, P as PopoverPosition, i as ListSize } from './index2.js';
|
|
3
|
+
import { g as getDevice, h as handleKeyboardSubmit } from './utils.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './index7.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './index10.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './index14.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './index15.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './index16.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './index24.js';
|
|
10
|
+
|
|
11
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-text-link-blue);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-text-link-blue)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-text-link-blue);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-background);--z-popover-padding:0;--background-color-list-element:var(--color-background)}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover);line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}";
|
|
12
|
+
const ZBreadcrumbStyle0 = stylesCss;
|
|
13
|
+
|
|
14
|
+
const ZBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class ZBreadcrumb extends HTMLElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
this.__attachShadow();
|
|
19
|
+
this.clickOnNode = createEvent(this, "clickOnNode", 7);
|
|
20
|
+
this.collapsedElements = [];
|
|
21
|
+
this.currentIndex = 0;
|
|
22
|
+
this.truncatePosition = null;
|
|
23
|
+
this.pathStyle = BreadcrumbPathStyle.UNDERLINED;
|
|
24
|
+
this.homepageVariant = BreadcrumbHomepageVariant.ICON;
|
|
25
|
+
this.maxNodesToShow = 5;
|
|
26
|
+
this.preventFollowUrl = false;
|
|
27
|
+
this.overflowMenuItemRows = 0;
|
|
28
|
+
this.truncateChar = 30;
|
|
29
|
+
this.viewPortWidth = undefined;
|
|
30
|
+
this.hasOverflow = false;
|
|
31
|
+
this.popoverEllipsisOpen = false;
|
|
32
|
+
}
|
|
33
|
+
handleResize() {
|
|
34
|
+
this.viewPortWidth = getDevice();
|
|
35
|
+
if (this.viewPortWidth !== Device.MOBILE &&
|
|
36
|
+
this.wrapElement &&
|
|
37
|
+
this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {
|
|
38
|
+
this.hasOverflow = true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
// eslint-disable-next-line lines-between-class-members
|
|
42
|
+
handlePropChange() {
|
|
43
|
+
this.initializeBreadcrumb();
|
|
44
|
+
}
|
|
45
|
+
handleResizeUp(newValue, oldValue) {
|
|
46
|
+
if (newValue === Device.MOBILE ||
|
|
47
|
+
(oldValue === Device.MOBILE && newValue === Device.TABLET) ||
|
|
48
|
+
(oldValue === Device.MOBILE && newValue === Device.DESKTOP) ||
|
|
49
|
+
(oldValue === Device.MOBILE && newValue === Device.DESKTOP_WIDE) ||
|
|
50
|
+
(oldValue === Device.TABLET && newValue === Device.DESKTOP) ||
|
|
51
|
+
(oldValue === Device.TABLET && newValue === Device.DESKTOP_WIDE) ||
|
|
52
|
+
(oldValue === Device.DESKTOP && newValue === Device.DESKTOP_WIDE)) {
|
|
53
|
+
this.initializeBreadcrumb();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
componentWillLoad() {
|
|
57
|
+
this.viewPortWidth = getDevice();
|
|
58
|
+
this.initializeBreadcrumb();
|
|
59
|
+
}
|
|
60
|
+
componentWillRender() {
|
|
61
|
+
if (this.viewPortWidth !== Device.MOBILE && this.hasOverflow) {
|
|
62
|
+
this.checkEllipsisOrOverflowMenu();
|
|
63
|
+
this.hasOverflow = false;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
componentDidRender() {
|
|
67
|
+
if (this.collapsedElementsRef) {
|
|
68
|
+
this.anchorElements = Array.from(this.hostElement.shadowRoot.querySelectorAll("z-list-group a"));
|
|
69
|
+
}
|
|
70
|
+
if (this.viewPortWidth !== Device.MOBILE) {
|
|
71
|
+
requestAnimationFrame(() => {
|
|
72
|
+
if (this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {
|
|
73
|
+
if (!this.hasOverflow) {
|
|
74
|
+
this.hasOverflow = true;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
initializeBreadcrumb() {
|
|
81
|
+
if (this.viewPortWidth === Device.MOBILE) {
|
|
82
|
+
this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.pathsList = this.getPathsItemsList();
|
|
86
|
+
}
|
|
87
|
+
this.homepageNode = this.pathsList.shift();
|
|
88
|
+
this.pathListCopy = [...this.pathsList];
|
|
89
|
+
this.collapsedElements = [];
|
|
90
|
+
if (this.pathsList.length > this.maxNodesToShow) {
|
|
91
|
+
this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
checkEllipsisOrOverflowMenu() {
|
|
95
|
+
for (let i = 0; i < this.pathsList.length; i++) {
|
|
96
|
+
if (this.pathsList[i].text.length <= this.truncateChar) {
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if (this.truncatePosition > 0) {
|
|
100
|
+
this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition));
|
|
101
|
+
this.pathsList.splice(0, this.truncatePosition);
|
|
102
|
+
this.truncatePosition = 0;
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
else if (this.truncatePosition === 0) {
|
|
106
|
+
this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition + 1));
|
|
107
|
+
this.pathsList.splice(0, this.truncatePosition + 1);
|
|
108
|
+
this.truncatePosition = null;
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (i !== this.pathsList.length - 1) {
|
|
112
|
+
const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);
|
|
113
|
+
this.currentEllipsisText = this.pathsList[i].text;
|
|
114
|
+
this.pathsList[i].text = truncatedString;
|
|
115
|
+
this.pathsList[i].hasTooltip = true;
|
|
116
|
+
this.truncatePosition = i;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
truncateWithEllipsis(str, maxLength) {
|
|
122
|
+
if (str.length <= maxLength) {
|
|
123
|
+
return str;
|
|
124
|
+
}
|
|
125
|
+
return str.substring(0, maxLength - 1) + "…";
|
|
126
|
+
}
|
|
127
|
+
getPathsItemsList() {
|
|
128
|
+
return Array.from(this.hostElement.children).map((item) => {
|
|
129
|
+
return {
|
|
130
|
+
text: item.textContent,
|
|
131
|
+
path: item.href,
|
|
132
|
+
hasTooltip: false,
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
renderHomepageNode() {
|
|
137
|
+
return (h("li", null, h("a", { class: {
|
|
138
|
+
"homepage-text": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,
|
|
139
|
+
}, href: this.homepageNode.path, onClick: (e) => this.handlePreventFollowUrl(e, this.homepageNode), innerHTML: this.homepageVariant === BreadcrumbHomepageVariant.ICON
|
|
140
|
+
? `<z-icon name="home" />`
|
|
141
|
+
: this.homepageNode.text || "Home" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
142
|
+
}
|
|
143
|
+
togglePopover() {
|
|
144
|
+
if (!this.collapsedElementsRef.open) {
|
|
145
|
+
this.collapsedElementsRef.open = true;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
handlePreventFollowUrl(e, item) {
|
|
149
|
+
if (this.preventFollowUrl) {
|
|
150
|
+
e.preventDefault();
|
|
151
|
+
this.clickOnNode.emit(item.path);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
handleOverflowMenuAccessibility(e) {
|
|
155
|
+
const anchorElementsLenght = this.anchorElements.length;
|
|
156
|
+
if (e.key === KeyboardCode.TAB) {
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
e.stopPropagation();
|
|
161
|
+
const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];
|
|
162
|
+
if (arrows.includes(e.key)) {
|
|
163
|
+
e.preventDefault();
|
|
164
|
+
if (e.key === KeyboardCode.ARROW_DOWN) {
|
|
165
|
+
this.currentIndex = anchorElementsLenght === this.currentIndex + 1 ? 0 : this.currentIndex + 1;
|
|
166
|
+
}
|
|
167
|
+
if (e.key === KeyboardCode.ARROW_UP) {
|
|
168
|
+
this.currentIndex = this.currentIndex <= 0 ? anchorElementsLenght - 1 : this.currentIndex - 1;
|
|
169
|
+
}
|
|
170
|
+
this.anchorElements[this.currentIndex].focus();
|
|
171
|
+
}
|
|
172
|
+
if (e.key === KeyboardCode.ESC) {
|
|
173
|
+
this.triggerButton.focus();
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
renderOverflowMenu() {
|
|
177
|
+
return (h("li", null, h("z-popover", { class: "hidden-paths-popover", ref: (val) => (this.collapsedElementsRef = val), bindTo: this.triggerButton, position: PopoverPosition.BOTTOM_RIGHT, closable: true, showArrow: true }, h("div", { class: "popover-content" }, h("z-list", null, h("z-list-group", { size: ListSize.SMALL }, this.collapsedElements.map((item, index, array) => {
|
|
178
|
+
return (h("div", null, h("z-list-element", { clickable: true }, h("a", { class: "text-ellipsis", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onKeyDown: (e) => this.handleOverflowMenuAccessibility(e), innerHTML: item.text })), index < array.length - 1 && h("z-divider", { color: "color-surface03" })));
|
|
179
|
+
}))))), h("button", { class: "dots", ref: (el) => (this.triggerButton = el), "aria-label": "Mostra pi\u00F9 breadcrumb", "aria-haspopup": "true", onClick: () => {
|
|
180
|
+
this.togglePopover();
|
|
181
|
+
}, onKeyDown: (e) => {
|
|
182
|
+
handleKeyboardSubmit(e, this.togglePopover.bind(this));
|
|
183
|
+
setTimeout(() => {
|
|
184
|
+
this.anchorElements[0].focus();
|
|
185
|
+
}, 100);
|
|
186
|
+
}, innerHTML: "…" }), this.pathsList.length > 0 && (h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
187
|
+
}
|
|
188
|
+
renderMobileItems() {
|
|
189
|
+
// show only the second to last element
|
|
190
|
+
const secondToLastPath = this.pathsList[this.pathsList.length - 1];
|
|
191
|
+
if (!secondToLastPath) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
return (h("li", null, h("a", { "aria-current": secondToLastPath.path ? undefined : "page", href: secondToLastPath.path, onClick: (e) => this.handlePreventFollowUrl(e, secondToLastPath) }, h("z-icon", { name: "chevron-left" }), h("span", { class: {
|
|
195
|
+
"missing-path": !secondToLastPath.path,
|
|
196
|
+
"text-ellipsis": true,
|
|
197
|
+
} }, secondToLastPath.text))));
|
|
198
|
+
}
|
|
199
|
+
renderItems() {
|
|
200
|
+
let trigger;
|
|
201
|
+
return [
|
|
202
|
+
this.renderHomepageNode(),
|
|
203
|
+
this.collapsedElements.length > 0 && this.renderOverflowMenu(),
|
|
204
|
+
...this.pathsList.map((item, index) => (h("li", null, item.hasTooltip && (h("z-popover", { class: "full-path-tooltip", bindTo: trigger, open: this.popoverEllipsisOpen, position: PopoverPosition.BOTTOM_RIGHT, closable: false, showArrow: true }, h("span", { class: "tooltip-content" }, this.currentEllipsisText))), h("a", { class: { "missing-path": !item.path }, ref: (val) => (trigger = val), "aria-current": item.path ? undefined : "page", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onMouseOver: () => {
|
|
205
|
+
if (item.hasTooltip) {
|
|
206
|
+
this.popoverEllipsisOpen = true;
|
|
207
|
+
}
|
|
208
|
+
}, onMouseLeave: () => {
|
|
209
|
+
if (item.hasTooltip) {
|
|
210
|
+
this.popoverEllipsisOpen = false;
|
|
211
|
+
}
|
|
212
|
+
}, innerHTML: item.text }), index !== this.pathsList.length - 1 && (h("z-icon", { class: "separator", name: "chevron-right" }))))),
|
|
213
|
+
];
|
|
214
|
+
}
|
|
215
|
+
render() {
|
|
216
|
+
return (h(Host, { key: 'd1237ebe6e8f96e4b43f4197a85c0084050f076d', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: '03fb62eefc39de3f78890d857ae23fb4f4a3307f', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
217
|
+
semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
|
|
218
|
+
underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
|
|
219
|
+
} }, h("ol", { key: 'bccdd02377c6bb41f54baf717c987fcef541d95a' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
220
|
+
}
|
|
221
|
+
get hostElement() { return this; }
|
|
222
|
+
static get watchers() { return {
|
|
223
|
+
"maxNodesToShow": ["handlePropChange"],
|
|
224
|
+
"viewPortWidth": ["handleResizeUp"]
|
|
225
|
+
}; }
|
|
226
|
+
static get style() { return ZBreadcrumbStyle0; }
|
|
227
|
+
}, [1, "z-breadcrumb", {
|
|
228
|
+
"pathStyle": [513, "path-style"],
|
|
229
|
+
"homepageVariant": [1, "homepage-variant"],
|
|
230
|
+
"maxNodesToShow": [2, "max-nodes-to-show"],
|
|
231
|
+
"preventFollowUrl": [4, "prevent-follow-url"],
|
|
232
|
+
"overflowMenuItemRows": [2, "overflow-menu-item-rows"],
|
|
233
|
+
"truncateChar": [2, "truncate-char"],
|
|
234
|
+
"viewPortWidth": [32],
|
|
235
|
+
"hasOverflow": [32],
|
|
236
|
+
"popoverEllipsisOpen": [32]
|
|
237
|
+
}, [[9, "resize", "handleResize"]], {
|
|
238
|
+
"maxNodesToShow": ["handlePropChange"],
|
|
239
|
+
"viewPortWidth": ["handleResizeUp"]
|
|
240
|
+
}]);
|
|
241
|
+
function defineCustomElement$1() {
|
|
242
|
+
if (typeof customElements === "undefined") {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
const components = ["z-breadcrumb", "z-divider", "z-icon", "z-list", "z-list-element", "z-list-group", "z-popover"];
|
|
246
|
+
components.forEach(tagName => { switch (tagName) {
|
|
247
|
+
case "z-breadcrumb":
|
|
248
|
+
if (!customElements.get(tagName)) {
|
|
249
|
+
customElements.define(tagName, ZBreadcrumb$1);
|
|
250
|
+
}
|
|
251
|
+
break;
|
|
252
|
+
case "z-divider":
|
|
253
|
+
if (!customElements.get(tagName)) {
|
|
254
|
+
defineCustomElement$7();
|
|
255
|
+
}
|
|
256
|
+
break;
|
|
257
|
+
case "z-icon":
|
|
258
|
+
if (!customElements.get(tagName)) {
|
|
259
|
+
defineCustomElement$6();
|
|
260
|
+
}
|
|
261
|
+
break;
|
|
262
|
+
case "z-list":
|
|
263
|
+
if (!customElements.get(tagName)) {
|
|
264
|
+
defineCustomElement$5();
|
|
265
|
+
}
|
|
266
|
+
break;
|
|
267
|
+
case "z-list-element":
|
|
268
|
+
if (!customElements.get(tagName)) {
|
|
269
|
+
defineCustomElement$4();
|
|
270
|
+
}
|
|
271
|
+
break;
|
|
272
|
+
case "z-list-group":
|
|
273
|
+
if (!customElements.get(tagName)) {
|
|
274
|
+
defineCustomElement$3();
|
|
275
|
+
}
|
|
276
|
+
break;
|
|
277
|
+
case "z-popover":
|
|
278
|
+
if (!customElements.get(tagName)) {
|
|
279
|
+
defineCustomElement$2();
|
|
280
|
+
}
|
|
281
|
+
break;
|
|
282
|
+
} });
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
const ZBreadcrumb = ZBreadcrumb$1;
|
|
286
|
+
const defineCustomElement = defineCustomElement$1;
|
|
287
|
+
|
|
288
|
+
export { ZBreadcrumb, defineCustomElement };
|
|
289
|
+
|
|
290
|
+
//# sourceMappingURL=z-breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-breadcrumb.js","mappings":";;;;;;;;;;AAAA,MAAM,SAAS,GAAG,ssEAAssE,CAAC;AACztE,0BAAe,SAAS;;MCgBXA,aAAW;;;;;;QAmDd,sBAAiB,GAAqB,EAAE,CAAC;QAQzC,iBAAY,GAAG,CAAC,CAAC;QAQjB,qBAAgB,GAAG,IAAI,CAAC;yBAzDE,mBAAmB,CAAC,UAAU;+BAIlB,yBAAyB,CAAC,IAAI;8BAI1D,CAAC;gCAIC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SAAS,KAAK,mBAAmB,CAAC,UAAU;aAC9D,IAED,6DAAK,IAAI,CAAC,aAAa,KAAK,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAM,CAC3F,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZBreadcrumb"],"sources":["src/components/z-breadcrumb/styles.css?tag=z-breadcrumb&encapsulation=shadow","src/components/z-breadcrumb/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --line-clamp-popover: 0;\n --line-clamp-mobile: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbutton {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\nnav {\n display: flex;\n align-items: center;\n}\n\nol {\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n column-gap: var(--space-unit);\n list-style: none;\n}\n\nli {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n column-gap: var(--space-unit);\n}\n\nol li > a,\nol li > button {\n font-size: var(--font-size-2);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\na:focus,\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\na {\n color: var(--color-text-link-blue);\n white-space: nowrap;\n}\n\na.missing-path {\n color: var(--color-default-text);\n}\n\n.text-ellipsis {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--line-clamp-mobile);\n line-clamp: var(--line-clamp-mobile);\n text-overflow: ellipsis;\n white-space: initial;\n}\n\nnav.semibold > ol > li > a:not(.missing-path),\nnav.semibold > ol > li > button {\n font-weight: var(--font-sb);\n text-decoration: none;\n}\n\nnav.underlined a,\nnav.underlined button {\n text-decoration: underline;\n}\n\nz-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n\n display: block;\n fill: var(--color-text-link-blue);\n}\n\nz-icon.separator {\n --z-icon-width: 10px;\n --z-icon-height: 10px;\n\n fill: var(--gray500);\n}\n\nbutton.dots {\n display: inline-block;\n color: var(--color-text-link-blue);\n cursor: pointer;\n}\n\n.hidden-paths-popover .popover-content {\n max-width: 302px;\n padding: calc(var(--space-unit) / 2) var(--space-unit);\n text-align: left;\n}\n\n.hidden-paths-popover .popover-content a {\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\n.hidden-paths-popover {\n --z-popover-theme--surface: var(--color-background);\n --z-popover-padding: 0;\n --background-color-list-element: var(--color-background);\n}\n\n.hidden-paths-popover::before,\n.full-path-tooltip::before {\n --arrow-edge-offset: calc(100% - (var(--space-unit) * 2.55));\n}\n\n.full-path-tooltip {\n --z-popover-theme--surface: var(--color-surface05);\n --z-popover-theme--text: var(--color-text-inverse);\n --z-popover-padding: 0;\n}\n\n.tooltip-content {\n padding: 0 var(--space-unit);\n font-size: var(--font-size-2);\n}\n\n@media (min-width: 768px) {\n .text-ellipsis {\n -webkit-line-clamp: var(--line-clamp-popover);\n line-clamp: var(--line-clamp-popover);\n }\n}\n\n@media (max-width: 767px) {\n li a {\n display: flex;\n align-items: center;\n column-gap: var(--space-unit);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {\n BreadcrumbHomepageVariant,\n BreadcrumbPath,\n BreadcrumbPathStyle,\n Device,\n KeyboardCode,\n ListSize,\n PopoverPosition,\n} from \"../../beans\";\nimport {getDevice, handleKeyboardSubmit} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-breadcrumb\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZBreadcrumb {\n /* Accessibility references */\n /* Overflow-menu: https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/ */\n /* Breadcrumb: https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/ */\n /* Focus on multiline link: https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html */\n\n @Element() hostElement: HTMLZBreadcrumbElement;\n\n /** [optional] Sets the path style */\n @Prop({reflect: true})\n pathStyle?: BreadcrumbPathStyle = BreadcrumbPathStyle.UNDERLINED;\n\n /** [optional] Variant of first node */\n @Prop()\n homepageVariant?: BreadcrumbHomepageVariant = BreadcrumbHomepageVariant.ICON;\n\n /** [optional] Sets max number of element to show */\n @Prop()\n maxNodesToShow? = 5;\n\n /** [optional] Controls the behaviour on <a> tag click/enter */\n @Prop()\n preventFollowUrl? = false;\n\n /** [optional] Sets max number of row for each path inside the popover. Zero equals unlimited */\n @Prop()\n overflowMenuItemRows? = 0;\n\n /** [optional] Sets the maximun number of chars per single node */\n @Prop()\n truncateChar? = 30;\n\n /** Handle mobile */\n @State()\n viewPortWidth: Device;\n\n /** Detect whether the length of the nodes shown exceeds the container length */\n @State()\n hasOverflow = false;\n\n @State()\n popoverEllipsisOpen = false;\n\n /** Emitted when preventFollowUrl=true to handle custom page transition */\n @Event()\n clickOnNode: EventEmitter<BreadcrumbPath[\"path\"]>;\n\n private pathsList: BreadcrumbPath[];\n\n private pathListCopy: BreadcrumbPath[];\n\n private collapsedElements: BreadcrumbPath[] = [];\n\n private collapsedElementsRef: HTMLZPopoverElement;\n\n private triggerButton: HTMLButtonElement;\n\n private wrapElement: HTMLElement;\n\n private currentIndex = 0;\n\n private homepageNode: BreadcrumbPath;\n\n private anchorElements;\n\n private currentEllipsisText: string;\n\n private truncatePosition = null;\n\n @Listen(\"resize\", {target: \"window\"})\n handleResize(): void {\n this.viewPortWidth = getDevice();\n if (\n this.viewPortWidth !== Device.MOBILE &&\n this.wrapElement &&\n this.wrapElement.scrollWidth > this.wrapElement.clientWidth\n ) {\n this.hasOverflow = true;\n }\n }\n // eslint-disable-next-line lines-between-class-members\n @Watch(\"maxNodesToShow\")\n handlePropChange(): void {\n this.initializeBreadcrumb();\n }\n\n @Watch(\"viewPortWidth\")\n handleResizeUp(newValue: Device, oldValue: Device): void {\n if (\n newValue === Device.MOBILE ||\n (oldValue === Device.MOBILE && newValue === Device.TABLET) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.DESKTOP && newValue === Device.DESKTOP_WIDE)\n ) {\n this.initializeBreadcrumb();\n }\n }\n\n componentWillLoad(): void {\n this.viewPortWidth = getDevice();\n this.initializeBreadcrumb();\n }\n\n componentWillRender(): void {\n if (this.viewPortWidth !== Device.MOBILE && this.hasOverflow) {\n this.checkEllipsisOrOverflowMenu();\n this.hasOverflow = false;\n }\n }\n\n componentDidRender(): void {\n if (this.collapsedElementsRef) {\n this.anchorElements = Array.from(this.hostElement.shadowRoot.querySelectorAll(\"z-list-group a\"));\n }\n\n if (this.viewPortWidth !== Device.MOBILE) {\n requestAnimationFrame(() => {\n if (this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {\n if (!this.hasOverflow) {\n this.hasOverflow = true;\n }\n }\n });\n }\n }\n\n private initializeBreadcrumb(): void {\n if (this.viewPortWidth === Device.MOBILE) {\n this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);\n } else {\n this.pathsList = this.getPathsItemsList();\n }\n this.homepageNode = this.pathsList.shift();\n this.pathListCopy = [...this.pathsList];\n this.collapsedElements = [];\n if (this.pathsList.length > this.maxNodesToShow) {\n this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);\n }\n }\n\n private checkEllipsisOrOverflowMenu(): void {\n for (let i = 0; i < this.pathsList.length; i++) {\n if (this.pathsList[i].text.length <= this.truncateChar) {\n continue;\n }\n\n if (this.truncatePosition > 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition));\n this.pathsList.splice(0, this.truncatePosition);\n this.truncatePosition = 0;\n\n return;\n } else if (this.truncatePosition === 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition + 1));\n this.pathsList.splice(0, this.truncatePosition + 1);\n this.truncatePosition = null;\n\n return;\n }\n\n if (i !== this.pathsList.length - 1) {\n const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);\n this.currentEllipsisText = this.pathsList[i].text;\n this.pathsList[i].text = truncatedString;\n this.pathsList[i].hasTooltip = true;\n this.truncatePosition = i;\n\n return;\n }\n }\n }\n\n private truncateWithEllipsis(str: string, maxLength: number): string {\n if (str.length <= maxLength) {\n return str;\n }\n\n return str.substring(0, maxLength - 1) + \"…\";\n }\n\n private getPathsItemsList(): BreadcrumbPath[] {\n return Array.from(this.hostElement.children).map((item: HTMLAnchorElement) => {\n return {\n text: item.textContent,\n path: item.href,\n hasTooltip: false,\n };\n });\n }\n\n private renderHomepageNode(): HTMLLIElement {\n return (\n <li>\n <a\n class={{\n \"homepage-text\": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,\n }}\n href={this.homepageNode.path}\n onClick={(e) => this.handlePreventFollowUrl(e, this.homepageNode)}\n innerHTML={\n this.homepageVariant === BreadcrumbHomepageVariant.ICON\n ? `<z-icon name=\"home\" />`\n : this.homepageNode.text || \"Home\"\n }\n />\n {this.pathsList.length > 0 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n );\n }\n\n private togglePopover(): void {\n if (!this.collapsedElementsRef.open) {\n this.collapsedElementsRef.open = true;\n }\n }\n\n private handlePreventFollowUrl(e: MouseEvent, item): void {\n if (this.preventFollowUrl) {\n e.preventDefault();\n this.clickOnNode.emit(item.path);\n }\n }\n\n private handleOverflowMenuAccessibility(e: KeyboardEvent): void {\n const anchorElementsLenght = this.anchorElements.length;\n if (e.key === KeyboardCode.TAB) {\n e.preventDefault();\n\n return;\n }\n e.stopPropagation();\n const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];\n if (arrows.includes(e.key as KeyboardCode)) {\n e.preventDefault();\n\n if (e.key === KeyboardCode.ARROW_DOWN) {\n this.currentIndex = anchorElementsLenght === this.currentIndex + 1 ? 0 : this.currentIndex + 1;\n }\n if (e.key === KeyboardCode.ARROW_UP) {\n this.currentIndex = this.currentIndex <= 0 ? anchorElementsLenght - 1 : this.currentIndex - 1;\n }\n\n this.anchorElements[this.currentIndex].focus();\n }\n\n if (e.key === KeyboardCode.ESC) {\n this.triggerButton.focus();\n }\n }\n\n private renderOverflowMenu(): HTMLLIElement {\n return (\n <li>\n <z-popover\n class=\"hidden-paths-popover\"\n ref={(val) => (this.collapsedElementsRef = val as HTMLZPopoverElement)}\n bindTo={this.triggerButton}\n position={PopoverPosition.BOTTOM_RIGHT}\n closable\n showArrow\n >\n <div class=\"popover-content\">\n <z-list>\n <z-list-group size={ListSize.SMALL}>\n {this.collapsedElements.map((item, index, array) => {\n return (\n <div>\n <z-list-element clickable>\n <a\n class=\"text-ellipsis\"\n href={item.path}\n onClick={(e) => this.handlePreventFollowUrl(e, item)}\n onKeyDown={(e) => this.handleOverflowMenuAccessibility(e)}\n innerHTML={item.text}\n />\n </z-list-element>\n {index < array.length - 1 && <z-divider color=\"color-surface03\"></z-divider>}\n </div>\n );\n })}\n </z-list-group>\n </z-list>\n </div>\n </z-popover>\n <button\n class=\"dots\"\n ref={(el) => (this.triggerButton = el)}\n aria-label=\"Mostra più breadcrumb\"\n aria-haspopup=\"true\"\n onClick={() => {\n this.togglePopover();\n }}\n onKeyDown={(e) => {\n handleKeyboardSubmit(e, this.togglePopover.bind(this));\n setTimeout(() => {\n this.anchorElements[0].focus();\n }, 100);\n }}\n innerHTML=\"…\"\n ></button>\n {this.pathsList.length > 0 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n );\n }\n\n private renderMobileItems(): HTMLLIElement {\n // show only the second to last element\n const secondToLastPath = this.pathsList[this.pathsList.length - 1];\n\n if (!secondToLastPath) {\n return;\n }\n\n return (\n <li>\n <a\n aria-current={secondToLastPath.path ? undefined : \"page\"}\n href={secondToLastPath.path}\n onClick={(e) => this.handlePreventFollowUrl(e, secondToLastPath)}\n >\n <z-icon name=\"chevron-left\" />\n <span\n class={{\n \"missing-path\": !secondToLastPath.path,\n \"text-ellipsis\": true,\n }}\n >\n {secondToLastPath.text}\n </span>\n </a>\n </li>\n );\n }\n\n private renderItems(): HTMLElement[] {\n let trigger;\n\n return [\n this.renderHomepageNode(),\n this.collapsedElements.length > 0 && this.renderOverflowMenu(),\n ...this.pathsList.map((item, index) => (\n <li>\n {item.hasTooltip && (\n <z-popover\n class=\"full-path-tooltip\"\n bindTo={trigger}\n open={this.popoverEllipsisOpen}\n position={PopoverPosition.BOTTOM_RIGHT}\n closable={false}\n showArrow\n >\n <span class=\"tooltip-content\">{this.currentEllipsisText}</span>\n </z-popover>\n )}\n <a\n class={{\"missing-path\": !item.path}}\n ref={(val) => (trigger = val)}\n aria-current={item.path ? undefined : \"page\"}\n href={item.path}\n onClick={(e) => this.handlePreventFollowUrl(e, item)}\n onMouseOver={() => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = true;\n }\n }}\n onMouseLeave={() => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = false;\n }\n }}\n innerHTML={item.text}\n />\n {index !== this.pathsList.length - 1 && (\n <z-icon\n class=\"separator\"\n name=\"chevron-right\"\n />\n )}\n </li>\n )),\n ];\n }\n\n render(): HTMLZBreadcrumbElement {\n return (\n <Host style={{\"--line-clamp-popover\": `${this.overflowMenuItemRows}`}}>\n <nav\n ref={(val) => (this.wrapElement = val)}\n aria-label=\"Breadcrumb\"\n class={{\n semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,\n underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,\n }}\n >\n <ol>{this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()}</ol>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +1,86 @@
|
|
|
1
|
-
import{proxyCustomElement
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as Breakpoints } from './breakpoints.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './index10.js';
|
|
4
|
+
|
|
5
|
+
const stylesCss = "button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-active-primary-icon)}button.selected{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";
|
|
6
|
+
const ZButtonSortStyle0 = stylesCss;
|
|
7
|
+
|
|
8
|
+
const ZButtonSort$1 = /*@__PURE__*/ proxyCustomElement(class ZButtonSort extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.buttonSortClick = createEvent(this, "buttonSortClick", 7);
|
|
14
|
+
this.buttonid = undefined;
|
|
15
|
+
this.label = undefined;
|
|
16
|
+
this.desclabel = undefined;
|
|
17
|
+
this.counter = undefined;
|
|
18
|
+
this.sortlabelasc = "A-Z";
|
|
19
|
+
this.sortlabeldesc = "Z-A";
|
|
20
|
+
this.isselected = false;
|
|
21
|
+
this.sortasc = true;
|
|
22
|
+
this.allowTooltip = false;
|
|
23
|
+
}
|
|
24
|
+
emitButtonSortClick() {
|
|
25
|
+
if (!this.isselected) {
|
|
26
|
+
this.isselected = true;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.sortasc = !this.sortasc;
|
|
30
|
+
}
|
|
31
|
+
this.buttonSortClick.emit({
|
|
32
|
+
buttonid: this.buttonid,
|
|
33
|
+
sortAsc: this.sortasc,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {
|
|
38
|
+
this.allowTooltip = true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
setButtonTitle() {
|
|
42
|
+
return this.allowTooltip ? `${this.sortasc ? this.label : this.desclabel}` : "";
|
|
43
|
+
}
|
|
44
|
+
elementHasEllipsis() {
|
|
45
|
+
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return (h("button", { key: '6a27bbc29c4feedda219d3c48351e98e5424fc35', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '415ed91622a75e04dae5df0112d892f14015af61', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: '58bd9c2614021ee41fcd4f0f27ef3fa41771c7b8', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: '66689c59c79cf1d6ad15640d424fbb3ac14edde2', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'c6638b7e129f261bbcc9a7c79f02080accb6eed6', name: "caret-up-down", width: 16, height: 16 })));
|
|
49
|
+
}
|
|
50
|
+
static get style() { return ZButtonSortStyle0; }
|
|
51
|
+
}, [1, "z-button-sort", {
|
|
52
|
+
"buttonid": [1],
|
|
53
|
+
"label": [1],
|
|
54
|
+
"desclabel": [1],
|
|
55
|
+
"counter": [2],
|
|
56
|
+
"sortlabelasc": [1],
|
|
57
|
+
"sortlabeldesc": [1],
|
|
58
|
+
"isselected": [1028],
|
|
59
|
+
"sortasc": [1028],
|
|
60
|
+
"allowTooltip": [32]
|
|
61
|
+
}]);
|
|
62
|
+
function defineCustomElement$1() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["z-button-sort", "z-icon"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "z-button-sort":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, ZButtonSort$1);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
case "z-icon":
|
|
74
|
+
if (!customElements.get(tagName)) {
|
|
75
|
+
defineCustomElement$2();
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
78
|
+
} });
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const ZButtonSort = ZButtonSort$1;
|
|
82
|
+
const defineCustomElement = defineCustomElement$1;
|
|
83
|
+
|
|
84
|
+
export { ZButtonSort, defineCustomElement };
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=z-button-sort.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-button-sort.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,u6CAAu6C,CAAC;AAC17C,0BAAe,SAAS;;MCMXA,aAAW;;;;;;;;;;4BAmBE,KAAK;6BAIJ,KAAK;0BAIP,KAAK;uBAIR,IAAI;4BAGT,KAAK;;IAQZ,mBAAmB;QACzB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,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I,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,aAAa,CAAQ,EACjF,+DACE,IAAI,EAAC,eAAe,EACpB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,EACT;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZButtonSort"],"sources":["src/components/z-button-sort/styles.css?tag=z-button-sort&encapsulation=shadow","src/components/z-button-sort/index.tsx"],"sourcesContent":["button {\n display: flex;\n max-width: 100%;\n height: 36px;\n align-items: center;\n padding: 0 var(--space-unit);\n border: var(--border-size-medium) solid var(--color-primary01);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n border-color: var(--color-hover-primary);\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary-icon);\n}\n\nbutton:focus {\n border-color: var(--color-primary01);\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-active-primary-icon);\n}\n\nbutton.selected {\n border-color: var(--color-hover-primary);\n background-color: var(--color-hover-primary);\n color: var(--color-text-inverse);\n fill: var(--color-inverse-icon);\n}\n\nbutton > span.ellipsis {\n overflow: hidden;\n padding: 0;\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbutton > span.counter {\n margin-right: calc(var(--space-unit) * 2);\n margin-left: calc(var(--space-unit) / 2);\n}\n\nbutton > span.sort {\n margin-right: calc(var(--space-unit) / 2);\n white-space: nowrap;\n}\n\nbutton > span {\n margin-right: calc(var(--space-unit) / 2);\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n button {\n max-width: 325px;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n button {\n max-width: 490px;\n }\n}\n","import {Component, Event, EventEmitter, Prop, State, h} from \"@stencil/core\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\n@Component({\n tag: \"z-button-sort\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZButtonSort {\n /** id, should be unique */\n @Prop()\n buttonid: string;\n\n /** label content (ascending) */\n @Prop()\n label: string;\n\n /** label content (descending) */\n @Prop()\n desclabel?: string;\n\n /** occurrences counter (optional) */\n @Prop()\n counter?: number;\n\n /** sort label content (ascending) (optional) */\n @Prop()\n sortlabelasc?: string = \"A-Z\";\n\n /** sort label content (descending) (optional) */\n @Prop()\n sortlabeldesc?: string = \"Z-A\";\n\n /** selected flag (optional) */\n @Prop({mutable: true})\n isselected?: boolean = false;\n\n /** sortable flag (optional) */\n @Prop({mutable: true})\n sortasc?: boolean = true;\n\n @State()\n allowTooltip = false;\n\n private ellipsis?: HTMLSpanElement;\n\n /** sorting direction click event, returns `buttonid` and `sortAsc` */\n @Event()\n buttonSortClick: EventEmitter;\n\n private emitButtonSortClick(): void {\n if (!this.isselected) {\n this.isselected = true;\n } else {\n this.sortasc = !this.sortasc;\n }\n this.buttonSortClick.emit({\n buttonid: this.buttonid,\n sortAsc: this.sortasc,\n });\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {\n this.allowTooltip = true;\n }\n }\n\n private setButtonTitle(): string {\n return this.allowTooltip ? `${this.sortasc ? this.label : this.desclabel}` : \"\";\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n title={this.setButtonTitle()}\n id={this.buttonid}\n class={{selected: this.isselected}}\n onClick={() => this.emitButtonSortClick()}\n >\n <span\n ref={(el) => (this.ellipsis = el as HTMLSpanElement)}\n class=\"ellipsis\"\n >\n {!this.sortasc && this.desclabel ? this.desclabel : this.label}\n </span>\n <span class=\"counter\">{this.counter && ` (${this.counter})`}</span>\n <span class=\"sort\">{this.sortasc ? this.sortlabelasc : this.sortlabeldesc}</span>\n <z-icon\n name=\"caret-up-down\"\n width={16}\n height={16}\n />\n </button>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
import{Z as
|
|
1
|
+
import { Z as ZButton$1, d as defineCustomElement$1 } from './index5.js';
|
|
2
|
+
|
|
3
|
+
const ZButton = ZButton$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { ZButton, defineCustomElement };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=z-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-button.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1 +1,83 @@
|
|
|
1
|
-
import{proxyCustomElement
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { C as CardVariant } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './index10.js';
|
|
4
|
+
|
|
5
|
+
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"title\"])::before{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:\"\"}::slotted([slot=\"metadata\"]){width:100%;-webkit-line-clamp:1;line-clamp:1;text-transform:uppercase}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25)}::slotted([slot=\"title\"]){margin:0;font-size:var(--font-size-3);font-weight:var(--font-sb);-webkit-line-clamp:2;line-clamp:2;text-decoration:none}::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);outline:none}::slotted([slot=\"text\"]){width:100%;margin:0;-webkit-line-clamp:3;line-clamp:3}.actions{display:flex;align-items:center}:host(:not([variant=\"overlay\"])) .actions{margin-top:auto}::slotted([slot=\"action\"]){position:relative;z-index:2}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 2)}::slotted([slot=\"action\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);outline:none !important}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:none !important;outline:none !important}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible)::before{box-shadow:var(--shadow-focus-primary)}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([variant=\"text\"]) [slot=\"text\"]::before{border-radius:var(--z-card--text-border-radius)}:host([show-shadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:var(--z-card--text-padding)}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([show-shadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][show-shadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][show-shadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][show-shadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
6
|
+
const ZCardStyle0 = stylesCss;
|
|
7
|
+
|
|
8
|
+
const ZCard$1 = /*@__PURE__*/ proxyCustomElement(class ZCard extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.variant = undefined;
|
|
14
|
+
this.coverIcon = undefined;
|
|
15
|
+
this.showShadow = false;
|
|
16
|
+
this.clickable = false;
|
|
17
|
+
this.hasCoverImage = undefined;
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Template for a card without image cover.
|
|
24
|
+
* A colored background replaces the image and some data is moved over it.
|
|
25
|
+
*/
|
|
26
|
+
renderColorCoverCard() {
|
|
27
|
+
return [
|
|
28
|
+
h("div", { class: "cover-container" }, h("div", { class: "color-cover" }, h("div", { class: "cover-content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" })))),
|
|
29
|
+
h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))),
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Template for the content.
|
|
34
|
+
*/
|
|
35
|
+
renderContent() {
|
|
36
|
+
return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
if (this.variant === CardVariant.TEXT) {
|
|
40
|
+
return h(Host, null, this.renderContent());
|
|
41
|
+
}
|
|
42
|
+
if (this.variant === CardVariant.OVERLAY || this.hasCoverImage) {
|
|
43
|
+
return (h(Host, null, h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
44
|
+
h("slot", { name: "cover" }),
|
|
45
|
+
this.variant !== CardVariant.OVERLAY && this.coverIcon && h("z-icon", { name: this.coverIcon }),
|
|
46
|
+
], !this.hasCoverImage && h("div", { class: "color-cover" })), this.renderContent()));
|
|
47
|
+
}
|
|
48
|
+
return h(Host, null, this.renderColorCoverCard());
|
|
49
|
+
}
|
|
50
|
+
get host() { return this; }
|
|
51
|
+
static get style() { return ZCardStyle0; }
|
|
52
|
+
}, [1, "z-card", {
|
|
53
|
+
"variant": [513],
|
|
54
|
+
"coverIcon": [1, "cover-icon"],
|
|
55
|
+
"showShadow": [516, "show-shadow"],
|
|
56
|
+
"clickable": [516],
|
|
57
|
+
"hasCoverImage": [32]
|
|
58
|
+
}]);
|
|
59
|
+
function defineCustomElement$1() {
|
|
60
|
+
if (typeof customElements === "undefined") {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const components = ["z-card", "z-icon"];
|
|
64
|
+
components.forEach(tagName => { switch (tagName) {
|
|
65
|
+
case "z-card":
|
|
66
|
+
if (!customElements.get(tagName)) {
|
|
67
|
+
customElements.define(tagName, ZCard$1);
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
case "z-icon":
|
|
71
|
+
if (!customElements.get(tagName)) {
|
|
72
|
+
defineCustomElement$2();
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
} });
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const ZCard = ZCard$1;
|
|
79
|
+
const defineCustomElement = defineCustomElement$1;
|
|
80
|
+
|
|
81
|
+
export { ZCard, defineCustomElement };
|
|
82
|
+
|
|
83
|
+
//# sourceMappingURL=z-card.js.map
|