@zanichelli/albe-web-components 16.3.0 → 16.3.1
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 +2 -0
- package/dist/cjs/breakpoints-8a1e87e0.js +11 -0
- package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
- package/dist/cjs/{index-b361709b.js → index-041b41e6.js} +2 -2
- package/dist/cjs/{index-b361709b.js.map → index-041b41e6.js.map} +1 -1
- package/dist/cjs/{index-3a070c6b.js → index-1dfb8b3c.js} +2 -2
- package/dist/cjs/{index-3a070c6b.js.map → index-1dfb8b3c.js.map} +1 -1
- package/dist/cjs/{index-1f9f28df.js → index-25ded558.js} +2 -2
- package/dist/cjs/{index-1f9f28df.js.map → index-25ded558.js.map} +1 -1
- package/dist/cjs/{index-f0159789.js → index-4bce26ea.js} +5 -5
- package/dist/cjs/{index-f0159789.js.map → index-4bce26ea.js.map} +1 -1
- package/dist/cjs/{index-e801ae96.js → index-96af6326.js} +2167 -2127
- package/dist/cjs/index-96af6326.js.map +1 -0
- package/dist/cjs/{index-1890445d.js → index-b7759a0d.js} +2 -2
- package/dist/cjs/{index-1890445d.js.map → index-b7759a0d.js.map} +1 -1
- package/dist/cjs/{index-597156d1.js → index-d4272b0e.js} +2 -2
- package/dist/cjs/{index-597156d1.js.map → index-d4272b0e.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-6bd8c55e.js → utils-257558ff.js} +19 -5
- package/dist/cjs/utils-257558ff.js.map +1 -0
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/web-components-library.cjs.js.map +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +278 -342
- 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.cjs.entry.js +5 -5
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button-sort.cjs.entry.js.map +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-combobox.cjs.entry.js +5 -5
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-file.cjs.entry.js.map +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/cjs/z-info-box.cjs.entry.js +2 -2
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +2 -2
- 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 +141 -112
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +210 -162
- 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 +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
- 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-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 +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +4 -4
- package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -4
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/cjs/z-table.cjs.entry.js +9 -9
- package/dist/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -6
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +6 -6
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -1
- package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -1
- package/dist/collection/components/date-picker/utils.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.js +3 -3
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -1
- package/dist/collection/components/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.stories.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
- package/dist/collection/components/table/z-thead/index.js.map +1 -1
- package/dist/collection/components/table/z-tr/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.stories.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -1
- package/dist/collection/components/z-app-header/index.js +149 -206
- package/dist/collection/components/z-app-header/index.js.map +1 -1
- package/dist/collection/components/z-app-header/index.stories.js +12 -28
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
- package/dist/collection/components/z-app-header/styles.css +95 -121
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js.map +1 -1
- package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-avatar/index.js.map +1 -1
- package/dist/collection/components/z-avatar/index.stories.js.map +1 -1
- package/dist/collection/components/z-book-card/index.js +3 -3
- package/dist/collection/components/z-book-card/index.js.map +1 -1
- package/dist/collection/components/z-book-card/index.stories.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/collection/components/z-button/index.stories.js.map +1 -1
- package/dist/collection/components/z-button-sort/index.js +3 -3
- package/dist/collection/components/z-button-sort/index.js.map +1 -1
- package/dist/collection/components/z-button-sort/index.stories.js.map +1 -1
- package/dist/collection/components/z-card/index.js.map +1 -1
- package/dist/collection/components/z-card/index.stories.js.map +1 -1
- package/dist/collection/components/z-carousel/index.js.map +1 -1
- package/dist/collection/components/z-carousel/index.stories.js.map +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-chip/index.js.map +1 -1
- package/dist/collection/components/z-chip/index.stories.js.map +1 -1
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js.map +1 -1
- package/dist/collection/components/z-combobox/index.stories.js.map +1 -1
- package/dist/collection/components/z-combobox/styles.css +6 -4
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-cover-hero/index.js.map +1 -1
- package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -1
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-divider/index.js.map +1 -1
- package/dist/collection/components/z-divider/index.stories.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -1
- package/dist/collection/components/z-icon/index.js.map +1 -1
- package/dist/collection/components/z-icon/index.stories.js.map +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js.map +1 -1
- package/dist/collection/components/z-info-box/index.stories.js.map +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js.map +1 -1
- package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input/index.stories.js.map +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js.map +1 -1
- package/dist/collection/components/z-input-message/index.stories.js.map +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-logo/index.js.map +1 -1
- package/dist/collection/components/z-logo/index.stories.js.map +1 -1
- package/dist/collection/components/z-menu/index.js +269 -171
- package/dist/collection/components/z-menu/index.js.map +1 -1
- package/dist/collection/components/z-menu/index.stories.js +2 -8
- package/dist/collection/components/z-menu/index.stories.js.map +1 -1
- package/dist/collection/components/z-menu/styles.css +38 -46
- package/dist/collection/components/z-menu-section/index.js +216 -121
- package/dist/collection/components/z-menu-section/index.js.map +1 -1
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -1
- package/dist/collection/components/z-menu-section/styles.css +32 -27
- package/dist/collection/components/z-modal/index.js +6 -6
- package/dist/collection/components/z-modal/index.js.map +1 -1
- package/dist/collection/components/z-modal/index.stories.js.map +1 -1
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -1
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -1
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-notification/index.js.map +1 -1
- package/dist/collection/components/z-notification/index.stories.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -1
- package/dist/collection/components/z-pagination/index.js.map +1 -1
- package/dist/collection/components/z-pagination/index.stories.js.map +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-panel-elem/index.js.map +1 -1
- package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -1
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/index.stories.js.map +1 -1
- package/dist/collection/components/z-searchbar/index.js +4 -3
- package/dist/collection/components/z-searchbar/index.js.map +1 -1
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js.map +1 -1
- package/dist/collection/components/z-section-title/index.stories.js.map +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-select/index.js.map +1 -1
- package/dist/collection/components/z-select/index.stories.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js.map +1 -1
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js.map +1 -1
- package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -1
- package/dist/collection/components/z-tag/index.js.map +1 -1
- package/dist/collection/components/z-tag/index.stories.js.map +1 -1
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification/index.js.map +1 -1
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -1
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-button/index.js.map +1 -1
- package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -1
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -1
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js.map +1 -1
- package/dist/collection/components/z-tooltip/index.stories.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -1
- package/dist/collection/constants/breakpoints.js +7 -4
- package/dist/collection/constants/breakpoints.js.map +1 -1
- package/dist/collection/constants/icons.js.map +1 -1
- package/dist/collection/constants/iconset.js.map +1 -1
- 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/index.js.map +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-alert/index.js.map +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-body/index.js.map +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-cover/index.js.map +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-dictionary/index.js.map +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/index.js.map +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-footer-sections/index.js.map +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-header/index.js.map +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-icon/index.js.map +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-info/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
- package/dist/collection/utils/storybook-utils.js.map +1 -1
- package/dist/collection/utils/utils.js +17 -7
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/breakpoints.js +8 -4
- package/dist/components/breakpoints.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index15.js +6 -6
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +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 +5 -4
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index6.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/utils.js +18 -5
- package/dist/components/utils.js.map +1 -1
- package/dist/components/z-app-header-deprecated.js +1 -1
- package/dist/components/z-app-header-deprecated.js.map +1 -1
- package/dist/components/z-app-header.js +144 -207
- 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.js +3 -3
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +3 -3
- package/dist/components/z-button-sort.js.map +1 -1
- package/dist/components/z-combobox.js +2 -2
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-file.js +3 -3
- package/dist/components/z-file.js.map +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +151 -115
- package/dist/components/z-menu-section.js.map +1 -1
- package/dist/components/z-menu.js +218 -166
- 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 +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +2 -2
- package/dist/components/z-skip-to-content.js +2 -2
- package/dist/components/z-slideshow.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 -0
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +3 -3
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/breakpoints-d148bfde.js +11 -0
- package/dist/esm/breakpoints-d148bfde.js.map +1 -0
- package/dist/esm/{index-175661e6.js → index-36f0f6c0.js} +2 -2
- package/dist/esm/{index-175661e6.js.map → index-36f0f6c0.js.map} +1 -1
- package/dist/esm/{index-fd7edd22.js → index-66bd56db.js} +5 -5
- package/dist/esm/{index-fd7edd22.js.map → index-66bd56db.js.map} +1 -1
- package/dist/esm/{index-7a28ff39.js → index-89520805.js} +2 -2
- package/dist/esm/{index-7a28ff39.js.map → index-89520805.js.map} +1 -1
- package/dist/esm/{index-a2130b6a.js → index-c8ceadeb.js} +2167 -2127
- package/dist/esm/index-c8ceadeb.js.map +1 -0
- package/dist/esm/{index-230d44a5.js → index-cddfba10.js} +2 -2
- package/dist/esm/{index-230d44a5.js.map → index-cddfba10.js.map} +1 -1
- package/dist/esm/{index-a81f1558.js → index-dfddeb25.js} +2 -2
- package/dist/esm/{index-a81f1558.js.map → index-dfddeb25.js.map} +1 -1
- package/dist/esm/{index-b556b384.js → index-e70be23f.js} +2 -2
- package/dist/esm/{index-b556b384.js.map → index-e70be23f.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-8ade9e2d.js → utils-acc8bdd0.js} +19 -6
- package/dist/esm/utils-acc8bdd0.js.map +1 -0
- package/dist/esm/web-components-library.js +4 -4
- package/dist/esm/web-components-library.js.map +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +145 -209
- 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.entry.js +5 -5
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +5 -5
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button-sort.entry.js.map +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-combobox.entry.js +5 -5
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +3 -3
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-file.entry.js.map +1 -1
- package/dist/esm/z-ghost-loading.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js +2 -2
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +2 -2
- 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 +140 -111
- package/dist/esm/z-menu-section.entry.js.map +1 -1
- package/dist/esm/z-menu.entry.js +210 -162
- 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 +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-list.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +3 -3
- package/dist/esm/z-notification.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +4 -4
- package/dist/esm/z-skip-to-content.entry.js +4 -4
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +2 -2
- package/dist/esm/z-table.entry.js +9 -9
- package/dist/esm/z-tbody.entry.js +2 -2
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +2 -2
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +4 -4
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/esm/z-toggle-button.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +6 -6
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +6 -6
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +3 -3
- package/dist/types/components/list/z-list-group/index.stories.d.ts +1 -1
- package/dist/types/components/z-app-header/index.d.ts +23 -30
- package/dist/types/components/z-app-header/index.stories.d.ts +2 -5
- package/dist/types/components/z-book-card/index.stories.d.ts +2 -2
- package/dist/types/components/z-carousel/index.stories.d.ts +1 -1
- package/dist/types/components/z-cover-hero/index.stories.d.ts +1 -1
- package/dist/types/components/z-menu/index.d.ts +34 -26
- package/dist/types/components/z-menu/index.stories.d.ts +1 -2
- package/dist/types/components/z-menu-section/index.d.ts +28 -18
- package/dist/types/components/z-modal/index.stories.d.ts +1 -1
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +2 -2
- package/dist/types/components/z-popover/index.stories.d.ts +2 -2
- package/dist/types/components/z-section-title/index.stories.d.ts +1 -1
- package/dist/types/components/z-tag/index.stories.d.ts +2 -2
- package/dist/types/components/z-tooltip/index.stories.d.ts +1 -1
- package/dist/types/components.d.ts +48 -8
- package/dist/types/constants/breakpoints.d.ts +6 -4
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/dist/types/utils/utils.d.ts +10 -1
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-04c39e8a.entry.js +2 -0
- package/dist/web-components-library/p-04c39e8a.entry.js.map +1 -0
- package/dist/web-components-library/p-0542a3c9.entry.js +2 -0
- package/dist/web-components-library/p-0542a3c9.entry.js.map +1 -0
- package/dist/web-components-library/{p-6319b5e2.entry.js → p-06d98334.entry.js} +2 -2
- package/dist/web-components-library/{p-2672e36f.entry.js → p-100c6243.entry.js} +2 -2
- package/dist/web-components-library/p-16d625b3.entry.js +2 -0
- package/dist/web-components-library/p-16d625b3.entry.js.map +1 -0
- package/{www/build/p-28928bb6.entry.js → dist/web-components-library/p-1896cc54.entry.js} +2 -2
- package/{www/build/p-19f8c3d2.entry.js → dist/web-components-library/p-1cc37aa7.entry.js} +2 -2
- package/{www/build/p-c0bdbfb5.entry.js → dist/web-components-library/p-273f3c53.entry.js} +2 -2
- package/dist/web-components-library/{p-4f7dd068.entry.js → p-28018cd3.entry.js} +2 -2
- package/{www/build/p-12d62027.entry.js → dist/web-components-library/p-296924ea.entry.js} +2 -2
- package/dist/web-components-library/p-2b1fd95a.entry.js +2 -0
- package/dist/web-components-library/{p-99b791d1.entry.js → p-2e432a39.entry.js} +2 -2
- package/dist/web-components-library/{p-af856537.entry.js → p-2f662fea.entry.js} +2 -2
- package/dist/web-components-library/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
- package/dist/web-components-library/p-3ae8fb1a.entry.js +2 -0
- package/dist/web-components-library/{p-304eeab0.js → p-3dbad75e.js} +2 -2
- package/{www/build/p-be4878f2.entry.js → dist/web-components-library/p-4537f922.entry.js} +2 -2
- package/dist/web-components-library/{p-91c04edc.entry.js → p-45dc157c.entry.js} +2 -2
- package/dist/web-components-library/{p-e366782c.entry.js → p-46d98609.entry.js} +2 -2
- package/{www/build/p-7d7c5344.js → dist/web-components-library/p-4a2e0034.js} +2 -2
- package/dist/web-components-library/p-4f3f8578.entry.js +2 -0
- package/dist/web-components-library/p-5145a606.js +2 -0
- package/dist/web-components-library/p-5145a606.js.map +1 -0
- package/{www/build/p-e5dc0719.entry.js → dist/web-components-library/p-51f1c9c0.entry.js} +2 -2
- package/{www/build/p-e1852de3.entry.js → dist/web-components-library/p-5a0f0978.entry.js} +2 -2
- package/dist/web-components-library/{p-6586441a.entry.js → p-5a178c69.entry.js} +3 -3
- package/dist/web-components-library/p-5a178c69.entry.js.map +1 -0
- package/dist/web-components-library/{p-cf2640b0.entry.js → p-608c35ba.entry.js} +2 -2
- package/{www/build/p-cf2640b0.entry.js.map → dist/web-components-library/p-608c35ba.entry.js.map} +1 -1
- package/dist/web-components-library/{p-26b5c84d.js → p-60f410df.js} +2 -2
- package/dist/web-components-library/p-63ec7bad.entry.js +2 -0
- package/dist/web-components-library/p-64364cbf.entry.js +2 -0
- package/dist/web-components-library/p-64364cbf.entry.js.map +1 -0
- package/dist/web-components-library/p-64aab82f.js +2 -0
- package/dist/web-components-library/p-67e5e8ed.js +2 -0
- package/dist/web-components-library/p-67e5e8ed.js.map +1 -0
- package/dist/web-components-library/{p-57eee056.entry.js → p-68f4fbc8.entry.js} +2 -2
- package/dist/web-components-library/{p-f21bc3a9.entry.js → p-6a1b3e86.entry.js} +2 -2
- package/dist/web-components-library/{p-05e9ae1e.entry.js → p-6db2fd46.entry.js} +2 -2
- package/{www/build/p-83350b5f.entry.js → dist/web-components-library/p-707e5f91.entry.js} +2 -2
- package/dist/web-components-library/p-75c4a726.js +3 -0
- package/dist/web-components-library/p-75c4a726.js.map +1 -0
- package/{www/build/p-85f84e55.entry.js → dist/web-components-library/p-777ad335.entry.js} +2 -2
- package/dist/web-components-library/p-777ad335.entry.js.map +1 -0
- package/{www/build/p-b84fa3b6.entry.js → dist/web-components-library/p-7aba5af3.entry.js} +2 -2
- package/dist/web-components-library/p-7d5bf905.entry.js +2 -0
- package/dist/web-components-library/{p-324ef970.entry.js → p-820b48f6.entry.js} +2 -2
- package/dist/web-components-library/p-823c45d4.entry.js +2 -0
- package/{www/build/p-8c9f7cef.entry.js → dist/web-components-library/p-855334f4.entry.js} +2 -2
- package/dist/web-components-library/{p-aa0f083b.js → p-8a6a4d22.js} +2 -2
- package/{www/build/p-8b309268.entry.js → dist/web-components-library/p-8d56e74b.entry.js} +2 -2
- package/dist/web-components-library/p-8d56e74b.entry.js.map +1 -0
- package/dist/web-components-library/{p-d9e1d8c7.js → p-95cb8701.js} +2 -2
- package/dist/web-components-library/p-9a1b51ed.entry.js +2 -0
- package/{www/build/p-ad76b8ff.entry.js.map → dist/web-components-library/p-9a1b51ed.entry.js.map} +1 -1
- package/dist/web-components-library/{p-4552744b.entry.js → p-9b9a04ad.entry.js} +2 -2
- package/dist/web-components-library/{p-77d8ad7e.entry.js → p-a0fd1323.entry.js} +2 -2
- package/dist/web-components-library/p-a64a1bf0.entry.js +2 -0
- package/dist/web-components-library/p-a64a1bf0.entry.js.map +1 -0
- package/dist/web-components-library/p-aaae6b16.entry.js +2 -0
- package/dist/web-components-library/{p-97b0c3b3.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
- package/dist/web-components-library/p-ab7f129e.entry.js +2 -0
- package/dist/web-components-library/{p-6f4dd02b.entry.js.map → p-ab7f129e.entry.js.map} +1 -1
- package/{www/build/p-088a31dc.entry.js → dist/web-components-library/p-acd911aa.entry.js} +2 -2
- package/{www/build/p-a4ada10b.entry.js → dist/web-components-library/p-ad97fdc4.entry.js} +2 -2
- package/dist/web-components-library/{p-57ecb5a7.entry.js → p-b2356bc7.entry.js} +2 -2
- package/dist/web-components-library/p-c1e498ac.entry.js +2 -0
- package/dist/web-components-library/{p-a5781264.entry.js → p-c54d0925.entry.js} +2 -2
- package/dist/web-components-library/p-c679277c.entry.js +2 -0
- package/{www/build/p-df05727f.entry.js.map → dist/web-components-library/p-c679277c.entry.js.map} +1 -1
- package/dist/web-components-library/p-cc71a90c.entry.js +2 -0
- package/{www/build/p-c90249e5.entry.js → dist/web-components-library/p-cd0219b4.entry.js} +2 -2
- package/{www/build/p-6a664748.entry.js → dist/web-components-library/p-d5f5e107.entry.js} +2 -2
- package/dist/web-components-library/p-d5f5e107.entry.js.map +1 -0
- package/dist/web-components-library/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
- package/{www/build/p-ae96bc09.entry.js → dist/web-components-library/p-df8c381a.entry.js} +2 -2
- package/dist/web-components-library/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
- package/dist/web-components-library/{p-609c11d6.entry.js → p-e25d7f0a.entry.js} +2 -2
- package/dist/web-components-library/{p-33eea921.entry.js → p-e4d97fbf.entry.js} +2 -2
- package/dist/web-components-library/{p-f74f9f3c.entry.js → p-e529a714.entry.js} +2 -2
- package/dist/web-components-library/{p-21b85c7f.entry.js → p-ea9c0ff3.entry.js} +2 -2
- package/dist/web-components-library/{p-2a7e4988.entry.js → p-f06ad42c.entry.js} +2 -2
- package/dist/web-components-library/{p-8499a29d.entry.js → p-f15d0a00.entry.js} +2 -2
- package/{www/build/p-63e970ee.entry.js → dist/web-components-library/p-f425c6f2.entry.js} +2 -2
- package/dist/web-components-library/p-f703660d.entry.js +2 -0
- package/{www/build/p-49e4ce84.entry.js → dist/web-components-library/p-f8bbca6e.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/loader/index.d.ts +3 -0
- package/package.json +16 -18
- package/www/build/index.esm.js +1 -1
- package/www/build/p-04c39e8a.entry.js +2 -0
- package/www/build/p-04c39e8a.entry.js.map +1 -0
- package/www/build/p-0542a3c9.entry.js +2 -0
- package/www/build/p-0542a3c9.entry.js.map +1 -0
- package/www/build/{p-6319b5e2.entry.js → p-06d98334.entry.js} +2 -2
- package/www/build/{p-2672e36f.entry.js → p-100c6243.entry.js} +2 -2
- package/www/build/p-16d625b3.entry.js +2 -0
- package/www/build/p-16d625b3.entry.js.map +1 -0
- package/{dist/web-components-library/p-28928bb6.entry.js → www/build/p-1896cc54.entry.js} +2 -2
- package/{dist/web-components-library/p-19f8c3d2.entry.js → www/build/p-1cc37aa7.entry.js} +2 -2
- package/{dist/web-components-library/p-c0bdbfb5.entry.js → www/build/p-273f3c53.entry.js} +2 -2
- package/www/build/{p-4f7dd068.entry.js → p-28018cd3.entry.js} +2 -2
- package/{dist/web-components-library/p-12d62027.entry.js → www/build/p-296924ea.entry.js} +2 -2
- package/www/build/p-2b1fd95a.entry.js +2 -0
- package/www/build/{p-99b791d1.entry.js → p-2e432a39.entry.js} +2 -2
- package/www/build/{p-af856537.entry.js → p-2f662fea.entry.js} +2 -2
- package/www/build/{p-8a10fec5.entry.js → p-38d5e74f.entry.js} +2 -2
- package/www/build/p-3ae8fb1a.entry.js +2 -0
- package/www/build/{p-304eeab0.js → p-3dbad75e.js} +2 -2
- package/{dist/web-components-library/p-be4878f2.entry.js → www/build/p-4537f922.entry.js} +2 -2
- package/www/build/{p-91c04edc.entry.js → p-45dc157c.entry.js} +2 -2
- package/www/build/{p-e366782c.entry.js → p-46d98609.entry.js} +2 -2
- package/{dist/web-components-library/p-7d7c5344.js → www/build/p-4a2e0034.js} +2 -2
- package/www/build/p-4f3f8578.entry.js +2 -0
- package/www/build/p-5145a606.js +2 -0
- package/www/build/p-5145a606.js.map +1 -0
- package/{dist/web-components-library/p-e5dc0719.entry.js → www/build/p-51f1c9c0.entry.js} +2 -2
- package/{dist/web-components-library/p-e1852de3.entry.js → www/build/p-5a0f0978.entry.js} +2 -2
- package/www/build/{p-6586441a.entry.js → p-5a178c69.entry.js} +3 -3
- package/www/build/p-5a178c69.entry.js.map +1 -0
- package/www/build/{p-cf2640b0.entry.js → p-608c35ba.entry.js} +2 -2
- package/{dist/web-components-library/p-cf2640b0.entry.js.map → www/build/p-608c35ba.entry.js.map} +1 -1
- package/www/build/{p-26b5c84d.js → p-60f410df.js} +2 -2
- package/www/build/p-63ec7bad.entry.js +2 -0
- package/www/build/p-64364cbf.entry.js +2 -0
- package/www/build/p-64364cbf.entry.js.map +1 -0
- package/www/build/p-64aab82f.js +2 -0
- package/www/build/p-67e5e8ed.js +2 -0
- package/www/build/p-67e5e8ed.js.map +1 -0
- package/www/build/{p-57eee056.entry.js → p-68f4fbc8.entry.js} +2 -2
- package/www/build/{p-f21bc3a9.entry.js → p-6a1b3e86.entry.js} +2 -2
- package/www/build/{p-05e9ae1e.entry.js → p-6db2fd46.entry.js} +2 -2
- package/{dist/web-components-library/p-83350b5f.entry.js → www/build/p-707e5f91.entry.js} +2 -2
- package/www/build/p-75c4a726.js +3 -0
- package/www/build/p-75c4a726.js.map +1 -0
- package/{dist/web-components-library/p-85f84e55.entry.js → www/build/p-777ad335.entry.js} +2 -2
- package/www/build/p-777ad335.entry.js.map +1 -0
- package/{dist/web-components-library/p-b84fa3b6.entry.js → www/build/p-7aba5af3.entry.js} +2 -2
- package/www/build/p-7d5bf905.entry.js +2 -0
- package/www/build/{p-324ef970.entry.js → p-820b48f6.entry.js} +2 -2
- package/www/build/p-823c45d4.entry.js +2 -0
- package/{dist/web-components-library/p-8c9f7cef.entry.js → www/build/p-855334f4.entry.js} +2 -2
- package/www/build/{p-aa0f083b.js → p-8a6a4d22.js} +2 -2
- package/{dist/web-components-library/p-8b309268.entry.js → www/build/p-8d56e74b.entry.js} +2 -2
- package/www/build/p-8d56e74b.entry.js.map +1 -0
- package/www/build/{p-d9e1d8c7.js → p-95cb8701.js} +2 -2
- package/www/build/p-9a1b51ed.entry.js +2 -0
- package/{dist/web-components-library/p-ad76b8ff.entry.js.map → www/build/p-9a1b51ed.entry.js.map} +1 -1
- package/www/build/{p-4552744b.entry.js → p-9b9a04ad.entry.js} +2 -2
- package/www/build/{p-77d8ad7e.entry.js → p-a0fd1323.entry.js} +2 -2
- package/www/build/p-a64a1bf0.entry.js +2 -0
- package/www/build/p-a64a1bf0.entry.js.map +1 -0
- package/www/build/p-aaae6b16.entry.js +2 -0
- package/www/build/{p-97b0c3b3.entry.js.map → p-aaae6b16.entry.js.map} +1 -1
- package/www/build/p-ab7f129e.entry.js +2 -0
- package/www/build/{p-6f4dd02b.entry.js.map → p-ab7f129e.entry.js.map} +1 -1
- package/{dist/web-components-library/p-088a31dc.entry.js → www/build/p-acd911aa.entry.js} +2 -2
- package/{dist/web-components-library/p-a4ada10b.entry.js → www/build/p-ad97fdc4.entry.js} +2 -2
- package/www/build/p-ae5cec65.js +2 -0
- package/www/build/{p-57ecb5a7.entry.js → p-b2356bc7.entry.js} +2 -2
- package/www/build/p-c1e498ac.entry.js +2 -0
- package/www/build/{p-a5781264.entry.js → p-c54d0925.entry.js} +2 -2
- package/www/build/p-c679277c.entry.js +2 -0
- package/{dist/web-components-library/p-df05727f.entry.js.map → www/build/p-c679277c.entry.js.map} +1 -1
- package/www/build/p-cc71a90c.entry.js +2 -0
- package/{dist/web-components-library/p-c90249e5.entry.js → www/build/p-cd0219b4.entry.js} +2 -2
- package/{dist/web-components-library/p-6a664748.entry.js → www/build/p-d5f5e107.entry.js} +2 -2
- package/www/build/p-d5f5e107.entry.js.map +1 -0
- package/www/build/{p-88e756cd.entry.js → p-da7200c2.entry.js} +2 -2
- package/{dist/web-components-library/p-ae96bc09.entry.js → www/build/p-df8c381a.entry.js} +2 -2
- package/www/build/{p-3b266de4.entry.js → p-df9c3674.entry.js} +2 -2
- package/www/build/{p-609c11d6.entry.js → p-e25d7f0a.entry.js} +2 -2
- package/www/build/{p-33eea921.entry.js → p-e4d97fbf.entry.js} +2 -2
- package/www/build/{p-f74f9f3c.entry.js → p-e529a714.entry.js} +2 -2
- package/www/build/{p-21b85c7f.entry.js → p-ea9c0ff3.entry.js} +2 -2
- package/www/build/{p-2a7e4988.entry.js → p-f06ad42c.entry.js} +2 -2
- package/www/build/{p-8499a29d.entry.js → p-f15d0a00.entry.js} +2 -2
- package/{dist/web-components-library/p-63e970ee.entry.js → www/build/p-f425c6f2.entry.js} +2 -2
- package/www/build/p-f703660d.entry.js +2 -0
- package/{dist/web-components-library/p-49e4ce84.entry.js → www/build/p-f8bbca6e.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 +3 -1
- package/dist/.storybook/elements/args-controls.js +0 -78
- package/dist/.storybook/elements/args-controls.js.map +0 -1
- package/dist/.storybook/elements/docs-template.js +0 -11
- package/dist/.storybook/elements/docs-template.js.map +0 -1
- package/dist/cjs/breakpoints-5c22092a.js +0 -11
- package/dist/cjs/breakpoints-5c22092a.js.map +0 -1
- package/dist/cjs/index-e801ae96.js.map +0 -1
- package/dist/cjs/utils-6bd8c55e.js.map +0 -1
- package/dist/collection/assets/orientamento.svg +0 -14
- package/dist/collection/components/date-picker/z-date-picker/index.spec.js +0 -38
- package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +0 -1
- package/dist/collection/components/date-picker/z-range-picker/index.spec.js +0 -25
- package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js +0 -203
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js +0 -120
- package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js +0 -50
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js.map +0 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js +0 -55
- package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +0 -1
- package/dist/collection/components/file-upload/z-file/index.spec.js +0 -20
- package/dist/collection/components/file-upload/z-file/index.spec.js.map +0 -1
- package/dist/collection/components/file-upload/z-file-upload/index.spec.js +0 -135
- package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +0 -1
- package/dist/collection/components/file-upload/z-file-upload/test.e2e.js +0 -69
- package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +0 -1
- package/dist/collection/components/list/z-list/index.spec.js +0 -33
- package/dist/collection/components/list/z-list/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-list-element/index.spec.js +0 -135
- package/dist/collection/components/list/z-list-element/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-list-group/index.spec.js +0 -39
- package/dist/collection/components/list/z-list-group/index.spec.js.map +0 -1
- package/dist/collection/components/z-app-header/index.spec.js +0 -617
- package/dist/collection/components/z-app-header/index.spec.js.map +0 -1
- package/dist/collection/components/z-aria-alert/index.spec.js +0 -14
- package/dist/collection/components/z-aria-alert/index.spec.js.map +0 -1
- package/dist/collection/components/z-avatar/index.spec.js +0 -98
- package/dist/collection/components/z-avatar/index.spec.js.map +0 -1
- package/dist/collection/components/z-book-card/index.spec.js +0 -679
- package/dist/collection/components/z-book-card/index.spec.js.map +0 -1
- package/dist/collection/components/z-breadcrumb/index.spec.js +0 -39
- package/dist/collection/components/z-breadcrumb/index.spec.js.map +0 -1
- package/dist/collection/components/z-button/index.spec.js +0 -101
- package/dist/collection/components/z-button/index.spec.js.map +0 -1
- package/dist/collection/components/z-button-sort/index.spec.js +0 -139
- package/dist/collection/components/z-button-sort/index.spec.js.map +0 -1
- package/dist/collection/components/z-button-sort/test.e2e.js +0 -29
- package/dist/collection/components/z-button-sort/test.e2e.js.map +0 -1
- package/dist/collection/components/z-card/index.spec.js +0 -179
- package/dist/collection/components/z-card/index.spec.js.map +0 -1
- package/dist/collection/components/z-chip/index.spec.js +0 -108
- package/dist/collection/components/z-chip/index.spec.js.map +0 -1
- package/dist/collection/components/z-chip/test.e2e.js +0 -32
- package/dist/collection/components/z-chip/test.e2e.js.map +0 -1
- package/dist/collection/components/z-combobox/index.spec.js +0 -475
- package/dist/collection/components/z-combobox/index.spec.js.map +0 -1
- package/dist/collection/components/z-combobox/test.e2e.js +0 -45
- package/dist/collection/components/z-combobox/test.e2e.js.map +0 -1
- package/dist/collection/components/z-divider/index.spec.js +0 -82
- package/dist/collection/components/z-divider/index.spec.js.map +0 -1
- package/dist/collection/components/z-ghost-loading/index.spec.js +0 -16
- package/dist/collection/components/z-ghost-loading/index.spec.js.map +0 -1
- package/dist/collection/components/z-icon/index.spec.js +0 -96
- package/dist/collection/components/z-icon/index.spec.js.map +0 -1
- package/dist/collection/components/z-info-box/index.spec.js +0 -71
- package/dist/collection/components/z-info-box/index.spec.js.map +0 -1
- package/dist/collection/components/z-input/test-checkbox.spec.js +0 -114
- package/dist/collection/components/z-input/test-checkbox.spec.js.map +0 -1
- package/dist/collection/components/z-input/test-methods.spec.js +0 -13
- package/dist/collection/components/z-input/test-methods.spec.js.map +0 -1
- package/dist/collection/components/z-input/test-radio.spec.js +0 -114
- package/dist/collection/components/z-input/test-radio.spec.js.map +0 -1
- package/dist/collection/components/z-input/test-text.spec.js +0 -347
- package/dist/collection/components/z-input/test-text.spec.js.map +0 -1
- package/dist/collection/components/z-input/test-textarea.spec.js +0 -54
- package/dist/collection/components/z-input/test-textarea.spec.js.map +0 -1
- package/dist/collection/components/z-input/test.e2e.js +0 -180
- package/dist/collection/components/z-input/test.e2e.js.map +0 -1
- package/dist/collection/components/z-input-message/index.spec.js +0 -45
- package/dist/collection/components/z-input-message/index.spec.js.map +0 -1
- package/dist/collection/components/z-logo/index.spec.js +0 -74
- package/dist/collection/components/z-logo/index.spec.js.map +0 -1
- package/dist/collection/components/z-menu/index.spec.js +0 -136
- package/dist/collection/components/z-menu/index.spec.js.map +0 -1
- package/dist/collection/components/z-menu-section/index.spec.js +0 -50
- package/dist/collection/components/z-menu-section/index.spec.js.map +0 -1
- package/dist/collection/components/z-modal/index.spec.js +0 -192
- package/dist/collection/components/z-modal/index.spec.js.map +0 -1
- package/dist/collection/components/z-modal/test.e2e.js +0 -81
- package/dist/collection/components/z-modal/test.e2e.js.map +0 -1
- package/dist/collection/components/z-notification/index.spec.js +0 -84
- package/dist/collection/components/z-notification/index.spec.js.map +0 -1
- package/dist/collection/components/z-notification/test.e2e.js +0 -25
- package/dist/collection/components/z-notification/test.e2e.js.map +0 -1
- package/dist/collection/components/z-offcanvas/index.spec.js +0 -42
- package/dist/collection/components/z-offcanvas/index.spec.js.map +0 -1
- package/dist/collection/components/z-pagination/index.spec.js +0 -36
- package/dist/collection/components/z-pagination/index.spec.js.map +0 -1
- package/dist/collection/components/z-panel-elem/index.spec.js +0 -284
- package/dist/collection/components/z-panel-elem/index.spec.js.map +0 -1
- package/dist/collection/components/z-searchbar/index.spec.js +0 -395
- package/dist/collection/components/z-searchbar/index.spec.js.map +0 -1
- package/dist/collection/components/z-searchbar/test.e2e.js +0 -90
- package/dist/collection/components/z-searchbar/test.e2e.js.map +0 -1
- package/dist/collection/components/z-section-title/index.spec.js +0 -27
- package/dist/collection/components/z-section-title/index.spec.js.map +0 -1
- package/dist/collection/components/z-select/index.spec.js +0 -698
- package/dist/collection/components/z-select/index.spec.js.map +0 -1
- package/dist/collection/components/z-select/test.e2e.js +0 -121
- package/dist/collection/components/z-select/test.e2e.js.map +0 -1
- package/dist/collection/components/z-skip-to-content/index.spec.js +0 -28
- package/dist/collection/components/z-skip-to-content/index.spec.js.map +0 -1
- package/dist/collection/components/z-stepper/index.spec.js +0 -38
- package/dist/collection/components/z-stepper/index.spec.js.map +0 -1
- package/dist/collection/components/z-stepper-item/index.spec.js +0 -105
- package/dist/collection/components/z-stepper-item/index.spec.js.map +0 -1
- package/dist/collection/components/z-tag/index.spec.js +0 -58
- package/dist/collection/components/z-tag/index.spec.js.map +0 -1
- package/dist/collection/components/z-toast-notification/index.spec.js +0 -104
- package/dist/collection/components/z-toast-notification/index.spec.js.map +0 -1
- package/dist/collection/components/z-toast-notification-list/index.spec.js +0 -57
- package/dist/collection/components/z-toast-notification-list/index.spec.js.map +0 -1
- package/dist/collection/components/z-toast-notification-list/test.e2e.js +0 -69
- package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +0 -1
- package/dist/collection/components/z-toggle-button/index.spec.js +0 -124
- package/dist/collection/components/z-toggle-button/index.spec.js.map +0 -1
- package/dist/collection/components/z-toggle-button/test.e2e.js +0 -12
- package/dist/collection/components/z-toggle-button/test.e2e.js.map +0 -1
- package/dist/collection/components/z-toggle-switch/index.spec.js +0 -149
- package/dist/collection/components/z-toggle-switch/index.spec.js.map +0 -1
- package/dist/collection/components/z-toggle-switch/test.e2e.js +0 -22
- package/dist/collection/components/z-toggle-switch/test.e2e.js.map +0 -1
- package/dist/collection/components/z-visually-hidden/index.spec.js +0 -18
- package/dist/collection/components/z-visually-hidden/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js +0 -128
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js +0 -21
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js +0 -33
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js +0 -121
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js +0 -199
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js +0 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js +0 -56
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js +0 -136
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js +0 -39
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js +0 -140
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js +0 -80
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.spec.js +0 -20
- package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/index.spec.js +0 -74
- package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/test.e2e.js +0 -23
- package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js +0 -193
- package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +0 -1
- package/dist/collection/utils/utils.spec.js +0 -16
- package/dist/collection/utils/utils.spec.js.map +0 -1
- package/dist/docs/grid/index.stories.js +0 -47
- package/dist/docs/grid/index.stories.js.map +0 -1
- package/dist/docs/iconset/index.stories.js +0 -32
- package/dist/docs/iconset/index.stories.js.map +0 -1
- package/dist/docs/themes/index.stories.js +0 -90
- package/dist/docs/themes/index.stories.js.map +0 -1
- package/dist/esm/breakpoints-680e0e56.js +0 -7
- package/dist/esm/breakpoints-680e0e56.js.map +0 -1
- package/dist/esm/index-a2130b6a.js.map +0 -1
- package/dist/esm/utils-8ade9e2d.js.map +0 -1
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +0 -13
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +0 -5
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -27
- package/dist/web-components-library/p-054484d4.entry.js +0 -2
- package/dist/web-components-library/p-054484d4.entry.js.map +0 -1
- package/dist/web-components-library/p-0794ae16.entry.js +0 -2
- package/dist/web-components-library/p-2c184714.js +0 -2
- package/dist/web-components-library/p-2c184714.js.map +0 -1
- package/dist/web-components-library/p-2c886e8b.js +0 -2
- package/dist/web-components-library/p-2c886e8b.js.map +0 -1
- package/dist/web-components-library/p-385bf4ca.entry.js +0 -2
- package/dist/web-components-library/p-6586441a.entry.js.map +0 -1
- package/dist/web-components-library/p-68822fbc.entry.js +0 -2
- package/dist/web-components-library/p-6a664748.entry.js.map +0 -1
- package/dist/web-components-library/p-6b2cd695.entry.js +0 -2
- package/dist/web-components-library/p-6f4dd02b.entry.js +0 -2
- package/dist/web-components-library/p-74a65c6f.entry.js +0 -2
- package/dist/web-components-library/p-7d827c11.js +0 -2
- package/dist/web-components-library/p-85f84e55.entry.js.map +0 -1
- package/dist/web-components-library/p-89584f19.entry.js +0 -2
- package/dist/web-components-library/p-8a728e82.entry.js +0 -2
- package/dist/web-components-library/p-8a728e82.entry.js.map +0 -1
- package/dist/web-components-library/p-8b309268.entry.js.map +0 -1
- package/dist/web-components-library/p-8c517cd7.entry.js +0 -2
- package/dist/web-components-library/p-8c517cd7.entry.js.map +0 -1
- package/dist/web-components-library/p-8d7323f7.entry.js +0 -2
- package/dist/web-components-library/p-8d7323f7.entry.js.map +0 -1
- package/dist/web-components-library/p-97b0c3b3.entry.js +0 -2
- package/dist/web-components-library/p-a7292e1c.entry.js +0 -2
- package/dist/web-components-library/p-ad76b8ff.entry.js +0 -2
- package/dist/web-components-library/p-cfa39bd3.js +0 -3
- package/dist/web-components-library/p-cfa39bd3.js.map +0 -1
- package/dist/web-components-library/p-df05727f.entry.js +0 -2
- package/dist/web-components-library/p-ed2c8484.entry.js +0 -2
- package/dist/web-components-library/p-f8d45aa4.entry.js +0 -2
- package/dist/web-components-library/p-fe87b081.entry.js +0 -2
- package/dist/web-components-library/p-fe87b081.entry.js.map +0 -1
- package/www/assets/orientamento.svg +0 -14
- package/www/build/p-054484d4.entry.js +0 -2
- package/www/build/p-054484d4.entry.js.map +0 -1
- package/www/build/p-0794ae16.entry.js +0 -2
- package/www/build/p-2c184714.js +0 -2
- package/www/build/p-2c184714.js.map +0 -1
- package/www/build/p-2c886e8b.js +0 -2
- package/www/build/p-2c886e8b.js.map +0 -1
- package/www/build/p-385bf4ca.entry.js +0 -2
- package/www/build/p-6586441a.entry.js.map +0 -1
- package/www/build/p-68822fbc.entry.js +0 -2
- package/www/build/p-6a664748.entry.js.map +0 -1
- package/www/build/p-6b2cd695.entry.js +0 -2
- package/www/build/p-6f4dd02b.entry.js +0 -2
- package/www/build/p-74a65c6f.entry.js +0 -2
- package/www/build/p-7d827c11.js +0 -2
- package/www/build/p-85f84e55.entry.js.map +0 -1
- package/www/build/p-89584f19.entry.js +0 -2
- package/www/build/p-8a728e82.entry.js +0 -2
- package/www/build/p-8a728e82.entry.js.map +0 -1
- package/www/build/p-8b309268.entry.js.map +0 -1
- package/www/build/p-8c517cd7.entry.js +0 -2
- package/www/build/p-8c517cd7.entry.js.map +0 -1
- package/www/build/p-8d7323f7.entry.js +0 -2
- package/www/build/p-8d7323f7.entry.js.map +0 -1
- package/www/build/p-97b0c3b3.entry.js +0 -2
- package/www/build/p-a7292e1c.entry.js +0 -2
- package/www/build/p-ad76b8ff.entry.js +0 -2
- package/www/build/p-cfa39bd3.js +0 -3
- package/www/build/p-cfa39bd3.js.map +0 -1
- package/www/build/p-dc60b359.js +0 -2
- package/www/build/p-df05727f.entry.js +0 -2
- package/www/build/p-ed2c8484.entry.js +0 -2
- package/www/build/p-f8d45aa4.entry.js +0 -2
- package/www/build/p-fe87b081.entry.js +0 -2
- package/www/build/p-fe87b081.entry.js.map +0 -1
- /package/dist/web-components-library/{p-6319b5e2.entry.js.map → p-06d98334.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2672e36f.entry.js.map → p-100c6243.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4f7dd068.entry.js.map → p-28018cd3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0794ae16.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af856537.entry.js.map → p-2f662fea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6b2cd695.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-304eeab0.js.map → p-3dbad75e.js.map} +0 -0
- /package/dist/web-components-library/{p-be4878f2.entry.js.map → p-4537f922.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-91c04edc.entry.js.map → p-45dc157c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e366782c.entry.js.map → p-46d98609.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7d7c5344.js.map → p-4a2e0034.js.map} +0 -0
- /package/dist/web-components-library/{p-68822fbc.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e5dc0719.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e1852de3.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-26b5c84d.js.map → p-60f410df.js.map} +0 -0
- /package/dist/web-components-library/{p-74a65c6f.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7d827c11.js.map → p-64aab82f.js.map} +0 -0
- /package/dist/web-components-library/{p-57eee056.entry.js.map → p-68f4fbc8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f21bc3a9.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-05e9ae1e.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-83350b5f.entry.js.map → p-707e5f91.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b84fa3b6.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a7292e1c.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-324ef970.entry.js.map → p-820b48f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ed2c8484.entry.js.map → p-823c45d4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c9f7cef.entry.js.map → p-855334f4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-aa0f083b.js.map → p-8a6a4d22.js.map} +0 -0
- /package/dist/web-components-library/{p-d9e1d8c7.js.map → p-95cb8701.js.map} +0 -0
- /package/dist/web-components-library/{p-4552744b.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-77d8ad7e.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a4ada10b.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-57ecb5a7.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-385bf4ca.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a5781264.entry.js.map → p-c54d0925.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-89584f19.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c90249e5.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae96bc09.entry.js.map → p-df8c381a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-609c11d6.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-33eea921.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f74f9f3c.entry.js.map → p-e529a714.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-21b85c7f.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2a7e4988.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8499a29d.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-63e970ee.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f8d45aa4.entry.js.map → p-f703660d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-49e4ce84.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
- /package/www/build/{p-6319b5e2.entry.js.map → p-06d98334.entry.js.map} +0 -0
- /package/www/build/{p-2672e36f.entry.js.map → p-100c6243.entry.js.map} +0 -0
- /package/www/build/{p-28928bb6.entry.js.map → p-1896cc54.entry.js.map} +0 -0
- /package/www/build/{p-19f8c3d2.entry.js.map → p-1cc37aa7.entry.js.map} +0 -0
- /package/www/build/{p-c0bdbfb5.entry.js.map → p-273f3c53.entry.js.map} +0 -0
- /package/www/build/{p-4f7dd068.entry.js.map → p-28018cd3.entry.js.map} +0 -0
- /package/www/build/{p-12d62027.entry.js.map → p-296924ea.entry.js.map} +0 -0
- /package/www/build/{p-0794ae16.entry.js.map → p-2b1fd95a.entry.js.map} +0 -0
- /package/www/build/{p-99b791d1.entry.js.map → p-2e432a39.entry.js.map} +0 -0
- /package/www/build/{p-af856537.entry.js.map → p-2f662fea.entry.js.map} +0 -0
- /package/www/build/{p-8a10fec5.entry.js.map → p-38d5e74f.entry.js.map} +0 -0
- /package/www/build/{p-6b2cd695.entry.js.map → p-3ae8fb1a.entry.js.map} +0 -0
- /package/www/build/{p-304eeab0.js.map → p-3dbad75e.js.map} +0 -0
- /package/www/build/{p-be4878f2.entry.js.map → p-4537f922.entry.js.map} +0 -0
- /package/www/build/{p-91c04edc.entry.js.map → p-45dc157c.entry.js.map} +0 -0
- /package/www/build/{p-e366782c.entry.js.map → p-46d98609.entry.js.map} +0 -0
- /package/www/build/{p-7d7c5344.js.map → p-4a2e0034.js.map} +0 -0
- /package/www/build/{p-68822fbc.entry.js.map → p-4f3f8578.entry.js.map} +0 -0
- /package/www/build/{p-e5dc0719.entry.js.map → p-51f1c9c0.entry.js.map} +0 -0
- /package/www/build/{p-e1852de3.entry.js.map → p-5a0f0978.entry.js.map} +0 -0
- /package/www/build/{p-26b5c84d.js.map → p-60f410df.js.map} +0 -0
- /package/www/build/{p-74a65c6f.entry.js.map → p-63ec7bad.entry.js.map} +0 -0
- /package/www/build/{p-7d827c11.js.map → p-64aab82f.js.map} +0 -0
- /package/www/build/{p-57eee056.entry.js.map → p-68f4fbc8.entry.js.map} +0 -0
- /package/www/build/{p-f21bc3a9.entry.js.map → p-6a1b3e86.entry.js.map} +0 -0
- /package/www/build/{p-05e9ae1e.entry.js.map → p-6db2fd46.entry.js.map} +0 -0
- /package/www/build/{p-83350b5f.entry.js.map → p-707e5f91.entry.js.map} +0 -0
- /package/www/build/{p-b84fa3b6.entry.js.map → p-7aba5af3.entry.js.map} +0 -0
- /package/www/build/{p-a7292e1c.entry.js.map → p-7d5bf905.entry.js.map} +0 -0
- /package/www/build/{p-324ef970.entry.js.map → p-820b48f6.entry.js.map} +0 -0
- /package/www/build/{p-ed2c8484.entry.js.map → p-823c45d4.entry.js.map} +0 -0
- /package/www/build/{p-8c9f7cef.entry.js.map → p-855334f4.entry.js.map} +0 -0
- /package/www/build/{p-aa0f083b.js.map → p-8a6a4d22.js.map} +0 -0
- /package/www/build/{p-d9e1d8c7.js.map → p-95cb8701.js.map} +0 -0
- /package/www/build/{p-4552744b.entry.js.map → p-9b9a04ad.entry.js.map} +0 -0
- /package/www/build/{p-77d8ad7e.entry.js.map → p-a0fd1323.entry.js.map} +0 -0
- /package/www/build/{p-088a31dc.entry.js.map → p-acd911aa.entry.js.map} +0 -0
- /package/www/build/{p-a4ada10b.entry.js.map → p-ad97fdc4.entry.js.map} +0 -0
- /package/www/build/{p-57ecb5a7.entry.js.map → p-b2356bc7.entry.js.map} +0 -0
- /package/www/build/{p-385bf4ca.entry.js.map → p-c1e498ac.entry.js.map} +0 -0
- /package/www/build/{p-a5781264.entry.js.map → p-c54d0925.entry.js.map} +0 -0
- /package/www/build/{p-89584f19.entry.js.map → p-cc71a90c.entry.js.map} +0 -0
- /package/www/build/{p-c90249e5.entry.js.map → p-cd0219b4.entry.js.map} +0 -0
- /package/www/build/{p-88e756cd.entry.js.map → p-da7200c2.entry.js.map} +0 -0
- /package/www/build/{p-ae96bc09.entry.js.map → p-df8c381a.entry.js.map} +0 -0
- /package/www/build/{p-3b266de4.entry.js.map → p-df9c3674.entry.js.map} +0 -0
- /package/www/build/{p-609c11d6.entry.js.map → p-e25d7f0a.entry.js.map} +0 -0
- /package/www/build/{p-33eea921.entry.js.map → p-e4d97fbf.entry.js.map} +0 -0
- /package/www/build/{p-f74f9f3c.entry.js.map → p-e529a714.entry.js.map} +0 -0
- /package/www/build/{p-21b85c7f.entry.js.map → p-ea9c0ff3.entry.js.map} +0 -0
- /package/www/build/{p-2a7e4988.entry.js.map → p-f06ad42c.entry.js.map} +0 -0
- /package/www/build/{p-8499a29d.entry.js.map → p-f15d0a00.entry.js.map} +0 -0
- /package/www/build/{p-63e970ee.entry.js.map → p-f425c6f2.entry.js.map} +0 -0
- /package/www/build/{p-f8d45aa4.entry.js.map → p-f703660d.entry.js.map} +0 -0
- /package/www/build/{p-49e4ce84.entry.js.map → p-f8bbca6e.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as t,g as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as t,g as o}from"./p-75c4a726.js";import{L as i}from"./p-6037cdf3.js";const s='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out,\n top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--blue100)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--gray200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--blue100)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out,\n top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out,\n top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--blue100)}';const n=s;const a=class{constructor(t){e(this,t);this.titolo=undefined;this.autori=undefined;this.isbn=undefined;this.faded=undefined;this.cardtype=undefined;this.opened=false;this.customContent=false;this.isOpen=false;this.allowTooltipAuthors=false}handleToggle(){this.isOpen=!this.isOpen;if(this.isOpen){const e=this.getFirstListItem();if(e){requestAnimationFrame((()=>{e.focus()}))}}}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){if(this.opened){this.isOpen=true}}elementsEllipsis(){this.allowTooltipAuthors=this.elementAuthorsHasEllipsis()?true:false}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===i.REAL,trial:this.cardtype===i.TRIAL,temp:this.cardtype===i.TEMP,"custom-content":this.customContent}}footerTransitionHandler(e){if(["visibility","height"].includes(e.propertyName)){this.elementsEllipsis()}}getFirstListItem(){return this.host.querySelector("[slot=list] > li a")}render(){return t("div",{key:"f73773764a1386454f6178fc5509c5b21f8bfd18",class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:true})},t("footer",{key:"2a1b0b0a7f79b1ce3df317f9bae029ab906f8b65",class:this.retrieveClass(),onTransitionEnd:e=>this.footerTransitionHandler(e)},t("span",{key:"f2d5ca8af14e8e9867636ef600b3227ef8c8da5d",class:"toggle"},t("slot",{key:"bb21f81c068753465ef813b69f1746ed0ffe5f27",name:"toggle"})),this.titolo&&t("p",{key:"21985736b6a2ded998967a7f26404a78bae5588f",class:{"custom-content":this.customContent}},this.titolo),t("div",{key:"1da4887c06761a20e1530dcdff33667ec2b675f6",class:{content:true,"custom-content":this.customContent}},t("div",{key:"4eb92e5a2dc0fd6e2bf644170055cfcd086451cb"},t("p",{key:"ffe43ce26641fe2fb1d8a4fc5f5651cd9b22a9cf",class:"authors",ref:e=>this.ellipsisAuthors=e},t("span",{key:"3c4bca4611ad4d5442c4ead8ce21c7f837f788a9",title:this.getTitleAuthors()},t("span",{key:"8d3cd889fdc5cf445cdf3c781f09b5104728fab6","aria-description":"Autori",class:"bold"},this.autori))),t("p",{key:"e344133a7710094e474f125d1cd41a1a4de6787a",class:"year-isbn"},t("span",{key:"f122a9be8bde9df100e872be3533c85a66e0671f",class:"isbn"},t("span",{key:"7b50957552fa95f6831c1004fc239ed28665eebd"},t("span",{key:"0034102e13771426f3ae4feba28ff4b726055e22","aria-description":"ISBN edizione cartacea",class:"bold"},this.isbn)," ","(ed. cartacea)")))),t("div",{key:"d31dbee5a60238c90b450619e0102d68c510bf47",class:`slot-handler ${this.isOpen?"visible":"hidden"}`},t("slot",{key:"6a757acf102ecb223c7bd1f9f8320fb8436fa8cd",name:"list"})))),this.customContent&&t("slot",{key:"41c1bf974a47b8037d571e67cb1aa422c63d444c",name:"content"}))}get host(){return o(this)}};a.style=n;export{a as z_myz_card_footer};
|
|
2
|
+
//# sourceMappingURL=p-e25d7f0a.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,c,h,g as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,c,h,g as r}from"./p-75c4a726.js";import{w as e}from"./p-6037cdf3.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-text);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]):hover>z-icon.sc-z-chip:first-child{fill:var(--color-default-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=e.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"6e341c6b23f7ec91070af8e6790832baa2065338",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"8340f5866aa0b7ae4eefe07fd528d93be8fe6a53",name:this.icon}),h("slot",{key:"36b769d7fd5e8485d4583b094bb6f7d28362a503"}),this.interactiveIcon&&h("button",{key:"1859652a7c22fa0449f6f246d83b20ca3b063aa8",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"1f21cc01c122a3d605b038cbc12d43294cac838b",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return r(this)}};o.style=s;export{o as z_chip};
|
|
2
|
+
//# sourceMappingURL=p-e4d97fbf.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,c as o,h as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,c as o,h as i}from"./p-75c4a726.js";const e="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";const t=e;const a=class{constructor(i){r(this,i);this.toggleClick=o(this,"toggleClick",7);this.label=undefined;this.isdisabled=false;this.avoidclick=undefined;this.opened=false;this.ariaLabel=""}emitToggleClick(){if(this.isdisabled){return}this.opened=!this.opened;this.toggleClick.emit(this.opened)}render(){return i("button",{key:"eef4aef08bdcf1537b12b43287cc58c05274bf37",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},i("z-icon",{key:"93a555e6eec548e3932c28cb6574680d34ecdedf",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};a.style=t;export{a as z_toggle_button};
|
|
2
|
+
//# sourceMappingURL=p-e529a714.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,h as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,h as o}from"./p-75c4a726.js";const s=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";const a=s;const c=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"a04290b826aa50ecac798ad9126d93ee1d7e883e",class:this.type},o("slot",{key:"bc0f26d27fe3a68484f3079f11fb1c767fe255c4"}))}};c.style=a;export{c as z_alert};
|
|
2
|
+
//# sourceMappingURL=p-ea9c0ff3.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as a,h as t,a as e}from"./p-75c4a726.js";const o=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const s=o;const i=class{constructor(t){a(this,t)}render(){return t(e,{key:"799563bb322faa59b5f3c6b39a4996de7db89a8c",role:"list"},t("slot",{key:"c50aea0f183429aacddac1e9382c4413b3e1885f"}))}};i.style=s;export{i as z_stepper};
|
|
2
|
+
//# sourceMappingURL=p-f06ad42c.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,h as a}from"./p-75c4a726.js";import{B as i,d as s}from"./p-6037cdf3.js";const o=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";const n=o;const r=class{constructor(a){t(this,a);this.cardFlipped=e(this,"cardFlipped",7);this.name=undefined;this.cover=undefined;this.disabled=false;this.flipped=false;this.flipbuttonlabel="INFO";this.hideinfobtn=false}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=true){this.flipped=t;this.cardFlipped.emit(t)}render(){return a("div",{key:"5f4b35325a1b33b49f10e1c0009ba0aef368bda3"},a("z-myz-card",{key:"25c1f34f2ebe744132822f8637a54feaeff0fa7a"},a("z-myz-card-header",{key:"0b0b1144271c7f5b75bc05bd7fd6e80d9f20244e",titolo:this.name}),a("div",{key:"508459cbf9949b90b7266be3b2d42a3474a05882",class:`content ${this.flipped?"flipped":""}`},a("div",{key:"4416070294cbee0ecb0751afa54943a58fdb2816",class:"front"},a("z-myz-card-body",{key:"cef16ad669fcc00368191d71aae674210ec96781"},a("z-myz-card-cover",{key:"559ae7ae9c8473b70793e086731e95bd93017989",slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),a("z-button",{key:"31808feee0e2aaa301f654d710eeb02bebc31c55",class:{"hide-info":this.hideinfobtn},variant:i.SECONDARY,icon:"informationsource",size:s.X_SMALL,onClick:()=>this.flipCard(true),disabled:this.flipped},this.flipbuttonlabel)),a("div",{key:"e4086e4ac6cc3d81505174eb274a4057aee9e462",class:"back"},a("slot",{key:"670b96387b02d5a9b2d4c23512cb57a0301e4bc6",name:"info"}))),a("slot",{key:"e1fc9e4977bfb1668fbb51ad54e49d5e0f26749c"})))}};r.style=n;export{r as z_myz_card_dictionary};
|
|
2
|
+
//# sourceMappingURL=p-f15d0a00.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as i,a as t,g as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as a,e as r}from"./p-6037cdf3.js";const n=':host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:18px}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:16px}.z-info-reveal-panel{position:absolute;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{position:fixed;top:auto !important;bottom:auto !important;left:var(--grid-margin) !important;width:calc(100% - (var(--grid-margin) * 2)) !important;max-width:none !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=a.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=r.BIG;this.open=false}adjustPanelPosition(){if(!this.open||!this.panel){return}const e=this.host.getBoundingClientRect();const i=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--grid-margin"),10);const t=document.documentElement.offsetWidth;const o=Math.round((this.position.includes("left")?t-e.left:e.right)-i);this.panel.style.maxWidth=`${o}px`}togglePanel(){this.open=!this.open}closePanel(){this.open=false}handleEscapeKey(e){if(e.key==="Escape"&&this.open){this.closePanel()}}render(){return i(t,{key:"26f1289a1592702b470934f4d9fe38c34039a013",open:this.open},i("button",{key:"970af3aaf1e9460ee380249de460389f1bdfdfda",class:"z-info-reveal-trigger",type:"button",onClick:this.togglePanel.bind(this),"aria-label":!this.label?this.ariaLabel:undefined,"aria-expanded":this.open?"true":"false","aria-controls":"z-info-reveal-panel"},this.icon&&i("z-icon",{key:"396653feab94053d64b2157d4a79699d54cf5cf5",name:this.icon}),this.label&&i("span",{key:"785319a805aecdf9f8c2ffa5f451c0f2868c5df3",class:"z-info-reveal-label"},this.label)),i("div",{key:"729762b03fd3d2fb73914ed9a46d2634ff6b8d0b",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"a16a68e1e7c4b1bcb10e69d1fe48fbe5f8dfda26"}),i("button",{key:"e91b170b87e62dab979876413aad47bdb5e9d758",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"772445e4bc3895c5c0328a5e7adca8994324c471",name:"multiply"}))))}get host(){return o(this)}static get watchers(){return{position:["adjustPanelPosition"],open:["adjustPanelPosition"]}}};l.style=s;export{l as z_info_reveal};
|
|
2
|
+
//# sourceMappingURL=p-f425c6f2.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as a,c as o,h as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as a,c as o,h as r}from"./p-75c4a726.js";import{e as i,Y as t}from"./p-6037cdf3.js";const s=':host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant="background"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant="background"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}:host([size="x-small"]) summary{--summary-height:var(--summary-x-small-height)}:host([size="small"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size="x-small"],[size="small"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant="background"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant="background"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:""}:host([highlight][variant="background"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant="background"]:not([open])) summary::before,:host([highlight][variant="background"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size="x-small"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size="x-small"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size="x-small"],[size="small"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size="x-small"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant="background"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot="tag"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant="background"]+z-accordion[variant="background"]{border-radius:0}z-accordion[variant="background"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant="background"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]::part(summary){border-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}';const c=s;const e=class{constructor(r){a(this,r);this.toggled=o(this,"toggled",7);this.label=undefined;this.icon=undefined;this.size=i.BIG;this.isDisabled=false;this.open=false;this.highlight=false;this.variant=t.DEFAULT;this.shadow=true}onDisabledChange(){if(this.isDisabled){this.open=false}}onDetailsToggle(){if(this.isDisabled){this.open=false;this.detailsElm.open=false;return}this.open=this.detailsElm.open;this.toggled.emit(this.open)}render(){return r("details",{key:"56a50ae163d1cb527d90732d637d0a657641cff7",ref:a=>this.detailsElm=a,onToggle:this.onDetailsToggle.bind(this),open:this.open},r("summary",{key:"22095c950d00c43d6ddfc3eaea13c804e24fbb37",tabIndex:this.isDisabled?-1:null,part:"summary"},this.icon&&r("z-icon",{key:"40f7b6d5dec14284aba76ca8884740b81f4d43a0",class:"z-accordion-label-icon",name:this.icon}),r("span",{key:"781a5720488ab4972e685d3ac4efafaf25cb1a20",class:"z-accordion-label"},this.label),r("span",{key:"83fbad7e915391654344591231db512b13ccd1bb",class:"z-accordion-tags"},r("slot",{key:"d02d6e89bf46e606fdf229906036fbf3ebdbff05",name:"tag"})),r("z-icon",{key:"d239c54b1187939517baf24809cab9c5168afa2a",class:"z-accordion-chevron",name:this.open?"chevron-up":"chevron-down"})),!this.isDisabled&&r("div",{key:"750de9f238fad34d4d380f585cc948067f229f8a",class:"z-accordion-content",part:"content"},r("slot",{key:"41568aa9d4e561b1f7f43fbf2bf9cb7ab0c1a713"})))}static get watchers(){return{isDisabled:["onDisabledChange"]}}};e.style=c;export{e as z_accordion};
|
|
2
|
+
//# sourceMappingURL=p-f8bbca6e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as a,b as t}from"./p-cfa39bd3.js";export{s as setNonce}from"./p-cfa39bd3.js";import{g as o}from"./p-e1255160.js";var i=()=>{{l(a.prototype)}const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};var l=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const t=a.call(this,false);const o=this.childNodes;if(e){for(let e=0;e<o.length;e++){if(o[e].nodeType!==2){t.appendChild(o[e].cloneNode(true))}}}return t}};i().then((async e=>{await o();return t(JSON.parse('[["p-8a728e82",[[1,"z-app-header",{"stuck":[516],"enableOffcanvas":[1540,"enable-offcanvas"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"enableZLogo":[516,"enable-z-logo"],"_stuck":[32],"currentViewport":[32],"menuLength":[32],"drawerOpen":[32]},[[9,"resize","evaluateViewport"],[0,"keydown","handleKeyDown"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckMode"]}],[1,"z-searchbar",{"htmlid":[513],"preventSubmit":[4,"prevent-submit"],"value":[1],"placeholder":[1],"autocomplete":[4],"autocompleteMinChars":[2,"autocomplete-min-chars"],"resultsCount":[2,"results-count"],"searchHelperLabel":[1,"search-helper-label"],"resultsItems":[1,"results-items"],"sortResultsItems":[4,"sort-results-items"],"showSearchButton":[4,"show-search-button"],"searchButtonIconOnly":[4,"search-button-icon-only"],"size":[1],"variant":[1],"searchString":[32],"currResultsCount":[32],"showResults":[32],"isMobile":[32]},[[4,"click","handleOutsideClick"]],{"resultsItems":["watchItems"],"resultsCount":["watchResultsCount"],"value":["watchValue"],"searchString":["watchSearchString"],"showResults":["watchShowResults"]}],[6,"z-offcanvas",{"variant":[513],"open":[1540],"transitiondirection":[513],"skipLoadAnimation":[1028,"skip-load-animation"]},null,{"open":["onOpenChanged"]}],[6,"z-tag",{"icon":[1],"expandable":[4]}],[1,"z-list",{"size":[513],"listType":[513,"list-type"],"role":[513]}],[1,"z-list-element",{"alignButton":[513,"align-button"],"clickable":[516],"dividerColor":[1,"divider-color"],"dividerType":[1,"divider-type"],"dividerSize":[1,"divider-size"],"expandable":[516],"expandableStyle":[1,"expandable-style"],"listElementId":[514,"list-element-id"],"size":[513],"color":[513],"disabled":[516],"listElementPosition":[513,"list-element-position"],"listType":[513,"list-type"],"role":[513],"htmlTabindex":[2,"html-tabindex"],"showInnerContent":[32]},[[4,"accessibleFocus","accessibleFocusHandler"]]],[1,"z-list-group",{"size":[513],"dividerType":[513,"divider-type"],"dividerSize":[513,"divider-size"],"dividerColor":[513,"divider-color"],"listType":[513,"list-type"]}],[2,"z-input",{"htmlid":[1],"type":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"ariaExpanded":[1,"aria-expanded"],"ariaControls":[1,"aria-controls"],"ariaAutocomplete":[1,"aria-autocomplete"],"ariaActivedescendant":[1,"aria-activedescendant"],"value":[1025],"disabled":[516],"readonly":[4],"required":[4],"checked":[1028],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"labelPosition":[1,"label-position"],"autocomplete":[1],"role":[1],"hasclearicon":[4],"icon":[1],"min":[2],"minlength":[2],"max":[2],"maxlength":[2],"step":[2],"pattern":[1],"size":[513],"isTyping":[32],"passwordHidden":[32],"isChecked":[64]},[[4,"inputCheck","inputCheckListener"]]],[6,"z-button",{"ariaLabel":[513,"aria-label"],"role":[1],"href":[1],"target":[1],"htmlid":[1],"name":[1],"disabled":[516],"type":[1],"variant":[513],"icon":[1],"size":[513]}],[1,"z-input-message",{"message":[1],"status":[513],"statusRole":[32]},null,{"message":["onMessageChange"],"status":["onMessageChange"]}],[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}],[1,"z-icon",{"name":[1],"height":[2],"width":[2],"iconid":[1],"fill":[1]}]]],["p-cf2640b0",[[1,"z-app-header-deprecated",{"stuck":[516],"hero":[1],"overlay":[516],"flow":[513],"drawerOpen":[516,"drawer-open"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"_stuck":[32],"currentViewport":[32],"menuLength":[32]},[[9,"resize","evaluateViewport"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckMode"]}]]],["p-57ecb5a7",[[2,"z-select",{"htmlid":[1],"items":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"readonly":[4],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"autocomplete":[4],"noresultslabel":[1],"hasGroupItems":[4,"has-group-items"],"isfixed":[4],"resetItem":[1,"reset-item"],"size":[1],"isOpen":[32],"selectedItem":[32],"focusedItemId":[32],"searchString":[32],"getSelectedItem":[64],"getValue":[64],"setValue":[64]},[[0,"ariaDescendantFocus","getFocusedItemHandler"]],{"items":["watchItems"]}]]],["p-fe87b081",[[1,"z-combobox",{"inputid":[1],"items":[1],"label":[1],"disabled":[516],"hassearch":[4],"searchlabel":[1],"searchplaceholder":[1],"searchtitle":[1],"noresultslabel":[1],"isopen":[1028],"isfixed":[4],"closesearchtext":[1],"hascheckall":[4],"checkalltext":[1],"uncheckalltext":[1],"maxcheckableitems":[2],"hasgroupitems":[4],"size":[1],"searchValue":[32],"selectedCounter":[32],"renderItemsList":[32],"focusedItemId":[32],"checkboxes":[32]},null,{"items":["watchItems"],"searchValue":["watchSearchValue"],"checkboxes":["watchCheckboxes"]}]]],["p-ad76b8ff",[[1,"z-breadcrumb",{"pathStyle":[513,"path-style"],"homepageVariant":[1,"homepage-variant"],"maxNodesToShow":[2,"max-nodes-to-show"],"preventFollowUrl":[4,"prevent-follow-url"],"overflowMenuItemRows":[2,"overflow-menu-item-rows"],"truncateChar":[2,"truncate-char"],"viewPortWidth":[32],"hasOverflow":[32],"popoverEllipsisOpen":[32]},[[9,"resize","handleResize"]],{"maxNodesToShow":["handlePropChange"],"viewPortWidth":["handleResizeUp"]}]]],["p-8499a29d",[[1,"z-myz-card-dictionary",{"name":[1],"cover":[1],"disabled":[4],"flipped":[1028],"flipbuttonlabel":[1],"hideinfobtn":[4]},[[0,"flipCard","handleFlipCard"]]]]],["p-28928bb6",[[1,"z-file-upload",{"type":[513],"buttonVariant":[1,"button-variant"],"acceptedFormat":[1,"accepted-format"],"fileMaxSize":[2,"file-max-size"],"mainTitle":[1,"main-title"],"description":[1],"uploadBtnLabel":[1,"upload-btn-label"],"dragAndDropLabel":[1,"drag-and-drop-label"],"allowedFilesMessage":[1,"allowed-files-message"],"uploadClickableMessage":[1,"upload-clickable-message"],"uploadMessage":[1,"upload-message"],"errorModalTitle":[1,"error-modal-title"],"errorModalMessage":[1,"error-modal-message"],"uploadedFilesLabel":[1,"uploaded-files-label"],"hasFileSection":[4,"has-file-section"],"files":[32],"invalidFiles":[32],"getFiles":[64],"removeFile":[64]},[[0,"removeFile","removeFileListener"],[0,"fileDropped","fileDroppedListener"]]]]],["p-88e756cd",[[0,"z-pagination",{"label":[1],"navArrows":[4,"nav-arrows"],"totalPages":[2,"total-pages"],"skip":[2],"edges":[4],"split":[2],"visiblePages":[2,"visible-pages"],"currentPage":[1026,"current-page"],"goToPage":[4,"go-to-page"],"_visiblePages":[32],"isMobile":[32],"goToPageValue":[32]},[[9,"resize","onResize"]],{"_visiblePages":["setPagesContainerWidth"],"visiblePages":["setVisiblePages"],"currentPage":["onPageChanged"],"split":["onSplitChanged"]}]]],["p-3b266de4",[[1,"z-carousel",{"isLoading":[4,"is-loading"],"label":[1],"single":[516],"arrowsPosition":[513,"arrows-position"],"progressMode":[1,"progress-mode"],"fixedArrows":[516,"fixed-arrows"],"ghostLoadingHeight":[2,"ghost-loading-height"],"infinite":[4],"current":[32],"items":[32],"highlightedIndicator":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},null,{"current":["onIndexChange"],"single":["onSingleModeChange"],"infinite":["onInfiniteModeChange"]}]]],["p-12d62027",[[4,"z-date-picker",{"datePickerId":[1,"date-picker-id"],"ariaLabel":[1,"aria-label"],"label":[1],"mode":[1],"flatpickrPosition":[32],"inputError":[32]},[[18,"keydown","handleKeyDown"]],{"mode":["setupPickers"]}]]],["p-054484d4",[[2,"z-file",{"fileNumber":[2,"file-number"],"fileName":[1,"file-name"],"allowPopover":[32],"popoverVisible":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseleave","onMouseLeave"],[0,"interactiveIconClick","onInteractiveIconClick"]]]]],["p-19f8c3d2",[[0,"z-range-picker",{"rangePickerId":[1,"range-picker-id"],"firstAriaLabel":[1,"first-aria-label"],"firstLabel":[1,"first-label"],"secondAriaLabel":[1,"second-aria-label"],"secondLabel":[1,"second-label"],"mode":[1],"firstPickerReadOnly":[4,"first-picker-read-only"],"lastPickerReadOnly":[4,"last-picker-read-only"],"firstPickerPlaceholder":[1,"first-picker-placeholder"],"lastPickerPlaceholder":[1,"last-picker-placeholder"],"flatpickrPosition":[32],"activeInput":[32],"firstInputError":[32],"lastInputError":[32]},[[18,"click","handleClick"],[18,"keyup","handleKeyDown"]],{"firstPickerReadOnly":["setupFirstPickersReadOnly"],"lastPickerReadOnly":["setupLastPickersReadOnly"],"mode":["setupPickers"]}]]],["p-a7292e1c",[[1,"z-td",{"colspan":[2],"sticky":[516],"showMenu":[513,"show-menu"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-ed2c8484",[[1,"z-th",{"colspan":[2],"showMenu":[513,"show-menu"],"sticky":[516],"sortDirection":[1025,"sort-direction"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-e5dc0719",[[4,"z-anchor-navigation",{"hideUnselected":[516,"hide-unselected"],"autoCurrent":[4,"auto-current"],"collapsed":[32]}]]],["p-be4878f2",[[1,"z-myz-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["p-83350b5f",[[1,"z-myz-card-info",{"data":[1],"htmltabindex":[2],"hiddenContent":[32],"tooltip":[32]}]]],["p-2672e36f",[[1,"z-myz-list",{"inputrawdata":[1],"list":[1040]},null,{"inputrawdata":["oninputrawdataChange"]}]]],["p-b84fa3b6",[[1,"z-otp",{"inputNum":[2,"input-num"],"status":[1],"message":[1]}]]],["p-49e4ce84",[[1,"z-accordion",{"label":[1],"icon":[1],"size":[513],"isDisabled":[516,"is-disabled"],"open":[1540],"highlight":[516],"variant":[513],"shadow":[516]},null,{"isDisabled":["onDisabledChange"]}]]],["p-85f84e55",[[1,"z-book-card",{"variant":[1],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"ribbon":[1],"ribbonIcon":[1,"ribbon-icon"],"ribbonInteractive":[4,"ribbon-interactive"],"borderless":[4],"fallbackCover":[1,"fallback-cover"],"operaTitleTag":[1,"opera-title-tag"],"isMobile":[32],"hasResources":[32],"showResources":[32]}]]],["p-6a664748",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028],"allowTooltip":[32]}]]],["p-088a31dc",[[1,"z-card",{"variant":[513],"coverIcon":[1,"cover-icon"],"showShadow":[516,"show-shadow"],"clickable":[516],"hasCoverImage":[32]}]]],["p-6319b5e2",[[1,"z-info-box",{"boxid":[1],"isclosable":[4]}]]],["p-63e970ee",[[1,"z-info-reveal",{"icon":[1],"position":[513],"label":[1],"ariaLabel":[1,"aria-label"],"size":[513],"open":[32]},[[9,"resize","adjustPanelPosition"],[10,"keydown","handleEscapeKey"]],{"position":["adjustPanelPosition"],"open":["adjustPanelPosition"]}]]],["p-8d7323f7",[[1,"z-menu",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"],[4,"canvasOpenStatusChanged","canvasOpenStatusChanged"],[0,"keydown","handleKeyDown"]],{"open":["onOpenChanged"]}]]],["p-8a10fec5",[[1,"z-menu-deprecated",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]],{"open":["onOpenChanged"]}]]],["p-8c517cd7",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"canvasOpenStatusChanged","canvasOpenStatusChanged"],[0,"keydown","handleKeyDown"],[4,"click","handleClick"]]]]],["p-c0bdbfb5",[[1,"z-menu-section-deprecated",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["p-4552744b",[[1,"z-myz-card-icon",{"icon":[1],"isdisabled":[4],"ariaLabel":[1,"aria-label"]}]]],["p-05e9ae1e",[[4,"z-navigation-tabs",{"ariaLabel":[1,"aria-label"],"orientation":[513],"size":[513],"selectedTab":[1026,"selected-tab"],"canNavigate":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},[[0,"click","handleTabClick"],[0,"focusin","onTabFocusIn"],[0,"keydown","navigateThroughTabs"],[0,"focusout","onTabFocusOut"]],{"canNavigate":["checkScrollEnabled"],"selectedTab":["onTabSelected"]}]]],["p-af856537",[[1,"z-notification",{"contenticonname":[1],"actiontext":[1],"type":[513],"showclose":[4],"showshadow":[516],"sticky":[516]}]]],["p-e1852de3",[[6,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descrSlotName":[1,"descr-slot-name"]}]]],["p-c90249e5",[[1,"z-section-title",{"dividerPosition":[1,"divider-position"],"uppercase":[516]}]]],["p-99b791d1",[[1,"z-slideshow",{"slideshowid":[1],"data":[1],"device":[32],"currentSlide":[32]},null,{"data":["watchData"]}]]],["p-77d8ad7e",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"checked":[4],"disabled":[4]}]]],["p-6586441a",[[1,"z-toast-notification",{"heading":[1],"message":[1],"closebutton":[4],"autoclose":[2],"pauseonfocusloss":[4],"type":[1],"isdraggable":[4],"draggablepercentage":[2],"transition":[1],"percentage":[32]},null,{"isdraggable":["watchPropIsdraggable"],"autoclose":["watchPropAutoclose"],"pauseonfocusloss":["watchPropPauseonfocusloss"]}]]],["p-f74f9f3c",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"opened":[1028],"ariaLabel":[1,"aria-label"]}]]],["p-57eee056",[[6,"z-toggle-switch",{"disabled":[516],"labelPosition":[513,"label-position"],"checked":[1028],"htmlid":[1]}]]],["p-a5781264",[[1,"z-tooltip",{"position":[513],"dark":[516],"open":[1540],"bindTo":[1,"bind-to"],"closable":[4]},[[0,"openChange","onPopoverOpenChange"]]]]],["p-0794ae16",[[1,"z-tr",{"expandable":[516],"expanded":[32],"expandableContentId":[32]},[[0,"colspanchange","updateColumns"]],{"expandable":["updateColumns"]}]]],["p-89584f19",[[4,"z-aria-alert",{"mode":[1]}]]],["p-df05727f",[[1,"z-avatar",{"size":[1],"text":[1],"textColor":[1,"text-color"],"backgroundColor":[1,"background-color"],"image":[1025]}]]],["p-324ef970",[[1,"z-cover-hero",{"variant":[513],"contentPosition":[513,"content-position"],"preserveAspectRatio":[516,"preserve-aspect-ratio"]},[[2,"load","onImgLoad"]]]]],["p-8c9f7cef",[[1,"z-logo",{"width":[2],"height":[2],"imageAlt":[1,"image-alt"],"link":[1],"targetBlank":[4,"target-blank"],"mobileLogo":[4,"mobile-logo"]}]]],["p-609c11d6",[[1,"z-myz-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"opened":[4],"customContent":[4,"custom-content"],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["p-385bf4ca",[[1,"z-myz-card-footer-sections"]]],["p-91c04edc",[[1,"z-myz-card-list",{"listdata":[1]}]]],["p-97b0c3b3",[[2,"z-skip-to-content",{"variant":[513],"links":[1025],"visible":[32],"visibleLink":[32]},[[4,"focusout","handleFocusOutSkipToContent"],[4,"focusin","handleFocusSkipToContent"]]]]],["p-2a7e4988",[[1,"z-stepper"]]],["p-4f7dd068",[[1,"z-table",{"bordered":[516],"expandable":[32]}]]],["p-74a65c6f",[[1,"z-tbody"]]],["p-68822fbc",[[1,"z-tfoot",{"sticky":[516]}]]],["p-f8d45aa4",[[1,"z-thead",{"sticky":[516]}]]],["p-ae96bc09",[[1,"z-toast-notification-list",{"position":[513],"newestontop":[4]},null,{"newestontop":["watchPropNewestontop"]}]]],["p-6b2cd695",[[1,"z-visually-hidden"]]],["p-33eea921",[[6,"z-chip",{"icon":[1],"type":[513],"interactiveIcon":[513,"interactive-icon"],"disabled":[516],"ariaLabel":[1,"aria-label"]}]]],["p-21b85c7f",[[1,"z-alert",{"type":[1]}]]],["p-e366782c",[[1,"z-ghost-loading"]]],["p-8b309268",[[1,"z-modal",{"modalid":[1],"modaltitle":[1],"modalsubtitle":[1],"closeButtonLabel":[1,"close-button-label"],"alertdialog":[4],"closable":[4],"scrollInside":[4,"scroll-inside"],"open":[64],"close":[64]},[[0,"keydown","handleKeyDown"]]],[1,"z-dragdrop-area",{"dragAndDropLabel":[1,"drag-and-drop-label"]}]]],["p-6f4dd02b",[[1,"z-myz-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]],["p-a4ada10b",[[1,"z-myz-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}],[1,"z-myz-card-body"],[1,"z-myz-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}],[1,"z-myz-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["p-f21bc3a9",[[1,"z-popover",{"position":[513],"open":[1540],"bindTo":[1,"bind-to"],"showArrow":[516,"show-arrow"],"center":[516],"closable":[4],"currentPosition":[32]},[[8,"keyup","closePopoverWithKeyboard"],[18,"click","handleOutsideClick"]],{"position":["validatePosition"],"open":["onOpen"]}]]]]'),e)}));
|
|
1
|
+
import{p as e,H as a,b as t}from"./p-75c4a726.js";export{s as setNonce}from"./p-75c4a726.js";import{g as o}from"./p-e1255160.js";var i=()=>{{l(a.prototype)}const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};var l=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const t=a.call(this,false);const o=this.childNodes;if(e){for(let e=0;e<o.length;e++){if(o[e].nodeType!==2){t.appendChild(o[e].cloneNode(true))}}}return t}};i().then((async e=>{await o();return t(JSON.parse('[["p-16d625b3",[[1,"z-app-header",{"stuck":[516],"enableOffcanvas":[1540,"enable-offcanvas"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"enableZLogo":[516,"enable-z-logo"],"_stuck":[32],"menuLength":[32],"drawerOpen":[32],"isMobile":[32],"isTablet":[32]},[[5,"focusin","manageMenus"],[5,"click","manageMenus"],[1,"keydown","handleMenubarKeydown"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckChange"]}],[1,"z-searchbar",{"htmlid":[513],"preventSubmit":[4,"prevent-submit"],"value":[1],"placeholder":[1],"autocomplete":[4],"autocompleteMinChars":[2,"autocomplete-min-chars"],"resultsCount":[2,"results-count"],"searchHelperLabel":[1,"search-helper-label"],"resultsItems":[1,"results-items"],"sortResultsItems":[4,"sort-results-items"],"showSearchButton":[4,"show-search-button"],"searchButtonIconOnly":[4,"search-button-icon-only"],"size":[1],"variant":[1],"searchString":[32],"currResultsCount":[32],"showResults":[32],"isMobile":[32]},[[4,"click","handleOutsideClick"]],{"resultsItems":["watchItems"],"resultsCount":["watchResultsCount"],"value":["watchValue"],"searchString":["watchSearchString"],"showResults":["watchShowResults"]}],[6,"z-offcanvas",{"variant":[513],"open":[1540],"transitiondirection":[513],"skipLoadAnimation":[1028,"skip-load-animation"]},null,{"open":["onOpenChanged"]}],[6,"z-tag",{"icon":[1],"expandable":[4]}],[1,"z-list",{"size":[513],"listType":[513,"list-type"],"role":[513]}],[1,"z-list-element",{"alignButton":[513,"align-button"],"clickable":[516],"dividerColor":[1,"divider-color"],"dividerType":[1,"divider-type"],"dividerSize":[1,"divider-size"],"expandable":[516],"expandableStyle":[1,"expandable-style"],"listElementId":[514,"list-element-id"],"size":[513],"color":[513],"disabled":[516],"listElementPosition":[513,"list-element-position"],"listType":[513,"list-type"],"role":[513],"htmlTabindex":[2,"html-tabindex"],"showInnerContent":[32]},[[4,"accessibleFocus","accessibleFocusHandler"]]],[1,"z-list-group",{"size":[513],"dividerType":[513,"divider-type"],"dividerSize":[513,"divider-size"],"dividerColor":[513,"divider-color"],"listType":[513,"list-type"]}],[2,"z-input",{"htmlid":[1],"type":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"ariaExpanded":[1,"aria-expanded"],"ariaControls":[1,"aria-controls"],"ariaAutocomplete":[1,"aria-autocomplete"],"ariaActivedescendant":[1,"aria-activedescendant"],"value":[1025],"disabled":[516],"readonly":[4],"required":[4],"checked":[1028],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"labelPosition":[1,"label-position"],"autocomplete":[1],"role":[1],"hasclearicon":[4],"icon":[1],"min":[2],"minlength":[2],"max":[2],"maxlength":[2],"step":[2],"pattern":[1],"size":[513],"isTyping":[32],"passwordHidden":[32],"isChecked":[64]},[[4,"inputCheck","inputCheckListener"]]],[6,"z-button",{"ariaLabel":[513,"aria-label"],"role":[1],"href":[1],"target":[1],"htmlid":[1],"name":[1],"disabled":[516],"type":[1],"variant":[513],"icon":[1],"size":[513]}],[1,"z-input-message",{"message":[1],"status":[513],"statusRole":[32]},null,{"message":["onMessageChange"],"status":["onMessageChange"]}],[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}],[1,"z-icon",{"name":[1],"height":[2],"width":[2],"iconid":[1],"fill":[1]}]]],["p-608c35ba",[[1,"z-app-header-deprecated",{"stuck":[516],"hero":[1],"overlay":[516],"flow":[513],"drawerOpen":[516,"drawer-open"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"_stuck":[32],"currentViewport":[32],"menuLength":[32]},[[9,"resize","evaluateViewport"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckMode"]}]]],["p-b2356bc7",[[2,"z-select",{"htmlid":[1],"items":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"readonly":[4],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"autocomplete":[4],"noresultslabel":[1],"hasGroupItems":[4,"has-group-items"],"isfixed":[4],"resetItem":[1,"reset-item"],"size":[1],"isOpen":[32],"selectedItem":[32],"focusedItemId":[32],"searchString":[32],"getSelectedItem":[64],"getValue":[64],"setValue":[64]},[[0,"ariaDescendantFocus","getFocusedItemHandler"]],{"items":["watchItems"]}]]],["p-a64a1bf0",[[1,"z-combobox",{"inputid":[1],"items":[1],"label":[1],"disabled":[516],"hassearch":[4],"searchlabel":[1],"searchplaceholder":[1],"searchtitle":[1],"noresultslabel":[1],"isopen":[1028],"isfixed":[4],"closesearchtext":[1],"hascheckall":[4],"checkalltext":[1],"uncheckalltext":[1],"maxcheckableitems":[2],"hasgroupitems":[4],"size":[1],"searchValue":[32],"selectedCounter":[32],"renderItemsList":[32],"focusedItemId":[32],"checkboxes":[32]},null,{"items":["watchItems"],"searchValue":["watchSearchValue"],"checkboxes":["watchCheckboxes"]}]]],["p-9a1b51ed",[[1,"z-breadcrumb",{"pathStyle":[513,"path-style"],"homepageVariant":[1,"homepage-variant"],"maxNodesToShow":[2,"max-nodes-to-show"],"preventFollowUrl":[4,"prevent-follow-url"],"overflowMenuItemRows":[2,"overflow-menu-item-rows"],"truncateChar":[2,"truncate-char"],"viewPortWidth":[32],"hasOverflow":[32],"popoverEllipsisOpen":[32]},[[9,"resize","handleResize"]],{"maxNodesToShow":["handlePropChange"],"viewPortWidth":["handleResizeUp"]}]]],["p-f15d0a00",[[1,"z-myz-card-dictionary",{"name":[1],"cover":[1],"disabled":[4],"flipped":[1028],"flipbuttonlabel":[1],"hideinfobtn":[4]},[[0,"flipCard","handleFlipCard"]]]]],["p-1896cc54",[[1,"z-file-upload",{"type":[513],"buttonVariant":[1,"button-variant"],"acceptedFormat":[1,"accepted-format"],"fileMaxSize":[2,"file-max-size"],"mainTitle":[1,"main-title"],"description":[1],"uploadBtnLabel":[1,"upload-btn-label"],"dragAndDropLabel":[1,"drag-and-drop-label"],"allowedFilesMessage":[1,"allowed-files-message"],"uploadClickableMessage":[1,"upload-clickable-message"],"uploadMessage":[1,"upload-message"],"errorModalTitle":[1,"error-modal-title"],"errorModalMessage":[1,"error-modal-message"],"uploadedFilesLabel":[1,"uploaded-files-label"],"hasFileSection":[4,"has-file-section"],"files":[32],"invalidFiles":[32],"getFiles":[64],"removeFile":[64]},[[0,"removeFile","removeFileListener"],[0,"fileDropped","fileDroppedListener"]]]]],["p-da7200c2",[[0,"z-pagination",{"label":[1],"navArrows":[4,"nav-arrows"],"totalPages":[2,"total-pages"],"skip":[2],"edges":[4],"split":[2],"visiblePages":[2,"visible-pages"],"currentPage":[1026,"current-page"],"goToPage":[4,"go-to-page"],"_visiblePages":[32],"isMobile":[32],"goToPageValue":[32]},[[9,"resize","onResize"]],{"_visiblePages":["setPagesContainerWidth"],"visiblePages":["setVisiblePages"],"currentPage":["onPageChanged"],"split":["onSplitChanged"]}]]],["p-df9c3674",[[1,"z-carousel",{"isLoading":[4,"is-loading"],"label":[1],"single":[516],"arrowsPosition":[513,"arrows-position"],"progressMode":[1,"progress-mode"],"fixedArrows":[516,"fixed-arrows"],"ghostLoadingHeight":[2,"ghost-loading-height"],"infinite":[4],"current":[32],"items":[32],"highlightedIndicator":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},null,{"current":["onIndexChange"],"single":["onSingleModeChange"],"infinite":["onInfiniteModeChange"]}]]],["p-296924ea",[[4,"z-date-picker",{"datePickerId":[1,"date-picker-id"],"ariaLabel":[1,"aria-label"],"label":[1],"mode":[1],"flatpickrPosition":[32],"inputError":[32]},[[18,"keydown","handleKeyDown"]],{"mode":["setupPickers"]}]]],["p-64364cbf",[[2,"z-file",{"fileNumber":[2,"file-number"],"fileName":[1,"file-name"],"allowPopover":[32],"popoverVisible":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseleave","onMouseLeave"],[0,"interactiveIconClick","onInteractiveIconClick"]]]]],["p-1cc37aa7",[[0,"z-range-picker",{"rangePickerId":[1,"range-picker-id"],"firstAriaLabel":[1,"first-aria-label"],"firstLabel":[1,"first-label"],"secondAriaLabel":[1,"second-aria-label"],"secondLabel":[1,"second-label"],"mode":[1],"firstPickerReadOnly":[4,"first-picker-read-only"],"lastPickerReadOnly":[4,"last-picker-read-only"],"firstPickerPlaceholder":[1,"first-picker-placeholder"],"lastPickerPlaceholder":[1,"last-picker-placeholder"],"flatpickrPosition":[32],"activeInput":[32],"firstInputError":[32],"lastInputError":[32]},[[18,"click","handleClick"],[18,"keyup","handleKeyDown"]],{"firstPickerReadOnly":["setupFirstPickersReadOnly"],"lastPickerReadOnly":["setupLastPickersReadOnly"],"mode":["setupPickers"]}]]],["p-823c45d4",[[1,"z-td",{"colspan":[2],"sticky":[516],"showMenu":[513,"show-menu"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-f703660d",[[1,"z-th",{"colspan":[2],"showMenu":[513,"show-menu"],"sticky":[516],"sortDirection":[1025,"sort-direction"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-51f1c9c0",[[4,"z-anchor-navigation",{"hideUnselected":[516,"hide-unselected"],"autoCurrent":[4,"auto-current"],"collapsed":[32]}]]],["p-4537f922",[[1,"z-myz-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["p-707e5f91",[[1,"z-myz-card-info",{"data":[1],"htmltabindex":[2],"hiddenContent":[32],"tooltip":[32]}]]],["p-100c6243",[[1,"z-myz-list",{"inputrawdata":[1],"list":[1040]},null,{"inputrawdata":["oninputrawdataChange"]}]]],["p-7aba5af3",[[1,"z-otp",{"inputNum":[2,"input-num"],"status":[1],"message":[1]}]]],["p-f8bbca6e",[[1,"z-accordion",{"label":[1],"icon":[1],"size":[513],"isDisabled":[516,"is-disabled"],"open":[1540],"highlight":[516],"variant":[513],"shadow":[516]},null,{"isDisabled":["onDisabledChange"]}]]],["p-777ad335",[[1,"z-book-card",{"variant":[1],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"ribbon":[1],"ribbonIcon":[1,"ribbon-icon"],"ribbonInteractive":[4,"ribbon-interactive"],"borderless":[4],"fallbackCover":[1,"fallback-cover"],"operaTitleTag":[1,"opera-title-tag"],"isMobile":[32],"hasResources":[32],"showResources":[32]}]]],["p-d5f5e107",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028],"allowTooltip":[32]}]]],["p-acd911aa",[[1,"z-card",{"variant":[513],"coverIcon":[1,"cover-icon"],"showShadow":[516,"show-shadow"],"clickable":[516],"hasCoverImage":[32]}]]],["p-06d98334",[[1,"z-info-box",{"boxid":[1],"isclosable":[4]}]]],["p-f425c6f2",[[1,"z-info-reveal",{"icon":[1],"position":[513],"label":[1],"ariaLabel":[1,"aria-label"],"size":[513],"open":[32]},[[9,"resize","adjustPanelPosition"],[10,"keydown","handleEscapeKey"]],{"position":["adjustPanelPosition"],"open":["adjustPanelPosition"]}]]],["p-04c39e8a",[[1,"z-menu",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"htmlTabindex":[2,"html-tabindex"],"hasHeader":[32],"hasContent":[32],"setFocus":[64],"focusLastItem":[64]},[[0,"keydown","onKeyDown"]],{"open":["onOpenChanged"],"htmlTabindex":["setLabelA11yAttrs"]}]]],["p-38d5e74f",[[1,"z-menu-deprecated",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]],{"open":["onOpenChanged"]}]]],["p-0542a3c9",[[1,"z-menu-section",{"active":[516],"htmlTabindex":[2,"html-tabindex"],"open":[1028],"hasItems":[32],"items":[32],"setFocus":[64],"focusLastItem":[64]},[[0,"keydown","onItemsKeydown"]],{"open":["onOpenChange"],"htmlTabindex":["onTabindexChange"]}]]],["p-273f3c53",[[1,"z-menu-section-deprecated",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["p-9b9a04ad",[[1,"z-myz-card-icon",{"icon":[1],"isdisabled":[4],"ariaLabel":[1,"aria-label"]}]]],["p-6db2fd46",[[4,"z-navigation-tabs",{"ariaLabel":[1,"aria-label"],"orientation":[513],"size":[513],"selectedTab":[1026,"selected-tab"],"canNavigate":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},[[0,"click","handleTabClick"],[0,"focusin","onTabFocusIn"],[0,"keydown","navigateThroughTabs"],[0,"focusout","onTabFocusOut"]],{"canNavigate":["checkScrollEnabled"],"selectedTab":["onTabSelected"]}]]],["p-2f662fea",[[1,"z-notification",{"contenticonname":[1],"actiontext":[1],"type":[513],"showclose":[4],"showshadow":[516],"sticky":[516]}]]],["p-5a0f0978",[[6,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descrSlotName":[1,"descr-slot-name"]}]]],["p-cd0219b4",[[1,"z-section-title",{"dividerPosition":[1,"divider-position"],"uppercase":[516]}]]],["p-2e432a39",[[1,"z-slideshow",{"slideshowid":[1],"data":[1],"device":[32],"currentSlide":[32]},null,{"data":["watchData"]}]]],["p-a0fd1323",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"checked":[4],"disabled":[4]}]]],["p-5a178c69",[[1,"z-toast-notification",{"heading":[1],"message":[1],"closebutton":[4],"autoclose":[2],"pauseonfocusloss":[4],"type":[1],"isdraggable":[4],"draggablepercentage":[2],"transition":[1],"percentage":[32]},null,{"isdraggable":["watchPropIsdraggable"],"autoclose":["watchPropAutoclose"],"pauseonfocusloss":["watchPropPauseonfocusloss"]}]]],["p-e529a714",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"opened":[1028],"ariaLabel":[1,"aria-label"]}]]],["p-68f4fbc8",[[6,"z-toggle-switch",{"disabled":[516],"labelPosition":[513,"label-position"],"checked":[1028],"htmlid":[1]}]]],["p-c54d0925",[[1,"z-tooltip",{"position":[513],"dark":[516],"open":[1540],"bindTo":[1,"bind-to"],"closable":[4]},[[0,"openChange","onPopoverOpenChange"]]]]],["p-4f3f8578",[[1,"z-tr",{"expandable":[516],"expanded":[32],"expandableContentId":[32]},[[0,"colspanchange","updateColumns"]],{"expandable":["updateColumns"]}]]],["p-cc71a90c",[[4,"z-aria-alert",{"mode":[1]}]]],["p-c679277c",[[1,"z-avatar",{"size":[1],"text":[1],"textColor":[1,"text-color"],"backgroundColor":[1,"background-color"],"image":[1025]}]]],["p-820b48f6",[[1,"z-cover-hero",{"variant":[513],"contentPosition":[513,"content-position"],"preserveAspectRatio":[516,"preserve-aspect-ratio"]},[[2,"load","onImgLoad"]]]]],["p-855334f4",[[1,"z-logo",{"width":[2],"height":[2],"imageAlt":[1,"image-alt"],"link":[1],"targetBlank":[4,"target-blank"],"mobileLogo":[4,"mobile-logo"]}]]],["p-e25d7f0a",[[1,"z-myz-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"opened":[4],"customContent":[4,"custom-content"],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["p-c1e498ac",[[1,"z-myz-card-footer-sections"]]],["p-45dc157c",[[1,"z-myz-card-list",{"listdata":[1]}]]],["p-aaae6b16",[[2,"z-skip-to-content",{"variant":[513],"links":[1025],"visible":[32],"visibleLink":[32]},[[4,"focusout","handleFocusOutSkipToContent"],[4,"focusin","handleFocusSkipToContent"]]]]],["p-f06ad42c",[[1,"z-stepper"]]],["p-28018cd3",[[1,"z-table",{"bordered":[516],"expandable":[32]}]]],["p-7d5bf905",[[1,"z-tbody"]]],["p-2b1fd95a",[[1,"z-tfoot",{"sticky":[516]}]]],["p-63ec7bad",[[1,"z-thead",{"sticky":[516]}]]],["p-df8c381a",[[1,"z-toast-notification-list",{"position":[513],"newestontop":[4]},null,{"newestontop":["watchPropNewestontop"]}]]],["p-3ae8fb1a",[[1,"z-visually-hidden"]]],["p-e4d97fbf",[[6,"z-chip",{"icon":[1],"type":[513],"interactiveIcon":[513,"interactive-icon"],"disabled":[516],"ariaLabel":[1,"aria-label"]}]]],["p-ea9c0ff3",[[1,"z-alert",{"type":[1]}]]],["p-46d98609",[[1,"z-ghost-loading"]]],["p-8d56e74b",[[1,"z-modal",{"modalid":[1],"modaltitle":[1],"modalsubtitle":[1],"closeButtonLabel":[1,"close-button-label"],"alertdialog":[4],"closable":[4],"scrollInside":[4,"scroll-inside"],"open":[64],"close":[64]},[[0,"keydown","handleKeyDown"]]],[1,"z-dragdrop-area",{"dragAndDropLabel":[1,"drag-and-drop-label"]}]]],["p-ab7f129e",[[1,"z-myz-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]],["p-ad97fdc4",[[1,"z-myz-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}],[1,"z-myz-card-body"],[1,"z-myz-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}],[1,"z-myz-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["p-6a1b3e86",[[1,"z-popover",{"position":[513],"open":[1540],"bindTo":[1,"bind-to"],"showArrow":[516,"show-arrow"],"center":[516],"closable":[4],"currentPosition":[32]},[[8,"keyup","closePopoverWithKeyboard"],[18,"click","handleOutsideClick"]],{"position":["validatePosition"],"open":["onOpen"]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=web-components-library.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.
|
|
1
|
+
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,gmgBAAuCJ,EAAA","ignoreList":[]}
|
package/loader/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export interface CustomElementsDefineOptions {
|
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
12
15
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
16
|
|
|
14
17
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zanichelli/albe-web-components",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.1",
|
|
4
4
|
"description": "The Web Components implementation of Albe, the Zanichelli's design system.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"react/"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "
|
|
17
|
+
"build": "yarn build.wc && yarn build.react",
|
|
18
18
|
"build-storybook": "yarn build && storybook build --config-dir .storybook . --output-dir storybook",
|
|
19
19
|
"build.react": "rimraf react && tsc --build tsconfig.react.json",
|
|
20
|
-
"build.wc": "stencil build",
|
|
20
|
+
"build.wc": "mkdirp react && rimraf src-react/react-component-lib && stencil build",
|
|
21
21
|
"generate": "plop --plopfile internals/generators/index.js",
|
|
22
22
|
"lint": "yarn lint.eslint && yarn lint.stylelint && yarn lint.prettier",
|
|
23
23
|
"lint-fix": "yarn lint-fix.eslint && yarn lint-fix.stylelint && yarn lint-fix.prettier",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepare": "husky install",
|
|
31
31
|
"release": "commit-and-tag-version",
|
|
32
32
|
"start": "stencil build --dev --watch --serve --no-open",
|
|
33
|
-
"start-storybook": "storybook dev --port 3003 --no-open",
|
|
33
|
+
"start-storybook": "yarn build.wc --dev && storybook dev --port 3003 --no-open",
|
|
34
34
|
"test": "stencil test --spec",
|
|
35
35
|
"test.e2e": "stencil test --e2e",
|
|
36
36
|
"test.e2e.single": "stencil test --e2e -- ",
|
|
@@ -43,23 +43,21 @@
|
|
|
43
43
|
"hammerjs": "^2.0.8"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@babel/core": "^7.17.8",
|
|
47
46
|
"@commitlint/cli": "^12.0.0",
|
|
48
47
|
"@commitlint/config-conventional": "^12.0.0",
|
|
49
|
-
"@stencil-community/eslint-plugin": "^0.
|
|
50
|
-
"@stencil/core": "4",
|
|
48
|
+
"@stencil-community/eslint-plugin": "^0.8.0",
|
|
49
|
+
"@stencil/core": "~4.20.0",
|
|
51
50
|
"@stencil/react-output-target": "^0.5.3",
|
|
52
|
-
"@storybook/addon-docs": "^8.
|
|
53
|
-
"@storybook/addon-viewport": "^8.
|
|
54
|
-
"@storybook/blocks": "^8.
|
|
55
|
-
"@storybook/web-components": "^8.
|
|
56
|
-
"@storybook/web-components-vite": "^8.
|
|
51
|
+
"@storybook/addon-docs": "^8.3.0",
|
|
52
|
+
"@storybook/addon-viewport": "^8.3.0",
|
|
53
|
+
"@storybook/blocks": "^8.3.0",
|
|
54
|
+
"@storybook/web-components": "^8.3.0",
|
|
55
|
+
"@storybook/web-components-vite": "^8.3.0",
|
|
57
56
|
"@types/hammerjs": "^2.0.39",
|
|
58
57
|
"@types/jest": "^29.5.6",
|
|
59
58
|
"@types/react-dom": "^18.3.0",
|
|
60
59
|
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
61
60
|
"@typescript-eslint/parser": "^7.9.0",
|
|
62
|
-
"babel-loader": "^8.2.4",
|
|
63
61
|
"commit-and-tag-version": "^12.4.1",
|
|
64
62
|
"eslint": "^8.0.0",
|
|
65
63
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -70,14 +68,14 @@
|
|
|
70
68
|
"jest": "^29.7.0",
|
|
71
69
|
"jest-cli": "^29.7.0",
|
|
72
70
|
"lit": "^3.1.2",
|
|
73
|
-
"mkdirp": "^
|
|
74
|
-
"plop": "^
|
|
71
|
+
"mkdirp": "^3.0.1",
|
|
72
|
+
"plop": "^4.0.1",
|
|
75
73
|
"prettier": "^3.2.5",
|
|
76
74
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
77
75
|
"puppeteer": "^21.0.0",
|
|
78
|
-
"rimraf": "^
|
|
79
|
-
"storybook": "^8.
|
|
80
|
-
"storybook-addon-stencil": "^0.2.
|
|
76
|
+
"rimraf": "^6.0.1",
|
|
77
|
+
"storybook": "^8.3.0",
|
|
78
|
+
"storybook-addon-stencil": "^0.2.2",
|
|
81
79
|
"stylelint": "^14.9.1",
|
|
82
80
|
"stylelint-config-idiomatic-order": "^8.1.0",
|
|
83
81
|
"stylelint-config-prettier": "^9.0.3",
|
package/www/build/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as $}from"./p-
|
|
1
|
+
import{c as $}from"./p-67e5e8ed.js";export{Y as AccordionVariant,o as AlertType,A as AvatarSize,X as BookCardVariant,V as BreadcrumbHomepageVariant,U as BreadcrumbPathStyle,d as ButtonSize,c as ButtonType,B as ButtonVariant,C as CardVariant,Q as CarouselArrowsPosition,R as CarouselProgressMode,e as ControlSize,M as CoverHeroContentPosition,J as CoverHeroVariant,p as Device,h as DividerOrientation,D as DividerSize,j as ExpandableListButtonAlign,E as ExpandableListStyle,H as InfoRevealPosition,f as InputStatus,I as InputType,g as KeyboardCode,K as KeyboardKeyCode,k as LabelPosition,L as LicenseType,l as ListDividerType,i as ListSize,m as ListType,b as NavigationTabsKeyboardEvents,N as NavigationTabsOrientation,a as NavigationTabsSize,n as NotificationType,O as OffCanvasVariant,P as PopoverPosition,S as SortDirection,T as ThemeVariant,q as ToastNotification,s as ToastNotificationPosition,r as ToastNotificationTransition,u as TransitionDirection,W as VisibilityCondition,t as ZAriaAlertMode,w as ZChipType,y as ZDatePickerMode,z as ZDatePickerModeValue,F as ZDatePickerPosition,v as ZFileUploadType,G as ZRangePickerMode,x as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-6037cdf3.js";import"./p-5145a606.js";const _={colorFromId:$};export{_ as Utils};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,a as s,g as o}from"./p-75c4a726.js";import{g as n}from"./p-6037cdf3.js";const a=':host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;height:fit-content;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{position:relative;width:100%;padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;text-align:left}.menu-wrapper{display:flex;align-items:center}button.menu-label{cursor:pointer}.menu-label:focus-within{box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center;border-bottom:var(--border-size-large) solid transparent}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{color:var(--color-primary01);font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content z-icon{color:var(--color-primary01);letter-spacing:normal}:host([vertical-context]) .menu-label-content{padding:var(--space-unit) 0;border-width:var(--border-size-small);border-color:var(--color-surface03)}:host([vertical-context]) .menu-label-content ::slotted(*){padding:0}:host(:is([active],[open])) .menu-label .menu-label-content,.menu-label .menu-label-content:hover,.menu-label:focus-within .menu-label-content{border-color:var(--color-secondary01)}:host([vertical-context]:is([active],[open])) .menu-label .menu-label-content::after,:host([vertical-context]) .menu-label:hover::after,:host([vertical-context]) .menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;height:var(--border-size-large);background-color:var(--color-secondary01);content:""}::slotted([data-text]:not([slot]))::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text]:not([slot]))::after{display:none}}::slotted([data-text]:not([slot])){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;padding-bottom:2px;margin:0;appearance:none;color:var(--z-menu-label-color, var(--color-default-text));font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;line-height:1.5}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]:not([vertical-context])) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:0 calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface03)}:host(:not([vertical-context])) .items>::slotted([slot="item"]:not(z-menu-section):last-of-type){border-bottom:0}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active){border-color:var(--color-secondary01);font-weight:var(--font-bd)}';const l=a;const r=t=>(t===null||t===void 0?void 0:t.tagName)==="Z-MENU-SECTION";const h=class{get focusableItem(){return this.items.find((t=>r(t)?t.htmlTabindex===0:t.tabIndex===0))}toggle(){if(!this.hasContent){return}this.open=!this.open}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=e===null||e===void 0?void 0:e.textContent;this.setLabelA11yAttrs()}reflow(t=false){if(this.content&&this.hasContent){const{style:t}=this.content;const{left:e}=this.host.getBoundingClientRect();const i=getComputedStyle(this.content).width;const s=i?parseFloat(i.replace("px","")):375;const o=30;t.left=`${Math.min(window.innerWidth-e-s-o,0)}px`}if(t){this.raf=requestAnimationFrame(this.reflow.bind(this,t))}}checkContent(){this.hasHeader=!!this.host.querySelectorAll("[slot=header]").length;this.hasContent=!!this.host.querySelectorAll("[slot=item]").length||this.hasHeader}setItemsA11yAttrs(){this.items.forEach(((t,e)=>{const i=e===0?0:-1;if(r(t)){t.htmlTabindex=i}else{t.setAttribute("role","menuitem");t.tabIndex=i}}))}onItemsChange(){this.checkContent();this.items=Array.from(this.host.children).filter((({slot:t})=>t==="item"));this.setItemsA11yAttrs();this.items.forEach((t=>{if(!r(t)){t.dataset.text=t.textContent}}))}moveFocus(t,e){if(r(t)){t.setFocus()}else{t.tabIndex=0;setTimeout((()=>{t.focus()}),100)}if(!e){return}if(r(e)){e.htmlTabindex=-1}else{e.tabIndex=-1}}onLabelKeydown(t){if(t.key===n.ENTER||t.key===n.SPACE){t.preventDefault();t.stopPropagation();this.toggle()}if(!this.verticalContext){return}if(t.key===n.ARROW_RIGHT&&!this.open){t.preventDefault();t.stopPropagation();this.open=true;return}if(t.key===n.ARROW_LEFT&&this.open){t.preventDefault();t.stopPropagation();this.open=false}}async setFocus(){this.htmlTabindex=0;const t=this.hasContent?this.labelButton:this.host.firstElementChild;t.focus()}async focusLastItem(){this.htmlTabindex=0;this.moveFocus(this.items[this.items.length-1])}onOpenChanged(){this.setItemsA11yAttrs();if(!this.open){cancelAnimationFrame(this.raf);this.closed.emit();this.items.forEach((t=>{if(r(t)&&t.open){t.open=false}}));return}this.opened.emit();if(this.floating){this.reflow(true)}}setLabelA11yAttrs(){if(this.hasContent&&!this.labelButton){return}if(this.hasContent){this.labelButton.tabIndex=this.htmlTabindex;return}const t=this.host.firstElementChild;t.role="menuitem";t.tabIndex=this.htmlTabindex}onKeyDown(t){if(!this.hasContent){return}switch(t.key){case n.ESC:t.stopPropagation();t.preventDefault();this.open=false;this.setFocus();break;case n.ARROW_DOWN:{if(this.verticalContext&&document.activeElement===this.host&&!this.open){break}if(document.activeElement===this.host){if(!this.open){this.open=true}t.stopPropagation();t.preventDefault();this.moveFocus(this.items[0]);break}const e=this.items.indexOf(this.focusableItem);const i=this.items[e+1];if(this.verticalContext&&!i){break}t.stopPropagation();t.preventDefault();this.moveFocus(i!==null&&i!==void 0?i:this.items[0],this.focusableItem);break}case n.ARROW_UP:{if(this.verticalContext&&document.activeElement===this.host){break}if(document.activeElement===this.host){if(!this.open){this.open=true}t.stopPropagation();t.preventDefault();this.moveFocus(this.items[this.items.length-1],this.focusableItem);break}t.stopPropagation();t.preventDefault();const e=this.items.indexOf(this.focusableItem);const i=this.items[e-1];if(!i&&this.verticalContext){this.setFocus();break}if(r(i)&&i.open){r(this.focusableItem)?this.focusableItem.htmlTabindex=-1:this.focusableItem.tabIndex=-1;i.focusLastItem();break}this.moveFocus(i!==null&&i!==void 0?i:this.items[this.items.length-1],this.focusableItem);break}}}constructor(i){t(this,i);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.floating=true;this.open=false;this.verticalContext=false;this.htmlTabindex=-1;this.hasHeader=undefined;this.hasContent=undefined;this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this)}connectedCallback(){this.onItemsChange();this.setLabelA11yAttrs()}render(){if(!this.hasContent){return i("div",{class:"menu-wrapper"},i("div",{class:"menu-label"},i("div",{class:"menu-label-content"},i("slot",{onSlotchange:this.onLabelSlotChange}))))}return i(s,null,i("div",{class:"menu-wrapper"},i("button",{ref:t=>this.labelButton=t,class:"menu-label","aria-expanded":`${!!this.open}`,"aria-haspopup":`${this.hasContent}`,"aria-label":this.open?"Chiudi menù":"Apri menù",role:"menuitem",tabindex:this.htmlTabindex,onClick:this.toggle,onKeyDown:this.onLabelKeydown},i("div",{class:"menu-label-content"},i("slot",{onSlotchange:this.onLabelSlotChange}),i("z-icon",{name:this.open?"chevron-up":"chevron-down"})))),i("div",{class:"content",ref:t=>this.content=t},this.hasHeader&&i("header",{class:"header"},i("slot",{name:"header",onSlotchange:this.checkContent})),i("div",{class:"items",role:"menu"},i("slot",{name:"item",onSlotchange:this.onItemsChange}))))}get host(){return o(this)}static get watchers(){return{open:["onOpenChanged"],htmlTabindex:["setLabelA11yAttrs"]}}};h.style=l;export{h as z_menu};
|
|
2
|
+
//# sourceMappingURL=p-04c39e8a.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["stylesCss","ZMenuStyle0","isZMenuSection","el","tagName","ZMenu","focusableItem","this","items","find","item","htmlTabindex","tabIndex","toggle","hasContent","open","onLabelSlotChange","ev","labelElement","target","assignedElements","dataset","text","textContent","setLabelA11yAttrs","reflow","live","content","style","left","host","getBoundingClientRect","widthPx","getComputedStyle","width","parseFloat","replace","safeScrollbarSpace","Math","min","window","innerWidth","raf","requestAnimationFrame","bind","checkContent","hasHeader","querySelectorAll","length","setItemsA11yAttrs","forEach","index","tabindex","setAttribute","onItemsChange","Array","from","children","filter","slot","moveFocus","receiver","current","setFocus","setTimeout","focus","onLabelKeydown","key","KeyboardCode","ENTER","SPACE","preventDefault","stopPropagation","verticalContext","ARROW_RIGHT","ARROW_LEFT","label","labelButton","firstElementChild","focusLastItem","onOpenChanged","cancelAnimationFrame","closed","emit","opened","floating","slottedLabel","role","onKeyDown","ESC","ARROW_DOWN","document","activeElement","currentIndex","indexOf","ARROW_UP","constructor","hostRef","connectedCallback","render","h","class","onSlotchange","Host","ref","onClick","name"],"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 width: 100%;\n padding: 0;\n border: 0;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\n.menu-wrapper {\n display: flex;\n align-items: center;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.menu-label .menu-label-content {\n position: relative;\n display: flex;\n align-items: center;\n border-bottom: var(--border-size-large) solid transparent;\n}\n\n:host(:is([active], [open])) .menu-label-content,\n.menu-label:focus-within .menu-label-content {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host(:is([active], [open])) .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content ::slotted(*),\n.menu-label:focus-within .menu-label-content z-icon {\n color: var(--color-primary01);\n letter-spacing: normal;\n}\n\n:host([vertical-context]) .menu-label-content {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host([vertical-context]) .menu-label-content ::slotted(*) {\n padding: 0;\n}\n\n:host(:is([active], [open])) .menu-label .menu-label-content,\n.menu-label .menu-label-content:hover,\n.menu-label:focus-within .menu-label-content {\n border-color: var(--color-secondary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label .menu-label-content::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-within .menu-label-content::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-secondary01);\n content: \"\";\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.menu-label .menu-label-content ::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}\n\n.menu-label .menu-label-content z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: currentcolor;\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\"]:not(z-menu-section):last-of-type) {\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 border-color: var(--color-secondary01);\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\";\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 `active` HTML attribute on the element to highlight it. 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.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 /**\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 if (isZMenuSection(item)) {\n item.htmlTabindex = tabindex;\n } else {\n item.setAttribute(\"role\", \"menuitem\");\n item.tabIndex = tabindex;\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 if (isZMenuSection(current)) {\n current.htmlTabindex = -1;\n } else {\n current.tabIndex = -1;\n }\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 }\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\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_LEFT && this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\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 /** Focus the last item. */\n @Method()\n async focusLastItem(): Promise<void> {\n this.htmlTabindex = 0;\n this.moveFocus(this.items[this.items.length - 1]);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n this.setItemsA11yAttrs();\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.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 return;\n }\n\n if (this.hasContent) {\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 @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (this.verticalContext && document.activeElement === this.host && !this.open) {\n break;\n }\n\n if (document.activeElement === this.host) {\n if (!this.open) {\n this.open = true;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex + 1];\n if (this.verticalContext && !receiver) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\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 (this.verticalContext && document.activeElement === this.host) {\n break;\n }\n\n if (document.activeElement === this.host) {\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n ev.stopPropagation();\n ev.preventDefault();\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 const receiver = this.items[currentIndex - 1];\n if (!receiver && this.verticalContext) {\n this.setFocus();\n break;\n }\n\n if (isZMenuSection(receiver) && receiver.open) {\n isZMenuSection(this.focusableItem)\n ? (this.focusableItem.htmlTabindex = -1)\n : (this.focusableItem.tabIndex = -1);\n receiver.focusLastItem();\n break;\n }\n\n // if the first item is already focused, navigate to the last one\n this.moveFocus(receiver ?? this.items[this.items.length - 1], this.focusableItem);\n break;\n }\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.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n connectedCallback(): void {\n this.onItemsChange();\n this.setLabelA11yAttrs();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-wrapper\">\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div class=\"menu-wrapper\">\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.toggle}\n onKeyDown={this.onLabelKeydown}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n </div>\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"],"mappings":"oGAAA,MAAMA,EAAY,w6HAClB,MAAAC,EAAeD,ECEf,MAAME,EAAkBC,IACtBA,IAAE,MAAFA,SAAE,SAAFA,EAAIC,WAAY,iB,MAaLC,EAAK,MAwDhB,iBAAYC,GACV,OAAOC,KAAKC,MAAMC,MAAMC,GAAUR,EAAeQ,GAAQA,EAAKC,eAAiB,EAAID,EAAKE,WAAa,G,CAG/F,MAAAC,GACN,IAAKN,KAAKO,WAAY,CACpB,M,CAGFP,KAAKQ,MAAQR,KAAKQ,I,CAOZ,iBAAAC,CAAkBC,GACxB,MAAMC,EAAgBD,EAAGE,OAA2BC,mBAAmB,GACvEF,EAAaG,QAAQC,KAAOJ,IAAY,MAAZA,SAAY,SAAZA,EAAcK,YAC1ChB,KAAKiB,mB,CAOC,MAAAC,CAAOC,EAAO,OACpB,GAAInB,KAAKoB,SAAWpB,KAAKO,WAAY,CACnC,MAAMc,MAACA,GAASrB,KAAKoB,QACrB,MAAME,KAACA,GAAQtB,KAAKuB,KAAKC,wBACzB,MAAMC,EAAUC,iBAAiB1B,KAAKoB,SAASO,MAC/C,MAAMA,EAAQF,EAAUG,WAAWH,EAAQI,QAAQ,KAAM,KAAO,IAChE,MAAMC,EAAqB,GAC3BT,EAAMC,KAAO,GAAGS,KAAKC,IAAIC,OAAOC,WAAaZ,EAAOK,EAAQG,EAAoB,M,CAElF,GAAIX,EAAM,CACRnB,KAAKmC,IAAMC,sBAAsBpC,KAAKkB,OAAOmB,KAAKrC,KAAMmB,G,EAOpD,YAAAmB,GACNtC,KAAKuC,YAAcvC,KAAKuB,KAAKiB,iBAAiB,iBAAiBC,OAC/DzC,KAAKO,aAAeP,KAAKuB,KAAKiB,iBAAiB,eAAeC,QAAUzC,KAAKuC,S,CAOvE,iBAAAG,GACN1C,KAAKC,MAAM0C,SAAQ,CAACxC,EAAMyC,KACxB,MAAMC,EAAWD,IAAU,EAAI,GAAK,EACpC,GAAIjD,EAAeQ,GAAO,CACxBA,EAAKC,aAAeyC,C,KACf,CACL1C,EAAK2C,aAAa,OAAQ,YAC1B3C,EAAKE,SAAWwC,C,KAKd,aAAAE,GACN/C,KAAKsC,eACLtC,KAAKC,MAAQ+C,MAAMC,KAAKjD,KAAKuB,KAAK2B,UAAUC,QAAO,EAAEC,UAAUA,IAAS,SACxEpD,KAAK0C,oBACL1C,KAAKC,MAAM0C,SAASxC,IAClB,IAAKR,EAAeQ,GAAO,CACzBA,EAAKW,QAAQC,KAAOZ,EAAKa,W,KAUvB,SAAAqC,CACNC,EACAC,GAEA,GAAI5D,EAAe2D,GAAW,CAC5BA,EAASE,U,KACJ,CACLF,EAASjD,SAAW,EACpBoD,YAAW,KACTH,EAASI,OAAO,GACf,I,CAEL,IAAKH,EAAS,CACZ,M,CAGF,GAAI5D,EAAe4D,GAAU,CAC3BA,EAAQnD,cAAgB,C,KACnB,CACLmD,EAAQlD,UAAY,C,EAIhB,cAAAsD,CAAejD,GACrB,GAAIA,EAAGkD,MAAQC,EAAaC,OAASpD,EAAGkD,MAAQC,EAAaE,MAAO,CAClErD,EAAGsD,iBACHtD,EAAGuD,kBACHjE,KAAKM,Q,CAGP,IAAKN,KAAKkE,gBAAiB,CACzB,M,CAGF,GAAIxD,EAAGkD,MAAQC,EAAaM,cAAgBnE,KAAKQ,KAAM,CACrDE,EAAGsD,iBACHtD,EAAGuD,kBACHjE,KAAKQ,KAAO,KAEZ,M,CAGF,GAAIE,EAAGkD,MAAQC,EAAaO,YAAcpE,KAAKQ,KAAM,CACnDE,EAAGsD,iBACHtD,EAAGuD,kBACHjE,KAAKQ,KAAO,K,EAMhB,cAAMgD,GACJxD,KAAKI,aAAe,EACpB,MAAMiE,EAAQrE,KAAKO,WAAaP,KAAKsE,YAAetE,KAAKuB,KAAKgD,kBAC9DF,EAAMX,O,CAKR,mBAAMc,GACJxE,KAAKI,aAAe,EACpBJ,KAAKqD,UAAUrD,KAAKC,MAAMD,KAAKC,MAAMwC,OAAS,G,CAIhD,aAAAgC,GACEzE,KAAK0C,oBACL,IAAK1C,KAAKQ,KAAM,CACdkE,qBAAqB1E,KAAKmC,KAC1BnC,KAAK2E,OAAOC,OACZ5E,KAAKC,MAAM0C,SAASxC,IAClB,GAAIR,EAAeQ,IAASA,EAAKK,KAAM,CACrCL,EAAKK,KAAO,K,KAIhB,M,CAGFR,KAAK6E,OAAOD,OACZ,GAAI5E,KAAK8E,SAAU,CACjB9E,KAAKkB,OAAO,K,EAKhB,iBAAAD,GACE,GAAIjB,KAAKO,aAAeP,KAAKsE,YAAa,CACxC,M,CAGF,GAAItE,KAAKO,WAAY,CACnBP,KAAKsE,YAAYjE,SAAWL,KAAKI,aAEjC,M,CAGF,MAAM2E,EAAe/E,KAAKuB,KAAKgD,kBAC/BQ,EAAaC,KAAO,WACpBD,EAAa1E,SAAWL,KAAKI,Y,CAI/B,SAAA6E,CAAUvE,GACR,IAAKV,KAAKO,WAAY,CACpB,M,CAGF,OAAQG,EAAGkD,KACT,KAAKC,EAAaqB,IAChBxE,EAAGuD,kBACHvD,EAAGsD,iBACHhE,KAAKQ,KAAO,MACZR,KAAKwD,WACL,MACF,KAAKK,EAAasB,WAAY,CAC5B,GAAInF,KAAKkE,iBAAmBkB,SAASC,gBAAkBrF,KAAKuB,OAASvB,KAAKQ,KAAM,CAC9E,K,CAGF,GAAI4E,SAASC,gBAAkBrF,KAAKuB,KAAM,CACxC,IAAKvB,KAAKQ,KAAM,CACdR,KAAKQ,KAAO,I,CAEdE,EAAGuD,kBACHvD,EAAGsD,iBACHhE,KAAKqD,UAAUrD,KAAKC,MAAM,IAC1B,K,CAGF,MAAMqF,EAAetF,KAAKC,MAAMsF,QAAQvF,KAAKD,eAC7C,MAAMuD,EAAWtD,KAAKC,MAAMqF,EAAe,GAC3C,GAAItF,KAAKkE,kBAAoBZ,EAAU,CACrC,K,CAGF5C,EAAGuD,kBACHvD,EAAGsD,iBAEHhE,KAAKqD,UAAUC,IAAQ,MAARA,SAAQ,EAARA,EAAYtD,KAAKC,MAAM,GAAID,KAAKD,eAC/C,K,CAEF,KAAK8D,EAAa2B,SAAU,CAC1B,GAAIxF,KAAKkE,iBAAmBkB,SAASC,gBAAkBrF,KAAKuB,KAAM,CAChE,K,CAGF,GAAI6D,SAASC,gBAAkBrF,KAAKuB,KAAM,CAExC,IAAKvB,KAAKQ,KAAM,CACdR,KAAKQ,KAAO,I,CAEdE,EAAGuD,kBACHvD,EAAGsD,iBACHhE,KAAKqD,UAAUrD,KAAKC,MAAMD,KAAKC,MAAMwC,OAAS,GAAIzC,KAAKD,eACvD,K,CAGFW,EAAGuD,kBACHvD,EAAGsD,iBACH,MAAMsB,EAAetF,KAAKC,MAAMsF,QAAQvF,KAAKD,eAC7C,MAAMuD,EAAWtD,KAAKC,MAAMqF,EAAe,GAC3C,IAAKhC,GAAYtD,KAAKkE,gBAAiB,CACrClE,KAAKwD,WACL,K,CAGF,GAAI7D,EAAe2D,IAAaA,EAAS9C,KAAM,CAC7Cb,EAAeK,KAAKD,eACfC,KAAKD,cAAcK,cAAgB,EACnCJ,KAAKD,cAAcM,UAAY,EACpCiD,EAASkB,gBACT,K,CAIFxE,KAAKqD,UAAUC,IAAQ,MAARA,SAAQ,EAARA,EAAYtD,KAAKC,MAAMD,KAAKC,MAAMwC,OAAS,GAAIzC,KAAKD,eACnE,K,GAKN,WAAA0F,CAAAC,G,4GAjTY,K,UAIL,M,qBAOW,M,mBAOF,E,mDAgSd1F,KAAKM,OAASN,KAAKM,OAAO+B,KAAKrC,MAC/BA,KAAKsC,aAAetC,KAAKsC,aAAaD,KAAKrC,MAC3CA,KAAKS,kBAAoBT,KAAKS,kBAAkB4B,KAAKrC,MACrDA,KAAK+C,cAAgB/C,KAAK+C,cAAcV,KAAKrC,MAC7CA,KAAK2D,eAAiB3D,KAAK2D,eAAetB,KAAKrC,K,CAGjD,iBAAA2F,GACE3F,KAAK+C,gBACL/C,KAAKiB,mB,CAGP,MAAA2E,GACE,IAAK5F,KAAKO,WAAY,CACpB,OACEsF,EAAA,OAAKC,MAAM,gBACTD,EAAA,OAAKC,MAAM,cACTD,EAAA,OAAKC,MAAM,sBACTD,EAAA,QAAME,aAAc/F,KAAKS,sB,CAOnC,OACEoF,EAACG,EAAI,KACHH,EAAA,OAAKC,MAAM,gBACTD,EAAA,UACEI,IAAMrG,GAAQI,KAAKsE,YAAc1E,EACjCkG,MAAM,aAAY,gBACH,KAAK9F,KAAKQ,OAAM,gBAChB,GAAGR,KAAKO,aAAY,aACvBP,KAAKQ,KAAO,cAAgB,YACxCwE,KAAK,WACLnC,SAAU7C,KAAKI,aACf8F,QAASlG,KAAKM,OACd2E,UAAWjF,KAAK2D,gBAEhBkC,EAAA,OAAKC,MAAM,sBACTD,EAAA,QAAME,aAAc/F,KAAKS,oBACzBoF,EAAA,UAAQM,KAAMnG,KAAKQ,KAAO,aAAe,oBAK/CqF,EAAA,OACEC,MAAM,UACNG,IAAMrG,GAAQI,KAAKoB,QAAUxB,GAE5BI,KAAKuC,WACJsD,EAAA,UAAQC,MAAM,UACZD,EAAA,QACEM,KAAK,SACLJ,aAAc/F,KAAKsC,gBAKzBuD,EAAA,OACEC,MAAM,QACNd,KAAK,QAELa,EAAA,QACEM,KAAK,OACLJ,aAAc/F,KAAK+C,kB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as e,h as s,a as i,g as o}from"./p-75c4a726.js";import{g as a}from"./p-6037cdf3.js";const n=':host{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.label{display:flex;width:100%;align-items:center;padding:var(--space-unit) 0;border:0;border-bottom:var(--border-size-small) solid var(--color-surface03);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}:host(:is([active],[open])) .label,.label:focus:focus-visible,.label:hover{border-color:var(--color-secondary01)}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}::slotted([slot="section"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-1);line-height:1.333;outline:none}::slotted([slot="section"]:last-of-type){border:none}::slotted([slot="section"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}::slotted([slot="section"]:hover),::slotted([slot="section"]:focus:focus-visible),::slotted([slot="section"][active]){color:var(--color-secondary01);font-weight:var(--font-bd)}';const l=n;const h=class{get focusableItem(){return this.items.find((({tabIndex:t})=>t===0))}toggle(){if(!this.hasItems){return}this.open=!this.open;this.setFocus()}setItemsA11yAttrs(){if(!this.hasItems){return}this.items.forEach(((t,e)=>{t.setAttribute("role","menuitem");t.setAttribute("tabindex",e===0?"0":"-1")}))}onItemsChange(){this.items=Array.from(this.host.querySelectorAll('[slot="section"]'));this.hasItems=this.items.length>0;this.setItemsA11yAttrs()}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=e===null||e===void 0?void 0:e.textContent}onLabelKeydown(t){if(t.key===a.ENTER||t.key===a.SPACE){t.preventDefault();t.stopPropagation();this.toggle()}}moveFocus(t,e){t.tabIndex=0;setTimeout((()=>{t.focus()}),100);if(e){e.tabIndex=-1}}async setFocus(){this.htmlTabindex=0;setTimeout((()=>{this.label.focus()}),100)}async focusLastItem(){this.htmlTabindex=0;this.moveFocus(this.items[this.items.length-1])}onOpenChange(){if(!this.open){this.closed.emit();this.setItemsA11yAttrs()}else{this.opened.emit()}}onTabindexChange(){this.label.tabIndex=this.htmlTabindex}onItemsKeydown(t){switch(t.key){case a.ESC:case a.ARROW_LEFT:if(!this.open){break}t.preventDefault();t.stopPropagation();this.label.focus();this.open=false;break;case a.ARROW_RIGHT:if(this.open){break}t.preventDefault();t.stopPropagation();this.open=true;break;case a.ARROW_DOWN:{if(!this.open){break}if(document.activeElement===this.host){t.preventDefault();t.stopPropagation();this.moveFocus(this.items[0]);break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e+1];if(s){t.preventDefault();t.stopPropagation();this.moveFocus(s,this.focusableItem)}break}case a.ARROW_UP:{if(!this.open||document.activeElement===this.host){break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e-1];t.preventDefault();t.stopPropagation();if(s){this.moveFocus(s,this.focusableItem)}else{this.setFocus()}break}}}constructor(s){t(this,s);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.htmlTabindex=-1;this.open=undefined;this.hasItems=undefined;this.items=undefined;this.toggle=this.toggle.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this);this.onItemsKeydown=this.onItemsKeydown.bind(this)}connectedCallback(){this.onItemsChange()}render(){return s(i,{key:"387e43b42ac8233f88d329a592bef924ebcf9ee9",open:this.open},s("button",{key:"d6014cdeb9a6ff2b4e95c43db7d2bae2b4d1c811",ref:t=>this.label=t,class:"label","aria-haspopup":`${this.hasItems}`,"aria-expanded":`${!!this.open}`,role:"menuitem",tabindex:this.htmlTabindex,onClick:this.toggle,onKeyDown:this.onLabelKeydown},s("slot",{key:"d0065cf62f83d83df43b5c2413d3e13b23a1bb6a",onSlotchange:this.onLabelSlotChange}),this.hasItems&&s("z-icon",{key:"e6adc51de79f1fbcb76b025cd6226388ff4d90f0",name:this.open?"chevron-up":"chevron-down"})),this.open&&s("div",{key:"151f31f24ec306ce4cb45b70b8ae5a6023fd063d",class:"items",role:"menu"},s("slot",{key:"d4d67539788121360de0e4dabf51ba22086c1345",name:"section",onSlotchange:this.onItemsChange})))}get host(){return o(this)}static get watchers(){return{open:["onOpenChange"],htmlTabindex:["onTabindexChange"]}}};h.style=l;export{h as z_menu_section};
|
|
2
|
+
//# sourceMappingURL=p-0542a3c9.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["stylesCss","ZMenuSectionStyle0","ZMenuSection","focusableItem","this","items","find","tabIndex","toggle","hasItems","open","setFocus","setItemsA11yAttrs","forEach","item","index","setAttribute","onItemsChange","Array","from","host","querySelectorAll","length","onLabelSlotChange","ev","labelElement","target","assignedElements","dataset","text","textContent","onLabelKeydown","key","KeyboardCode","ENTER","SPACE","preventDefault","stopPropagation","moveFocus","receiver","current","setTimeout","focus","htmlTabindex","label","focusLastItem","onOpenChange","closed","emit","opened","onTabindexChange","onItemsKeydown","ESC","ARROW_LEFT","ARROW_RIGHT","ARROW_DOWN","document","activeElement","currentIndex","indexOf","ARROW_UP","constructor","hostRef","bind","connectedCallback","render","h","Host","ref","el","class","role","tabindex","onClick","onKeyDown","onSlotchange","name"],"sources":["src/components/z-menu-section/styles.css?tag=z-menu-section&encapsulation=shadow","src/components/z-menu-section/index.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 0;\n font-family: var(--font-family-sans);\n}\n\n:host,\n::slotted(*),\n* {\n box-sizing: border-box;\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.label {\n display: flex;\n width: 100%;\n align-items: center;\n padding: var(--space-unit) 0;\n border: 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n margin: 0;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n text-align: left;\n}\n\n:host(:is([active], [open])) .label,\n.label:focus:focus-visible,\n.label:hover {\n border-color: var(--color-secondary01);\n}\n\n.label:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:is([active], [open])) .label ::slotted(*),\n.label:focus:focus-visible ::slotted(*),\n.label:hover ::slotted(*) {\n font-weight: var(--font-bd);\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n/* Trick to prevent 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])::after {\n overflow: hidden;\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n.label ::slotted(*) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.label z-icon {\n margin-left: calc(var(--space-unit) * 4);\n fill: var(--color-default-icon);\n}\n\n.items {\n display: flex;\n width: 100%;\n flex-direction: column;\n padding: calc(var(--space-unit) / 2);\n padding-bottom: calc(var(--space-unit) * 1.5);\n}\n\n::slotted([slot=\"section\"]) {\n display: inline-flex;\n padding: calc(var(--space-unit) / 2);\n margin: 0;\n font-size: var(--font-size-1);\n line-height: 1.333;\n outline: none;\n}\n\n::slotted([slot=\"section\"]:last-of-type) {\n border: none;\n}\n\n::slotted([slot=\"section\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-secondary01);\n}\n\n::slotted([slot=\"section\"]:hover),\n::slotted([slot=\"section\"]:focus:focus-visible),\n::slotted([slot=\"section\"][active]) {\n color: var(--color-secondary01);\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\";\n\n/**\n * A component to create submenus inside the ZMenu.\n * @slot - Label of the menu section.\n * @slot item - Single entry of the section. Set the same slot name to different items to put many of them. Add the `active` attribute to a slotted item to highlight it.\n */\n@Component({\n tag: \"z-menu-section\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuSection {\n @Element() host: HTMLZMenuSectionElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Tabindex value to set on the label button.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZMenu).\n */\n @Prop()\n htmlTabindex = -1;\n\n /** The opening state of the section. */\n @Prop({mutable: true})\n open: boolean;\n\n @State()\n hasItems: boolean;\n\n @State()\n items: HTMLElement[];\n\n /** The section has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The section has been closed. */\n @Event()\n closed: EventEmitter;\n\n private label: HTMLButtonElement;\n\n private get focusableItem(): HTMLElement {\n return this.items.find(({tabIndex}) => tabIndex === 0);\n }\n\n private toggle(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.open = !this.open;\n this.setFocus();\n }\n\n private setItemsA11yAttrs(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.items.forEach((item, index) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.setAttribute(\"tabindex\", index === 0 ? \"0\" : \"-1\");\n });\n }\n\n private onItemsChange(): void {\n this.items = Array.from(this.host.querySelectorAll('[slot=\"section\"]')) as HTMLElement[];\n this.hasItems = this.items.length > 0;\n this.setItemsA11yAttrs();\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 }\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 }\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 */\n private moveFocus(receiver: HTMLElement, current?: HTMLElement): void {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n if (current) {\n current.tabIndex = -1;\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 setTimeout(() => {\n this.label.focus();\n }, 100);\n }\n\n /** Focus the last item. */\n @Method()\n async focusLastItem(): Promise<void> {\n this.htmlTabindex = 0;\n this.moveFocus(this.items[this.items.length - 1]);\n }\n\n @Watch(\"open\")\n onOpenChange(): void {\n if (!this.open) {\n this.closed.emit();\n this.setItemsA11yAttrs();\n } else {\n this.opened.emit();\n }\n }\n\n @Watch(\"htmlTabindex\")\n onTabindexChange(): void {\n this.label.tabIndex = this.htmlTabindex;\n }\n\n @Listen(\"keydown\")\n private onItemsKeydown(ev: KeyboardEvent): void {\n switch (ev.key) {\n case KeyboardCode.ESC:\n case KeyboardCode.ARROW_LEFT:\n if (!this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.label.focus();\n this.open = false;\n break;\n case KeyboardCode.ARROW_RIGHT:\n if (this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (!this.open) {\n break;\n }\n if (document.activeElement === this.host) {\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(this.items[0]);\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex + 1];\n if (receiver) {\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(receiver, this.focusableItem);\n }\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (!this.open || document.activeElement === this.host) {\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex - 1];\n ev.preventDefault();\n ev.stopPropagation();\n if (receiver) {\n this.moveFocus(receiver, this.focusableItem);\n } else {\n // since there isn't a previous item to focus, give the focus to the label element\n this.setFocus();\n }\n break;\n }\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n this.onItemsKeydown = this.onItemsKeydown.bind(this);\n }\n\n connectedCallback(): void {\n this.onItemsChange();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host open={this.open}>\n <button\n ref={(el) => (this.label = el)}\n class=\"label\"\n aria-haspopup={`${this.hasItems}`}\n aria-expanded={`${!!this.open}`}\n role=\"menuitem\"\n tabindex={this.htmlTabindex}\n onClick={this.toggle}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n {this.hasItems && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n {this.open && (\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"section\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,q9DAClB,MAAAC,EAAeD,E,MCYFE,EAAY,MAkCvB,iBAAYC,GACV,OAAOC,KAAKC,MAAMC,MAAK,EAAEC,cAAcA,IAAa,G,CAG9C,MAAAC,GACN,IAAKJ,KAAKK,SAAU,CAClB,M,CAGFL,KAAKM,MAAQN,KAAKM,KAClBN,KAAKO,U,CAGC,iBAAAC,GACN,IAAKR,KAAKK,SAAU,CAClB,M,CAGFL,KAAKC,MAAMQ,SAAQ,CAACC,EAAMC,KACxBD,EAAKE,aAAa,OAAQ,YAC1BF,EAAKE,aAAa,WAAYD,IAAU,EAAI,IAAM,KAAK,G,CAInD,aAAAE,GACNb,KAAKC,MAAQa,MAAMC,KAAKf,KAAKgB,KAAKC,iBAAiB,qBACnDjB,KAAKK,SAAWL,KAAKC,MAAMiB,OAAS,EACpClB,KAAKQ,mB,CAOC,iBAAAW,CAAkBC,GACxB,MAAMC,EAAgBD,EAAGE,OAA2BC,mBAAmB,GACvEF,EAAaG,QAAQC,KAAOJ,IAAY,MAAZA,SAAY,SAAZA,EAAcK,W,CAGpC,cAAAC,CAAeP,GACrB,GAAIA,EAAGQ,MAAQC,EAAaC,OAASV,EAAGQ,MAAQC,EAAaE,MAAO,CAClEX,EAAGY,iBACHZ,EAAGa,kBACHjC,KAAKI,Q,EAQD,SAAA8B,CAAUC,EAAuBC,GACvCD,EAAShC,SAAW,EACpBkC,YAAW,KACTF,EAASG,OAAO,GACf,KACH,GAAIF,EAAS,CACXA,EAAQjC,UAAY,C,EAMxB,cAAMI,GACJP,KAAKuC,aAAe,EACpBF,YAAW,KACTrC,KAAKwC,MAAMF,OAAO,GACjB,I,CAKL,mBAAMG,GACJzC,KAAKuC,aAAe,EACpBvC,KAAKkC,UAAUlC,KAAKC,MAAMD,KAAKC,MAAMiB,OAAS,G,CAIhD,YAAAwB,GACE,IAAK1C,KAAKM,KAAM,CACdN,KAAK2C,OAAOC,OACZ5C,KAAKQ,mB,KACA,CACLR,KAAK6C,OAAOD,M,EAKhB,gBAAAE,GACE9C,KAAKwC,MAAMrC,SAAWH,KAAKuC,Y,CAIrB,cAAAQ,CAAe3B,GACrB,OAAQA,EAAGQ,KACT,KAAKC,EAAamB,IAClB,KAAKnB,EAAaoB,WAChB,IAAKjD,KAAKM,KAAM,CACd,K,CAEFc,EAAGY,iBACHZ,EAAGa,kBACHjC,KAAKwC,MAAMF,QACXtC,KAAKM,KAAO,MACZ,MACF,KAAKuB,EAAaqB,YAChB,GAAIlD,KAAKM,KAAM,CACb,K,CAEFc,EAAGY,iBACHZ,EAAGa,kBACHjC,KAAKM,KAAO,KACZ,MACF,KAAKuB,EAAasB,WAAY,CAC5B,IAAKnD,KAAKM,KAAM,CACd,K,CAEF,GAAI8C,SAASC,gBAAkBrD,KAAKgB,KAAM,CACxCI,EAAGY,iBACHZ,EAAGa,kBACHjC,KAAKkC,UAAUlC,KAAKC,MAAM,IAC1B,K,CAEF,MAAMqD,EAAetD,KAAKC,MAAMsD,QAAQvD,KAAKD,eAC7C,MAAMoC,EAAWnC,KAAKC,MAAMqD,EAAe,GAC3C,GAAInB,EAAU,CACZf,EAAGY,iBACHZ,EAAGa,kBACHjC,KAAKkC,UAAUC,EAAUnC,KAAKD,c,CAEhC,K,CAEF,KAAK8B,EAAa2B,SAAU,CAC1B,IAAKxD,KAAKM,MAAQ8C,SAASC,gBAAkBrD,KAAKgB,KAAM,CACtD,K,CAEF,MAAMsC,EAAetD,KAAKC,MAAMsD,QAAQvD,KAAKD,eAC7C,MAAMoC,EAAWnC,KAAKC,MAAMqD,EAAe,GAC3ClC,EAAGY,iBACHZ,EAAGa,kBACH,GAAIE,EAAU,CACZnC,KAAKkC,UAAUC,EAAUnC,KAAKD,c,KACzB,CAELC,KAAKO,U,CAEP,K,GAKN,WAAAkD,CAAAC,G,iHA7KgB,E,iEA8Kd1D,KAAKI,OAASJ,KAAKI,OAAOuD,KAAK3D,MAC/BA,KAAKa,cAAgBb,KAAKa,cAAc8C,KAAK3D,MAC7CA,KAAKmB,kBAAoBnB,KAAKmB,kBAAkBwC,KAAK3D,MACrDA,KAAK2B,eAAiB3B,KAAK2B,eAAegC,KAAK3D,MAC/CA,KAAK+C,eAAiB/C,KAAK+C,eAAeY,KAAK3D,K,CAGjD,iBAAA4D,GACE5D,KAAKa,e,CAGP,MAAAgD,GACE,OACEC,EAACC,EAAI,CAAAnC,IAAA,2CAACtB,KAAMN,KAAKM,MACfwD,EAAA,UAAAlC,IAAA,2CACEoC,IAAMC,GAAQjE,KAAKwC,MAAQyB,EAC3BC,MAAM,QAAO,gBACE,GAAGlE,KAAKK,WAAU,gBAClB,KAAKL,KAAKM,OACzB6D,KAAK,WACLC,SAAUpE,KAAKuC,aACf8B,QAASrE,KAAKI,OACdkE,UAAWtE,KAAK2B,gBAEhBmC,EAAA,QAAAlC,IAAA,2CAAM2C,aAAcvE,KAAKmB,oBACxBnB,KAAKK,UAAYyD,EAAA,UAAAlC,IAAA,2CAAQ4C,KAAMxE,KAAKM,KAAO,aAAe,kBAE5DN,KAAKM,MACJwD,EAAA,OAAAlC,IAAA,2CACEsC,MAAM,QACNC,KAAK,QAELL,EAAA,QAAAlC,IAAA,2CACE4C,KAAK,UACLD,aAAcvE,KAAKa,iB","ignoreList":[]}
|