@zanichelli/albe-web-components 19.3.0-rc1 → 19.4.0
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 +89 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +3 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
- package/dist/cjs/breakpoints-B7vFm-3T.js +3 -0
- package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
- package/dist/cjs/iconset-Cz-UsfoU.js +1030 -0
- package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
- package/dist/cjs/index-CZz7uP-M.js +2727 -0
- package/dist/cjs/index-CZz7uP-M.js.map +1 -0
- package/dist/cjs/index-Cn7FFDHr.js +415 -0
- package/dist/cjs/index-Cn7FFDHr.js.map +1 -0
- package/dist/cjs/index.cjs.js +10 -3
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -2
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/reactive-controller-BBJFF12W.js +1446 -0
- package/dist/cjs/reactive-controller-BBJFF12W.js.map +1 -0
- package/dist/cjs/utils-By4U4KkV.js +2721 -0
- package/dist/cjs/utils-By4U4KkV.js.map +1 -0
- package/dist/cjs/utils-kQZHfpti.js +919 -0
- package/dist/cjs/utils-kQZHfpti.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +5 -2
- package/dist/cjs/web-components-library.cjs.js.map +1 -0
- package/dist/cjs/z-accordion.cjs.entry.js +6 -3
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/z-alert.cjs.entry.js +5 -2
- package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +7 -4
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +6 -3
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +101 -135
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +6 -3
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-avatar.cjs.entry.js +7 -4
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-app.cjs.entry.js +6 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +7 -4
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card.cjs.entry.js +6 -3
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-cover.cjs.entry.js +5 -2
- package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +8 -5
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -2
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
- package/dist/cjs/z-card.cjs.entry.js +5 -2
- package/dist/cjs/z-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-carousel.cjs.entry.js +6 -3
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/z-chip.cjs.entry.js +7 -4
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-color-picker.cjs.entry.js +7 -4
- package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-combobox.cjs.entry.js +21 -15
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +7 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +7 -4
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +25 -41
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +7 -4
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file.cjs.entry.js +6 -3
- package/dist/cjs/z-file.cjs.entry.js.map +1 -0
- package/dist/cjs/z-ghost-loading.cjs.entry.js +5 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-box.cjs.entry.js +5 -2
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-reveal.cjs.entry.js +6 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
- package/dist/cjs/z-input-range.cjs.entry.js +145 -0
- package/dist/cjs/z-input-range.cjs.entry.js.map +1 -0
- package/dist/cjs/z-logo.cjs.entry.js +6 -3
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +6 -3
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +5 -2
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +6 -3
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu.cjs.entry.js +6 -3
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +5 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +5 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-info.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js +5 -2
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -6
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list.cjs.entry.js +5 -2
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/z-notification.cjs.entry.js +5 -2
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-otp.cjs.entry.js +7 -4
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
- package/dist/cjs/z-pagination.cjs.entry.js +5 -2
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/z-panel-elem.cjs.entry.js +6 -3
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
- package/dist/cjs/z-popover.cjs.entry.js +7 -4
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-range-picker.cjs.entry.js +9 -6
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-result-card.cjs.entry.js +5 -2
- package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-section-title.cjs.entry.js +6 -3
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
- package/dist/cjs/z-select.cjs.entry.js +13 -14
- package/dist/cjs/z-select.cjs.entry.js.map +1 -0
- package/dist/cjs/z-skip-to-content.cjs.entry.js +7 -4
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +6 -3
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +5 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper.cjs.entry.js +5 -2
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/z-table.cjs.entry.js +11 -6
- package/dist/cjs/z-table.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tbody.cjs.entry.js +9 -4
- package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
- package/dist/cjs/z-td.cjs.entry.js +10 -5
- package/dist/cjs/z-td.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +9 -4
- package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
- package/dist/cjs/z-th.cjs.entry.js +11 -6
- package/dist/cjs/z-th.cjs.entry.js.map +1 -0
- package/dist/cjs/z-thead.cjs.entry.js +9 -4
- package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +6 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +8 -5
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-button.cjs.entry.js +6 -3
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-switch.cjs.entry.js +9 -6
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tool.cjs.entry.js +8 -5
- package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toolbar.cjs.entry.js +6 -3
- package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +6 -3
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tr.cjs.entry.js +13 -11
- package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tree-list.cjs.entry.js +6 -3
- package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +5 -2
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
- package/dist/collection/beans/index.js +6 -0
- package/dist/collection/beans/index.js.map +1 -0
- package/dist/collection/collection-manifest.json +12 -11
- package/dist/collection/components/book-card/z-book-card/index.js +2 -8
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
- package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +2 -3
- 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/styles.css +4 -0
- package/dist/collection/components/css-components/z-table/styles.css +79 -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 +2 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +4 -3
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +2 -54
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +2 -5
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +2 -2
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +2 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/index.js +2 -2
- package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +3 -2
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file/index.js +2 -1
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +3 -2
- package/dist/collection/components/file-upload/z-file-upload/index.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 +2 -1
- package/dist/collection/components/list/z-list/index.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.js +2 -1
- package/dist/collection/components/list/z-list-element/index.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.js +3 -2
- package/dist/collection/components/list/z-list-group/index.js.map +1 -0
- package/dist/collection/components/list/z-tree-list/index.js +2 -1
- package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-table-cells.css +0 -1
- package/dist/collection/components/table/cells/z-td/index.js +4 -3
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-th/index.js +4 -3
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-th/styles.css +0 -4
- package/dist/collection/components/table/z-table/index.js +4 -4
- package/dist/collection/components/table/z-table/index.js.map +1 -0
- package/dist/collection/components/table/z-table/styles.css +3 -6
- package/dist/collection/components/table/z-tbody/index.js +4 -3
- package/dist/collection/components/table/z-tbody/index.js.map +1 -0
- package/dist/collection/components/table/z-tfoot/index.js +4 -3
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
- package/dist/collection/components/table/z-tfoot/styles.css +1 -2
- package/dist/collection/components/table/z-thead/index.js +4 -3
- package/dist/collection/components/table/z-thead/index.js.map +1 -0
- package/dist/collection/components/table/z-thead/styles.css +0 -4
- package/dist/collection/components/table/z-tr/index.js +6 -8
- package/dist/collection/components/table/z-tr/index.js.map +1 -0
- package/dist/collection/components/table/z-tr/styles.css +13 -15
- package/dist/collection/components/z-accordion/index.js +4 -11
- package/dist/collection/components/z-accordion/index.js.map +1 -0
- package/dist/collection/components/z-accordion/styles.css +12 -0
- package/dist/collection/components/z-anchor-navigation/index.js +4 -3
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
- package/dist/collection/components/z-app-header/index.js +22 -8
- package/dist/collection/components/z-app-header/index.js.map +1 -0
- package/dist/collection/components/z-app-header/styles.css +12 -12
- package/dist/collection/components/z-aria-alert/index.js +2 -1
- package/dist/collection/components/z-aria-alert/index.js.map +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -2
- package/dist/collection/components/z-avatar/index.js.map +1 -0
- package/dist/collection/components/z-book-cover/index.js +2 -5
- package/dist/collection/components/z-book-cover/index.js.map +1 -0
- package/dist/collection/components/z-book-cover/styles.css +6 -0
- package/dist/collection/components/z-breadcrumb/index.js +3 -2
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
- package/dist/collection/components/z-button/index.js +3 -2
- package/dist/collection/components/z-button/index.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.js +2 -1
- package/dist/collection/components/z-button-sort/index.js.map +1 -0
- package/dist/collection/components/z-card/index.js +2 -8
- package/dist/collection/components/z-card/index.js.map +1 -0
- package/dist/collection/components/z-card/styles.css +9 -0
- package/dist/collection/components/z-carousel/index.js +1 -2
- package/dist/collection/components/z-carousel/index.js.map +1 -0
- package/dist/collection/components/z-carousel/styles.css +7 -3
- package/dist/collection/components/z-chip/index.js +3 -2
- package/dist/collection/components/z-chip/index.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.js +2 -1
- package/dist/collection/components/z-color-picker/index.js.map +1 -0
- package/dist/collection/components/z-combobox/index.js +17 -13
- package/dist/collection/components/z-combobox/index.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.js +3 -5
- package/dist/collection/components/z-cover-hero/index.js.map +1 -0
- package/dist/collection/components/z-cover-hero/styles.css +5 -0
- package/dist/collection/components/z-divider/index.js +2 -1
- package/dist/collection/components/z-divider/index.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-icon/index.js +32 -2
- package/dist/collection/components/z-icon/index.js.map +1 -0
- package/dist/collection/components/z-info-box/index.js +2 -1
- package/dist/collection/components/z-info-box/index.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.js +2 -5
- package/dist/collection/components/z-info-reveal/index.js.map +1 -0
- package/dist/collection/components/z-info-reveal/styles.css +7 -1
- package/dist/collection/components/z-input/index.js +51 -30
- package/dist/collection/components/z-input/index.js.map +1 -0
- package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -0
- package/dist/collection/components/z-input/styles-text.css +5 -0
- package/dist/collection/components/z-input-message/index.js +2 -1
- package/dist/collection/components/z-input-message/index.js.map +1 -0
- package/dist/collection/components/z-input-range/index.js +438 -0
- package/dist/collection/components/z-input-range/index.js.map +1 -0
- package/dist/collection/components/z-input-range/styles.css +262 -0
- package/dist/collection/components/z-logo/index.js +2 -1
- package/dist/collection/components/z-logo/index.js.map +1 -0
- package/dist/collection/components/z-logo/styles.css +5 -0
- package/dist/collection/components/z-menu/index.js +1 -1
- package/dist/collection/components/z-menu/index.js.map +1 -0
- package/dist/collection/components/z-menu/styles.css +3 -0
- package/dist/collection/components/z-menu-section/index.js +2 -1
- package/dist/collection/components/z-menu-section/index.js.map +1 -0
- package/dist/collection/components/z-modal/index.js +17 -37
- package/dist/collection/components/z-modal/index.js.map +1 -0
- package/dist/collection/components/z-modal/styles.css +5 -2
- package/dist/collection/components/z-navigation-tabs/index.js +3 -4
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
- package/dist/collection/components/z-notification/index.js +2 -4
- package/dist/collection/components/z-notification/index.js.map +1 -0
- package/dist/collection/components/z-notification/styles.css +5 -0
- package/dist/collection/components/z-offcanvas/index.js +43 -119
- package/dist/collection/components/z-offcanvas/index.js.map +1 -0
- package/dist/collection/components/z-offcanvas/styles.css +6 -0
- package/dist/collection/components/z-pagination/index.js +1 -2
- package/dist/collection/components/z-pagination/index.js.map +1 -0
- package/dist/collection/components/z-pagination/styles.css +6 -0
- package/dist/collection/components/z-panel-elem/index.js +3 -2
- package/dist/collection/components/z-panel-elem/index.js.map +1 -0
- package/dist/collection/components/z-popover/index.js +2 -6
- package/dist/collection/components/z-popover/index.js.map +1 -0
- package/dist/collection/components/z-popover/styles.css +6 -0
- package/dist/collection/components/z-result-card/index.js +1 -0
- package/dist/collection/components/z-result-card/index.js.map +1 -0
- package/dist/collection/components/z-result-card/styles.css +8 -5
- package/dist/collection/components/z-searchbar/index.js +4 -8
- package/dist/collection/components/z-searchbar/index.js.map +1 -0
- package/dist/collection/components/z-searchbar/styles.css +5 -0
- package/dist/collection/components/z-select/index.js +9 -12
- package/dist/collection/components/z-select/index.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.js +2 -1
- package/dist/collection/components/z-skip-to-content/index.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-item/index.js +2 -1
- package/dist/collection/components/z-stepper-item/index.js.map +1 -0
- package/dist/collection/components/z-tag/index.js +3 -4
- package/dist/collection/components/z-tag/index.js.map +1 -0
- package/dist/collection/components/z-tag/styles.css +5 -0
- package/dist/collection/components/z-toast-notification/index.js +4 -3
- package/dist/collection/components/z-toast-notification/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.js +2 -1
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.js +3 -2
- package/dist/collection/components/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.js +4 -3
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
- package/dist/collection/components/z-tool/index.js +4 -3
- package/dist/collection/components/z-tool/index.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.js +2 -2
- package/dist/collection/components/z-toolbar/index.js.map +1 -0
- package/dist/collection/components/z-toolbar/styles.css +4 -0
- package/dist/collection/components/z-tooltip/index.js +2 -5
- package/dist/collection/components/z-tooltip/index.js.map +1 -0
- package/dist/collection/components/z-tooltip/styles.css +6 -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/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 +7 -6
- 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 +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +2 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -2
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
- package/dist/collection/utils/focus-trap-controller.js +100 -0
- package/dist/collection/utils/focus-trap-controller.js.map +1 -0
- package/dist/collection/utils/reactive-controller.js +46 -0
- package/dist/collection/utils/reactive-controller.js.map +1 -0
- package/dist/collection/utils/storybook-utils.js +8 -0
- package/dist/collection/utils/storybook-utils.js.map +1 -0
- package/dist/collection/utils/utils.js +65 -1
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +2 -1
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/breakpoints.js +2 -1
- package/dist/components/breakpoints.js.map +1 -0
- package/dist/components/iconset.js +2 -1
- package/dist/components/iconset.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -0
- package/dist/components/index10.js +2 -1
- package/dist/components/index10.js.map +1 -0
- package/dist/components/index11.js +2 -1
- package/dist/components/index11.js.map +1 -0
- package/dist/components/index12.js +2 -1
- package/dist/components/index12.js.map +1 -0
- package/dist/components/index13.js +2 -1
- package/dist/components/index13.js.map +1 -0
- package/dist/components/index14.js +2 -1
- package/dist/components/index14.js.map +1 -0
- package/dist/components/index15.js +2 -1
- package/dist/components/index15.js.map +1 -0
- package/dist/components/index16.js +2 -1
- package/dist/components/index16.js.map +1 -0
- package/dist/components/index17.js +2 -1
- package/dist/components/index17.js.map +1 -0
- package/dist/components/index18.js +2 -1
- package/dist/components/index18.js.map +1 -0
- package/dist/components/index19.js +2 -1
- package/dist/components/index19.js.map +1 -0
- package/dist/components/index2.js +2 -1
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index20.js +2 -1
- package/dist/components/index20.js.map +1 -0
- package/dist/components/index21.js +2 -1
- package/dist/components/index21.js.map +1 -0
- package/dist/components/index22.js +2 -1
- package/dist/components/index22.js.map +1 -0
- package/dist/components/index23.js +2 -1
- package/dist/components/index23.js.map +1 -0
- package/dist/components/index24.js +2 -1
- package/dist/components/index24.js.map +1 -0
- package/dist/components/index25.js +2 -1
- package/dist/components/index25.js.map +1 -0
- package/dist/components/index26.js +2 -1
- package/dist/components/index26.js.map +1 -0
- package/dist/components/index27.js +2 -1
- package/dist/components/index27.js.map +1 -0
- package/dist/components/index3.js +2 -1
- package/dist/components/index3.js.map +1 -0
- package/dist/components/index4.js +2 -1
- package/dist/components/index4.js.map +1 -0
- package/dist/components/index5.js +2 -1
- package/dist/components/index5.js.map +1 -0
- package/dist/components/index6.js +2 -1
- package/dist/components/index6.js.map +1 -0
- package/dist/components/index7.js +2 -1
- package/dist/components/index7.js.map +1 -0
- package/dist/components/index8.js +2 -1
- package/dist/components/index8.js.map +1 -0
- package/dist/components/index9.js +2 -1
- package/dist/components/index9.js.map +1 -0
- package/dist/components/reactive-controller.js +6 -0
- package/dist/components/reactive-controller.js.map +1 -0
- package/dist/components/utils.js +7 -1
- package/dist/components/utils.js.map +1 -0
- package/dist/components/utils2.js +2 -1
- package/dist/components/utils2.js.map +1 -0
- package/dist/components/z-accordion.js +2 -1
- package/dist/components/z-accordion.js.map +1 -0
- package/dist/components/z-alert.js +2 -1
- package/dist/components/z-alert.js.map +1 -0
- package/dist/components/z-anchor-navigation.js +2 -1
- package/dist/components/z-anchor-navigation.js.map +1 -0
- package/dist/components/z-app-header-deprecated.js +2 -1
- package/dist/components/z-app-header-deprecated.js.map +1 -0
- package/dist/components/z-app-header.js +2 -1
- package/dist/components/z-app-header.js.map +1 -0
- package/dist/components/z-aria-alert.js +2 -1
- package/dist/components/z-aria-alert.js.map +1 -0
- package/dist/components/z-avatar.js +2 -1
- package/dist/components/z-avatar.js.map +1 -0
- package/dist/components/z-book-card-app.js +2 -1
- package/dist/components/z-book-card-app.js.map +1 -0
- package/dist/components/z-book-card-deprecated.js +2 -1
- package/dist/components/z-book-card-deprecated.js.map +1 -0
- package/dist/components/z-book-card.js +2 -1
- package/dist/components/z-book-card.js.map +1 -0
- package/dist/components/z-book-cover.js +2 -1
- package/dist/components/z-book-cover.js.map +1 -0
- package/dist/components/z-breadcrumb.js +2 -1
- package/dist/components/z-breadcrumb.js.map +1 -0
- package/dist/components/z-button-sort.js +2 -1
- package/dist/components/z-button-sort.js.map +1 -0
- package/dist/components/z-button.js +2 -1
- package/dist/components/z-button.js.map +1 -0
- package/dist/components/z-card.js +2 -1
- package/dist/components/z-card.js.map +1 -0
- package/dist/components/z-carousel.js +2 -1
- package/dist/components/z-carousel.js.map +1 -0
- package/dist/components/z-chip.js +2 -1
- package/dist/components/z-chip.js.map +1 -0
- package/dist/components/z-color-picker.js +2 -1
- package/dist/components/z-color-picker.js.map +1 -0
- package/dist/components/z-combobox.js +2 -1
- package/dist/components/z-combobox.js.map +1 -0
- package/dist/components/z-cover-hero.js +2 -1
- package/dist/components/z-cover-hero.js.map +1 -0
- package/dist/components/z-date-picker.js +3 -2
- package/dist/components/z-date-picker.js.map +1 -0
- package/dist/components/z-divider.js +2 -1
- package/dist/components/z-divider.js.map +1 -0
- package/dist/components/z-dragdrop-area.js +2 -1
- package/dist/components/z-dragdrop-area.js.map +1 -0
- package/dist/components/z-file-upload.js +2 -1
- package/dist/components/z-file-upload.js.map +1 -0
- package/dist/components/z-file.js +2 -1
- package/dist/components/z-file.js.map +1 -0
- package/dist/components/z-ghost-loading.js +2 -1
- package/dist/components/z-ghost-loading.js.map +1 -0
- package/dist/components/z-icon.js +2 -1
- package/dist/components/z-icon.js.map +1 -0
- package/dist/components/z-info-box.js +2 -1
- package/dist/components/z-info-box.js.map +1 -0
- package/dist/components/z-info-reveal.js +2 -1
- package/dist/components/z-info-reveal.js.map +1 -0
- package/dist/components/z-input-message.js +2 -1
- package/dist/components/z-input-message.js.map +1 -0
- package/dist/components/z-input-range.d.ts +11 -0
- package/dist/components/z-input-range.js +2 -0
- package/dist/components/z-input-range.js.map +1 -0
- package/dist/components/z-input.js +2 -1
- package/dist/components/z-input.js.map +1 -0
- package/dist/components/z-list-element.js +2 -1
- package/dist/components/z-list-element.js.map +1 -0
- package/dist/components/z-list-group.js +2 -1
- package/dist/components/z-list-group.js.map +1 -0
- package/dist/components/z-list.js +2 -1
- package/dist/components/z-list.js.map +1 -0
- package/dist/components/z-logo.js +2 -1
- package/dist/components/z-logo.js.map +1 -0
- package/dist/components/z-menu-deprecated.js +2 -1
- package/dist/components/z-menu-deprecated.js.map +1 -0
- package/dist/components/z-menu-section-deprecated.js +2 -1
- package/dist/components/z-menu-section-deprecated.js.map +1 -0
- package/dist/components/z-menu-section.js +2 -1
- package/dist/components/z-menu-section.js.map +1 -0
- package/dist/components/z-menu.js +2 -1
- package/dist/components/z-menu.js.map +1 -0
- package/dist/components/z-modal.js +2 -1
- package/dist/components/z-modal.js.map +1 -0
- package/dist/components/z-myz-card-alert.js +2 -1
- package/dist/components/z-myz-card-alert.js.map +1 -0
- package/dist/components/z-myz-card-body.js +2 -1
- package/dist/components/z-myz-card-body.js.map +1 -0
- package/dist/components/z-myz-card-cover.js +2 -1
- package/dist/components/z-myz-card-cover.js.map +1 -0
- package/dist/components/z-myz-card-dictionary.js +2 -1
- package/dist/components/z-myz-card-dictionary.js.map +1 -0
- package/dist/components/z-myz-card-footer-sections.js +2 -1
- package/dist/components/z-myz-card-footer-sections.js.map +1 -0
- package/dist/components/z-myz-card-footer.js +2 -1
- package/dist/components/z-myz-card-footer.js.map +1 -0
- package/dist/components/z-myz-card-header.js +2 -1
- package/dist/components/z-myz-card-header.js.map +1 -0
- package/dist/components/z-myz-card-icon.js +2 -1
- package/dist/components/z-myz-card-icon.js.map +1 -0
- package/dist/components/z-myz-card-info.js +2 -1
- package/dist/components/z-myz-card-info.js.map +1 -0
- package/dist/components/z-myz-card-list.js +2 -1
- package/dist/components/z-myz-card-list.js.map +1 -0
- package/dist/components/z-myz-card.js +2 -1
- package/dist/components/z-myz-card.js.map +1 -0
- package/dist/components/z-myz-list-item.js +2 -1
- package/dist/components/z-myz-list-item.js.map +1 -0
- package/dist/components/z-myz-list.js +2 -1
- package/dist/components/z-myz-list.js.map +1 -0
- package/dist/components/z-navigation-tabs.js +2 -1
- package/dist/components/z-navigation-tabs.js.map +1 -0
- package/dist/components/z-notification.js +2 -1
- package/dist/components/z-notification.js.map +1 -0
- package/dist/components/z-offcanvas.js +2 -1
- package/dist/components/z-offcanvas.js.map +1 -0
- package/dist/components/z-otp.js +2 -1
- package/dist/components/z-otp.js.map +1 -0
- package/dist/components/z-pagination.js +2 -1
- package/dist/components/z-pagination.js.map +1 -0
- package/dist/components/z-panel-elem.js +2 -1
- package/dist/components/z-panel-elem.js.map +1 -0
- package/dist/components/z-popover.js +2 -1
- package/dist/components/z-popover.js.map +1 -0
- package/dist/components/z-range-picker.js +2 -1
- package/dist/components/z-range-picker.js.map +1 -0
- package/dist/components/z-result-card.js +2 -1
- package/dist/components/z-result-card.js.map +1 -0
- package/dist/components/z-searchbar.js +2 -1
- package/dist/components/z-searchbar.js.map +1 -0
- package/dist/components/z-section-title.js +2 -1
- package/dist/components/z-section-title.js.map +1 -0
- package/dist/components/z-select.js +2 -1
- package/dist/components/z-select.js.map +1 -0
- package/dist/components/z-skip-to-content.js +2 -1
- package/dist/components/z-skip-to-content.js.map +1 -0
- package/dist/components/z-slideshow.js +2 -1
- package/dist/components/z-slideshow.js.map +1 -0
- package/dist/components/z-stepper-item.js +2 -1
- package/dist/components/z-stepper-item.js.map +1 -0
- package/dist/components/z-stepper.js +2 -1
- package/dist/components/z-stepper.js.map +1 -0
- package/dist/components/z-table.js +2 -1
- package/dist/components/z-table.js.map +1 -0
- package/dist/components/z-tag.js +2 -1
- package/dist/components/z-tag.js.map +1 -0
- package/dist/components/z-tbody.js +2 -1
- package/dist/components/z-tbody.js.map +1 -0
- package/dist/components/z-td.js +2 -1
- package/dist/components/z-td.js.map +1 -0
- package/dist/components/z-tfoot.js +2 -1
- package/dist/components/z-tfoot.js.map +1 -0
- package/dist/components/z-th.js +2 -1
- package/dist/components/z-th.js.map +1 -0
- package/dist/components/z-thead.js +2 -1
- package/dist/components/z-thead.js.map +1 -0
- package/dist/components/z-toast-notification-list.js +2 -1
- package/dist/components/z-toast-notification-list.js.map +1 -0
- package/dist/components/z-toast-notification.js +8 -2
- package/dist/components/z-toast-notification.js.map +1 -0
- package/dist/components/z-toggle-button.js +2 -1
- package/dist/components/z-toggle-button.js.map +1 -0
- package/dist/components/z-toggle-switch.js +2 -1
- package/dist/components/z-toggle-switch.js.map +1 -0
- package/dist/components/z-tool.js +2 -1
- package/dist/components/z-tool.js.map +1 -0
- package/dist/components/z-toolbar.js +2 -1
- package/dist/components/z-toolbar.js.map +1 -0
- package/dist/components/z-tooltip.js +2 -1
- package/dist/components/z-tooltip.js.map +1 -0
- package/dist/components/z-tr.js +2 -1
- package/dist/components/z-tr.js.map +1 -0
- package/dist/components/z-tree-list.js +2 -1
- package/dist/components/z-tree-list.js.map +1 -0
- package/dist/components/z-visually-hidden.js +2 -1
- package/dist/components/z-visually-hidden.js.map +1 -0
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +3 -0
- package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
- package/dist/esm/breakpoints-Q-tWjk7P.js +3 -0
- package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
- package/dist/esm/iconset-AwzX9V8L.js +1027 -0
- package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
- package/dist/esm/index-B3nR3-Jw.js +413 -0
- package/dist/esm/index-B3nR3-Jw.js.map +1 -0
- package/dist/esm/index-BcDWN4F1.js +2697 -0
- package/dist/esm/index-BcDWN4F1.js.map +1 -0
- package/dist/esm/index.js +6 -3
- 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/reactive-controller--oxj7x8w.js +1443 -0
- package/dist/esm/reactive-controller--oxj7x8w.js.map +1 -0
- package/dist/esm/utils-C9lc3rtK.js +896 -0
- package/dist/esm/utils-C9lc3rtK.js.map +1 -0
- package/dist/esm/utils-DP4zBIll.js +2715 -0
- package/dist/esm/utils-DP4zBIll.js.map +1 -0
- package/dist/esm/web-components-library.js +6 -3
- package/dist/esm/web-components-library.js.map +1 -0
- package/dist/esm/z-accordion.entry.js +6 -3
- package/dist/esm/z-accordion.entry.js.map +1 -0
- package/dist/esm/z-alert.entry.js +5 -2
- package/dist/esm/z-alert.entry.js.map +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +7 -4
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
- package/dist/esm/z-app-header-deprecated.entry.js +6 -3
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm/z-app-header_12.entry.js +101 -135
- package/dist/esm/z-app-header_12.entry.js.map +1 -0
- package/dist/esm/z-aria-alert.entry.js +6 -3
- package/dist/esm/z-aria-alert.entry.js.map +1 -0
- package/dist/esm/z-avatar.entry.js +7 -4
- package/dist/esm/z-avatar.entry.js.map +1 -0
- package/dist/esm/z-book-card-app.entry.js +6 -3
- package/dist/esm/z-book-card-app.entry.js.map +1 -0
- package/dist/esm/z-book-card-deprecated.entry.js +7 -4
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm/z-book-card.entry.js +6 -3
- package/dist/esm/z-book-card.entry.js.map +1 -0
- package/dist/esm/z-book-cover.entry.js +5 -2
- package/dist/esm/z-book-cover.entry.js.map +1 -0
- package/dist/esm/z-breadcrumb.entry.js +8 -5
- package/dist/esm/z-breadcrumb.entry.js.map +1 -0
- package/dist/esm/z-button-sort.entry.js +5 -2
- package/dist/esm/z-button-sort.entry.js.map +1 -0
- package/dist/esm/z-card.entry.js +5 -2
- package/dist/esm/z-card.entry.js.map +1 -0
- package/dist/esm/z-carousel.entry.js +6 -3
- package/dist/esm/z-carousel.entry.js.map +1 -0
- package/dist/esm/z-chip.entry.js +7 -4
- package/dist/esm/z-chip.entry.js.map +1 -0
- package/dist/esm/z-color-picker.entry.js +7 -4
- package/dist/esm/z-color-picker.entry.js.map +1 -0
- package/dist/esm/z-combobox.entry.js +21 -15
- package/dist/esm/z-combobox.entry.js.map +1 -0
- package/dist/esm/z-cover-hero.entry.js +7 -4
- package/dist/esm/z-cover-hero.entry.js.map +1 -0
- package/dist/esm/z-date-picker.entry.js +7 -4
- package/dist/esm/z-date-picker.entry.js.map +1 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +25 -41
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
- package/dist/esm/z-file-upload.entry.js +7 -4
- package/dist/esm/z-file-upload.entry.js.map +1 -0
- package/dist/esm/z-file.entry.js +6 -3
- package/dist/esm/z-file.entry.js.map +1 -0
- package/dist/esm/z-ghost-loading.entry.js +5 -2
- package/dist/esm/z-ghost-loading.entry.js.map +1 -0
- package/dist/esm/z-info-box.entry.js +5 -2
- package/dist/esm/z-info-box.entry.js.map +1 -0
- package/dist/esm/z-info-reveal.entry.js +6 -3
- package/dist/esm/z-info-reveal.entry.js.map +1 -0
- package/dist/esm/z-input-range.entry.js +143 -0
- package/dist/esm/z-input-range.entry.js.map +1 -0
- package/dist/esm/z-logo.entry.js +6 -3
- package/dist/esm/z-logo.entry.js.map +1 -0
- package/dist/esm/z-menu-deprecated.entry.js +6 -3
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section-deprecated.entry.js +5 -2
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section.entry.js +6 -3
- package/dist/esm/z-menu-section.entry.js.map +1 -0
- package/dist/esm/z-menu.entry.js +6 -3
- package/dist/esm/z-menu.entry.js.map +1 -0
- package/dist/esm/z-myz-card-alert.entry.js +6 -3
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
- package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js +5 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer.entry.js +6 -3
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
- package/dist/esm/z-myz-card-icon.entry.js +5 -2
- package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
- package/dist/esm/z-myz-card-info.entry.js +7 -4
- package/dist/esm/z-myz-card-info.entry.js.map +1 -0
- package/dist/esm/z-myz-card-list.entry.js +5 -2
- package/dist/esm/z-myz-card-list.entry.js.map +1 -0
- package/dist/esm/z-myz-card_4.entry.js +9 -6
- package/dist/esm/z-myz-card_4.entry.js.map +1 -0
- package/dist/esm/z-myz-list-item.entry.js +7 -4
- package/dist/esm/z-myz-list-item.entry.js.map +1 -0
- package/dist/esm/z-myz-list.entry.js +5 -2
- package/dist/esm/z-myz-list.entry.js.map +1 -0
- package/dist/esm/z-navigation-tabs.entry.js +7 -4
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
- package/dist/esm/z-notification.entry.js +5 -2
- package/dist/esm/z-notification.entry.js.map +1 -0
- package/dist/esm/z-otp.entry.js +7 -4
- package/dist/esm/z-otp.entry.js.map +1 -0
- package/dist/esm/z-pagination.entry.js +5 -2
- package/dist/esm/z-pagination.entry.js.map +1 -0
- package/dist/esm/z-panel-elem.entry.js +6 -3
- package/dist/esm/z-panel-elem.entry.js.map +1 -0
- package/dist/esm/z-popover.entry.js +7 -4
- package/dist/esm/z-popover.entry.js.map +1 -0
- package/dist/esm/z-range-picker.entry.js +9 -6
- package/dist/esm/z-range-picker.entry.js.map +1 -0
- package/dist/esm/z-result-card.entry.js +5 -2
- package/dist/esm/z-result-card.entry.js.map +1 -0
- package/dist/esm/z-section-title.entry.js +6 -3
- package/dist/esm/z-section-title.entry.js.map +1 -0
- package/dist/esm/z-select.entry.js +13 -14
- package/dist/esm/z-select.entry.js.map +1 -0
- package/dist/esm/z-skip-to-content.entry.js +7 -4
- package/dist/esm/z-skip-to-content.entry.js.map +1 -0
- package/dist/esm/z-slideshow.entry.js +6 -3
- package/dist/esm/z-slideshow.entry.js.map +1 -0
- package/dist/esm/z-stepper-item.entry.js +5 -2
- package/dist/esm/z-stepper-item.entry.js.map +1 -0
- package/dist/esm/z-stepper.entry.js +5 -2
- package/dist/esm/z-stepper.entry.js.map +1 -0
- package/dist/esm/z-table.entry.js +11 -6
- package/dist/esm/z-table.entry.js.map +1 -0
- package/dist/esm/z-tbody.entry.js +9 -4
- package/dist/esm/z-tbody.entry.js.map +1 -0
- package/dist/esm/z-td.entry.js +10 -5
- package/dist/esm/z-td.entry.js.map +1 -0
- package/dist/esm/z-tfoot.entry.js +9 -4
- package/dist/esm/z-tfoot.entry.js.map +1 -0
- package/dist/esm/z-th.entry.js +11 -6
- package/dist/esm/z-th.entry.js.map +1 -0
- package/dist/esm/z-thead.entry.js +9 -4
- package/dist/esm/z-thead.entry.js.map +1 -0
- package/dist/esm/z-toast-notification-list.entry.js +6 -3
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
- package/dist/esm/z-toast-notification.entry.js +8 -5
- package/dist/esm/z-toast-notification.entry.js.map +1 -0
- package/dist/esm/z-toggle-button.entry.js +6 -3
- package/dist/esm/z-toggle-button.entry.js.map +1 -0
- package/dist/esm/z-toggle-switch.entry.js +9 -6
- package/dist/esm/z-toggle-switch.entry.js.map +1 -0
- package/dist/esm/z-tool.entry.js +8 -5
- package/dist/esm/z-tool.entry.js.map +1 -0
- package/dist/esm/z-toolbar.entry.js +6 -3
- package/dist/esm/z-toolbar.entry.js.map +1 -0
- package/dist/esm/z-tooltip.entry.js +6 -3
- package/dist/esm/z-tooltip.entry.js.map +1 -0
- package/dist/esm/z-tr.entry.js +13 -11
- package/dist/esm/z-tr.entry.js.map +1 -0
- package/dist/esm/z-tree-list.entry.js +6 -3
- package/dist/esm/z-tree-list.entry.js.map +1 -0
- package/dist/esm/z-visually-hidden.entry.js +5 -2
- package/dist/esm/z-visually-hidden.entry.js.map +1 -0
- package/dist/types/beans/index.d.ts +4 -0
- package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
- package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
- package/dist/types/components/table/z-table/index.d.ts +0 -1
- package/dist/types/components/z-accordion/index.d.ts +2 -10
- package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
- package/dist/types/components/z-app-header/index.d.ts +4 -6
- package/dist/types/components/z-book-cover/index.d.ts +0 -4
- package/dist/types/components/z-button/index.d.ts +1 -1
- package/dist/types/components/z-card/index.d.ts +1 -8
- package/dist/types/components/z-carousel/index.d.ts +0 -2
- package/dist/types/components/z-combobox/index.d.ts +1 -0
- package/dist/types/components/z-cover-hero/index.d.ts +0 -3
- package/dist/types/components/z-icon/index.d.ts +13 -0
- package/dist/types/components/z-info-reveal/index.d.ts +0 -4
- package/dist/types/components/z-input/index.d.ts +6 -4
- package/dist/types/components/z-input-range/index.d.ts +83 -0
- package/dist/types/components/z-menu/index.d.ts +0 -1
- package/dist/types/components/z-modal/index.d.ts +4 -11
- package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
- package/dist/types/components/z-notification/index.d.ts +0 -3
- package/dist/types/components/z-offcanvas/index.d.ts +12 -37
- package/dist/types/components/z-pagination/index.d.ts +0 -2
- package/dist/types/components/z-popover/index.d.ts +0 -5
- package/dist/types/components/z-searchbar/index.d.ts +0 -5
- package/dist/types/components/z-select/index.d.ts +0 -1
- package/dist/types/components/z-tag/index.d.ts +0 -2
- package/dist/types/components/z-toolbar/index.d.ts +0 -1
- package/dist/types/components/z-tooltip/index.d.ts +0 -4
- package/dist/types/components.d.ts +213 -606
- package/dist/types/constants/iconset.d.ts +4 -4
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
- package/dist/types/utils/focus-trap-controller.d.ts +53 -0
- package/dist/types/utils/reactive-controller.d.ts +39 -0
- package/dist/types/utils/storybook-utils.d.ts +7 -2
- package/dist/types/utils/utils.d.ts +12 -0
- 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-01d2d4e2.entry.js +2 -0
- package/dist/web-components-library/p-01d2d4e2.entry.js.map +1 -0
- package/dist/web-components-library/p-02a5c216.entry.js +2 -0
- package/dist/web-components-library/p-02a5c216.entry.js.map +1 -0
- package/dist/web-components-library/p-0673b282.entry.js +2 -0
- package/dist/web-components-library/p-0673b282.entry.js.map +1 -0
- package/dist/web-components-library/p-06aba4ff.entry.js +2 -0
- package/dist/web-components-library/p-06aba4ff.entry.js.map +1 -0
- package/dist/web-components-library/p-076d802a.entry.js +2 -0
- package/dist/web-components-library/p-076d802a.entry.js.map +1 -0
- package/dist/web-components-library/p-10ad3d7c.entry.js +2 -0
- package/dist/web-components-library/p-10ad3d7c.entry.js.map +1 -0
- package/dist/web-components-library/p-164b8342.entry.js +2 -0
- package/dist/web-components-library/p-164b8342.entry.js.map +1 -0
- package/dist/web-components-library/p-1ba5aa7a.entry.js +2 -0
- package/dist/web-components-library/p-1ba5aa7a.entry.js.map +1 -0
- package/dist/web-components-library/p-1c1f699b.entry.js +2 -0
- package/dist/web-components-library/p-1c1f699b.entry.js.map +1 -0
- package/dist/web-components-library/p-1c63269a.entry.js +2 -0
- package/dist/web-components-library/p-1c63269a.entry.js.map +1 -0
- package/dist/web-components-library/p-1e25b55b.entry.js +2 -0
- package/dist/web-components-library/p-1e25b55b.entry.js.map +1 -0
- package/dist/web-components-library/p-21b9ec81.entry.js +2 -0
- package/dist/web-components-library/p-21b9ec81.entry.js.map +1 -0
- package/dist/web-components-library/p-257be457.entry.js +2 -0
- package/dist/web-components-library/p-257be457.entry.js.map +1 -0
- package/dist/web-components-library/p-26788712.entry.js +2 -0
- package/dist/web-components-library/p-26788712.entry.js.map +1 -0
- package/dist/web-components-library/p-2adbfd30.entry.js +2 -0
- package/dist/web-components-library/p-2adbfd30.entry.js.map +1 -0
- package/dist/web-components-library/p-2fcbc1a1.entry.js +2 -0
- package/dist/web-components-library/p-2fcbc1a1.entry.js.map +1 -0
- package/dist/web-components-library/p-30579764.entry.js +8 -0
- package/dist/web-components-library/p-30579764.entry.js.map +1 -0
- package/dist/web-components-library/p-330486fc.entry.js +2 -0
- package/dist/web-components-library/p-330486fc.entry.js.map +1 -0
- package/dist/web-components-library/p-34d4ee45.entry.js +2 -0
- package/dist/web-components-library/p-34d4ee45.entry.js.map +1 -0
- package/dist/web-components-library/p-354abbd7.entry.js +2 -0
- package/dist/web-components-library/p-354abbd7.entry.js.map +1 -0
- package/dist/web-components-library/p-372e83b1.entry.js +2 -0
- package/dist/web-components-library/p-372e83b1.entry.js.map +1 -0
- package/dist/web-components-library/p-3b70a97c.entry.js +2 -0
- package/dist/web-components-library/p-3b70a97c.entry.js.map +1 -0
- package/dist/web-components-library/p-3f2658a0.entry.js +2 -0
- package/dist/web-components-library/p-3f2658a0.entry.js.map +1 -0
- package/dist/web-components-library/p-3f6ea914.entry.js +2 -0
- package/dist/web-components-library/p-3f6ea914.entry.js.map +1 -0
- package/dist/web-components-library/p-418a7ee5.entry.js +2 -0
- package/dist/web-components-library/p-418a7ee5.entry.js.map +1 -0
- package/dist/web-components-library/p-4730e9a5.entry.js +2 -0
- package/dist/web-components-library/p-4730e9a5.entry.js.map +1 -0
- package/dist/web-components-library/p-474493cc.entry.js +2 -0
- package/dist/web-components-library/p-474493cc.entry.js.map +1 -0
- package/dist/web-components-library/p-4954dd38.entry.js +2 -0
- package/dist/web-components-library/p-4954dd38.entry.js.map +1 -0
- package/dist/web-components-library/p-4c1b6c40.entry.js +2 -0
- package/dist/web-components-library/p-4c1b6c40.entry.js.map +1 -0
- package/dist/web-components-library/p-55468801.entry.js +2 -0
- package/dist/web-components-library/p-55468801.entry.js.map +1 -0
- package/dist/web-components-library/p-55f6d3fe.entry.js +2 -0
- package/dist/web-components-library/p-55f6d3fe.entry.js.map +1 -0
- package/dist/web-components-library/p-62485d56.entry.js +2 -0
- package/dist/web-components-library/p-62485d56.entry.js.map +1 -0
- package/dist/web-components-library/p-6a952697.entry.js +2 -0
- package/dist/web-components-library/p-6a952697.entry.js.map +1 -0
- package/dist/web-components-library/p-6c5937db.entry.js +2 -0
- package/dist/web-components-library/p-6c5937db.entry.js.map +1 -0
- package/dist/web-components-library/p-6f58880c.entry.js +2 -0
- package/dist/web-components-library/p-6f58880c.entry.js.map +1 -0
- package/dist/web-components-library/p-7056f90f.entry.js +2 -0
- package/dist/web-components-library/p-7056f90f.entry.js.map +1 -0
- package/dist/web-components-library/p-70fe7ed8.entry.js +2 -0
- package/dist/web-components-library/p-70fe7ed8.entry.js.map +1 -0
- package/dist/web-components-library/p-71ddff9a.entry.js +2 -0
- package/dist/web-components-library/p-71ddff9a.entry.js.map +1 -0
- package/dist/web-components-library/p-86d3a3da.entry.js +2 -0
- package/dist/web-components-library/p-86d3a3da.entry.js.map +1 -0
- package/dist/web-components-library/p-8751b09d.entry.js +2 -0
- package/dist/web-components-library/p-8751b09d.entry.js.map +1 -0
- package/dist/web-components-library/p-88e3fb55.entry.js +2 -0
- package/dist/web-components-library/p-88e3fb55.entry.js.map +1 -0
- package/dist/web-components-library/p-89e96cde.entry.js +2 -0
- package/dist/web-components-library/p-89e96cde.entry.js.map +1 -0
- package/dist/web-components-library/p-8a545910.entry.js +2 -0
- package/dist/web-components-library/p-8a545910.entry.js.map +1 -0
- package/dist/web-components-library/p-927d50ea.entry.js +2 -0
- package/dist/web-components-library/p-927d50ea.entry.js.map +1 -0
- package/dist/web-components-library/p-95c2e9b0.entry.js +2 -0
- package/dist/web-components-library/p-95c2e9b0.entry.js.map +1 -0
- package/dist/web-components-library/p-98089231.entry.js +2 -0
- package/dist/web-components-library/p-98089231.entry.js.map +1 -0
- package/dist/web-components-library/p-9b1deaa1.entry.js +2 -0
- package/dist/web-components-library/p-9b1deaa1.entry.js.map +1 -0
- package/dist/web-components-library/p-AwzX9V8L.js +2 -0
- package/dist/web-components-library/p-AwzX9V8L.js.map +1 -0
- package/dist/web-components-library/p-B3nR3-Jw.js +2 -0
- package/dist/web-components-library/p-B3nR3-Jw.js.map +1 -0
- package/dist/web-components-library/p-B85MJLTf.js +2 -1
- package/dist/web-components-library/p-B85MJLTf.js.map +1 -0
- package/dist/web-components-library/p-BcDWN4F1.js +3 -0
- package/dist/web-components-library/p-BcDWN4F1.js.map +1 -0
- package/dist/web-components-library/p-BeiZJJuW.js +6 -0
- package/dist/web-components-library/p-BeiZJJuW.js.map +1 -0
- package/dist/web-components-library/p-Bx6o9v2_.js +2 -0
- package/dist/web-components-library/p-Bx6o9v2_.js.map +1 -0
- package/dist/web-components-library/p-C8pbzcmM.js +7 -0
- package/dist/web-components-library/p-C8pbzcmM.js.map +1 -0
- package/dist/web-components-library/p-Q-tWjk7P.js +2 -1
- package/dist/web-components-library/p-Q-tWjk7P.js.map +1 -0
- package/dist/web-components-library/p-a0a84d24.entry.js +2 -0
- package/dist/web-components-library/p-a0a84d24.entry.js.map +1 -0
- package/dist/web-components-library/p-a238a3d0.entry.js +17 -0
- package/dist/web-components-library/p-a238a3d0.entry.js.map +1 -0
- package/dist/web-components-library/p-ab364ca1.entry.js +2 -0
- package/dist/web-components-library/p-ab364ca1.entry.js.map +1 -0
- package/dist/web-components-library/p-b38cacf2.entry.js +2 -0
- package/dist/web-components-library/p-b38cacf2.entry.js.map +1 -0
- package/dist/web-components-library/p-b565bff1.entry.js +2 -0
- package/dist/web-components-library/p-b565bff1.entry.js.map +1 -0
- package/dist/web-components-library/p-c5b3368c.entry.js +2 -0
- package/dist/web-components-library/p-c5b3368c.entry.js.map +1 -0
- package/dist/web-components-library/p-c64a8fd8.entry.js +2 -0
- package/dist/web-components-library/p-c64a8fd8.entry.js.map +1 -0
- package/dist/web-components-library/p-c7046a20.entry.js +2 -0
- package/dist/web-components-library/p-c7046a20.entry.js.map +1 -0
- package/dist/web-components-library/p-c7d65071.entry.js +2 -0
- package/dist/web-components-library/p-c7d65071.entry.js.map +1 -0
- package/dist/web-components-library/p-ccdfec00.entry.js +2 -0
- package/dist/web-components-library/p-ccdfec00.entry.js.map +1 -0
- package/dist/web-components-library/p-d15e7b4f.entry.js +2 -0
- package/dist/web-components-library/p-d15e7b4f.entry.js.map +1 -0
- package/dist/web-components-library/p-d639463e.entry.js +2 -0
- package/dist/web-components-library/p-d639463e.entry.js.map +1 -0
- package/dist/web-components-library/p-d866a2e1.entry.js +2 -0
- package/dist/web-components-library/p-d866a2e1.entry.js.map +1 -0
- package/dist/web-components-library/p-db1fa456.entry.js +2 -0
- package/dist/web-components-library/p-db1fa456.entry.js.map +1 -0
- package/dist/web-components-library/p-dc26eb78.entry.js +2 -0
- package/dist/web-components-library/p-dc26eb78.entry.js.map +1 -0
- package/dist/web-components-library/p-e5736b1f.entry.js +2 -0
- package/dist/web-components-library/p-e5736b1f.entry.js.map +1 -0
- package/dist/web-components-library/p-e8eb3bc5.entry.js +2 -0
- package/dist/web-components-library/p-e8eb3bc5.entry.js.map +1 -0
- package/dist/web-components-library/p-edbedacb.entry.js +2 -0
- package/dist/web-components-library/p-edbedacb.entry.js.map +1 -0
- package/dist/web-components-library/p-f0557dd9.entry.js +2 -0
- package/dist/web-components-library/p-f0557dd9.entry.js.map +1 -0
- package/dist/web-components-library/p-f31f04b9.entry.js +2 -0
- package/dist/web-components-library/p-f31f04b9.entry.js.map +1 -0
- package/dist/web-components-library/p-f4b9e6f4.entry.js +2 -0
- package/dist/web-components-library/p-f4b9e6f4.entry.js.map +1 -0
- package/dist/web-components-library/p-f9c859dc.entry.js +2 -0
- package/dist/web-components-library/p-f9c859dc.entry.js.map +1 -0
- package/dist/web-components-library/p-f9e5a0aa.entry.js +2 -0
- package/dist/web-components-library/p-f9e5a0aa.entry.js.map +1 -0
- package/dist/web-components-library/p-fb8a0bda.entry.js +2 -0
- package/dist/web-components-library/p-fb8a0bda.entry.js.map +1 -0
- package/dist/web-components-library/p-ff89690a.entry.js +2 -0
- package/dist/web-components-library/p-ff89690a.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.css +80 -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/package.json +17 -17
- package/react/components.d.ts +1 -0
- package/react/components.js +3 -2
- package/readme.md +8 -19
- package/www/build/index.esm.js +2 -1
- package/www/build/index.esm.js.map +1 -0
- package/www/build/p-01d2d4e2.entry.js +2 -0
- package/www/build/p-01d2d4e2.entry.js.map +1 -0
- package/www/build/p-02a5c216.entry.js +2 -0
- package/www/build/p-02a5c216.entry.js.map +1 -0
- package/www/build/p-0673b282.entry.js +2 -0
- package/www/build/p-0673b282.entry.js.map +1 -0
- package/www/build/p-06aba4ff.entry.js +2 -0
- package/www/build/p-06aba4ff.entry.js.map +1 -0
- package/www/build/p-076d802a.entry.js +2 -0
- package/www/build/p-076d802a.entry.js.map +1 -0
- package/www/build/p-10ad3d7c.entry.js +2 -0
- package/www/build/p-10ad3d7c.entry.js.map +1 -0
- package/www/build/p-164b8342.entry.js +2 -0
- package/www/build/p-164b8342.entry.js.map +1 -0
- package/www/build/p-188d1101.css +2716 -0
- package/www/build/p-1ba5aa7a.entry.js +2 -0
- package/www/build/p-1ba5aa7a.entry.js.map +1 -0
- package/www/build/p-1c1f699b.entry.js +2 -0
- package/www/build/p-1c1f699b.entry.js.map +1 -0
- package/www/build/p-1c63269a.entry.js +2 -0
- package/www/build/p-1c63269a.entry.js.map +1 -0
- package/www/build/p-1e25b55b.entry.js +2 -0
- package/www/build/p-1e25b55b.entry.js.map +1 -0
- package/www/build/p-21b9ec81.entry.js +2 -0
- package/www/build/p-21b9ec81.entry.js.map +1 -0
- package/www/build/p-257be457.entry.js +2 -0
- package/www/build/p-257be457.entry.js.map +1 -0
- package/www/build/p-26788712.entry.js +2 -0
- package/www/build/p-26788712.entry.js.map +1 -0
- package/www/build/p-2adbfd30.entry.js +2 -0
- package/www/build/p-2adbfd30.entry.js.map +1 -0
- package/www/build/p-2fcbc1a1.entry.js +2 -0
- package/www/build/p-2fcbc1a1.entry.js.map +1 -0
- package/www/build/p-30579764.entry.js +8 -0
- package/www/build/p-30579764.entry.js.map +1 -0
- package/www/build/p-330486fc.entry.js +2 -0
- package/www/build/p-330486fc.entry.js.map +1 -0
- package/www/build/p-34d4ee45.entry.js +2 -0
- package/www/build/p-34d4ee45.entry.js.map +1 -0
- package/www/build/p-354abbd7.entry.js +2 -0
- package/www/build/p-354abbd7.entry.js.map +1 -0
- package/www/build/p-372e83b1.entry.js +2 -0
- package/www/build/p-372e83b1.entry.js.map +1 -0
- package/www/build/p-3b70a97c.entry.js +2 -0
- package/www/build/p-3b70a97c.entry.js.map +1 -0
- package/www/build/p-3f2658a0.entry.js +2 -0
- package/www/build/p-3f2658a0.entry.js.map +1 -0
- package/www/build/p-3f6ea914.entry.js +2 -0
- package/www/build/p-3f6ea914.entry.js.map +1 -0
- package/www/build/p-418a7ee5.entry.js +2 -0
- package/www/build/p-418a7ee5.entry.js.map +1 -0
- package/www/build/p-4730e9a5.entry.js +2 -0
- package/www/build/p-4730e9a5.entry.js.map +1 -0
- package/www/build/p-474493cc.entry.js +2 -0
- package/www/build/p-474493cc.entry.js.map +1 -0
- package/www/build/p-4954dd38.entry.js +2 -0
- package/www/build/p-4954dd38.entry.js.map +1 -0
- package/www/build/p-4c1b6c40.entry.js +2 -0
- package/www/build/p-4c1b6c40.entry.js.map +1 -0
- package/www/build/p-55468801.entry.js +2 -0
- package/www/build/p-55468801.entry.js.map +1 -0
- package/www/build/p-55f6d3fe.entry.js +2 -0
- package/www/build/p-55f6d3fe.entry.js.map +1 -0
- package/www/build/p-62485d56.entry.js +2 -0
- package/www/build/p-62485d56.entry.js.map +1 -0
- package/www/build/p-6a952697.entry.js +2 -0
- package/www/build/p-6a952697.entry.js.map +1 -0
- package/www/build/p-6c5937db.entry.js +2 -0
- package/www/build/p-6c5937db.entry.js.map +1 -0
- package/www/build/p-6f58880c.entry.js +2 -0
- package/www/build/p-6f58880c.entry.js.map +1 -0
- package/www/build/p-7056f90f.entry.js +2 -0
- package/www/build/p-7056f90f.entry.js.map +1 -0
- package/www/build/p-70fe7ed8.entry.js +2 -0
- package/www/build/p-70fe7ed8.entry.js.map +1 -0
- package/www/build/p-71ddff9a.entry.js +2 -0
- package/www/build/p-71ddff9a.entry.js.map +1 -0
- package/www/build/p-86d3a3da.entry.js +2 -0
- package/www/build/p-86d3a3da.entry.js.map +1 -0
- package/www/build/p-8751b09d.entry.js +2 -0
- package/www/build/p-8751b09d.entry.js.map +1 -0
- package/www/build/p-88e3fb55.entry.js +2 -0
- package/www/build/p-88e3fb55.entry.js.map +1 -0
- package/www/build/p-89e96cde.entry.js +2 -0
- package/www/build/p-89e96cde.entry.js.map +1 -0
- package/www/build/p-8a545910.entry.js +2 -0
- package/www/build/p-8a545910.entry.js.map +1 -0
- package/www/build/p-927d50ea.entry.js +2 -0
- package/www/build/p-927d50ea.entry.js.map +1 -0
- package/www/build/p-95c2e9b0.entry.js +2 -0
- package/www/build/p-95c2e9b0.entry.js.map +1 -0
- package/www/build/p-98089231.entry.js +2 -0
- package/www/build/p-98089231.entry.js.map +1 -0
- package/www/build/p-9b1deaa1.entry.js +2 -0
- package/www/build/p-9b1deaa1.entry.js.map +1 -0
- package/www/build/p-AwzX9V8L.js +2 -0
- package/www/build/p-AwzX9V8L.js.map +1 -0
- package/www/build/p-B3nR3-Jw.js +2 -0
- package/www/build/p-B3nR3-Jw.js.map +1 -0
- package/www/build/p-B85MJLTf.js +2 -1
- package/www/build/p-B85MJLTf.js.map +1 -0
- package/www/build/p-BcDWN4F1.js +3 -0
- package/www/build/p-BcDWN4F1.js.map +1 -0
- package/www/build/p-BeiZJJuW.js +6 -0
- package/www/build/p-BeiZJJuW.js.map +1 -0
- package/www/build/p-Bx6o9v2_.js +2 -0
- package/www/build/p-Bx6o9v2_.js.map +1 -0
- package/www/build/p-C8pbzcmM.js +7 -0
- package/www/build/p-C8pbzcmM.js.map +1 -0
- package/www/build/p-Q-tWjk7P.js +2 -1
- package/www/build/p-Q-tWjk7P.js.map +1 -0
- package/www/build/p-a0a84d24.entry.js +2 -0
- package/www/build/p-a0a84d24.entry.js.map +1 -0
- package/www/build/p-a238a3d0.entry.js +17 -0
- package/www/build/p-a238a3d0.entry.js.map +1 -0
- package/www/build/p-ab364ca1.entry.js +2 -0
- package/www/build/p-ab364ca1.entry.js.map +1 -0
- package/www/build/p-b38cacf2.entry.js +2 -0
- package/www/build/p-b38cacf2.entry.js.map +1 -0
- package/www/build/p-b565bff1.entry.js +2 -0
- package/www/build/p-b565bff1.entry.js.map +1 -0
- package/www/build/p-bcc5602c.js +2 -0
- package/www/build/p-c5b3368c.entry.js +2 -0
- package/www/build/p-c5b3368c.entry.js.map +1 -0
- package/www/build/p-c64a8fd8.entry.js +2 -0
- package/www/build/p-c64a8fd8.entry.js.map +1 -0
- package/www/build/p-c7046a20.entry.js +2 -0
- package/www/build/p-c7046a20.entry.js.map +1 -0
- package/www/build/p-c7d65071.entry.js +2 -0
- package/www/build/p-c7d65071.entry.js.map +1 -0
- package/www/build/p-ccdfec00.entry.js +2 -0
- package/www/build/p-ccdfec00.entry.js.map +1 -0
- package/www/build/p-d15e7b4f.entry.js +2 -0
- package/www/build/p-d15e7b4f.entry.js.map +1 -0
- package/www/build/p-d639463e.entry.js +2 -0
- package/www/build/p-d639463e.entry.js.map +1 -0
- package/www/build/p-d866a2e1.entry.js +2 -0
- package/www/build/p-d866a2e1.entry.js.map +1 -0
- package/www/build/p-db1fa456.entry.js +2 -0
- package/www/build/p-db1fa456.entry.js.map +1 -0
- package/www/build/p-dc26eb78.entry.js +2 -0
- package/www/build/p-dc26eb78.entry.js.map +1 -0
- package/www/build/p-e5736b1f.entry.js +2 -0
- package/www/build/p-e5736b1f.entry.js.map +1 -0
- package/www/build/p-e8eb3bc5.entry.js +2 -0
- package/www/build/p-e8eb3bc5.entry.js.map +1 -0
- package/www/build/p-edbedacb.entry.js +2 -0
- package/www/build/p-edbedacb.entry.js.map +1 -0
- package/www/build/p-f0557dd9.entry.js +2 -0
- package/www/build/p-f0557dd9.entry.js.map +1 -0
- package/www/build/p-f31f04b9.entry.js +2 -0
- package/www/build/p-f31f04b9.entry.js.map +1 -0
- package/www/build/p-f4b9e6f4.entry.js +2 -0
- package/www/build/p-f4b9e6f4.entry.js.map +1 -0
- package/www/build/p-f9c859dc.entry.js +2 -0
- package/www/build/p-f9c859dc.entry.js.map +1 -0
- package/www/build/p-f9e5a0aa.entry.js +2 -0
- package/www/build/p-f9e5a0aa.entry.js.map +1 -0
- package/www/build/p-fb8a0bda.entry.js +2 -0
- package/www/build/p-fb8a0bda.entry.js.map +1 -0
- package/www/build/p-ff89690a.entry.js +2 -0
- package/www/build/p-ff89690a.entry.js.map +1 -0
- package/www/build/web-components-library.css +80 -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/iconset-oiCBBbd2.js +0 -1027
- package/dist/cjs/index-D_S5lGcb.js +0 -2683
- package/dist/cjs/index-wGaSHN1_.js +0 -407
- package/dist/cjs/utils-C5_wGVkJ.js +0 -2718
- package/dist/cjs/utils-Ctc6JP2n.js +0 -259
- package/dist/collection/__mocks__/fileMock.js +0 -1
- package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
- package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
- package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
- package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
- package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
- package/dist/collection/components/list/z-list/index.stories.js +0 -184
- package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
- package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
- package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
- package/dist/collection/components/table/z-table/index.stories.js +0 -282
- package/dist/collection/components/z-accordion/index.stories.js +0 -164
- package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
- package/dist/collection/components/z-app-header/index.stories.js +0 -318
- package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
- package/dist/collection/components/z-avatar/index.stories.js +0 -50
- package/dist/collection/components/z-book-cover/index.stories.js +0 -30
- package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
- package/dist/collection/components/z-button/index.stories.js +0 -103
- package/dist/collection/components/z-button-sort/index.stories.js +0 -30
- package/dist/collection/components/z-card/index.stories.js +0 -302
- package/dist/collection/components/z-carousel/index.stories.js +0 -128
- package/dist/collection/components/z-chip/index.stories.js +0 -69
- package/dist/collection/components/z-color-picker/index.stories.js +0 -33
- package/dist/collection/components/z-combobox/index.stories.js +0 -77
- package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
- package/dist/collection/components/z-divider/index.stories.js +0 -44
- package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
- package/dist/collection/components/z-icon/index.stories.js +0 -70
- package/dist/collection/components/z-info-box/index.stories.js +0 -19
- package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
- package/dist/collection/components/z-input/index.stories.js +0 -293
- package/dist/collection/components/z-input-message/index.stories.js +0 -36
- package/dist/collection/components/z-logo/index.stories.js +0 -25
- package/dist/collection/components/z-menu/index.stories.js +0 -122
- package/dist/collection/components/z-menu-section/index.stories.js +0 -40
- package/dist/collection/components/z-modal/index.stories.js +0 -201
- package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
- package/dist/collection/components/z-notification/index.stories.js +0 -174
- package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
- package/dist/collection/components/z-pagination/index.stories.js +0 -117
- package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
- package/dist/collection/components/z-popover/index.stories.js +0 -282
- package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
- package/dist/collection/components/z-searchbar/index.stories.js +0 -332
- package/dist/collection/components/z-select/index.stories.js +0 -359
- package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
- package/dist/collection/components/z-stepper/index.stories.js +0 -108
- package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
- package/dist/collection/components/z-tag/index.stories.js +0 -63
- package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
- package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
- package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
- package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
- package/dist/collection/components/z-tool/index.stories.js +0 -146
- package/dist/collection/components/z-toolbar/index.stories.js +0 -317
- package/dist/collection/components/z-tooltip/index.stories.js +0 -122
- package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
- package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
- package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
- package/dist/esm/iconset-CjHS9zeM.js +0 -1024
- package/dist/esm/index-BKCj6NR2.js +0 -405
- package/dist/esm/index-DPdXlnVe.js +0 -2653
- package/dist/esm/utils-DYd3kO0P.js +0 -244
- package/dist/esm/utils-DuuLzXZj.js +0 -2712
- package/dist/types/__mocks__/fileMock.d.ts +0 -2
- package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
- package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
- package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
- package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
- package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
- package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
- package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
- package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
- package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
- package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
- package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
- package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
- package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
- package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
- package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
- package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
- package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
- package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
- package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
- package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
- package/dist/types/components/z-app-header/index.stories.d.ts +0 -128
- package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
- package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
- package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
- package/dist/types/components/z-button/index.stories.d.ts +0 -79
- package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
- package/dist/types/components/z-card/index.stories.d.ts +0 -75
- package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
- package/dist/types/components/z-chip/index.stories.d.ts +0 -46
- package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
- package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
- package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
- package/dist/types/components/z-divider/index.stories.d.ts +0 -37
- package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
- package/dist/types/components/z-icon/index.stories.d.ts +0 -56
- package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
- package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
- package/dist/types/components/z-input/index.stories.d.ts +0 -126
- package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
- package/dist/types/components/z-logo/index.stories.d.ts +0 -18
- package/dist/types/components/z-menu/index.stories.d.ts +0 -26
- package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
- package/dist/types/components/z-modal/index.stories.d.ts +0 -37
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
- package/dist/types/components/z-notification/index.stories.d.ts +0 -77
- package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
- package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
- package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
- package/dist/types/components/z-popover/index.stories.d.ts +0 -82
- package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
- package/dist/types/components/z-searchbar/index.stories.d.ts +0 -163
- package/dist/types/components/z-select/index.stories.d.ts +0 -84
- package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
- package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
- package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
- package/dist/types/components/z-tag/index.stories.d.ts +0 -39
- package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
- package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
- package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
- package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
- package/dist/types/components/z-tool/index.stories.d.ts +0 -70
- package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
- package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
- package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
- package/dist/web-components-library/p-087956fa.entry.js +0 -1
- package/dist/web-components-library/p-10e5e16e.entry.js +0 -1
- package/dist/web-components-library/p-13e7f751.entry.js +0 -1
- package/dist/web-components-library/p-14b804f9.entry.js +0 -1
- package/dist/web-components-library/p-1580db58.entry.js +0 -1
- package/dist/web-components-library/p-15825811.entry.js +0 -1
- package/dist/web-components-library/p-1993b0ad.entry.js +0 -1
- package/dist/web-components-library/p-1a95491d.entry.js +0 -1
- package/dist/web-components-library/p-1d023220.entry.js +0 -1
- package/dist/web-components-library/p-21c85e04.entry.js +0 -1
- package/dist/web-components-library/p-23b46642.entry.js +0 -1
- package/dist/web-components-library/p-299f0f85.entry.js +0 -1
- package/dist/web-components-library/p-29dde955.entry.js +0 -1
- package/dist/web-components-library/p-2c036e17.entry.js +0 -1
- package/dist/web-components-library/p-2d4c01c3.entry.js +0 -1
- package/dist/web-components-library/p-2dabe353.entry.js +0 -1
- package/dist/web-components-library/p-2df6d169.entry.js +0 -1
- package/dist/web-components-library/p-2ef82e17.entry.js +0 -1
- package/dist/web-components-library/p-324933f6.entry.js +0 -1
- package/dist/web-components-library/p-37e84b71.entry.js +0 -1
- package/dist/web-components-library/p-3c53e451.entry.js +0 -1
- package/dist/web-components-library/p-3ea03d34.entry.js +0 -1
- package/dist/web-components-library/p-41584e90.entry.js +0 -1
- package/dist/web-components-library/p-50e10a10.entry.js +0 -1
- package/dist/web-components-library/p-52899754.entry.js +0 -1
- package/dist/web-components-library/p-53670be4.entry.js +0 -1
- package/dist/web-components-library/p-583b8152.entry.js +0 -1
- package/dist/web-components-library/p-5a05dc1e.entry.js +0 -1
- package/dist/web-components-library/p-5d20fc3d.entry.js +0 -1
- package/dist/web-components-library/p-622466f9.entry.js +0 -1
- package/dist/web-components-library/p-658f022d.entry.js +0 -1
- package/dist/web-components-library/p-6bd35edf.entry.js +0 -1
- package/dist/web-components-library/p-7226f07a.entry.js +0 -1
- package/dist/web-components-library/p-7371a543.entry.js +0 -2
- package/dist/web-components-library/p-77bf39a4.entry.js +0 -1
- package/dist/web-components-library/p-788eaac7.entry.js +0 -1
- package/dist/web-components-library/p-7bf7539a.entry.js +0 -1
- package/dist/web-components-library/p-81eb43fd.entry.js +0 -1
- package/dist/web-components-library/p-8261c869.entry.js +0 -1
- package/dist/web-components-library/p-83da1031.entry.js +0 -1
- package/dist/web-components-library/p-85cac60d.entry.js +0 -1
- package/dist/web-components-library/p-88a3ba7c.entry.js +0 -1
- package/dist/web-components-library/p-8a8df4f4.entry.js +0 -1
- package/dist/web-components-library/p-8b026993.entry.js +0 -1
- package/dist/web-components-library/p-8d7e2e16.entry.js +0 -1
- package/dist/web-components-library/p-8de064a4.entry.js +0 -1
- package/dist/web-components-library/p-8f4a04aa.entry.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-CPsEG702.js +0 -1
- package/dist/web-components-library/p-CjHS9zeM.js +0 -1
- package/dist/web-components-library/p-DPdXlnVe.js +0 -2
- package/dist/web-components-library/p-a4f673f8.entry.js +0 -1
- package/dist/web-components-library/p-aa4fc3d3.entry.js +0 -1
- package/dist/web-components-library/p-aa72d766.entry.js +0 -1
- package/dist/web-components-library/p-ad2cd7fc.entry.js +0 -1
- package/dist/web-components-library/p-b6223d7e.entry.js +0 -1
- package/dist/web-components-library/p-b851f20b.entry.js +0 -1
- package/dist/web-components-library/p-b9343431.entry.js +0 -1
- package/dist/web-components-library/p-be354b22.entry.js +0 -1
- package/dist/web-components-library/p-c42ddd93.entry.js +0 -1
- package/dist/web-components-library/p-c4e7bd16.entry.js +0 -1
- package/dist/web-components-library/p-c944a943.entry.js +0 -1
- package/dist/web-components-library/p-cd33f4b1.entry.js +0 -1
- package/dist/web-components-library/p-cdd88182.entry.js +0 -16
- package/dist/web-components-library/p-d3053434.entry.js +0 -1
- package/dist/web-components-library/p-d63665c1.entry.js +0 -1
- package/dist/web-components-library/p-dabccb20.entry.js +0 -1
- package/dist/web-components-library/p-dc5ab2cc.entry.js +0 -1
- package/dist/web-components-library/p-dfd43710.entry.js +0 -1
- package/dist/web-components-library/p-e1d0a6e3.entry.js +0 -1
- package/dist/web-components-library/p-e48497f0.entry.js +0 -1
- package/dist/web-components-library/p-ec4940ce.entry.js +0 -1
- package/dist/web-components-library/p-eddc2d19.entry.js +0 -1
- package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
- package/dist/web-components-library/p-f7e46ef2.entry.js +0 -1
- package/www/build/p-087956fa.entry.js +0 -1
- package/www/build/p-10e5e16e.entry.js +0 -1
- package/www/build/p-13e7f751.entry.js +0 -1
- package/www/build/p-14b804f9.entry.js +0 -1
- package/www/build/p-1580db58.entry.js +0 -1
- package/www/build/p-15825811.entry.js +0 -1
- package/www/build/p-1993b0ad.entry.js +0 -1
- package/www/build/p-1a95491d.entry.js +0 -1
- package/www/build/p-1d023220.entry.js +0 -1
- package/www/build/p-21c85e04.entry.js +0 -1
- package/www/build/p-23b46642.entry.js +0 -1
- package/www/build/p-299f0f85.entry.js +0 -1
- package/www/build/p-29dde955.entry.js +0 -1
- package/www/build/p-2c036e17.entry.js +0 -1
- package/www/build/p-2d4c01c3.entry.js +0 -1
- package/www/build/p-2dabe353.entry.js +0 -1
- package/www/build/p-2df6d169.entry.js +0 -1
- package/www/build/p-2ef82e17.entry.js +0 -1
- package/www/build/p-324933f6.entry.js +0 -1
- package/www/build/p-37e84b71.entry.js +0 -1
- package/www/build/p-3c53e451.entry.js +0 -1
- package/www/build/p-3ea03d34.entry.js +0 -1
- package/www/build/p-41584e90.entry.js +0 -1
- package/www/build/p-50e10a10.entry.js +0 -1
- package/www/build/p-52899754.entry.js +0 -1
- package/www/build/p-53670be4.entry.js +0 -1
- package/www/build/p-583b8152.entry.js +0 -1
- package/www/build/p-5a05dc1e.entry.js +0 -1
- package/www/build/p-5d20fc3d.entry.js +0 -1
- package/www/build/p-622466f9.entry.js +0 -1
- package/www/build/p-658f022d.entry.js +0 -1
- package/www/build/p-6bd35edf.entry.js +0 -1
- package/www/build/p-7226f07a.entry.js +0 -1
- package/www/build/p-7371a543.entry.js +0 -2
- package/www/build/p-77bf39a4.entry.js +0 -1
- package/www/build/p-788eaac7.entry.js +0 -1
- package/www/build/p-7bf7539a.entry.js +0 -1
- package/www/build/p-81eb43fd.entry.js +0 -1
- package/www/build/p-8261c869.entry.js +0 -1
- package/www/build/p-83da1031.entry.js +0 -1
- package/www/build/p-85cac60d.entry.js +0 -1
- package/www/build/p-88a3ba7c.entry.js +0 -1
- package/www/build/p-8a8df4f4.entry.js +0 -1
- package/www/build/p-8b026993.entry.js +0 -1
- package/www/build/p-8d7e2e16.entry.js +0 -1
- package/www/build/p-8de064a4.entry.js +0 -1
- package/www/build/p-8f4a04aa.entry.js +0 -1
- package/www/build/p-B8WJfd4z.js +0 -1
- package/www/build/p-BKCj6NR2.js +0 -1
- package/www/build/p-CPsEG702.js +0 -1
- package/www/build/p-CjHS9zeM.js +0 -1
- package/www/build/p-DPdXlnVe.js +0 -2
- package/www/build/p-a4f673f8.entry.js +0 -1
- package/www/build/p-aa4fc3d3.entry.js +0 -1
- package/www/build/p-aa72d766.entry.js +0 -1
- package/www/build/p-ad2cd7fc.entry.js +0 -1
- package/www/build/p-b6223d7e.entry.js +0 -1
- package/www/build/p-b851f20b.entry.js +0 -1
- package/www/build/p-b9343431.entry.js +0 -1
- package/www/build/p-be354b22.entry.js +0 -1
- package/www/build/p-c42ddd93.entry.js +0 -1
- package/www/build/p-c4e7bd16.entry.js +0 -1
- package/www/build/p-c5c5a64f.js +0 -1
- package/www/build/p-c60c851a.css +0 -2636
- package/www/build/p-c944a943.entry.js +0 -1
- package/www/build/p-cd33f4b1.entry.js +0 -1
- package/www/build/p-cdd88182.entry.js +0 -16
- package/www/build/p-d3053434.entry.js +0 -1
- package/www/build/p-d63665c1.entry.js +0 -1
- package/www/build/p-dabccb20.entry.js +0 -1
- package/www/build/p-dc5ab2cc.entry.js +0 -1
- package/www/build/p-dfd43710.entry.js +0 -1
- package/www/build/p-e1d0a6e3.entry.js +0 -1
- package/www/build/p-e48497f0.entry.js +0 -1
- package/www/build/p-ec4940ce.entry.js +0 -1
- package/www/build/p-eddc2d19.entry.js +0 -1
- package/www/build/p-ef5018bb.entry.js +0 -1
- package/www/build/p-f7e46ef2.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as getElement } from './index-
|
|
2
|
-
import { p as Device } from './index-
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, h, d as getElement } from './index-BcDWN4F1.js';
|
|
2
|
+
import { p as Device } from './index-B3nR3-Jw.js';
|
|
3
|
+
import { j as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-C9lc3rtK.js';
|
|
4
4
|
import './breakpoints-Q-tWjk7P.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = () => `:host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}`;
|
|
@@ -127,3 +127,6 @@ const ZSlideshow = class {
|
|
|
127
127
|
ZSlideshow.style = stylesCss();
|
|
128
128
|
|
|
129
129
|
export { ZSlideshow as z_slideshow };
|
|
130
|
+
//# sourceMappingURL=z-slideshow.entry.js.map
|
|
131
|
+
|
|
132
|
+
//# sourceMappingURL=z-slideshow.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-slideshow.entry.js","sources":["src/snowflakes/myz/z-slideshow/styles.css?tag=z-slideshow&encapsulation=shadow","src/snowflakes/myz/z-slideshow/index.tsx"],"sourcesContent":[":host {\n display: block;\n width: inherit;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n display: flex;\n width: inherit;\n flex-direction: column;\n}\n\nmain {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n\nmain z-icon.scroll {\n position: absolute;\n z-index: 10;\n top: 50%;\n width: auto;\n margin: 0 var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01);\n transition: 0.6s ease;\n}\n\nmain .scroll.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n\nmain .scroll.right {\n right: 0;\n}\n\n#slides {\n display: flex;\n flex-wrap: wrap;\n line-height: 0px;\n overflow-y: hidden;\n transition: all 300ms;\n}\n\nfooter {\n display: grid;\n width: 100%;\n height: 56px;\n align-items: center;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 2 / 2;\n grid-template-areas: \"center center\" \"left right\";\n}\n\nfooter > div {\n width: 100%;\n align-items: center;\n}\n\nfooter .footer-center {\n grid-area: center;\n}\n\nfooter .footer-left {\n grid-area: left;\n}\n\nfooter .footer-right {\n grid-area: right;\n}\n\nfooter .bullet-container {\n display: flex;\n min-height: 60px;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n}\n\nfooter .bullet-container .bullet {\n width: 8px;\n height: 8px;\n margin: var(--space-unit) 2px;\n background-color: var(--gray200);\n border-radius: 50%;\n pointer-events: none;\n}\n\nfooter .bullet-container .bullet.selected {\n background-color: var(--gray400);\n}\n\nmain z-icon:focus,\nfooter .bullet-container .bullet:focus {\n border-radius: 50%;\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n/* Tablet breakpoint */\n\n@media only screen and (min-width: 768px) {\n footer {\n height: 76px;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 1 / 1fr 2fr 1fr;\n grid-template-areas: \"left center right\";\n }\n\n footer .bullet-container .bullet {\n width: 10px;\n height: 10px;\n margin: var(--space-unit) 3px;\n }\n}\n\n/* Desktop breakpoint */\n\n@media only screen and (min-width: 1025px) {\n main z-icon.scroll {\n margin: 0 10px;\n }\n\n footer .bullet-container .bullet {\n width: 16px;\n height: 16px;\n margin: var(--space-unit) calc(var(--space-unit) * 0.5);\n cursor: pointer;\n pointer-events: auto;\n }\n}\n","import {Component, ComponentInterface, Element, Prop, State, Watch, h} from \"@stencil/core\";\nimport {Device} from \"../../../beans\";\nimport {convertJson, getDevice, handleKeyboardSubmit} from \"../../../utils/utils\";\n\n/**\n * Check if data is an array of strings.\n * @param {unknown} data Data to check\n * @returns {boolean}\n */\nfunction isStringArray(data: unknown): data is string[] {\n return Array.isArray(data) && data.every((datum: unknown): datum is string => typeof datum === \"string\");\n}\n\n/**\n * @slot footer-right - right content slot in footer\n * @slot footer-left - left content slot in footer\n */\n@Component({\n tag: \"z-slideshow\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSlideshow implements ComponentInterface {\n @Element() el: HTMLZSlideshowElement;\n\n /** slideshow id */\n @Prop()\n slideshowid: string;\n\n /** array or JSON stringified images urls */\n @Prop()\n data: string[] | string;\n\n @State()\n device: Device;\n\n @State()\n currentSlide = 0;\n\n private links: string[];\n\n @Watch(\"data\")\n watchData(): void {\n this.parseLinks();\n }\n\n componentWillLoad(): void {\n this.parseLinks();\n\n this.setDevice();\n window.addEventListener(\"resize\", this.handleResize.bind(this));\n }\n\n componentDidRender(): void {\n this.setStyle();\n }\n\n private handleResize(): void {\n this.setDevice();\n this.setStyle();\n }\n\n private parseLinks(): void {\n switch (typeof this.data) {\n case \"string\": {\n const parsed = convertJson(this.data) ?? [];\n if (!isStringArray(parsed)) {\n throw new Error(\"Passed data is invalid\");\n }\n\n this.links = parsed;\n break;\n }\n default:\n this.links = this.data;\n break;\n }\n }\n\n private setStyle(): void {\n const refSlides = this.el.shadowRoot.querySelector(\"#slides\") as HTMLElement;\n if (!refSlides) {\n return;\n }\n\n const allImages = this.el.shadowRoot.querySelectorAll(\".slide\");\n const width = this.el.offsetWidth;\n const fullwidth = width * this.links.length;\n\n refSlides.style.width = `${fullwidth}px`;\n refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;\n allImages.forEach((item: HTMLElement) => {\n const img = item.querySelector(\"img\");\n img.style.width = `${width}px`;\n });\n }\n\n private setDevice(): void {\n this.device = getDevice();\n }\n\n private setCurrentSlide(index: number): void {\n this.currentSlide = index;\n }\n\n private getBulletDimension(): number {\n switch (this.device) {\n case Device.MOBILE:\n return 24;\n case Device.TABLET:\n return 32;\n default:\n return 40;\n }\n }\n\n private renderSlides(items: string[]): HTMLElement {\n return (\n <div id=\"slides\">\n {items.map((item: string, i: number) => (\n <div\n id={\"slide\" + i}\n class={`slide ${this.currentSlide !== i && \"hide\"}`}\n >\n <img src={item} />\n </div>\n ))}\n </div>\n );\n }\n\n private renderScroll(direction: \"left\" | \"right\"): HTMLZIconElement {\n let disabled = false,\n nextSlide = this.currentSlide;\n\n if (direction === \"left\") {\n disabled = this.currentSlide === 0;\n nextSlide--;\n } else if (direction === \"right\") {\n disabled = this.currentSlide === this.links.length - 1;\n nextSlide++;\n }\n\n return (\n <z-icon\n class={`scroll ${direction} ${disabled && \"disabled\"}`}\n width={this.getBulletDimension()}\n height={this.getBulletDimension()}\n name={`chevron-${direction}-circle`}\n onClick={() => {\n if (!disabled) {\n this.setCurrentSlide(nextSlide);\n }\n }}\n onKeyUp={(e: KeyboardEvent) =>\n !disabled &&\n handleKeyboardSubmit(e, () => {\n this.setCurrentSlide(nextSlide);\n })\n }\n tabindex={0}\n role=\"button\"\n />\n );\n }\n\n private renderSlideshowMain(): HTMLElement {\n return (\n <main>\n {this.renderScroll(\"left\")}\n {this.renderSlides(this.links)}\n {this.renderScroll(\"right\")}\n </main>\n );\n }\n\n private renderBullet(i: number): HTMLElement {\n return (\n <a\n class={`bullet ${this.currentSlide === i && \"selected\"}`}\n onClick={() => this.setCurrentSlide(i)}\n onKeyUp={(e: KeyboardEvent) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i))}\n tabindex={0}\n role=\"button\"\n ></a>\n );\n }\n\n private renderSlideshowFooter(): HTMLElement {\n return (\n <footer>\n <div class=\"footer-left\">\n <slot name=\"footer-left\" />\n </div>\n <div class=\"footer-center\">\n <div class=\"bullet-container\">{Object.keys(this.links).map((i) => this.renderBullet(parseInt(i)))}</div>\n </div>\n <div class=\"footer-right\">\n <slot name=\"footer-right\" />\n </div>\n </footer>\n );\n }\n\n render(): HTMLElement {\n if (!this.links || !this.links.length) {\n return <div />;\n }\n\n return (\n <div id={this.slideshowid}>\n {this.renderSlideshowMain()}\n {this.renderSlideshowFooter()}\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,40DAA40D,CAAC;;ACIt2D;;;;AAIG;AACH,SAAS,aAAa,CAAC,IAAa,EAAA;IAClC,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,KAAc,KAAsB,OAAO,KAAK,KAAK,QAAQ,CAAC;AAC1G;MAWa,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAoBE,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC;AAmLjB;IA9KC,SAAS,GAAA;QACP,IAAI,CAAC,UAAU,EAAE;;IAGnB,iBAAiB,GAAA;QACf,IAAI,CAAC,UAAU,EAAE;QAEjB,IAAI,CAAC,SAAS,EAAE;AAChB,QAAA,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;IAGjE,kBAAkB,GAAA;QAChB,IAAI,CAAC,QAAQ,EAAE;;IAGT,YAAY,GAAA;QAClB,IAAI,CAAC,SAAS,EAAE;QAChB,IAAI,CAAC,QAAQ,EAAE;;IAGT,UAAU,GAAA;;AAChB,QAAA,QAAQ,OAAO,IAAI,CAAC,IAAI;YACtB,KAAK,QAAQ,EAAE;gBACb,MAAM,MAAM,GAAG,CAAA,EAAA,GAAA,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,EAAE;AAC3C,gBAAA,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE;AAC1B,oBAAA,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC;;AAG3C,gBAAA,IAAI,CAAC,KAAK,GAAG,MAAM;gBACnB;;AAEF,YAAA;AACE,gBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI;gBACtB;;;IAIE,QAAQ,GAAA;AACd,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAgB;QAC5E,IAAI,CAAC,SAAS,EAAE;YACd;;AAGF,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC;AAC/D,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,WAAW;QACjC,MAAM,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM;QAE3C,SAAS,CAAC,KAAK,CAAC,KAAK,GAAG,CAAA,EAAG,SAAS,IAAI;AACxC,QAAA,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,CAAA,WAAA,EAAc,KAAK,GAAG,IAAI,CAAC,YAAY,CAAA,GAAA,CAAK;AACxE,QAAA,SAAS,CAAC,OAAO,CAAC,CAAC,IAAiB,KAAI;YACtC,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC;YACrC,GAAG,CAAC,KAAK,CAAC,KAAK,GAAG,CAAA,EAAG,KAAK,IAAI;AAChC,SAAC,CAAC;;IAGI,SAAS,GAAA;AACf,QAAA,IAAI,CAAC,MAAM,GAAG,SAAS,EAAE;;AAGnB,IAAA,eAAe,CAAC,KAAa,EAAA;AACnC,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK;;IAGnB,kBAAkB,GAAA;AACxB,QAAA,QAAQ,IAAI,CAAC,MAAM;YACjB,KAAK,MAAM,CAAC,MAAM;AAChB,gBAAA,OAAO,EAAE;YACX,KAAK,MAAM,CAAC,MAAM;AAChB,gBAAA,OAAO,EAAE;AACX,YAAA;AACE,gBAAA,OAAO,EAAE;;;AAIP,IAAA,YAAY,CAAC,KAAe,EAAA;AAClC,QAAA,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,EAAE,EAAC,QAAQ,EAAA,EACb,KAAK,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,CAAS,MACjC,CAAA,CAAA,KAAA,EAAA,EACE,EAAE,EAAE,OAAO,GAAG,CAAC,EACf,KAAK,EAAE,CAAA,MAAA,EAAS,IAAI,CAAC,YAAY,KAAK,CAAC,IAAI,MAAM,CAAA,CAAE,EAAA,EAEnD,CAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,IAAI,EAAA,CAAI,CACd,CACP,CAAC,CACE;;AAIF,IAAA,YAAY,CAAC,SAA2B,EAAA;QAC9C,IAAI,QAAQ,GAAG,KAAK,EAClB,SAAS,GAAG,IAAI,CAAC,YAAY;AAE/B,QAAA,IAAI,SAAS,KAAK,MAAM,EAAE;AACxB,YAAA,QAAQ,GAAG,IAAI,CAAC,YAAY,KAAK,CAAC;AAClC,YAAA,SAAS,EAAE;;AACN,aAAA,IAAI,SAAS,KAAK,OAAO,EAAE;AAChC,YAAA,QAAQ,GAAG,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;AACtD,YAAA,SAAS,EAAE;;AAGb,QAAA,QACE,CAAA,CAAA,QAAA,EAAA,EACE,KAAK,EAAE,CAAA,OAAA,EAAU,SAAS,IAAI,QAAQ,IAAI,UAAU,CAAA,CAAE,EACtD,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAE,EAChC,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,EACjC,IAAI,EAAE,WAAW,SAAS,CAAA,OAAA,CAAS,EACnC,OAAO,EAAE,MAAK;gBACZ,IAAI,CAAC,QAAQ,EAAE;AACb,oBAAA,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC;;aAElC,EACD,OAAO,EAAE,CAAC,CAAgB,KACxB,CAAC,QAAQ;AACT,gBAAA,oBAAoB,CAAC,CAAC,EAAE,MAAK;AAC3B,oBAAA,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC;AACjC,iBAAC,CAAC,EAEJ,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EAAA,CACb;;IAIE,mBAAmB,GAAA;AACzB,QAAA,QACE,CAAA,CAAA,MAAA,EAAA,IAAA,EACG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EACzB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,EAC7B,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CACtB;;AAIH,IAAA,YAAY,CAAC,CAAS,EAAA;AAC5B,QAAA,QACE,CAAA,CAAA,GAAA,EAAA,EACE,KAAK,EAAE,CAAA,OAAA,EAAU,IAAI,CAAC,YAAY,KAAK,CAAC,IAAI,UAAU,CAAA,CAAE,EACxD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EACtC,OAAO,EAAE,CAAC,CAAgB,KAAK,oBAAoB,CAAC,CAAC,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EACrF,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EAAA,CACV;;IAID,qBAAqB,GAAA;QAC3B,QACE,CAAA,CAAA,QAAA,EAAA,IAAA,EACE,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,aAAa,EAAA,EACtB,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,aAAa,EAAA,CAAG,CACvB,EACN,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,kBAAkB,EAAA,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAO,CACpG,EACN,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,cAAc,EAAA,EACvB,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,cAAc,GAAG,CACxB,CACC;;IAIb,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;AACrC,YAAA,OAAO,cAAO;;QAGhB,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,EAAE,EAAE,IAAI,CAAC,WAAW,EAAA,EACtB,IAAI,CAAC,mBAAmB,EAAE,EAC1B,IAAI,CAAC,qBAAqB,EAAE,CACzB;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BcDWN4F1.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = () => `:host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}`;
|
|
4
4
|
|
|
@@ -14,9 +14,12 @@ const ZStepperItem = class {
|
|
|
14
14
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'fc0b562b795155452ded52d0ccfb25b7dfee077a', role: "listitem" }, h("button", Object.assign({ key: '33c5a8bb52a9fe82c096b36eb9e233fa3894c29a', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: 'a2a82191dcab1aeb2d60879f591bfe15ec58e324', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '618e5e3e990dfe2b3b9faa522ac54a87c79fa04e' }, h("slot", { key: '7ea6a3e4a467bff8853bd9ccf717e9059a37b645' })))));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
ZStepperItem.style = stylesCss();
|
|
21
21
|
|
|
22
22
|
export { ZStepperItem as z_stepper_item };
|
|
23
|
+
//# sourceMappingURL=z-stepper-item.entry.js.map
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=z-stepper-item.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-stepper-item.entry.js","sources":["src/components/z-stepper-item/styles.css?tag=z-stepper-item&encapsulation=shadow","src/components/z-stepper-item/index.tsx"],"sourcesContent":[":host {\n position: relative;\n width: calc(var(--space-unit) * 5);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --z-icon-width: 20px;\n --z-icon-height: 20px;\n}\n\n:host(:not(:last-child)) {\n flex: 1;\n}\n\n:host(:not(:last-child))::after {\n position: absolute;\n z-index: 1;\n top: calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);\n right: calc(var(--space-unit) * 2);\n left: calc(var(--space-unit) * 3);\n display: block;\n width: auto;\n border-bottom: var(--border-size-medium) solid var(--color-disabled03);\n margin: 0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);\n content: \"\";\n}\n\n.stepper-item {\n display: flex;\n width: calc(var(--space-unit) * 5);\n flex-direction: column;\n align-items: center;\n padding: 0;\n border: 0;\n appearance: none;\n background: transparent;\n color: inherit;\n font-family: inherit;\n font-size: 12px;\n line-height: 16px;\n outline: 0;\n text-decoration: none;\n}\n\n.stepper-item span {\n display: none;\n width: calc(100% + calc(var(--space-unit) * 4));\n color: var(--color-default-text);\n text-align: center;\n}\n\n:host([href]:not([disabled], [pressed])) .stepper-item {\n cursor: pointer;\n}\n\n:host([disabled]) .stepper-item {\n pointer-events: none;\n}\n\n:host([pressed]),\n:host([pressed]) .stepper-item {\n pointer-events: none;\n}\n\n.indicator {\n display: flex;\n width: calc(var(--space-unit) * 4);\n height: calc(var(--space-unit) * 4);\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n border: var(--border-size-medium) solid var(--color-primary01);\n margin: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n border-radius: 50%;\n color: var(--color-primary01);\n content: counter(stepper);\n font-size: 14px;\n font-weight: var(--font-sb);\n line-height: 1;\n}\n\n:host([pressed]:not([disabled])) .indicator {\n border-color: var(--color-hover-primary);\n background: var(--color-hover-primary);\n color: var(--color-text-inverse);\n}\n\n:host([href]:not([disabled]):focus-within) .indicator {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([href]:not([disabled], [pressed], [checked])) .indicator:hover {\n border-color: var(--color-hover-primary);\n color: var(--color-hover-primary);\n}\n\n:host([disabled]) .indicator {\n border-color: var(--color-disabled02);\n background: var(--color-disabled01);\n color: var(--color-disabled03);\n}\n\n:host([checked]:not([disabled])) .indicator {\n border-color: var(--color-default-success);\n color: var(--color-default-success);\n}\n\n:host([checked]:not([disabled])) .indicator z-icon {\n fill: var(--color-default-success);\n}\n\n:host([checked]) .indicator z-icon > svg {\n width: 24px;\n height: 24px;\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n .stepper-item span {\n display: block;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n :host {\n width: calc(var(--space-unit) * 10);\n\n --z-icon-width: 24px;\n --z-icon-height: 24px;\n }\n\n :host(:not(:last-child))::after {\n top: calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);\n left: calc(var(--space-unit) * 8);\n }\n\n .stepper-item {\n width: calc(var(--space-unit) * 10);\n font-size: 18px;\n line-height: 28px;\n }\n\n .indicator {\n width: calc(var(--space-unit) * 6);\n height: calc(var(--space-unit) * 6);\n font-size: 16px;\n }\n}\n","import {Component, ComponentInterface, Host, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-stepper-item\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZStepperItem implements ComponentInterface {\n /**\n * The number of the step item.\n */\n @Prop({reflect: true})\n index: number;\n\n /**\n * The href to navigate on click.\n */\n @Prop({reflect: true})\n href: string;\n\n /**\n * The pressed state of the item.\n */\n @Prop({reflect: true})\n pressed: boolean;\n\n /**\n * The checked state of the item.\n */\n @Prop({reflect: true})\n checked: boolean;\n\n /**\n * The disabled state of the item.\n */\n @Prop({reflect: true})\n disabled: boolean;\n\n private getAttributes(): Record<string, unknown> {\n const href =\n this.href && !this.pressed && !this.disabled ? {onClick: () => (location.href = this.href)} : undefined;\n const role = href ? {role: \"link\"} : undefined;\n const current = this.pressed && !this.disabled ? {\"aria-current\": \"step\"} : undefined;\n const tabindex = this.pressed || this.href === \"\" ? {tabIndex: -1} : undefined;\n\n return {\n ...href,\n ...role,\n ...current,\n ...tabindex,\n };\n }\n\n render(): HTMLAnchorElement | HTMLButtonElement {\n return (\n <Host role=\"listitem\">\n <button\n class=\"stepper-item\"\n disabled={this.disabled}\n {...this.getAttributes()}\n >\n <div class=\"indicator\">{this.checked ? <z-icon name=\"checkmark\" /> : this.index}</div>\n <span>\n <slot />\n </span>\n </button>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,2vFAA2vF,CAAC;;MCOxwF,YAAY,GAAA,MAAA;;;;IA+Bf,aAAa,GAAA;AACnB,QAAA,MAAM,IAAI,GACR,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,EAAC,OAAO,EAAE,OAAO,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,EAAC,GAAG,SAAS;AACzG,QAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,SAAS;QAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,EAAC,cAAc,EAAE,MAAM,EAAC,GAAG,SAAS;QACrF,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE,GAAG,EAAC,QAAQ,EAAE,EAAE,EAAC,GAAG,SAAS;AAE9E,QAAA,OAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACK,IAAI,CAAA,EACJ,IAAI,GACJ,OAAO,CAAA,EACP,QAAQ,CAAA;;IAIf,MAAM,GAAA;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,IAAI,EAAC,UAAU,EAAA,EACnB,CAAA,CAAA,QAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,cAAc,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EACnB,IAAI,CAAC,aAAa,EAAE,CAAA,EAExB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,WAAW,EAAA,EAAE,IAAI,CAAC,OAAO,GAAG,cAAQ,IAAI,EAAC,WAAW,EAAA,CAAG,GAAG,IAAI,CAAC,KAAK,CAAO,EACtF,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACA,CACJ;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BcDWN4F1.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = () => `:host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}`;
|
|
4
4
|
|
|
@@ -7,9 +7,12 @@ const ZStepper = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '8a2d0549f14aae5e0ff1cf1d0bb019a86bc1b8e1', role: "navigation" }, h("slot", { key: '1ae9a9e7fec88737934d443d07b20eb354cfd4ae' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ZStepper.style = stylesCss();
|
|
14
14
|
|
|
15
15
|
export { ZStepper as z_stepper };
|
|
16
|
+
//# sourceMappingURL=z-stepper.entry.js.map
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=z-stepper.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-stepper.entry.js","sources":["src/components/z-stepper/styles.css?tag=z-stepper&encapsulation=shadow","src/components/z-stepper/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n flex-direction: row;\n padding: 0;\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n list-style: none;\n}\n\n@media (min-width: 768px) {\n :host {\n padding: 0 calc(var(--space-unit) * 2);\n }\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * @slot - slot for `z-stepper-item`\n */\n@Component({\n tag: \"z-stepper\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZStepper implements ComponentInterface {\n render(): HTMLSlotElement {\n return (\n <Host role=\"navigation\">\n <slot />\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,iRAAiR,CAAC;;MCU9R,QAAQ,GAAA,MAAA;;;;IACnB,MAAM,GAAA;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,IAAI,EAAC,YAAY,EAAA,EACrB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH;;;;;;;"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, d as getElement } from './index-BcDWN4F1.js';
|
|
2
2
|
import './z-tbody.entry.js';
|
|
3
3
|
import './z-tfoot.entry.js';
|
|
4
4
|
import './z-thead.entry.js';
|
|
5
5
|
import './z-tr.entry.js';
|
|
6
|
-
import './utils-
|
|
7
|
-
import './index-
|
|
6
|
+
import './utils-C9lc3rtK.js';
|
|
7
|
+
import './index-B3nR3-Jw.js';
|
|
8
8
|
import './breakpoints-Q-tWjk7P.js';
|
|
9
9
|
import './z-td.entry.js';
|
|
10
10
|
import './z-th.entry.js';
|
|
11
11
|
|
|
12
|
-
const stylesCss = () => `:host{
|
|
12
|
+
const stylesCss$1 = () => `:host{position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit)}:host([expandable]){--z-table--expand-button-size:40px}`;
|
|
13
|
+
|
|
14
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
13
15
|
|
|
14
16
|
const ZTable = class {
|
|
15
17
|
constructor(hostRef) {
|
|
@@ -46,10 +48,13 @@ const ZTable = class {
|
|
|
46
48
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
47
49
|
}
|
|
48
50
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'e6312c6e3bc53f74407f70eca34f9d0ede44b40d', expandable: this.expandable }, h("div", { key: 'e1009eab29f0b6a02533ee7b542095f6cd83e1a0', class: "table", role: "table" }, h("slot", { key: '6f3dbd3fdf96dec314a441c046333c1ab9f67cc1' }))));
|
|
50
52
|
}
|
|
51
53
|
get host() { return getElement(this); }
|
|
52
54
|
};
|
|
53
|
-
ZTable.style = stylesCss();
|
|
55
|
+
ZTable.style = stylesCss$1() + stylesCss();
|
|
54
56
|
|
|
55
57
|
export { ZTable as z_table };
|
|
58
|
+
//# sourceMappingURL=z-table.entry.js.map
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=z-table.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-table.entry.js","sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-table--cells-padding: Padding of the cells.\n */\n\n position: relative;\n display: block;\n overflow: auto;\n min-width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n padding: var(--space-unit);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 */\n@Component({\n tag: \"z-table\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\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"],"names":["stylesCss"],"mappings":";;;;;;;;;;;AAAA,MAAMA,WAAS,GAAG,MAAM,CAAC,gMAAgM,CAAC;;ACA1N,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCevtD,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAQE;;AAEG;AAEH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK;AAEhB;;AAEG;AAEH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAwCnB;IAtCS,gBAAgB,GAAA;AACtB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC;;AAK7E;;AAEG;IACH,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,MAAK;YAC1D,IAAI,CAAC,gBAAgB,EAAE;AACzB,SAAC,CAAC;QACF,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;AACjD,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;AAC/B,YAAA,iBAAiB,EAAE,KAAK;AACzB,SAAA,CAAC;;IAGJ,oBAAoB,GAAA;;QAClB,CAAA,EAAA,GAAA,IAAI,CAAC,0BAA0B,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,UAAU,EAAE;;IAG/C,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAA,EAC/B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,EAAA,EAEZ,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACD;;;;;;;;"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BcDWN4F1.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{display:block;box-sizing:border-box}`;
|
|
3
|
+
const stylesCss$1 = () => `:host{display:block;box-sizing:border-box}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
4
6
|
|
|
5
7
|
const ZTbody = class {
|
|
6
8
|
constructor(hostRef) {
|
|
7
9
|
registerInstance(this, hostRef);
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'ff5da26d4d754ab4da901422be45d9cd546807b9', role: "rowgroup" }, h("slot", { key: 'fe0a17ad217ca1eb372f9f176df75534a3971aa9' })));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
ZTbody.style = stylesCss();
|
|
15
|
+
ZTbody.style = stylesCss$1() + stylesCss();
|
|
14
16
|
|
|
15
17
|
export { ZTbody as z_tbody };
|
|
18
|
+
//# sourceMappingURL=z-tbody.entry.js.map
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=z-tbody.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tbody.entry.js","sources":["src/components/table/z-tbody/styles.css?tag=z-tbody&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-tbody&encapsulation=shadow","src/components/table/z-tbody/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"names":["stylesCss"],"mappings":";;AAAA,MAAMA,WAAS,GAAG,MAAM,CAAC,0CAA0C,CAAC;;ACApE,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCWvtD,MAAM,GAAA,MAAA;;;;IACjB,MAAM,GAAA;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,IAAI,EAAC,UAAU,EAAA,EACnB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACR;;;;;;;"}
|
package/dist/esm/z-td.entry.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { P as PopoverPosition, e as ControlSize, B as ButtonVariant } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-BcDWN4F1.js';
|
|
2
|
+
import { P as PopoverPosition, e as ControlSize, B as ButtonVariant } from './index-B3nR3-Jw.js';
|
|
3
3
|
|
|
4
|
-
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;
|
|
4
|
+
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;
|
|
5
|
+
|
|
6
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
5
7
|
|
|
6
8
|
const ZTd = class {
|
|
7
9
|
constructor(hostRef) {
|
|
@@ -43,7 +45,7 @@ const ZTd = class {
|
|
|
43
45
|
this.updateColspan();
|
|
44
46
|
}
|
|
45
47
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '2c3552c5c30611595ac619e6ca3a1e93b3d37366', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'd13012a1f16aaa6ab44b4eea1dafa63cf1ebbd3a', class: "cell--content" }, h("slot", { key: 'b4571116c24bb99dc6ec76486fc948da89a5393b' }), this.showMenu && (h("div", { key: '6ebd3bfc1fcf8dce3afb91931309c4644efc2e49', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '3d01c8956127276eb765c3a9f4aabb4ed710b404', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'd04c06677e2e8efb5d80bfbfd7cc91c9cbff7231', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'c389c6fdf131aeef86eae687df9c2f7fb6fbc3be', name: "contextual-menu" })))))));
|
|
47
49
|
}
|
|
48
50
|
get host() { return getElement(this); }
|
|
49
51
|
static get watchers() { return {
|
|
@@ -52,6 +54,9 @@ const ZTd = class {
|
|
|
52
54
|
}]
|
|
53
55
|
}; }
|
|
54
56
|
};
|
|
55
|
-
ZTd.style = zTableCellsCss();
|
|
57
|
+
ZTd.style = zTableCellsCss() + stylesCss();
|
|
56
58
|
|
|
57
59
|
export { ZTd as z_td };
|
|
60
|
+
//# sourceMappingURL=z-td.entry.js.map
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=z-td.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-td.entry.js","sources":["src/components/table/cells/z-table-cells.css?tag=z-td&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n max-width: 100%;\n align-items: center;\n background-color: var(--color-surface01);\n gap: calc(var(--space-unit) * 2) var(--space-unit);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n top: 0;\n left: 0;\n box-shadow: 8px 0 16px -8px var(--shadow-color-base);\n}\n\n:host([menu-open]) {\n z-index: 2;\n}\n\n.cell--content {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n}\n\n:host([show-menu]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.cell--menu-container {\n margin-left: auto;\n}\n\n:host(:not([show-menu])) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n}\n\n:host(:is([show-menu], [menu-open])) .cell--menu-container,\n:host([show-menu]) .cell--menu-container:focus-within {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n}\n\n:host .cell-popover {\n z-index: 100;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-menu=\"hover\"]) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-menu=\"hover\"]:hover) .cell--menu-container {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n }\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrls: [\"../z-table-cells.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTd implements ComponentInterface {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\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 * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\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 this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\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"],"names":[],"mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,k9BAAk9B,CAAC;;ACAj/B,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCYvtD,GAAG,GAAA,MAAA;AALhB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAcE;;AAEG;AAEH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;AAEd;;;;AAIG;AAEH,QAAA,IAAA,CAAA,QAAQ,GAAwB,IAAI;AAEpC;;AAEG;AAEH,QAAA,IAAA,CAAA,eAAe,GAAqB,eAAe,CAAC,IAAI;AAExD;;AAEG;AAEH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAmEnB;IAnDW,aAAa,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AAChB,YAAA,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,CAAA,KAAA,EAAQ,IAAI,CAAC,OAAO,CAAA,CAAE;;aAC9C;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC;;QAG/C,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;;AAGpC,IAAA,iBAAiB,CAAC,EAAc,EAAA;QACtC,EAAE,CAAC,eAAe,EAAE;QACpB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI;;IAG5C,iBAAiB,GAAA;QACf,IAAI,CAAC,aAAa,EAAE;;IAGtB,MAAM,GAAA;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,IAAI,EAAC,MAAM,EAAA,WAAA,EACA,IAAI,CAAC,UAAU,EAAA,EAE1B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,EACZ,IAAI,CAAC,QAAQ,KACZ,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,qCAAqC,EAAA,EAC9C,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,CAC1C,EACF,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAA,EAE9B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,iBAAiB,EAAA,CAAQ,CAC1B,CACR,CACP,CACG,CACD;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BcDWN4F1.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{display:block;box-sizing:border-box;
|
|
3
|
+
const stylesCss$1 = () => `:host{display:block;box-sizing:border-box;margin-top:-1px}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
4
6
|
|
|
5
7
|
const ZTfoot = class {
|
|
6
8
|
constructor(hostRef) {
|
|
@@ -11,9 +13,12 @@ const ZTfoot = class {
|
|
|
11
13
|
this.sticky = false;
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'cdd4d2841caada167b8818ff534744445e0d8979', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '5cf911121ea09dcc13744e9d1d730be92f20cbf4' })));
|
|
15
17
|
}
|
|
16
18
|
};
|
|
17
|
-
ZTfoot.style = stylesCss();
|
|
19
|
+
ZTfoot.style = stylesCss$1() + stylesCss();
|
|
18
20
|
|
|
19
21
|
export { ZTfoot as z_tfoot };
|
|
22
|
+
//# sourceMappingURL=z-tfoot.entry.js.map
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=z-tfoot.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tfoot.entry.js","sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n margin-top: -1px;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTfoot implements ComponentInterface {\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"],"names":["stylesCss"],"mappings":";;AAAA,MAAMA,WAAS,GAAG,MAAM,CAAC,qJAAqJ,CAAC;;ACA/K,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCWvtD,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAME;;AAEG;AAEH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;AAYf;IAVC,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,EAAE,EAAA,EAEZ,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACR;;;;;;;"}
|
package/dist/esm/z-th.entry.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { P as PopoverPosition, S as SortDirection, e as ControlSize, B as ButtonVariant } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-BcDWN4F1.js';
|
|
2
|
+
import { P as PopoverPosition, S as SortDirection, e as ControlSize, B as ButtonVariant } from './index-B3nR3-Jw.js';
|
|
3
3
|
|
|
4
|
-
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;
|
|
4
|
+
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;
|
|
5
5
|
|
|
6
|
-
const stylesCss = () => `:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}
|
|
6
|
+
const stylesCss$1 = () => `:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}`;
|
|
7
|
+
|
|
8
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
7
9
|
|
|
8
10
|
const ZTh = class {
|
|
9
11
|
constructor(hostRef) {
|
|
@@ -72,7 +74,7 @@ const ZTh = class {
|
|
|
72
74
|
this.updateColspan();
|
|
73
75
|
}
|
|
74
76
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'aef115e04b8a8c37c749a568bcb24250e062008b', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '5b78767c1d65440363c06d5e4b7137598e74d8b4', class: "cell--content" }, h("slot", { key: '340210db9182785b89ed01a26d6dc60558aa9f4f' }), this.showSorting && (h("button", { key: '2c6f42cbf3a2c1d37af04182731503accfe67362', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'ad73a2838da75772e84e431c36256e77bdf39157', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: 'd4c23d3a5b05ccea94a03efa6b10efc65e4a0cf4', class: "cell--menu-container" }, h("z-button", { key: 'fb0930c50cd3ac363e764ded3d7be227678a5d2d', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'b720485c31c2070d77e33bceacd5be582516ae38', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '7372fa0d1ca9773ebbf8b6c8ec581133967aafdf', name: "contextual-menu" })))))));
|
|
76
78
|
}
|
|
77
79
|
get host() { return getElement(this); }
|
|
78
80
|
static get watchers() { return {
|
|
@@ -81,6 +83,9 @@ const ZTh = class {
|
|
|
81
83
|
}]
|
|
82
84
|
}; }
|
|
83
85
|
};
|
|
84
|
-
ZTh.style = zTableCellsCss() + stylesCss();
|
|
86
|
+
ZTh.style = zTableCellsCss() + (stylesCss$1() + stylesCss());
|
|
85
87
|
|
|
86
88
|
export { ZTh as z_th };
|
|
89
|
+
//# sourceMappingURL=z-th.entry.js.map
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=z-th.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-th.entry.js","sources":["src/components/table/cells/z-table-cells.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n max-width: 100%;\n align-items: center;\n background-color: var(--color-surface01);\n gap: calc(var(--space-unit) * 2) var(--space-unit);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n top: 0;\n left: 0;\n box-shadow: 8px 0 16px -8px var(--shadow-color-base);\n}\n\n:host([menu-open]) {\n z-index: 2;\n}\n\n.cell--content {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n}\n\n:host([show-menu]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.cell--menu-container {\n margin-left: auto;\n}\n\n:host(:not([show-menu])) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n}\n\n:host(:is([show-menu], [menu-open])) .cell--menu-container,\n:host([show-menu]) .cell--menu-container:focus-within {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n}\n\n:host .cell-popover {\n z-index: 100;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-menu=\"hover\"]) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-menu=\"hover\"]:hover) .cell--menu-container {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n }\n}\n",":host {\n z-index: 1;\n padding: 0;\n background-color: var(--color-background);\n font-weight: var(--font-sb);\n}\n\n:host([show-sorting]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.z-th--sort-button {\n position: relative;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n.z-th--sort-button:focus,\n.z-th--sort-button:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n opacity: 1;\n outline: none;\n pointer-events: all;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-sorting=\"hover\"]) .z-th--sort-button {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-sorting=\"hover\"]:hover) .z-th--sort-button,\n :host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,\n :host([show-sorting=\"always\"]) .z-th--sort-button,\n :host([sorted]) .z-th--sort-button {\n opacity: 1;\n pointer-events: all;\n }\n}\n\n:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,\n:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,\n:host([show-sorting=\"always\"]) .z-th--sort-button::after,\n:host([sorted]) .z-th--sort-button::after {\n position: absolute;\n top: 6px;\n left: 6px;\n width: calc(100% - 12px);\n height: calc(100% - 10px);\n background-color: transparent;\n content: \"\";\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 styleUrls: [\"../z-table-cells.css\", \"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTh implements ComponentInterface {\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"],"names":["stylesCss"],"mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,k9BAAk9B,CAAC;;ACAj/B,MAAMA,WAAS,GAAG,MAAM,CAAC,mnCAAmnC,CAAC;;ACA7oC,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCavtD,GAAG,GAAA,MAAA;AALhB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAcE;;;;AAIG;AAEH,QAAA,IAAA,CAAA,QAAQ,GAAwB,IAAI;AAEpC;;;;AAIG;AAEH,QAAA,IAAA,CAAA,WAAW,GAAwB,IAAI;AAEvC;;AAEG;AAEH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;AAQd;;AAEG;AAEH,QAAA,IAAA,CAAA,MAAM,GAAmB,KAAK;AAE9B;;AAEG;AAEH,QAAA,IAAA,CAAA,eAAe,GAAG,eAAe,CAAC,IAAI;AAEtC;;AAEG;AAEH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAqGnB;AAvFC;;AAEG;AACH,IAAA,IAAY,iBAAiB,GAAA;AAC3B,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,OAAO,IAAI;;AAGb,QAAA,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,WAAW,GAAG,YAAY;;AAG9E;;;AAGG;IACK,UAAU,GAAA;AAChB,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,IAAI,CAAC,MAAM,GAAG,KAAK;YAEnB;;QAGF,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC,GAAG;AACtG,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAElB,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAC,CAAC;;IAI3C,aAAa,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AAChB,YAAA,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,CAAA,KAAA,EAAQ,IAAI,CAAC,OAAO,CAAA,CAAE;;aAC9C;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC;;;IAIjD,iBAAiB,GAAA;QACf,IAAI,CAAC,aAAa,EAAE;;IAGtB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,EAAA,WAAA,EACf,IAAI,CAAC,iBAAiB,EACjC,QAAQ,EAAE,IAAI,CAAC,WAAW,EAAA,EAE1B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,EACZ,IAAI,CAAC,WAAW,KACf,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,EAEnC,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EACzF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EAAA,CACV,CACK,CACV,EACA,IAAI,CAAC,QAAQ,KACZ,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAA,CAC3D,EACF,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAA,EAE9B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,iBAAiB,EAAA,CAAQ,CAC1B,CACR,CACP,CACG,CACD;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, d as getElement } from './index-BcDWN4F1.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{--z-table--cells-
|
|
3
|
+
const stylesCss$1 = () => `:host{--z-table--cells-background:var( --color-background );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;
|
|
4
6
|
|
|
5
7
|
const ZThead = class {
|
|
6
8
|
constructor(hostRef) {
|
|
@@ -15,10 +17,13 @@ const ZThead = class {
|
|
|
15
17
|
this.isFocusable = false;
|
|
16
18
|
}
|
|
17
19
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '0e43e10373817b9ee5e4f1574fb0d46b232c510d', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'aefd2ed2698efb7deabd11284f3d6cae95800e50' })));
|
|
19
21
|
}
|
|
20
22
|
get host() { return getElement(this); }
|
|
21
23
|
};
|
|
22
|
-
ZThead.style = stylesCss();
|
|
24
|
+
ZThead.style = stylesCss$1() + stylesCss();
|
|
23
25
|
|
|
24
26
|
export { ZThead as z_thead };
|
|
27
|
+
//# sourceMappingURL=z-thead.entry.js.map
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=z-thead.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-thead.entry.js","sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n\n:host(:focus-visible) {\n box-shadow: none;\n outline: none;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\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"],"names":["stylesCss"],"mappings":";;AAAA,MAAMA,WAAS,GAAG,MAAM,CAAC,4PAA4P,CAAC;;ACAtR,MAAM,SAAS,GAAG,MAAM,CAAC,0sDAA0sD,CAAC;;MCWvtD,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAQE;;AAEG;AAEH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK;AAEd;;AAEG;AAEH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK;AAYpB;IAVC,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,EAAE,EAAA,EAEnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACR;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as getElement } from './index-
|
|
2
|
-
import { s as ToastNotificationPosition } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as getElement } from './index-BcDWN4F1.js';
|
|
2
|
+
import { s as ToastNotificationPosition } from './index-B3nR3-Jw.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = () => `:host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}`;
|
|
5
5
|
|
|
@@ -43,7 +43,7 @@ const ZToastNotificationList = class {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return h("slot", { key: '
|
|
46
|
+
return h("slot", { key: '29e7ea359024d2214bbc885d34cc49cc6c86281f', name: "toasts" });
|
|
47
47
|
}
|
|
48
48
|
get hostElement() { return getElement(this); }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -55,3 +55,6 @@ const ZToastNotificationList = class {
|
|
|
55
55
|
ZToastNotificationList.style = stylesCss();
|
|
56
56
|
|
|
57
57
|
export { ZToastNotificationList as z_toast_notification_list };
|
|
58
|
+
//# sourceMappingURL=z-toast-notification-list.entry.js.map
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=z-toast-notification-list.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-toast-notification-list.entry.js","sources":["src/components/z-toast-notification-list/styles.css?tag=z-toast-notification-list&encapsulation=shadow","src/components/z-toast-notification-list/index.tsx"],"sourcesContent":[":host {\n position: fixed;\n z-index: 10000;\n display: flex;\n flex-flow: column nowrap;\n margin-top: calc(var(--space-unit) * 2);\n margin-bottom: calc(var(--space-unit) * 2);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n::slotted(z-toast-notification) {\n width: 100vw;\n}\n\n::slotted(:not(:last-child)) {\n margin-bottom: calc(var(--space-unit) * 1);\n}\n\n:host([position=\"bottom-centre\"]),\n:host([position=\"bottom-right\"]),\n:host([position=\"bottom-left\"]) {\n bottom: 0;\n align-items: flex-end;\n justify-content: flex-end;\n}\n\n:host([position=\"top-left\"]),\n:host([position=\"top-right\"]),\n:host([position=\"top-centre\"]) {\n top: 0;\n align-items: flex-start;\n justify-content: flex-start;\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n :host {\n margin: calc(var(--space-unit) * 3);\n }\n\n :host([position=\"top-centre\"]) {\n top: 0;\n left: 50%;\n align-items: center;\n justify-content: flex-start;\n transform: translateX(-50%);\n }\n\n :host([position=\"top-left\"]) {\n top: 0;\n left: 0;\n align-items: flex-start;\n justify-content: flex-start;\n }\n\n :host([position=\"top-right\"]) {\n top: 0;\n right: 0;\n align-items: flex-end;\n justify-content: flex-start;\n }\n\n :host([position=\"bottom-centre\"]) {\n bottom: 0;\n left: 50%;\n align-items: center;\n justify-content: flex-end;\n transform: translateX(-50%);\n }\n\n :host([position=\"bottom-right\"]) {\n right: 0;\n bottom: 0;\n align-items: flex-end;\n justify-content: flex-end;\n }\n\n :host([position=\"bottom-left\"]) {\n bottom: 0;\n left: 0;\n align-items: flex-start;\n justify-content: flex-end;\n }\n\n ::slotted(z-toast-notification) {\n width: 50vw;\n }\n}\n\n/* Wide breakpoint */\n@media only screen and (min-width: 1366px) {\n :host {\n margin: calc(var(--space-unit) * 4);\n }\n\n ::slotted(z-toast-notification) {\n width: 33vw;\n }\n}\n","import {Component, ComponentInterface, Element, Prop, Watch, h} from \"@stencil/core\";\nimport {ToastNotificationPosition} from \"../../beans\";\n\n@Component({\n tag: \"z-toast-notification-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToastNotificationList implements ComponentInterface {\n @Element() hostElement: HTMLZToastNotificationListElement;\n\n /**Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right */\n @Prop({reflect: true})\n position: ToastNotificationPosition = ToastNotificationPosition.TOP_RIGHT;\n\n /**Set the entry position of new notification in the list */\n @Prop()\n newestontop?: boolean = true;\n\n private notificationArray: Element[] = [];\n\n @Watch(\"newestontop\")\n watchPropNewestontop(newValue: boolean): void {\n this.hostElement.append(...this.notificationArray.reverse());\n if (newValue) {\n this.hostElement.shadowRoot.addEventListener(\"slotchange\", this.slotChangeHandler);\n } else {\n this.hostElement.shadowRoot.removeEventListener(\"slotchange\", this.slotChangeHandler);\n }\n }\n\n componentWillLoad(): void {\n if (this.newestontop) {\n this.handleNewestOnTop();\n }\n }\n\n private handleNewestOnTop(): void {\n this.notificationArray = Array.from(this.hostElement.children);\n this.hostElement.append(...this.notificationArray.reverse());\n this.hostElement.shadowRoot.addEventListener(\"slotchange\", this.slotChangeHandler.bind(this));\n }\n\n private slotChangeHandler(): void {\n const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));\n if (difference) {\n difference.forEach((elem) => {\n this.notificationArray.push(elem);\n const newElem = elem;\n elem.remove();\n this.hostElement.prepend(newElem);\n });\n }\n }\n\n render(): HTMLSlotElement {\n return <slot name=\"toasts\"></slot>;\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,g+CAAg+C,CAAC;;MCQ7+C,sBAAsB,GAAA,MAAA;AALnC,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAUE,QAAA,IAAA,CAAA,QAAQ,GAA8B,yBAAyB,CAAC,SAAS;;AAIzE,QAAA,IAAA,CAAA,WAAW,GAAa,IAAI;AAEpB,QAAA,IAAA,CAAA,iBAAiB,GAAc,EAAE;AAuC1C;AApCC,IAAA,oBAAoB,CAAC,QAAiB,EAAA;AACpC,QAAA,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;QAC5D,IAAI,QAAQ,EAAE;AACZ,YAAA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC;;aAC7E;AACL,YAAA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC;;;IAIzF,iBAAiB,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,iBAAiB,EAAE;;;IAIpB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;AAC9D,QAAA,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;AAC5D,QAAA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;IAGvF,iBAAiB,GAAA;AACvB,QAAA,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACjH,IAAI,UAAU,EAAE;AACd,YAAA,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,gBAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC;gBACjC,MAAM,OAAO,GAAG,IAAI;gBACpB,IAAI,CAAC,MAAM,EAAE;AACb,gBAAA,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC;AACnC,aAAC,CAAC;;;IAIN,MAAM,GAAA;AACJ,QAAA,OAAO,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,GAAQ;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { r as ToastNotificationTransition, g as KeyboardCode } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-BcDWN4F1.js';
|
|
2
|
+
import { r as ToastNotificationTransition, g as KeyboardCode } from './index-B3nR3-Jw.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
|
|
5
5
|
/*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
|
|
@@ -4198,19 +4198,19 @@ const ZToastNotification = class {
|
|
|
4198
4198
|
}
|
|
4199
4199
|
}
|
|
4200
4200
|
render() {
|
|
4201
|
-
return (h(Host, { key: '
|
|
4201
|
+
return (h(Host, { key: '1fc53b2a046a69423b79dc155a8047927f820f99', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
|
|
4202
4202
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
4203
4203
|
this.startClosingTimeout(this.autoclose);
|
|
4204
4204
|
}
|
|
4205
4205
|
if (e.animationName.includes("slideout")) {
|
|
4206
4206
|
this.hostElement.parentNode.removeChild(this.hostElement);
|
|
4207
4207
|
}
|
|
4208
|
-
} }, h("div", { key: '
|
|
4208
|
+
} }, h("div", { key: '3ce177f39a21c8431368287ea771e3b9035494a5', class: "toast-notification-container" }, h("div", { key: 'e516a7f69f5ce2bf2d99d898dc187ed56825cc3a', class: "toast-notification-content" }, h("div", { key: '38550c2a0000cfd468a3e98dbaefbd55f063f5ff', class: "toast-notification-text" }, this.heading && h("span", { key: '242f9da4bb8e8e12a33750077ae2c0f471d3af76', class: "title" }, this.heading), h("span", { key: 'ee4765e96507f08a627d38b2b5462cfceabe378e', class: "message" }, h("slot", { key: 'fb04698db1b74fff5a226d2f37633b7a827575c4', name: "message" }, this.message && h("span", { key: 'cb68e395d3e5986428b3f1bd2d672beb86a53cbc', innerHTML: purify.sanitize(this.message) })))), h("div", { key: 'b637f3d6fda242d84208b4334f5979af6d81dc15', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: '587c1bb667c497b1dc026a7fd51acf1a12692952', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: 'db8aa264cd8c2f04db4d3271c61106930a9d557b', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
|
|
4209
4209
|
if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
|
|
4210
4210
|
e.preventDefault();
|
|
4211
4211
|
this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true);
|
|
4212
4212
|
}
|
|
4213
|
-
} }, h("z-icon", { key: '
|
|
4213
|
+
} }, h("z-icon", { key: 'c80895cdd37e91aaad1314d602cb57f5c7d5cbd9', name: "multiply-circled" }))))));
|
|
4214
4214
|
}
|
|
4215
4215
|
get hostElement() { return getElement(this); }
|
|
4216
4216
|
static get watchers() { return {
|
|
@@ -4228,3 +4228,6 @@ const ZToastNotification = class {
|
|
|
4228
4228
|
ZToastNotification.style = stylesCss();
|
|
4229
4229
|
|
|
4230
4230
|
export { ZToastNotification as z_toast_notification };
|
|
4231
|
+
//# sourceMappingURL=z-toast-notification.entry.js.map
|
|
4232
|
+
|
|
4233
|
+
//# sourceMappingURL=z-toast-notification.entry.js.map
|