@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
6
|
const index$1 = require('./index-bab7a651.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":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)}}";
|
|
@@ -50,7 +50,7 @@ const ZInfoReveal = class {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '26f1289a1592702b470934f4d9fe38c34039a013', open: this.open }, index.h("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 && index.h("z-icon", { key: '396653feab94053d64b2157d4a79699d54cf5cf5', name: this.icon }), this.label && index.h("span", { key: '785319a805aecdf9f8c2ffa5f451c0f2868c5df3', class: "z-info-reveal-label" }, this.label)), index.h("div", { key: '729762b03fd3d2fb73914ed9a46d2634ff6b8d0b', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, index.h("slot", { key: 'a16a68e1e7c4b1bcb10e69d1fe48fbe5f8dfda26' }), index.h("button", { key: 'e91b170b87e62dab979876413aad47bdb5e9d758', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, index.h("z-icon", { key: '772445e4bc3895c5c0328a5e7adca8994324c471', name: "multiply" })))));
|
|
54
54
|
}
|
|
55
55
|
get host() { return index.getElement(this); }
|
|
56
56
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";
|
|
8
8
|
const ZLogoStyle0 = stylesCss;
|
|
@@ -25,7 +25,7 @@ const ZLogo = class {
|
|
|
25
25
|
if (this.height) {
|
|
26
26
|
style["height"] = style["max-height"] = `${this.height}px`;
|
|
27
27
|
}
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
28
|
+
return (index.h(index.Host, { key: '62a2be82e036760d34d812904b967ac96a22604a', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (index.h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, index.h("img", { alt: this.imageAlt }))) : (index.h("img", { alt: this.imageAlt }))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
ZLogo.style = ZLogoStyle0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column;--z-menu-label-color:var(--color-default-text)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host .menu-label .menu-label-content ::slotted(*:not([slot]):focus:focus-visible){box-shadow:none !important}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:\"\";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-secondary01)}::slotted([data-text])::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])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.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]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) 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.25;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot=\"item\"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.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)}";
|
|
8
8
|
const ZMenuDeprecatedStyle0 = stylesCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-96af6326.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{display:inline-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)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-secondary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::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.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.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)}.items>::slotted([slot=\"item\"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:focus:focus-visible),.items>::slotted([slot=\"item\"][active]){color:var(--color-secondary01);font-weight:var(--font-bd)}";
|
|
8
8
|
const ZMenuSectionDeprecatedStyle0 = stylesCss;
|
|
@@ -2,121 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index
|
|
5
|
+
const index$1 = require('./index-96af6326.js');
|
|
6
|
+
const index = require('./index-bab7a651.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{display:
|
|
8
|
+
const stylesCss = ":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)}";
|
|
9
9
|
const ZMenuSectionStyle0 = stylesCss;
|
|
10
10
|
|
|
11
11
|
const ZMenuSection = class {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.opened = index.createEvent(this, "opened", 7);
|
|
15
|
-
this.closed = index.createEvent(this, "closed", 7);
|
|
16
|
-
this.currentIndex = -1;
|
|
17
|
-
this.currentCanvasOpenStatus = false;
|
|
18
|
-
this.active = undefined;
|
|
19
|
-
this.open = undefined;
|
|
20
|
-
this.hasContent = undefined;
|
|
21
|
-
}
|
|
22
|
-
canvasOpenStatusChanged(e) {
|
|
23
|
-
this.currentCanvasOpenStatus = e.detail;
|
|
24
|
-
}
|
|
25
|
-
handleKeyDown(e) {
|
|
26
|
-
if (e.code === index$1.KeyboardCode.ENTER) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (this.open && !this.currentCanvasOpenStatus) {
|
|
30
|
-
this.handleNavigationSideArrow(e);
|
|
31
|
-
}
|
|
32
|
-
this.handleArrowsNav(e);
|
|
33
|
-
}
|
|
34
|
-
handleNavigationSideArrow(e) {
|
|
35
|
-
if (e.code !== index$1.KeyboardCode.ARROW_RIGHT && e.code !== index$1.KeyboardCode.ARROW_LEFT) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (e.code === index$1.KeyboardCode.ARROW_RIGHT) {
|
|
39
|
-
const nextElement = this.hostElement.parentElement.nextElementSibling;
|
|
40
|
-
if (nextElement) {
|
|
41
|
-
const menuButton = nextElement.shadowRoot.querySelector(".menu-label");
|
|
42
|
-
console.log(this.hostElement.parentElement);
|
|
43
|
-
menuButton.focus();
|
|
44
|
-
}
|
|
45
|
-
this.open = false;
|
|
46
|
-
nextElement.setAttribute("open", "true");
|
|
47
|
-
}
|
|
48
|
-
else if (e.code === index$1.KeyboardCode.ARROW_LEFT) {
|
|
49
|
-
const prevElement = this.hostElement.parentElement.previousElementSibling;
|
|
50
|
-
if (prevElement) {
|
|
51
|
-
const menuButton = prevElement.shadowRoot.querySelector(".menu-label");
|
|
52
|
-
menuButton.focus();
|
|
53
|
-
}
|
|
54
|
-
prevElement.setAttribute("open", "true");
|
|
55
|
-
this.open = false;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
handleArrowsNav(e) {
|
|
59
|
-
const menuItems = Array.from(this.hostElement.querySelectorAll('[slot="section"]'));
|
|
60
|
-
if (this.open) {
|
|
61
|
-
e.preventDefault();
|
|
62
|
-
e.stopPropagation();
|
|
63
|
-
if (e.code === index$1.KeyboardCode.ARROW_DOWN || e.code === index$1.KeyboardCode.ARROW_UP) {
|
|
64
|
-
let nextFocusableItem;
|
|
65
|
-
// INFO: reset focus on all menu items
|
|
66
|
-
menuItems.forEach((item) => item.setAttribute("tabindex", "-1"));
|
|
67
|
-
if (e.code === index$1.KeyboardCode.ARROW_DOWN) {
|
|
68
|
-
nextFocusableItem = this.getNextItem(menuItems, 1);
|
|
69
|
-
}
|
|
70
|
-
else if (e.code === index$1.KeyboardCode.ARROW_UP) {
|
|
71
|
-
nextFocusableItem = this.getNextItem(menuItems, -1);
|
|
72
|
-
}
|
|
73
|
-
if (nextFocusableItem) {
|
|
74
|
-
nextFocusableItem.setAttribute("tabindex", "0");
|
|
75
|
-
nextFocusableItem.focus();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else if (e.code === index$1.KeyboardCode.ESC) {
|
|
79
|
-
this.focusToParentAndCloseMenu();
|
|
80
|
-
}
|
|
81
|
-
else if (e.shiftKey && e.code === index$1.KeyboardCode.TAB) {
|
|
82
|
-
this.focusToParentAndCloseMenu();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
getNextItem(menuItems, direction) {
|
|
87
|
-
if (this.currentIndex === -1) {
|
|
88
|
-
this.currentIndex = direction === 1 ? 0 : menuItems.length - 1;
|
|
89
|
-
return menuItems[this.currentIndex];
|
|
90
|
-
}
|
|
91
|
-
this.currentIndex = (this.currentIndex + direction + menuItems.length) % menuItems.length;
|
|
92
|
-
return menuItems[this.currentIndex];
|
|
93
|
-
}
|
|
94
|
-
focusToParentAndCloseMenu() {
|
|
95
|
-
const menuButton = this.hostElement.shadowRoot.querySelector("button");
|
|
96
|
-
menuButton.focus();
|
|
97
|
-
this.currentIndex = -1;
|
|
98
|
-
this.open = false;
|
|
12
|
+
get focusableItem() {
|
|
13
|
+
return this.items.find(({ tabIndex }) => tabIndex === 0);
|
|
99
14
|
}
|
|
100
15
|
toggle() {
|
|
101
|
-
if (!this.
|
|
16
|
+
if (!this.hasItems) {
|
|
102
17
|
return;
|
|
103
18
|
}
|
|
104
19
|
this.open = !this.open;
|
|
105
|
-
this.
|
|
20
|
+
this.setFocus();
|
|
106
21
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
if (!this.open || this.hostElement.contains(ev.target)) {
|
|
22
|
+
setItemsA11yAttrs() {
|
|
23
|
+
if (!this.hasItems) {
|
|
110
24
|
return;
|
|
111
25
|
}
|
|
112
|
-
this.
|
|
113
|
-
|
|
26
|
+
this.items.forEach((item, index) => {
|
|
27
|
+
item.setAttribute("role", "menuitem");
|
|
28
|
+
item.setAttribute("tabindex", index === 0 ? "0" : "-1");
|
|
29
|
+
});
|
|
114
30
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
this.hasContent = this.hostElement.querySelectorAll('[slot="section"]').length > 0;
|
|
31
|
+
onItemsChange() {
|
|
32
|
+
this.items = Array.from(this.host.querySelectorAll('[slot="section"]'));
|
|
33
|
+
this.hasItems = this.items.length > 0;
|
|
34
|
+
this.setItemsA11yAttrs();
|
|
120
35
|
}
|
|
121
36
|
/**
|
|
122
37
|
* Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.
|
|
@@ -124,22 +39,136 @@ const ZMenuSection = class {
|
|
|
124
39
|
*/
|
|
125
40
|
onLabelSlotChange(ev) {
|
|
126
41
|
const labelElement = ev.target.assignedElements()[0];
|
|
127
|
-
labelElement.dataset.text =
|
|
42
|
+
labelElement.dataset.text = labelElement === null || labelElement === void 0 ? void 0 : labelElement.textContent;
|
|
43
|
+
}
|
|
44
|
+
onLabelKeydown(ev) {
|
|
45
|
+
if (ev.key === index.KeyboardCode.ENTER || ev.key === index.KeyboardCode.SPACE) {
|
|
46
|
+
ev.preventDefault();
|
|
47
|
+
ev.stopPropagation();
|
|
48
|
+
this.toggle();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Move focus and adjust the tabindex value of `receiver` and `current` elements,
|
|
53
|
+
* setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.
|
|
54
|
+
*/
|
|
55
|
+
moveFocus(receiver, current) {
|
|
56
|
+
receiver.tabIndex = 0;
|
|
57
|
+
setTimeout(() => {
|
|
58
|
+
receiver.focus();
|
|
59
|
+
}, 100);
|
|
60
|
+
if (current) {
|
|
61
|
+
current.tabIndex = -1;
|
|
62
|
+
}
|
|
128
63
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.
|
|
64
|
+
/** Set tabindex of the label to 0, then focus it. */
|
|
65
|
+
async setFocus() {
|
|
66
|
+
this.htmlTabindex = 0;
|
|
67
|
+
setTimeout(() => {
|
|
68
|
+
this.label.focus();
|
|
69
|
+
}, 100);
|
|
70
|
+
}
|
|
71
|
+
/** Focus the last item. */
|
|
72
|
+
async focusLastItem() {
|
|
73
|
+
this.htmlTabindex = 0;
|
|
74
|
+
this.moveFocus(this.items[this.items.length - 1]);
|
|
75
|
+
}
|
|
76
|
+
onOpenChange() {
|
|
77
|
+
if (!this.open) {
|
|
78
|
+
this.closed.emit();
|
|
79
|
+
this.setItemsA11yAttrs();
|
|
134
80
|
}
|
|
81
|
+
else {
|
|
82
|
+
this.opened.emit();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
onTabindexChange() {
|
|
86
|
+
this.label.tabIndex = this.htmlTabindex;
|
|
87
|
+
}
|
|
88
|
+
onItemsKeydown(ev) {
|
|
89
|
+
switch (ev.key) {
|
|
90
|
+
case index.KeyboardCode.ESC:
|
|
91
|
+
case index.KeyboardCode.ARROW_LEFT:
|
|
92
|
+
if (!this.open) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
ev.preventDefault();
|
|
96
|
+
ev.stopPropagation();
|
|
97
|
+
this.label.focus();
|
|
98
|
+
this.open = false;
|
|
99
|
+
break;
|
|
100
|
+
case index.KeyboardCode.ARROW_RIGHT:
|
|
101
|
+
if (this.open) {
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
ev.preventDefault();
|
|
105
|
+
ev.stopPropagation();
|
|
106
|
+
this.open = true;
|
|
107
|
+
break;
|
|
108
|
+
case index.KeyboardCode.ARROW_DOWN: {
|
|
109
|
+
if (!this.open) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
if (document.activeElement === this.host) {
|
|
113
|
+
ev.preventDefault();
|
|
114
|
+
ev.stopPropagation();
|
|
115
|
+
this.moveFocus(this.items[0]);
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
const currentIndex = this.items.indexOf(this.focusableItem);
|
|
119
|
+
const receiver = this.items[currentIndex + 1];
|
|
120
|
+
if (receiver) {
|
|
121
|
+
ev.preventDefault();
|
|
122
|
+
ev.stopPropagation();
|
|
123
|
+
this.moveFocus(receiver, this.focusableItem);
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
case index.KeyboardCode.ARROW_UP: {
|
|
128
|
+
if (!this.open || document.activeElement === this.host) {
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
const currentIndex = this.items.indexOf(this.focusableItem);
|
|
132
|
+
const receiver = this.items[currentIndex - 1];
|
|
133
|
+
ev.preventDefault();
|
|
134
|
+
ev.stopPropagation();
|
|
135
|
+
if (receiver) {
|
|
136
|
+
this.moveFocus(receiver, this.focusableItem);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
// since there isn't a previous item to focus, give the focus to the label element
|
|
140
|
+
this.setFocus();
|
|
141
|
+
}
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
constructor(hostRef) {
|
|
147
|
+
index$1.registerInstance(this, hostRef);
|
|
148
|
+
this.opened = index$1.createEvent(this, "opened", 7);
|
|
149
|
+
this.closed = index$1.createEvent(this, "closed", 7);
|
|
150
|
+
this.active = undefined;
|
|
151
|
+
this.htmlTabindex = -1;
|
|
152
|
+
this.open = undefined;
|
|
153
|
+
this.hasItems = undefined;
|
|
154
|
+
this.items = undefined;
|
|
155
|
+
this.toggle = this.toggle.bind(this);
|
|
156
|
+
this.onItemsChange = this.onItemsChange.bind(this);
|
|
157
|
+
this.onLabelSlotChange = this.onLabelSlotChange.bind(this);
|
|
158
|
+
this.onLabelKeydown = this.onLabelKeydown.bind(this);
|
|
159
|
+
this.onItemsKeydown = this.onItemsKeydown.bind(this);
|
|
135
160
|
}
|
|
136
|
-
|
|
137
|
-
this.
|
|
161
|
+
connectedCallback() {
|
|
162
|
+
this.onItemsChange();
|
|
138
163
|
}
|
|
139
164
|
render() {
|
|
140
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index$1.h(index$1.Host, { key: '387e43b42ac8233f88d329a592bef924ebcf9ee9', open: this.open }, index$1.h("button", { key: 'd6014cdeb9a6ff2b4e95c43db7d2bae2b4d1c811', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.toggle, onKeyDown: this.onLabelKeydown }, index$1.h("slot", { key: 'd0065cf62f83d83df43b5c2413d3e13b23a1bb6a', onSlotchange: this.onLabelSlotChange }), this.hasItems && index$1.h("z-icon", { key: 'e6adc51de79f1fbcb76b025cd6226388ff4d90f0', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (index$1.h("div", { key: '151f31f24ec306ce4cb45b70b8ae5a6023fd063d', class: "items", role: "menu" }, index$1.h("slot", { key: 'd4d67539788121360de0e4dabf51ba22086c1345', name: "section", onSlotchange: this.onItemsChange })))));
|
|
141
166
|
}
|
|
142
|
-
get
|
|
167
|
+
get host() { return index$1.getElement(this); }
|
|
168
|
+
static get watchers() { return {
|
|
169
|
+
"open": ["onOpenChange"],
|
|
170
|
+
"htmlTabindex": ["onTabindexChange"]
|
|
171
|
+
}; }
|
|
143
172
|
};
|
|
144
173
|
ZMenuSection.style = ZMenuSectionStyle0;
|
|
145
174
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-menu-section.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,69DAA69D,CAAC;AACh/D,2BAAe,SAAS;;MCYX,YAAY;;;;;QAqBf,iBAAY,GAAG,CAAC,CAAC,CAAC;QAElB,4BAAuB,GAAG,KAAK,CAAC;;;;;IAGxC,uBAAuB,CAAC,CAAc;QACpC,IAAI,CAAC,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;KACzC;IAGD,aAAa,CAAC,CAAgB;QAC5B,IAAI,CAAC,CAAC,IAAI,KAAKA,oBAAY,CAAC,KAAK,EAAE;YACjC,OAAO;SACR;QAED,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE;YAC9C,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;SACnC;QAED,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAA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IAAI,GAAG,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,KAAI,IAAI,CAAC;KAC7D;IAEO,4BAA4B;QAClC,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAgB,CAAC;QAC7F,IAAI,YAAY,EAAE;YAChB,YAAY,CAAC,KAAK,EAAE,CAAC;YACrB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;SACvB;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,qDACH,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,CAAC,IAAI,IAEfD,qEACE,KAAK,EAAC,OAAO,kBACC,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,OAAO,EAC1C,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAC/B,OAAO,EAAE,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,IAAI,CAAC,IAErDA,mEAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,EAC7D,IAAI,CAAC,UAAU,IAAIA,qEAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACxE,EACR,IAAI,CAAC,IAAI,KACRA,kEAAK,KAAK,EAAC,OAAO,IAChBA,mEACE,IAAI,EAAC,SAAS,EACd,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,GACpC,CACJ,CACP,CACI,EACP;KACH;;;;;;;","names":["KeyboardCode","h","Host"],"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: inline-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:host(:is([active], [open])) .label,\n.label:hover {\n border-color: var(--color-secondary01);\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.label {\n display: flex;\n width: 100%;\n align-items: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);\n border: 0;\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n margin: 0;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n text-align: left;\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.25;\n}\n\n.label:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\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.items > ::slotted([slot=\"section\"]) {\n display: inline-flex;\n padding: calc(var(--space-unit) / 2);\n margin: 0;\n font-size: var(--font-size-2);\n line-height: 1.4;\n outline: none;\n}\n\n.items > ::slotted([slot=\"section\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-secondary01);\n}\n\n.items > ::slotted([slot=\"section\"]:hover),\n.items > ::slotted([slot=\"section\"]:focus:focus-visible),\n.items > ::slotted([slot=\"section\"][active]) {\n color: var(--color-secondary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, 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() hostElement: HTMLZMenuSectionElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n @State()\n open: boolean;\n\n @State()\n hasContent: boolean;\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 currentIndex = -1;\n\n private currentCanvasOpenStatus = false;\n\n @Listen(\"canvasOpenStatusChanged\", {target: \"document\"})\n canvasOpenStatusChanged(e: CustomEvent): void {\n this.currentCanvasOpenStatus = e.detail;\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ENTER) {\n return;\n }\n\n if (this.open && !this.currentCanvasOpenStatus) {\n this.handleNavigationSideArrow(e);\n }\n\n this.handleArrowsNav(e);\n }\n\n private handleNavigationSideArrow(e: KeyboardEvent): void {\n if (e.code !== KeyboardCode.ARROW_RIGHT && e.code !== KeyboardCode.ARROW_LEFT) {\n return;\n }\n if (e.code === KeyboardCode.ARROW_RIGHT) {\n const nextElement = this.hostElement.parentElement.nextElementSibling;\n if (nextElement) {\n const menuButton = nextElement.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n console.log(this.hostElement.parentElement);\n menuButton.focus();\n }\n this.open = false;\n nextElement.setAttribute(\"open\", \"true\");\n } else if (e.code === KeyboardCode.ARROW_LEFT) {\n const prevElement = this.hostElement.parentElement.previousElementSibling;\n if (prevElement) {\n const menuButton = prevElement.shadowRoot.querySelector(\".menu-label\") as HTMLElement;\n menuButton.focus();\n }\n prevElement.setAttribute(\"open\", \"true\");\n this.open = false;\n }\n }\n\n private handleArrowsNav(e: KeyboardEvent): void {\n const menuItems = Array.from(this.hostElement.querySelectorAll('[slot=\"section\"]')) as HTMLElement[];\n if (this.open) {\n e.preventDefault();\n e.stopPropagation();\n if (e.code === KeyboardCode.ARROW_DOWN || e.code === KeyboardCode.ARROW_UP) {\n let nextFocusableItem: HTMLElement;\n // INFO: reset focus on all menu items\n menuItems.forEach((item: HTMLElement) => item.setAttribute(\"tabindex\", \"-1\"));\n\n if (e.code === KeyboardCode.ARROW_DOWN) {\n nextFocusableItem = this.getNextItem(menuItems, 1);\n } else if (e.code === KeyboardCode.ARROW_UP) {\n nextFocusableItem = this.getNextItem(menuItems, -1);\n }\n\n if (nextFocusableItem) {\n nextFocusableItem.setAttribute(\"tabindex\", \"0\");\n nextFocusableItem.focus();\n }\n } else if (e.code === KeyboardCode.ESC) {\n this.focusToParentAndCloseMenu();\n } else if (e.shiftKey && e.code === KeyboardCode.TAB) {\n this.focusToParentAndCloseMenu();\n }\n }\n }\n\n private getNextItem(menuItems: HTMLElement[], direction: number): HTMLElement {\n if (this.currentIndex === -1) {\n this.currentIndex = direction === 1 ? 0 : menuItems.length - 1;\n\n return menuItems[this.currentIndex];\n }\n\n this.currentIndex = (this.currentIndex + direction + menuItems.length) % menuItems.length;\n\n return menuItems[this.currentIndex];\n }\n\n private focusToParentAndCloseMenu(): void {\n const menuButton = this.hostElement.shadowRoot.querySelector(\"button\") as HTMLElement;\n menuButton.focus();\n this.currentIndex = -1;\n this.open = false;\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n this.open ? this.opened.emit() : this.closed.emit();\n }\n\n /** Close the list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.open || this.hostElement.contains(ev.target as Node)) {\n return;\n }\n\n this.open = false;\n this.closed.emit();\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasContent = this.hostElement.querySelectorAll('[slot=\"section\"]').length > 0;\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?.innerText || null;\n }\n\n private focusFirstSectionItemOnKeyUp(): void {\n const firstElement = this.hostElement.querySelectorAll('[slot=\"section\"]')[0] as HTMLElement;\n if (firstElement) {\n firstElement.focus();\n this.currentIndex = 0;\n }\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host\n role=\"menu\"\n open={this.open}\n >\n <button\n class=\"label\"\n aria-pressed={this.open ? \"true\" : \"false\"}\n onClick={this.toggle.bind(this)}\n onKeyUp={this.focusFirstSectionItemOnKeyUp.bind(this)}\n >\n <slot onSlotchange={this.onLabelSlotChange.bind(this)}></slot>\n {this.hasContent && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n {this.open && (\n <div class=\"items\">\n <slot\n name=\"section\"\n onSlotchange={this.checkContent.bind(this)}\n ></slot>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"z-menu-section.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,k+DAAk+D,CAAC;AACr/D,2BAAe,SAAS;;MCYX,YAAY;IAkCvB,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IA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C,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,SAAS,EAAE,IAAI,CAAC,cAAc,IAE9BA,qEAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAC7C,IAAI,CAAC,QAAQ,IAAIA,uEAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACtE,EACR,IAAI,CAAC,IAAI,KACRA,oEACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEXA,qEACE,IAAI,EAAC,SAAS,EACd,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACP,CACI,EACP;KACH;;;;;;;;;;;","names":["KeyboardCode","h","Host"],"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"],"version":3}
|