@zanichelli/albe-web-components 19.1.3 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/dist/cjs/iconset-5d47610c.js +1016 -0
- package/dist/cjs/iconset-5d47610c.js.map +1 -0
- package/dist/cjs/{index-f011b2e3.js → index-1ee051ca.js} +2 -2
- package/dist/cjs/{index-f011b2e3.js.map → index-1ee051ca.js.map} +1 -1
- package/dist/cjs/{index-09238e31.js → index-43dfc8b2.js} +3 -3
- package/dist/cjs/{index-09238e31.js.map → index-43dfc8b2.js.map} +1 -1
- package/dist/cjs/{index-1c7cd5df.js → index-5eb95b44.js} +2 -2
- package/dist/cjs/{index-1c7cd5df.js.map → index-5eb95b44.js.map} +1 -1
- package/dist/cjs/{index-805390c8.js → index-844c7a99.js} +5 -5
- package/dist/cjs/{index-805390c8.js.map → index-844c7a99.js.map} +1 -1
- package/dist/cjs/{index-62712250.js → index-8770e71a.js} +2 -2
- package/dist/cjs/{index-62712250.js.map → index-8770e71a.js.map} +1 -1
- package/dist/cjs/index-96af6326.js +14 -2
- package/dist/cjs/{index-66928615.js → index-d214a119.js} +3 -3
- package/dist/cjs/{index-66928615.js.map → index-d214a119.js.map} +1 -1
- package/dist/cjs/{index-97a4c18d.js → index-e30d0503.js} +51 -1
- package/dist/cjs/index-e30d0503.js.map +1 -0
- package/dist/cjs/index.cjs.js +5 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-7f9d5a78.js → utils-4f7b4830.js} +2 -2
- package/dist/cjs/{utils-7f9d5a78.js.map → utils-4f7b4830.js.map} +1 -1
- package/dist/cjs/{utils-5148245a.js → utils-e8b453d5.js} +35 -6
- package/dist/cjs/utils-e8b453d5.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js +139 -1051
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-color-picker.cjs.entry.js +212 -0
- package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +20 -16
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +3 -3
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -9
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-tool.cjs.entry.js +210 -0
- package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
- package/dist/cjs/z-toolbar.cjs.entry.js +148 -0
- package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +3 -2
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +48 -0
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
- package/dist/collection/components/css-components/z-label/styles.css +10 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-section-title/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js.map +1 -1
- package/dist/collection/components/z-app-header/index.stories.js +42 -0
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
- package/dist/collection/components/z-app-header/styles.css +8 -0
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-cover/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-color-picker/index.js +367 -0
- package/dist/collection/components/z-color-picker/index.js.map +1 -0
- package/dist/collection/components/z-color-picker/index.stories.js +34 -0
- package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
- package/dist/collection/components/z-color-picker/styles.css +74 -0
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +40 -9
- package/dist/collection/components/z-icon/index.js.map +1 -1
- package/dist/collection/components/z-icon/index.stories.js +34 -18
- package/dist/collection/components/z-icon/index.stories.js.map +1 -1
- package/dist/collection/components/z-icon/styles.css +15 -2
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu/index.js +1 -1
- package/dist/collection/components/z-menu/index.js.map +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-notification/styles.css +2 -2
- package/dist/collection/components/z-offcanvas/index.js +89 -10
- package/dist/collection/components/z-offcanvas/index.js.map +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +31 -21
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/styles.css +18 -3
- package/dist/collection/components/z-searchbar/index.js +41 -5
- package/dist/collection/components/z-searchbar/index.js.map +1 -1
- package/dist/collection/components/z-searchbar/index.stories.js +13 -1
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +501 -0
- package/dist/collection/components/z-tool/index.js.map +1 -0
- package/dist/collection/components/z-tool/index.stories.js +147 -0
- package/dist/collection/components/z-tool/index.stories.js.map +1 -0
- package/dist/collection/components/z-tool/styles.css +90 -0
- package/dist/collection/components/z-toolbar/index.js +208 -0
- package/dist/collection/components/z-toolbar/index.js.map +1 -0
- package/dist/collection/components/z-toolbar/index.stories.js +318 -0
- package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-toolbar/styles.css +46 -0
- package/dist/collection/components/z-tooltip/index.js +19 -1
- package/dist/collection/components/z-tooltip/index.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/constants/iconset.js +152 -142
- package/dist/collection/constants/iconset.js.map +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/utils/utils.js +33 -4
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/iconset.js +152 -143
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +5 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +17 -6
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index16.js +2 -2
- package/dist/components/index17.js +4 -4
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index2.js +49 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +84 -11
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +19 -15
- package/dist/components/index24.js.map +1 -1
- package/dist/components/index25.js +13 -6
- package/dist/components/index25.js.map +1 -1
- package/dist/components/index26.js +2 -2
- package/dist/components/index27.js +55 -0
- package/dist/components/index27.js.map +1 -0
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index6.js +2 -2
- package/dist/components/index7.js +1 -1
- package/dist/components/index8.js +2 -2
- package/dist/components/index9.js +1 -1
- package/dist/components/utils.js +33 -4
- package/dist/components/utils.js.map +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header-deprecated.js +1 -1
- package/dist/components/z-app-header.js +2 -2
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card-deprecated.js +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-color-picker.d.ts +11 -0
- package/dist/components/z-color-picker.js +234 -0
- package/dist/components/z-color-picker.js.map +1 -0
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-deprecated.js +1 -1
- package/dist/components/z-menu-section-deprecated.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-menu.js +1 -1
- package/dist/components/z-menu.js.map +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-navigation-tabs.js +2 -2
- package/dist/components/z-notification.js +2 -2
- package/dist/components/z-notification.js.map +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-range-picker.js +3 -3
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tool.d.ts +11 -0
- package/dist/components/z-tool.js +260 -0
- package/dist/components/z-tool.js.map +1 -0
- package/dist/components/z-toolbar.d.ts +11 -0
- package/dist/components/z-toolbar.js +165 -0
- package/dist/components/z-toolbar.js.map +1 -0
- package/dist/components/z-tooltip.js +1 -50
- package/dist/components/z-tooltip.js.map +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/iconset-d7823b13.js +1013 -0
- package/dist/esm/iconset-d7823b13.js.map +1 -0
- package/dist/esm/{index-2a6324f8.js → index-106473a8.js} +50 -2
- package/dist/esm/index-106473a8.js.map +1 -0
- package/dist/esm/{index-0bcacbd3.js → index-21176e80.js} +2 -2
- package/dist/esm/{index-0bcacbd3.js.map → index-21176e80.js.map} +1 -1
- package/dist/esm/{index-b64ced16.js → index-39a920c4.js} +3 -3
- package/dist/esm/{index-b64ced16.js.map → index-39a920c4.js.map} +1 -1
- package/dist/esm/{index-36122d8f.js → index-41934729.js} +2 -2
- package/dist/esm/{index-36122d8f.js.map → index-41934729.js.map} +1 -1
- package/dist/esm/{index-f20179ad.js → index-4845b32f.js} +3 -3
- package/dist/esm/{index-f20179ad.js.map → index-4845b32f.js.map} +1 -1
- package/dist/esm/{index-0ea3c7c8.js → index-599cd05a.js} +2 -2
- package/dist/esm/{index-0ea3c7c8.js.map → index-599cd05a.js.map} +1 -1
- package/dist/esm/index-c8ceadeb.js +14 -2
- package/dist/esm/{index-8a9f6d27.js → index-d003e5d7.js} +5 -5
- package/dist/esm/{index-8a9f6d27.js.map → index-d003e5d7.js.map} +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-e66d94c3.js → utils-1b64bcd9.js} +35 -6
- package/dist/esm/utils-1b64bcd9.js.map +1 -0
- package/dist/esm/{utils-227ef1c0.js → utils-93ac0e6c.js} +2 -2
- package/dist/esm/{utils-227ef1c0.js.map → utils-93ac0e6c.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +2 -2
- package/dist/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/esm/z-app-header_12.entry.js +139 -1051
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-book-card-app.entry.js +2 -2
- package/dist/esm/z-book-card-deprecated.entry.js +3 -3
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-book-cover.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +4 -4
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-color-picker.entry.js +208 -0
- package/dist/esm/z-color-picker.entry.js.map +1 -0
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +3 -3
- package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-menu.entry.js.map +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +3 -3
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-notification.entry.js.map +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +20 -16
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +5 -5
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +3 -3
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +9 -9
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tool.entry.js +206 -0
- package/dist/esm/z-tool.entry.js.map +1 -0
- package/dist/esm/z-toolbar.entry.js +144 -0
- package/dist/esm/z-toolbar.entry.js.map +1 -0
- package/dist/esm/z-tooltip.entry.js +4 -3
- package/dist/esm/z-tooltip.entry.js.map +1 -1
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/esm/z-tree-list.entry.js +2 -2
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +184 -0
- package/dist/types/components/z-app-header/index.stories.d.ts +16 -0
- package/dist/types/components/z-color-picker/index.d.ts +64 -0
- package/dist/types/components/z-color-picker/index.stories.d.ts +33 -0
- package/dist/types/components/z-icon/index.d.ts +19 -5
- package/dist/types/components/z-icon/index.stories.d.ts +23 -10
- package/dist/types/components/z-offcanvas/index.d.ts +24 -0
- package/dist/types/components/z-popover/index.d.ts +9 -4
- package/dist/types/components/z-searchbar/index.d.ts +4 -0
- package/dist/types/components/z-searchbar/index.stories.d.ts +2 -0
- package/dist/types/components/z-tool/index.d.ts +103 -0
- package/dist/types/components/z-tool/index.stories.d.ts +70 -0
- package/dist/types/components/z-toolbar/index.d.ts +46 -0
- package/dist/types/components/z-toolbar/index.stories.d.ts +52 -0
- package/dist/types/components/z-tooltip/index.d.ts +8 -0
- package/dist/types/components.d.ts +338 -19
- package/dist/types/constants/iconset.d.ts +281 -141
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +3 -2
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/index.esm.js.map +1 -1
- package/{www/build/p-5a24e268.entry.js → dist/web-components-library/p-03a558ef.entry.js} +2 -2
- package/dist/web-components-library/p-0989655c.entry.js +2 -0
- package/dist/web-components-library/p-0989655c.entry.js.map +1 -0
- package/dist/web-components-library/p-0a192ddf.entry.js +2 -0
- package/dist/web-components-library/p-0a192ddf.entry.js.map +1 -0
- package/dist/web-components-library/{p-460b2068.entry.js → p-15951fc6.entry.js} +2 -2
- package/dist/web-components-library/p-17e2fed2.entry.js +2 -0
- package/dist/web-components-library/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
- package/{www/build/p-94916bdf.entry.js → dist/web-components-library/p-1939116a.entry.js} +2 -2
- package/dist/web-components-library/p-1a0c206d.js +2 -0
- package/dist/web-components-library/p-1a0c206d.js.map +1 -0
- package/dist/web-components-library/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
- package/dist/web-components-library/{p-2ffdfbb1.entry.js → p-215b1fa5.entry.js} +2 -2
- package/dist/web-components-library/{p-99210133.entry.js → p-2501dd29.entry.js} +2 -2
- package/dist/web-components-library/p-2a04c00e.entry.js +2 -0
- package/{www/build/p-816fd6dc.entry.js.map → dist/web-components-library/p-2a04c00e.entry.js.map} +1 -1
- package/{www/build/p-1fd1cf02.entry.js → dist/web-components-library/p-2bba665d.entry.js} +2 -2
- package/dist/web-components-library/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
- package/dist/web-components-library/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
- package/{www/build/p-4cec3345.entry.js → dist/web-components-library/p-3d02ad75.entry.js} +2 -2
- package/dist/web-components-library/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
- package/{www/build/p-8c164e0d.entry.js → dist/web-components-library/p-41891d34.entry.js} +2 -2
- package/dist/web-components-library/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
- package/dist/web-components-library/{p-748fa3ae.js → p-54cd104c.js} +2 -2
- package/dist/web-components-library/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
- package/{www/build/p-b96900bb.entry.js → dist/web-components-library/p-59baa7f5.entry.js} +2 -2
- package/dist/web-components-library/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
- package/dist/web-components-library/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
- package/{www/build/p-c778bf87.entry.js → dist/web-components-library/p-5fda8769.entry.js} +3 -3
- package/dist/web-components-library/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
- package/dist/web-components-library/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
- package/dist/web-components-library/{p-e9e2ceb4.entry.js → p-684142d7.entry.js} +2 -2
- package/dist/web-components-library/p-6af67a60.entry.js +2 -0
- package/dist/web-components-library/p-6af67a60.entry.js.map +1 -0
- package/dist/web-components-library/p-6c3d141b.entry.js +2 -0
- package/dist/web-components-library/{p-22ba2a17.entry.js → p-6d11da08.entry.js} +2 -2
- package/dist/web-components-library/{p-b7b972c0.entry.js → p-6d61933f.entry.js} +2 -2
- package/dist/web-components-library/{p-dc086eb5.entry.js → p-6ef58a14.entry.js} +2 -2
- package/dist/web-components-library/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
- package/dist/web-components-library/p-76003048.entry.js +2 -0
- package/dist/web-components-library/p-76003048.entry.js.map +1 -0
- package/dist/web-components-library/{p-0a49dd1c.entry.js → p-7b199026.entry.js} +2 -2
- package/dist/web-components-library/p-7d6c4b21.entry.js +2 -0
- package/dist/web-components-library/p-7d6c4b21.entry.js.map +1 -0
- package/dist/web-components-library/{p-d7f12672.js → p-80285500.js} +2 -2
- package/dist/web-components-library/{p-a2e87cec.entry.js → p-80ddecaf.entry.js} +2 -2
- package/dist/web-components-library/p-839e2478.entry.js +2 -0
- package/{www/build/p-daa1ffe9.entry.js → dist/web-components-library/p-84ed6163.entry.js} +2 -2
- package/dist/web-components-library/p-86618221.js +2 -0
- package/dist/web-components-library/p-86618221.js.map +1 -0
- package/dist/web-components-library/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
- package/{www/build/p-1844a4f4.entry.js → dist/web-components-library/p-8a53fefb.entry.js} +2 -2
- package/dist/web-components-library/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
- package/dist/web-components-library/{p-28534fb5.entry.js → p-90690d4d.entry.js} +2 -2
- package/dist/web-components-library/{p-307c9c33.entry.js → p-9a63ec80.entry.js} +2 -2
- package/dist/web-components-library/p-9af837bb.entry.js +2 -0
- package/dist/web-components-library/p-a32ebcc3.entry.js +2 -0
- package/dist/web-components-library/p-a7bb5e87.js +2 -0
- package/{www/build/p-030257b3.js.map → dist/web-components-library/p-a7bb5e87.js.map} +1 -1
- package/dist/web-components-library/p-b06af2fc.js +2 -0
- package/{www/build/p-817689d5.entry.js → dist/web-components-library/p-b1f2388a.entry.js} +3 -3
- package/{www/build/p-342b0eb0.entry.js → dist/web-components-library/p-b421424f.entry.js} +2 -2
- package/dist/web-components-library/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
- package/dist/web-components-library/{p-cc18a2b7.entry.js → p-b8211903.entry.js} +2 -2
- package/{www/build/p-b63c8e8b.entry.js → dist/web-components-library/p-b854cc3d.entry.js} +2 -2
- package/dist/web-components-library/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
- package/dist/web-components-library/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
- package/dist/web-components-library/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
- package/{www/build/p-3f5aa623.entry.js → dist/web-components-library/p-c5d52872.entry.js} +2 -2
- package/dist/web-components-library/p-c5d52872.entry.js.map +1 -0
- package/dist/web-components-library/p-c5e032de.entry.js +2 -0
- package/dist/web-components-library/p-c5e032de.entry.js.map +1 -0
- package/{www/build/p-028dd72a.entry.js → dist/web-components-library/p-c645dc11.entry.js} +2 -2
- package/dist/web-components-library/p-c93c6135.entry.js +2 -0
- package/dist/web-components-library/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
- package/dist/web-components-library/{p-30e42fb1.js → p-cb395500.js} +2 -2
- package/dist/web-components-library/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
- package/dist/web-components-library/{p-1c7550f9.entry.js → p-d1a04722.entry.js} +2 -2
- package/{www/build/p-e3b82454.entry.js → dist/web-components-library/p-d1fe7960.entry.js} +2 -2
- package/dist/web-components-library/{p-863fd1c4.entry.js → p-d5ebbfdf.entry.js} +2 -2
- package/dist/web-components-library/p-d65aeb54.entry.js +2 -0
- package/dist/web-components-library/{p-2612e3a2.entry.js → p-daa442e6.entry.js} +2 -2
- package/dist/web-components-library/p-db2c3235.entry.js +2 -0
- package/dist/web-components-library/p-db2c3235.entry.js.map +1 -0
- package/dist/web-components-library/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
- package/dist/web-components-library/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
- package/dist/web-components-library/p-de313d96.entry.js +2 -0
- package/dist/web-components-library/{p-5c5882c6.entry.js → p-e38a5dd2.entry.js} +2 -2
- package/dist/web-components-library/p-eb15536d.js +2 -0
- package/dist/web-components-library/p-eb15536d.js.map +1 -0
- package/{www/build/p-f4bac89b.entry.js → dist/web-components-library/p-eb9161bc.entry.js} +2 -2
- package/dist/web-components-library/{p-f487290e.entry.js → p-f0f53bb2.entry.js} +2 -2
- package/dist/web-components-library/p-f79010de.js +2 -0
- package/{www/build/p-19f5b6a9.entry.js → dist/web-components-library/p-f9e41b2e.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +5 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/index.esm.js.map +1 -1
- package/{dist/web-components-library/p-5a24e268.entry.js → www/build/p-03a558ef.entry.js} +2 -2
- package/www/build/p-0989655c.entry.js +2 -0
- package/www/build/p-0989655c.entry.js.map +1 -0
- package/www/build/p-0a192ddf.entry.js +2 -0
- package/www/build/p-0a192ddf.entry.js.map +1 -0
- package/www/build/{p-460b2068.entry.js → p-15951fc6.entry.js} +2 -2
- package/www/build/p-17e2fed2.entry.js +2 -0
- package/www/build/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
- package/{dist/web-components-library/p-94916bdf.entry.js → www/build/p-1939116a.entry.js} +2 -2
- package/www/build/p-1a0c206d.js +2 -0
- package/www/build/p-1a0c206d.js.map +1 -0
- package/www/build/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
- package/www/build/{p-2ffdfbb1.entry.js → p-215b1fa5.entry.js} +2 -2
- package/www/build/{p-99210133.entry.js → p-2501dd29.entry.js} +2 -2
- package/www/build/p-2a04c00e.entry.js +2 -0
- package/{dist/web-components-library/p-816fd6dc.entry.js.map → www/build/p-2a04c00e.entry.js.map} +1 -1
- package/{dist/web-components-library/p-1fd1cf02.entry.js → www/build/p-2bba665d.entry.js} +2 -2
- package/www/build/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
- package/www/build/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
- package/www/build/p-385363df.js +2 -0
- package/{dist/web-components-library/p-4cec3345.entry.js → www/build/p-3d02ad75.entry.js} +2 -2
- package/www/build/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
- package/{dist/web-components-library/p-8c164e0d.entry.js → www/build/p-41891d34.entry.js} +2 -2
- package/www/build/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
- package/www/build/{p-748fa3ae.js → p-54cd104c.js} +2 -2
- package/www/build/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
- package/{dist/web-components-library/p-b96900bb.entry.js → www/build/p-59baa7f5.entry.js} +2 -2
- package/www/build/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
- package/www/build/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
- package/{dist/web-components-library/p-c778bf87.entry.js → www/build/p-5fda8769.entry.js} +3 -3
- package/www/build/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
- package/www/build/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
- package/www/build/{p-e9e2ceb4.entry.js → p-684142d7.entry.js} +2 -2
- package/www/build/p-6af67a60.entry.js +2 -0
- package/www/build/p-6af67a60.entry.js.map +1 -0
- package/www/build/p-6c3d141b.entry.js +2 -0
- package/www/build/{p-22ba2a17.entry.js → p-6d11da08.entry.js} +2 -2
- package/www/build/{p-b7b972c0.entry.js → p-6d61933f.entry.js} +2 -2
- package/www/build/{p-dc086eb5.entry.js → p-6ef58a14.entry.js} +2 -2
- package/www/build/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
- package/www/build/p-76003048.entry.js +2 -0
- package/www/build/p-76003048.entry.js.map +1 -0
- package/www/build/{p-0a49dd1c.entry.js → p-7b199026.entry.js} +2 -2
- package/www/build/p-7d6c4b21.entry.js +2 -0
- package/www/build/p-7d6c4b21.entry.js.map +1 -0
- package/www/build/{p-d7f12672.js → p-80285500.js} +2 -2
- package/www/build/{p-a2e87cec.entry.js → p-80ddecaf.entry.js} +2 -2
- package/www/build/p-839e2478.entry.js +2 -0
- package/{dist/web-components-library/p-daa1ffe9.entry.js → www/build/p-84ed6163.entry.js} +2 -2
- package/www/build/p-86618221.js +2 -0
- package/www/build/p-86618221.js.map +1 -0
- package/www/build/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
- package/{dist/web-components-library/p-1844a4f4.entry.js → www/build/p-8a53fefb.entry.js} +2 -2
- package/www/build/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
- package/www/build/{p-28534fb5.entry.js → p-90690d4d.entry.js} +2 -2
- package/www/build/{p-307c9c33.entry.js → p-9a63ec80.entry.js} +2 -2
- package/www/build/p-9af837bb.entry.js +2 -0
- package/www/build/p-a32ebcc3.entry.js +2 -0
- package/www/build/p-a7bb5e87.js +2 -0
- package/{dist/web-components-library/p-030257b3.js.map → www/build/p-a7bb5e87.js.map} +1 -1
- package/www/build/p-b06af2fc.js +2 -0
- package/{dist/web-components-library/p-817689d5.entry.js → www/build/p-b1f2388a.entry.js} +3 -3
- package/{dist/web-components-library/p-342b0eb0.entry.js → www/build/p-b421424f.entry.js} +2 -2
- package/www/build/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
- package/www/build/{p-cc18a2b7.entry.js → p-b8211903.entry.js} +2 -2
- package/{dist/web-components-library/p-b63c8e8b.entry.js → www/build/p-b854cc3d.entry.js} +2 -2
- package/www/build/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
- package/www/build/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
- package/www/build/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
- package/{dist/web-components-library/p-3f5aa623.entry.js → www/build/p-c5d52872.entry.js} +2 -2
- package/www/build/p-c5d52872.entry.js.map +1 -0
- package/www/build/p-c5e032de.entry.js +2 -0
- package/www/build/p-c5e032de.entry.js.map +1 -0
- package/{dist/web-components-library/p-028dd72a.entry.js → www/build/p-c645dc11.entry.js} +2 -2
- package/www/build/p-c93c6135.entry.js +2 -0
- package/www/build/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
- package/www/build/{p-30e42fb1.js → p-cb395500.js} +2 -2
- package/www/build/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
- package/www/build/{p-1c7550f9.entry.js → p-d1a04722.entry.js} +2 -2
- package/{dist/web-components-library/p-e3b82454.entry.js → www/build/p-d1fe7960.entry.js} +2 -2
- package/www/build/{p-863fd1c4.entry.js → p-d5ebbfdf.entry.js} +2 -2
- package/www/build/p-d65aeb54.entry.js +2 -0
- package/www/build/{p-2612e3a2.entry.js → p-daa442e6.entry.js} +2 -2
- package/www/build/p-db2c3235.entry.js +2 -0
- package/www/build/p-db2c3235.entry.js.map +1 -0
- package/www/build/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
- package/www/build/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
- package/www/build/p-de313d96.entry.js +2 -0
- package/www/build/{p-5c5882c6.entry.js → p-e38a5dd2.entry.js} +2 -2
- package/www/build/p-eb15536d.js +2 -0
- package/www/build/p-eb15536d.js.map +1 -0
- package/{dist/web-components-library/p-f4bac89b.entry.js → www/build/p-eb9161bc.entry.js} +2 -2
- package/www/build/{p-f487290e.entry.js → p-f0f53bb2.entry.js} +2 -2
- package/www/build/p-f79010de.js +2 -0
- package/{dist/web-components-library/p-19f5b6a9.entry.js → www/build/p-f9e41b2e.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-97a4c18d.js.map +0 -1
- package/dist/cjs/utils-5148245a.js.map +0 -1
- package/dist/esm/index-2a6324f8.js.map +0 -1
- package/dist/esm/utils-e66d94c3.js.map +0 -1
- package/dist/web-components-library/p-030257b3.js +0 -2
- package/dist/web-components-library/p-1170826b.js +0 -2
- package/dist/web-components-library/p-17af7fb2.js +0 -2
- package/dist/web-components-library/p-17af7fb2.js.map +0 -1
- package/dist/web-components-library/p-237fcaa9.entry.js +0 -2
- package/dist/web-components-library/p-334cba5d.entry.js +0 -2
- package/dist/web-components-library/p-334cba5d.entry.js.map +0 -1
- package/dist/web-components-library/p-33d2a5db.entry.js +0 -2
- package/dist/web-components-library/p-33d2a5db.entry.js.map +0 -1
- package/dist/web-components-library/p-3f5aa623.entry.js.map +0 -1
- package/dist/web-components-library/p-4c9bf42d.js +0 -2
- package/dist/web-components-library/p-6cffbabc.entry.js +0 -2
- package/dist/web-components-library/p-6cffbabc.entry.js.map +0 -1
- package/dist/web-components-library/p-75e47ecf.entry.js +0 -2
- package/dist/web-components-library/p-75e47ecf.entry.js.map +0 -1
- package/dist/web-components-library/p-816fd6dc.entry.js +0 -2
- package/dist/web-components-library/p-9e3da0b7.entry.js +0 -2
- package/dist/web-components-library/p-af5e8524.entry.js +0 -2
- package/dist/web-components-library/p-d2035d26.entry.js +0 -2
- package/dist/web-components-library/p-d75f8bbb.entry.js +0 -2
- package/dist/web-components-library/p-d90d2698.entry.js +0 -2
- package/dist/web-components-library/p-deb7f8d7.entry.js +0 -2
- package/dist/web-components-library/p-e5407cc1.entry.js +0 -2
- package/dist/web-components-library/p-e6778114.js +0 -2
- package/dist/web-components-library/p-e6778114.js.map +0 -1
- package/www/build/p-030257b3.js +0 -2
- package/www/build/p-1170826b.js +0 -2
- package/www/build/p-17af7fb2.js +0 -2
- package/www/build/p-17af7fb2.js.map +0 -1
- package/www/build/p-237fcaa9.entry.js +0 -2
- package/www/build/p-334cba5d.entry.js +0 -2
- package/www/build/p-334cba5d.entry.js.map +0 -1
- package/www/build/p-33d2a5db.entry.js +0 -2
- package/www/build/p-33d2a5db.entry.js.map +0 -1
- package/www/build/p-3f5aa623.entry.js.map +0 -1
- package/www/build/p-4c9bf42d.js +0 -2
- package/www/build/p-6cffbabc.entry.js +0 -2
- package/www/build/p-6cffbabc.entry.js.map +0 -1
- package/www/build/p-75e47ecf.entry.js +0 -2
- package/www/build/p-75e47ecf.entry.js.map +0 -1
- package/www/build/p-7646bea0.js +0 -2
- package/www/build/p-816fd6dc.entry.js +0 -2
- package/www/build/p-9e3da0b7.entry.js +0 -2
- package/www/build/p-af5e8524.entry.js +0 -2
- package/www/build/p-d2035d26.entry.js +0 -2
- package/www/build/p-d75f8bbb.entry.js +0 -2
- package/www/build/p-d90d2698.entry.js +0 -2
- package/www/build/p-deb7f8d7.entry.js +0 -2
- package/www/build/p-e5407cc1.entry.js +0 -2
- package/www/build/p-e6778114.js +0 -2
- package/www/build/p-e6778114.js.map +0 -1
- /package/dist/web-components-library/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-460b2068.entry.js.map → p-15951fc6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2ffdfbb1.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-99210133.entry.js.map → p-2501dd29.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
- /package/dist/web-components-library/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b96900bb.entry.js.map → p-59baa7f5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
- /package/dist/web-components-library/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e9e2ceb4.entry.js.map → p-684142d7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22ba2a17.entry.js.map → p-6d11da08.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dc086eb5.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0a49dd1c.entry.js.map → p-7b199026.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
- /package/dist/web-components-library/{p-a2e87cec.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d2035d26.entry.js.map → p-839e2478.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-daa1ffe9.entry.js.map → p-84ed6163.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1844a4f4.entry.js.map → p-8a53fefb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-28534fb5.entry.js.map → p-90690d4d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-307c9c33.entry.js.map → p-9a63ec80.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
- /package/dist/web-components-library/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cc18a2b7.entry.js.map → p-b8211903.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-028dd72a.entry.js.map → p-c645dc11.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
- /package/dist/web-components-library/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1c7550f9.entry.js.map → p-d1a04722.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-863fd1c4.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2612e3a2.entry.js.map → p-daa442e6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af5e8524.entry.js.map → p-de313d96.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5c5882c6.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f487290e.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
- /package/dist/web-components-library/{p-19f5b6a9.entry.js.map → p-f9e41b2e.entry.js.map} +0 -0
- /package/www/build/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
- /package/www/build/{p-460b2068.entry.js.map → p-15951fc6.entry.js.map} +0 -0
- /package/www/build/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
- /package/www/build/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
- /package/www/build/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
- /package/www/build/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
- /package/www/build/{p-2ffdfbb1.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
- /package/www/build/{p-99210133.entry.js.map → p-2501dd29.entry.js.map} +0 -0
- /package/www/build/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
- /package/www/build/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
- /package/www/build/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
- /package/www/build/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
- /package/www/build/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
- /package/www/build/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
- /package/www/build/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
- /package/www/build/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
- /package/www/build/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
- /package/www/build/{p-b96900bb.entry.js.map → p-59baa7f5.entry.js.map} +0 -0
- /package/www/build/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
- /package/www/build/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
- /package/www/build/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
- /package/www/build/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
- /package/www/build/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
- /package/www/build/{p-e9e2ceb4.entry.js.map → p-684142d7.entry.js.map} +0 -0
- /package/www/build/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
- /package/www/build/{p-22ba2a17.entry.js.map → p-6d11da08.entry.js.map} +0 -0
- /package/www/build/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
- /package/www/build/{p-dc086eb5.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
- /package/www/build/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
- /package/www/build/{p-0a49dd1c.entry.js.map → p-7b199026.entry.js.map} +0 -0
- /package/www/build/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
- /package/www/build/{p-a2e87cec.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
- /package/www/build/{p-d2035d26.entry.js.map → p-839e2478.entry.js.map} +0 -0
- /package/www/build/{p-daa1ffe9.entry.js.map → p-84ed6163.entry.js.map} +0 -0
- /package/www/build/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
- /package/www/build/{p-1844a4f4.entry.js.map → p-8a53fefb.entry.js.map} +0 -0
- /package/www/build/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
- /package/www/build/{p-28534fb5.entry.js.map → p-90690d4d.entry.js.map} +0 -0
- /package/www/build/{p-307c9c33.entry.js.map → p-9a63ec80.entry.js.map} +0 -0
- /package/www/build/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
- /package/www/build/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
- /package/www/build/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
- /package/www/build/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
- /package/www/build/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
- /package/www/build/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
- /package/www/build/{p-cc18a2b7.entry.js.map → p-b8211903.entry.js.map} +0 -0
- /package/www/build/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
- /package/www/build/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
- /package/www/build/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
- /package/www/build/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
- /package/www/build/{p-028dd72a.entry.js.map → p-c645dc11.entry.js.map} +0 -0
- /package/www/build/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
- /package/www/build/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
- /package/www/build/{p-1c7550f9.entry.js.map → p-d1a04722.entry.js.map} +0 -0
- /package/www/build/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
- /package/www/build/{p-863fd1c4.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
- /package/www/build/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
- /package/www/build/{p-2612e3a2.entry.js.map → p-daa442e6.entry.js.map} +0 -0
- /package/www/build/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
- /package/www/build/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
- /package/www/build/{p-af5e8524.entry.js.map → p-de313d96.entry.js.map} +0 -0
- /package/www/build/{p-5c5882c6.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
- /package/www/build/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
- /package/www/build/{p-f487290e.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
- /package/www/build/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
- /package/www/build/{p-19f5b6a9.entry.js.map → p-f9e41b2e.entry.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-tool.entry.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,+jDAA+jD,CAAC;AACllD,oBAAe,SAAS;;ACDxB,MAAM,aAAa,GAAG,q8XAAq8X,CAAC;AAC59X,oBAAe,aAAa;;MCcf,KAAK;;;;;;QAwER,aAAQ,GAAG,KAAK,CAAC;;;;QAcjB,sBAAiB,GAAG,CAAC,EAA2B;YACtD,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAc,CAAC,EAAE;gBAC7E,OAAO;aACR;YAED,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;gBAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;aACzB,EAAE,IAAI,CAAC,CAAC;SACV,CAAC;;;;QAKM,uBAAkB,GAAG,CAAC,EAA2B;;YACvD,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAA,MAAC,EAAE,CAAC,aAA6B,0CAAE,OAAO,CAAC,WAAW,CAAC,MAAK,IAAI,CAAC,UAAU,EAAE;gBAChG,OAAO;aACR;YAED,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC9B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;S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/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 {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} 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 {\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.BOTTOM}\n >\n <slot></slot>\n </z-popover>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as Host, g as getElement } from './index-c8ceadeb.js';
|
|
2
|
+
import { g as KeyboardCode } from './index-106473a8.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;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);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";
|
|
5
|
+
const ZToolbarStyle0 = stylesCss;
|
|
6
|
+
|
|
7
|
+
const ZToolbar = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
/** List of focusable tool elements. */
|
|
11
|
+
this.toolItems = [];
|
|
12
|
+
this.htmlAriaLabel = undefined;
|
|
13
|
+
this.currentFocusIndex = 0;
|
|
14
|
+
}
|
|
15
|
+
componentDidLoad() {
|
|
16
|
+
this.collectToolItems();
|
|
17
|
+
this.updateTabIndexes();
|
|
18
|
+
// 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
|
|
19
|
+
let mobileColumnCount = parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns") || "6");
|
|
20
|
+
mobileColumnCount = this.toolItems.length <= mobileColumnCount ? this.toolItems.length : mobileColumnCount;
|
|
21
|
+
this.hostElement.style.setProperty("--z-toolbar-columns", mobileColumnCount.toString());
|
|
22
|
+
}
|
|
23
|
+
/** Collect first level children `z-tool` elements in the toolbar (not nested ones). */
|
|
24
|
+
collectToolItems() {
|
|
25
|
+
this.toolItems = Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Update the `tabindex` of all children tools based on the current focus index,
|
|
29
|
+
* so that only the currently focusable tool is in the tab order (tabindex="0") and all others are not focusable via keyboard (tabindex="-1").
|
|
30
|
+
*/
|
|
31
|
+
updateTabIndexes() {
|
|
32
|
+
this.toolItems.forEach((tool, index) => {
|
|
33
|
+
tool.setTabIndex(index === this.currentFocusIndex ? 0 : -1);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
focusToolAt(index, fallback = "next") {
|
|
37
|
+
const tool = this.toolItems[index];
|
|
38
|
+
if (!tool) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.currentFocusIndex = index;
|
|
42
|
+
if (!tool.disabled) {
|
|
43
|
+
tool.setFocus();
|
|
44
|
+
this.updateTabIndexes();
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
if (fallback === "next") {
|
|
48
|
+
this.focusNextTool();
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
this.focusPreviousTool();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
focusNextTool() {
|
|
55
|
+
const nextIndex = (this.currentFocusIndex + 1) % this.toolItems.length;
|
|
56
|
+
this.focusToolAt(nextIndex);
|
|
57
|
+
}
|
|
58
|
+
focusPreviousTool() {
|
|
59
|
+
const prevIndex = (this.currentFocusIndex - 1 + this.toolItems.length) % this.toolItems.length;
|
|
60
|
+
this.focusToolAt(prevIndex, "previous");
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Listen for custom "toggleSubmenu" events from child tools and close sibling submenus when one is opened,
|
|
64
|
+
* to prevent multiple submenus from being open at the same time.
|
|
65
|
+
*/
|
|
66
|
+
closeSiblingSubmenusOnOpen(event) {
|
|
67
|
+
if (event.detail !== true) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const targetTool = event.target.closest("z-tool");
|
|
71
|
+
if (!targetTool || !this.toolItems.includes(targetTool)) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
this.toolItems.forEach((tool) => {
|
|
75
|
+
if (tool !== targetTool && tool.open) {
|
|
76
|
+
tool.open = false;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Listen for custom "toggleTooltip" events from child tools and close sibling tooltips when one is opened,
|
|
82
|
+
* to prevent multiple tooltips from being open at the same time.
|
|
83
|
+
*/
|
|
84
|
+
closeSiblingTooltipsOnOpen(event) {
|
|
85
|
+
if (event.detail !== true) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const targetTool = event.target;
|
|
89
|
+
if (!this.toolItems.includes(targetTool)) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
this.toolItems.forEach((tool) => {
|
|
93
|
+
if (tool !== targetTool) {
|
|
94
|
+
tool.closeTooltip();
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
handleKeyDown(event) {
|
|
99
|
+
const target = event.target;
|
|
100
|
+
const toolElement = target.closest("z-tool");
|
|
101
|
+
if (!toolElement || !this.toolItems.includes(toolElement)) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
const focusedIndex = this.toolItems.indexOf(toolElement);
|
|
105
|
+
if (focusedIndex !== -1) {
|
|
106
|
+
this.currentFocusIndex = focusedIndex;
|
|
107
|
+
}
|
|
108
|
+
switch (event.key) {
|
|
109
|
+
case KeyboardCode.ARROW_RIGHT:
|
|
110
|
+
event.preventDefault();
|
|
111
|
+
this.focusNextTool();
|
|
112
|
+
break;
|
|
113
|
+
case KeyboardCode.ARROW_LEFT:
|
|
114
|
+
event.preventDefault();
|
|
115
|
+
this.focusPreviousTool();
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* When focus enters the toolbar, update the current focus index to match the focused tool,
|
|
121
|
+
* so that roving tabindex is in sync with actual focus.
|
|
122
|
+
*/
|
|
123
|
+
handleFocusIn(event) {
|
|
124
|
+
const target = event.target;
|
|
125
|
+
const toolElement = target.closest("z-tool");
|
|
126
|
+
const index = this.toolItems.indexOf(toolElement);
|
|
127
|
+
if (index !== -1 && index !== this.currentFocusIndex) {
|
|
128
|
+
this.currentFocusIndex = index;
|
|
129
|
+
this.updateTabIndexes();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
render() {
|
|
133
|
+
return (h(Host, { key: 'eb195bd6bb7d19e7958492c96761572838e2a881', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: '6283d32e6e5568a890ff9c404d152800269cda99', onSlotchange: () => {
|
|
134
|
+
this.collectToolItems();
|
|
135
|
+
this.updateTabIndexes();
|
|
136
|
+
} })));
|
|
137
|
+
}
|
|
138
|
+
get hostElement() { return getElement(this); }
|
|
139
|
+
};
|
|
140
|
+
ZToolbar.style = ZToolbarStyle0;
|
|
141
|
+
|
|
142
|
+
export { ZToolbar as z_toolbar };
|
|
143
|
+
|
|
144
|
+
//# sourceMappingURL=z-toolbar.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"z-toolbar.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,mhCAAmhC,CAAC;AACtiC,uBAAe,SAAS;;MCgBX,QAAQ;;;;QAYX,cAAS,GAAuB,EAAE,CAAC;;iCAHvB,CAAC;;IAKrB,gBAAgB;QACd,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;;QAExB,IAAI,iBAAiB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,IAAI,GAAG,CAAC,CAAC;QACpH,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,iBAAiB,CAAC;QAC3G,I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AAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QACzD,IAAI,YAAY,KAAK,CAAC,CAAC,EAAE;YACvB,IAAI,CAAC,iBAAiB,GAAG,YAAY,CAAC;SACvC;QAED,QAAQ,KAAK,CAAC,GAAG;YACf,KAAK,YAAY,CAAC,WAAW;gBAC3B,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,IAAI,CAAC,aAAa,EAAE,CAAC;gBACrB,MAAM;YACR,KAAK,YAAY,CAAC,UAAU;gBAC1B,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACzB,MAAM;SACT;KACF;;;;;IAOD,aAAa,CAAC,KAAiB;QAC7B,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;QAC3C,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAqB,CAAC;QACjE,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAClD,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,CAAC,iBAAiB,EAAE;YACpD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;YAC/B,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,aAAa,IAE9B,6DACE,YAAY,EAAE;gBACZ,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;aACzB,GACK,CACH,EACP;KACH;;;;;;;","names":[],"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 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, 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 * @cssprop --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@Component({\n tag: \"z-toolbar\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToolbar {\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"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-c8ceadeb.js';
|
|
2
|
-
import { P as PopoverPosition } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-c8ceadeb.js';
|
|
2
|
+
import { P as PopoverPosition } from './index-106473a8.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}";
|
|
5
5
|
const ZTooltipStyle0 = stylesCss;
|
|
@@ -7,6 +7,7 @@ const ZTooltipStyle0 = stylesCss;
|
|
|
7
7
|
const ZTooltip = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
|
+
this.openChange = createEvent(this, "openChange", 7);
|
|
10
11
|
this.position = PopoverPosition.AUTO;
|
|
11
12
|
this.dark = false;
|
|
12
13
|
this.open = false;
|
|
@@ -17,7 +18,7 @@ const ZTooltip = class {
|
|
|
17
18
|
this.open = this.popoverEl.open;
|
|
18
19
|
}
|
|
19
20
|
render() {
|
|
20
|
-
return (h("z-popover", { key: '
|
|
21
|
+
return (h("z-popover", { key: 'e8fdf1126d0759105386285c13cd4f8d8774567b', 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: '07042a5a804e77bdf4de0233fc7f1311079a5ad5' })));
|
|
21
22
|
}
|
|
22
23
|
};
|
|
23
24
|
ZTooltip.style = ZTooltipStyle0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-tooltip.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,wjBAAwjB,CAAC;AAC3kB,uBAAe,SAAS;;MCeX,QAAQ
|
|
1
|
+
{"file":"z-tooltip.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,wjBAAwjB,CAAC;AAC3kB,uBAAe,SAAS;;MCeX,QAAQ;;;;wBAGS,eAAe,CAAC,IAAI;oBAIzC,KAAK;oBAML,KAAK;;wBAcD,IAAI;;IAYf,mBAAmB;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KACjC;IAED,MAAM;QACJ,QACE,kEACE,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,QACN,SAAS,QACT,YAAY,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAE3D,8DAAa,CACH,EACZ;KACH;;;;;;","names":[],"sources":["src/components/z-tooltip/styles.css?tag=z-tooltip&encapsulation=shadow","src/components/z-tooltip/index.tsx"],"sourcesContent":[":host {\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, 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 * @cssprop --z-tooltip-theme--surface - background color of the popover.\n * @cssprop --z-tooltip-theme--text - foreground color of the popover.\n * @cssprop --z-tooltip-shadow-filter - drop-shadow filter of the popover.\n */\n@Component({\n tag: \"z-tooltip\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTooltip {\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"],"version":3}
|
package/dist/esm/z-tr.entry.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Z as z_tr } from './index-
|
|
1
|
+
export { Z as z_tr } from './index-d003e5d7.js';
|
|
2
2
|
import './index-c8ceadeb.js';
|
|
3
|
-
import './utils-
|
|
4
|
-
import './index-
|
|
3
|
+
import './utils-1b64bcd9.js';
|
|
4
|
+
import './index-106473a8.js';
|
|
5
5
|
import './breakpoints-d148bfde.js';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
6
|
+
import './index-4845b32f.js';
|
|
7
|
+
import './index-39a920c4.js';
|
|
8
8
|
|
|
9
9
|
//# sourceMappingURL=z-tr.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c8ceadeb.js';
|
|
2
|
-
import { g as KeyboardCode } from './index-
|
|
2
|
+
import { g as KeyboardCode } from './index-106473a8.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:\"\"}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:\"\";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}";
|
|
5
5
|
const ZTreeListStyle0 = stylesCss;
|
|
@@ -100,7 +100,7 @@ const ZTreeList = class {
|
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
102
|
const hasClickableItems = this.parsedItems.some((item) => !!item.url);
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: 'f6165d141d1ae1f40876c63f72ea0d196960f519', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '77ebd44ff71d71dc52b6a32fbc13232d0b6f93be', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
|
|
104
104
|
}
|
|
105
105
|
get host() { return getElement(this); }
|
|
106
106
|
static get watchers() { return {
|
|
@@ -8,7 +8,7 @@ const ZVisuallyHidden = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("slot", { key: '
|
|
11
|
+
return h("slot", { key: 'e165e47bd9a2da0bb438ea4dccfbb08e6f02cc4b' });
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ZVisuallyHidden.style = ZVisuallyHiddenStyle0;
|
|
@@ -423,3 +423,187 @@ export declare enum IconPosition {
|
|
|
423
423
|
LEFT = "left",
|
|
424
424
|
RIGHT = "right"
|
|
425
425
|
}
|
|
426
|
+
/** Map of color hex codes to their Italian and English names for the Color Picker Palette. */
|
|
427
|
+
export declare const ColorPickerPalette: {
|
|
428
|
+
readonly "#FFFFFF00": {
|
|
429
|
+
readonly it: "Trasparente";
|
|
430
|
+
readonly en: "Transparent";
|
|
431
|
+
};
|
|
432
|
+
readonly "#FFFFFF": {
|
|
433
|
+
readonly it: "Bianco";
|
|
434
|
+
readonly en: "White";
|
|
435
|
+
};
|
|
436
|
+
readonly "#CCCCCC": {
|
|
437
|
+
readonly it: "Grigio";
|
|
438
|
+
readonly en: "Gray";
|
|
439
|
+
};
|
|
440
|
+
readonly "#7E7E7E": {
|
|
441
|
+
readonly it: "Grigio scuro 1";
|
|
442
|
+
readonly en: "Dark gray 1";
|
|
443
|
+
};
|
|
444
|
+
readonly "#333333": {
|
|
445
|
+
readonly it: "Grigio scuro 2";
|
|
446
|
+
readonly en: "Dark gray 2";
|
|
447
|
+
};
|
|
448
|
+
readonly "#FFCCCC": {
|
|
449
|
+
readonly it: "Rosso chiaro 1";
|
|
450
|
+
readonly en: "Light red 1";
|
|
451
|
+
};
|
|
452
|
+
readonly "#FF9999": {
|
|
453
|
+
readonly it: "Rosso chiaro 2";
|
|
454
|
+
readonly en: "Light red 2";
|
|
455
|
+
};
|
|
456
|
+
readonly "#FF3333": {
|
|
457
|
+
readonly it: "Rosso";
|
|
458
|
+
readonly en: "Red";
|
|
459
|
+
};
|
|
460
|
+
readonly "#CC0000": {
|
|
461
|
+
readonly it: "Rosso scuro 1";
|
|
462
|
+
readonly en: "Dark red 1";
|
|
463
|
+
};
|
|
464
|
+
readonly "#660000": {
|
|
465
|
+
readonly it: "Rosso scuro 2";
|
|
466
|
+
readonly en: "Dark red 2";
|
|
467
|
+
};
|
|
468
|
+
readonly "#FFE1CC": {
|
|
469
|
+
readonly it: "Arancione chiaro 1";
|
|
470
|
+
readonly en: "Light orange 1";
|
|
471
|
+
};
|
|
472
|
+
readonly "#FFC399": {
|
|
473
|
+
readonly it: "Arancione chiaro 2";
|
|
474
|
+
readonly en: "Light orange 2";
|
|
475
|
+
};
|
|
476
|
+
readonly "#FF8933": {
|
|
477
|
+
readonly it: "Arancione";
|
|
478
|
+
readonly en: "Orange";
|
|
479
|
+
};
|
|
480
|
+
readonly "#CC5500": {
|
|
481
|
+
readonly it: "Arancione scuro 1";
|
|
482
|
+
readonly en: "Dark orange 1";
|
|
483
|
+
};
|
|
484
|
+
readonly "#662B00": {
|
|
485
|
+
readonly it: "Arancione scuro 2";
|
|
486
|
+
readonly en: "Dark orange 2";
|
|
487
|
+
};
|
|
488
|
+
readonly "#FFF7CC": {
|
|
489
|
+
readonly it: "Giallo chiaro 1";
|
|
490
|
+
readonly en: "Light yellow 1";
|
|
491
|
+
};
|
|
492
|
+
readonly "#FFEE99": {
|
|
493
|
+
readonly it: "Giallo chiaro 2";
|
|
494
|
+
readonly en: "Light yellow 2";
|
|
495
|
+
};
|
|
496
|
+
readonly "#FFDD33": {
|
|
497
|
+
readonly it: "Giallo";
|
|
498
|
+
readonly en: "Yellow";
|
|
499
|
+
};
|
|
500
|
+
readonly "#CCAA00": {
|
|
501
|
+
readonly it: "Giallo scuro 1";
|
|
502
|
+
readonly en: "Dark yellow 1";
|
|
503
|
+
};
|
|
504
|
+
readonly "#665600": {
|
|
505
|
+
readonly it: "Giallo scuro 2";
|
|
506
|
+
readonly en: "Dark yellow 2";
|
|
507
|
+
};
|
|
508
|
+
readonly "#DDFFCC": {
|
|
509
|
+
readonly it: "Verde chiaro 1";
|
|
510
|
+
readonly en: "Light green 1";
|
|
511
|
+
};
|
|
512
|
+
readonly "#BBFF99": {
|
|
513
|
+
readonly it: "Verde chiaro 2";
|
|
514
|
+
readonly en: "Light green 2";
|
|
515
|
+
};
|
|
516
|
+
readonly "#77FF33": {
|
|
517
|
+
readonly it: "Verde";
|
|
518
|
+
readonly en: "Green";
|
|
519
|
+
};
|
|
520
|
+
readonly "#44CC00": {
|
|
521
|
+
readonly it: "Verde scuro 1";
|
|
522
|
+
readonly en: "Dark green 1";
|
|
523
|
+
};
|
|
524
|
+
readonly "#226600": {
|
|
525
|
+
readonly it: "Verde scuro 2";
|
|
526
|
+
readonly en: "Dark green 2";
|
|
527
|
+
};
|
|
528
|
+
readonly "#CCFFE5": {
|
|
529
|
+
readonly it: "Verde acqua chiaro 1";
|
|
530
|
+
readonly en: "Light aquamarine 1";
|
|
531
|
+
};
|
|
532
|
+
readonly "#99FFCC": {
|
|
533
|
+
readonly it: "Verde acqua chiaro 2";
|
|
534
|
+
readonly en: "Light aquamarine 2";
|
|
535
|
+
};
|
|
536
|
+
readonly "#33FF99": {
|
|
537
|
+
readonly it: "Verde acqua";
|
|
538
|
+
readonly en: "Aquamarine";
|
|
539
|
+
};
|
|
540
|
+
readonly "#00CC66": {
|
|
541
|
+
readonly it: "Verde acqua scuro 1";
|
|
542
|
+
readonly en: "Dark aquamarine 1";
|
|
543
|
+
};
|
|
544
|
+
readonly "#006633": {
|
|
545
|
+
readonly it: "Verde acqua scuro 2";
|
|
546
|
+
readonly en: "Dark aquamarine 2";
|
|
547
|
+
};
|
|
548
|
+
readonly "#CCEEFF": {
|
|
549
|
+
readonly it: "Azzurro chiaro 1";
|
|
550
|
+
readonly en: "Light blue 1";
|
|
551
|
+
};
|
|
552
|
+
readonly "#99DDFF": {
|
|
553
|
+
readonly it: "Azzurro chiaro 2";
|
|
554
|
+
readonly en: "Light blue 2";
|
|
555
|
+
};
|
|
556
|
+
readonly "#33BBFF": {
|
|
557
|
+
readonly it: "Azzurro";
|
|
558
|
+
readonly en: "Blue";
|
|
559
|
+
};
|
|
560
|
+
readonly "#0088CC": {
|
|
561
|
+
readonly it: "Azzurro scuro 1";
|
|
562
|
+
readonly en: "Dark blue 1";
|
|
563
|
+
};
|
|
564
|
+
readonly "#004466": {
|
|
565
|
+
readonly it: "Azzurro scuro 2";
|
|
566
|
+
readonly en: "Dark blue 2";
|
|
567
|
+
};
|
|
568
|
+
readonly "#D4CCFF": {
|
|
569
|
+
readonly it: "Viola chiaro 1";
|
|
570
|
+
readonly en: "Light purple 1";
|
|
571
|
+
};
|
|
572
|
+
readonly "#AA99FF": {
|
|
573
|
+
readonly it: "Viola chiaro 2";
|
|
574
|
+
readonly en: "Light purple 2";
|
|
575
|
+
};
|
|
576
|
+
readonly "#5533FF": {
|
|
577
|
+
readonly it: "Viola";
|
|
578
|
+
readonly en: "Purple";
|
|
579
|
+
};
|
|
580
|
+
readonly "#2200CC": {
|
|
581
|
+
readonly it: "Viola scuro 1";
|
|
582
|
+
readonly en: "Dark purple 1";
|
|
583
|
+
};
|
|
584
|
+
readonly "#110066": {
|
|
585
|
+
readonly it: "Viola scuro 2";
|
|
586
|
+
readonly en: "Dark purple 2";
|
|
587
|
+
};
|
|
588
|
+
readonly "#FFCCFF": {
|
|
589
|
+
readonly it: "Rosa chiaro 1";
|
|
590
|
+
readonly en: "Light pink 1";
|
|
591
|
+
};
|
|
592
|
+
readonly "#FF99FF": {
|
|
593
|
+
readonly it: "Rosa chiaro 2";
|
|
594
|
+
readonly en: "Light pink 2";
|
|
595
|
+
};
|
|
596
|
+
readonly "#FF33FF": {
|
|
597
|
+
readonly it: "Rosa";
|
|
598
|
+
readonly en: "Pink";
|
|
599
|
+
};
|
|
600
|
+
readonly "#CC00CC": {
|
|
601
|
+
readonly it: "Rosa scuro 1";
|
|
602
|
+
readonly en: "Dark pink 1";
|
|
603
|
+
};
|
|
604
|
+
readonly "#660066": {
|
|
605
|
+
readonly it: "Rosa scuro 2";
|
|
606
|
+
readonly en: "Dark pink 2";
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
export type ColorPickerPalette = keyof typeof ColorPickerPalette;
|
|
@@ -49,6 +49,14 @@ export declare const TopTitle: {
|
|
|
49
49
|
};
|
|
50
50
|
render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
|
|
51
51
|
};
|
|
52
|
+
export declare const TopTitleWithProductLogo: {
|
|
53
|
+
parameters: {
|
|
54
|
+
controls: {
|
|
55
|
+
exclude: string[];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
|
|
59
|
+
};
|
|
52
60
|
export declare const CustomMenuButton: {
|
|
53
61
|
parameters: {
|
|
54
62
|
controls: {
|
|
@@ -65,6 +73,14 @@ export declare const MenuWithTopTitle: {
|
|
|
65
73
|
};
|
|
66
74
|
render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
|
|
67
75
|
};
|
|
76
|
+
export declare const MenuWithTopTitleAndProductLogo: {
|
|
77
|
+
parameters: {
|
|
78
|
+
controls: {
|
|
79
|
+
exclude: string[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
|
|
83
|
+
};
|
|
68
84
|
export declare const LongTitle: {
|
|
69
85
|
parameters: {
|
|
70
86
|
controls: {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { ColorPickerPalette } from "../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* Color picker component.
|
|
5
|
+
* This component allows the user to pick a color from a predefined set.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ZColorPicker {
|
|
8
|
+
host: HTMLZColorPickerElement;
|
|
9
|
+
/**
|
|
10
|
+
* The selected color to highlight.
|
|
11
|
+
*/
|
|
12
|
+
selectedColor: ColorPickerPalette;
|
|
13
|
+
/**
|
|
14
|
+
* The language for the aria labels inside the color picker.
|
|
15
|
+
*/
|
|
16
|
+
lng: "it" | "en";
|
|
17
|
+
/**
|
|
18
|
+
* The aria-label for the color picker, e.g. "Select a background color for the label".
|
|
19
|
+
*/
|
|
20
|
+
htmlAriaLabel: string;
|
|
21
|
+
/**
|
|
22
|
+
* Disables the transparent color option.
|
|
23
|
+
* Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` ("dark gray 2").
|
|
24
|
+
*/
|
|
25
|
+
disableTransparent: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Event emitted when a color is selected.
|
|
28
|
+
*/
|
|
29
|
+
colorSelected: EventEmitter<ColorPickerPalette>;
|
|
30
|
+
/**
|
|
31
|
+
* The color keys arranged in row-major order for rendering and navigation.
|
|
32
|
+
*/
|
|
33
|
+
private colorKeysByRow;
|
|
34
|
+
private _colorButtons;
|
|
35
|
+
private get colorButtons();
|
|
36
|
+
/**
|
|
37
|
+
* Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).
|
|
38
|
+
* This ensures button indices in the DOM match their visual position in the grid.
|
|
39
|
+
*/
|
|
40
|
+
private sortColorKeysByRow;
|
|
41
|
+
/** Move focus to the specified color button by index. */
|
|
42
|
+
private moveFocusTo;
|
|
43
|
+
validateTransparentSelection(): void;
|
|
44
|
+
emitColorSelected(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Focuses the selected or first enabled color button and makes the container non-tabbable.
|
|
47
|
+
*/
|
|
48
|
+
setFocus(): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Compute next index in row-major grid according to keyboard direction.
|
|
51
|
+
*/
|
|
52
|
+
private getNextIndexByKey;
|
|
53
|
+
/**
|
|
54
|
+
* Handle keyboard navigation within the color picker.
|
|
55
|
+
* Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.
|
|
56
|
+
*/
|
|
57
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
58
|
+
/**
|
|
59
|
+
* When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.
|
|
60
|
+
*/
|
|
61
|
+
handleBlur(event: FocusEvent): void;
|
|
62
|
+
componentWillLoad(): void;
|
|
63
|
+
render(): HTMLZColorPickerElement;
|
|
64
|
+
}
|