@zanichelli/albe-web-components 19.2.12-rc3 → 19.2.12
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 +17 -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 +3 -0
- package/dist/cjs/iconset-Cz-UsfoU.js.map +1 -0
- package/dist/cjs/index-D_S5lGcb.js +3 -0
- package/dist/cjs/index-D_S5lGcb.js.map +1 -0
- package/dist/cjs/index-wGaSHN1_.js +3 -0
- package/dist/cjs/index-wGaSHN1_.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -1
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/reactive-controller-BmGKM-4y.js +1446 -0
- package/dist/cjs/reactive-controller-BmGKM-4y.js.map +1 -0
- package/dist/cjs/utils-C5_wGVkJ.js +3 -0
- package/dist/cjs/utils-C5_wGVkJ.js.map +1 -0
- package/dist/cjs/utils-DRCgbM7t.js +919 -0
- package/dist/cjs/utils-DRCgbM7t.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +4 -1
- package/dist/cjs/web-components-library.cjs.js.map +1 -0
- package/dist/cjs/z-accordion.cjs.entry.js +4 -1
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/z-alert.cjs.entry.js +3 -0
- package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +5 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +4 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +57 -121
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-avatar.cjs.entry.js +5 -2
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-app.cjs.entry.js +4 -1
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +5 -2
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-card.cjs.entry.js +4 -1
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-book-cover.cjs.entry.js +4 -1
- package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +6 -3
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -1
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
- package/dist/cjs/z-card.cjs.entry.js +3 -0
- package/dist/cjs/z-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-carousel.cjs.entry.js +4 -1
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/z-chip.cjs.entry.js +5 -2
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-color-picker.cjs.entry.js +5 -2
- package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-combobox.cjs.entry.js +5 -2
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +5 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -1
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +23 -39
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +5 -2
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/z-file.cjs.entry.js +4 -1
- package/dist/cjs/z-file.cjs.entry.js.map +1 -0
- package/dist/cjs/z-ghost-loading.cjs.entry.js +4 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-box.cjs.entry.js +4 -1
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
- package/dist/cjs/z-info-reveal.cjs.entry.js +4 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
- package/dist/cjs/z-logo.cjs.entry.js +5 -2
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +5 -2
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +4 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +4 -1
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu.cjs.entry.js +4 -1
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-info.cjs.entry.js +5 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-myz-list.cjs.entry.js +3 -0
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +5 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/z-notification.cjs.entry.js +4 -1
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-otp.cjs.entry.js +3 -0
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
- package/dist/cjs/z-pagination.cjs.entry.js +3 -0
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/z-panel-elem.cjs.entry.js +5 -2
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
- package/dist/cjs/z-popover.cjs.entry.js +5 -2
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/z-range-picker.cjs.entry.js +6 -3
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-result-card.cjs.entry.js +3 -0
- package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
- package/dist/cjs/z-section-title.cjs.entry.js +4 -1
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
- package/dist/cjs/z-select.cjs.entry.js +9 -6
- package/dist/cjs/z-select.cjs.entry.js.map +1 -0
- package/dist/cjs/z-skip-to-content.cjs.entry.js +5 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +4 -1
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/z-stepper.cjs.entry.js +4 -1
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/z-table.cjs.entry.js +5 -2
- package/dist/cjs/z-table.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tbody.cjs.entry.js +4 -1
- package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
- package/dist/cjs/z-td.cjs.entry.js +4 -1
- package/dist/cjs/z-td.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +4 -1
- package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
- package/dist/cjs/z-th.cjs.entry.js +4 -1
- package/dist/cjs/z-th.cjs.entry.js.map +1 -0
- package/dist/cjs/z-thead.cjs.entry.js +4 -1
- package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +4 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-button.cjs.entry.js +5 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toggle-switch.cjs.entry.js +7 -4
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tool.cjs.entry.js +6 -3
- package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toolbar.cjs.entry.js +4 -1
- package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -1
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tr.cjs.entry.js +6 -3
- package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tree-list.cjs.entry.js +4 -1
- package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +4 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
- package/dist/collection/beans/index.js +1 -0
- package/dist/collection/beans/index.js.map +1 -0
- package/dist/collection/collection-manifest.json +11 -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/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-td/index.js +2 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
- package/dist/collection/components/table/cells/z-th/index.js +2 -1
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
- package/dist/collection/components/table/z-table/index.js +2 -2
- package/dist/collection/components/table/z-table/index.js.map +1 -0
- package/dist/collection/components/table/z-table/styles.css +3 -0
- package/dist/collection/components/table/z-tbody/index.js +2 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -0
- package/dist/collection/components/table/z-tfoot/index.js +2 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
- package/dist/collection/components/table/z-thead/index.js +2 -1
- package/dist/collection/components/table/z-thead/index.js.map +1 -0
- package/dist/collection/components/table/z-tr/index.js +2 -1
- package/dist/collection/components/table/z-tr/index.js.map +1 -0
- package/dist/collection/components/table/z-tr/styles.css +2 -2
- 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 +2 -1
- 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 +4 -3
- 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 +2 -1
- package/dist/collection/components/z-input/index.js.map +1 -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-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-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 +6 -5
- 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 +3 -2
- 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 +1 -0
- package/dist/collection/constants/iconset.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -0
- 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 +60 -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.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.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 +3 -0
- package/dist/esm/iconset-AwzX9V8L.js.map +1 -0
- package/dist/esm/index-BKCj6NR2.js +3 -0
- package/dist/esm/index-BKCj6NR2.js.map +1 -0
- package/dist/esm/index-DPdXlnVe.js +3 -0
- package/dist/esm/index-DPdXlnVe.js.map +1 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +4 -1
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/reactive-controller-DZQWST94.js +1443 -0
- package/dist/esm/reactive-controller-DZQWST94.js.map +1 -0
- package/dist/esm/utils-D-T4RQuj.js +896 -0
- package/dist/esm/utils-D-T4RQuj.js.map +1 -0
- package/dist/esm/utils-DuuLzXZj.js +3 -0
- package/dist/esm/utils-DuuLzXZj.js.map +1 -0
- package/dist/esm/web-components-library.js +4 -1
- package/dist/esm/web-components-library.js.map +1 -0
- package/dist/esm/z-accordion.entry.js +4 -1
- package/dist/esm/z-accordion.entry.js.map +1 -0
- package/dist/esm/z-alert.entry.js +3 -0
- package/dist/esm/z-alert.entry.js.map +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +5 -2
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
- package/dist/esm/z-app-header-deprecated.entry.js +4 -1
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm/z-app-header_12.entry.js +57 -121
- package/dist/esm/z-app-header_12.entry.js.map +1 -0
- package/dist/esm/z-aria-alert.entry.js +4 -1
- package/dist/esm/z-aria-alert.entry.js.map +1 -0
- package/dist/esm/z-avatar.entry.js +5 -2
- package/dist/esm/z-avatar.entry.js.map +1 -0
- package/dist/esm/z-book-card-app.entry.js +4 -1
- package/dist/esm/z-book-card-app.entry.js.map +1 -0
- package/dist/esm/z-book-card-deprecated.entry.js +5 -2
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm/z-book-card.entry.js +4 -1
- package/dist/esm/z-book-card.entry.js.map +1 -0
- package/dist/esm/z-book-cover.entry.js +4 -1
- package/dist/esm/z-book-cover.entry.js.map +1 -0
- package/dist/esm/z-breadcrumb.entry.js +6 -3
- package/dist/esm/z-breadcrumb.entry.js.map +1 -0
- package/dist/esm/z-button-sort.entry.js +4 -1
- package/dist/esm/z-button-sort.entry.js.map +1 -0
- package/dist/esm/z-card.entry.js +3 -0
- package/dist/esm/z-card.entry.js.map +1 -0
- package/dist/esm/z-carousel.entry.js +4 -1
- package/dist/esm/z-carousel.entry.js.map +1 -0
- package/dist/esm/z-chip.entry.js +5 -2
- package/dist/esm/z-chip.entry.js.map +1 -0
- package/dist/esm/z-color-picker.entry.js +5 -2
- package/dist/esm/z-color-picker.entry.js.map +1 -0
- package/dist/esm/z-combobox.entry.js +5 -2
- package/dist/esm/z-combobox.entry.js.map +1 -0
- package/dist/esm/z-cover-hero.entry.js +5 -2
- package/dist/esm/z-cover-hero.entry.js.map +1 -0
- package/dist/esm/z-date-picker.entry.js +4 -1
- package/dist/esm/z-date-picker.entry.js.map +1 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +23 -39
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
- package/dist/esm/z-file-upload.entry.js +5 -2
- package/dist/esm/z-file-upload.entry.js.map +1 -0
- package/dist/esm/z-file.entry.js +4 -1
- package/dist/esm/z-file.entry.js.map +1 -0
- package/dist/esm/z-ghost-loading.entry.js +4 -1
- package/dist/esm/z-ghost-loading.entry.js.map +1 -0
- package/dist/esm/z-info-box.entry.js +4 -1
- package/dist/esm/z-info-box.entry.js.map +1 -0
- package/dist/esm/z-info-reveal.entry.js +4 -1
- package/dist/esm/z-info-reveal.entry.js.map +1 -0
- package/dist/esm/z-logo.entry.js +5 -2
- package/dist/esm/z-logo.entry.js.map +1 -0
- package/dist/esm/z-menu-deprecated.entry.js +5 -2
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section-deprecated.entry.js +4 -1
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section.entry.js +4 -1
- package/dist/esm/z-menu-section.entry.js.map +1 -0
- package/dist/esm/z-menu.entry.js +4 -1
- package/dist/esm/z-menu.entry.js.map +1 -0
- package/dist/esm/z-myz-card-alert.entry.js +3 -0
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -0
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js +3 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
- package/dist/esm/z-myz-card-footer.entry.js +3 -0
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
- package/dist/esm/z-myz-card-icon.entry.js +3 -0
- package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
- package/dist/esm/z-myz-card-info.entry.js +5 -2
- package/dist/esm/z-myz-card-info.entry.js.map +1 -0
- package/dist/esm/z-myz-card-list.entry.js +3 -0
- package/dist/esm/z-myz-card-list.entry.js.map +1 -0
- package/dist/esm/z-myz-card_4.entry.js +4 -1
- package/dist/esm/z-myz-card_4.entry.js.map +1 -0
- package/dist/esm/z-myz-list-item.entry.js +4 -1
- package/dist/esm/z-myz-list-item.entry.js.map +1 -0
- package/dist/esm/z-myz-list.entry.js +3 -0
- package/dist/esm/z-myz-list.entry.js.map +1 -0
- package/dist/esm/z-navigation-tabs.entry.js +5 -2
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
- package/dist/esm/z-notification.entry.js +4 -1
- package/dist/esm/z-notification.entry.js.map +1 -0
- package/dist/esm/z-otp.entry.js +3 -0
- package/dist/esm/z-otp.entry.js.map +1 -0
- package/dist/esm/z-pagination.entry.js +3 -0
- package/dist/esm/z-pagination.entry.js.map +1 -0
- package/dist/esm/z-panel-elem.entry.js +5 -2
- package/dist/esm/z-panel-elem.entry.js.map +1 -0
- package/dist/esm/z-popover.entry.js +5 -2
- package/dist/esm/z-popover.entry.js.map +1 -0
- package/dist/esm/z-range-picker.entry.js +6 -3
- package/dist/esm/z-range-picker.entry.js.map +1 -0
- package/dist/esm/z-result-card.entry.js +3 -0
- package/dist/esm/z-result-card.entry.js.map +1 -0
- package/dist/esm/z-section-title.entry.js +4 -1
- package/dist/esm/z-section-title.entry.js.map +1 -0
- package/dist/esm/z-select.entry.js +9 -6
- package/dist/esm/z-select.entry.js.map +1 -0
- package/dist/esm/z-skip-to-content.entry.js +5 -2
- package/dist/esm/z-skip-to-content.entry.js.map +1 -0
- package/dist/esm/z-slideshow.entry.js +4 -1
- package/dist/esm/z-slideshow.entry.js.map +1 -0
- package/dist/esm/z-stepper-item.entry.js +4 -1
- package/dist/esm/z-stepper-item.entry.js.map +1 -0
- package/dist/esm/z-stepper.entry.js +4 -1
- package/dist/esm/z-stepper.entry.js.map +1 -0
- package/dist/esm/z-table.entry.js +5 -2
- package/dist/esm/z-table.entry.js.map +1 -0
- package/dist/esm/z-tbody.entry.js +4 -1
- package/dist/esm/z-tbody.entry.js.map +1 -0
- package/dist/esm/z-td.entry.js +4 -1
- package/dist/esm/z-td.entry.js.map +1 -0
- package/dist/esm/z-tfoot.entry.js +4 -1
- package/dist/esm/z-tfoot.entry.js.map +1 -0
- package/dist/esm/z-th.entry.js +4 -1
- package/dist/esm/z-th.entry.js.map +1 -0
- package/dist/esm/z-thead.entry.js +4 -1
- package/dist/esm/z-thead.entry.js.map +1 -0
- package/dist/esm/z-toast-notification-list.entry.js +4 -1
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
- package/dist/esm/z-toast-notification.entry.js +6 -3
- package/dist/esm/z-toast-notification.entry.js.map +1 -0
- package/dist/esm/z-toggle-button.entry.js +5 -2
- package/dist/esm/z-toggle-button.entry.js.map +1 -0
- package/dist/esm/z-toggle-switch.entry.js +7 -4
- package/dist/esm/z-toggle-switch.entry.js.map +1 -0
- package/dist/esm/z-tool.entry.js +6 -3
- package/dist/esm/z-tool.entry.js.map +1 -0
- package/dist/esm/z-toolbar.entry.js +4 -1
- package/dist/esm/z-toolbar.entry.js.map +1 -0
- package/dist/esm/z-tooltip.entry.js +4 -1
- package/dist/esm/z-tooltip.entry.js.map +1 -0
- package/dist/esm/z-tr.entry.js +6 -3
- package/dist/esm/z-tr.entry.js.map +1 -0
- package/dist/esm/z-tree-list.entry.js +4 -1
- package/dist/esm/z-tree-list.entry.js.map +1 -0
- package/dist/esm/z-visually-hidden.entry.js +4 -1
- package/dist/esm/z-visually-hidden.entry.js.map +1 -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-cover-hero/index.d.ts +0 -3
- package/dist/types/components/z-info-reveal/index.d.ts +0 -4
- 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-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 +18 -601
- 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 +10 -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-02741f3e.entry.js +2 -0
- package/dist/web-components-library/p-02741f3e.entry.js.map +1 -0
- package/dist/web-components-library/p-02b47708.entry.js +2 -0
- package/dist/web-components-library/p-02b47708.entry.js.map +1 -0
- package/dist/web-components-library/p-02e3f7db.entry.js +2 -0
- package/dist/web-components-library/p-02e3f7db.entry.js.map +1 -0
- package/dist/web-components-library/p-0b8313b7.entry.js +2 -0
- package/dist/web-components-library/p-0b8313b7.entry.js.map +1 -0
- package/dist/web-components-library/p-0f79c6e8.entry.js +2 -0
- package/dist/web-components-library/p-0f79c6e8.entry.js.map +1 -0
- package/dist/web-components-library/p-168426fe.entry.js +2 -0
- package/dist/web-components-library/p-168426fe.entry.js.map +1 -0
- package/dist/web-components-library/p-1f64ba04.entry.js +8 -0
- package/dist/web-components-library/p-1f64ba04.entry.js.map +1 -0
- package/dist/web-components-library/p-29816d9c.entry.js +2 -0
- package/dist/web-components-library/p-29816d9c.entry.js.map +1 -0
- package/dist/web-components-library/p-2a00eea3.entry.js +2 -0
- package/dist/web-components-library/p-2a00eea3.entry.js.map +1 -0
- package/dist/web-components-library/p-2ffbc315.entry.js +2 -0
- package/dist/web-components-library/p-2ffbc315.entry.js.map +1 -0
- package/dist/web-components-library/p-31635e9d.entry.js +2 -0
- package/dist/web-components-library/p-31635e9d.entry.js.map +1 -0
- package/dist/web-components-library/p-338fc882.entry.js +2 -0
- package/dist/web-components-library/p-338fc882.entry.js.map +1 -0
- package/dist/web-components-library/p-40079bb3.entry.js +2 -0
- package/dist/web-components-library/p-40079bb3.entry.js.map +1 -0
- package/dist/web-components-library/p-413c743d.entry.js +2 -0
- package/dist/web-components-library/p-413c743d.entry.js.map +1 -0
- package/dist/web-components-library/p-441cb2d9.entry.js +2 -0
- package/dist/web-components-library/p-441cb2d9.entry.js.map +1 -0
- package/dist/web-components-library/p-44b8aba8.entry.js +2 -0
- package/dist/web-components-library/p-44b8aba8.entry.js.map +1 -0
- package/dist/web-components-library/p-4767a2b3.entry.js +2 -0
- package/dist/web-components-library/p-4767a2b3.entry.js.map +1 -0
- package/dist/web-components-library/p-48b9411e.entry.js +2 -0
- package/dist/web-components-library/p-48b9411e.entry.js.map +1 -0
- package/dist/web-components-library/p-52e01182.entry.js +2 -0
- package/dist/web-components-library/p-52e01182.entry.js.map +1 -0
- package/dist/web-components-library/p-56f926d7.entry.js +2 -0
- package/dist/web-components-library/p-56f926d7.entry.js.map +1 -0
- package/dist/web-components-library/p-585b7068.entry.js +2 -0
- package/dist/web-components-library/p-585b7068.entry.js.map +1 -0
- package/dist/web-components-library/p-5928e726.entry.js +2 -0
- package/dist/web-components-library/p-5928e726.entry.js.map +1 -0
- package/dist/web-components-library/p-5b72a84e.entry.js +2 -0
- package/dist/web-components-library/p-5b72a84e.entry.js.map +1 -0
- package/dist/web-components-library/p-5fc0afef.entry.js +2 -0
- package/dist/web-components-library/p-5fc0afef.entry.js.map +1 -0
- package/dist/web-components-library/p-602aad3e.entry.js +2 -0
- package/dist/web-components-library/p-602aad3e.entry.js.map +1 -0
- package/dist/web-components-library/p-65013fbe.entry.js +2 -0
- package/dist/web-components-library/p-65013fbe.entry.js.map +1 -0
- package/dist/web-components-library/p-680e12d3.entry.js +2 -0
- package/dist/web-components-library/p-680e12d3.entry.js.map +1 -0
- package/dist/web-components-library/p-6a949aa2.entry.js +2 -0
- package/dist/web-components-library/p-6a949aa2.entry.js.map +1 -0
- package/dist/web-components-library/p-6d5dac88.entry.js +2 -0
- package/dist/web-components-library/p-6d5dac88.entry.js.map +1 -0
- package/dist/web-components-library/p-6df25588.entry.js +2 -0
- package/dist/web-components-library/p-6df25588.entry.js.map +1 -0
- package/dist/web-components-library/p-720d8465.entry.js +2 -0
- package/dist/web-components-library/p-720d8465.entry.js.map +1 -0
- package/dist/web-components-library/p-7825ea5e.entry.js +2 -0
- package/dist/web-components-library/p-7825ea5e.entry.js.map +1 -0
- package/dist/web-components-library/p-7a0eb225.entry.js +2 -0
- package/dist/web-components-library/p-7a0eb225.entry.js.map +1 -0
- package/dist/web-components-library/p-7c1da49a.entry.js +2 -0
- package/dist/web-components-library/p-7c1da49a.entry.js.map +1 -0
- package/dist/web-components-library/p-7c3e6b8d.entry.js +2 -0
- package/dist/web-components-library/p-7c3e6b8d.entry.js.map +1 -0
- package/dist/web-components-library/p-7d9d5708.entry.js +2 -0
- package/dist/web-components-library/p-7d9d5708.entry.js.map +1 -0
- package/dist/web-components-library/p-813716a7.entry.js +2 -0
- package/dist/web-components-library/p-813716a7.entry.js.map +1 -0
- package/dist/web-components-library/p-8282c9d3.entry.js +2 -0
- package/dist/web-components-library/p-8282c9d3.entry.js.map +1 -0
- package/dist/web-components-library/p-829ea489.entry.js +2 -0
- package/dist/web-components-library/p-829ea489.entry.js.map +1 -0
- package/dist/web-components-library/p-832c0410.entry.js +2 -0
- package/dist/web-components-library/p-832c0410.entry.js.map +1 -0
- package/dist/web-components-library/p-83d30a6b.entry.js +2 -0
- package/dist/web-components-library/p-83d30a6b.entry.js.map +1 -0
- package/dist/web-components-library/p-8437b51b.entry.js +17 -0
- package/dist/web-components-library/p-8437b51b.entry.js.map +1 -0
- package/dist/web-components-library/p-883a78e8.entry.js +2 -0
- package/dist/web-components-library/p-883a78e8.entry.js.map +1 -0
- package/dist/web-components-library/p-8b02ad8e.entry.js +2 -0
- package/dist/web-components-library/p-8b02ad8e.entry.js.map +1 -0
- package/dist/web-components-library/p-93762440.entry.js +2 -0
- package/dist/web-components-library/p-93762440.entry.js.map +1 -0
- package/dist/web-components-library/p-9640df86.entry.js +2 -0
- package/dist/web-components-library/p-9640df86.entry.js.map +1 -0
- package/dist/web-components-library/p-9738ace8.entry.js +2 -0
- package/dist/web-components-library/p-9738ace8.entry.js.map +1 -0
- package/dist/web-components-library/p-97f87456.entry.js +2 -0
- package/dist/web-components-library/p-97f87456.entry.js.map +1 -0
- package/dist/web-components-library/p-9b4f88c3.entry.js +2 -0
- package/dist/web-components-library/p-9b4f88c3.entry.js.map +1 -0
- package/dist/web-components-library/p-9d9a2685.entry.js +2 -0
- package/dist/web-components-library/p-9d9a2685.entry.js.map +1 -0
- package/dist/web-components-library/p-9db95f97.entry.js +2 -0
- package/dist/web-components-library/p-9db95f97.entry.js.map +1 -0
- package/dist/web-components-library/p-9f86e284.entry.js +2 -0
- package/dist/web-components-library/p-9f86e284.entry.js.map +1 -0
- package/dist/web-components-library/p-AwzX9V8L.js +2 -1
- package/dist/web-components-library/p-AwzX9V8L.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-B8WJfd4z.js +2 -1
- package/dist/web-components-library/p-B8WJfd4z.js.map +1 -0
- package/dist/web-components-library/p-BKCj6NR2.js +2 -1
- package/dist/web-components-library/p-BKCj6NR2.js.map +1 -0
- package/dist/web-components-library/p-C-uijUlb.js +6 -0
- package/dist/web-components-library/p-C-uijUlb.js.map +1 -0
- package/dist/web-components-library/p-DALRZVXG.js +7 -0
- package/dist/web-components-library/p-DALRZVXG.js.map +1 -0
- package/dist/web-components-library/p-DPdXlnVe.js +3 -2
- package/dist/web-components-library/p-DPdXlnVe.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-a1f1e2da.entry.js +2 -0
- package/dist/web-components-library/p-a1f1e2da.entry.js.map +1 -0
- package/dist/web-components-library/p-a3b628d2.entry.js +2 -0
- package/dist/web-components-library/p-a3b628d2.entry.js.map +1 -0
- package/dist/web-components-library/p-a5647972.entry.js +2 -0
- package/dist/web-components-library/p-a5647972.entry.js.map +1 -0
- package/dist/web-components-library/p-a97bfd11.entry.js +2 -0
- package/dist/web-components-library/p-a97bfd11.entry.js.map +1 -0
- package/dist/web-components-library/p-af91a46b.entry.js +2 -0
- package/dist/web-components-library/p-af91a46b.entry.js.map +1 -0
- package/dist/web-components-library/p-b02a920c.entry.js +2 -0
- package/dist/web-components-library/p-b02a920c.entry.js.map +1 -0
- package/dist/web-components-library/p-b3c84f65.entry.js +2 -0
- package/dist/web-components-library/p-b3c84f65.entry.js.map +1 -0
- package/dist/web-components-library/p-bba3b3ac.entry.js +2 -0
- package/dist/web-components-library/p-bba3b3ac.entry.js.map +1 -0
- package/dist/web-components-library/p-c700b3b6.entry.js +2 -0
- package/dist/web-components-library/p-c700b3b6.entry.js.map +1 -0
- package/dist/web-components-library/p-c9f7a6fd.entry.js +2 -0
- package/dist/web-components-library/p-c9f7a6fd.entry.js.map +1 -0
- package/dist/web-components-library/p-d13bba23.entry.js +2 -0
- package/dist/web-components-library/p-d13bba23.entry.js.map +1 -0
- package/dist/web-components-library/p-dcd96768.entry.js +2 -0
- package/dist/web-components-library/p-dcd96768.entry.js.map +1 -0
- package/dist/web-components-library/p-e44e5a9e.entry.js +2 -0
- package/dist/web-components-library/p-e44e5a9e.entry.js.map +1 -0
- package/dist/web-components-library/p-ec0ef7bb.entry.js +2 -0
- package/dist/web-components-library/p-ec0ef7bb.entry.js.map +1 -0
- package/dist/web-components-library/p-f1fa85fe.entry.js +2 -0
- package/dist/web-components-library/p-f1fa85fe.entry.js.map +1 -0
- package/dist/web-components-library/p-f70d4f1f.entry.js +2 -0
- package/dist/web-components-library/p-f70d4f1f.entry.js.map +1 -0
- package/dist/web-components-library/p-fb41e2bb.entry.js +2 -0
- package/dist/web-components-library/p-fb41e2bb.entry.js.map +1 -0
- package/dist/web-components-library/p-fb804d28.entry.js +2 -0
- package/dist/web-components-library/p-fb804d28.entry.js.map +1 -0
- package/dist/web-components-library/p-ffb1c8ae.entry.js +2 -0
- package/dist/web-components-library/p-ffb1c8ae.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +2 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -0
- package/package.json +16 -16
- 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-02741f3e.entry.js +2 -0
- package/www/build/p-02741f3e.entry.js.map +1 -0
- package/www/build/p-02b47708.entry.js +2 -0
- package/www/build/p-02b47708.entry.js.map +1 -0
- package/www/build/p-02e3f7db.entry.js +2 -0
- package/www/build/p-02e3f7db.entry.js.map +1 -0
- package/www/build/p-0b8313b7.entry.js +2 -0
- package/www/build/p-0b8313b7.entry.js.map +1 -0
- package/www/build/p-0f79c6e8.entry.js +2 -0
- package/www/build/p-0f79c6e8.entry.js.map +1 -0
- package/www/build/p-168426fe.entry.js +2 -0
- package/www/build/p-168426fe.entry.js.map +1 -0
- package/www/build/p-1f64ba04.entry.js +8 -0
- package/www/build/p-1f64ba04.entry.js.map +1 -0
- package/www/build/p-29816d9c.entry.js +2 -0
- package/www/build/p-29816d9c.entry.js.map +1 -0
- package/www/build/p-2a00eea3.entry.js +2 -0
- package/www/build/p-2a00eea3.entry.js.map +1 -0
- package/www/build/p-2ffbc315.entry.js +2 -0
- package/www/build/p-2ffbc315.entry.js.map +1 -0
- package/www/build/p-31635e9d.entry.js +2 -0
- package/www/build/p-31635e9d.entry.js.map +1 -0
- package/www/build/p-338fc882.entry.js +2 -0
- package/www/build/p-338fc882.entry.js.map +1 -0
- package/www/build/p-40079bb3.entry.js +2 -0
- package/www/build/p-40079bb3.entry.js.map +1 -0
- package/www/build/p-413c743d.entry.js +2 -0
- package/www/build/p-413c743d.entry.js.map +1 -0
- package/www/build/p-441cb2d9.entry.js +2 -0
- package/www/build/p-441cb2d9.entry.js.map +1 -0
- package/www/build/p-44b8aba8.entry.js +2 -0
- package/www/build/p-44b8aba8.entry.js.map +1 -0
- package/www/build/p-4767a2b3.entry.js +2 -0
- package/www/build/p-4767a2b3.entry.js.map +1 -0
- package/www/build/p-48b9411e.entry.js +2 -0
- package/www/build/p-48b9411e.entry.js.map +1 -0
- package/www/build/p-52e01182.entry.js +2 -0
- package/www/build/p-52e01182.entry.js.map +1 -0
- package/www/build/p-56f926d7.entry.js +2 -0
- package/www/build/p-56f926d7.entry.js.map +1 -0
- package/www/build/p-585b7068.entry.js +2 -0
- package/www/build/p-585b7068.entry.js.map +1 -0
- package/www/build/p-5928e726.entry.js +2 -0
- package/www/build/p-5928e726.entry.js.map +1 -0
- package/www/build/p-5b72a84e.entry.js +2 -0
- package/www/build/p-5b72a84e.entry.js.map +1 -0
- package/www/build/p-5fc0afef.entry.js +2 -0
- package/www/build/p-5fc0afef.entry.js.map +1 -0
- package/www/build/p-602aad3e.entry.js +2 -0
- package/www/build/p-602aad3e.entry.js.map +1 -0
- package/www/build/p-65013fbe.entry.js +2 -0
- package/www/build/p-65013fbe.entry.js.map +1 -0
- package/www/build/p-680e12d3.entry.js +2 -0
- package/www/build/p-680e12d3.entry.js.map +1 -0
- package/www/build/p-6a949aa2.entry.js +2 -0
- package/www/build/p-6a949aa2.entry.js.map +1 -0
- package/www/build/p-6d5dac88.entry.js +2 -0
- package/www/build/p-6d5dac88.entry.js.map +1 -0
- package/www/build/p-6df25588.entry.js +2 -0
- package/www/build/p-6df25588.entry.js.map +1 -0
- package/www/build/p-720d8465.entry.js +2 -0
- package/www/build/p-720d8465.entry.js.map +1 -0
- package/www/build/p-7825ea5e.entry.js +2 -0
- package/www/build/p-7825ea5e.entry.js.map +1 -0
- package/www/build/p-7a0eb225.entry.js +2 -0
- package/www/build/p-7a0eb225.entry.js.map +1 -0
- package/www/build/p-7c1da49a.entry.js +2 -0
- package/www/build/p-7c1da49a.entry.js.map +1 -0
- package/www/build/p-7c3e6b8d.entry.js +2 -0
- package/www/build/p-7c3e6b8d.entry.js.map +1 -0
- package/www/build/p-7d9d5708.entry.js +2 -0
- package/www/build/p-7d9d5708.entry.js.map +1 -0
- package/www/build/p-813716a7.entry.js +2 -0
- package/www/build/p-813716a7.entry.js.map +1 -0
- package/www/build/p-8282c9d3.entry.js +2 -0
- package/www/build/p-8282c9d3.entry.js.map +1 -0
- package/www/build/p-829ea489.entry.js +2 -0
- package/www/build/p-829ea489.entry.js.map +1 -0
- package/www/build/p-832c0410.entry.js +2 -0
- package/www/build/p-832c0410.entry.js.map +1 -0
- package/www/build/p-83d30a6b.entry.js +2 -0
- package/www/build/p-83d30a6b.entry.js.map +1 -0
- package/www/build/p-8437b51b.entry.js +17 -0
- package/www/build/p-8437b51b.entry.js.map +1 -0
- package/www/build/p-883a78e8.entry.js +2 -0
- package/www/build/p-883a78e8.entry.js.map +1 -0
- package/www/build/p-8b02ad8e.entry.js +2 -0
- package/www/build/p-8b02ad8e.entry.js.map +1 -0
- package/www/build/p-93762440.entry.js +2 -0
- package/www/build/p-93762440.entry.js.map +1 -0
- package/www/build/p-9640df86.entry.js +2 -0
- package/www/build/p-9640df86.entry.js.map +1 -0
- package/www/build/p-9738ace8.entry.js +2 -0
- package/www/build/p-9738ace8.entry.js.map +1 -0
- package/www/build/p-97f87456.entry.js +2 -0
- package/www/build/p-97f87456.entry.js.map +1 -0
- package/www/build/p-9b4f88c3.entry.js +2 -0
- package/www/build/p-9b4f88c3.entry.js.map +1 -0
- package/www/build/p-9d9a2685.entry.js +2 -0
- package/www/build/p-9d9a2685.entry.js.map +1 -0
- package/www/build/p-9db95f97.entry.js +2 -0
- package/www/build/p-9db95f97.entry.js.map +1 -0
- package/www/build/p-9f86e284.entry.js +2 -0
- package/www/build/p-9f86e284.entry.js.map +1 -0
- package/www/build/p-AwzX9V8L.js +2 -1
- package/www/build/p-AwzX9V8L.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-B8WJfd4z.js +2 -1
- package/www/build/p-B8WJfd4z.js.map +1 -0
- package/www/build/p-BKCj6NR2.js +2 -1
- package/www/build/p-BKCj6NR2.js.map +1 -0
- package/www/build/p-C-uijUlb.js +6 -0
- package/www/build/p-C-uijUlb.js.map +1 -0
- package/www/build/p-DALRZVXG.js +7 -0
- package/www/build/p-DALRZVXG.js.map +1 -0
- package/www/build/p-DPdXlnVe.js +3 -2
- package/www/build/p-DPdXlnVe.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-a1f1e2da.entry.js +2 -0
- package/www/build/p-a1f1e2da.entry.js.map +1 -0
- package/www/build/p-a3b628d2.entry.js +2 -0
- package/www/build/p-a3b628d2.entry.js.map +1 -0
- package/www/build/p-a5647972.entry.js +2 -0
- package/www/build/p-a5647972.entry.js.map +1 -0
- package/www/build/p-a97bfd11.entry.js +2 -0
- package/www/build/p-a97bfd11.entry.js.map +1 -0
- package/www/build/p-af91a46b.entry.js +2 -0
- package/www/build/p-af91a46b.entry.js.map +1 -0
- package/www/build/p-b02a920c.entry.js +2 -0
- package/www/build/p-b02a920c.entry.js.map +1 -0
- package/www/build/p-b3c84f65.entry.js +2 -0
- package/www/build/p-b3c84f65.entry.js.map +1 -0
- package/www/build/p-bba3b3ac.entry.js +2 -0
- package/www/build/p-bba3b3ac.entry.js.map +1 -0
- package/www/build/p-c700b3b6.entry.js +2 -0
- package/www/build/p-c700b3b6.entry.js.map +1 -0
- package/www/build/p-c9f7a6fd.entry.js +2 -0
- package/www/build/p-c9f7a6fd.entry.js.map +1 -0
- package/www/build/p-d13bba23.entry.js +2 -0
- package/www/build/p-d13bba23.entry.js.map +1 -0
- package/www/build/p-dcd96768.entry.js +2 -0
- package/www/build/p-dcd96768.entry.js.map +1 -0
- package/www/build/p-e44e5a9e.entry.js +2 -0
- package/www/build/p-e44e5a9e.entry.js.map +1 -0
- package/www/build/p-ec0ef7bb.entry.js +2 -0
- package/www/build/p-ec0ef7bb.entry.js.map +1 -0
- package/www/build/p-f1fa85fe.entry.js +2 -0
- package/www/build/p-f1fa85fe.entry.js.map +1 -0
- package/www/build/p-f70d4f1f.entry.js +2 -0
- package/www/build/p-f70d4f1f.entry.js.map +1 -0
- package/www/build/p-f78b0ee3.js +2 -0
- package/www/build/p-fb41e2bb.entry.js +2 -0
- package/www/build/p-fb41e2bb.entry.js.map +1 -0
- package/www/build/p-fb804d28.entry.js +2 -0
- package/www/build/p-fb804d28.entry.js.map +1 -0
- package/www/build/p-ffb1c8ae.entry.js +2 -0
- package/www/build/p-ffb1c8ae.entry.js.map +1 -0
- package/www/build/web-components-library.esm.js +2 -1
- package/www/build/web-components-library.esm.js.map +1 -0
- package/www/index.html +1 -1
- package/dist/cjs/utils-BY7xrW7W.js +0 -265
- 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/utils-BEzZQwOB.js +0 -249
- 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-0105149a.entry.js +0 -1
- 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-1580db58.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-20d94cce.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-271dfd9c.entry.js +0 -1
- package/dist/web-components-library/p-29dde955.entry.js +0 -1
- package/dist/web-components-library/p-2abf765d.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-313fc91d.entry.js +0 -1
- package/dist/web-components-library/p-324933f6.entry.js +0 -1
- package/dist/web-components-library/p-3c53e451.entry.js +0 -1
- package/dist/web-components-library/p-41584e90.entry.js +0 -1
- package/dist/web-components-library/p-4d1b3d16.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-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-62d2247e.entry.js +0 -1
- package/dist/web-components-library/p-64c025f6.entry.js +0 -1
- package/dist/web-components-library/p-658f022d.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-88a3ba7c.entry.js +0 -1
- package/dist/web-components-library/p-89daaeb5.entry.js +0 -1
- package/dist/web-components-library/p-8a33c769.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-8eb8b5be.entry.js +0 -1
- package/dist/web-components-library/p-8f4a04aa.entry.js +0 -1
- package/dist/web-components-library/p-B0bOjMSb.js +0 -1
- 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-b01ff8e6.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-c643f3ff.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-ce3bbaf2.entry.js +0 -1
- package/dist/web-components-library/p-cf403b75.entry.js +0 -1
- package/dist/web-components-library/p-d121122f.entry.js +0 -1
- 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-da70be9b.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-ec4940ce.entry.js +0 -1
- package/dist/web-components-library/p-ef5018bb.entry.js +0 -1
- package/www/build/p-0105149a.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-1580db58.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-20d94cce.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-271dfd9c.entry.js +0 -1
- package/www/build/p-29dde955.entry.js +0 -1
- package/www/build/p-2abf765d.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-313fc91d.entry.js +0 -1
- package/www/build/p-324933f6.entry.js +0 -1
- package/www/build/p-3c53e451.entry.js +0 -1
- package/www/build/p-41584e90.entry.js +0 -1
- package/www/build/p-4d1b3d16.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-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-62d2247e.entry.js +0 -1
- package/www/build/p-64c025f6.entry.js +0 -1
- package/www/build/p-658f022d.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-88a3ba7c.entry.js +0 -1
- package/www/build/p-89daaeb5.entry.js +0 -1
- package/www/build/p-8a33c769.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-8eb8b5be.entry.js +0 -1
- package/www/build/p-8f4a04aa.entry.js +0 -1
- package/www/build/p-B0bOjMSb.js +0 -1
- 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-b01ff8e6.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-c643f3ff.entry.js +0 -1
- 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-ce3bbaf2.entry.js +0 -1
- package/www/build/p-cf403b75.entry.js +0 -1
- package/www/build/p-d121122f.entry.js +0 -1
- package/www/build/p-d3053434.entry.js +0 -1
- package/www/build/p-d63665c1.entry.js +0 -1
- package/www/build/p-da70be9b.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-ec4940ce.entry.js +0 -1
- package/www/build/p-ef5018bb.entry.js +0 -1
- package/www/build/p-f6f0b188.js +0 -1
|
@@ -21,12 +21,15 @@ const ZToggleButton = class {
|
|
|
21
21
|
this.toggleClick.emit(this.opened);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("button", { key: '
|
|
24
|
+
return (h("button", { key: '12715211c2a202659aebbbafce50ef723523e5b5', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
25
25
|
"isopen": this.opened,
|
|
26
26
|
"avoid-clicks": this.avoidclick,
|
|
27
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '
|
|
27
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '2e6c9c85c5728eb03116da7b58f13da76abd1cf1', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
ZToggleButton.style = stylesCss();
|
|
31
31
|
|
|
32
32
|
export { ZToggleButton as z_toggle_button };
|
|
33
|
+
//# sourceMappingURL=z-toggle-button.entry.js.map
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=z-toggle-button.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-toggle-button.entry.js","sources":["src/components/z-toggle-button/styles.css?tag=z-toggle-button&encapsulation=shadow","src/components/z-toggle-button/index.tsx"],"sourcesContent":["button {\n display: flex;\n height: 36px;\n align-items: center;\n padding-right: calc(var(--space-unit) * 2);\n padding-left: 0;\n border: var(--border-size-medium) solid;\n border-color: transparent;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n text-transform: uppercase;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-pressed-primary);\n}\n\nbutton:disabled {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n\nz-icon {\n display: inline-block;\n margin: 0 var(--space-unit) 0 calc(var(--space-unit) * 2);\n transform: rotate(360deg);\n transition: all 200ms linear;\n}\n\nbutton.isopen {\n top: -20px;\n}\n\nbutton.avoid-clicks {\n pointer-events: none;\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-toggle-button\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToggleButton implements ComponentInterface {\n /** label text */\n @Prop()\n label: string;\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** avoidclick status flag */\n @Prop()\n avoidclick: boolean;\n\n /** open by default (optional) */\n @Prop({mutable: true})\n opened?: boolean = false;\n\n /** aria-label for the button */\n @Prop()\n ariaLabel = \"\";\n\n /** emitted on toggle button click, returns isOpen */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n if (this.isdisabled) {\n return;\n }\n\n this.opened = !this.opened;\n this.toggleClick.emit(this.opened);\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n tabindex={this.avoidclick ? \"-1\" : \"0\"}\n class={{\n \"isopen\": this.opened,\n \"avoid-clicks\": this.avoidclick,\n }}\n disabled={this.isdisabled}\n aria-expanded={this.opened ? \"true\" : \"false\"}\n aria-label={this.ariaLabel}\n onClick={() => this.emitToggleClick()}\n >\n <z-icon\n name={this.opened ? \"chevron-down\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n {this.label}\n </button>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,+hCAA+hC,CAAC;;MCO5iC,aAAa,GAAA,MAAA;AAL1B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAYE,QAAA,IAAA,CAAA,UAAU,GAAa,KAAK;;AAQ5B,QAAA,IAAA,CAAA,MAAM,GAAa,KAAK;;AAIxB,QAAA,IAAA,CAAA,SAAS,GAAG,EAAE;AAqCf;IA/BS,eAAe,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB;;AAGF,QAAA,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM;QAC1B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;;IAGpC,MAAM,GAAA;QACJ,QACE,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,QAAQ,EAAE,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,GAAG,EACtC,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,MAAM;gBACrB,cAAc,EAAE,IAAI,CAAC,UAAU;AAChC,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAA,eAAA,EACV,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,EAAA,YAAA,EACjC,IAAI,CAAC,SAAS,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,EAAE,EAAA,EAErC,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAE,IAAI,CAAC,MAAM,GAAG,cAAc,GAAG,YAAY,EACjD,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EAAA,CACV,EACD,IAAI,CAAC,KAAK,CACJ;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-DPdXlnVe.js';
|
|
2
2
|
import { k as LabelPosition } from './index-BKCj6NR2.js';
|
|
3
|
-
import { r as randomId } from './utils-
|
|
3
|
+
import { r as randomId } from './utils-D-T4RQuj.js';
|
|
4
4
|
import './breakpoints-Q-tWjk7P.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = () => `.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}`;
|
|
@@ -32,16 +32,19 @@ const ZToggleSwitch = class {
|
|
|
32
32
|
this.emitToggleClick();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '56f9d8ff6eb13dfa9c113cbf6c0938e141d55c67' }, h("input", { key: '3417b90e089286fad9bccb61a5f4b39ae4168f91', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: 'ddd2fe347095d9551d8881c83a9a88f2a76baa75', htmlFor: this.htmlid, class: {
|
|
36
36
|
[this.labelPosition]: true,
|
|
37
37
|
disabled: this.disabled,
|
|
38
|
-
} }, h("span", { key: '
|
|
38
|
+
} }, h("span", { key: '8532e35c90ac967e7bd5ba19b6cfb427e30a8a9e' }, h("slot", { key: '013eb019d7033bdf49fc2ca79ec647dc47aa5516' })), h("span", { key: '4aa4b5abb12d819bb253c68f8315baf89935dd70', class: {
|
|
39
39
|
container: true,
|
|
40
40
|
disabled: this.disabled,
|
|
41
41
|
checked: this.checked,
|
|
42
|
-
} }, h("span", { key: '
|
|
42
|
+
} }, h("span", { key: '1379aa626ccb15cc65337fd09063865051078dfb', class: "circle" }, this.checked && (h("z-icon", { key: 'c69f5f85fd886ae9ab30a559a6db66c1ad4f1db7', width: 12, height: 12, name: "checkmark" })))))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
ZToggleSwitch.style = stylesCss();
|
|
46
46
|
|
|
47
47
|
export { ZToggleSwitch as z_toggle_switch };
|
|
48
|
+
//# sourceMappingURL=z-toggle-switch.entry.js.map
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=z-toggle-switch.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-toggle-switch.entry.js","sources":["src/components/z-toggle-switch/styles.css?tag=z-toggle-switch&encapsulation=scoped","src/components/z-toggle-switch/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: inline-flex;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nlabel {\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n}\n\nlabel.disabled {\n cursor: default;\n}\n\nlabel.right {\n flex-direction: row-reverse;\n}\n\nlabel > span:first-child {\n color: var(--color-default-text);\n letter-spacing: 0;\n}\n\nlabel.left > span:first-child {\n margin-right: var(--space-unit);\n}\n\nlabel.right > span:first-child {\n margin-left: var(--space-unit);\n}\n\nlabel > span.container {\n position: relative;\n top: 1px;\n left: 1px;\n display: flex;\n width: calc(var(--space-unit) * 4);\n height: 18px;\n align-items: center;\n background-color: var(--gray500);\n border-radius: var(--space-unit);\n color: var(--gray500);\n cursor: pointer;\n}\n\nlabel > span.container.disabled,\nlabel > span.container.checked.disabled {\n background-color: var(--color-disabled01);\n cursor: default;\n}\n\nlabel > span.container.checked.disabled > span.circle > z-icon {\n fill: var(--color-disabled01);\n}\n\nlabel > span.container.checked {\n background-color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\ninput:focus:focus-visible + label > span.container:not(.disabled) {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\ninput:focus:focus-visible + label > span.container.disabled {\n outline: none;\n}\n\nlabel > span.container:not(.disabled):hover {\n background-color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nlabel > span.container > span.circle {\n position: absolute;\n top: 1px;\n left: 1px;\n display: flex;\n width: calc(var(--space-unit) * 2);\n height: calc(var(--space-unit) * 2);\n align-items: center;\n justify-content: center;\n margin: 0;\n background-color: var(--color-white);\n border-radius: 7px;\n box-shadow: var(--shadow-1);\n transition: transform 0.3s ease;\n}\n\nlabel > span.container.checked > span.circle {\n transform: translateX(calc(100% - 2px));\n}\n\ninput[type=\"checkbox\"] {\n position: absolute;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {LabelPosition} from \"../../beans\";\nimport {randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-toggle-switch\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZToggleSwitch implements ComponentInterface {\n /** Disabled flag */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** Label position */\n @Prop({reflect: true})\n labelPosition? = LabelPosition.LEFT;\n\n /** Checked state */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** HTML id attribute to set to the internal checkbox */\n @Prop()\n htmlid = `toggle-switch-id-${randomId()}`;\n\n /** Toggle click event */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n this.toggleClick.emit({\n id: this.htmlid,\n checked: this.checked,\n });\n }\n\n private handleClick(ev): void {\n if (this.disabled) {\n return;\n }\n\n this.checked = ev.target.checked;\n this.emitToggleClick();\n }\n\n render(): HTMLZToggleSwitchElement {\n return (\n <Host>\n <input\n id={this.htmlid}\n type=\"checkbox\"\n checked={this.checked}\n disabled={this.disabled}\n onChange={this.handleClick.bind(this)}\n />\n <label\n htmlFor={this.htmlid}\n class={{\n [this.labelPosition]: true,\n disabled: this.disabled,\n }}\n >\n <span>\n <slot />\n </span>\n <span\n class={{\n container: true,\n disabled: this.disabled,\n checked: this.checked,\n }}\n >\n <span class=\"circle\">\n {this.checked && (\n <z-icon\n width={12}\n height={12}\n name=\"checkmark\"\n ></z-icon>\n )}\n </span>\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,u5EAAu5E,CAAC;;MCUp6E,aAAa,GAAA,MAAA;AAN1B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AASE,QAAA,IAAA,CAAA,QAAQ,GAAa,KAAK;;AAI1B,QAAA,IAAA,CAAA,aAAa,GAAI,aAAa,CAAC,IAAI;;AAInC,QAAA,IAAA,CAAA,OAAO,GAAa,KAAK;;AAIzB,QAAA,IAAA,CAAA,MAAM,GAAG,oBAAoB,QAAQ,EAAE,EAAE;AA+D1C;IAzDS,eAAe,GAAA;AACrB,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YACpB,EAAE,EAAE,IAAI,CAAC,MAAM;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;AACtB,SAAA,CAAC;;AAGI,IAAA,WAAW,CAAC,EAAE,EAAA;AACpB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB;;QAGF,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO;QAChC,IAAI,CAAC,eAAe,EAAE;;IAGxB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,EAAE,EAAE,IAAI,CAAC,MAAM,EACf,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,CACrC,EACF,CAAA,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,KAAK,EAAE;AACL,gBAAA,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI;gBAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ;AACxB,aAAA,EAAA,EAED,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EACP,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,EAAA,EAED,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,QAAQ,EAAA,EACjB,IAAI,CAAC,OAAO,KACX,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,WAAW,EAAA,CACR,CACX,CACI,CACF,CACD,CACH;;;;;;;"}
|
package/dist/esm/z-tool.entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
|
|
2
2
|
import { P as PopoverPosition, g as KeyboardCode } from './index-BKCj6NR2.js';
|
|
3
|
-
import { a as containsElement } from './utils-
|
|
3
|
+
import { a as containsElement } from './utils-D-T4RQuj.js';
|
|
4
4
|
import './breakpoints-Q-tWjk7P.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = () => `:host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}`;
|
|
@@ -187,10 +187,10 @@ const ZTool = class {
|
|
|
187
187
|
(_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: '5adf35d9c14bc55415a5f333f032d07e70c679ce', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: '9042104162bc039b37f109bac99f3213a3865f7f', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: '21f9a4e4a429b3d4a8cc294195ebcec03baebdff', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: '98d553c4bc74b15b5762284dd3f973086a5dc39c', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: 'ae88d5b59fe21ec1df190c3599042740c3a76634', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: '796d9040bbf935d87b0981d64d6e0404a36189b0', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
|
|
191
191
|
/* disable auto-close to prevent unwanted close behaviors on mobile,
|
|
192
192
|
when the bound element is the main toolbar */
|
|
193
|
-
closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: '
|
|
193
|
+
closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'a16a3b105a1488373193752b3c9eeb2eab0dc0c2' })))));
|
|
194
194
|
}
|
|
195
195
|
get hostElement() { return getElement(this); }
|
|
196
196
|
static get watchers() { return {
|
|
@@ -205,3 +205,6 @@ const ZTool = class {
|
|
|
205
205
|
ZTool.style = stylesCss() + typographyCss();
|
|
206
206
|
|
|
207
207
|
export { ZTool as z_tool };
|
|
208
|
+
//# sourceMappingURL=z-tool.entry.js.map
|
|
209
|
+
|
|
210
|
+
//# sourceMappingURL=z-tool.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tool.entry.js","sources":["src/components/z-tool/styles.css?tag=z-tool&encapsulation=shadow","src/tokens/typography.css?tag=z-tool&encapsulation=shadow","src/components/z-tool/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n.z-tool {\n --z-tool-size: calc(var(--space-unit) * 5.5);\n --z-tool-icon-size: calc(var(--space-unit) * 2.5);\n\n position: relative;\n display: inline-flex;\n width: var(--z-tool-size);\n height: var(--z-tool-size);\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\n:host(:is([active], [open])) .z-tool {\n box-shadow: inset 0 0 0 2px var(--color-primary01);\n}\n\n:host([open]) .z-tool {\n background: var(--color-primary03);\n}\n\n@media (hover: hover) {\n :host(:hover),\n :host(.z-tool-tooltip-open) {\n /* ensure any open tooltip is shown over sibling elements */\n z-index: 1;\n }\n\n :host(:not([disabled])) .z-tool:hover {\n background-color: var(--color-primary03);\n }\n}\n\n.z-tool:focus:focus-visible {\n background-color: var(--color-primary03);\n outline: none;\n}\n\nz-icon {\n --z-icon-width: var(--z-tool-icon-size);\n --z-icon-height: var(--z-tool-icon-size);\n\n display: block;\n fill: var(--color-default-icon);\n}\n\n:host([disabled]) .z-tool {\n color: var(--color-disabled01-icon);\n cursor: not-allowed;\n}\n\n:host([disabled]) z-icon {\n fill: var(--color-disabled01-icon);\n}\n\n.z-tool-tooltip {\n --z-tooltip-padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);\n --z-tooltip-shadow-filter: drop-shadow(0 4px 8px var(--shadow-color-base));\n\n position: relative;\n z-index: 2;\n font-family: var(--font-family-sans);\n white-space: nowrap;\n}\n\n.z-tool-submenu {\n z-index: 3;\n border-radius: calc(var(--border-radius) + var(--border-size-small));\n}\n\n.z-tool-submenu ::slotted(z-color-picker) {\n border: var(--border-size-small) solid var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n@media (max-width: 767px) and (hover: none) {\n .z-tool-tooltip {\n display: none !important;\n }\n}\n",":root {\n /* font-family */\n --font-family-sans: \"IBM Plex Sans\", sans-serif;\n --font-family-serif: \"IBM Plex Serif\", serif;\n\n /* font-weight */\n --font-lt: 300;\n --font-rg: 400;\n --font-sb: 600;\n --font-bd: 700;\n\n /* font-size type scale */\n --font-size-1: 0.75rem; /* 12px */\n --font-size-2: 0.875rem; /* 14px */\n --font-size-3: 1rem; /* assuming 16px */\n --font-size-4: 1.125rem; /* 18px */\n --font-size-5: 1.25rem; /* 20px */\n --font-size-6: 1.5rem; /* 24px */\n --font-size-7: 1.75rem; /* 28px */\n --font-size-8: 2rem; /* 32px */\n --font-size-9: 2.25rem; /* 36px */\n --font-size-10: 2.625rem; /* 42px */\n --font-size-11: 3rem; /* 48px */\n --font-size-12: 3.375rem; /* 54px */\n --font-size-13: 3.75rem; /* 60px */\n --font-size-14: 4.25rem; /* 68px */\n --font-size-15: 4.75rem; /* 76px */\n --font-size-16: 5.25rem; /* 84px */\n --font-size-17: 5.75rem; /* 92px */\n\n /* cssprops to use with `font` shorthand property */\n --section-title-1: var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);\n --section-title-2: var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);\n --section-title-3: var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);\n --section-title-4: var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);\n --section-title-5: var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);\n --section-title-6: var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif);\n}\n\n/* Typography classes */\n.heading-1,\n.heading-1-sb,\n.heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n}\n\n.heading-2,\n.heading-2-sb,\n.heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-3,\n.heading-3-sb,\n.heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-4,\n.heading-4-sb,\n.heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-1,\n.body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-2,\n.body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-3,\n.body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-4,\n.body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.body-5,\n.body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.interactive-1,\n.interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.interactive-2,\n.interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.interactive-3,\n.interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.helper,\n.helper-sb {\n font-size: var(--font-size-1);\n font-style: italic;\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n/* section title */\n.section-title-1 {\n font: var(--section-title-1);\n}\n\n.section-title-2 {\n font: var(--section-title-2);\n}\n\n.section-title-3 {\n font: var(--section-title-3);\n}\n\n.section-title-4 {\n font: var(--section-title-4);\n}\n\n.section-title-5 {\n font: var(--section-title-5);\n}\n\n.section-title-6 {\n font: var(--section-title-6);\n}\n\n/* heading-1/2 for desktop and wide viewports */\n@media (min-width: 1152px) {\n .heading-1,\n .heading-1-sb,\n .heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .heading-2,\n .heading-2-sb,\n .heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n}\n\n/* viewport classes */\n@media (max-width: 767px) {\n .mobile-heading-1,\n .mobile-heading-1-sb,\n .mobile-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .mobile-heading-2,\n .mobile-heading-2-sb,\n .mobile-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-3,\n .mobile-heading-3-sb,\n .mobile-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-4,\n .mobile-heading-4-sb,\n .mobile-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-1,\n .mobile-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-2,\n .mobile-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-3,\n .mobile-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-4,\n .mobile-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-body-5,\n .mobile-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-interactive-1,\n .mobile-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-interactive-2,\n .mobile-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-interactive-3,\n .mobile-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-section-title-1 {\n font: var(--section-title-1);\n }\n\n .mobile-section-title-2 {\n font: var(--section-title-2);\n }\n\n .mobile-section-title-3 {\n font: var(--section-title-3);\n }\n\n .mobile-section-title-4 {\n font: var(--section-title-4);\n }\n\n .mobile-section-title-5 {\n font: var(--section-title-5);\n }\n\n .mobile-section-title-6 {\n font: var(--section-title-6);\n }\n\n .mobile-heading-1-lt,\n .mobile-heading-2-lt,\n .mobile-heading-3-lt,\n .mobile-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .mobile-heading-1-sb,\n .mobile-heading-2-sb,\n .mobile-heading-3-sb,\n .mobile-heading-4-sb,\n .mobile-body-1-sb,\n .mobile-body-2-sb,\n .mobile-body-3-sb,\n .mobile-body-4-sb,\n .mobile-body-5-sb,\n .mobile-interactive-1-sb,\n .mobile-interactive-2-sb,\n .mobile-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 768px) and (max-width: 1151px) {\n .tablet-heading-1,\n .tablet-heading-1-sb,\n .tablet-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .tablet-heading-2,\n .tablet-heading-2-sb,\n .tablet-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-3,\n .tablet-heading-3-sb,\n .tablet-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-4,\n .tablet-heading-4-sb,\n .tablet-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-1,\n .tablet-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-2,\n .tablet-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-3,\n .tablet-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-4,\n .tablet-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-body-5,\n .tablet-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-interactive-1,\n .tablet-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-interactive-2,\n .tablet-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-interactive-3,\n .tablet-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-section-title-1 {\n font: var(--section-title-1);\n }\n\n .tablet-section-title-2 {\n font: var(--section-title-2);\n }\n\n .tablet-section-title-3 {\n font: var(--section-title-3);\n }\n\n .tablet-section-title-4 {\n font: var(--section-title-4);\n }\n\n .tablet-section-title-5 {\n font: var(--section-title-5);\n }\n\n .tablet-section-title-6 {\n font: var(--section-title-6);\n }\n\n .tablet-heading-1-lt,\n .tablet-heading-2-lt,\n .tablet-heading-3-lt,\n .tablet-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .tablet-heading-1-sb,\n .tablet-heading-2-sb,\n .tablet-heading-3-sb,\n .tablet-heading-4-sb,\n .tablet-body-1-sb,\n .tablet-body-2-sb,\n .tablet-body-3-sb,\n .tablet-body-4-sb,\n .tablet-body-5-sb,\n .tablet-interactive-1-sb,\n .tablet-interactive-2-sb,\n .tablet-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1152px) and (max-width: 1365px) {\n .desktop-heading-1,\n .desktop-heading-1-sb,\n .desktop-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .desktop-heading-2,\n .desktop-heading-2-sb,\n .desktop-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .desktop-heading-3,\n .desktop-heading-3-sb,\n .desktop-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .desktop-heading-4,\n .desktop-heading-4-sb,\n .desktop-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-1,\n .desktop-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-2,\n .desktop-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-3,\n .desktop-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-4,\n .desktop-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-body-5,\n .desktop-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-interactive-1,\n .desktop-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-interactive-2,\n .desktop-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-interactive-3,\n .desktop-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-section-title-1 {\n font: var(--section-title-1);\n }\n\n .desktop-section-title-2 {\n font: var(--section-title-2);\n }\n\n .desktop-section-title-3 {\n font: var(--section-title-3);\n }\n\n .desktop-section-title-4 {\n font: var(--section-title-4);\n }\n\n .desktop-section-title-5 {\n font: var(--section-title-5);\n }\n\n .desktop-section-title-6 {\n font: var(--section-title-6);\n }\n\n .desktop-heading-1-lt,\n .desktop-heading-2-lt,\n .desktop-heading-3-lt,\n .desktop-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .desktop-heading-1-sb,\n .desktop-heading-2-sb,\n .desktop-heading-3-sb,\n .desktop-heading-4-sb,\n .desktop-body-1-sb,\n .desktop-body-2-sb,\n .desktop-body-3-sb,\n .desktop-body-4-sb,\n .desktop-body-5-sb,\n .desktop-interactive-1-sb,\n .desktop-interactive-2-sb,\n .desktop-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1366px) {\n .wide-heading-1,\n .wide-heading-1-sb,\n .wide-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .wide-heading-2,\n .wide-heading-2-sb,\n .wide-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .wide-heading-3,\n .wide-heading-3-sb,\n .wide-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .wide-heading-4,\n .wide-heading-4-sb,\n .wide-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-1,\n .wide-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-2,\n .wide-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-3,\n .wide-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-4,\n .wide-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-body-5,\n .wide-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-interactive-1,\n .wide-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-interactive-2,\n .wide-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-interactive-3,\n .wide-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-section-title-1 {\n font: var(--section-title-1);\n }\n\n .wide-section-title-2 {\n font: var(--section-title-2);\n }\n\n .wide-section-title-3 {\n font: var(--section-title-3);\n }\n\n .wide-section-title-4 {\n font: var(--section-title-4);\n }\n\n .wide-section-title-5 {\n font: var(--section-title-5);\n }\n\n .wide-section-title-6 {\n font: var(--section-title-6);\n }\n\n .wide-heading-1-lt,\n .wide-heading-2-lt,\n .wide-heading-3-lt,\n .wide-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .wide-heading-1-sb,\n .wide-heading-2-sb,\n .wide-heading-3-sb,\n .wide-heading-4-sb,\n .wide-body-1-sb,\n .wide-body-2-sb,\n .wide-body-3-sb,\n .wide-body-4-sb,\n .wide-body-5-sb,\n .wide-interactive-1-sb,\n .wide-interactive-2-sb,\n .wide-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n/* font-weight variants */\n.heading-1-lt,\n.heading-2-lt,\n.heading-3-lt,\n.heading-4-lt {\n font-weight: var(--font-lt);\n}\n\n.heading-1-sb,\n.heading-2-sb,\n.heading-3-sb,\n.heading-4-sb,\n.body-1-sb,\n.body-2-sb,\n.body-3-sb,\n.body-4-sb,\n.body-5-sb,\n.interactive-1-sb,\n.interactive-2-sb,\n.interactive-3-sb,\n.helper-sb {\n font-weight: var(--font-sb);\n}\n","import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {ColorPickerPalette, KeyboardCode, PopoverPosition} from \"../../beans\";\nimport {ZColorPickerCustomEvent, ZToolCustomEvent, ZTooltipCustomEvent} from \"../../components\";\nimport {IconName} from \"../../constants/iconset\";\nimport {containsElement} from \"../../utils/utils\";\n\n/**\n * ZTool component. Can display an icon, an optional tooltip (mainly for hints about the tool's functionality), and can contain a nested `z-toolbar` as a submenu that opens on click.\n * @slot - Optional slot for nested content (e.g., a secondary `z-toolbar`) that appears when the tool is open/clicked.\n */\n@Component({\n tag: \"z-tool\",\n styleUrls: [\"styles.css\", \"../../tokens/typography.css\"],\n shadow: true,\n})\nexport class ZTool implements ComponentInterface {\n @Element() hostElement: HTMLZToolElement;\n\n /** Tool icon */\n @Prop()\n icon: IconName;\n\n /** Text displayed inside the tooltip. */\n @Prop()\n tooltip?: string;\n\n /** Preferred tooltip position. Defaults to true. */\n @Prop()\n tooltipPosition: PopoverPosition = PopoverPosition.TOP;\n\n /** Accessible label for the tool trigger. Falls back to tooltip content. */\n @Prop()\n htmlAriaLabel?: string;\n\n /** Visual active state. */\n @Prop({reflect: true})\n active = false;\n\n /** Disabled state. */\n @Prop({reflect: true})\n disabled = false;\n\n /** Open state. */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Color to use to fill the icon's color indicator, if it has one.\n * Can be any valid value for the `fill` svg attribute.\n * The value of this prop is passed down to the `z-icon` component inside the tool.\n *\n * If `z-color-picker` component is used inside the tool's slot, its `colorSelected` event is listened\n * to automatically update `indicatorColor` and change the color of the icon indicator accordingly.\n */\n @Prop({mutable: true})\n indicatorColor?: string;\n\n @State()\n tooltipOpen = false;\n\n @State()\n hasSlottedContent = false;\n\n @State()\n isMobile = false;\n\n /** Indicates if the tool has nested open tools. Used to decide whether to auto-close the submenu. */\n @State()\n hasNestedOpenTools = false;\n\n /** Emitted when the open state changes. */\n @Event()\n toggleSubmenu: EventEmitter;\n\n /** Emitted when the tooltip open state changes. */\n @Event()\n toggleTooltip: EventEmitter;\n\n private buttonRef?: HTMLButtonElement;\n\n private iconRef?: HTMLElement;\n\n private tooltipRef?: HTMLZTooltipElement;\n\n private hoverDelay?: ReturnType<typeof setTimeout>;\n\n /** Indicates if the tool is nested inside another tool. */\n private isNested = false;\n\n /** Main `z-toolbar` ancestor element, meant to be the top-level toolbar not nested inside another tool. */\n private mainToolbar?: HTMLZToolbarElement;\n\n /** Media query list for detecting mobile view. */\n private mql?: MediaQueryList;\n\n /** Listener for changes in the mobile view media query. */\n private onMobileViewChange?: (e: MediaQueryListEvent) => void;\n\n /**\n * Opens the tooltip with a delay when the button is hovered or focused, and if the tool's content isn't already visible.\n */\n private handleTooltipOpen = (ev: FocusEvent | MouseEvent): void => {\n if (!this.tooltip || this.open || !this.buttonRef.contains(ev.target as Node)) {\n return;\n }\n\n clearTimeout(this.hoverDelay);\n this.hoverDelay = setTimeout(() => {\n this.tooltipOpen = true;\n }, 1000);\n };\n\n /**\n * Closes the tooltip immediately on button blur or when the mouse leaves the button or the tooltip, clearing any pending hover delay.\n */\n private handleTooltipClose = (ev: FocusEvent | MouseEvent): void => {\n if (!this.tooltip || (ev.relatedTarget as HTMLElement)?.closest(\"z-tooltip\") === this.tooltipRef) {\n return;\n }\n\n clearTimeout(this.hoverDelay);\n this.tooltipOpen = false;\n };\n\n /**\n * Handles click events on the tool's button element.\n * If the tool has slotted content, toggles the open state and focuses the active/selected item in the nested toolbar or color picker,\n * or the first item if no active/selected item is found.\n */\n private handleClick = (): void => {\n if (this.disabled || !this.hasSlottedContent) {\n return;\n }\n\n this.open = !this.open;\n if (this.open) {\n const colorPicker = this.hostElement.querySelector(\":scope > z-color-picker\") as HTMLZColorPickerElement | null;\n if (colorPicker) {\n colorPicker.setFocus();\n\n return;\n }\n\n // Focus the first active tool in the nested toolbar, or the first enabled if no active tool is found.\n const firstActiveOrEnabledNestedTool = (this.hostElement.querySelector(\n \":scope > z-toolbar z-tool[active]:not(:disabled)\"\n ) || this.hostElement.querySelector(\":scope > z-toolbar z-tool:not(:disabled)\")) as HTMLZToolElement | null;\n\n firstActiveOrEnabledNestedTool?.setFocus();\n }\n };\n\n /**\n * Handles `openChange` events from the tooltip popover to keep the `tooltipOpen` state in sync, but only if the event is coming from this tool's tooltip (and not from nested tools' tooltips).\n */\n private onTooltipOpenChange = (event: ZTooltipCustomEvent<{open: boolean}>): void => {\n if ((event.target as HTMLElement) === this.tooltipRef) {\n return;\n }\n\n this.tooltipOpen = event.detail.open;\n };\n\n @Watch(\"open\")\n handleOpenChange(): void {\n this.toggleSubmenu.emit(this.open);\n }\n\n @Watch(\"tooltipOpen\")\n handleTooltipOpenChange(): void {\n this.toggleTooltip.emit(this.tooltipOpen);\n }\n\n /**\n * Handle `ESC` and `shift+TAB` to close the submenu and move focus back to the button.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n if (!this.open || this.hasNestedOpenTools) {\n return;\n }\n\n switch (event.key) {\n case KeyboardCode.ESC:\n event.stopPropagation();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.TAB:\n if (event.shiftKey && (event.target as Element).closest(\"z-tool:not(:scope)\") === this.hostElement) {\n this.open = false;\n }\n break;\n }\n }\n\n /**\n * Close the popover on clicks outside the component, only if there are no nested open tools.\n * In that case any outside click should close the nested submenu(s) first.\n */\n @Listen(\"click\", {target: \"body\"})\n onOutsideClick(event: MouseEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!this.open || containsElement(this.hostElement, target) || this.hasNestedOpenTools) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"toggleSubmenu\")\n onNestedToolToggle(ev: ZToolCustomEvent<boolean>): void {\n if (ev.target === this.hostElement) {\n return;\n }\n\n if (ev.detail === true) {\n this.hasNestedOpenTools = true;\n\n return;\n }\n\n this.hasNestedOpenTools = Array.from(this.hostElement.querySelectorAll(\"z-tool\")).some((tool) => tool.open);\n }\n\n /**\n * Handles the `colorSelected` event from a nested `z-color-picker` component.\n * Updates the `indicatorColor` and closes the tool's popover.\n */\n @Listen(\"colorSelected\")\n handleColorSelected(event: ZColorPickerCustomEvent<ColorPickerPalette>): void {\n if (!Array.from(this.hostElement.children).includes(event.target as Element)) {\n return;\n }\n\n this.indicatorColor = event.detail;\n this.open = false;\n this.setFocus();\n }\n\n /**\n * Close the submenu when focus moves outside the tool.\n */\n @Listen(\"focusin\", {target: \"body\", passive: true})\n handleExternalFocusin(ev: FocusEvent): void {\n const target = ev.target as Node;\n if (!containsElement(this.hostElement, target)) {\n this.open = false;\n }\n }\n\n /** Focuses the tool's button element. */\n @Method()\n async setFocus(): Promise<void> {\n if (this.disabled) {\n return;\n }\n\n setTimeout(() => {\n this.buttonRef?.focus();\n }, 50);\n }\n\n /** Sets the tab index of the tool's internal button element. */\n @Method()\n async setTabIndex(value: number): Promise<void> {\n if (!this.buttonRef) {\n return;\n }\n\n this.buttonRef.tabIndex = this.disabled ? -1 : value;\n }\n\n /** Closes the tooltip. */\n @Method()\n async closeTooltip(): Promise<void> {\n clearTimeout(this.hoverDelay);\n this.tooltipOpen = false;\n }\n\n componentWillLoad(): void {\n this.hasSlottedContent = this.hostElement.children.length > 0;\n this.isNested = !!this.hostElement.closest(\"z-tool:not(:scope)\");\n this.mainToolbar = this.hostElement.closest(\"z-toolbar:not(z-toolbar z-toolbar)\");\n this.hasNestedOpenTools = !!this.hostElement.querySelector(\"z-tool[open]\");\n\n this.mql = matchMedia(\"(max-width: 767px)\");\n this.onMobileViewChange = (e: MediaQueryListEvent) => (this.isMobile = e.matches);\n this.mql.addEventListener(\"change\", this.onMobileViewChange);\n this.isMobile = this.mql.matches;\n }\n\n disconnectedCallback(): void {\n clearTimeout(this.hoverDelay);\n this.mql?.removeEventListener(\"change\", this.onMobileViewChange);\n }\n\n render(): HTMLZToolElement {\n return (\n <Host class={{\"z-tool-tooltip-open\": this.tooltipOpen}}>\n <button\n class=\"z-tool\"\n type=\"button\"\n ref={(el) => (this.buttonRef = el)}\n aria-pressed={this.hasSlottedContent ? undefined : this.active ? \"true\" : \"false\"}\n aria-expanded={this.hasSlottedContent ? (this.open ? \"true\" : \"false\") : undefined}\n aria-haspopup={this.hasSlottedContent ? \"true\" : undefined}\n aria-label={this.htmlAriaLabel || this.tooltip || undefined}\n disabled={this.disabled}\n onClick={this.handleClick}\n onMouseEnter={this.handleTooltipOpen}\n onMouseLeave={this.handleTooltipClose}\n onFocus={this.handleTooltipOpen}\n onBlur={this.handleTooltipClose}\n >\n <z-icon\n ref={(el) => (this.iconRef = el)}\n name={this.icon}\n indicatorColor={this.indicatorColor}\n ></z-icon>\n </button>\n {this.tooltip && (\n <z-tooltip\n class=\"z-tool-tooltip\"\n ref={(el) => (this.tooltipRef = el)}\n bindTo={this.iconRef}\n open={this.tooltipOpen && !this.open}\n position={this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition}\n dark\n onMouseLeave={this.handleTooltipClose}\n onBlur={this.handleTooltipClose}\n onOpenChange={this.onTooltipOpenChange}\n >\n <span class=\"body-4\">{this.tooltip}</span>\n </z-tooltip>\n )}\n {this.hasSlottedContent && (\n <z-popover\n class=\"z-tool-submenu\"\n open={this.open}\n bindTo={this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement}\n center\n /* disable auto-close to prevent unwanted close behaviors on mobile,\n when the bound element is the main toolbar */\n closable={false}\n position={this.isMobile ? PopoverPosition.TOP : PopoverPosition.B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AAA,EAAM,KAAK,EAAC,QAAQ,EAAA,EAAE,IAAI,CAAC,OAAO,CAAQ,CAChC,CACb,EACA,IAAI,CAAC,iBAAiB,KACrB,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,gBAAgB,EACtB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,EAC/E,MAAM,EAAA,IAAA;AACN;AAC6C;AAC7C,YAAA,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,GAAG,GAAG,eAAe,CAAC,MAAM,EAAA,EAEtE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACH,CACb,CACI;;;;;;;;;;;;;;;;"}
|
|
@@ -129,7 +129,7 @@ const ZToolbar = class {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'da37a1abe86b6c96aaabdc4f5714716ea3ce7281', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: '73b950e1efb794a75930915ccb39cf58dc524fb0', onSlotchange: () => {
|
|
133
133
|
this.collectToolItems();
|
|
134
134
|
this.updateTabIndexes();
|
|
135
135
|
} })));
|
|
@@ -139,3 +139,6 @@ const ZToolbar = class {
|
|
|
139
139
|
ZToolbar.style = stylesCss();
|
|
140
140
|
|
|
141
141
|
export { ZToolbar as z_toolbar };
|
|
142
|
+
//# sourceMappingURL=z-toolbar.entry.js.map
|
|
143
|
+
|
|
144
|
+
//# sourceMappingURL=z-toolbar.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-toolbar.entry.js","sources":["src/components/z-toolbar/styles.css?tag=z-toolbar&encapsulation=shadow","src/components/z-toolbar/index.tsx"],"sourcesContent":[":host,\n* {\n box-sizing: border-box;\n}\n\n:host {\n /**\n * @prop --z-toolbar-columns: Number of items per row in the toolbar. Only applies on mobile viewport, when the toolbar can be displayed in a multi-row layout. Default: `6`.\n */\n\n display: flex;\n width: fit-content;\n align-items: center;\n padding: 0;\n border: var(--border-size-small) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: calc(var(--border-radius) + var(--border-size-small)); /* ensure correct radius for nested items */\n box-shadow: var(--shadow-4);\n gap: calc(var(--space-unit) / 2);\n}\n\n::slotted(z-divider) {\n height: calc(var(--space-unit) * 4.5) !important;\n}\n\n@media (max-width: 767px) {\n :host {\n --z-toolbar-columns: 6;\n\n position: relative;\n display: grid;\n max-width: 100%;\n\n /* Draws a horizontal separator line between rows */\n background: repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);\n gap: var(--border-size-small) calc(var(--space-unit) / 2);\n grid-template-columns: repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto));\n }\n\n ::slotted(z-divider) {\n display: none !important;\n }\n}\n","import {Component, ComponentInterface, Element, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {ZToolCustomEvent} from \"../../components\";\n\n/**\n * ZToolbar component. This component mainly serves as a container for `z-tool` elements, but can also be nested inside a `z-tool` to create submenus.\n * Implements WCAG toolbar pattern with roving tabindex keyboard navigation.\n * Tools can be visually grouped using `z-divider` elements as separators.\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/\n *\n */\n@Component({\n tag: \"z-toolbar\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToolbar implements ComponentInterface {\n @Element() hostElement: HTMLZToolbarElement;\n\n /** Accessible label for the toolbar. */\n @Prop()\n htmlAriaLabel?: string;\n\n /** Index of the currently focusable item (roving tabindex). */\n @State()\n currentFocusIndex = 0;\n\n /** List of focusable tool elements. */\n private toolItems: HTMLZToolElement[] = [];\n\n componentDidLoad(): void {\n this.collectToolItems();\n this.updateTabIndexes();\n // set css variable `--z-toolbar-columns` based on the number of tools in the toolbar, so that the background pattern can adapt to the number of rows\n let mobileColumnCount = parseInt(getComputedStyle(this.hostElement).getPropertyValue(\"--z-toolbar-columns\") || \"6\");\n mobileColumnCount = this.toolItems.length <= mobileColumnCount ? this.toolItems.length : mobileColumnCount;\n this.hostElement.style.setProperty(\"--z-toolbar-columns\", mobileColumnCount.toString());\n }\n\n /** Collect first level children `z-tool` elements in the toolbar (not nested ones). */\n private collectToolItems(): void {\n this.toolItems = Array.from(this.hostElement.querySelectorAll(\"z-tool:not(:scope z-tool z-tool)\"));\n }\n\n /**\n * Update the `tabindex` of all children tools based on the current focus index,\n * so that only the currently focusable tool is in the tab order (tabindex=\"0\") and all others are not focusable via keyboard (tabindex=\"-1\").\n */\n private updateTabIndexes(): void {\n this.toolItems.forEach((tool, index) => {\n tool.setTabIndex(index === this.currentFocusIndex ? 0 : -1);\n });\n }\n\n private focusToolAt(index: number, fallback: \"previous\" | \"next\" = \"next\"): void {\n const tool = this.toolItems[index];\n if (!tool) {\n return;\n }\n\n this.currentFocusIndex = index;\n if (!tool.disabled) {\n tool.setFocus();\n this.updateTabIndexes();\n\n return;\n }\n\n if (fallback === \"next\") {\n this.focusNextTool();\n } else {\n this.focusPreviousTool();\n }\n }\n\n private focusNextTool(): void {\n const nextIndex = (this.currentFocusIndex + 1) % this.toolItems.length;\n this.focusToolAt(nextIndex);\n }\n\n private focusPreviousTool(): void {\n const prevIndex = (this.currentFocusIndex - 1 + this.toolItems.length) % this.toolItems.length;\n this.focusToolAt(prevIndex, \"previous\");\n }\n\n /**\n * Listen for custom \"toggleSubmenu\" events from child tools and close sibling submenus when one is opened,\n * to prevent multiple submenus from being open at the same time.\n */\n @Listen(\"toggleSubmenu\")\n closeSiblingSubmenusOnOpen(event: ZToolCustomEvent<boolean>): void {\n if (event.detail !== true) {\n return;\n }\n\n const targetTool = (event.target as HTMLElement).closest(\"z-tool\") as HTMLZToolElement | null;\n if (!targetTool || !this.toolItems.includes(targetTool)) {\n return;\n }\n\n this.toolItems.forEach((tool) => {\n if (tool !== targetTool && tool.open) {\n tool.open = false;\n }\n });\n }\n\n /**\n * Listen for custom \"toggleTooltip\" events from child tools and close sibling tooltips when one is opened,\n * to prevent multiple tooltips from being open at the same time.\n */\n @Listen(\"toggleTooltip\")\n closeSiblingTooltipsOnOpen(event: ZToolCustomEvent<boolean>): void {\n if (event.detail !== true) {\n return;\n }\n\n const targetTool = event.target;\n if (!this.toolItems.includes(targetTool)) {\n return;\n }\n\n this.toolItems.forEach((tool) => {\n if (tool !== targetTool) {\n tool.closeTooltip();\n }\n });\n }\n\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.target as HTMLElement;\n const toolElement = target.closest(\"z-tool\") as HTMLZToolElement;\n\n if (!toolElement || !this.toolItems.includes(toolElement)) {\n return;\n }\n\n const focusedIndex = this.toolItems.indexOf(toolElement);\n if (focusedIndex !== -1) {\n this.currentFocusIndex = focusedIndex;\n }\n\n switch (event.key) {\n case KeyboardCode.ARROW_RIGHT:\n event.preventDefault();\n this.focusNextTool();\n break;\n case KeyboardCode.ARROW_LEFT:\n event.preventDefault();\n this.focusPreviousTool();\n break;\n }\n }\n\n /**\n * When focus enters the toolbar, update the current focus index to match the focused tool,\n * so that roving tabindex is in sync with actual focus.\n */\n @Listen(\"focusin\")\n handleFocusIn(event: FocusEvent): void {\n const target = event.target as HTMLElement;\n const toolElement = target.closest(\"z-tool\") as HTMLZToolElement;\n const index = this.toolItems.indexOf(toolElement);\n if (index !== -1 && index !== this.currentFocusIndex) {\n this.currentFocusIndex = index;\n this.updateTabIndexes();\n }\n }\n\n render(): HTMLZToolbarElement {\n return (\n <Host\n role=\"toolbar\"\n aria-label={this.htmlAriaLabel}\n >\n <slot\n onSlotchange={() => {\n this.collectToolItems();\n this.updateTabIndexes();\n }}\n ></slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,0gCAA0gC,CAAC;;MCgBvhC,QAAQ,GAAA,MAAA;AALrB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAcE,QAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC;;AAGb,QAAA,IAAA,CAAA,SAAS,GAAuB,EAAE;AA6J3C;IA3JC,gBAAgB,GAAA;QACd,IAAI,CAAC,gBAAgB,EAAE;QACvB,IAAI,CAAC,gBAAgB,EAAE;;AAEvB,QAAA,IAAI,iBAAiB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,IAAI,GAAG,CAAC;QACnH,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,iBAAiB;AAC1G,QAAA,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC;;;IAIjF,gBAAgB,GAAA;AACtB,QAAA,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,kCAAkC,CAAC,CAAC;;AAGpG;;;AAGG;IACK,gBAAgB,GAAA;QACtB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,KAAI;AACrC,YAAA,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,CAAC,iBAAiB,GAAG,CAAC,GAAG,EAAE,CAAC;AAC7D,SAAC,CAAC;;AAGI,IAAA,WAAW,CAAC,KAAa,EAAE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AAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAqB;QAChE,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC;QACjD,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,IAAI,CAAC,iBAAiB,EAAE;AACpD,YAAA,IAAI,CAAC,iBAAiB,GAAG,KAAK;YAC9B,IAAI,CAAC,gBAAgB,EAAE;;;IAI3B,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,IAAI,EAAC,SAAS,EAAA,YAAA,EACF,IAAI,CAAC,aAAa,EAAA,EAE9B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,YAAY,EAAE,MAAK;gBACjB,IAAI,CAAC,gBAAgB,EAAE;gBACvB,IAAI,CAAC,gBAAgB,EAAE;AACzB,aAAC,EAAA,CACK,CACH;;;;;;;;"}
|
|
@@ -26,9 +26,12 @@ const ZTooltip = class {
|
|
|
26
26
|
this.open = this.popoverEl.open;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("z-popover", { key: '
|
|
29
|
+
return (h("z-popover", { key: '33f8d0a6de0f95f3218736b57451d80cd3cc9506', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: '3608136c1675f0f8823a216ab622af272685e8dc' })));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
ZTooltip.style = stylesCss();
|
|
33
33
|
|
|
34
34
|
export { ZTooltip as z_tooltip };
|
|
35
|
+
//# sourceMappingURL=z-tooltip.entry.js.map
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=z-tooltip.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tooltip.entry.js","sources":["src/components/z-tooltip/styles.css?tag=z-tooltip&encapsulation=shadow","src/components/z-tooltip/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-tooltip-theme--surface: Background color of the popover.\n * @prop --z-tooltip-theme--text: Foreground color of the popover.\n * @prop --z-tooltip-shadow-filter: Drop-shadow filter of the popover.\n * @prop --z-tooltip-padding: Padding of the popover. The default is `8px` (`--space-unit`).\n */\n --z-tooltip-theme--surface: var(--color-surface01);\n --z-tooltip-theme--text: var(--color-default-text);\n --z-tooltip-shadow-filter: drop-shadow(0 1px 2px var(--shadow-color-base));\n --z-tooltip-padding: var(--space-unit);\n}\n\nz-popover {\n --z-popover-theme--surface: var(--z-tooltip-theme--surface);\n --z-popover-theme--text: var(--z-tooltip-theme--text);\n --z-popover-padding: var(--z-tooltip-padding);\n --z-popover-shadow-filter: var(--z-tooltip-shadow-filter);\n}\n\n:host([dark]) z-popover {\n --z-popover-theme--surface: var(--color-surface05);\n --z-popover-theme--text: var(--color-text-inverse);\n}\n","import {Component, ComponentInterface, Event, EventEmitter, Listen, Prop, h} from \"@stencil/core\";\nimport {PopoverPosition} from \"../../beans\";\n\n/**\n * Tooltip component.\n * It is basically a wrapper for the `<z-popover>` component with custom configuration.\n */\n@Component({\n tag: \"z-tooltip\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTooltip implements ComponentInterface {\n /** Tooltip position. */\n @Prop({reflect: true})\n position: PopoverPosition = PopoverPosition.AUTO;\n\n /** Enable tooltip dark mode. */\n @Prop({reflect: true})\n dark = false;\n\n /**\n * The open state of the tooltip.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the tooltip.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Reflects `closable` prop of the popover.\n * \"If true, the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\"\n */\n @Prop()\n closable = true;\n\n /**\n * Propagation of the `openChange` event from the internal `z-popover` to allow listening to it directly on `z-tooltip`.\n * This is necessary to keep the internal state of the `open` prop in sync when the popover is closed by user interaction instead of programmatically.\n */\n @Event()\n openChange: EventEmitter<{open: boolean}>;\n\n private popoverEl: HTMLZPopoverElement;\n\n @Listen(\"openChange\")\n onPopoverOpenChange(): void {\n this.open = this.popoverEl.open;\n }\n\n render(): HTMLZPopoverElement {\n return (\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.bindTo}\n open={this.open}\n position={this.position}\n closable={this.closable}\n center\n showArrow\n onOpenChange={(event) => this.openChange.emit(event.detail)}\n >\n <slot></slot>\n </z-popover>\n );\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,sjBAAsjB,CAAC;;MCYnkB,QAAQ,GAAA,MAAA;AALrB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAQE,QAAA,IAAA,CAAA,QAAQ,GAAoB,eAAe,CAAC,IAAI;;AAIhD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;AAEZ;;AAEG;AAEH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;AAQZ;;;;AAIG;AAEH,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI;AAgChB;IApBC,mBAAmB,GAAA;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI;;IAGjC,MAAM,GAAA;AACJ,QAAA,QACE,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,MAAM,EACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,MAAM,EAAA,IAAA,EACN,SAAS,EAAA,IAAA,EACT,YAAY,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAA,EAE3D,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACH;;;;;;;"}
|
package/dist/esm/z-tr.entry.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-DPdXlnVe.js';
|
|
2
|
-
import { r as randomId } from './utils-
|
|
2
|
+
import { r as randomId } from './utils-D-T4RQuj.js';
|
|
3
3
|
import './z-td.entry.js';
|
|
4
4
|
import './z-th.entry.js';
|
|
5
5
|
import './index-BKCj6NR2.js';
|
|
6
6
|
import './breakpoints-Q-tWjk7P.js';
|
|
7
7
|
|
|
8
|
-
const stylesCss = () => `:host{position:relative;display:grid;width:100%;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));--columns:1}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-background)}:host(:hover) ::slotted(z-td),:host(:hover) ::slotted(z-th){border-top:var(--border-size-small) solid var(--color-surface04);border-bottom:var(--border-size-small) solid var(--color-surface04);background-color:var(--color-surface02)}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}.z-tr--focus-overlay{position:absolute;z-index:30;right:0;left:0;width:100%;border-radius:4px;box-shadow:none;inset:0;outline:none;pointer-events:none;transition:box-shadow 0.2s}:host(:focus) .z-tr--focus-overlay{box-shadow:0 0 0 2px var(--shadow-focus-primary), var(--shadow-focus-primary);outline:none}:host(:focus) ::slotted(*){border-bottom:none}:host(:focus) .z-tr--expand-button-container{border-bottom:none}`;
|
|
8
|
+
const stylesCss = () => `:host{position:relative;display:grid;width:100%;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));--columns:1}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-background)}:host(:hover):has([tabIndex]) ::slotted(z-td),:host(:hover):has([tabIndex]) ::slotted(z-th){border-top:var(--border-size-small) solid var(--color-surface04);border-bottom:var(--border-size-small) solid var(--color-surface04);background-color:var(--color-surface02)}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}.z-tr--focus-overlay{position:absolute;z-index:30;right:0;left:0;width:100%;border-radius:4px;box-shadow:none;inset:0;outline:none;pointer-events:none;transition:box-shadow 0.2s}:host(:focus) .z-tr--focus-overlay{box-shadow:0 0 0 2px var(--shadow-focus-primary), var(--shadow-focus-primary);outline:none}:host(:focus) ::slotted(*){border-bottom:none}:host(:focus) .z-tr--expand-button-container{border-bottom:none}`;
|
|
9
9
|
|
|
10
10
|
const ZTr = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -69,7 +69,7 @@ const ZTr = class {
|
|
|
69
69
|
this.updateColumns();
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '92be779ec3e863cc85336fcedb02f718fa3a19fa', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '720c8209c21104e78129cbd76c12a6cdf8806ca2', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '3bb4f4d2e5ae60da5c105d1c8a99d6ff0fa59302', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'd27d18c1a4515ac055ce7db13ec3efdfc7d0314d', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '9fd14fcab4ea512b42c63928c3e2dabb83fd1da3', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'c5fcb7a2f92eb8401c4d27d28e5b68a5001616b7', onSlotchange: this.updateColumns.bind(this) })));
|
|
73
73
|
}
|
|
74
74
|
get host() { return getElement(this); }
|
|
75
75
|
static get watchers() { return {
|
|
@@ -81,3 +81,6 @@ const ZTr = class {
|
|
|
81
81
|
ZTr.style = stylesCss();
|
|
82
82
|
|
|
83
83
|
export { ZTr as z_tr };
|
|
84
|
+
//# sourceMappingURL=z-tr.entry.js.map
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=z-tr.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tr.entry.js","sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: grid;\n width: 100%;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n\n --columns: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-background);\n}\n\n:host(:hover):has([tabIndex]) ::slotted(z-td),\n:host(:hover):has([tabIndex]) ::slotted(z-th) {\n border-top: var(--border-size-small) solid var(--color-surface04);\n border-bottom: var(--border-size-small) solid var(--color-surface04);\n background-color: var(--color-surface02);\n}\n\n:host(:focus) {\n position: relative;\n z-index: 20;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-tr--focus-overlay {\n position: absolute;\n z-index: 30;\n right: 0;\n left: 0;\n width: 100%;\n border-radius: 4px;\n box-shadow: none;\n inset: 0;\n outline: none;\n pointer-events: none;\n transition: box-shadow 0.2s;\n}\n\n:host(:focus) .z-tr--focus-overlay {\n box-shadow:\n 0 0 0 2px var(--shadow-focus-primary),\n var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:focus) ::slotted(*) {\n border-bottom: none;\n}\n\n:host(:focus) .z-tr--expand-button-container {\n border-bottom: none;\n}\n","import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr implements ComponentInterface {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={this.expandable ? 0 : undefined}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,yvEAAyvE,CAAC;;MC4BtwE,GAAG,GAAA,MAAA;AALhB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAQE;;;;;;;;AAQG;AAEH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAElB;;AAEG;AAEH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK;AAgGjB;IAjFW,aAAa,GAAA;AACrB,QAAA,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC;AACnG,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE;;AAGb,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AACjF,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAA,EAAG,OAAO,CAAA,CAAE,CAAC;AAEtD,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE;YACrC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EA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AAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,EAEpC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,qBAAqB,EAAA,aAAA,EACf,MAAM,EAAA,CACb,EACP,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,+BAA+B,EAAA,EACvC,IAAI,CAAC,UAAU,KACd,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,QAAQ,EAAE,EAAE,EAAA,eAAA,EACG,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,EAAA,YAAA,EACnC,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,EAAA,eAAA,EAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ,EAAA,EAEb,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,EAAA,CAAW,CAClE,CACV,CACG,EACN,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,CAAS,CACrD;;;;;;;;;;;;;"}
|
|
@@ -98,7 +98,7 @@ const ZTreeList = class {
|
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
100
|
const hasClickableItems = this.parsedItems.some((item) => !!item.url);
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '68d06fd53ad0f4bce01853b95aef0f7482f3304a', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '6b8010ae9caf73ec0a43b09f5d9610247110d1a6', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
|
|
102
102
|
}
|
|
103
103
|
get host() { return getElement(this); }
|
|
104
104
|
static get watchers() { return {
|
|
@@ -110,3 +110,6 @@ const ZTreeList = class {
|
|
|
110
110
|
ZTreeList.style = stylesCss();
|
|
111
111
|
|
|
112
112
|
export { ZTreeList as z_tree_list };
|
|
113
|
+
//# sourceMappingURL=z-tree-list.entry.js.map
|
|
114
|
+
|
|
115
|
+
//# sourceMappingURL=z-tree-list.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-tree-list.entry.js","sources":["src/components/list/z-tree-list/styles.css?tag=z-tree-list&encapsulation=shadow","src/components/list/z-tree-list/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n}\n\nz-list-element {\n position: relative;\n display: block;\n padding-top: var(--space-unit);\n}\n\nz-list-element::before,\nz-list-element::after {\n position: absolute;\n z-index: 100;\n top: 0.125rem;\n left: -0.5rem;\n content: \"\";\n}\n\nz-list z-list-element::before {\n width: var(--space-unit);\n height: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-small) solid var(--color-disabled01-icon);\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element::after {\n width: var(--space-unit);\n height: 100%;\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element:last-child::after,\nz-list > z-list-element::before,\nz-list > z-list-element::after,\nz-list > z-list-group > z-list-element::before,\nz-list > z-list-group > z-list-element::after {\n display: none;\n}\n\nz-list > div.children-node {\n padding-left: calc(var(--space-unit) * 2);\n}\n\nz-list-element > .list-element {\n z-index: 100;\n display: flex;\n justify-content: space-between;\n padding: 0;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\nz-list-element > .list-element.link-clickable {\n color: var(--color-primary01);\n}\n\nz-list-element > .list-element.link-clickable:hover {\n text-decoration: underline;\n}\n\nz-list-element > .list-element .item.ellipsis {\n overflow: hidden;\n}\n\nz-list-element .list-element::after {\n position: absolute;\n top: 0;\n right: -0.0625rem;\n display: block;\n width: 100%;\n height: calc(var(--space-unit) * 5);\n content: \"\";\n transform: translateX(-100%);\n}\n\n.item-label {\n overflow: hidden;\n flex-grow: 1;\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n letter-spacing: 0.0032rem;\n line-height: 1.25rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.item-label.bold-item {\n font-weight: var(--font-sb);\n}\n\n.item.ellipsis {\n display: flex;\n overflow: hidden;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.children-node > z-list-element {\n padding: 0;\n padding-top: 0.125;\n padding-left: calc(var(--space-unit) * 1.25);\n}\n\n.item-icon {\n margin-right: var(--space-unit);\n}\n\n.no-icon-label {\n padding-left: var(--space-unit);\n}\n\n.children-node > z-list-element.no-icon-elm {\n padding-left: 0;\n}\n\nz-list-element > .list-element:focus:focus-visible {\n position: relative;\n z-index: 200;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n@media (max-width: 767px) {\n z-list-element::before,\n z-list-element::after {\n top: 0.1875rem;\n }\n\n z-list z-list-element::before {\n height: calc(var(--space-unit) * 2.5);\n }\n\n .children-node > z-list-element {\n padding-top: var(--space-unit);\n }\n}\n","import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, TreeListItem} from \"../../../beans\";\n\n@Component({\n tag: \"z-tree-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTreeList implements ComponentInterface {\n @Element() host: HTMLZTreeListElement;\n\n /** Items to render, if they have the url property they will be rendered as clickable links */\n @Prop()\n items: TreeListItem[] | string = [];\n\n /** Used for aria-labelledby attribute, sets name in \"navigation\" */\n @Prop({reflect: true})\n htmlAriaLabelledby: string;\n\n /** Used for aria-label attribute, sets name in \"tree\" */\n @Prop({reflect: true})\n htmlSectionTitle: string;\n\n /** Emitted on item click, it return the id, name and url of the clicked item */\n @Event()\n treeItemClicked: EventEmitter<{id: string; name: string; url: string}>;\n\n private parsedItems: TreeListItem[] = [];\n\n private htmlTag: string;\n\n @Watch(\"items\")\n watchItems(): void {\n this.parsedItems = typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n private handleClick(item: TreeListItem): void {\n this.treeItemClicked.emit({id: item.id, name: item.name, url: item.url});\n }\n\n private getFocusableElements(): HTMLElement[] {\n return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex=\"0\"]'));\n }\n\n private getAncestor(element: HTMLElement, levels: number): HTMLElement | null {\n let ancestor: HTMLElement | null = element;\n\n for (let i = 0; i < levels; i++) {\n ancestor = ancestor?.parentElement;\n if (!ancestor) {\n return;\n }\n }\n\n return ancestor;\n }\n\n private handleArrowNav(event: KeyboardEvent): void {\n if (event.code === KeyboardCode.TAB) {\n event.preventDefault();\n\n return;\n }\n\n const focusableElements = this.getFocusableElements();\n const currentIndex = focusableElements.indexOf(event.target as HTMLElement);\n\n if (currentIndex === -1) {\n return;\n }\n\n if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {\n event.preventDefault();\n\n const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);\n if (nextIndex < 0 || nextIndex >= focusableElements.length) {\n return;\n }\n\n focusableElements[nextIndex].focus();\n }\n\n if (event.code === KeyboardCode.ARROW_LEFT) {\n event.preventDefault();\n const ancestor = this.getAncestor(focusableElements[currentIndex], 4);\n\n if (\n !ancestor ||\n !ancestor.children[0] ||\n (ancestor.children[0].tagName.toLowerCase() !== \"a\" && ancestor.getAttribute(\"tabindex\") === null)\n ) {\n return;\n }\n\n (ancestor.children[0] as HTMLElement).focus();\n }\n\n if (event.code === KeyboardCode.ARROW_RIGHT) {\n event.preventDefault();\n\n const parentElm = (event.target as HTMLElement).closest(\"z-list-element\") as HTMLElement;\n\n if (!parentElm) {\n return;\n }\n\n const childrenContainer = parentElm.querySelector(\"z-list\") as HTMLElement;\n\n if (!childrenContainer) {\n return;\n }\n\n const firstChild = childrenContainer.querySelector('a[tabindex=\"0\"]') as HTMLElement;\n\n if (!firstChild) {\n return;\n }\n\n firstChild.focus();\n }\n }\n\n private renderTreeList(item: TreeListItem, key: string, level = 1): HTMLZListElementElement {\n this.htmlTag = item.url ? \"a\" : \"span\";\n\n const treeListContent = (\n <z-list-element\n id={key}\n class={!item.icon ? \"no-icon-elm\" : \"\"}\n clickable={Boolean(item.url)}\n hasTreeItems={true}\n role=\"none\"\n aria-hidden={undefined}\n >\n <this.htmlTag\n class={{\n \"list-element\": true,\n \"z-link\": Boolean(item.url),\n \"link-clickable\": Boolean(item.url),\n }}\n tabIndex={item.url ? 0 : -1}\n onClick={() => this.handleClick(item)}\n onKeyUp={(event: KeyboardEvent) => {\n if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {\n this.handleClick(item);\n }\n }}\n onKeyDown={(event: KeyboardEvent) => this.handleArrowNav(event)}\n role={item.url ? \"treeitem\" : undefined}\n aria-hidden={item.url ? undefined : \"true\"}\n aria-expanded={item.children?.length > 0 && true}\n aria-level={level}\n aria-label={item.name}\n href={item.url}\n >\n <span class=\"item ellipsis\">\n {item.icon && (\n <z-icon\n width={16}\n height={16}\n fill={item.url ? \"color-primary01\" : \"color-default-icon\"}\n class=\"item-icon\"\n name={item.icon}\n />\n )}\n <span\n class={{\n \"item-label\": true,\n \"no-icon-label\": !item.icon,\n \"bold-item\": item.bold,\n }}\n title={item.name}\n >\n {item.name}\n </span>\n </span>\n </this.htmlTag>\n {item.children?.length > 0 && (\n <z-list role=\"group\">\n <div class=\"children-node\">\n {item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1))}\n </div>\n </z-list>\n )}\n </z-list-element>\n );\n\n return treeListContent;\n }\n\n render(): HTMLZTreeListElement {\n const hasClickableItems = this.parsedItems.some((item) => !!item.url);\n\n return (\n <Host\n class=\"tree-list\"\n role={hasClickableItems ? \"navigation\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-labelledby={this.htmlAriaLabelledby}\n >\n <div\n tabIndex={-1}\n role={hasClickableItems ? \"tree\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-label={this.htmlSectionTitle}\n >\n {this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`))}\n </div>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,82EAA82E,CAAC;;MCQ33E,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAUE,QAAA,IAAA,CAAA,KAAK,GAA4B,EAAE;AAc3B,QAAA,IAAA,CAAA,WAAW,GAAmB,EAAE;AA4LzC;IAvLC,UAAU,GAAA;QACR,IAAI,CAAC,WAAW,GAAG,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK;;IAGzF,iBAAiB,GAAA;QACf,IAAI,CAAC,UAAU,EAAE;;AAGX,IAAA,WAAW,CAAC,IAAkB,EAAA;QACpC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAC,CAAC;;IAGlE,oBAAoB,GAAA;AAC1B,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,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GAAG,MAAM,EAAA,aAAA,EAC5B,iBAAiB,GAAG,SAAS,GAAG,MAAM,EAAA,YAAA,EACvC,IAAI,CAAC,gBAAgB,EAAA,EAEhC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAA,EAAG,GAAG,CAAA,CAAE,CAAC,CAAC,CACrE,CACD;;;;;;;;;;;;;"}
|
|
@@ -7,9 +7,12 @@ const ZVisuallyHidden = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return h("slot", { key: '
|
|
10
|
+
return h("slot", { key: 'e1a4d7e8ec823326ce9decd1bcbf5ffc3e2987bf' });
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ZVisuallyHidden.style = stylesCss();
|
|
14
14
|
|
|
15
15
|
export { ZVisuallyHidden as z_visually_hidden };
|
|
16
|
+
//# sourceMappingURL=z-visually-hidden.entry.js.map
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=z-visually-hidden.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-visually-hidden.entry.js","sources":["src/components/z-visually-hidden/styles.css?tag=z-visually-hidden&encapsulation=shadow","src/components/z-visually-hidden/index.tsx"],"sourcesContent":[":host {\n position: absolute;\n overflow: hidden;\n width: 1px;\n height: 1px;\n padding: 0;\n border: 0;\n margin: 0 -1px -1px 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n}\n","import {Component, ComponentInterface, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-visually-hidden\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZVisuallyHidden implements ComponentInterface {\n render(): HTMLSlotElement {\n return <slot />;\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,gKAAgK,CAAC;;MCO7K,eAAe,GAAA,MAAA;;;;IAC1B,MAAM,GAAA;QACJ,OAAO,8DAAQ;;;;;;;"}
|
|
@@ -7,13 +7,6 @@ import { BookCardVariant } from "../../../beans";
|
|
|
7
7
|
* @slot data - External link and pill, default empty
|
|
8
8
|
* @slot apps - List of card-related apps, default empty
|
|
9
9
|
* @slot coverOverlay - Content to be displayed in the `z-book-cover` component slot
|
|
10
|
-
* @cssprop --z-book-card-portrait-cover-height - Set custom cover height for portrait variant - Default: `378px`
|
|
11
|
-
* @cssprop --z-book-card-title-lines - Set title avilable lines - Default: `2`
|
|
12
|
-
* @cssprop --z-book-card-title-word-break - Set title word-break rule - Default: `initial`
|
|
13
|
-
* @cssprop --z-book-card-subtitle-lines - Set subtitle available lines - Default: `1`
|
|
14
|
-
* @cssprop --z-book-card-subtitle-word-break - Set subtitle word-break rule - Default: `break-all`
|
|
15
|
-
* @cssprop --z-book-card-authors-lines - Set authors available lines - Default: `1`
|
|
16
|
-
* @cssprop --z-book-card-authors-word-break - Set authors word-break rule - Default: `break-all`
|
|
17
10
|
*/
|
|
18
11
|
export declare class ZBookCard implements ComponentInterface {
|
|
19
12
|
hostElement: HTMLZBookCardElement;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* ZBookCardApp component
|
|
4
|
-
* @cssprop --z-book-card-app-padding-x - set left and right padding
|
|
5
|
-
* @cssprop --z-book-card-app-padding-y - set top and bottom padding
|
|
6
4
|
*/
|
|
7
5
|
export declare class ZBookCardApp implements ComponentInterface {
|
|
8
6
|
hostElement: HTMLZBookCardAppElement;
|
|
@@ -4,59 +4,6 @@ import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtim
|
|
|
4
4
|
* @slot subtitle - Slot for the bottom subtitle. It will not appear in stuck header.
|
|
5
5
|
* @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.
|
|
6
6
|
* @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.
|
|
7
|
-
* @cssprop --app-header-typography-1-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `24px`.
|
|
8
|
-
* @cssprop --app-header-typography-2-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `28px`.
|
|
9
|
-
* @cssprop --app-header-typography-3-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `32px`.
|
|
10
|
-
* @cssprop --app-header-typography-4-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `36px`.
|
|
11
|
-
* @cssprop --app-header-typography-5-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `42px`.
|
|
12
|
-
* @cssprop --app-header-typography-6-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `48px`.
|
|
13
|
-
* @cssprop --app-header-typography-7-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `54px`.
|
|
14
|
-
* @cssprop --app-header-typography-8-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `60px`.
|
|
15
|
-
* @cssprop --app-header-typography-9-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `68px`.
|
|
16
|
-
* @cssprop --app-header-typography-10-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `76px`.
|
|
17
|
-
* @cssprop --app-header-typography-11-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `84px`.
|
|
18
|
-
* @cssprop --app-header-typography-12-size - Part of the heading typography's scale. Use it if you have to override the default value. Value: `92px`.
|
|
19
|
-
* @cssprop --app-header-typography-1-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.33`.
|
|
20
|
-
* @cssprop --app-header-typography-2-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.29`.
|
|
21
|
-
* @cssprop --app-header-typography-3-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.
|
|
22
|
-
* @cssprop --app-header-typography-4-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.
|
|
23
|
-
* @cssprop --app-header-typography-5-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.
|
|
24
|
-
* @cssprop --app-header-typography-6-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.25`.
|
|
25
|
-
* @cssprop --app-header-typography-7-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.
|
|
26
|
-
* @cssprop --app-header-typography-8-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.
|
|
27
|
-
* @cssprop --app-header-typography-9-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.24`.
|
|
28
|
-
* @cssprop --app-header-typography-10-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.26`.
|
|
29
|
-
* @cssprop --app-header-typography-11-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.
|
|
30
|
-
* @cssprop --app-header-typography-12-lineheight - Part of the heading typography's scale. Use it if you have to override the default value. Value: `1.2`.
|
|
31
|
-
* @cssprop --app-header-typography-1-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.2 / 1em)`.
|
|
32
|
-
* @cssprop --app-header-typography-2-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.4 / 1em)`.
|
|
33
|
-
* @cssprop --app-header-typography-3-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.6 / 1em)`.
|
|
34
|
-
* @cssprop --app-header-typography-4-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-0.8 / 1em)`.
|
|
35
|
-
* @cssprop --app-header-typography-5-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1 / 1em)`.
|
|
36
|
-
* @cssprop --app-header-typography-6-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.2 / 1em)`.
|
|
37
|
-
* @cssprop --app-header-typography-7-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.4 / 1em)`.
|
|
38
|
-
* @cssprop --app-header-typography-8-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.6 / 1em)`.
|
|
39
|
-
* @cssprop --app-header-typography-9-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-1.8 / 1em)`.
|
|
40
|
-
* @cssprop --app-header-typography-10-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2 / 1em)`.
|
|
41
|
-
* @cssprop --app-header-typography-11-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.2 / 1em)`.
|
|
42
|
-
* @cssprop --app-header-typography-12-tracking - Part of the heading typography's scale. Use it if you have to override the default value. Value: `calc(-2.4 / 1em)`.
|
|
43
|
-
* @cssprop --app-header-content-max-width - Use it to set header's content max width. Useful when the project use a fixed width layout. Defaults to `100%`.
|
|
44
|
-
* @cssprop --app-header-height - Defaults to `auto`.
|
|
45
|
-
* @cssprop --app-header-top-offset - Top offset for the stuck header. Useful when there are other fixed elements above the header. Defaults to `48px` (the height of the main topbar).
|
|
46
|
-
* @cssprop --app-header-drawer-trigger-size - The size of the drawer icon. Defaults to `--space-unit * 4`.
|
|
47
|
-
* @cssprop --app-header-bg - Header background color. Defaults to `--color-surface01`.
|
|
48
|
-
* @cssprop --app-header-stucked-bg - Stuck header background color. Defaults to `--color-surface01`.
|
|
49
|
-
* @cssprop --app-header-text-color - Text color. Useful on `hero` variant to set text color based on the colors of the background image. Defaults to `--color-default-text`.
|
|
50
|
-
* @cssprop --app-header-title-font-size - Variable to customize the title's font size.
|
|
51
|
-
* NOTE: Only use one of the exported `--app-header-typography-*-size` as a value.
|
|
52
|
-
* Defaults to `--app-header-typography-3-size`.
|
|
53
|
-
* @cssprop --app-header-title-lineheight - Variable to customize the title's line-height.
|
|
54
|
-
* NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value and use the same level as the one of the font size.
|
|
55
|
-
* Defaults to `--app-header-typography-3-lineheight`.
|
|
56
|
-
* @cssprop --app-header-title-letter-spacing - Variable to customize the title's letter-spacing.
|
|
57
|
-
* NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value and use the same level as the one of the font size.
|
|
58
|
-
* Defaults to `--app-header-typography-3-tracking`.
|
|
59
|
-
* @cssprop --app-header-stucked-text-color - Stuck header text color. Defaults to `--color-default-text`.
|
|
60
7
|
*/
|
|
61
8
|
export declare class ZAppHeaderDeprecated implements ComponentInterface {
|
|
62
9
|
hostElement: HTMLZAppHeaderDeprecatedElement;
|
|
@@ -5,10 +5,6 @@ import { BookCardDeprecatedVariant } from "../../../beans";
|
|
|
5
5
|
* @slot header-cta - header CTA (e.g. bookmark icon - extended and search variant only)
|
|
6
6
|
* @slot tags - card tags (extended and search variant only)
|
|
7
7
|
* @slot footer-cta - footer cta button (search and compact variant only)
|
|
8
|
-
* @cssprop --z-book-card-ribbon-background-color - ribbon backgrund color
|
|
9
|
-
* @cssprop --z-book-card-ribbon-shadow-color - ribbon shadow color
|
|
10
|
-
* @cssprop --z-book-card-compact-width - compact card custom width
|
|
11
|
-
* @cssprop --z-book-card-compact-height - compact card custom height
|
|
12
8
|
*/
|
|
13
9
|
export declare class ZBookCardDeprecated implements ComponentInterface {
|
|
14
10
|
hostElement: HTMLZBookCardDeprecatedElement;
|
|
@@ -3,7 +3,6 @@ import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtim
|
|
|
3
3
|
* @slot - Menu label
|
|
4
4
|
* @slot header - Header to display as the first entry of the open menu.
|
|
5
5
|
* @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.
|
|
6
|
-
* @cssprop --z-menu-label-color - Color of the label's text.
|
|
7
6
|
*/
|
|
8
7
|
export declare class ZMenuDeprecated implements ComponentInterface {
|
|
9
8
|
hostElement: HTMLZMenuDeprecatedElement;
|
|
@@ -7,7 +7,6 @@ import { ZSectionTitleDividerPosition } from "../../../beans";
|
|
|
7
7
|
* @slot secondary-title - Slot for the secondary title. When present, the divider is always displayed under it,
|
|
8
8
|
* following its width and removing the one for the primary title.
|
|
9
9
|
* @slot primary-title - Slot for the primary title.
|
|
10
|
-
* @cssprop --z-section-title--divider-color - Color of the divider. Use a CSS prop string like `"--red500"`. Default is `"--red500"`.
|
|
11
10
|
*/
|
|
12
11
|
export declare class ZSectionTitle implements ComponentInterface {
|
|
13
12
|
/**
|
|
@@ -6,7 +6,6 @@ import "../z-tr/index";
|
|
|
6
6
|
/**
|
|
7
7
|
* ZTable component.
|
|
8
8
|
* @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).
|
|
9
|
-
* @cssprop --z-table--cells-padding - Padding of the cells.
|
|
10
9
|
*/
|
|
11
10
|
export declare class ZTable implements ComponentInterface {
|
|
12
11
|
host: HTMLZTableElement;
|
|
@@ -5,16 +5,8 @@ import { AccordionVariant, ControlSize } from "../../beans";
|
|
|
5
5
|
*
|
|
6
6
|
* @slot - Slot for the main content.
|
|
7
7
|
* @slot tag - Slot for tags.
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
10
|
-
* @cssprop --z-accordion-label-color - Label color. Default: `--color-default-text`.
|
|
11
|
-
* @cssprop --z-accordion-disabled-label-color - Label color when disabled. Default: `--color-text03`.
|
|
12
|
-
* @cssprop --z-accordion-content-bg - Background color of the accordion. Default: `--color-surface02`.
|
|
13
|
-
* @cssprop --z-accordion-content-fg - Content text color. Default: `--color-default-text`.
|
|
14
|
-
* @cssprop --z-accordion-hover-color - Hover color of the summary. Default: `--color-surface03`.
|
|
15
|
-
* @cssprop --z-accordion-left-padding - Left padding of the summary. Default: `--space-unit` * 2.
|
|
16
|
-
* @cssprop --z-accordion-right-padding - Right padding of the summary. Default: `--space-unit`.
|
|
17
|
-
* @cssprop --z-accordion-label-font-weight - Font weight of the summary label. Default: `--font-sb`.
|
|
8
|
+
* @part summary - The summary element that is always visible and acts as the accordion's toggle.
|
|
9
|
+
* @part content - The content element that is shown or hidden when the accordion is toggled.
|
|
18
10
|
*/
|
|
19
11
|
export declare class ZAccordion implements ComponentInterface {
|
|
20
12
|
host: HTMLZAccordionElement;
|