@zanichelli/albe-web-components 19.2.3-RC1 → 19.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/_commonjsHelpers-68cdf74f.js +7 -0
- package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{breakpoints-B7vFm-3T.js → breakpoints-8a1e87e0.js} +2 -0
- package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
- package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-5d47610c.js} +4 -3
- package/dist/cjs/iconset-5d47610c.js.map +1 -0
- package/dist/cjs/index-012853a0.js +21 -0
- package/dist/cjs/index-012853a0.js.map +1 -0
- package/dist/cjs/index-1d7a50cc.js +67 -0
- package/dist/cjs/index-1d7a50cc.js.map +1 -0
- package/dist/cjs/index-2dff20f5.js +20 -0
- package/dist/cjs/index-2dff20f5.js.map +1 -0
- package/dist/cjs/index-86a8a3a4.js +23 -0
- package/dist/cjs/index-86a8a3a4.js.map +1 -0
- package/dist/cjs/index-96af6326.js +2324 -0
- package/dist/cjs/index-96af6326.js.map +1 -0
- package/dist/cjs/index-c38e5b9e.js +73 -0
- package/dist/cjs/index-c38e5b9e.js.map +1 -0
- package/dist/cjs/index-cb280932.js +47 -0
- package/dist/cjs/index-cb280932.js.map +1 -0
- package/dist/cjs/{index-wGaSHN1_.js → index-e30d0503.js} +2 -0
- package/dist/cjs/index-e30d0503.js.map +1 -0
- package/dist/cjs/index.cjs.js +224 -112
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +8 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{utils-C5_wGVkJ.js → utils-4f7b4830.js} +73 -81
- package/dist/cjs/utils-4f7b4830.js.map +1 -0
- package/dist/cjs/{utils-Ctc6JP2n.js → utils-b1859d65.js} +4 -2
- package/dist/cjs/utils-b1859d65.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +10 -7
- package/dist/cjs/web-components-library.cjs.js.map +1 -0
- package/dist/cjs/z-accordion.cjs.entry.js +13 -26
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/z-alert.cjs.entry.js +10 -4
- package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +10 -25
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +22 -53
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +150 -261
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +7 -4
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-avatar.cjs.entry.js +13 -9
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-app.cjs.entry.js +18 -10
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +24 -10
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card.cjs.entry.js +23 -11
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-cover.cjs.entry.js +11 -6
- package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +19 -24
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +14 -9
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
- package/dist/cjs/z-card.cjs.entry.js +12 -9
- package/dist/cjs/z-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-carousel.cjs.entry.js +29 -49
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/z-chip.cjs.entry.js +13 -9
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-color-picker.cjs.entry.js +18 -24
- package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-combobox.cjs.entry.js +26 -27
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +11 -18
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +330 -351
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +22 -18
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -21
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file.cjs.entry.js +13 -6
- package/dist/cjs/z-file.cjs.entry.js.map +1 -0
- package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -4
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-box.cjs.entry.js +10 -5
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-reveal.cjs.entry.js +13 -20
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
- package/dist/cjs/z-logo.cjs.entry.js +15 -4
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +14 -23
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +13 -10
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +16 -15
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu.cjs.entry.js +17 -27
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +14 -5
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +12 -9
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +9 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +15 -7
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +10 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-info.cjs.entry.js +13 -8
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js +10 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +31 -16
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list-item.cjs.entry.js +17 -9
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list.cjs.entry.js +12 -7
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +18 -28
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/z-notification.cjs.entry.js +13 -10
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-otp.cjs.entry.js +14 -10
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
- package/dist/cjs/z-pagination.cjs.entry.js +18 -28
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/z-panel-elem.cjs.entry.js +17 -7
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
- package/dist/cjs/z-popover.cjs.entry.js +19 -35
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-range-picker.cjs.entry.js +31 -38
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-result-card.cjs.entry.js +16 -7
- package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-section-title.cjs.entry.js +10 -12
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
- package/dist/cjs/z-select.cjs.entry.js +25 -21
- package/dist/cjs/z-select.cjs.entry.js.map +1 -0
- package/dist/cjs/z-skip-to-content.cjs.entry.js +13 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +16 -12
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +14 -4
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper.cjs.entry.js +9 -4
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/z-table.cjs.entry.js +18 -19
- package/dist/cjs/z-table.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tbody.cjs.entry.js +7 -12
- package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
- package/dist/cjs/z-td.cjs.entry.js +8 -54
- package/dist/cjs/z-td.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +7 -16
- package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
- package/dist/cjs/z-th.cjs.entry.js +8 -81
- package/dist/cjs/z-th.cjs.entry.js.map +1 -0
- package/dist/cjs/z-thead.cjs.entry.js +7 -21
- package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +12 -11
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +3957 -3936
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-button.cjs.entry.js +12 -8
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-switch.cjs.entry.js +14 -13
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tool.cjs.entry.js +29 -28
- package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toolbar.cjs.entry.js +12 -7
- package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +11 -15
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tr.cjs.entry.js +12 -80
- package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tree-list.cjs.entry.js +14 -10
- package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +9 -4
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
- package/dist/collection/__mocks__/fileMock.js +1 -0
- package/dist/collection/__mocks__/fileMock.js.map +1 -0
- package/dist/collection/beans/index.js +1 -0
- package/dist/collection/beans/index.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/book-card/z-book-card/index.js +34 -55
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js +1 -0
- package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +15 -23
- package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +1 -0
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-label/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-label/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +1 -0
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/utils.js +1 -0
- package/dist/collection/components/date-picker/utils.js.map +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +35 -61
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +1 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +34 -61
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +23 -70
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +40 -57
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +12 -31
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +10 -11
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.js +5 -16
- package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +6 -7
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file/index.js +8 -9
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js +1 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +37 -80
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
- package/dist/collection/components/index.js +1 -0
- package/dist/collection/components/index.js.map +1 -0
- package/dist/collection/components/list/z-list/index.js +7 -23
- package/dist/collection/components/list/z-list/index.js.map +1 -0
- package/dist/collection/components/list/z-list/index.stories.js +1 -0
- package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.js +38 -113
- package/dist/collection/components/list/z-list-element/index.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.stories.js +1 -0
- package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.js +16 -50
- package/dist/collection/components/list/z-list-group/index.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.stories.js +1 -0
- package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.js +11 -16
- package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js +1 -0
- package/dist/collection/components/list/z-tree-list/index.stories.js.map +1 -0
- package/dist/collection/components/table/cells/z-td/index.js +10 -32
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-th/index.js +17 -54
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
- package/dist/collection/components/table/z-table/index.js +3 -10
- package/dist/collection/components/table/z-table/index.js.map +1 -0
- package/dist/collection/components/table/z-table/index.stories.js +1 -0
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
- package/dist/collection/components/table/z-tbody/index.js +2 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -0
- package/dist/collection/components/table/z-tfoot/index.js +3 -7
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
- package/dist/collection/components/table/z-thead/index.js +4 -13
- package/dist/collection/components/table/z-thead/index.js.map +1 -0
- package/dist/collection/components/table/z-tr/index.js +5 -17
- package/dist/collection/components/table/z-tr/index.js.map +1 -0
- package/dist/collection/components/z-accordion/index.js +16 -49
- package/dist/collection/components/z-accordion/index.js.map +1 -0
- package/dist/collection/components/z-accordion/index.stories.js +1 -0
- package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/index.js +6 -33
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js +1 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
- package/dist/collection/components/z-app-header/index.js +20 -58
- package/dist/collection/components/z-app-header/index.js.map +1 -0
- package/dist/collection/components/z-app-header/index.stories.js +1 -0
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.js +4 -7
- package/dist/collection/components/z-aria-alert/index.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.stories.js +1 -0
- package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
- package/dist/collection/components/z-avatar/index.js +13 -24
- package/dist/collection/components/z-avatar/index.js.map +1 -0
- package/dist/collection/components/z-avatar/index.stories.js +1 -0
- package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
- package/dist/collection/components/z-book-cover/index.js +10 -17
- package/dist/collection/components/z-book-cover/index.js.map +1 -0
- package/dist/collection/components/z-book-cover/index.stories.js +1 -0
- package/dist/collection/components/z-book-cover/index.stories.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.js +17 -37
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js +1 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
- package/dist/collection/components/z-button/index.js +35 -74
- package/dist/collection/components/z-button/index.js.map +1 -0
- package/dist/collection/components/z-button/index.stories.js +1 -0
- package/dist/collection/components/z-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.js +18 -33
- package/dist/collection/components/z-button-sort/index.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
- package/dist/collection/components/z-card/index.js +11 -21
- package/dist/collection/components/z-card/index.js.map +1 -0
- package/dist/collection/components/z-card/index.stories.js +1 -0
- package/dist/collection/components/z-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-carousel/index.js +35 -69
- package/dist/collection/components/z-carousel/index.js.map +1 -0
- package/dist/collection/components/z-carousel/index.stories.js +3 -2
- package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
- package/dist/collection/components/z-chip/index.js +13 -24
- package/dist/collection/components/z-chip/index.js.map +1 -0
- package/dist/collection/components/z-chip/index.stories.js +1 -0
- package/dist/collection/components/z-chip/index.stories.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.js +17 -31
- package/dist/collection/components/z-color-picker/index.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.stories.js +1 -0
- package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
- package/dist/collection/components/z-combobox/index.js +41 -80
- package/dist/collection/components/z-combobox/index.js.map +1 -0
- package/dist/collection/components/z-combobox/index.stories.js +1 -0
- package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.js +8 -27
- package/dist/collection/components/z-cover-hero/index.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.stories.js +1 -0
- package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
- package/dist/collection/components/z-divider/index.js +7 -17
- package/dist/collection/components/z-divider/index.js.map +1 -0
- package/dist/collection/components/z-divider/index.stories.js +1 -0
- package/dist/collection/components/z-divider/index.stories.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.js +2 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js +1 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
- package/dist/collection/components/z-icon/index.js +22 -25
- package/dist/collection/components/z-icon/index.js.map +1 -0
- package/dist/collection/components/z-icon/index.stories.js +1 -0
- package/dist/collection/components/z-icon/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-box/index.js +6 -9
- package/dist/collection/components/z-info-box/index.js.map +1 -0
- package/dist/collection/components/z-info-box/index.stories.js +1 -0
- package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.js +11 -30
- package/dist/collection/components/z-info-reveal/index.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.stories.js +1 -0
- package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/index.js +74 -131
- package/dist/collection/components/z-input/index.js.map +1 -0
- package/dist/collection/components/z-input/index.stories.js +1 -0
- package/dist/collection/components/z-input/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/styles.css +5 -3
- package/dist/collection/components/z-input-message/index.js +12 -15
- package/dist/collection/components/z-input-message/index.js.map +1 -0
- package/dist/collection/components/z-input-message/index.stories.js +1 -0
- package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/index.js +22 -25
- package/dist/collection/components/z-logo/index.js.map +1 -0
- package/dist/collection/components/z-logo/index.stories.js +1 -0
- package/dist/collection/components/z-logo/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu/index.js +12 -32
- package/dist/collection/components/z-menu/index.js.map +1 -0
- package/dist/collection/components/z-menu/index.stories.js +1 -0
- package/dist/collection/components/z-menu/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.js +12 -17
- package/dist/collection/components/z-menu-section/index.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
- package/dist/collection/components/z-modal/index.js +19 -36
- package/dist/collection/components/z-modal/index.js.map +1 -0
- package/dist/collection/components/z-modal/index.stories.js +1 -0
- package/dist/collection/components/z-modal/index.stories.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.js +15 -35
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/index.js +35 -30
- package/dist/collection/components/z-notification/index.js.map +1 -0
- package/dist/collection/components/z-notification/index.stories.js +32 -5
- package/dist/collection/components/z-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/styles.css +18 -7
- package/dist/collection/components/z-offcanvas/index.js +12 -42
- package/dist/collection/components/z-offcanvas/index.js.map +1 -0
- package/dist/collection/components/z-offcanvas/index.stories.js +1 -0
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
- package/dist/collection/components/z-pagination/index.js +21 -45
- package/dist/collection/components/z-pagination/index.js.map +1 -0
- package/dist/collection/components/z-pagination/index.stories.js +1 -0
- package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.js +26 -38
- package/dist/collection/components/z-panel-elem/index.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
- package/dist/collection/components/z-popover/index.js +16 -44
- package/dist/collection/components/z-popover/index.js.map +1 -0
- package/dist/collection/components/z-popover/index.stories.js +1 -0
- package/dist/collection/components/z-popover/index.stories.js.map +1 -0
- package/dist/collection/components/z-result-card/index.js +23 -34
- package/dist/collection/components/z-result-card/index.js.map +1 -0
- package/dist/collection/components/z-result-card/z-result-card.stories.js +1 -0
- package/dist/collection/components/z-result-card/z-result-card.stories.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.js +40 -80
- package/dist/collection/components/z-searchbar/index.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-select/index.js +47 -87
- package/dist/collection/components/z-select/index.js.map +1 -0
- package/dist/collection/components/z-select/index.stories.js +1 -0
- package/dist/collection/components/z-select/index.stories.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.js +8 -13
- package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js +1 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper/index.js +2 -1
- package/dist/collection/components/z-stepper/index.js.map +1 -0
- package/dist/collection/components/z-stepper/index.stories.js +1 -0
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.js +19 -21
- package/dist/collection/components/z-stepper-item/index.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
- package/dist/collection/components/z-tag/index.js +14 -11
- package/dist/collection/components/z-tag/index.js.map +1 -0
- package/dist/collection/components/z-tag/index.stories.js +1 -0
- package/dist/collection/components/z-tag/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.js +34 -52
- package/dist/collection/components/z-toast-notification/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.js +6 -12
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.js +12 -22
- package/dist/collection/components/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.js +9 -21
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
- package/dist/collection/components/z-tool/index.js +31 -49
- package/dist/collection/components/z-tool/index.js.map +1 -0
- package/dist/collection/components/z-tool/index.stories.js +1 -0
- package/dist/collection/components/z-tool/index.stories.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.js +6 -7
- package/dist/collection/components/z-toolbar/index.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.stories.js +1 -0
- package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.js +10 -29
- package/dist/collection/components/z-tooltip/index.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.js +2 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js +1 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
- package/dist/collection/constants/breakpoints.js +1 -0
- package/dist/collection/constants/breakpoints.js.map +1 -0
- package/dist/collection/constants/icons.js +1 -0
- package/dist/collection/constants/icons.js.map +1 -0
- package/dist/collection/constants/iconset.js +1 -0
- package/dist/collection/constants/iconset.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +11 -19
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +16 -17
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +16 -17
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +12 -25
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +20 -31
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +12 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +7 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +7 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +19 -29
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +8 -7
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +12 -19
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +9 -11
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
- package/dist/collection/utils/storybook-utils.js +1 -0
- package/dist/collection/utils/storybook-utils.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +5 -1
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/breakpoints.js +11 -1
- package/dist/components/breakpoints.js.map +1 -0
- package/dist/components/iconset.js +1013 -1
- package/dist/components/iconset.js.map +1 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +98 -1
- package/dist/components/index.js.map +1 -0
- package/dist/components/index10.js +60 -1
- package/dist/components/index10.js.map +1 -0
- package/dist/components/index11.js +92 -1
- package/dist/components/index11.js.map +1 -0
- package/dist/components/index12.js +342 -1
- package/dist/components/index12.js.map +1 -0
- package/dist/components/index13.js +66 -1
- package/dist/components/index13.js.map +1 -0
- package/dist/components/index14.js +53 -1
- package/dist/components/index14.js.map +1 -0
- package/dist/components/index15.js +181 -1
- package/dist/components/index15.js.map +1 -0
- package/dist/components/index16.js +76 -1
- package/dist/components/index16.js.map +1 -0
- package/dist/components/index17.js +1040 -1
- package/dist/components/index17.js.map +1 -0
- package/dist/components/index18.js +65 -1
- package/dist/components/index18.js.map +1 -0
- package/dist/components/index19.js +33 -1
- package/dist/components/index19.js.map +1 -0
- package/dist/components/index2.js +407 -1
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index20.js +45 -1
- package/dist/components/index20.js.map +1 -0
- package/dist/components/index21.js +62 -1
- package/dist/components/index21.js.map +1 -0
- package/dist/components/index22.js +66 -1
- package/dist/components/index22.js.map +1 -0
- package/dist/components/index23.js +179 -1
- package/dist/components/index23.js.map +1 -0
- package/dist/components/index24.js +549 -1
- package/dist/components/index24.js.map +1 -0
- package/dist/components/index25.js +409 -1
- package/dist/components/index25.js.map +1 -0
- package/dist/components/index26.js +49 -1
- package/dist/components/index26.js.map +1 -0
- package/dist/components/index27.js +55 -1
- package/dist/components/index27.js.map +1 -0
- package/dist/components/index3.js +36 -1
- package/dist/components/index3.js.map +1 -0
- package/dist/components/index4.js +45 -1
- package/dist/components/index4.js.map +1 -0
- package/dist/components/index5.js +82 -1
- package/dist/components/index5.js.map +1 -0
- package/dist/components/index6.js +56 -1
- package/dist/components/index6.js.map +1 -0
- package/dist/components/index7.js +40 -1
- package/dist/components/index7.js.map +1 -0
- package/dist/components/index8.js +63 -1
- package/dist/components/index8.js.map +1 -0
- package/dist/components/index9.js +33 -1
- package/dist/components/index9.js.map +1 -0
- package/dist/components/utils.js +246 -1
- package/dist/components/utils.js.map +1 -0
- package/dist/components/utils2.js +2704 -1
- package/dist/components/utils2.js.map +1 -0
- package/dist/components/z-accordion.js +95 -1
- package/dist/components/z-accordion.js.map +1 -0
- package/dist/components/z-alert.js +8 -1
- package/dist/components/z-alert.js.map +1 -0
- package/dist/components/z-anchor-navigation.js +87 -1
- package/dist/components/z-anchor-navigation.js.map +1 -0
- package/dist/components/z-app-header-deprecated.js +255 -1
- package/dist/components/z-app-header-deprecated.js.map +1 -0
- package/dist/components/z-app-header.js +367 -1
- package/dist/components/z-app-header.js.map +1 -0
- package/dist/components/z-aria-alert.js +35 -1
- package/dist/components/z-aria-alert.js.map +1 -0
- package/dist/components/z-avatar.js +66 -1
- package/dist/components/z-avatar.js.map +1 -0
- package/dist/components/z-book-card-app.js +77 -1
- package/dist/components/z-book-card-app.js.map +1 -0
- package/dist/components/z-book-card-deprecated.js +175 -1
- package/dist/components/z-book-card-deprecated.js.map +1 -0
- package/dist/components/z-book-card.js +149 -1
- package/dist/components/z-book-card.js.map +1 -0
- package/dist/components/z-book-cover.js +8 -1
- package/dist/components/z-book-cover.js.map +1 -0
- package/dist/components/z-breadcrumb.js +290 -1
- package/dist/components/z-breadcrumb.js.map +1 -0
- package/dist/components/z-button-sort.js +86 -1
- package/dist/components/z-button-sort.js.map +1 -0
- package/dist/components/z-button.js +8 -1
- package/dist/components/z-button.js.map +1 -0
- package/dist/components/z-card.js +83 -1
- package/dist/components/z-card.js.map +1 -0
- package/dist/components/z-carousel.js +234 -1
- package/dist/components/z-carousel.js.map +1 -0
- package/dist/components/z-chip.js +8 -1
- package/dist/components/z-chip.js.map +1 -0
- package/dist/components/z-color-picker.js +234 -1
- package/dist/components/z-color-picker.js.map +1 -0
- package/dist/components/z-combobox.js +393 -1
- package/dist/components/z-combobox.js.map +1 -0
- package/dist/components/z-cover-hero.js +66 -1
- package/dist/components/z-cover-hero.js.map +1 -0
- package/dist/components/z-date-picker.js +528 -16
- package/dist/components/z-date-picker.js.map +1 -0
- package/dist/components/z-divider.js +8 -1
- package/dist/components/z-divider.js.map +1 -0
- package/dist/components/z-dragdrop-area.js +8 -1
- package/dist/components/z-dragdrop-area.js.map +1 -0
- package/dist/components/z-file-upload.js +253 -1
- package/dist/components/z-file-upload.js.map +1 -0
- package/dist/components/z-file.js +89 -1
- package/dist/components/z-file.js.map +1 -0
- package/dist/components/z-ghost-loading.js +8 -1
- package/dist/components/z-ghost-loading.js.map +1 -0
- package/dist/components/z-icon.js +8 -1
- package/dist/components/z-icon.js.map +1 -0
- package/dist/components/z-info-box.js +51 -1
- package/dist/components/z-info-box.js.map +1 -0
- package/dist/components/z-info-reveal.js +8 -1
- package/dist/components/z-info-reveal.js.map +1 -0
- package/dist/components/z-input-message.js +8 -1
- package/dist/components/z-input-message.js.map +1 -0
- package/dist/components/z-input.js +8 -1
- package/dist/components/z-input.js.map +1 -0
- package/dist/components/z-list-element.js +8 -1
- package/dist/components/z-list-element.js.map +1 -0
- package/dist/components/z-list-group.js +8 -1
- package/dist/components/z-list-group.js.map +1 -0
- package/dist/components/z-list.js +8 -1
- package/dist/components/z-list.js.map +1 -0
- package/dist/components/z-logo.js +56 -1
- package/dist/components/z-logo.js.map +1 -0
- package/dist/components/z-menu-deprecated.js +144 -1
- package/dist/components/z-menu-deprecated.js.map +1 -0
- package/dist/components/z-menu-section-deprecated.js +84 -1
- package/dist/components/z-menu-section-deprecated.js.map +1 -0
- package/dist/components/z-menu-section.js +226 -1
- package/dist/components/z-menu-section.js.map +1 -0
- package/dist/components/z-menu.js +353 -1
- package/dist/components/z-menu.js.map +1 -0
- package/dist/components/z-modal.js +8 -1
- package/dist/components/z-modal.js.map +1 -0
- package/dist/components/z-myz-card-alert.js +101 -1
- package/dist/components/z-myz-card-alert.js.map +1 -0
- package/dist/components/z-myz-card-body.js +8 -1
- package/dist/components/z-myz-card-body.js.map +1 -0
- package/dist/components/z-myz-card-cover.js +8 -1
- package/dist/components/z-myz-card-cover.js.map +1 -0
- package/dist/components/z-myz-card-dictionary.js +94 -1
- package/dist/components/z-myz-card-dictionary.js.map +1 -0
- package/dist/components/z-myz-card-footer-sections.js +36 -1
- package/dist/components/z-myz-card-footer-sections.js.map +1 -0
- package/dist/components/z-myz-card-footer.js +99 -1
- package/dist/components/z-myz-card-footer.js.map +1 -0
- package/dist/components/z-myz-card-header.js +8 -1
- package/dist/components/z-myz-card-header.js.map +1 -0
- package/dist/components/z-myz-card-icon.js +49 -1
- package/dist/components/z-myz-card-icon.js.map +1 -0
- package/dist/components/z-myz-card-info.js +162 -1
- package/dist/components/z-myz-card-info.js.map +1 -0
- package/dist/components/z-myz-card-list.js +58 -1
- package/dist/components/z-myz-card-list.js.map +1 -0
- package/dist/components/z-myz-card.js +8 -1
- package/dist/components/z-myz-card.js.map +1 -0
- package/dist/components/z-myz-list-item.js +8 -1
- package/dist/components/z-myz-list-item.js.map +1 -0
- package/dist/components/z-myz-list.js +71 -1
- package/dist/components/z-myz-list.js.map +1 -0
- package/dist/components/z-navigation-tabs.js +272 -1
- package/dist/components/z-navigation-tabs.js.map +1 -0
- package/dist/components/z-notification.js +70 -1
- package/dist/components/z-notification.js.map +1 -0
- package/dist/components/z-offcanvas.js +8 -1
- package/dist/components/z-offcanvas.js.map +1 -0
- package/dist/components/z-otp.js +75 -1
- package/dist/components/z-otp.js.map +1 -0
- package/dist/components/z-pagination.js +283 -1
- package/dist/components/z-pagination.js.map +1 -0
- package/dist/components/z-panel-elem.js +66 -1
- package/dist/components/z-panel-elem.js.map +1 -0
- package/dist/components/z-popover.js +8 -1
- package/dist/components/z-popover.js.map +1 -0
- package/dist/components/z-range-picker.js +413 -1
- package/dist/components/z-range-picker.js.map +1 -0
- package/dist/components/z-result-card.js +121 -1
- package/dist/components/z-result-card.js.map +1 -0
- package/dist/components/z-searchbar.js +8 -1
- package/dist/components/z-searchbar.js.map +1 -0
- package/dist/components/z-section-title.js +52 -1
- package/dist/components/z-section-title.js.map +1 -0
- package/dist/components/z-select.js +585 -1
- package/dist/components/z-select.js.map +1 -0
- package/dist/components/z-skip-to-content.js +93 -1
- package/dist/components/z-skip-to-content.js.map +1 -0
- package/dist/components/z-slideshow.js +161 -1
- package/dist/components/z-slideshow.js.map +1 -0
- package/dist/components/z-stepper-item.js +60 -1
- package/dist/components/z-stepper-item.js.map +1 -0
- package/dist/components/z-stepper.js +36 -1
- package/dist/components/z-stepper.js.map +1 -0
- package/dist/components/z-table.js +68 -1
- package/dist/components/z-table.js.map +1 -0
- package/dist/components/z-tag.js +8 -1
- package/dist/components/z-tag.js.map +1 -0
- package/dist/components/z-tbody.js +36 -1
- package/dist/components/z-tbody.js.map +1 -0
- package/dist/components/z-td.js +89 -1
- package/dist/components/z-td.js.map +1 -0
- package/dist/components/z-tfoot.js +39 -1
- package/dist/components/z-tfoot.js.map +1 -0
- package/dist/components/z-th.js +112 -1
- package/dist/components/z-th.js.map +1 -0
- package/dist/components/z-thead.js +42 -1
- package/dist/components/z-thead.js.map +1 -0
- package/dist/components/z-toast-notification-list.js +79 -1
- package/dist/components/z-toast-notification-list.js.map +1 -0
- package/dist/components/z-toast-notification.js +4228 -2
- package/dist/components/z-toast-notification.js.map +1 -0
- package/dist/components/z-toggle-button.js +64 -1
- package/dist/components/z-toggle-button.js.map +1 -0
- package/dist/components/z-toggle-switch.js +73 -1
- package/dist/components/z-toggle-switch.js.map +1 -0
- package/dist/components/z-tool.js +260 -1
- package/dist/components/z-tool.js.map +1 -0
- package/dist/components/z-toolbar.js +165 -1
- package/dist/components/z-toolbar.js.map +1 -0
- package/dist/components/z-tooltip.js +8 -1
- package/dist/components/z-tooltip.js.map +1 -0
- package/dist/components/z-tr.js +101 -1
- package/dist/components/z-tr.js.map +1 -0
- package/dist/components/z-tree-list.js +162 -1
- package/dist/components/z-tree-list.js.map +1 -0
- package/dist/components/z-visually-hidden.js +36 -1
- package/dist/components/z-visually-hidden.js.map +1 -0
- package/dist/docs/grid/index.stories.js +54 -0
- package/dist/docs/grid/index.stories.js.map +1 -0
- package/dist/docs/iconset/index.stories.js +32 -0
- package/dist/docs/iconset/index.stories.js.map +1 -0
- package/dist/docs/themes/index.stories.js +108 -0
- package/dist/docs/themes/index.stories.js.map +1 -0
- package/dist/docs/typography/index.stories.js +186 -0
- package/dist/docs/typography/index.stories.js.map +1 -0
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +5 -0
- package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/{breakpoints-Q-tWjk7P.js → breakpoints-d148bfde.js} +2 -0
- package/dist/esm/breakpoints-d148bfde.js.map +1 -0
- package/dist/esm/{iconset-BanpkIXZ.js → iconset-d7823b13.js} +4 -3
- package/dist/esm/iconset-d7823b13.js.map +1 -0
- package/dist/esm/index-09bfb4ee.js +18 -0
- package/dist/esm/index-09bfb4ee.js.map +1 -0
- package/dist/esm/{index-BKCj6NR2.js → index-106473a8.js} +2 -0
- package/dist/esm/index-106473a8.js.map +1 -0
- package/dist/esm/index-3856a6ca.js +19 -0
- package/dist/esm/index-3856a6ca.js.map +1 -0
- package/dist/esm/index-455c0a68.js +21 -0
- package/dist/esm/index-455c0a68.js.map +1 -0
- package/dist/esm/index-6c43bc70.js +65 -0
- package/dist/esm/index-6c43bc70.js.map +1 -0
- package/dist/esm/index-a0b957e0.js +71 -0
- package/dist/esm/index-a0b957e0.js.map +1 -0
- package/dist/esm/index-c8ceadeb.js +2293 -0
- package/dist/esm/index-c8ceadeb.js.map +1 -0
- package/dist/esm/index-f8517155.js +45 -0
- package/dist/esm/index-f8517155.js.map +1 -0
- package/dist/esm/index.js +6 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/{utils-0PByxJyN.js → utils-8d6ca808.js} +5 -3
- package/dist/esm/utils-8d6ca808.js.map +1 -0
- package/dist/esm/{utils-DuuLzXZj.js → utils-93ac0e6c.js} +73 -81
- package/dist/esm/utils-93ac0e6c.js.map +1 -0
- package/dist/esm/web-components-library.js +7 -5
- package/dist/esm/web-components-library.js.map +1 -0
- package/dist/esm/z-accordion.entry.js +11 -26
- package/dist/esm/z-accordion.entry.js.map +1 -0
- package/dist/esm/z-alert.entry.js +8 -4
- package/dist/esm/z-alert.entry.js.map +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +8 -25
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
- package/dist/esm/z-app-header-deprecated.entry.js +20 -53
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm/z-app-header_12.entry.js +148 -261
- package/dist/esm/z-app-header_12.entry.js.map +1 -0
- package/dist/esm/z-aria-alert.entry.js +5 -4
- package/dist/esm/z-aria-alert.entry.js.map +1 -0
- package/dist/esm/z-avatar.entry.js +11 -9
- package/dist/esm/z-avatar.entry.js.map +1 -0
- package/dist/esm/z-book-card-app.entry.js +16 -10
- package/dist/esm/z-book-card-app.entry.js.map +1 -0
- package/dist/esm/z-book-card-deprecated.entry.js +22 -10
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm/z-book-card.entry.js +21 -11
- package/dist/esm/z-book-card.entry.js.map +1 -0
- package/dist/esm/z-book-cover.entry.js +9 -6
- package/dist/esm/z-book-cover.entry.js.map +1 -0
- package/dist/esm/z-breadcrumb.entry.js +17 -24
- package/dist/esm/z-breadcrumb.entry.js.map +1 -0
- package/dist/esm/z-button-sort.entry.js +12 -9
- package/dist/esm/z-button-sort.entry.js.map +1 -0
- package/dist/esm/z-card.entry.js +10 -9
- package/dist/esm/z-card.entry.js.map +1 -0
- package/dist/esm/z-carousel.entry.js +28 -50
- package/dist/esm/z-carousel.entry.js.map +1 -0
- package/dist/esm/z-chip.entry.js +11 -9
- package/dist/esm/z-chip.entry.js.map +1 -0
- package/dist/esm/z-color-picker.entry.js +16 -24
- package/dist/esm/z-color-picker.entry.js.map +1 -0
- package/dist/esm/z-combobox.entry.js +24 -27
- package/dist/esm/z-combobox.entry.js.map +1 -0
- package/dist/esm/z-cover-hero.entry.js +9 -18
- package/dist/esm/z-cover-hero.entry.js.map +1 -0
- package/dist/esm/z-date-picker.entry.js +329 -352
- package/dist/esm/z-date-picker.entry.js.map +1 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +20 -18
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
- package/dist/esm/z-file-upload.entry.js +16 -21
- package/dist/esm/z-file-upload.entry.js.map +1 -0
- package/dist/esm/z-file.entry.js +11 -6
- package/dist/esm/z-file.entry.js.map +1 -0
- package/dist/esm/z-ghost-loading.entry.js +7 -4
- package/dist/esm/z-ghost-loading.entry.js.map +1 -0
- package/dist/esm/z-info-box.entry.js +8 -5
- package/dist/esm/z-info-box.entry.js.map +1 -0
- package/dist/esm/z-info-reveal.entry.js +11 -20
- package/dist/esm/z-info-reveal.entry.js.map +1 -0
- package/dist/esm/z-logo.entry.js +13 -4
- package/dist/esm/z-logo.entry.js.map +1 -0
- package/dist/esm/z-menu-deprecated.entry.js +12 -23
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section-deprecated.entry.js +11 -10
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section.entry.js +14 -15
- package/dist/esm/z-menu-section.entry.js.map +1 -0
- package/dist/esm/z-menu.entry.js +15 -27
- package/dist/esm/z-menu.entry.js.map +1 -0
- package/dist/esm/z-myz-card-alert.entry.js +12 -5
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
- package/dist/esm/z-myz-card-dictionary.entry.js +10 -9
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js +7 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer.entry.js +13 -7
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
- package/dist/esm/z-myz-card-icon.entry.js +8 -6
- package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
- package/dist/esm/z-myz-card-info.entry.js +11 -8
- package/dist/esm/z-myz-card-info.entry.js.map +1 -0
- package/dist/esm/z-myz-card-list.entry.js +8 -4
- package/dist/esm/z-myz-card-list.entry.js.map +1 -0
- package/dist/esm/z-myz-card_4.entry.js +29 -16
- package/dist/esm/z-myz-card_4.entry.js.map +1 -0
- package/dist/esm/z-myz-list-item.entry.js +15 -9
- package/dist/esm/z-myz-list-item.entry.js.map +1 -0
- package/dist/esm/z-myz-list.entry.js +10 -7
- package/dist/esm/z-myz-list.entry.js.map +1 -0
- package/dist/esm/z-navigation-tabs.entry.js +16 -28
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
- package/dist/esm/z-notification.entry.js +11 -10
- package/dist/esm/z-notification.entry.js.map +1 -0
- package/dist/esm/z-otp.entry.js +12 -10
- package/dist/esm/z-otp.entry.js.map +1 -0
- package/dist/esm/z-pagination.entry.js +16 -28
- package/dist/esm/z-pagination.entry.js.map +1 -0
- package/dist/esm/z-panel-elem.entry.js +15 -7
- package/dist/esm/z-panel-elem.entry.js.map +1 -0
- package/dist/esm/z-popover.entry.js +17 -35
- package/dist/esm/z-popover.entry.js.map +1 -0
- package/dist/esm/z-range-picker.entry.js +29 -38
- package/dist/esm/z-range-picker.entry.js.map +1 -0
- package/dist/esm/z-result-card.entry.js +14 -7
- package/dist/esm/z-result-card.entry.js.map +1 -0
- package/dist/esm/z-section-title.entry.js +8 -12
- package/dist/esm/z-section-title.entry.js.map +1 -0
- package/dist/esm/z-select.entry.js +23 -21
- package/dist/esm/z-select.entry.js.map +1 -0
- package/dist/esm/z-skip-to-content.entry.js +11 -8
- package/dist/esm/z-skip-to-content.entry.js.map +1 -0
- package/dist/esm/z-slideshow.entry.js +14 -12
- package/dist/esm/z-slideshow.entry.js.map +1 -0
- package/dist/esm/z-stepper-item.entry.js +12 -4
- package/dist/esm/z-stepper-item.entry.js.map +1 -0
- package/dist/esm/z-stepper.entry.js +7 -4
- package/dist/esm/z-stepper.entry.js.map +1 -0
- package/dist/esm/z-table.entry.js +16 -19
- package/dist/esm/z-table.entry.js.map +1 -0
- package/dist/esm/z-tbody.entry.js +3 -14
- package/dist/esm/z-tbody.entry.js.map +1 -0
- package/dist/esm/z-td.entry.js +4 -56
- package/dist/esm/z-td.entry.js.map +1 -0
- package/dist/esm/z-tfoot.entry.js +3 -18
- package/dist/esm/z-tfoot.entry.js.map +1 -0
- package/dist/esm/z-th.entry.js +4 -83
- package/dist/esm/z-th.entry.js.map +1 -0
- package/dist/esm/z-thead.entry.js +3 -23
- package/dist/esm/z-thead.entry.js.map +1 -0
- package/dist/esm/z-toast-notification-list.entry.js +10 -11
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
- package/dist/esm/z-toast-notification.entry.js +3955 -3936
- package/dist/esm/z-toast-notification.entry.js.map +1 -0
- package/dist/esm/z-toggle-button.entry.js +10 -8
- package/dist/esm/z-toggle-button.entry.js.map +1 -0
- package/dist/esm/z-toggle-switch.entry.js +12 -13
- package/dist/esm/z-toggle-switch.entry.js.map +1 -0
- package/dist/esm/z-tool.entry.js +27 -28
- package/dist/esm/z-tool.entry.js.map +1 -0
- package/dist/esm/z-toolbar.entry.js +10 -7
- package/dist/esm/z-toolbar.entry.js.map +1 -0
- package/dist/esm/z-tooltip.entry.js +9 -15
- package/dist/esm/z-tooltip.entry.js.map +1 -0
- package/dist/esm/z-tr.entry.js +8 -82
- package/dist/esm/z-tr.entry.js.map +1 -0
- package/dist/esm/z-tree-list.entry.js +12 -10
- package/dist/esm/z-tree-list.entry.js.map +1 -0
- package/dist/esm/z-visually-hidden.entry.js +7 -4
- package/dist/esm/z-visually-hidden.entry.js.map +1 -0
- package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
- package/dist/types/components/deprecated/z-section-title/index.d.ts +1 -2
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
- package/dist/types/components/list/z-list/index.d.ts +1 -2
- package/dist/types/components/list/z-list-element/index.d.ts +2 -2
- package/dist/types/components/list/z-list-group/index.d.ts +1 -2
- package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
- package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
- package/dist/types/components/table/cells/z-th/index.d.ts +1 -2
- package/dist/types/components/table/z-table/index.d.ts +1 -2
- package/dist/types/components/table/z-tbody/index.d.ts +1 -2
- package/dist/types/components/table/z-tfoot/index.d.ts +1 -2
- package/dist/types/components/table/z-thead/index.d.ts +1 -2
- package/dist/types/components/table/z-tr/index.d.ts +2 -2
- package/dist/types/components/z-accordion/index.d.ts +2 -2
- package/dist/types/components/z-anchor-navigation/index.d.ts +1 -2
- package/dist/types/components/z-app-header/index.d.ts +2 -2
- package/dist/types/components/z-aria-alert/index.d.ts +1 -2
- package/dist/types/components/z-avatar/index.d.ts +1 -2
- package/dist/types/components/z-book-cover/index.d.ts +1 -2
- package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
- package/dist/types/components/z-button/index.d.ts +2 -5
- package/dist/types/components/z-button-sort/index.d.ts +2 -2
- package/dist/types/components/z-card/index.d.ts +1 -2
- package/dist/types/components/z-carousel/index.d.ts +2 -5
- package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
- package/dist/types/components/z-chip/index.d.ts +2 -2
- package/dist/types/components/z-color-picker/index.d.ts +2 -2
- package/dist/types/components/z-combobox/index.d.ts +2 -2
- package/dist/types/components/z-cover-hero/index.d.ts +1 -2
- package/dist/types/components/z-divider/index.d.ts +1 -2
- package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
- package/dist/types/components/z-icon/index.d.ts +1 -2
- package/dist/types/components/z-info-box/index.d.ts +2 -2
- package/dist/types/components/z-info-reveal/index.d.ts +1 -2
- package/dist/types/components/z-input/index.d.ts +2 -2
- package/dist/types/components/z-input-message/index.d.ts +1 -2
- package/dist/types/components/z-logo/index.d.ts +1 -2
- package/dist/types/components/z-menu/index.d.ts +2 -2
- package/dist/types/components/z-menu-section/index.d.ts +2 -2
- package/dist/types/components/z-modal/index.d.ts +2 -2
- package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
- package/dist/types/components/z-notification/index.d.ts +5 -2
- package/dist/types/components/z-notification/index.stories.d.ts +12 -1
- package/dist/types/components/z-offcanvas/index.d.ts +2 -2
- package/dist/types/components/z-pagination/index.d.ts +2 -2
- package/dist/types/components/z-panel-elem/index.d.ts +1 -2
- package/dist/types/components/z-popover/index.d.ts +2 -2
- package/dist/types/components/z-result-card/index.d.ts +1 -2
- package/dist/types/components/z-searchbar/index.d.ts +2 -2
- package/dist/types/components/z-select/index.d.ts +2 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
- package/dist/types/components/z-stepper/index.d.ts +1 -2
- package/dist/types/components/z-stepper-item/index.d.ts +1 -2
- package/dist/types/components/z-tag/index.d.ts +1 -2
- package/dist/types/components/z-toast-notification/index.d.ts +2 -2
- package/dist/types/components/z-toast-notification-list/index.d.ts +1 -2
- package/dist/types/components/z-toggle-button/index.d.ts +2 -2
- package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
- package/dist/types/components/z-tool/index.d.ts +2 -2
- package/dist/types/components/z-toolbar/index.d.ts +1 -2
- package/dist/types/components/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -2
- package/dist/types/components.d.ts +178 -1299
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +96 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -2
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +1 -2
- package/dist/types/stencil-public-runtime.d.ts +8 -194
- package/dist/web-components-library/index.esm.js +2 -1
- package/dist/web-components-library/index.esm.js.map +1 -0
- package/dist/web-components-library/p-061e28d6.js +2 -0
- package/dist/web-components-library/p-061e28d6.js.map +1 -0
- package/dist/web-components-library/p-08b16bb4.entry.js +2 -0
- package/dist/web-components-library/p-08b16bb4.entry.js.map +1 -0
- package/dist/web-components-library/p-0b03b0e3.js +2 -0
- package/dist/web-components-library/p-0b03b0e3.js.map +1 -0
- package/dist/web-components-library/p-0b9fc73c.entry.js +2 -0
- package/dist/web-components-library/p-0b9fc73c.entry.js.map +1 -0
- package/dist/web-components-library/p-146a4d4b.entry.js +2 -0
- package/dist/web-components-library/p-146a4d4b.entry.js.map +1 -0
- package/dist/web-components-library/p-252893a8.entry.js +2 -0
- package/dist/web-components-library/p-252893a8.entry.js.map +1 -0
- package/dist/web-components-library/p-2bb84080.entry.js +2 -0
- package/dist/web-components-library/p-2bb84080.entry.js.map +1 -0
- package/dist/web-components-library/p-31bd2a1c.entry.js +2 -0
- package/dist/web-components-library/p-31bd2a1c.entry.js.map +1 -0
- package/dist/web-components-library/p-32bc8a40.entry.js +2 -0
- package/dist/web-components-library/p-32bc8a40.entry.js.map +1 -0
- package/dist/web-components-library/p-36b84a8e.entry.js +2 -0
- package/dist/web-components-library/p-36b84a8e.entry.js.map +1 -0
- package/dist/web-components-library/p-3977b0ae.entry.js +2 -0
- package/dist/web-components-library/p-3977b0ae.entry.js.map +1 -0
- package/dist/web-components-library/p-41891d34.entry.js +2 -0
- package/dist/web-components-library/p-41891d34.entry.js.map +1 -0
- package/dist/web-components-library/p-42abfe3b.entry.js +2 -0
- package/dist/web-components-library/p-42abfe3b.entry.js.map +1 -0
- package/dist/web-components-library/p-447a6391.entry.js +2 -0
- package/dist/web-components-library/p-447a6391.entry.js.map +1 -0
- package/dist/web-components-library/p-4573c419.js +2 -0
- package/dist/web-components-library/p-4573c419.js.map +1 -0
- package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
- package/dist/web-components-library/p-463e0ac0.entry.js.map +1 -0
- package/dist/web-components-library/p-47b59f05.entry.js +2 -0
- package/dist/web-components-library/p-47b59f05.entry.js.map +1 -0
- package/dist/web-components-library/p-5145a606.js +2 -0
- package/dist/web-components-library/p-5145a606.js.map +1 -0
- package/dist/web-components-library/p-5372d49f.entry.js +2 -0
- package/dist/web-components-library/p-5372d49f.entry.js.map +1 -0
- package/dist/web-components-library/p-565c1815.entry.js +2 -0
- package/dist/web-components-library/p-565c1815.entry.js.map +1 -0
- package/dist/web-components-library/p-5b577b6f.entry.js +2 -0
- package/dist/web-components-library/p-5b577b6f.entry.js.map +1 -0
- package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
- package/dist/web-components-library/p-5fde1b41.entry.js.map +1 -0
- package/dist/web-components-library/p-6164feb9.entry.js +2 -0
- package/dist/web-components-library/p-6164feb9.entry.js.map +1 -0
- package/dist/web-components-library/p-623fdee4.js +2 -0
- package/dist/web-components-library/p-623fdee4.js.map +1 -0
- package/dist/web-components-library/p-64d5fdd8.entry.js +2 -0
- package/dist/web-components-library/p-64d5fdd8.entry.js.map +1 -0
- package/dist/web-components-library/p-662119bb.entry.js +2 -0
- package/dist/web-components-library/p-662119bb.entry.js.map +1 -0
- package/dist/web-components-library/p-66c0f993.entry.js +2 -0
- package/dist/web-components-library/p-66c0f993.entry.js.map +1 -0
- package/dist/web-components-library/p-68278c42.entry.js +2 -0
- package/dist/web-components-library/p-68278c42.entry.js.map +1 -0
- package/dist/web-components-library/p-68d91a93.js +2 -0
- package/dist/web-components-library/p-68d91a93.js.map +1 -0
- package/dist/web-components-library/p-6c6a655e.entry.js +2 -0
- package/dist/web-components-library/p-6c6a655e.entry.js.map +1 -0
- package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-6c9cd6be.entry.js} +2 -1
- package/dist/web-components-library/p-6c9cd6be.entry.js.map +1 -0
- package/dist/web-components-library/p-6e13aa8e.entry.js +2 -0
- package/dist/web-components-library/p-6e13aa8e.entry.js.map +1 -0
- package/dist/web-components-library/p-75c4a726.js +3 -0
- package/dist/web-components-library/p-75c4a726.js.map +1 -0
- package/dist/web-components-library/p-767b66ca.entry.js +2 -0
- package/dist/web-components-library/p-767b66ca.entry.js.map +1 -0
- package/dist/web-components-library/p-78af415b.entry.js +2 -0
- package/dist/web-components-library/p-78af415b.entry.js.map +1 -0
- package/dist/web-components-library/p-7a4f6a5b.entry.js +2 -0
- package/dist/web-components-library/p-7a4f6a5b.entry.js.map +1 -0
- package/dist/web-components-library/p-7ade2a71.entry.js +2 -0
- package/dist/web-components-library/p-7ade2a71.entry.js.map +1 -0
- package/dist/web-components-library/p-7b837e11.js +2 -0
- package/dist/web-components-library/p-7b837e11.js.map +1 -0
- package/dist/web-components-library/p-7d655f96.entry.js +2 -0
- package/dist/web-components-library/p-7d655f96.entry.js.map +1 -0
- package/dist/web-components-library/p-80b04954.entry.js +2 -0
- package/dist/web-components-library/p-80b04954.entry.js.map +1 -0
- package/dist/web-components-library/p-82eeea83.entry.js +2 -0
- package/dist/web-components-library/p-82eeea83.entry.js.map +1 -0
- package/dist/web-components-library/p-8503c87a.entry.js +2 -0
- package/dist/web-components-library/p-8503c87a.entry.js.map +1 -0
- package/dist/web-components-library/p-86618221.js +2 -0
- package/dist/web-components-library/p-86618221.js.map +1 -0
- package/dist/web-components-library/p-88a9865c.entry.js +2 -0
- package/dist/web-components-library/p-88a9865c.entry.js.map +1 -0
- package/dist/web-components-library/p-8b367393.js +2 -0
- package/dist/web-components-library/p-8b367393.js.map +1 -0
- package/dist/web-components-library/p-8c52635e.entry.js +2 -0
- package/dist/web-components-library/p-8c52635e.entry.js.map +1 -0
- package/dist/web-components-library/p-8ee2a9d2.entry.js +2 -0
- package/dist/web-components-library/p-8ee2a9d2.entry.js.map +1 -0
- package/dist/web-components-library/p-8fd50cc5.entry.js +2 -0
- package/dist/web-components-library/p-8fd50cc5.entry.js.map +1 -0
- package/dist/web-components-library/p-8ff5b76b.entry.js +2 -0
- package/dist/web-components-library/p-8ff5b76b.entry.js.map +1 -0
- package/dist/web-components-library/p-92f13701.entry.js +2 -0
- package/dist/web-components-library/p-92f13701.entry.js.map +1 -0
- package/dist/web-components-library/p-93bb075f.entry.js +2 -0
- package/dist/web-components-library/p-93bb075f.entry.js.map +1 -0
- package/dist/web-components-library/p-93d349ee.entry.js +2 -0
- package/dist/web-components-library/p-93d349ee.entry.js.map +1 -0
- package/dist/web-components-library/p-943db3a8.entry.js +2 -0
- package/dist/web-components-library/p-943db3a8.entry.js.map +1 -0
- package/dist/web-components-library/p-9814f864.entry.js +2 -0
- package/dist/web-components-library/p-9814f864.entry.js.map +1 -0
- package/dist/web-components-library/p-988a58dd.entry.js +2 -0
- package/dist/web-components-library/p-988a58dd.entry.js.map +1 -0
- package/dist/web-components-library/p-9ae0c0c6.entry.js +2 -0
- package/dist/web-components-library/p-9ae0c0c6.entry.js.map +1 -0
- package/dist/web-components-library/p-9c816a3b.js +2 -0
- package/dist/web-components-library/p-9c816a3b.js.map +1 -0
- package/dist/web-components-library/p-a2ee659d.entry.js +2 -0
- package/dist/web-components-library/p-a2ee659d.entry.js.map +1 -0
- package/dist/web-components-library/p-a3f9a5da.entry.js +2 -0
- package/dist/web-components-library/p-a3f9a5da.entry.js.map +1 -0
- package/dist/web-components-library/p-a4d2cf55.entry.js +2 -0
- package/dist/web-components-library/p-a4d2cf55.entry.js.map +1 -0
- package/dist/web-components-library/p-a6c07588.entry.js +2 -0
- package/dist/web-components-library/p-a6c07588.entry.js.map +1 -0
- package/dist/web-components-library/p-a8790237.entry.js +2 -0
- package/dist/web-components-library/p-a8790237.entry.js.map +1 -0
- package/dist/web-components-library/p-aaa96c12.entry.js +17 -0
- package/dist/web-components-library/p-aaa96c12.entry.js.map +1 -0
- package/dist/web-components-library/p-b0324c7d.entry.js +2 -0
- package/dist/web-components-library/p-b0324c7d.entry.js.map +1 -0
- package/dist/web-components-library/p-b421424f.entry.js +2 -0
- package/dist/web-components-library/p-b421424f.entry.js.map +1 -0
- package/dist/web-components-library/p-bbc20250.entry.js +2 -0
- package/dist/web-components-library/p-bbc20250.entry.js.map +1 -0
- package/dist/web-components-library/p-bd2156cc.entry.js +2 -0
- package/dist/web-components-library/p-bd2156cc.entry.js.map +1 -0
- package/dist/web-components-library/p-bd76ca35.entry.js +2 -0
- package/dist/web-components-library/p-bd76ca35.entry.js.map +1 -0
- package/dist/web-components-library/p-be1c414e.entry.js +2 -0
- package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
- package/dist/web-components-library/p-c3e03e41.entry.js +2 -0
- package/dist/web-components-library/p-c3e03e41.entry.js.map +1 -0
- package/dist/web-components-library/p-c9b81cab.entry.js +2 -0
- package/dist/web-components-library/p-c9b81cab.entry.js.map +1 -0
- package/dist/web-components-library/p-caced575.entry.js +2 -0
- package/dist/web-components-library/p-caced575.entry.js.map +1 -0
- package/dist/web-components-library/p-cb395500.js +2 -0
- package/dist/web-components-library/p-cb395500.js.map +1 -0
- package/dist/web-components-library/p-cbc09112.entry.js +2 -0
- package/dist/web-components-library/p-cbc09112.entry.js.map +1 -0
- package/dist/web-components-library/p-d080b624.entry.js +2 -0
- package/dist/web-components-library/p-d080b624.entry.js.map +1 -0
- package/dist/web-components-library/p-d6f43903.entry.js +2 -0
- package/dist/web-components-library/p-d6f43903.entry.js.map +1 -0
- package/dist/web-components-library/p-da3abb97.entry.js +2 -0
- package/dist/web-components-library/p-da3abb97.entry.js.map +1 -0
- package/dist/web-components-library/p-e1255160.js +2 -0
- package/dist/web-components-library/p-e1255160.js.map +1 -0
- package/dist/web-components-library/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
- package/dist/web-components-library/p-eb15536d.js.map +1 -0
- package/dist/web-components-library/p-ec1270db.entry.js +2 -0
- package/dist/web-components-library/p-ec1270db.entry.js.map +1 -0
- package/dist/web-components-library/p-efa6b991.entry.js +2 -0
- package/dist/web-components-library/p-efa6b991.entry.js.map +1 -0
- package/dist/web-components-library/p-f4b987ed.entry.js +2 -0
- package/dist/web-components-library/p-f4b987ed.entry.js.map +1 -0
- package/dist/web-components-library/p-f74973b5.entry.js +8 -0
- package/dist/web-components-library/p-f74973b5.entry.js.map +1 -0
- package/dist/web-components-library/p-f7e65eb0.entry.js +2 -0
- package/dist/web-components-library/p-f7e65eb0.entry.js.map +1 -0
- package/dist/web-components-library/p-ff89d630.entry.js +2 -0
- package/dist/web-components-library/p-ff89d630.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +2 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -0
- package/loader/package.json +11 -0
- package/package.json +10 -14
- package/react/components.js +92 -87
- package/react/components.js.map +1 -0
- package/react/index.js +18 -1
- package/react/index.js.map +1 -0
- package/react/react-component-lib/createComponent.js +39 -11
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.js +56 -35
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.js +8 -2
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.js +3 -1
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.js +20 -11
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.js +8 -2
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.js +9 -3
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.js +35 -10
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/www/build/index.esm.js +2 -1
- package/www/build/index.esm.js.map +1 -0
- package/www/build/p-061e28d6.js +2 -0
- package/www/build/p-061e28d6.js.map +1 -0
- package/www/build/p-08b16bb4.entry.js +2 -0
- package/www/build/p-08b16bb4.entry.js.map +1 -0
- package/www/build/p-0b03b0e3.js +2 -0
- package/www/build/p-0b03b0e3.js.map +1 -0
- package/www/build/p-0b9fc73c.entry.js +2 -0
- package/www/build/p-0b9fc73c.entry.js.map +1 -0
- package/www/build/p-146a4d4b.entry.js +2 -0
- package/www/build/p-146a4d4b.entry.js.map +1 -0
- package/www/build/p-252893a8.entry.js +2 -0
- package/www/build/p-252893a8.entry.js.map +1 -0
- package/www/build/p-2bb84080.entry.js +2 -0
- package/www/build/p-2bb84080.entry.js.map +1 -0
- package/www/build/p-31bd2a1c.entry.js +2 -0
- package/www/build/p-31bd2a1c.entry.js.map +1 -0
- package/www/build/p-32bc8a40.entry.js +2 -0
- package/www/build/p-32bc8a40.entry.js.map +1 -0
- package/www/build/p-36b84a8e.entry.js +2 -0
- package/www/build/p-36b84a8e.entry.js.map +1 -0
- package/www/build/p-3977b0ae.entry.js +2 -0
- package/www/build/p-3977b0ae.entry.js.map +1 -0
- package/www/build/p-41891d34.entry.js +2 -0
- package/www/build/p-41891d34.entry.js.map +1 -0
- package/www/build/p-42abfe3b.entry.js +2 -0
- package/www/build/p-42abfe3b.entry.js.map +1 -0
- package/www/build/p-447a6391.entry.js +2 -0
- package/www/build/p-447a6391.entry.js.map +1 -0
- package/www/build/p-4573c419.js +2 -0
- package/www/build/p-4573c419.js.map +1 -0
- package/www/build/p-463e0ac0.entry.js +2 -0
- package/www/build/p-463e0ac0.entry.js.map +1 -0
- package/www/build/p-47b59f05.entry.js +2 -0
- package/www/build/p-47b59f05.entry.js.map +1 -0
- package/www/build/p-5145a606.js +2 -0
- package/www/build/p-5145a606.js.map +1 -0
- package/www/build/p-5372d49f.entry.js +2 -0
- package/www/build/p-5372d49f.entry.js.map +1 -0
- package/www/build/p-565c1815.entry.js +2 -0
- package/www/build/p-565c1815.entry.js.map +1 -0
- package/www/build/p-5b577b6f.entry.js +2 -0
- package/www/build/p-5b577b6f.entry.js.map +1 -0
- package/www/build/p-5fde1b41.entry.js +2 -0
- package/www/build/p-5fde1b41.entry.js.map +1 -0
- package/www/build/p-6164feb9.entry.js +2 -0
- package/www/build/p-6164feb9.entry.js.map +1 -0
- package/www/build/p-623fdee4.js +2 -0
- package/www/build/p-623fdee4.js.map +1 -0
- package/www/build/p-64d5fdd8.entry.js +2 -0
- package/www/build/p-64d5fdd8.entry.js.map +1 -0
- package/www/build/p-662119bb.entry.js +2 -0
- package/www/build/p-662119bb.entry.js.map +1 -0
- package/www/build/p-66c0f993.entry.js +2 -0
- package/www/build/p-66c0f993.entry.js.map +1 -0
- package/www/build/p-68278c42.entry.js +2 -0
- package/www/build/p-68278c42.entry.js.map +1 -0
- package/www/build/p-68d91a93.js +2 -0
- package/www/build/p-68d91a93.js.map +1 -0
- package/www/build/p-6c6a655e.entry.js +2 -0
- package/www/build/p-6c6a655e.entry.js.map +1 -0
- package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-6c9cd6be.entry.js} +2 -1
- package/www/build/p-6c9cd6be.entry.js.map +1 -0
- package/www/build/p-6e13aa8e.entry.js +2 -0
- package/www/build/p-6e13aa8e.entry.js.map +1 -0
- package/www/build/p-75c4a726.js +3 -0
- package/www/build/p-75c4a726.js.map +1 -0
- package/www/build/p-767b66ca.entry.js +2 -0
- package/www/build/p-767b66ca.entry.js.map +1 -0
- package/www/build/p-78af415b.entry.js +2 -0
- package/www/build/p-78af415b.entry.js.map +1 -0
- package/www/build/p-7a4f6a5b.entry.js +2 -0
- package/www/build/p-7a4f6a5b.entry.js.map +1 -0
- package/www/build/p-7ade2a71.entry.js +2 -0
- package/www/build/p-7ade2a71.entry.js.map +1 -0
- package/www/build/p-7b837e11.js +2 -0
- package/www/build/p-7b837e11.js.map +1 -0
- package/www/build/p-7d655f96.entry.js +2 -0
- package/www/build/p-7d655f96.entry.js.map +1 -0
- package/www/build/p-80b04954.entry.js +2 -0
- package/www/build/p-80b04954.entry.js.map +1 -0
- package/www/build/p-82eeea83.entry.js +2 -0
- package/www/build/p-82eeea83.entry.js.map +1 -0
- package/www/build/p-8503c87a.entry.js +2 -0
- package/www/build/p-8503c87a.entry.js.map +1 -0
- package/www/build/p-86618221.js +2 -0
- package/www/build/p-86618221.js.map +1 -0
- package/www/build/p-88a9865c.entry.js +2 -0
- package/www/build/p-88a9865c.entry.js.map +1 -0
- package/www/build/p-8b367393.js +2 -0
- package/www/build/p-8b367393.js.map +1 -0
- package/www/build/p-8c52635e.entry.js +2 -0
- package/www/build/p-8c52635e.entry.js.map +1 -0
- package/www/build/p-8ee2a9d2.entry.js +2 -0
- package/www/build/p-8ee2a9d2.entry.js.map +1 -0
- package/www/build/p-8fd50cc5.entry.js +2 -0
- package/www/build/p-8fd50cc5.entry.js.map +1 -0
- package/www/build/p-8ff5b76b.entry.js +2 -0
- package/www/build/p-8ff5b76b.entry.js.map +1 -0
- package/www/build/p-92f13701.entry.js +2 -0
- package/www/build/p-92f13701.entry.js.map +1 -0
- package/www/build/p-93bb075f.entry.js +2 -0
- package/www/build/p-93bb075f.entry.js.map +1 -0
- package/www/build/p-93d349ee.entry.js +2 -0
- package/www/build/p-93d349ee.entry.js.map +1 -0
- package/www/build/p-943db3a8.entry.js +2 -0
- package/www/build/p-943db3a8.entry.js.map +1 -0
- package/www/build/p-9814f864.entry.js +2 -0
- package/www/build/p-9814f864.entry.js.map +1 -0
- package/www/build/p-988a58dd.entry.js +2 -0
- package/www/build/p-988a58dd.entry.js.map +1 -0
- package/www/build/p-9ae0c0c6.entry.js +2 -0
- package/www/build/p-9ae0c0c6.entry.js.map +1 -0
- package/www/build/p-9c816a3b.js +2 -0
- package/www/build/p-9c816a3b.js.map +1 -0
- package/www/build/p-a2ee659d.entry.js +2 -0
- package/www/build/p-a2ee659d.entry.js.map +1 -0
- package/www/build/p-a3f9a5da.entry.js +2 -0
- package/www/build/p-a3f9a5da.entry.js.map +1 -0
- package/www/build/p-a4d2cf55.entry.js +2 -0
- package/www/build/p-a4d2cf55.entry.js.map +1 -0
- package/www/build/p-a6c07588.entry.js +2 -0
- package/www/build/p-a6c07588.entry.js.map +1 -0
- package/www/build/p-a8790237.entry.js +2 -0
- package/www/build/p-a8790237.entry.js.map +1 -0
- package/www/build/p-aaa96c12.entry.js +17 -0
- package/www/build/p-aaa96c12.entry.js.map +1 -0
- package/www/build/p-b0324c7d.entry.js +2 -0
- package/www/build/p-b0324c7d.entry.js.map +1 -0
- package/www/build/p-b421424f.entry.js +2 -0
- package/www/build/p-b421424f.entry.js.map +1 -0
- package/www/build/p-bbc20250.entry.js +2 -0
- package/www/build/p-bbc20250.entry.js.map +1 -0
- package/www/build/p-bd2156cc.entry.js +2 -0
- package/www/build/p-bd2156cc.entry.js.map +1 -0
- package/www/build/p-bd76ca35.entry.js +2 -0
- package/www/build/p-bd76ca35.entry.js.map +1 -0
- package/www/build/p-be1c414e.entry.js +2 -0
- package/www/build/p-be1c414e.entry.js.map +1 -0
- package/www/build/p-c3e03e41.entry.js +2 -0
- package/www/build/p-c3e03e41.entry.js.map +1 -0
- package/www/build/p-c9b81cab.entry.js +2 -0
- package/www/build/p-c9b81cab.entry.js.map +1 -0
- package/www/build/p-caced575.entry.js +2 -0
- package/www/build/p-caced575.entry.js.map +1 -0
- package/www/build/p-cb395500.js +2 -0
- package/www/build/p-cb395500.js.map +1 -0
- package/www/build/p-cbc09112.entry.js +2 -0
- package/www/build/p-cbc09112.entry.js.map +1 -0
- package/www/build/p-d080b624.entry.js +2 -0
- package/www/build/p-d080b624.entry.js.map +1 -0
- package/www/build/p-d3d3edf1.js +2 -0
- package/www/build/p-d6f43903.entry.js +2 -0
- package/www/build/p-d6f43903.entry.js.map +1 -0
- package/www/build/p-da3abb97.entry.js +2 -0
- package/www/build/p-da3abb97.entry.js.map +1 -0
- package/www/build/p-e1255160.js +2 -0
- package/www/build/p-e1255160.js.map +1 -0
- package/www/build/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
- package/www/build/p-eb15536d.js.map +1 -0
- package/www/build/p-ec1270db.entry.js +2 -0
- package/www/build/p-ec1270db.entry.js.map +1 -0
- package/www/build/p-efa6b991.entry.js +2 -0
- package/www/build/p-efa6b991.entry.js.map +1 -0
- package/www/build/p-f4b987ed.entry.js +2 -0
- package/www/build/p-f4b987ed.entry.js.map +1 -0
- package/www/build/p-f74973b5.entry.js +8 -0
- package/www/build/p-f74973b5.entry.js.map +1 -0
- package/www/build/p-f7e65eb0.entry.js +2 -0
- package/www/build/p-f7e65eb0.entry.js.map +1 -0
- package/www/build/p-ff89d630.entry.js +2 -0
- package/www/build/p-ff89d630.entry.js.map +1 -0
- package/www/build/web-components-library.esm.js +2 -1
- package/www/build/web-components-library.esm.js.map +1 -0
- package/www/index.html +1 -1
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
- package/dist/cjs/index-2H1EJ2Tl.js +0 -2683
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
- package/dist/esm/index-ByN2sYu6.js +0 -2653
- package/dist/web-components-library/p-00f09ae2.entry.js +0 -1
- package/dist/web-components-library/p-02e588b4.entry.js +0 -1
- package/dist/web-components-library/p-040fbd28.entry.js +0 -1
- package/dist/web-components-library/p-05fe5555.entry.js +0 -1
- package/dist/web-components-library/p-081b1648.entry.js +0 -1
- package/dist/web-components-library/p-0a819ab4.entry.js +0 -1
- package/dist/web-components-library/p-0dde6773.entry.js +0 -1
- package/dist/web-components-library/p-11a90064.entry.js +0 -1
- package/dist/web-components-library/p-1210c90f.entry.js +0 -1
- package/dist/web-components-library/p-1280ac72.entry.js +0 -1
- package/dist/web-components-library/p-17429bce.entry.js +0 -1
- package/dist/web-components-library/p-18782c2f.entry.js +0 -1
- package/dist/web-components-library/p-19536f5e.entry.js +0 -1
- package/dist/web-components-library/p-1b851174.entry.js +0 -1
- package/dist/web-components-library/p-1c75b67f.entry.js +0 -1
- package/dist/web-components-library/p-1e984688.entry.js +0 -1
- package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
- package/dist/web-components-library/p-26fc8a38.entry.js +0 -1
- package/dist/web-components-library/p-27f93251.entry.js +0 -1
- package/dist/web-components-library/p-294f7b4e.entry.js +0 -1
- package/dist/web-components-library/p-2b122a22.entry.js +0 -1
- package/dist/web-components-library/p-2f99634d.entry.js +0 -1
- package/dist/web-components-library/p-30c86858.entry.js +0 -1
- package/dist/web-components-library/p-314302ce.entry.js +0 -1
- package/dist/web-components-library/p-366d2553.entry.js +0 -1
- package/dist/web-components-library/p-3a9aec16.entry.js +0 -1
- package/dist/web-components-library/p-3c861d49.entry.js +0 -1
- package/dist/web-components-library/p-41b55222.entry.js +0 -1
- package/dist/web-components-library/p-44220d6b.entry.js +0 -1
- package/dist/web-components-library/p-48d72b52.entry.js +0 -1
- package/dist/web-components-library/p-50b59012.entry.js +0 -1
- package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
- package/dist/web-components-library/p-58933ba5.entry.js +0 -1
- package/dist/web-components-library/p-5bb77af2.entry.js +0 -1
- package/dist/web-components-library/p-5e91940f.entry.js +0 -1
- package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
- package/dist/web-components-library/p-61b2ad9b.entry.js +0 -1
- package/dist/web-components-library/p-631f111d.entry.js +0 -1
- package/dist/web-components-library/p-6d0abf8c.entry.js +0 -1
- package/dist/web-components-library/p-6ece59b5.entry.js +0 -1
- package/dist/web-components-library/p-73aaace2.entry.js +0 -1
- package/dist/web-components-library/p-772c3e3e.entry.js +0 -1
- package/dist/web-components-library/p-849d65f5.entry.js +0 -1
- package/dist/web-components-library/p-87306cd0.entry.js +0 -1
- package/dist/web-components-library/p-8745878e.entry.js +0 -1
- package/dist/web-components-library/p-8f5387ef.entry.js +0 -1
- package/dist/web-components-library/p-967549d2.entry.js +0 -1
- package/dist/web-components-library/p-99922496.entry.js +0 -1
- package/dist/web-components-library/p-9b181c2c.entry.js +0 -1
- package/dist/web-components-library/p-9e4db6a2.entry.js +0 -1
- package/dist/web-components-library/p-B85MJLTf.js +0 -1
- package/dist/web-components-library/p-B8WJfd4z.js +0 -1
- package/dist/web-components-library/p-BKCj6NR2.js +0 -1
- package/dist/web-components-library/p-ByN2sYu6.js +0 -2
- package/dist/web-components-library/p-D4yqZKyM.js +0 -1
- package/dist/web-components-library/p-Q-tWjk7P.js +0 -1
- package/dist/web-components-library/p-a336c241.entry.js +0 -1
- package/dist/web-components-library/p-a3a7c406.entry.js +0 -1
- package/dist/web-components-library/p-a9534450.entry.js +0 -1
- package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
- package/dist/web-components-library/p-abfdc045.entry.js +0 -1
- package/dist/web-components-library/p-ad2ed505.entry.js +0 -16
- package/dist/web-components-library/p-aeaf586b.entry.js +0 -1
- package/dist/web-components-library/p-afab22fc.entry.js +0 -1
- package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
- package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
- package/dist/web-components-library/p-b5c180bc.entry.js +0 -1
- package/dist/web-components-library/p-c1677653.entry.js +0 -1
- package/dist/web-components-library/p-c23bfec2.entry.js +0 -1
- package/dist/web-components-library/p-d8f0e022.entry.js +0 -2
- package/dist/web-components-library/p-dc759208.entry.js +0 -1
- package/dist/web-components-library/p-eb722234.entry.js +0 -1
- package/dist/web-components-library/p-ebdbd84c.entry.js +0 -1
- package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
- package/dist/web-components-library/p-fade8c19.entry.js +0 -1
- package/dist/web-components-library/p-fc90579e.entry.js +0 -1
- package/www/build/p-00f09ae2.entry.js +0 -1
- package/www/build/p-02e588b4.entry.js +0 -1
- package/www/build/p-040fbd28.entry.js +0 -1
- package/www/build/p-05fe5555.entry.js +0 -1
- package/www/build/p-081b1648.entry.js +0 -1
- package/www/build/p-0a819ab4.entry.js +0 -1
- package/www/build/p-0dde6773.entry.js +0 -1
- package/www/build/p-11a90064.entry.js +0 -1
- package/www/build/p-1210c90f.entry.js +0 -1
- package/www/build/p-1280ac72.entry.js +0 -1
- package/www/build/p-17429bce.entry.js +0 -1
- package/www/build/p-18782c2f.entry.js +0 -1
- package/www/build/p-19536f5e.entry.js +0 -1
- package/www/build/p-1b851174.entry.js +0 -1
- package/www/build/p-1c75b67f.entry.js +0 -1
- package/www/build/p-1e984688.entry.js +0 -1
- package/www/build/p-2294f1b0.entry.js +0 -1
- package/www/build/p-26fc8a38.entry.js +0 -1
- package/www/build/p-27f93251.entry.js +0 -1
- package/www/build/p-294f7b4e.entry.js +0 -1
- package/www/build/p-2b122a22.entry.js +0 -1
- package/www/build/p-2f99634d.entry.js +0 -1
- package/www/build/p-30c86858.entry.js +0 -1
- package/www/build/p-314302ce.entry.js +0 -1
- package/www/build/p-366d2553.entry.js +0 -1
- package/www/build/p-3a9aec16.entry.js +0 -1
- package/www/build/p-3c861d49.entry.js +0 -1
- package/www/build/p-41b55222.entry.js +0 -1
- package/www/build/p-44220d6b.entry.js +0 -1
- package/www/build/p-48d72b52.entry.js +0 -1
- package/www/build/p-50b59012.entry.js +0 -1
- package/www/build/p-5883dbc1.entry.js +0 -1
- package/www/build/p-58933ba5.entry.js +0 -1
- package/www/build/p-5bb77af2.entry.js +0 -1
- package/www/build/p-5e91940f.entry.js +0 -1
- package/www/build/p-5fc4048b.entry.js +0 -1
- package/www/build/p-61b2ad9b.entry.js +0 -1
- package/www/build/p-631f111d.entry.js +0 -1
- package/www/build/p-654b3801.js +0 -1
- package/www/build/p-6d0abf8c.entry.js +0 -1
- package/www/build/p-6ece59b5.entry.js +0 -1
- package/www/build/p-73aaace2.entry.js +0 -1
- package/www/build/p-772c3e3e.entry.js +0 -1
- package/www/build/p-849d65f5.entry.js +0 -1
- package/www/build/p-87306cd0.entry.js +0 -1
- package/www/build/p-8745878e.entry.js +0 -1
- package/www/build/p-8f5387ef.entry.js +0 -1
- package/www/build/p-967549d2.entry.js +0 -1
- package/www/build/p-99922496.entry.js +0 -1
- package/www/build/p-9b181c2c.entry.js +0 -1
- package/www/build/p-9e4db6a2.entry.js +0 -1
- package/www/build/p-B85MJLTf.js +0 -1
- package/www/build/p-B8WJfd4z.js +0 -1
- package/www/build/p-BKCj6NR2.js +0 -1
- package/www/build/p-ByN2sYu6.js +0 -2
- package/www/build/p-D4yqZKyM.js +0 -1
- package/www/build/p-Q-tWjk7P.js +0 -1
- package/www/build/p-a336c241.entry.js +0 -1
- package/www/build/p-a3a7c406.entry.js +0 -1
- package/www/build/p-a9534450.entry.js +0 -1
- package/www/build/p-aabb5aea.entry.js +0 -1
- package/www/build/p-abfdc045.entry.js +0 -1
- package/www/build/p-ad2ed505.entry.js +0 -16
- package/www/build/p-aeaf586b.entry.js +0 -1
- package/www/build/p-afab22fc.entry.js +0 -1
- package/www/build/p-afcabf3b.entry.js +0 -1
- package/www/build/p-b38d52e5.entry.js +0 -1
- package/www/build/p-b5c180bc.entry.js +0 -1
- package/www/build/p-c1677653.entry.js +0 -1
- package/www/build/p-c23bfec2.entry.js +0 -1
- package/www/build/p-d8f0e022.entry.js +0 -2
- package/www/build/p-dc759208.entry.js +0 -1
- package/www/build/p-eb722234.entry.js +0 -1
- package/www/build/p-ebdbd84c.entry.js +0 -1
- package/www/build/p-ecea3d09.entry.js +0 -1
- package/www/build/p-fade8c19.entry.js +0 -1
- package/www/build/p-fc90579e.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe;wBAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -10,13 +10,7 @@ import "../z-tr/index";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ZTable {
|
|
12
12
|
constructor() {
|
|
13
|
-
/**
|
|
14
|
-
* Whether the table cells should show a border between them.
|
|
15
|
-
*/
|
|
16
13
|
this.bordered = false;
|
|
17
|
-
/**
|
|
18
|
-
* Whether the table contains some expandable rows.
|
|
19
|
-
*/
|
|
20
14
|
this.expandable = false;
|
|
21
15
|
}
|
|
22
16
|
updateExpandable() {
|
|
@@ -42,7 +36,7 @@ export class ZTable {
|
|
|
42
36
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
43
37
|
}
|
|
44
38
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'a37bf2d018aedf198e11248d9952c062deddc545', expandable: this.expandable }, h("div", { key: 'a769b79ee55eb5425bb6c72059437f051967c3b3', class: "table", role: "table" }, h("slot", { key: '0ba782144cc2f139484954747d530d6f1c606a0d' }))));
|
|
46
40
|
}
|
|
47
41
|
static get is() { return "z-table"; }
|
|
48
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,10 +66,8 @@ export class ZTable {
|
|
|
72
66
|
"tags": [],
|
|
73
67
|
"text": "Whether the table cells should show a border between them."
|
|
74
68
|
},
|
|
75
|
-
"getter": false,
|
|
76
|
-
"setter": false,
|
|
77
|
-
"reflect": true,
|
|
78
69
|
"attribute": "bordered",
|
|
70
|
+
"reflect": true,
|
|
79
71
|
"defaultValue": "false"
|
|
80
72
|
}
|
|
81
73
|
};
|
|
@@ -87,3 +79,4 @@ export class ZTable {
|
|
|
87
79
|
}
|
|
88
80
|
static get elementRef() { return "host"; }
|
|
89
81
|
}
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/z-table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACvE,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AAEvB;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;wBAON,KAAK;0BAMH,KAAK;;IAEV,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC9E,CAAC;IAID;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YAC1D,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;IAChD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO;gBAEZ,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../../src/components/table/z-table/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAsB,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;AAChD,OAAO,EA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,CAAC,CAAC,EACjB,GAAG,EAAE,CACH,IAAI,CAAA;gCACgB,IAAI,CAAC,QAAQ;;;;;gCAKb,IAAI,CAAC,QAAQ;;;;oBAIzB,CACX;;eAEM;CACd,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE;QACR,WAAW,EAAE,OAAO;QACpB,WAAW,EAAE;YACX,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC;YAC3C,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;aACrB;SACF;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,mBAAmB,CAAC,KAAK;KACvC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;;kBAEU,IAAI,CAAC,QAAQ;cACjB,QAAQ,CAAC;QACf,0BAA0B,EAAE,IAAI,CAAC,0BAA0B,CAAC;KAC7D,CAAC;;8BAEsB,IAAI,CAAC,WAAW;;;6BAGjB,aAAa,CAAC,GAAG;wBACtB,mBAAmB,CAAC,KAAK;2BACtB,IAAI,CAAC,WAAW;;;;;;;6BAOd,aAAa,CAAC,IAAI;2BACpB,IAAI,CAAC,WAAW;;;;;iBAK1B,MAAM,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA,SAAS,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;eACzE;CACd,CAAC","sourcesContent":["import {Meta} from \"@storybook/web-components\";\nimport {html, type TemplateResult} from \"lit\";\nimport {repeat} from \"lit/directives/repeat.js\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {type ZTable} from \".\";\nimport {PopoverPosition, SortDirection, VisibilityCondition} from \"../../../beans\";\nimport {CSSVarsArguments} from \"../../../utils/storybook-utils\";\nimport {boolean} from \"../../../utils/utils\";\nimport \"../../z-button/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZTableStoriesArgs = ZTable & CSSVarsArguments<\"z-table--cells-padding\">;\n\n/**\n * ## Accessibility\n *\n * The `ZTable` and its related components comes with a set of roles and ARIA attributes to help screen readers to understand the table structure and its content.\n * The roles are mainly used to identify the table parts, since they are not the native HTML table elements.\n * The ARIA attributes used are the following:\n * - [`aria-sort`](https://www.w3.org/TR/wai-aria-1.1/#aria-sort) to identify the sorting direction of a column when sorting is enabled\n * - [`aria-expanded`](https://www.w3.org/TR/wai-aria-1.1/#aria-expanded) to identify if a row is expanded or not when expandable rows are enabled. The attribute is set on the button that expands the row, as explained in the [docs](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n * - [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls) is used on the expandable row button to identify the content that is controlled by the button itself, as explained in the [docs](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls). Maybe the `aria-owns` attribute were more appropriate, but it is not supported on MacOS and iOS with VoiceOver, so we used `aria-controls` instead.\n * - [`aria-label`](https://www.w3.org/TR/wai-aria-1.1/#aria-label) is used on the expandable row button to provide a label for the button, since the button doesn't have any text content.\n */\nconst StoryMeta = {\n title: \"ZTable\",\n component: \"z-table\",\n args: {\n \"bordered\": true,\n \"--z-table--cells-padding\": \"16px\",\n },\n} satisfies Meta<ZTableStoriesArgs>;\n\nexport default StoryMeta;\n\nconst cellsTemplate = (count = 1): TemplateResult =>\n html`${repeat([...new Array(count)], () => html`<z-td>Contenuto cella</z-td>`)}`;\n\nexport const Default = {\n render: (args) =>\n html`<z-table\n class=\"z-table-demo\"\n .bordered=${args.bordered}\n style=${styleMap({\n \"--z-table--cells-padding\": args[\"--z-table--cells-padding\"],\n })}\n >\n <z-thead>\n <z-tr>${repeat([...new Array(8)], () => html`<z-th>Titolo colonna</z-th>`)}</z-tr>\n </z-thead>\n <z-tbody>${repeat([...new Array(5)], () => html`<z-tr>${cellsTemplate(8)}</z-tr>`)}</z-tbody>\n <z-tfoot>\n <z-tr>\n <z-td colspan=\"8\">Table footer</z-td>\n </z-tr>\n </z-tfoot>\n </z-table>`,\n};\n\n/**\n * Just set `expandable` prop on the `z-tr` element to make it expandable, then put an additional `z-td` as extended content.\n * If you put a clickable item as a child cell of a z-tr with `expandable` set to `true`, you need to set a \"prevent-expand\" class on that item, in order to prevent unwanted row expansions.\n */\nexport const ExpandableRows = {\n render: (args) =>\n html`<z-table\n class=\"z-table-demo\"\n .bordered=${args.bordered}\n style=${styleMap({\n \"--z-table--cells-padding\": args[\"--z-table--cells-padding\"],\n })}\n >\n <z-thead>\n <z-tr>${repeat([...new Array(8)], (_, index) => html`<z-th>Colonna ${index + 1}</z-th>`)}</z-tr>\n </z-thead>\n <z-tbody>\n <z-tr>\n <z-td>Contenuto cella</z-td>\n <z-td>Contenuto cella</z-td>\n <z-td show-menu>\n <span>Contenuto cella con menu</span>\n <div slot=\"contextual-menu\">Contenuto del popover</div></z-td\n >\n ${cellsTemplate(5)}\n </z-tr>\n <z-tr>${repeat([...new Array(8)], () => html`<z-td>Contenuto cella</z-td>`)}</z-tr>\n <z-tr expandable>\n <z-td>Contenuto cella</z-td>\n <z-td>Contenuto cella</z-td>\n <z-td>\n <span>Contenuto cella</span>\n <z-button\n class=\"prevent-expand\"\n onclick=\"alert('button clicked without expanding the row')\"\n icon=\"plus\"\n size=\"x-small\"\n ></z-button\n ></z-td>\n ${cellsTemplate(5)}\n <z-td>Contenuto espanso</z-td>\n </z-tr>\n <z-tr>${cellsTemplate(8)}</z-tr>\n <z-tr expandable>\n <z-td>Contenuto cella</z-td>\n <z-td show-menu=\"always\">\n <span>Contenuto cella con menu</span>\n <div slot=\"contextual-menu\">Contenuto del popover</div></z-td\n >\n ${cellsTemplate(6)}\n <z-td>Contenuto espanso</z-td>\n </z-tr>\n </z-tbody>\n <z-tfoot>\n <z-tr>\n <z-td colspan=\"8\">Table footer</z-td>\n </z-tr>\n </z-tfoot>\n </z-table>`,\n};\n\n/**\n * To make a column sticky, you need to set the `sticky` prop on the `z-th` and/or `z-td` elements of the same column.\n * For the header or footer, just set the `sticky` prop on the `z-thead` or `z-tfoot` element.\n */\nexport const Sticky = {\n args: {\n stickyHeader: true,\n stickyFooter: true,\n stickFirstColumn: true,\n },\n render: (args) =>\n html`<z-table\n class=\"z-table-demo\"\n .bordered=${args.bordered}\n style=${styleMap({\n \"--z-table--cells-padding\": args[\"--z-table--cells-padding\"],\n \"height\": \"400px\",\n })}\n >\n <z-thead .sticky=${args.stickyHeader}>\n <z-tr>\n <z-th .sticky=${args.stickFirstColumn}>Colonna 1</z-th>\n ${repeat([...new Array(7)], (_, index) => html`<z-th>Colonna ${index + 2}</z-th>`)}\n </z-tr>\n </z-thead>\n <z-tbody>\n <z-tr>\n <z-td .sticky=${args.stickFirstColumn}>Contenuto cella 1</z-td>\n <z-td>Contenuto cella</z-td>\n <z-td>Contenuto cella</z-td>\n <z-td show-menu>\n <span>Contenuto cella con menu</span>\n <div slot=\"contextual-menu\">Contenuto del popover</div></z-td\n >\n ${cellsTemplate(4)}\n </z-tr>\n ${repeat(\n [...new Array(5)],\n () =>\n html`<z-tr>\n <z-td .sticky=${args.stickFirstColumn}>Contenuto cella 1</z-td>\n ${cellsTemplate(7)}\n </z-tr>`\n )}\n <z-tr expandable>\n <z-td .sticky=${args.stickFirstColumn}>Contenuto cella 1</z-td>\n ${cellsTemplate(6)}\n <z-td>\n <span>Contenuto cella</span>\n <z-button\n class=\"prevent-expand\"\n onclick=\"alert('button clicked')\"\n icon=\"plus\"\n size=\"x-small\"\n ></z-button\n ></z-td>\n <z-td>Contenuto espanso</z-td>\n </z-tr>\n <z-tr expandable>\n <z-td .sticky=${args.stickFirstColumn}>Contenuto cella 1</z-td>\n ${cellsTemplate(7)}\n <z-td>Contenuto espanso</z-td>\n </z-tr>\n </z-tbody>\n <z-tfoot .sticky=${args.stickyFooter}>\n <z-tr>\n <z-td colspan=\"8\">Table footer</z-td>\n </z-tr>\n </z-tfoot>\n </z-table>`,\n};\n\n/**\n * Use the `showMenu` prop on `z-td` or `z-th`, setting a value of the enum `VisibilityCondition` (`HOVER` or `ALWAYS`), to show a contextual menu button on the cell. The content of the menu must be placed using the slot `contextual-menu`.\n * Use `popoverPosition` prop on `z-th` to set the position of contextual menu, default is `auto`.\n */\nexport const CellsWithContextualMenu = {\n argTypes: {\n isFocusable: boolean,\n showMenu: {\n control: {\n type: \"inline-radio\",\n labels: {\n null: \"hidden\",\n },\n },\n popoverPosition: {\n options: Object.values(PopoverPosition),\n control: {\n type: \"select\",\n },\n },\n options: [null, ...Object.values(VisibilityCondition)],\n },\n },\n args: {\n isFocusable: true,\n showMenu: VisibilityCondition.HOVER,\n popoverPosition: PopoverPosition.AUTO,\n },\n render: (args) =>\n html`<z-table\n class=\"z-table-demo\"\n .bordered=${args.bordered}\n style=${styleMap({\n \"--z-table--cells-padding\": args[\"--z-table--cells-padding\"],\n })}\n >\n <z-thead .isFocusable=${args.isFocusable}>\n <z-tr>\n <z-th>Colonna 1</z-th>\n <z-th\n .showMenu=${args.showMenu}\n .popoverPosition=${args.popoverPosition}\n >\n Heading con menu\n <div slot=\"contextual-menu\">Contenuto del popover</div>\n </z-th>\n <z-th>Colonna 2</z-th>\n </z-tr>\n </z-thead>\n <z-tbody>\n ${repeat(\n [...new Array(3)],\n () =>\n html`<z-tr>\n <z-td .showMenu=${args.showMenu}>\n <span>Contenuto cella con menu</span>\n <div slot=\"contextual-menu\">Contenuto del popover</div>\n </z-td>\n <z-td>Contenuto cella</z-td>\n <z-td .showMenu=${args.showMenu}>\n <span>Contenuto cella con menu</span>\n <div slot=\"contextual-menu\">Contenuto del popover</div>\n </z-td>\n </z-tr>`\n )}\n </z-tbody>\n </z-table>`,\n};\n\n/**\n * Set the `sortDirection` prop to `SortDirection.ASC` or `SortDirection.DESC` to enable sorting and show the sort button.\n * Clicking the button will fire the `sort` event with the `sortDirection` as detail.\n */\nexport const SortAction = {\n argTypes: {\n isFocusable: boolean,\n showSorting: {\n options: Object.values(VisibilityCondition),\n control: {\n type: \"inline-radio\",\n },\n },\n },\n args: {\n isFocusable: true,\n showSorting: VisibilityCondition.HOVER,\n },\n render: (args) =>\n html`<z-table\n class=\"z-table-demo\"\n .bordered=${args.bordered}\n style=${styleMap({\n \"--z-table--cells-padding\": args[\"--z-table--cells-padding\"],\n })}\n >\n <z-thead .isFocusable=${args.isFocusable}>\n <z-tr>\n <z-th\n .sortDirection=${SortDirection.ASC}\n .showMenu=${VisibilityCondition.HOVER}\n .showSorting=${args.showSorting}\n >\n Colonna 1 con menu e sorting\n <div slot=\"contextual-menu\">Contenuto del popover</div>\n </z-th>\n <z-th>Colonna 2</z-th>\n <z-th\n .sortDirection=${SortDirection.DESC}\n .showSorting=${args.showSorting}\n >Colonna 3 con sorting</z-th\n >\n </z-tr>\n </z-thead>\n <z-tbody>${repeat([...new Array(3)], () => html`<z-tr>${cellsTemplate(3)}</z-tr>`)}</z-tbody>\n </z-table>`,\n};\n"]}
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZTbody {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'a23a8d2225c5872c1ad1f646944b3ad4ba79f5fd', role: "rowgroup" }, h("slot", { key: '984be981a195644ec52026d7cc012326480210a6' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-tbody"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,3 +20,4 @@ export class ZTbody {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/z-tbody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEjD;;;GAGG;AAMH,MAAM,OAAO,MAAM;IACjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU;YACnB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTbody {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -5,13 +5,10 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZTfoot {
|
|
7
7
|
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* If true, the footer will be stuck to the bottom of the table.
|
|
10
|
-
*/
|
|
11
8
|
this.sticky = false;
|
|
12
9
|
}
|
|
13
10
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'f8e7bef1397f6a4d7f776321421eb8f8c69ceb7d', role: "rowgroup", tabIndex: -1 }, h("slot", { key: 'd0e56e8d36cc4ca21d79b9d2a2546b19a0ac27e0' })));
|
|
15
12
|
}
|
|
16
13
|
static get is() { return "z-tfoot"; }
|
|
17
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,12 +38,11 @@ export class ZTfoot {
|
|
|
41
38
|
"tags": [],
|
|
42
39
|
"text": "If true, the footer will be stuck to the bottom of the table."
|
|
43
40
|
},
|
|
44
|
-
"getter": false,
|
|
45
|
-
"setter": false,
|
|
46
|
-
"reflect": true,
|
|
47
41
|
"attribute": "sticky",
|
|
42
|
+
"reflect": true,
|
|
48
43
|
"defaultValue": "false"
|
|
49
44
|
}
|
|
50
45
|
};
|
|
51
46
|
}
|
|
52
47
|
}
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/z-tfoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEvD;;;GAGG;AAMH,MAAM,OAAO,MAAM;;sBAKR,KAAK;;IAEd,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -5,17 +5,11 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZThead {
|
|
7
7
|
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* If true, the header will be stuck to the top of the table.
|
|
10
|
-
*/
|
|
11
8
|
this.sticky = false;
|
|
12
|
-
/**
|
|
13
|
-
* The element is focusable
|
|
14
|
-
*/
|
|
15
9
|
this.isFocusable = false;
|
|
16
10
|
}
|
|
17
11
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'd975481f3702161c0d76f42c47d6194c39d08f42', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: '97e675dc4bbefd4aac970d10dc4499c4bc80ac23' })));
|
|
19
13
|
}
|
|
20
14
|
static get is() { return "z-thead"; }
|
|
21
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,10 +39,8 @@ export class ZThead {
|
|
|
45
39
|
"tags": [],
|
|
46
40
|
"text": "If true, the header will be stuck to the top of the table."
|
|
47
41
|
},
|
|
48
|
-
"getter": false,
|
|
49
|
-
"setter": false,
|
|
50
|
-
"reflect": true,
|
|
51
42
|
"attribute": "sticky",
|
|
43
|
+
"reflect": true,
|
|
52
44
|
"defaultValue": "false"
|
|
53
45
|
},
|
|
54
46
|
"isFocusable": {
|
|
@@ -65,13 +57,12 @@ export class ZThead {
|
|
|
65
57
|
"tags": [],
|
|
66
58
|
"text": "The element is focusable"
|
|
67
59
|
},
|
|
68
|
-
"getter": false,
|
|
69
|
-
"setter": false,
|
|
70
|
-
"reflect": true,
|
|
71
60
|
"attribute": "is-focusable",
|
|
61
|
+
"reflect": true,
|
|
72
62
|
"defaultValue": "false"
|
|
73
63
|
}
|
|
74
64
|
};
|
|
75
65
|
}
|
|
76
66
|
static get elementRef() { return "host"; }
|
|
77
67
|
}
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/table/z-thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEhE;;;GAGG;AAMH,MAAM,OAAO,MAAM;;sBAOR,KAAK;2BAMA,KAAK;;IAEnB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnC,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Host, h
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { randomId } from "../../../utils/utils";
|
|
3
3
|
import "../cells/z-td/index";
|
|
4
4
|
import "../cells/z-th/index";
|
|
@@ -10,20 +10,9 @@ import "../cells/z-th/index";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ZTr {
|
|
12
12
|
constructor() {
|
|
13
|
-
/**
|
|
14
|
-
* Whether the row is expandable.
|
|
15
|
-
* Use a `z-td` as the last cell of the row for the additional content.
|
|
16
|
-
* It will show a button to expand/collapse the row.
|
|
17
|
-
* The last cell will be hidden until the button or row is clicked.
|
|
18
|
-
*
|
|
19
|
-
* If some element inside the expandable row contains the `prevent-expand` css class,
|
|
20
|
-
* the row will not expand by clicking that element.
|
|
21
|
-
*/
|
|
22
13
|
this.expandable = false;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the row is currently expanded.
|
|
25
|
-
*/
|
|
26
14
|
this.expanded = false;
|
|
15
|
+
this.expandableContentId = undefined;
|
|
27
16
|
}
|
|
28
17
|
updateColumns() {
|
|
29
18
|
const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
|
|
@@ -68,7 +57,7 @@ export class ZTr {
|
|
|
68
57
|
this.updateColumns();
|
|
69
58
|
}
|
|
70
59
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'c1edcb26241c7528d544f61ab75d2920b545e62d', role: "row", tabIndex: 0, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '8bb2db80cfdd9dd4065466a97381dfacd4ef5395', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '1ab915207f73524dc1dbffe3d79190ee4c177c62', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '419b53264646264a73687faa3ee007531e0c3ac9', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '048a03b706c82e5dfb2f55001b24864bf5bad97c', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'c44fd9d9808651d63d9eb5f25fe8a0c31faadfe8', onSlotchange: this.updateColumns.bind(this) })));
|
|
72
61
|
}
|
|
73
62
|
static get is() { return "z-tr"; }
|
|
74
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,10 +87,8 @@ export class ZTr {
|
|
|
98
87
|
"tags": [],
|
|
99
88
|
"text": "Whether the row is expandable.\nUse a `z-td` as the last cell of the row for the additional content.\nIt will show a button to expand/collapse the row.\nThe last cell will be hidden until the button or row is clicked.\n\nIf some element inside the expandable row contains the `prevent-expand` css class,\nthe row will not expand by clicking that element."
|
|
100
89
|
},
|
|
101
|
-
"getter": false,
|
|
102
|
-
"setter": false,
|
|
103
|
-
"reflect": true,
|
|
104
90
|
"attribute": "expandable",
|
|
91
|
+
"reflect": true,
|
|
105
92
|
"defaultValue": "false"
|
|
106
93
|
}
|
|
107
94
|
};
|
|
@@ -147,3 +134,4 @@ export class ZTr {
|
|
|
147
134
|
}];
|
|
148
135
|
}
|
|
149
136
|
}
|
|
137
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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ACf,MAAM,GACb;YACP,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,IAAI,CAClB,+DACE,QAAQ,EAAE,CAAC,CAAC,mBACG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,gBACnC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ;gBAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,GAAW,CAClE,CACV,CACG;YACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={0}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -18,29 +18,13 @@ import { AccordionVariant, ControlSize } from "../../beans";
|
|
|
18
18
|
*/
|
|
19
19
|
export class ZAccordion {
|
|
20
20
|
constructor() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*/
|
|
21
|
+
this.label = undefined;
|
|
22
|
+
this.icon = undefined;
|
|
24
23
|
this.size = ControlSize.BIG;
|
|
25
|
-
/**
|
|
26
|
-
* Disabled state of the accordion.
|
|
27
|
-
*/
|
|
28
24
|
this.isDisabled = false;
|
|
29
|
-
/**
|
|
30
|
-
* The open state of the accordion.
|
|
31
|
-
*/
|
|
32
25
|
this.open = false;
|
|
33
|
-
/**
|
|
34
|
-
* Enable highlight band on the `summary`'s left edge.
|
|
35
|
-
*/
|
|
36
26
|
this.highlight = false;
|
|
37
|
-
/**
|
|
38
|
-
* Accordion variant.
|
|
39
|
-
*/
|
|
40
27
|
this.variant = AccordionVariant.DEFAULT;
|
|
41
|
-
/**
|
|
42
|
-
* Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`.
|
|
43
|
-
*/
|
|
44
28
|
this.shadow = true;
|
|
45
29
|
this.hasSlottedTags = false;
|
|
46
30
|
}
|
|
@@ -71,7 +55,7 @@ export class ZAccordion {
|
|
|
71
55
|
this.checkSlottedTags();
|
|
72
56
|
}
|
|
73
57
|
render() {
|
|
74
|
-
return (h("details", { key: '
|
|
58
|
+
return (h("details", { key: 'f7e5933db8c37cfe6e39d2ff41a0d1611784e668', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '6109ae145d22b879326c0b6493886e8e93587157', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: 'aa81dc1a116fb11a36e3f3339e02f2206a0b1ce4', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: 'c7473044308125b98ec5df1774023b0bf51170bb', class: "z-accordion-label" }, this.label), this.hasSlottedTags && (h("span", { key: '1f991e11f91086616d7eb03ea6b4fdc8b8e6d424', class: "z-accordion-tags" }, h("slot", { key: '9d38da3a3809a5fbc5484b05f22a53fe4e448e76', name: "tag", onSlotchange: () => this.checkSlottedTags() }))), h("z-icon", { key: '248043a90d91b3fe718314f006aa2b2f32629b2c', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '815910f6f281bfe790576ffe4c179ad01a3b23ae', class: "z-accordion-content", part: "content" }, h("slot", { key: '8b7a54bbec50cc7c6034f184f08307f2697a39f3' })))));
|
|
75
59
|
}
|
|
76
60
|
static get is() { return "z-accordion"; }
|
|
77
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -101,10 +85,8 @@ export class ZAccordion {
|
|
|
101
85
|
"tags": [],
|
|
102
86
|
"text": "Text label."
|
|
103
87
|
},
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"reflect": false,
|
|
107
|
-
"attribute": "label"
|
|
88
|
+
"attribute": "label",
|
|
89
|
+
"reflect": false
|
|
108
90
|
},
|
|
109
91
|
"icon": {
|
|
110
92
|
"type": "string",
|
|
@@ -120,10 +102,8 @@ export class ZAccordion {
|
|
|
120
102
|
"tags": [],
|
|
121
103
|
"text": "Name of the z-icon to display before the label's text."
|
|
122
104
|
},
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"reflect": false,
|
|
126
|
-
"attribute": "icon"
|
|
105
|
+
"attribute": "icon",
|
|
106
|
+
"reflect": false
|
|
127
107
|
},
|
|
128
108
|
"size": {
|
|
129
109
|
"type": "string",
|
|
@@ -135,8 +115,7 @@ export class ZAccordion {
|
|
|
135
115
|
"ControlSize": {
|
|
136
116
|
"location": "import",
|
|
137
117
|
"path": "../../beans",
|
|
138
|
-
"id": "src/beans/index.tsx::ControlSize"
|
|
139
|
-
"referenceLocation": "ControlSize"
|
|
118
|
+
"id": "src/beans/index.tsx::ControlSize"
|
|
140
119
|
}
|
|
141
120
|
}
|
|
142
121
|
},
|
|
@@ -146,10 +125,8 @@ export class ZAccordion {
|
|
|
146
125
|
"tags": [],
|
|
147
126
|
"text": "Size of the component."
|
|
148
127
|
},
|
|
149
|
-
"getter": false,
|
|
150
|
-
"setter": false,
|
|
151
|
-
"reflect": true,
|
|
152
128
|
"attribute": "size",
|
|
129
|
+
"reflect": true,
|
|
153
130
|
"defaultValue": "ControlSize.BIG"
|
|
154
131
|
},
|
|
155
132
|
"isDisabled": {
|
|
@@ -166,10 +143,8 @@ export class ZAccordion {
|
|
|
166
143
|
"tags": [],
|
|
167
144
|
"text": "Disabled state of the accordion."
|
|
168
145
|
},
|
|
169
|
-
"getter": false,
|
|
170
|
-
"setter": false,
|
|
171
|
-
"reflect": true,
|
|
172
146
|
"attribute": "is-disabled",
|
|
147
|
+
"reflect": true,
|
|
173
148
|
"defaultValue": "false"
|
|
174
149
|
},
|
|
175
150
|
"open": {
|
|
@@ -186,10 +161,8 @@ export class ZAccordion {
|
|
|
186
161
|
"tags": [],
|
|
187
162
|
"text": "The open state of the accordion."
|
|
188
163
|
},
|
|
189
|
-
"getter": false,
|
|
190
|
-
"setter": false,
|
|
191
|
-
"reflect": true,
|
|
192
164
|
"attribute": "open",
|
|
165
|
+
"reflect": true,
|
|
193
166
|
"defaultValue": "false"
|
|
194
167
|
},
|
|
195
168
|
"highlight": {
|
|
@@ -206,10 +179,8 @@ export class ZAccordion {
|
|
|
206
179
|
"tags": [],
|
|
207
180
|
"text": "Enable highlight band on the `summary`'s left edge."
|
|
208
181
|
},
|
|
209
|
-
"getter": false,
|
|
210
|
-
"setter": false,
|
|
211
|
-
"reflect": true,
|
|
212
182
|
"attribute": "highlight",
|
|
183
|
+
"reflect": true,
|
|
213
184
|
"defaultValue": "false"
|
|
214
185
|
},
|
|
215
186
|
"variant": {
|
|
@@ -222,8 +193,7 @@ export class ZAccordion {
|
|
|
222
193
|
"AccordionVariant": {
|
|
223
194
|
"location": "import",
|
|
224
195
|
"path": "../../beans",
|
|
225
|
-
"id": "src/beans/index.tsx::AccordionVariant"
|
|
226
|
-
"referenceLocation": "AccordionVariant"
|
|
196
|
+
"id": "src/beans/index.tsx::AccordionVariant"
|
|
227
197
|
}
|
|
228
198
|
}
|
|
229
199
|
},
|
|
@@ -233,10 +203,8 @@ export class ZAccordion {
|
|
|
233
203
|
"tags": [],
|
|
234
204
|
"text": "Accordion variant."
|
|
235
205
|
},
|
|
236
|
-
"getter": false,
|
|
237
|
-
"setter": false,
|
|
238
|
-
"reflect": true,
|
|
239
206
|
"attribute": "variant",
|
|
207
|
+
"reflect": true,
|
|
240
208
|
"defaultValue": "AccordionVariant.DEFAULT"
|
|
241
209
|
},
|
|
242
210
|
"shadow": {
|
|
@@ -253,10 +221,8 @@ export class ZAccordion {
|
|
|
253
221
|
"tags": [],
|
|
254
222
|
"text": "Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`."
|
|
255
223
|
},
|
|
256
|
-
"getter": false,
|
|
257
|
-
"setter": false,
|
|
258
|
-
"reflect": true,
|
|
259
224
|
"attribute": "shadow",
|
|
225
|
+
"reflect": true,
|
|
260
226
|
"defaultValue": "true"
|
|
261
227
|
}
|
|
262
228
|
};
|
|
@@ -292,3 +258,4 @@ export class ZAccordion {
|
|
|
292
258
|
}];
|
|
293
259
|
}
|
|
294
260
|
}
|
|
261
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-accordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAE1D;;;;;;;;;;;;;;;GAeG;AAMH,MAAM,OAAO,UAA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I,GACf,CACH;gBACD,6DAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,KAAK,CAAQ;gBAClD,IAAI,CAAC,cAAc,IAAI,CACtB,6DAAM,KAAK,EAAC,kBAAkB;oBAC5B,6DACE,IAAI,EAAC,KAAK,EACV,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAC3C,CACG,CACR;gBACD,+DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,GAC/C,CACM;YACT,CAAC,IAAI,CAAC,UAAU,IAAI,CACnB,4DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,SAAS;gBAEd,8DAAQ,CACJ,CACP,CACO,CACX,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Prop, State, Watch, h} from \"@stencil/core\";\nimport {AccordionVariant, ControlSize} from \"../../beans\";\n\n/**\n * Accordion component.\n *\n * @slot - Slot for the main content.\n * @slot tag - Slot for tags.\n * @cssprop --z-accordion-highlight-color - Color of the highlight band on the summary's left edge. Only applies when `highlight` is true. Default: `transparent`.\n * @cssprop --z-accordion-bg - Background color of the summary. Default: `--color-surface02`.\n * @cssprop --z-accordion-label-color - Label color. Default: `--color-default-text`.\n * @cssprop --z-accordion-disabled-label-color - Label color when disabled. Default: `--color-text03`.\n * @cssprop --z-accordion-content-bg - Background color of the accordion. Default: `--color-surface02`.\n * @cssprop --z-accordion-content-fg - Content text color. Default: `--color-default-text`.\n * @cssprop --z-accordion-hover-color - Hover color of the summary. Default: `--color-surface03`.\n * @cssprop --z-accordion-left-padding - Left padding of the summary. Default: `--space-unit` * 2.\n * @cssprop --z-accordion-right-padding - Right padding of the summary. Default: `--space-unit`.\n * @cssprop --z-accordion-label-font-weight - Font weight of the summary label. Default: `--font-sb`.\n */\n@Component({\n tag: \"z-accordion\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAccordion {\n @Element() host: HTMLZAccordionElement;\n\n /**\n * Text label.\n */\n @Prop()\n label: string;\n\n /**\n * Name of the z-icon to display before the label's text.\n */\n @Prop()\n icon: string;\n\n /**\n * Size of the component.\n */\n @Prop({reflect: true})\n size = ControlSize.BIG;\n\n /**\n * Disabled state of the accordion.\n */\n @Prop({reflect: true})\n isDisabled = false;\n\n /**\n * The open state of the accordion.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Enable highlight band on the `summary`'s left edge.\n */\n @Prop({reflect: true})\n highlight = false;\n\n /**\n * Accordion variant.\n */\n @Prop({reflect: true})\n variant: AccordionVariant = AccordionVariant.DEFAULT;\n\n /**\n * Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`.\n */\n @Prop({reflect: true})\n shadow = true;\n\n @State()\n private hasSlottedTags = false;\n\n /**\n * Event fired when the accordion is toggled.\n */\n @Event()\n toggled: EventEmitter<boolean>;\n\n @Watch(\"isDisabled\")\n protected onDisabledChange(): void {\n if (this.isDisabled) {\n this.open = false;\n }\n }\n\n private detailsElm: HTMLDetailsElement;\n\n /** Check if there is any content in the \"tag\" slot. */\n private checkSlottedTags(): void {\n this.hasSlottedTags = !!this.host.querySelector('[slot=\"tag\"]');\n }\n\n /**\n * Handle `details` element toggle.\n * If currently disabled, prevent toggling by forcing the `open` state to `false`.\n * Unfortunately the \"toggle\" event is not cancelable and when catched, the `open` state is already changed.\n */\n private onDetailsToggle(): void {\n if (this.isDisabled) {\n this.open = false;\n this.detailsElm.open = false;\n\n return;\n }\n\n this.open = this.detailsElm.open;\n this.toggled.emit(this.open);\n }\n\n componentWillLoad(): void {\n this.checkSlottedTags();\n }\n\n render(): HTMLDetailsElement {\n return (\n <details\n ref={(elm: HTMLDetailsElement) => (this.detailsElm = elm)}\n onToggle={this.onDetailsToggle.bind(this)}\n open={this.open}\n >\n <summary\n tabIndex={this.isDisabled ? -1 : null}\n part=\"summary\"\n >\n {this.icon && (\n <z-icon\n class=\"z-accordion-label-icon\"\n name={this.icon}\n />\n )}\n <span class=\"z-accordion-label\">{this.label}</span>\n {this.hasSlottedTags && (\n <span class=\"z-accordion-tags\">\n <slot\n name=\"tag\"\n onSlotchange={() => this.checkSlottedTags()}\n />\n </span>\n )}\n <z-icon\n class=\"z-accordion-chevron\"\n name={this.open ? \"chevron-up\" : \"chevron-down\"}\n />\n </summary>\n {!this.isDisabled && (\n <div\n class=\"z-accordion-content\"\n part=\"content\"\n >\n <slot />\n </div>\n )}\n </details>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-accordion/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAsB,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAC,KAAK,EAAC,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAmB,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACrF,OAAO,gBAAgB,CAAC;AACxB,OAAO,SAAS,CAAC;AAEjB,MAAM,YAAY,GAAG;IACnB,kBAAkB,EAAE,sBAAsB,CAAC,IAAI,CAAC;IAChD,2BAA2B,EAAE,sBAAsB,CAAC,IAAI,CAAC;IACzD,oCAAoC,kCAC/B,sBAAsB,CAAC,IAAI,CAAC,KAC/B,EAAE,EAAE;YACF,GAAG,EAAE,YAAY;YACjB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0BAA0B,CAAC;QAC5D,0BAA0B,EAAE,IAAI,CAAC,0BAA0B,CAAC;QAC5D,2BAA2B,EAAE,IAAI,CAAC,2BAA2B,CAAC;QAC9D,6BAA6B,EAAE,IAAI,CAAC,6BAA6B,CAAC;QAClE,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,iCAAiC,EAAE,IAAI,CAAC,iCAAiC,CAAC;KAC3E,CAAC;;;;;;;;;;;GAWL;CACc,CAAC","sourcesContent":["import {Args, Meta, StoryObj} from \"@storybook/web-components\";\nimport {html, type TemplateResult} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {type ZAccordion} from \".\";\nimport {AccordionVariant, ControlSize} from \"../../beans\";\nimport {ICONS} from \"../../constants/iconset\";\nimport {CSSVarsArguments, getColorTokenArgConfig} from \"../../utils/storybook-utils\";\nimport \"../z-tag/index\";\nimport \"./index\";\n\nconst cssPropsArgs = {\n \"--z-accordion-bg\": getColorTokenArgConfig(true),\n \"--z-accordion-label-color\": getColorTokenArgConfig(true),\n \"--z-accordion-disabled-label-color\": {\n ...getColorTokenArgConfig(true),\n if: {\n arg: \"isDisabled\",\n truthy: true,\n },\n },\n \"--z-accordion-content-bg\": getColorTokenArgConfig(true),\n \"--z-accordion-content-fg\": getColorTokenArgConfig(true),\n \"--z-accordion-hover-color\": getColorTokenArgConfig(true),\n \"--z-accordion-highlight-color\": {\n ...getColorTokenArgConfig(true),\n if: {\n arg: \"highlight\",\n truthy: true,\n },\n },\n} as const;\n\ntype ZAccordionStoriesArgs = ZAccordion &\n CSSVarsArguments<\n | keyof typeof cssPropsArgs\n | `z-accordion-${\"left\" | \"right\"}-padding`\n | \"z-accordion-label-font-weight\"\n | `z-accordion-highlight-color${number | undefined}`\n >;\n\n/**\n * To add the highlight band on the left, set the `highlight` property to `true` then set the `--z-accordion-highlight-color` CSS variable to the desired color.\n */\nconst StoryMeta = {\n title: \"ZAccordion\",\n component: \"z-accordion\",\n argTypes: {\n ...cssPropsArgs,\n icon: {\n options: [null, ...Object.keys(ICONS).sort()],\n control: {\n type: \"select\",\n labels: {\n null: \"—\",\n },\n },\n },\n shadow: {\n if: {\n arg: \"variant\",\n eq: AccordionVariant.BACKGROUND,\n },\n },\n size: {\n options: Object.values(ControlSize),\n control: {\n type: \"inline-radio\",\n },\n },\n variant: {\n options: Object.values(AccordionVariant),\n control: {\n type: \"inline-radio\",\n },\n },\n },\n args: {\n \"--z-accordion-bg\": null,\n \"--z-accordion-label-color\": null,\n \"--z-accordion-disabled-label-color\": null,\n \"--z-accordion-content-bg\": null,\n \"--z-accordion-content-fg\": null,\n \"--z-accordion-hover-color\": null,\n \"--z-accordion-highlight-color\": \"var(--color-primary01)\",\n \"--z-accordion-right-padding\": \"var(--space-unit)\",\n \"--z-accordion-left-padding\": \"calc(var(--space-unit) * 2)\",\n \"--z-accordion-label-font-weight\": \"var(--font-sb)\",\n \"highlight\": false,\n \"icon\": null,\n \"isDisabled\": false,\n \"label\": \"Text label\",\n \"open\": false,\n \"shadow\": true,\n \"size\": ControlSize.BIG,\n \"variant\": AccordionVariant.DEFAULT,\n },\n render: (args: Args): TemplateResult =>\n html`<z-accordion\n .highlight=${args.highlight}\n .icon=${args.icon}\n .isDisabled=${args.isDisabled}\n .open=${args.open}\n .shadow=${args.shadow}\n label=${args.label}\n size=${args.size}\n variant=${args.variant}\n style=${styleMap({\n \"--z-accordion-highlight-color\": args[\"--z-accordion-highlight-color\"],\n \"--z-accordion-bg\": args[\"--z-accordion-bg\"],\n \"--z-accordion-label-color\": args[\"--z-accordion-label-color\"],\n \"--z-accordion-disabled-label-color\": args[\"--z-accordion-disabled-label-color\"],\n \"--z-accordion-content-bg\": args[\"--z-accordion-content-bg\"],\n \"--z-accordion-content-fg\": args[\"--z-accordion-content-fg\"],\n \"--z-accordion-hover-color\": args[\"--z-accordion-hover-color\"],\n \"--z-accordion-right-padding\": args[\"--z-accordion-right-padding\"],\n \"--z-accordion-left-padding\": args[\"--z-accordion-left-padding\"],\n \"--z-accordion-label-font-weight\": args[\"--z-accordion-label-font-weight\"],\n })}\n >\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede,\n qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero\n sum nescius esse utilitatem in historia, non modo voluptatem.\n </z-accordion>`,\n} satisfies Meta<ZAccordionStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZAccordionStoriesArgs>;\n\nexport const Default = {};\n\n/**\n * When multiple `ZAccordion`s are placed in stack, the style is automatically optimized through global styles.\n */\nexport const Stack = {\n argTypes: {\n \"--z-accordion-highlight-color2\": cssPropsArgs[\"--z-accordion-highlight-color\"],\n \"--z-accordion-highlight-color3\": cssPropsArgs[\"--z-accordion-highlight-color\"],\n \"--z-accordion-highlight-color4\": cssPropsArgs[\"--z-accordion-highlight-color\"],\n },\n args: {\n \"--z-accordion-highlight-color2\": \"var(--color-primary01)\",\n \"--z-accordion-highlight-color3\": \"var(--color-primary01)\",\n \"--z-accordion-highlight-color4\": \"var(--color-primary01)\",\n },\n parameters: {\n controls: {\n exclude: [\"open\"],\n },\n },\n render: (args) =>\n html`${[\n StoryMeta.render(args),\n StoryMeta.render({\n ...args,\n \"--z-accordion-highlight-color\": args[\"--z-accordion-highlight-color2\"],\n }),\n StoryMeta.render({\n ...args,\n \"--z-accordion-highlight-color\": args[\"--z-accordion-highlight-color3\"],\n }),\n StoryMeta.render({\n ...args,\n \"--z-accordion-highlight-color\": args[\"--z-accordion-highlight-color4\"],\n }),\n ]}`,\n} satisfies Story;\n\nexport const WithTags = {\n render: (args) => html`\n <z-accordion\n .highlight=${args.highlight}\n .icon=${args.icon}\n .isDisabled=${args.isDisabled}\n .open=${args.open}\n .shadow=${args.shadow}\n label=${args.label}\n size=${args.size}\n variant=${args.variant}\n style=${styleMap({\n \"--z-accordion-highlight-color\": args[\"--z-accordion-highlight-color\"],\n \"--z-accordion-bg\": args[\"--z-accordion-bg\"],\n \"--z-accordion-label-color\": args[\"--z-accordion-label-color\"],\n \"--z-accordion-disabled-label-color\": args[\"--z-accordion-disabled-label-color\"],\n \"--z-accordion-content-bg\": args[\"--z-accordion-content-bg\"],\n \"--z-accordion-content-fg\": args[\"--z-accordion-content-fg\"],\n \"--z-accordion-hover-color\": args[\"--z-accordion-hover-color\"],\n \"--z-accordion-right-padding\": args[\"--z-accordion-right-padding\"],\n \"--z-accordion-left-padding\": args[\"--z-accordion-left-padding\"],\n \"--z-accordion-label-font-weight\": args[\"--z-accordion-label-font-weight\"],\n })}\n >\n <z-tag slot=\"tag\">Tag 1</z-tag>\n <z-tag slot=\"tag\">Tag 2</z-tag>\n <z-tag slot=\"tag\">Tag 3</z-tag>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede,\n qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero\n sum nescius esse utilitatem in historia, non modo voluptatem.\n </z-accordion>\n `,\n} satisfies Story;\n"]}
|
|
@@ -17,30 +17,10 @@ import { ButtonVariant, ControlSize } from "../../beans";
|
|
|
17
17
|
*/
|
|
18
18
|
export class ZAnchorNavigation {
|
|
19
19
|
constructor() {
|
|
20
|
-
/**
|
|
21
|
-
* If enabled, the text of each anchor will be hidden unless
|
|
22
|
-
* for the current one or the one the user is hovering.
|
|
23
|
-
*/
|
|
24
20
|
this.hideUnselected = false;
|
|
25
|
-
/**
|
|
26
|
-
* Enables automatic inference of the current item, listening for hash change
|
|
27
|
-
* and checking the `href` of the slotted anchors.
|
|
28
|
-
* When disabled, the highlight of current item must be handled manually by setting the `data-current`
|
|
29
|
-
* attribute to the correct slotted items and the `aria-current` attribute to the anchors.
|
|
30
|
-
*/
|
|
31
21
|
this.autoCurrent = true;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the label of the button displayed on mobile viewport when the anchor navigation is collapsed
|
|
34
|
-
*/
|
|
35
22
|
this.collapsedLabel = "salta a";
|
|
36
|
-
/**
|
|
37
|
-
* Explicitly collapse anchor navigation.
|
|
38
|
-
* If false will collapse automatically only on mobile.
|
|
39
|
-
*/
|
|
40
23
|
this.isCollapsed = false;
|
|
41
|
-
/**
|
|
42
|
-
* Whether the mobile list is collapsed.
|
|
43
|
-
*/
|
|
44
24
|
this.collapsed = false;
|
|
45
25
|
}
|
|
46
26
|
/**
|
|
@@ -71,7 +51,7 @@ export class ZAnchorNavigation {
|
|
|
71
51
|
window.removeEventListener("hashchange", this.setCurrent);
|
|
72
52
|
}
|
|
73
53
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'd019c9a42fbdf7987ad2115fac3803e35e2c838a', collapsed: this.collapsed, class: "z-scrollbar" }, h("z-button", { key: 'cca133f6627d30ef523923dd288c351fe73a37d8', class: "toggle", size: ControlSize.SMALL, variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: 'ae497ef7b0c4a54445aadadf90c5e2e0119a2d11', ref: (el) => (this.nav = el) }, h("slot", { key: 'b0aad81924302ff9b73ac6a8fceaa07a7aefac13' }))));
|
|
75
55
|
}
|
|
76
56
|
static get is() { return "z-anchor-navigation"; }
|
|
77
57
|
static get originalStyleUrls() {
|
|
@@ -100,10 +80,8 @@ export class ZAnchorNavigation {
|
|
|
100
80
|
"tags": [],
|
|
101
81
|
"text": "If enabled, the text of each anchor will be hidden unless\nfor the current one or the one the user is hovering."
|
|
102
82
|
},
|
|
103
|
-
"getter": false,
|
|
104
|
-
"setter": false,
|
|
105
|
-
"reflect": true,
|
|
106
83
|
"attribute": "hide-unselected",
|
|
84
|
+
"reflect": true,
|
|
107
85
|
"defaultValue": "false"
|
|
108
86
|
},
|
|
109
87
|
"autoCurrent": {
|
|
@@ -120,10 +98,8 @@ export class ZAnchorNavigation {
|
|
|
120
98
|
"tags": [],
|
|
121
99
|
"text": "Enables automatic inference of the current item, listening for hash change\nand checking the `href` of the slotted anchors.\nWhen disabled, the highlight of current item must be handled manually by setting the `data-current`\nattribute to the correct slotted items and the `aria-current` attribute to the anchors."
|
|
122
100
|
},
|
|
123
|
-
"getter": false,
|
|
124
|
-
"setter": false,
|
|
125
|
-
"reflect": false,
|
|
126
101
|
"attribute": "auto-current",
|
|
102
|
+
"reflect": false,
|
|
127
103
|
"defaultValue": "true"
|
|
128
104
|
},
|
|
129
105
|
"collapsedLabel": {
|
|
@@ -140,10 +116,8 @@ export class ZAnchorNavigation {
|
|
|
140
116
|
"tags": [],
|
|
141
117
|
"text": "Sets the label of the button displayed on mobile viewport when the anchor navigation is collapsed"
|
|
142
118
|
},
|
|
143
|
-
"getter": false,
|
|
144
|
-
"setter": false,
|
|
145
|
-
"reflect": false,
|
|
146
119
|
"attribute": "collapsed-label",
|
|
120
|
+
"reflect": false,
|
|
147
121
|
"defaultValue": "\"salta a\""
|
|
148
122
|
},
|
|
149
123
|
"isCollapsed": {
|
|
@@ -160,10 +134,8 @@ export class ZAnchorNavigation {
|
|
|
160
134
|
"tags": [],
|
|
161
135
|
"text": "Explicitly collapse anchor navigation.\nIf false will collapse automatically only on mobile."
|
|
162
136
|
},
|
|
163
|
-
"getter": false,
|
|
164
|
-
"setter": false,
|
|
165
|
-
"reflect": true,
|
|
166
137
|
"attribute": "is-collapsed",
|
|
138
|
+
"reflect": true,
|
|
167
139
|
"defaultValue": "false"
|
|
168
140
|
}
|
|
169
141
|
};
|
|
@@ -175,3 +147,4 @@ export class ZAnchorNavigation {
|
|
|
175
147
|
}
|
|
176
148
|
static get elementRef() { return "host"; }
|
|
177
149
|
}
|
|
150
|
+
//# sourceMappingURL=index.js.map
|