@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-color-picker.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,ozCAAozC,CAAC;AACv0C,2BAAe,SAAS;;ACGxB,MAAM,OAAO,GAAG;IACd,EAAE,EAAE;QACF,gBAAgB,EAAE,qBAAqB;QACvC,cAAc,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,gBAAgB;QAClC,cAAc,EAAE,cAAc;KAC/B;CACO,CAAC;AAEX;AACA,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B;AACA,MAAM,YAAY,GAAG,CAAC,CAAC;MAWVA,cAAY;;;;;;;;;QAqCf,mBAAc,GAAyB,EAAE,CAAC;QAE1C,kBAAa,GAAwB,EAAE,CAAC;;mBA1B7B,IAAI;;kCAaF,KAAK;;IAe1B,IAAY,YAAY;QACtB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE;YAC9B,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAwB,CAAC;SACzG;QAED,OAAO,IAAI,CAAC,aAAa,CAAC;KAC3B;;;;;IAMO,kBAAkB;QACxB,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAyB,CAAC;QACxE,MAAM,OAAO,GAAyB,EAAE,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qDACH,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,gBAAgB,CAAC,EACrE,QAAQ,EAAE,CAAC,IAEV,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,QAA4B;;YAAK,QACzD,cACE,KAAK,EAAC,cAAc,gBACR,QAAQ,EACpB,IAAI,EAAC,QAAQ,mBACE,CAAA,MAAA,IAAI,CAAC,aAAa,0CAAE,WAAW,EAAE,MAAK,QAAQ,CAAC,WAAW,EAAE,GAAG,MAAM,GAAG,OAAO,EAC9F,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,EAC9C,QAAQ,EAAE,IAAI,CAAC,kBAAkB,IAAI,QAAQ,KAAK,WAAW,IAE7D,WACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,KAAK,0BACY,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,gBAC3C,kBAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAClD,KAAK,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7C,KAAK,EAAE,EAAC,eAAe,EAAE,QAAQ,EAAC,GAC7B,CACA,EACV;SAAA,CAAC,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZColorPicker"],"sources":["src/components/z-color-picker/styles.css?tag=z-color-picker&encapsulation=shadow","src/components/z-color-picker/index.tsx"],"sourcesContent":[":host {\n display: grid;\n width: fit-content;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n gap: var(--space-unit);\n grid-template-columns: repeat(9, calc(var(--space-unit) * 3));\n grid-template-rows: repeat(5, calc(var(--space-unit) * 3));\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\nbutton {\n --border-color: var(--color-surface05);\n\n padding: 0;\n border: none;\n appearance: none;\n background: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\nbutton[data-color=\"#FFFFFF00\"] {\n position: relative;\n}\n\n/* draw a diagonal line from top right corner */\nbutton[data-color=\"#FFFFFF00\"]::after {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );\n border-radius: var(--border-radius);\n content: \"\";\n}\n\nbutton[aria-selected=\"true\"] {\n box-shadow:\n 0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary);\n}\n\nbutton:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton .color-swatch {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--border-color);\n border-radius: var(--border-radius);\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled {\n --border-color: var(--color-disabled01-icon);\n\n cursor: not-allowed;\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled .color-swatch {\n background-color: var(--color-disabled02);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst LOCALES = {\n it: {\n \"Select a color\": \"Seleziona un colore\",\n \"Color swatch\": \"Campione di colore\",\n },\n en: {\n \"Select a color\": \"Select a color\",\n \"Color swatch\": \"Color swatch\",\n },\n} as const;\n\n/** Number of colors in each group (column) of the grid. */\nconst COLOR_GROUP_SIZE = 5;\n\n/** Number of color groups (columns) in the grid. */\nconst COLOR_GROUPS = 9;\n\n/**\n * Color picker component.\n * This component allows the user to pick a color from a predefined set.\n */\n@Component({\n tag: \"z-color-picker\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZColorPicker {\n @Element() host: HTMLZColorPickerElement;\n\n /**\n * The selected color to highlight.\n */\n @Prop({mutable: true})\n selectedColor: ColorPickerPalette;\n\n /**\n * The language for the aria labels inside the color picker.\n */\n @Prop()\n lng: \"it\" | \"en\" = \"it\";\n\n /**\n * The aria-label for the color picker, e.g. \"Select a background color for the label\".\n */\n @Prop()\n htmlAriaLabel: string;\n\n /**\n * Disables the transparent color option.\n * Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` (\"dark gray 2\").\n */\n @Prop()\n disableTransparent = false;\n\n /**\n * Event emitted when a color is selected.\n */\n @Event()\n colorSelected: EventEmitter<ColorPickerPalette>;\n\n /**\n * The color keys arranged in row-major order for rendering and navigation.\n */\n private colorKeysByRow: ColorPickerPalette[] = [];\n\n private _colorButtons: HTMLButtonElement[] = [];\n\n private get colorButtons(): HTMLButtonElement[] {\n if (!this._colorButtons.length) {\n this._colorButtons = Array.from(this.host.shadowRoot.querySelectorAll(\"button\")) as HTMLButtonElement[];\n }\n\n return this._colorButtons;\n }\n\n /**\n * Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).\n * This ensures button indices in the DOM match their visual position in the grid.\n */\n private sortColorKeysByRow(): ColorPickerPalette[] {\n const allKeys = Object.keys(ColorPickerPalette) as ColorPickerPalette[];\n const ordered: ColorPickerPalette[] = [];\n\n // Iterate through visual positions (row by row, left to right)\n for (let row = 0; row < COLOR_GROUP_SIZE; row++) {\n for (let col = 0; col < COLOR_GROUPS; col++) {\n const columnMajorIndex = col * COLOR_GROUP_SIZE + row;\n if (columnMajorIndex < allKeys.length) {\n ordered.push(allKeys[columnMajorIndex]);\n }\n }\n }\n\n return ordered;\n }\n\n /** Move focus to the specified color button by index. */\n private moveFocusTo(index: number): void {\n // Reset tabindex of other buttons and set tabindex to 0 on selected button\n this.colorButtons.forEach((btn, i) => (btn.tabIndex = i === index ? 0 : -1));\n this.colorButtons[index].focus();\n }\n\n @Watch(\"disableTransparent\")\n @Watch(\"selectedColor\")\n validateTransparentSelection(): void {\n if (this.disableTransparent && this.selectedColor === \"#FFFFFF00\") {\n this.selectedColor = \"#333333\"; // Default to dark gray 2 if transparent is disabled and currently selected\n }\n }\n\n @Watch(\"selectedColor\")\n emitColorSelected(): void {\n this.colorSelected.emit(this.selectedColor);\n }\n\n /**\n * Focuses the selected or first enabled color button and makes the container non-tabbable.\n */\n @Listen(\"focus\")\n @Method()\n async setFocus(): Promise<void> {\n // Reset tabindex of all buttons\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n const firstSelectedOrEnabled =\n this.colorButtons.find((btn) => btn.ariaSelected === \"true\") || this.colorButtons.find((btn) => !btn.disabled);\n if (!firstSelectedOrEnabled) {\n return;\n }\n\n firstSelectedOrEnabled.tabIndex = 0;\n setTimeout(() => {\n firstSelectedOrEnabled.focus();\n }, 50);\n // Set container as non-tabbable\n this.host.tabIndex = -1;\n }\n\n /**\n * Compute next index in row-major grid according to keyboard direction.\n */\n private getNextIndexByKey(currentIndex: number, key: string, totalColors: number): number {\n const row = Math.floor(currentIndex / COLOR_GROUPS);\n const col = currentIndex % COLOR_GROUPS;\n let newIndex = currentIndex;\n\n switch (key) {\n case \"ArrowRight\": {\n const newCol = col + 1;\n const newRow = newCol >= COLOR_GROUPS ? (row + 1) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + (newCol % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowLeft\": {\n const newCol = col - 1;\n const newRow = newCol < 0 ? (row - 1 + COLOR_GROUP_SIZE) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + ((newCol + COLOR_GROUPS) % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n case \"ArrowDown\": {\n let newRow = row + 1;\n let newCol = col;\n if (newRow >= COLOR_GROUP_SIZE) {\n // Wrap to first item of next column\n newRow = 0;\n newCol = (col + 1) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowUp\": {\n let newRow = row - 1;\n let newCol = col;\n if (newRow < 0) {\n // Wrap to last item of previous column\n newRow = COLOR_GROUP_SIZE - 1;\n newCol = (col - 1 + COLOR_GROUPS) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n }\n\n return newIndex;\n }\n\n /**\n * Handle keyboard navigation within the color picker.\n * Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!target.dataset.color) {\n return;\n }\n\n const currentIndex = this.colorButtons.indexOf(target as HTMLButtonElement);\n const totalColors = this.colorButtons.length;\n if (currentIndex < 0 || ![\"ArrowRight\", \"ArrowLeft\", \"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n return;\n }\n\n let newIndex = currentIndex;\n let attempts = 0;\n\n do {\n newIndex = this.getNextIndexByKey(newIndex, event.key, totalColors);\n attempts++;\n } while (attempts < totalColors && this.colorButtons[newIndex]?.disabled);\n\n if (\n newIndex !== currentIndex &&\n newIndex >= 0 &&\n newIndex < totalColors &&\n !this.colorButtons[newIndex]?.disabled\n ) {\n this.moveFocusTo(newIndex);\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /**\n * When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.\n */\n @Listen(\"blur\")\n handleBlur(event: FocusEvent): void {\n const relatedTarget = event.relatedTarget as HTMLElement;\n if (!containsElement(this.host, relatedTarget)) {\n this.host.tabIndex = 0;\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n }\n }\n\n componentWillLoad(): void {\n this.colorKeysByRow = this.sortColorKeysByRow();\n }\n\n render(): HTMLZColorPickerElement {\n return (\n <Host\n role=\"listbox\"\n aria-label={this.htmlAriaLabel || LOCALES[this.lng][\"Select a color\"]}\n tabIndex={0}\n >\n {this.colorKeysByRow.map((colorKey: ColorPickerPalette) => (\n <button\n class=\"color-swatch\"\n data-color={colorKey}\n role=\"option\"\n aria-selected={this.selectedColor?.toUpperCase() === colorKey.toUpperCase() ? \"true\" : \"false\"}\n tabIndex={-1}\n onClick={() => (this.selectedColor = colorKey)}\n disabled={this.disableTransparent && colorKey === \"#FFFFFF00\"}\n >\n <div\n class=\"color-swatch\"\n role=\"img\"\n aria-roledescription={LOCALES[this.lng][\"Color swatch\"]}\n aria-label={ColorPickerPalette[colorKey][this.lng]}\n title={ColorPickerPalette[colorKey][this.lng]}\n style={{backgroundColor: colorKey}}\n ></div>\n </button>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -276,7 +276,7 @@ const ZCombobox$1 = /*@__PURE__*/ proxyCustomElement(class ZCombobox extends HTM
|
|
|
276
276
|
return (h("div", { class: "check-all-wrapper", id: "option-check-all", role: "option" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: checkAllId, class: this.getCheckboxClass(), label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length, size: this.size === ControlSize.X_SMALL ? ControlSize.SMALL : this.size, onKeyDown: (e) => this.handleSelectArrowsNavigation(e, checkAllId), onInputCheck: (e) => this.checkAll(e.detail.checked), onInputFocus: (e) => this.handleCheckboxFocus(e.detail.id) })));
|
|
277
277
|
}
|
|
278
278
|
render() {
|
|
279
|
-
return (h("div", { key: '
|
|
279
|
+
return (h("div", { key: '9a0d431f62c66d50dfbafedef62515f282909bf5', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
280
280
|
}
|
|
281
281
|
get element() { return this; }
|
|
282
282
|
static get watchers() { return {
|
|
@@ -31,9 +31,9 @@ const ZCoverHero$1 = /*@__PURE__*/ proxyCustomElement(class ZCoverHero extends H
|
|
|
31
31
|
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'b10d16e5490c00d087ec8677e5453a989aca05cd' }, this.variant === CoverHeroVariant.STACKED &&
|
|
35
35
|
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
36
|
-
this.renderContent(), h("div", { key: '
|
|
36
|
+
this.renderContent(), h("div", { key: 'c920eda8a79cd4b7f70f3cdc7e3690b57a117bd9', class: "main-container" }, h("div", { key: '4b74fde8b3d196a772489f381e46ef5690f1d9cf', class: "cover-container" }, h("slot", { key: '4a67176c23dd62d34bc69a0c236bf9adc3b5088c', name: "cover" })), h("slot", { key: 'e71151ae06cc7c30436af153d6192fc2faf4f6ba', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
37
37
|
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
38
38
|
this.renderContent()));
|
|
39
39
|
}
|
|
@@ -468,7 +468,7 @@ const ZDatePicker$1 = /*@__PURE__*/ proxyCustomElement(class ZDatePicker extends
|
|
|
468
468
|
} })));
|
|
469
469
|
}
|
|
470
470
|
render() {
|
|
471
|
-
return (h("div", { key: '
|
|
471
|
+
return (h("div", { key: '7af62de77a975adae6ec80c7ca307418fd9b0b9d', class: {
|
|
472
472
|
"flatpickr-toggle-container": true,
|
|
473
473
|
[this.flatpickrPosition]: true,
|
|
474
474
|
[this.mode]: true,
|
|
@@ -42,7 +42,7 @@ const ZFile$1 = /*@__PURE__*/ proxyCustomElement(class ZFile extends HTMLElement
|
|
|
42
42
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '4fd330617a5330591a1e9125bd162ae74456c863' }, this.allowPopover && (h("z-popover", { key: '7c37b77761185ac637c454b33345ec4d630b50b5', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'b802f0baae111a01c5e48c5bf2988ed715229e0b', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: '9ddf7af0eaa5ec260b1d3874e0950132e4529a4e', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: 'a99c6c085e214bad666cc949b358d8dbeebd0ecf', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
46
46
|
}
|
|
47
47
|
get el() { return this; }
|
|
48
48
|
static get style() { return ZFileStyle0; }
|
|
@@ -17,7 +17,7 @@ const ZInfoBox$1 = /*@__PURE__*/ proxyCustomElement(class ZInfoBox extends HTMLE
|
|
|
17
17
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '770d8904081080758219f87d24f5a56846f1fad1', id: this.boxid }, h("slot", { key: 'a6fa079647709fc3c8326c2d73cdd1da884c4b58', name: "content" }), this.isclosable && (h("z-icon", { key: '63de143e010971175608c651d2d2f0c87ee98797', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
21
21
|
}
|
|
22
22
|
static get style() { return ZInfoBoxStyle0; }
|
|
23
23
|
}, [1, "z-info-box", {
|
|
@@ -23,7 +23,7 @@ const ZLogo$1 = /*@__PURE__*/ proxyCustomElement(class ZLogo extends HTMLElement
|
|
|
23
23
|
if (this.height) {
|
|
24
24
|
style["height"] = style["max-height"] = `${this.height}px`;
|
|
25
25
|
}
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '7e752127614823afe2441a9d3d316d9974f593d1', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
|
|
27
27
|
}
|
|
28
28
|
static get style() { return ZLogoStyle0; }
|
|
29
29
|
}, [1, "z-logo", {
|
|
@@ -100,7 +100,7 @@ const ZMenuDeprecated$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuDeprecated
|
|
|
100
100
|
return (h("div", { class: "menu-label" }, h("div", { class: "menu-label-content" }, h("slot", { onSlotchange: this.onLabelSlotChange }))));
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '2e51f6e5df94d3903783dcb20fe66abdf59a1549' }, this.renderMenuLabel(), this.hasContent && (h("div", { key: 'b9c3ba5e930a06834d4de361b6dc30a1db9c6ae6', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (h("header", { key: 'eaa017e5442ed56ebb70453e9717e737d3da1e1b', class: "header" }, h("slot", { key: 'bd28e8f9b2922f2839a6bdaa4794ca26c7b2b030', name: "header", onSlotchange: this.checkContent }))), h("div", { key: 'b948fbb21e94debc85b07a4d03c85628d4b23268', class: "items", role: "menu" }, h("slot", { key: '5299535cab84e8b4812401eff27951386ed16573', name: "item", onSlotchange: this.onItemsChange }))))));
|
|
104
104
|
}
|
|
105
105
|
get hostElement() { return this; }
|
|
106
106
|
static get watchers() { return {
|
|
@@ -48,7 +48,7 @@ const ZMenuSectionDeprecated$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuSec
|
|
|
48
48
|
this.checkContent();
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'a692eb50b30a7cc66e08acf8259a9a7617c053c5', role: "menu", open: this.open }, h("button", { key: '7223a1fe109ea3a9c475ed673e9d3c05aa1dade8', class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, h("slot", { key: '4415e7a61bde97fa0e89552fd464d4e9c6a6c77a', onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && h("z-icon", { key: 'b9af6fa6ab900869a4f2681e05042ab9a6860c35', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (h("div", { key: '791812e95224a678f5481eb21af8b86e5aa46157', class: "items" }, h("slot", { key: '9ba3cbdfa55a6d8cd0ffc11c3520eb7b2cb8feb5', name: "item", onSlotchange: this.checkContent.bind(this) })))));
|
|
52
52
|
}
|
|
53
53
|
get hostElement() { return this; }
|
|
54
54
|
static get style() { return ZMenuSectionDeprecatedStyle0; }
|
|
@@ -179,7 +179,7 @@ const ZMenuSection$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuSection exten
|
|
|
179
179
|
this.onItemsChange();
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'a859947e3015a104f32db157c715982a1ed29cf5', open: this.open }, h("button", { key: '5c130955c62fcce5d88b92312076da69f307eaee', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '28557c741c733149ea51ca68f499374dcf2eb134', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: 'bfa97fe61fde93902531e09dcdeb729066d2e66f', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: 'd9a7df39c426fecbc3beeefc2f5a08aed3f2ccbf', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'e2f14a7cf055715bbbb8b712a3d112af3b712031', name: "section", onSlotchange: this.onItemsChange }))));
|
|
183
183
|
}
|
|
184
184
|
get host() { return this; }
|
|
185
185
|
static get watchers() { return {
|
|
@@ -317,7 +317,7 @@ const ZMenu$1 = /*@__PURE__*/ proxyCustomElement(class ZMenu extends HTMLElement
|
|
|
317
317
|
"floating": [516],
|
|
318
318
|
"open": [1540],
|
|
319
319
|
"verticalContext": [516, "vertical-context"],
|
|
320
|
-
"htmlTabindex": [
|
|
320
|
+
"htmlTabindex": [1026, "html-tabindex"],
|
|
321
321
|
"hasHeader": [32],
|
|
322
322
|
"hasContent": [32],
|
|
323
323
|
"setFocus": [64],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-menu.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,kwHAAkwH,CAAC;AACrxH,oBAAe,SAAS;;ACGxB,MAAM,cAAc,GAAG,CAAC,EAAyC,KAC/D,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,MAAK,gBAAgB,CAAC;MAatBA,OAAK;IAwDhB,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,KAAK,CAAC,GAAG,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC;KAC1G;IAEO,MAAM;QACZ,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;KACxB;;;;;IAMO,iBAAiB,CAAC,EAAS;QACjC,MAAM,YAAY,GAAI,EAAE,CAAC,MAA0B,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAgB,CAAC;QACzF,YAAY,CAAC,OAAO,CAAC,IAAI,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,WAAW,CAAC;QACtD,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;;;;;IAMO,MAAM,CAAC,IAAI,GAAG,KAAK;QACzB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,OAAO;SACR;QA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,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEX,YACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZMenu"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop()\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"z-menu.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,kwHAAkwH,CAAC;AACrxH,oBAAe,SAAS;;ACGxB,MAAM,cAAc,GAAG,CAAC,EAAyC,KAC/D,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,MAAK,gBAAgB,CAAC;MAatBA,OAAK;IAwDhB,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,KAAK,CAAC,GAAG,IAAI,CAAC,QAAQ,KAAK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,aAAa,GAAG,WAAW,EACnD,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,YAAY,EAC1B,SAAS,EAAE,IAAI,CAAC,cAAc,IAE9B,YAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAC9C,cAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACpD,EAET,WACE,KAAK,EAAC,SAAS,EACf,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAE/B,IAAI,CAAC,SAAS,KACb,cAAQ,KAAK,EAAC,QAAQ,IACpB,YACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE,IAAI,CAAC,YAAY,GAC/B,CACK,CACV,EAED,WACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEX,YACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZMenu"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop({mutable: true})\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -56,7 +56,7 @@ const ZMyzCardAlert$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardAlert ext
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'de35ab9329973e2abf430b613474a58611dc9020', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: 'bd5258ea5f38e20d6efcce6a64976a6bea1dae46', type: this.getAlertType() }, h("div", { key: 'f97cbf6a6c9b0d27922142c4e163993de25ed713', class: "relative-container" }, h("z-icon", { key: 'e14067bce09f626b3cc0cfa85640d6c51b6207ba', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'cc33afd45ffc783b86d869d9da9ad9137c8133d1', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'c6799d07af9bdfc1e203644a16dabda65e809dba', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
|
|
60
60
|
this.handleActionButtonClick(e);
|
|
61
61
|
}, onKeyPress: (e) => {
|
|
62
62
|
this.handleSpaceKeyPress(e);
|
|
@@ -31,7 +31,7 @@ const ZMyzCardDictionary$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardDict
|
|
|
31
31
|
this.cardFlipped.emit(showBack);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '2fdbc0c37b80268d3af1d4c8b170d9218319a1d9' }, h("z-myz-card", { key: 'd1a8d5391792b9624475480854603e4c3f54e270' }, h("z-myz-card-header", { key: '3797b4f4c34948fe0469b3c0ae669bcbda596045', titolo: this.name }), h("div", { key: '8f4ebd1eb315669987aff0bb45af98e42508fb82', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'c21e290ecfba6f8621574972ab3fae2a4172ce71', class: "front" }, h("z-myz-card-body", { key: '0949f522ac5046bb8e9aa6839ccd7e304d1155ee' }, h("z-myz-card-cover", { key: '3cbcd5015a7b9bc32caabb489425d85d683004c3', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: 'f5f133d27ab294c9e2a931420d82ae3b8b3e791f', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '4a390b5c597f9b7379f1a5a2760bbdaff11d1997', class: "back" }, h("slot", { key: '3d9f5a5ff414a81d8fbe4747770da70e404107d8', name: "info" }))), h("slot", { key: '847e96d805ade00dc8d5e96e2593f65e99edc198' }))));
|
|
35
35
|
}
|
|
36
36
|
static get style() { return ZMyzCardDictionaryStyle0; }
|
|
37
37
|
}, [1, "z-myz-card-dictionary", {
|
|
@@ -10,7 +10,7 @@ const ZMyzCardFooterSections$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCard
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: 'ecab1780cee45e44e63448b463b6a7c4ba23e5ae' }, h("footer", { key: '2d99b9654fc18a3ca45ea9b016c29b5f8c1ed997' }, h("div", { key: '908d31fc4595aa9b4ca69dad77e38dbdac7f5756', class: "top" }, h("slot", { key: 'c14af373c3ac35b26b2afd803bad3273d65e195d', name: "top" })), h("div", { key: '2eba1ad852360d325ea70d98bc31505c4728eb9b', class: "bottom" }, h("slot", { key: '23cdc79b4f721ee266f317973a9e7e0ef79e6fd6', name: "bottom" })))));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return ZMyzCardFooterSectionsStyle0; }
|
|
16
16
|
}, [1, "z-myz-card-footer-sections"]);
|
|
@@ -62,7 +62,7 @@ const ZMyzCardFooter$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardFooter e
|
|
|
62
62
|
return this.host.querySelector("[slot=list] > li a");
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: '35da87d8b6c298e1d275dfd560e188392f6b4240', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '19cb5c6be1332e1368a95e9f1c9fd75eab180537', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: '6c60c797a38297dae9bd0d20de05d1b1fc56eabe', class: "toggle" }, h("slot", { key: 'b8f05dfa48ac55abe1973edc1362c058cd6229ae', name: "toggle" })), this.titolo && h("p", { key: '2351683832e396830b209cd79f4e1dfda4ea0a06', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'a9c3fa81d7782a6435a25ff11cc441387dd5d2f5', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: 'db438000b8945a0e475f4d87210d434a9ed89291' }, h("p", { key: 'fcded55527c89607c612f3bf5df8930d8f5f4f03', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '293942b64d7bd650a9da699d1af2352ce655b3a6', title: this.getTitleAuthors() }, h("span", { key: '8a160dd2f564a8b13aaf1851e0f816ddd6f76900', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'f229c0892190257e3b3c524d18287025b00d9935', class: "year-isbn" }, h("span", { key: '696be9c4b7d1241631984dcd03843ead0797bb49', class: "isbn" }, h("span", { key: '61b3408ac1241e71fead90968d4fca0ee431a524' }, h("span", { key: 'b849e83f4a918865903eb11fe2a5419ab23f6d2a', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '855603b8a51aeee7d473dc3db00e26a298be7220', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: '020d4cd75c9f90ec3f61f287dd92e8d36f1bf4a2', name: "list" })))), this.customContent && h("slot", { key: '0777c84a347b457b6f92c19100ac12d452356bb6', name: "content" })));
|
|
66
66
|
}
|
|
67
67
|
get host() { return this; }
|
|
68
68
|
static get style() { return ZMyzCardFooterStyle0; }
|
|
@@ -14,7 +14,7 @@ const ZMyzCardIcon$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardIcon exten
|
|
|
14
14
|
this.ariaLabel = "";
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("button", { key: '
|
|
17
|
+
return (h("button", { key: '8cf0706cb512e898631d0be8c684f71fdabae5ad', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: '60d66f1cd2ce59f2fda0b2c0c3be76464aafee42' }, h("z-icon", { key: '32fdcb582bb5be5e2fe65218c878b598a562aa90', name: this.icon, width: 16, height: 16 }))));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return ZMyzCardIconStyle0; }
|
|
20
20
|
}, [1, "z-myz-card-icon", {
|
|
@@ -121,7 +121,7 @@ const ZMyzCardInfo$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardInfo exten
|
|
|
121
121
|
return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", h("b", null, this.cardData.offlineLicense.expiration), h("br", null), "Installazioni disponibili: ", h("b", null, this.cardData.offlineLicense.installations)));
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '33d2316b245cb7639f3ffaddd9e3af836a893b43' }, this.renderCloseIcon(), h("div", { key: 'b9b5af413eabc3c3cfbc2c301764e17211d3be64', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '7e0bc24301074fdc5541421fcb9ba0a58f65b306', class: "cta-wrapper" }, h("slot", { key: '4e573ed4019c8f24f92ca27d54b67ca4a80d766b' }))));
|
|
125
125
|
}
|
|
126
126
|
static get style() { return ZMyzCardInfoStyle0; }
|
|
127
127
|
}, [1, "z-myz-card-info", {
|
|
@@ -30,7 +30,7 @@ const ZMyzCardList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardList exten
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return h("ul", { key: '
|
|
33
|
+
return h("ul", { key: 'cce7f1087e4ae9ebc4cc4f9fd3750a82762348ae' }, this.renderList(JSON.parse(this.listdata)));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return ZMyzCardListStyle0; }
|
|
36
36
|
}, [1, "z-myz-card-list", {
|
|
@@ -26,7 +26,7 @@ const ZMyzList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzList extends HTMLE
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
29
|
-
return (h("ul", { key: '
|
|
29
|
+
return (h("ul", { key: '0d63299c1c3d2dfca39396e75703a1b2ed979d3f' }, this.list &&
|
|
30
30
|
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
31
31
|
}
|
|
32
32
|
static get watchers() { return {
|
|
@@ -222,10 +222,10 @@ const ZNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class ZNavigationTabs
|
|
|
222
222
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
223
223
|
}
|
|
224
224
|
render() {
|
|
225
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: 'c676fe99b0eb18fceb58ffa7412e4e1659acc89e', class: {
|
|
226
226
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
227
227
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
228
|
-
}, scrollable: this.canNavigate }, h("button", { key: '
|
|
228
|
+
}, scrollable: this.canNavigate }, h("button", { key: 'e353cd0e1e22d6e4422f547a318819b3f2736479', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '9d7e5126d77fbebf48423f0b34103bd1eb59dc3a', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '854e67c8c662c21926c71fab0725113632f6f14e', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'a4fdefd6a4419c97b4bfab349c88285abe37f14f' })), h("button", { key: 'bf0247eaef092c9b0dd068fe0d4876e3aaecad4e', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '02018a4474db67cf853941a2d6daa002303419c7', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
229
229
|
}
|
|
230
230
|
get host() { return this; }
|
|
231
231
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './index10.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-inverse-success)}:host([type=\"warning\"]){background:var(--color-inverse-warning)}:host([type=\"error\"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-default-success)}:host([type=\"warning\"]) .status-icon{fill:var(--color-default-warning)}:host([type=\"error\"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
|
+
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host([sticky]){position:sticky;top:var(--z-notification--top-offset)}:host([sticky]),:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-inverse-success)}:host([type=\"warning\"]){background:var(--color-inverse-warning)}:host([type=\"error\"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-default-success)}:host([type=\"warning\"]) .status-icon{fill:var(--color-default-warning)}:host([type=\"error\"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
5
5
|
const ZNotificationStyle0 = stylesCss;
|
|
6
6
|
|
|
7
7
|
const ZNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZNotification extends HTMLElement {
|
|
@@ -30,7 +30,7 @@ const ZNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZNotification ext
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a;
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '5bc1e8046c14e46f02f9667939709a267cb1265a' }, this.contenticonname && (h("z-icon", { key: '7a944afae100f5fea48ca8499b6a0a035a6d289e', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '038391eb846f043bc83c236e6e18998797bcb7a3', class: "content-container" }, h("div", { key: '330233ee7524fb271ffa5231a86b6cd906b2994d', class: "content-text" }, h("slot", { key: '290343fa633f1969d4f1059047797b16c3da9860' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '096b5cfdb55bac40adc9b2f56b9a4dc739ad4cc1', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '80d985cbcd6501f9640dc2e16ac978de731a0d24', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'd7fe5573c93ac7ab36ccbecc01972b8d3cccc8bd', name: "multiply-circle", width: 16, height: 16 })))));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return ZNotificationStyle0; }
|
|
36
36
|
}, [1, "z-notification", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-notification.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-notification.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,q0DAAq0D,CAAC;AACx1D,4BAAe,SAAS;;MCYXA,eAAa;IAgChB,uBAAuB,CAAC,CAAa;QAC3C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAMO,sBAAsB,CAAC,CAAa;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAED;;;;;;;;;yBA/BsB,KAAK;0BAOJ,KAAK;sBAIT,KAAK;QAqBtB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtE;IAED,MAAM;;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,eAAe,KACnB,+DACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,CAAC,eAAe,EAC1B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACH,EACD,4DAAK,KAAK,EAAC,mBAAmB,IAC5B,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAa,CACT,EACL,CAAC,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,IAAI,EAAE,CAAA,KACxB,+DACE,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,UAAU,CACT,CACV,CACG,EACL,IAAI,CAAC,SAAS,KACb,+DACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,sBAAsB,IAEpC,+DACE,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZNotification"],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/components/z-otp.js
CHANGED
|
@@ -24,7 +24,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
|
|
|
24
24
|
this.otpRef = [...Array(this.inputNum)];
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: 'b6f43ce8aff8bc764836909975f11de3debbd2fc', class: "otp-container" }, h("div", { key: 'e912fdc3e529c4513786b0fe6c517ec8d66366f6', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
28
28
|
if (e.keyCode > 47) {
|
|
29
29
|
this.otpRef[i].value = "";
|
|
30
30
|
}
|
|
@@ -35,7 +35,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
|
|
|
35
35
|
}, onInput: (e) => {
|
|
36
36
|
this.otp[i] = e.target.value;
|
|
37
37
|
this.emitInputChange(this.otp.join(""));
|
|
38
|
-
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '
|
|
38
|
+
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '17cc331edea883f7f5ed9899e3ebd84b2455b24e', message: this.message, status: this.status })));
|
|
39
39
|
}
|
|
40
40
|
static get style() { return ZOtpStyle0; }
|
|
41
41
|
}, [1, "z-otp", {
|
|
@@ -20,12 +20,12 @@ const ZPanelElem$1 = /*@__PURE__*/ proxyCustomElement(class ZPanelElem extends H
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const elemId = this.elemid ? this.elemid : "";
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: '28f5d98850bf13270b4ddf9585722c39f87ee12e', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '065c198cfef6d982df79871d084454f425e0d57d', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '5b42b99982e78dea89cf144a717e619b65904ab9', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'd15c0e008ca2f5172228217b5418d263a59af932', class: "panel-elem-link" }, h("a", { key: 'ca5a726f71b2dd8de6ddf1f32864bc2cdd823730', class: {
|
|
24
24
|
"z-link": true,
|
|
25
25
|
"z-link-disabled": this.isdisabled,
|
|
26
26
|
"z-link-icon": true,
|
|
27
27
|
"z-link-blue": true,
|
|
28
|
-
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '
|
|
28
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'b8f07a80e9260bb0a142037d3f6a64a64acebafb', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '8d6524f5e8b70798cd846d4c99a2631161ae265d', class: "panel-elem-desc" }, h("slot", { key: 'b122e24bbb3ee418a393b348157f54fad3a6f1a9', name: this.descrSlotName })))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return ZPanelElemStyle0; }
|
|
31
31
|
}, [6, "z-panel-elem", {
|
|
@@ -338,14 +338,14 @@ const ZRangePicker$1 = /*@__PURE__*/ proxyCustomElement(class ZRangePicker exten
|
|
|
338
338
|
onStopTyping: this.onStopTyping.bind(this),
|
|
339
339
|
value: "",
|
|
340
340
|
};
|
|
341
|
-
return (h("div", { key: '
|
|
341
|
+
return (h("div", { key: '5977c392f4b4cf1480107173bc29a0469e268071', class: {
|
|
342
342
|
["range-pickers-container"]: true,
|
|
343
343
|
[this.mode]: true,
|
|
344
344
|
[this.activeInput]: true,
|
|
345
345
|
[this.flatpickrPosition]: true,
|
|
346
|
-
} }, h("div", { key: '
|
|
346
|
+
} }, h("div", { key: '6afa791d72edb22003986b7a53c7ba90b63e6e8c', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: '405cec579f87a6acdb27651aae2a3c44c14e02d4', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: '13e962003a7f0bee44676a8da2917c943795ccd4' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
|
|
347
347
|
this.firstInputError = false;
|
|
348
|
-
} })))), h("div", { key: '
|
|
348
|
+
} })))), h("div", { key: 'a598bb5ae74ab9ba31be7bfe8ecec6d658f88d79', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: 'cc02897af810f866e1d14b89e2c35a0151fefa85', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: 'efa7fa690d78db9bc55df8d6f6358f74ed4ce46e' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
|
|
349
349
|
this.lastInputError = false;
|
|
350
350
|
} }))))));
|
|
351
351
|
}
|
|
@@ -17,7 +17,7 @@ const ZSectionTitle$1 = /*@__PURE__*/ proxyCustomElement(class ZSectionTitle ext
|
|
|
17
17
|
this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '319435f7cf5d335b4ac938d240770e78531c72fd' }, h("slot", { key: '3262da9548071f73d371c99629dc9e736003ba9f', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: 'eeb1781902549bd32598cd94c11dbef32ee533f3', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: 'da3ba374bf4da3f7e636d654f47f7a25c199304f', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: '71713119a14bf01ba4345ee10edbd7d79338f1af', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
|
|
21
21
|
}
|
|
22
22
|
get host() { return this; }
|
|
23
23
|
static get style() { return ZSectionTitleStyle0; }
|
|
@@ -520,7 +520,7 @@ const ZSelect$1 = /*@__PURE__*/ proxyCustomElement(class ZSelect extends HTMLEle
|
|
|
520
520
|
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size, disabled: this.disabled }));
|
|
521
521
|
}
|
|
522
522
|
render() {
|
|
523
|
-
return (h("div", { key: '
|
|
523
|
+
return (h("div", { key: '3deed6802514d840f78d366b86391a449234c9ca', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
|
|
524
524
|
}
|
|
525
525
|
get host() { return this; }
|
|
526
526
|
static get watchers() { return {
|