@zanichelli/albe-web-components 16.0.0-rc2 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/cjs/{index-7ce01c0e.js → index-066b8da0.js} +5 -5
- package/dist/cjs/{index-7ce01c0e.js.map → index-066b8da0.js.map} +1 -1
- package/dist/cjs/{index-f31d0e66.js → index-1890445d.js} +3 -3
- package/dist/cjs/{index-f31d0e66.js.map → index-1890445d.js.map} +1 -1
- package/dist/cjs/{index-19279b08.js → index-1f9f28df.js} +3 -3
- package/dist/cjs/{index-19279b08.js.map → index-1f9f28df.js.map} +1 -1
- package/dist/cjs/{index-a83e999c.js → index-5cc0f0ca.js} +5 -6
- package/dist/cjs/index-5cc0f0ca.js.map +1 -0
- package/dist/cjs/{index-48cf79d4.js → index-98822eac.js} +6 -6
- package/dist/cjs/{index-48cf79d4.js.map → index-98822eac.js.map} +1 -1
- package/dist/cjs/{index-94f7957c.js → index-b361709b.js} +3 -3
- package/dist/cjs/{index-94f7957c.js.map → index-b361709b.js.map} +1 -1
- package/dist/cjs/{index-e3835c94.js → index-bab7a651.js} +3 -1
- package/dist/cjs/index-bab7a651.js.map +1 -0
- package/dist/cjs/{index-5dc4a8de.js → index-e801ae96.js} +55 -2
- package/dist/cjs/index-e801ae96.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-0d3ac1c1.js → utils-311316ce.js} +2 -2
- package/dist/cjs/{utils-0d3ac1c1.js.map → utils-311316ce.js.map} +1 -1
- package/dist/cjs/{utils-1a8655c7.js → utils-6bd8c55e.js} +2 -2
- package/dist/cjs/{utils-1a8655c7.js.map → utils-6bd8c55e.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +158 -0
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +197 -67
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +3 -3
- package/dist/cjs/z-avatar.cjs.entry.js +4 -4
- package/dist/cjs/z-book-card.cjs.entry.js +4 -4
- package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +2 -2
- package/dist/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js +4 -4
- package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
- package/dist/cjs/z-file-upload.cjs.entry.js +4 -4
- package/dist/cjs/z-file.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/z-logo.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +115 -0
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +60 -0
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +92 -4
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +121 -10
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
- 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 +6 -6
- 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 +4 -4
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +4 -4
- package/dist/cjs/z-pagination.cjs.entry.js +2 -2
- package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +3 -3
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-section-title.cjs.entry.js +3 -3
- 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 +10 -10
- package/dist/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/cjs/z-td.cjs.entry.js +3 -3
- package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +3 -3
- package/dist/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/z-tr.cjs.entry.js +6 -6
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/assets/orientamento.svg +14 -0
- package/dist/collection/beans/index.js +2 -0
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +420 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js +203 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.spec.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +635 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +441 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +244 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js +120 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.spec.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +129 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +217 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +131 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js +50 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.spec.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +41 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -0
- package/dist/collection/components/deprecated/z-menu-section-deprecated/styles.css +123 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/table/cells/z-td/index.js +2 -27
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-td/styles.css +0 -4
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/styles.css +0 -4
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +215 -159
- package/dist/collection/components/z-app-header/index.js.map +1 -1
- package/dist/collection/components/z-app-header/index.spec.js +493 -79
- package/dist/collection/components/z-app-header/index.spec.js.map +1 -1
- package/dist/collection/components/z-app-header/index.stories.js +59 -369
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
- package/dist/collection/components/z-app-header/styles.css +147 -183
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-card/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu/index.js +128 -5
- package/dist/collection/components/z-menu/index.js.map +1 -1
- package/dist/collection/components/z-menu/index.spec.js +49 -33
- package/dist/collection/components/z-menu/index.spec.js.map +1 -1
- package/dist/collection/components/z-menu/index.stories.js +7 -7
- package/dist/collection/components/z-menu/index.stories.js.map +1 -1
- package/dist/collection/components/z-menu/styles.css +21 -8
- package/dist/collection/components/z-menu-section/index.js +102 -2
- package/dist/collection/components/z-menu-section/index.js.map +1 -1
- package/dist/collection/components/z-menu-section/index.spec.js +7 -7
- package/dist/collection/components/z-menu-section/index.spec.js.map +1 -1
- package/dist/collection/components/z-menu-section/index.stories.js +3 -3
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -1
- package/dist/collection/components/z-menu-section/styles.css +5 -5
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +2 -2
- package/dist/components/index15.js +4 -4
- 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/index2.js +2 -0
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +2 -2
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +2 -2
- package/dist/components/index8.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header-deprecated.d.ts +11 -0
- package/dist/components/z-app-header-deprecated.js +255 -0
- package/dist/components/z-app-header-deprecated.js.map +1 -0
- package/dist/components/z-app-header.js +190 -60
- 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 +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file.js +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-deprecated.d.ts +11 -0
- package/dist/components/z-menu-deprecated.js +144 -0
- package/dist/components/z-menu-deprecated.js.map +1 -0
- package/dist/components/z-menu-section-deprecated.d.ts +11 -0
- package/dist/components/z-menu-section-deprecated.js +84 -0
- package/dist/components/z-menu-section-deprecated.js.map +1 -0
- package/dist/components/z-menu-section.js +92 -4
- package/dist/components/z-menu-section.js.map +1 -1
- package/dist/components/z-menu.js +117 -6
- 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 +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +3 -5
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +2 -2
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/index-175661e6.js +18 -0
- package/dist/esm/{index-41ee4016.js.map → index-175661e6.js.map} +1 -1
- package/dist/esm/{index-aa07660e.js → index-18018bb5.js} +5 -5
- package/dist/esm/{index-aa07660e.js.map → index-18018bb5.js.map} +1 -1
- package/dist/esm/{index-497d9441.js → index-292b4dd2.js} +5 -6
- package/dist/esm/index-292b4dd2.js.map +1 -0
- package/dist/esm/{index-437f0b00.js → index-50bbb22e.js} +6 -6
- package/dist/esm/{index-437f0b00.js.map → index-50bbb22e.js.map} +1 -1
- package/dist/esm/{index-ab5f1eaa.js → index-a2130b6a.js} +55 -3
- package/dist/esm/index-a2130b6a.js.map +1 -0
- package/dist/esm/{index-ea49e441.js → index-a81f1558.js} +3 -3
- package/dist/esm/{index-ea49e441.js.map → index-a81f1558.js.map} +1 -1
- package/dist/esm/{index-cfde9cec.js → index-b556b384.js} +3 -3
- package/dist/esm/{index-cfde9cec.js.map → index-b556b384.js.map} +1 -1
- package/dist/esm/{index-a7f69d42.js → index-b7dbacb4.js} +3 -1
- package/dist/esm/index-b7dbacb4.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-f7da2c5f.js → utils-54e02183.js} +2 -2
- package/dist/esm/{utils-f7da2c5f.js.map → utils-54e02183.js.map} +1 -1
- package/dist/esm/{utils-0ce33738.js → utils-8ade9e2d.js} +2 -2
- package/dist/esm/{utils-0ce33738.js.map → utils-8ade9e2d.js.map} +1 -1
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-accordion.entry.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +3 -3
- package/dist/esm/z-app-header-deprecated.entry.js +154 -0
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm/z-app-header_12.entry.js +197 -67
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +3 -3
- package/dist/esm/z-avatar.entry.js +4 -4
- package/dist/esm/z-book-card.entry.js +4 -4
- package/dist/esm/z-breadcrumb.entry.js +5 -5
- package/dist/esm/z-button-sort.entry.js +2 -2
- package/dist/esm/z-card.entry.js +2 -2
- package/dist/esm/z-carousel.entry.js +2 -2
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +4 -4
- package/dist/esm/z-cover-hero.entry.js +4 -4
- package/dist/esm/z-date-picker.entry.js +3 -3
- package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
- package/dist/esm/z-file-upload.entry.js +4 -4
- package/dist/esm/z-file.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/z-logo.entry.js +2 -2
- package/dist/esm/z-menu-deprecated.entry.js +111 -0
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section-deprecated.entry.js +56 -0
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm/z-menu-section.entry.js +92 -4
- package/dist/esm/z-menu-section.entry.js.map +1 -1
- package/dist/esm/z-menu.entry.js +117 -6
- package/dist/esm/z-menu.entry.js.map +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +3 -3
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +3 -3
- 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 +6 -6
- 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 +4 -4
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +4 -4
- package/dist/esm/z-pagination.entry.js +2 -2
- package/dist/esm/z-panel-elem.entry.js +3 -3
- package/dist/esm/z-popover.entry.js +3 -3
- package/dist/esm/z-range-picker.entry.js +3 -3
- package/dist/esm/z-section-title.entry.js +3 -3
- 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 +10 -10
- package/dist/esm/z-tbody.entry.js +2 -2
- package/dist/esm/z-td.entry.js +3 -3
- package/dist/esm/z-tfoot.entry.js +2 -2
- package/dist/esm/z-th.entry.js +3 -3
- package/dist/esm/z-thead.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +3 -3
- package/dist/esm/z-toast-notification.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/z-tr.entry.js +6 -6
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +3 -1
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +149 -0
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +118 -0
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +61 -0
- package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +27 -0
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +31 -0
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +16 -0
- package/dist/types/components/table/cells/z-td/index.d.ts +1 -5
- package/dist/types/components/z-app-header/index.d.ts +33 -76
- package/dist/types/components/z-app-header/index.stories.d.ts +20 -40
- package/dist/types/components/z-menu/index.d.ts +11 -0
- package/dist/types/components/z-menu-section/index.d.ts +9 -0
- package/dist/types/components.d.ts +268 -18
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-5e0acf57.entry.js → p-054484d4.entry.js} +2 -2
- package/dist/web-components-library/{p-bd75bef4.entry.js → p-05e9ae1e.entry.js} +2 -2
- package/dist/web-components-library/{p-6c5a8061.entry.js → p-12d62027.entry.js} +2 -2
- package/{www/build/p-726e1059.entry.js → dist/web-components-library/p-18690383.entry.js} +2 -2
- package/dist/web-components-library/{p-a36045c2.entry.js → p-19f8c3d2.entry.js} +2 -2
- package/dist/web-components-library/p-1edbac5f.entry.js +2 -0
- package/dist/web-components-library/{p-9ddfcfd4.entry.js → p-21b85c7f.entry.js} +2 -2
- package/dist/web-components-library/{p-f7180c65.entry.js → p-2672e36f.entry.js} +2 -2
- package/{www/build/p-4a2b4ad1.entry.js → dist/web-components-library/p-28928bb6.entry.js} +2 -2
- package/dist/web-components-library/{p-a0231723.entry.js → p-2a7e4988.entry.js} +2 -2
- package/dist/web-components-library/{p-66d70fb4.js → p-2c184714.js} +2 -2
- package/dist/web-components-library/p-304eeab0.js +2 -0
- package/dist/web-components-library/{p-09897132.entry.js → p-324ef970.entry.js} +2 -2
- package/{www/build/p-90b4d340.entry.js → dist/web-components-library/p-33eea921.entry.js} +2 -2
- package/dist/web-components-library/p-385bf4ca.entry.js +2 -0
- package/dist/web-components-library/{p-411d929f.entry.js → p-3b266de4.entry.js} +2 -2
- package/dist/web-components-library/{p-2ed68ac5.entry.js → p-4552744b.entry.js} +2 -2
- package/dist/web-components-library/{p-ebdfd7e5.entry.js → p-49e4ce84.entry.js} +2 -2
- package/dist/web-components-library/p-57eee056.entry.js +2 -0
- package/dist/web-components-library/{p-e2997191.entry.js.map → p-57eee056.entry.js.map} +1 -1
- package/{www/build/p-1efacf4c.entry.js → dist/web-components-library/p-5a5481be.entry.js} +2 -2
- package/dist/web-components-library/p-6037cdf3.js +2 -0
- package/{www/build/p-3de034cf.js.map → dist/web-components-library/p-6037cdf3.js.map} +1 -1
- package/{www/build/p-65df3290.entry.js → dist/web-components-library/p-609c11d6.entry.js} +2 -2
- package/dist/web-components-library/p-6319b5e2.entry.js +2 -0
- package/{www/build/p-467d8a16.entry.js → dist/web-components-library/p-63e970ee.entry.js} +2 -2
- package/{www/build/p-7693ae18.entry.js → dist/web-components-library/p-6586441a.entry.js} +3 -3
- package/dist/web-components-library/p-68822fbc.entry.js +2 -0
- package/dist/web-components-library/{p-493c652a.entry.js → p-6a664748.entry.js} +2 -2
- package/dist/web-components-library/p-6b2cd695.entry.js +2 -0
- package/dist/web-components-library/p-6f4dd02b.entry.js +2 -0
- package/dist/web-components-library/{p-5e45636a.entry.js.map → p-6f4dd02b.entry.js.map} +1 -1
- package/dist/web-components-library/p-74a65c6f.entry.js +2 -0
- package/{www/build/p-dde9f76d.entry.js → dist/web-components-library/p-77d8ad7e.entry.js} +2 -2
- package/{www/build/p-2190352b.js → dist/web-components-library/p-78e52a02.js} +2 -2
- package/dist/web-components-library/p-7d827c11.js +2 -0
- package/dist/web-components-library/{p-5bbb5599.entry.js → p-83350b5f.entry.js} +2 -2
- package/dist/web-components-library/p-83eff308.entry.js +2 -0
- package/dist/web-components-library/p-83eff308.entry.js.map +1 -0
- package/dist/web-components-library/{p-8df46096.entry.js → p-8499a29d.entry.js} +2 -2
- package/{www/build/p-1501c221.entry.js → dist/web-components-library/p-85f84e55.entry.js} +2 -2
- package/dist/web-components-library/{p-376208ab.entry.js → p-88e756cd.entry.js} +2 -2
- package/dist/web-components-library/p-89584f19.entry.js +2 -0
- package/dist/web-components-library/{p-b6e14c6b.entry.js.map → p-89584f19.entry.js.map} +1 -1
- package/dist/web-components-library/{p-7ce64686.entry.js → p-8a10fec5.entry.js} +2 -2
- package/dist/web-components-library/p-8a10fec5.entry.js.map +1 -0
- package/dist/web-components-library/{p-214bc293.entry.js → p-8b309268.entry.js} +2 -2
- package/dist/web-components-library/p-8c517cd7.entry.js +2 -0
- package/dist/web-components-library/p-8c517cd7.entry.js.map +1 -0
- package/dist/web-components-library/{p-0c2fdbe5.entry.js → p-8c9f7cef.entry.js} +2 -2
- package/dist/web-components-library/p-8d7323f7.entry.js +2 -0
- package/dist/web-components-library/p-8d7323f7.entry.js.map +1 -0
- package/dist/web-components-library/p-8de7ea6e.js +2 -0
- package/dist/web-components-library/{p-82dc715b.js.map → p-8de7ea6e.js.map} +1 -1
- package/dist/web-components-library/{p-f3272ec6.entry.js → p-91c04edc.entry.js} +2 -2
- package/dist/web-components-library/{p-80359658.entry.js → p-97b0c3b3.entry.js} +2 -2
- package/dist/web-components-library/{p-74e134e6.entry.js → p-99b791d1.entry.js} +2 -2
- package/dist/web-components-library/p-9f2a7cf0.js +2 -0
- package/dist/web-components-library/p-9f2a7cf0.js.map +1 -0
- package/{www/build/p-63337e8b.entry.js → dist/web-components-library/p-a4ada10b.entry.js} +2 -2
- package/dist/web-components-library/p-a5781264.entry.js +2 -0
- package/{www/build/p-14bf4619.entry.js → dist/web-components-library/p-ad76b8ff.entry.js} +2 -2
- package/dist/web-components-library/p-ae94e377.js +2 -0
- package/{www/build/p-40e4e3af.js.map → dist/web-components-library/p-ae94e377.js.map} +1 -1
- package/dist/web-components-library/{p-2c81acaa.entry.js → p-ae96bc09.entry.js} +2 -2
- package/dist/web-components-library/{p-09a9e2ca.entry.js → p-af856537.entry.js} +2 -2
- package/{www/build/p-7d5983f6.entry.js → dist/web-components-library/p-b84fa3b6.entry.js} +2 -2
- package/dist/web-components-library/{p-ff4aa84a.entry.js → p-be4878f2.entry.js} +2 -2
- package/dist/web-components-library/p-bf2a057d.entry.js +2 -0
- package/dist/web-components-library/{p-82b845c3.entry.js → p-c0bdbfb5.entry.js} +2 -2
- package/dist/web-components-library/p-c0bdbfb5.entry.js.map +1 -0
- package/dist/web-components-library/{p-464e5886.entry.js → p-c6b269ce.entry.js} +2 -2
- package/dist/web-components-library/{p-1064cb1a.entry.js → p-c90249e5.entry.js} +2 -2
- package/dist/web-components-library/p-cf2640b0.entry.js +2 -0
- package/dist/web-components-library/p-cf2640b0.entry.js.map +1 -0
- package/dist/web-components-library/p-cfa39bd3.js +3 -0
- package/dist/web-components-library/p-cfa39bd3.js.map +1 -0
- package/dist/web-components-library/p-d9e1d8c7.js +2 -0
- package/dist/web-components-library/{p-60dfcfaa.entry.js → p-df05727f.entry.js} +2 -2
- package/dist/web-components-library/p-e0323da3.entry.js +2 -0
- package/dist/web-components-library/{p-810433b1.entry.js → p-e1852de3.entry.js} +2 -2
- package/dist/web-components-library/{p-2010d544.entry.js → p-e366782c.entry.js} +2 -2
- package/dist/web-components-library/{p-f323cc0b.entry.js → p-e5dc0719.entry.js} +2 -2
- package/dist/web-components-library/{p-ea9aa3bb.entry.js → p-f21bc3a9.entry.js} +2 -2
- package/{www/build/p-a11e1d48.entry.js → dist/web-components-library/p-f74f9f3c.entry.js} +2 -2
- package/dist/web-components-library/p-f8d45aa4.entry.js +2 -0
- package/dist/web-components-library/{p-c3809d39.entry.js → p-fe87b081.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +5 -2
- package/react/components.js.map +1 -1
- package/www/assets/orientamento.svg +14 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-5e0acf57.entry.js → p-054484d4.entry.js} +2 -2
- package/www/build/{p-bd75bef4.entry.js → p-05e9ae1e.entry.js} +2 -2
- package/www/build/{p-6c5a8061.entry.js → p-12d62027.entry.js} +2 -2
- package/{dist/web-components-library/p-726e1059.entry.js → www/build/p-18690383.entry.js} +2 -2
- package/www/build/{p-a36045c2.entry.js → p-19f8c3d2.entry.js} +2 -2
- package/www/build/p-1edbac5f.entry.js +2 -0
- package/www/build/{p-9ddfcfd4.entry.js → p-21b85c7f.entry.js} +2 -2
- package/www/build/{p-f7180c65.entry.js → p-2672e36f.entry.js} +2 -2
- package/{dist/web-components-library/p-4a2b4ad1.entry.js → www/build/p-28928bb6.entry.js} +2 -2
- package/www/build/{p-a0231723.entry.js → p-2a7e4988.entry.js} +2 -2
- package/www/build/{p-66d70fb4.js → p-2c184714.js} +2 -2
- package/www/build/p-304eeab0.js +2 -0
- package/www/build/{p-09897132.entry.js → p-324ef970.entry.js} +2 -2
- package/{dist/web-components-library/p-90b4d340.entry.js → www/build/p-33eea921.entry.js} +2 -2
- package/www/build/p-385bf4ca.entry.js +2 -0
- package/www/build/{p-411d929f.entry.js → p-3b266de4.entry.js} +2 -2
- package/www/build/{p-2ed68ac5.entry.js → p-4552744b.entry.js} +2 -2
- package/www/build/{p-ebdfd7e5.entry.js → p-49e4ce84.entry.js} +2 -2
- package/www/build/p-57eee056.entry.js +2 -0
- package/www/build/{p-e2997191.entry.js.map → p-57eee056.entry.js.map} +1 -1
- package/{dist/web-components-library/p-1efacf4c.entry.js → www/build/p-5a5481be.entry.js} +2 -2
- package/www/build/p-6037cdf3.js +2 -0
- package/{dist/web-components-library/p-3de034cf.js.map → www/build/p-6037cdf3.js.map} +1 -1
- package/{dist/web-components-library/p-65df3290.entry.js → www/build/p-609c11d6.entry.js} +2 -2
- package/www/build/p-6319b5e2.entry.js +2 -0
- package/{dist/web-components-library/p-467d8a16.entry.js → www/build/p-63e970ee.entry.js} +2 -2
- package/{dist/web-components-library/p-7693ae18.entry.js → www/build/p-6586441a.entry.js} +3 -3
- package/www/build/p-68822fbc.entry.js +2 -0
- package/www/build/{p-493c652a.entry.js → p-6a664748.entry.js} +2 -2
- package/www/build/p-6b2cd695.entry.js +2 -0
- package/www/build/p-6f4dd02b.entry.js +2 -0
- package/www/build/{p-5e45636a.entry.js.map → p-6f4dd02b.entry.js.map} +1 -1
- package/www/build/p-74a65c6f.entry.js +2 -0
- package/www/build/p-774b449d.js +2 -0
- package/{dist/web-components-library/p-dde9f76d.entry.js → www/build/p-77d8ad7e.entry.js} +2 -2
- package/{dist/web-components-library/p-2190352b.js → www/build/p-78e52a02.js} +2 -2
- package/www/build/p-7d827c11.js +2 -0
- package/www/build/{p-5bbb5599.entry.js → p-83350b5f.entry.js} +2 -2
- package/www/build/p-83eff308.entry.js +2 -0
- package/www/build/p-83eff308.entry.js.map +1 -0
- package/www/build/{p-8df46096.entry.js → p-8499a29d.entry.js} +2 -2
- package/{dist/web-components-library/p-1501c221.entry.js → www/build/p-85f84e55.entry.js} +2 -2
- package/www/build/{p-376208ab.entry.js → p-88e756cd.entry.js} +2 -2
- package/www/build/p-89584f19.entry.js +2 -0
- package/www/build/{p-b6e14c6b.entry.js.map → p-89584f19.entry.js.map} +1 -1
- package/www/build/{p-7ce64686.entry.js → p-8a10fec5.entry.js} +2 -2
- package/www/build/p-8a10fec5.entry.js.map +1 -0
- package/www/build/{p-214bc293.entry.js → p-8b309268.entry.js} +2 -2
- package/www/build/p-8c517cd7.entry.js +2 -0
- package/www/build/p-8c517cd7.entry.js.map +1 -0
- package/www/build/{p-0c2fdbe5.entry.js → p-8c9f7cef.entry.js} +2 -2
- package/www/build/p-8d7323f7.entry.js +2 -0
- package/www/build/p-8d7323f7.entry.js.map +1 -0
- package/www/build/p-8de7ea6e.js +2 -0
- package/www/build/{p-82dc715b.js.map → p-8de7ea6e.js.map} +1 -1
- package/www/build/{p-f3272ec6.entry.js → p-91c04edc.entry.js} +2 -2
- package/www/build/{p-80359658.entry.js → p-97b0c3b3.entry.js} +2 -2
- package/www/build/{p-74e134e6.entry.js → p-99b791d1.entry.js} +2 -2
- package/www/build/p-9f2a7cf0.js +2 -0
- package/www/build/p-9f2a7cf0.js.map +1 -0
- package/{dist/web-components-library/p-63337e8b.entry.js → www/build/p-a4ada10b.entry.js} +2 -2
- package/www/build/p-a5781264.entry.js +2 -0
- package/{dist/web-components-library/p-14bf4619.entry.js → www/build/p-ad76b8ff.entry.js} +2 -2
- package/www/build/p-ae94e377.js +2 -0
- package/{dist/web-components-library/p-40e4e3af.js.map → www/build/p-ae94e377.js.map} +1 -1
- package/www/build/{p-2c81acaa.entry.js → p-ae96bc09.entry.js} +2 -2
- package/www/build/{p-09a9e2ca.entry.js → p-af856537.entry.js} +2 -2
- package/{dist/web-components-library/p-7d5983f6.entry.js → www/build/p-b84fa3b6.entry.js} +2 -2
- package/www/build/{p-ff4aa84a.entry.js → p-be4878f2.entry.js} +2 -2
- package/www/build/p-bf2a057d.entry.js +2 -0
- package/www/build/{p-82b845c3.entry.js → p-c0bdbfb5.entry.js} +2 -2
- package/www/build/p-c0bdbfb5.entry.js.map +1 -0
- package/www/build/{p-464e5886.entry.js → p-c6b269ce.entry.js} +2 -2
- package/www/build/{p-1064cb1a.entry.js → p-c90249e5.entry.js} +2 -2
- package/www/build/p-cf2640b0.entry.js +2 -0
- package/www/build/p-cf2640b0.entry.js.map +1 -0
- package/www/build/p-cfa39bd3.js +3 -0
- package/www/build/p-cfa39bd3.js.map +1 -0
- package/www/build/p-d9e1d8c7.js +2 -0
- package/www/build/{p-60dfcfaa.entry.js → p-df05727f.entry.js} +2 -2
- package/www/build/p-e0323da3.entry.js +2 -0
- package/www/build/{p-810433b1.entry.js → p-e1852de3.entry.js} +2 -2
- package/www/build/{p-2010d544.entry.js → p-e366782c.entry.js} +2 -2
- package/www/build/{p-f323cc0b.entry.js → p-e5dc0719.entry.js} +2 -2
- package/www/build/{p-ea9aa3bb.entry.js → p-f21bc3a9.entry.js} +2 -2
- package/{dist/web-components-library/p-a11e1d48.entry.js → www/build/p-f74f9f3c.entry.js} +2 -2
- package/www/build/p-f8d45aa4.entry.js +2 -0
- package/www/build/{p-c3809d39.entry.js → p-fe87b081.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-5dc4a8de.js.map +0 -1
- package/dist/cjs/index-a83e999c.js.map +0 -1
- package/dist/cjs/index-e3835c94.js.map +0 -1
- package/dist/esm/index-41ee4016.js +0 -18
- package/dist/esm/index-497d9441.js.map +0 -1
- package/dist/esm/index-a7f69d42.js.map +0 -1
- package/dist/esm/index-ab5f1eaa.js.map +0 -1
- package/dist/web-components-library/p-3de034cf.js +0 -2
- package/dist/web-components-library/p-40e4e3af.js +0 -2
- package/dist/web-components-library/p-4b27ccf0.entry.js +0 -2
- package/dist/web-components-library/p-4d1a8ee8.entry.js +0 -2
- package/dist/web-components-library/p-4d1a8ee8.entry.js.map +0 -1
- package/dist/web-components-library/p-5214f770.entry.js +0 -2
- package/dist/web-components-library/p-550b4473.entry.js +0 -2
- package/dist/web-components-library/p-5e45636a.entry.js +0 -2
- package/dist/web-components-library/p-5e734fd3.entry.js +0 -2
- package/dist/web-components-library/p-6f5b7f16.js +0 -2
- package/dist/web-components-library/p-6f5b7f16.js.map +0 -1
- package/dist/web-components-library/p-737293b2.js +0 -2
- package/dist/web-components-library/p-79766609.entry.js +0 -2
- package/dist/web-components-library/p-7cba8558.entry.js +0 -2
- package/dist/web-components-library/p-7ce64686.entry.js.map +0 -1
- package/dist/web-components-library/p-82b845c3.entry.js.map +0 -1
- package/dist/web-components-library/p-82dc715b.js +0 -2
- package/dist/web-components-library/p-93d39e70.entry.js +0 -2
- package/dist/web-components-library/p-b6e14c6b.entry.js +0 -2
- package/dist/web-components-library/p-b9078348.js +0 -2
- package/dist/web-components-library/p-cc3c02fe.js +0 -3
- package/dist/web-components-library/p-cc3c02fe.js.map +0 -1
- package/dist/web-components-library/p-e2997191.entry.js +0 -2
- package/dist/web-components-library/p-ee290d4c.entry.js +0 -2
- package/dist/web-components-library/p-f978d22d.entry.js +0 -2
- package/dist/web-components-library/p-fdd176e2.entry.js +0 -2
- package/dist/web-components-library/p-feca4075.js +0 -2
- package/www/build/p-3de034cf.js +0 -2
- package/www/build/p-40e4e3af.js +0 -2
- package/www/build/p-4b27ccf0.entry.js +0 -2
- package/www/build/p-4d1a8ee8.entry.js +0 -2
- package/www/build/p-4d1a8ee8.entry.js.map +0 -1
- package/www/build/p-5214f770.entry.js +0 -2
- package/www/build/p-550b4473.entry.js +0 -2
- package/www/build/p-5e45636a.entry.js +0 -2
- package/www/build/p-5e734fd3.entry.js +0 -2
- package/www/build/p-6f5b7f16.js +0 -2
- package/www/build/p-6f5b7f16.js.map +0 -1
- package/www/build/p-737293b2.js +0 -2
- package/www/build/p-79766609.entry.js +0 -2
- package/www/build/p-7cba8558.entry.js +0 -2
- package/www/build/p-7ce64686.entry.js.map +0 -1
- package/www/build/p-82b845c3.entry.js.map +0 -1
- package/www/build/p-82dc715b.js +0 -2
- package/www/build/p-93d39e70.entry.js +0 -2
- package/www/build/p-9bd47256.js +0 -2
- package/www/build/p-b6e14c6b.entry.js +0 -2
- package/www/build/p-b9078348.js +0 -2
- package/www/build/p-cc3c02fe.js +0 -3
- package/www/build/p-cc3c02fe.js.map +0 -1
- package/www/build/p-e2997191.entry.js +0 -2
- package/www/build/p-ee290d4c.entry.js +0 -2
- package/www/build/p-f978d22d.entry.js +0 -2
- package/www/build/p-fdd176e2.entry.js +0 -2
- package/www/build/p-feca4075.js +0 -2
- /package/dist/web-components-library/{p-5e0acf57.entry.js.map → p-054484d4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bd75bef4.entry.js.map → p-05e9ae1e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6c5a8061.entry.js.map → p-12d62027.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-726e1059.entry.js.map → p-18690383.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a36045c2.entry.js.map → p-19f8c3d2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4b27ccf0.entry.js.map → p-1edbac5f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9ddfcfd4.entry.js.map → p-21b85c7f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f7180c65.entry.js.map → p-2672e36f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4a2b4ad1.entry.js.map → p-28928bb6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a0231723.entry.js.map → p-2a7e4988.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-66d70fb4.js.map → p-2c184714.js.map} +0 -0
- /package/dist/web-components-library/{p-737293b2.js.map → p-304eeab0.js.map} +0 -0
- /package/dist/web-components-library/{p-09897132.entry.js.map → p-324ef970.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-90b4d340.entry.js.map → p-33eea921.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7cba8558.entry.js.map → p-385bf4ca.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-411d929f.entry.js.map → p-3b266de4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2ed68ac5.entry.js.map → p-4552744b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ebdfd7e5.entry.js.map → p-49e4ce84.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1efacf4c.entry.js.map → p-5a5481be.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-65df3290.entry.js.map → p-609c11d6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ee290d4c.entry.js.map → p-6319b5e2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-467d8a16.entry.js.map → p-63e970ee.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7693ae18.entry.js.map → p-6586441a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5214f770.entry.js.map → p-68822fbc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-493c652a.entry.js.map → p-6a664748.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-93d39e70.entry.js.map → p-6b2cd695.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5e734fd3.entry.js.map → p-74a65c6f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dde9f76d.entry.js.map → p-77d8ad7e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2190352b.js.map → p-78e52a02.js.map} +0 -0
- /package/dist/web-components-library/{p-feca4075.js.map → p-7d827c11.js.map} +0 -0
- /package/dist/web-components-library/{p-5bbb5599.entry.js.map → p-83350b5f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8df46096.entry.js.map → p-8499a29d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1501c221.entry.js.map → p-85f84e55.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-376208ab.entry.js.map → p-88e756cd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-214bc293.entry.js.map → p-8b309268.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0c2fdbe5.entry.js.map → p-8c9f7cef.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f3272ec6.entry.js.map → p-91c04edc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-80359658.entry.js.map → p-97b0c3b3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-74e134e6.entry.js.map → p-99b791d1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-63337e8b.entry.js.map → p-a4ada10b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-550b4473.entry.js.map → p-a5781264.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-14bf4619.entry.js.map → p-ad76b8ff.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2c81acaa.entry.js.map → p-ae96bc09.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-09a9e2ca.entry.js.map → p-af856537.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7d5983f6.entry.js.map → p-b84fa3b6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ff4aa84a.entry.js.map → p-be4878f2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-79766609.entry.js.map → p-bf2a057d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-464e5886.entry.js.map → p-c6b269ce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1064cb1a.entry.js.map → p-c90249e5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b9078348.js.map → p-d9e1d8c7.js.map} +0 -0
- /package/dist/web-components-library/{p-60dfcfaa.entry.js.map → p-df05727f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f978d22d.entry.js.map → p-e0323da3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-810433b1.entry.js.map → p-e1852de3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2010d544.entry.js.map → p-e366782c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f323cc0b.entry.js.map → p-e5dc0719.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ea9aa3bb.entry.js.map → p-f21bc3a9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a11e1d48.entry.js.map → p-f74f9f3c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fdd176e2.entry.js.map → p-f8d45aa4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c3809d39.entry.js.map → p-fe87b081.entry.js.map} +0 -0
- /package/www/build/{p-5e0acf57.entry.js.map → p-054484d4.entry.js.map} +0 -0
- /package/www/build/{p-bd75bef4.entry.js.map → p-05e9ae1e.entry.js.map} +0 -0
- /package/www/build/{p-6c5a8061.entry.js.map → p-12d62027.entry.js.map} +0 -0
- /package/www/build/{p-726e1059.entry.js.map → p-18690383.entry.js.map} +0 -0
- /package/www/build/{p-a36045c2.entry.js.map → p-19f8c3d2.entry.js.map} +0 -0
- /package/www/build/{p-4b27ccf0.entry.js.map → p-1edbac5f.entry.js.map} +0 -0
- /package/www/build/{p-9ddfcfd4.entry.js.map → p-21b85c7f.entry.js.map} +0 -0
- /package/www/build/{p-f7180c65.entry.js.map → p-2672e36f.entry.js.map} +0 -0
- /package/www/build/{p-4a2b4ad1.entry.js.map → p-28928bb6.entry.js.map} +0 -0
- /package/www/build/{p-a0231723.entry.js.map → p-2a7e4988.entry.js.map} +0 -0
- /package/www/build/{p-66d70fb4.js.map → p-2c184714.js.map} +0 -0
- /package/www/build/{p-737293b2.js.map → p-304eeab0.js.map} +0 -0
- /package/www/build/{p-09897132.entry.js.map → p-324ef970.entry.js.map} +0 -0
- /package/www/build/{p-90b4d340.entry.js.map → p-33eea921.entry.js.map} +0 -0
- /package/www/build/{p-7cba8558.entry.js.map → p-385bf4ca.entry.js.map} +0 -0
- /package/www/build/{p-411d929f.entry.js.map → p-3b266de4.entry.js.map} +0 -0
- /package/www/build/{p-2ed68ac5.entry.js.map → p-4552744b.entry.js.map} +0 -0
- /package/www/build/{p-ebdfd7e5.entry.js.map → p-49e4ce84.entry.js.map} +0 -0
- /package/www/build/{p-1efacf4c.entry.js.map → p-5a5481be.entry.js.map} +0 -0
- /package/www/build/{p-65df3290.entry.js.map → p-609c11d6.entry.js.map} +0 -0
- /package/www/build/{p-ee290d4c.entry.js.map → p-6319b5e2.entry.js.map} +0 -0
- /package/www/build/{p-467d8a16.entry.js.map → p-63e970ee.entry.js.map} +0 -0
- /package/www/build/{p-7693ae18.entry.js.map → p-6586441a.entry.js.map} +0 -0
- /package/www/build/{p-5214f770.entry.js.map → p-68822fbc.entry.js.map} +0 -0
- /package/www/build/{p-493c652a.entry.js.map → p-6a664748.entry.js.map} +0 -0
- /package/www/build/{p-93d39e70.entry.js.map → p-6b2cd695.entry.js.map} +0 -0
- /package/www/build/{p-5e734fd3.entry.js.map → p-74a65c6f.entry.js.map} +0 -0
- /package/www/build/{p-dde9f76d.entry.js.map → p-77d8ad7e.entry.js.map} +0 -0
- /package/www/build/{p-2190352b.js.map → p-78e52a02.js.map} +0 -0
- /package/www/build/{p-feca4075.js.map → p-7d827c11.js.map} +0 -0
- /package/www/build/{p-5bbb5599.entry.js.map → p-83350b5f.entry.js.map} +0 -0
- /package/www/build/{p-8df46096.entry.js.map → p-8499a29d.entry.js.map} +0 -0
- /package/www/build/{p-1501c221.entry.js.map → p-85f84e55.entry.js.map} +0 -0
- /package/www/build/{p-376208ab.entry.js.map → p-88e756cd.entry.js.map} +0 -0
- /package/www/build/{p-214bc293.entry.js.map → p-8b309268.entry.js.map} +0 -0
- /package/www/build/{p-0c2fdbe5.entry.js.map → p-8c9f7cef.entry.js.map} +0 -0
- /package/www/build/{p-f3272ec6.entry.js.map → p-91c04edc.entry.js.map} +0 -0
- /package/www/build/{p-80359658.entry.js.map → p-97b0c3b3.entry.js.map} +0 -0
- /package/www/build/{p-74e134e6.entry.js.map → p-99b791d1.entry.js.map} +0 -0
- /package/www/build/{p-63337e8b.entry.js.map → p-a4ada10b.entry.js.map} +0 -0
- /package/www/build/{p-550b4473.entry.js.map → p-a5781264.entry.js.map} +0 -0
- /package/www/build/{p-14bf4619.entry.js.map → p-ad76b8ff.entry.js.map} +0 -0
- /package/www/build/{p-2c81acaa.entry.js.map → p-ae96bc09.entry.js.map} +0 -0
- /package/www/build/{p-09a9e2ca.entry.js.map → p-af856537.entry.js.map} +0 -0
- /package/www/build/{p-7d5983f6.entry.js.map → p-b84fa3b6.entry.js.map} +0 -0
- /package/www/build/{p-ff4aa84a.entry.js.map → p-be4878f2.entry.js.map} +0 -0
- /package/www/build/{p-79766609.entry.js.map → p-bf2a057d.entry.js.map} +0 -0
- /package/www/build/{p-464e5886.entry.js.map → p-c6b269ce.entry.js.map} +0 -0
- /package/www/build/{p-1064cb1a.entry.js.map → p-c90249e5.entry.js.map} +0 -0
- /package/www/build/{p-b9078348.js.map → p-d9e1d8c7.js.map} +0 -0
- /package/www/build/{p-60dfcfaa.entry.js.map → p-df05727f.entry.js.map} +0 -0
- /package/www/build/{p-f978d22d.entry.js.map → p-e0323da3.entry.js.map} +0 -0
- /package/www/build/{p-810433b1.entry.js.map → p-e1852de3.entry.js.map} +0 -0
- /package/www/build/{p-2010d544.entry.js.map → p-e366782c.entry.js.map} +0 -0
- /package/www/build/{p-f323cc0b.entry.js.map → p-e5dc0719.entry.js.map} +0 -0
- /package/www/build/{p-ea9aa3bb.entry.js.map → p-f21bc3a9.entry.js.map} +0 -0
- /package/www/build/{p-a11e1d48.entry.js.map → p-f74f9f3c.entry.js.map} +0 -0
- /package/www/build/{p-fdd176e2.entry.js.map → p-f8d45aa4.entry.js.map} +0 -0
- /package/www/build/{p-c3809d39.entry.js.map → p-fe87b081.entry.js.map} +0 -0
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
--app-header-typography-1-size: 24px;
|
|
3
|
+
--app-header-typography-2-size: 28px;
|
|
4
|
+
--app-header-typography-3-size: 32px;
|
|
5
|
+
--app-header-typography-4-size: 36px;
|
|
6
|
+
--app-header-typography-5-size: 42px;
|
|
7
|
+
--app-header-typography-6-size: 48px;
|
|
8
|
+
--app-header-typography-7-size: 54px;
|
|
9
|
+
--app-header-typography-8-size: 60px;
|
|
10
|
+
--app-header-typography-9-size: 68px;
|
|
11
|
+
--app-header-typography-10-size: 76px;
|
|
12
|
+
--app-header-typography-11-size: 84px;
|
|
13
|
+
--app-header-typography-12-size: 92px;
|
|
14
|
+
--app-header-typography-1-lineheight: 1.33;
|
|
15
|
+
--app-header-typography-2-lineheight: 1.29;
|
|
16
|
+
--app-header-typography-3-lineheight: 1.25;
|
|
17
|
+
--app-header-typography-4-lineheight: 1.24;
|
|
18
|
+
--app-header-typography-5-lineheight: 1.24;
|
|
19
|
+
--app-header-typography-6-lineheight: 1.25;
|
|
20
|
+
--app-header-typography-7-lineheight: 1.2;
|
|
21
|
+
--app-header-typography-8-lineheight: 1.26;
|
|
22
|
+
--app-header-typography-9-lineheight: 1.24;
|
|
23
|
+
--app-header-typography-10-lineheight: 1.26;
|
|
24
|
+
--app-header-typography-11-lineheight: 1.2;
|
|
25
|
+
--app-header-typography-12-lineheight: 1.2;
|
|
26
|
+
--app-header-typography-1-tracking: calc(-0.2 / 1em);
|
|
27
|
+
--app-header-typography-2-tracking: calc(-0.4 / 1em);
|
|
28
|
+
--app-header-typography-3-tracking: calc(-0.6 / 1em);
|
|
29
|
+
--app-header-typography-4-tracking: calc(-0.8 / 1em);
|
|
30
|
+
--app-header-typography-5-tracking: calc(-1 / 1em);
|
|
31
|
+
--app-header-typography-6-tracking: calc(-1.2 / 1em);
|
|
32
|
+
--app-header-typography-7-tracking: calc(-1.4 / 1em);
|
|
33
|
+
--app-header-typography-8-tracking: calc(-1.6 / 1em);
|
|
34
|
+
--app-header-typography-9-tracking: calc(-1.8 / 1em);
|
|
35
|
+
--app-header-typography-10-tracking: calc(-2 / 1em);
|
|
36
|
+
--app-header-typography-11-tracking: calc(-2.2 / 1em);
|
|
37
|
+
--app-header-typography-12-tracking: calc(-2.4 / 1em);
|
|
38
|
+
--app-header-content-max-width: 100%;
|
|
39
|
+
--app-header-height: auto;
|
|
40
|
+
|
|
41
|
+
/* Variable to set stuck header and drawer's top offset.
|
|
42
|
+
Useful when something is absolutely positioned above the header. */
|
|
43
|
+
--app-header-top-offset: 48px;
|
|
44
|
+
--app-header-drawer-trigger-size: calc(var(--space-unit) * 4);
|
|
45
|
+
|
|
46
|
+
/* Variable to customize header background color. */
|
|
47
|
+
--app-header-bg: var(--color-surface01);
|
|
48
|
+
|
|
49
|
+
/* Variable to customize stuck header background color. */
|
|
50
|
+
--app-header-stucked-bg: var(--color-surface01);
|
|
51
|
+
|
|
52
|
+
/* Variable to customize text and icon color. */
|
|
53
|
+
--app-header-text-color: var(--color-default-text);
|
|
54
|
+
|
|
55
|
+
/* Variable to customize the title's font size.
|
|
56
|
+
NOTE: Only use one of the exported `--app-header-typography-*-size` as a value. */
|
|
57
|
+
--app-header-title-font-size: var(--app-header-typography-3-size);
|
|
58
|
+
|
|
59
|
+
/* Variable to customize the title's line-height.
|
|
60
|
+
NOTE: Only use one of the exported `--app-header-typography-*-lineheight` as a value
|
|
61
|
+
and use the same level as the one of the font size. */
|
|
62
|
+
--app-header-title-lineheight: var(--app-header-typography-3-lineheight);
|
|
63
|
+
|
|
64
|
+
/* Variable to customize the title's letter-spacing.
|
|
65
|
+
NOTE: Only use one of the exported `--app-header-typography-*-tracking` as a value
|
|
66
|
+
and use the same level as the one of the font size. */
|
|
67
|
+
--app-header-title-letter-spacing: var(--app-header-typography-3-tracking);
|
|
68
|
+
|
|
69
|
+
/* Variable to customize stuck header's text and icon color. */
|
|
70
|
+
--app-header-stucked-text-color: var(--color-default-text);
|
|
71
|
+
|
|
72
|
+
position: relative;
|
|
73
|
+
display: block;
|
|
74
|
+
height: var(--app-header-height);
|
|
75
|
+
color: var(--app-header-text-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:host,
|
|
79
|
+
* {
|
|
80
|
+
box-sizing: border-box;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.heading-panel {
|
|
84
|
+
position: relative;
|
|
85
|
+
display: flex;
|
|
86
|
+
width: 100%;
|
|
87
|
+
max-width: var(--app-header-content-max-width);
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
flex-grow: 0;
|
|
90
|
+
flex-shrink: 0;
|
|
91
|
+
align-items: baseline;
|
|
92
|
+
padding: var(--grid-margin);
|
|
93
|
+
margin: 0 auto;
|
|
94
|
+
background: var(--app-header-bg);
|
|
95
|
+
gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.hero-container + .heading-panel {
|
|
99
|
+
background: transparent;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host(:empty) .heading-panel {
|
|
103
|
+
padding: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.heading-container {
|
|
107
|
+
position: relative;
|
|
108
|
+
z-index: 1;
|
|
109
|
+
display: flex;
|
|
110
|
+
width: 100%;
|
|
111
|
+
max-width: 100%;
|
|
112
|
+
flex: 1 auto;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
justify-content: flex-start;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.heading-title {
|
|
118
|
+
display: flex;
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
flex-direction: row;
|
|
121
|
+
align-items: flex-start;
|
|
122
|
+
column-gap: calc(var(--space-unit) * 2);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
::slotted([slot="title"]),
|
|
126
|
+
.heading-stuck .heading-title > *,
|
|
127
|
+
::slotted([slot="stucked-title"]) {
|
|
128
|
+
margin: 0;
|
|
129
|
+
font-family: "IBM Plex Serif", serif;
|
|
130
|
+
font-weight: var(--font-bd);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
::slotted([slot="title"]) {
|
|
134
|
+
font-size: var(--app-header-title-font-size);
|
|
135
|
+
letter-spacing: var(--app-header-title-letter-spacing);
|
|
136
|
+
line-height: var(--app-header-title-lineheight);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.heading-stuck .heading-title > *,
|
|
140
|
+
::slotted([slot="stucked-title"]) {
|
|
141
|
+
font-size: var(--app-header-typography-3-size);
|
|
142
|
+
letter-spacing: var(--app-header-typography-3-tracking);
|
|
143
|
+
line-height: var(--app-header-typography-3-lineheight);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:host(:not([menu-length="0"])) .heading-subtitle {
|
|
147
|
+
padding-left: calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
::slotted([slot="top-subtitle"]),
|
|
151
|
+
::slotted([slot="subtitle"]) {
|
|
152
|
+
margin: 0;
|
|
153
|
+
font-family: var(--font-family-sans);
|
|
154
|
+
font-size: 20px;
|
|
155
|
+
font-style: italic;
|
|
156
|
+
line-height: 26px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
::slotted([slot="subtitle"]) {
|
|
160
|
+
font-weight: 500;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
::slotted([slot="top-subtitle"]) {
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.menu-container {
|
|
168
|
+
display: flex;
|
|
169
|
+
width: 100%;
|
|
170
|
+
flex: 1 auto;
|
|
171
|
+
flex-flow: row wrap;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host([menu-length="0"]:not([enable-search])) .menu-container,
|
|
175
|
+
.menu-container:empty {
|
|
176
|
+
display: none;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.menu-container ::slotted([open]) {
|
|
180
|
+
position: relative;
|
|
181
|
+
z-index: 3;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
z-searchbar {
|
|
185
|
+
z-index: 0;
|
|
186
|
+
display: flex;
|
|
187
|
+
width: auto;
|
|
188
|
+
min-width: calc(var(--space-unit) * 32);
|
|
189
|
+
flex: 1 auto;
|
|
190
|
+
align-items: center;
|
|
191
|
+
margin-left: auto;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.heading-stuck {
|
|
195
|
+
position: fixed;
|
|
196
|
+
z-index: 20;
|
|
197
|
+
top: var(--app-header-top-offset);
|
|
198
|
+
left: 0;
|
|
199
|
+
width: 100%;
|
|
200
|
+
max-width: 100%;
|
|
201
|
+
animation: slide-stuck-heading-in 250ms ease-out;
|
|
202
|
+
background: var(--app-header-stucked-bg);
|
|
203
|
+
box-shadow: var(--shadow-2);
|
|
204
|
+
color: var(--app-header-stucked-text-color);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.heading-stuck-content {
|
|
208
|
+
display: flex;
|
|
209
|
+
max-width: var(--app-header-content-max-width);
|
|
210
|
+
align-items: center;
|
|
211
|
+
padding: var(--space-unit) var(--grid-margin);
|
|
212
|
+
margin: 0 auto;
|
|
213
|
+
column-gap: calc(var(--space-unit) * 2);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.heading-stuck .heading-title {
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.heading-stuck .heading-title > *,
|
|
221
|
+
.heading-stuck .heading-title ::slotted([slot="stucked-title"]) {
|
|
222
|
+
display: block;
|
|
223
|
+
overflow: hidden;
|
|
224
|
+
text-overflow: ellipsis;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.heading-stuck-content z-button {
|
|
229
|
+
margin-left: auto;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.drawer-trigger {
|
|
233
|
+
padding: 0;
|
|
234
|
+
border: 0;
|
|
235
|
+
margin: 0;
|
|
236
|
+
appearance: none;
|
|
237
|
+
background: none;
|
|
238
|
+
border-radius: 0;
|
|
239
|
+
color: inherit;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.drawer-trigger z-icon {
|
|
244
|
+
--z-icon-width: var(--app-header-drawer-trigger-size);
|
|
245
|
+
--z-icon-height: var(--app-header-drawer-trigger-size);
|
|
246
|
+
|
|
247
|
+
fill: currentcolor;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Simulate the height of the first line of text,
|
|
251
|
+
to correctly align drawer icon and search page button with the title */
|
|
252
|
+
.heading-container :is(.drawer-trigger, z-button.search-page-button) {
|
|
253
|
+
display: flex;
|
|
254
|
+
height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));
|
|
255
|
+
align-items: center;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.heading-container z-button.search-page-button {
|
|
259
|
+
margin-left: auto;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.drawer-content {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
z-offcanvas[open] .drawer-content {
|
|
267
|
+
display: flex;
|
|
268
|
+
width: 100%;
|
|
269
|
+
flex: 1 auto;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
row-gap: calc(var(--space-unit) * 2.5);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
z-offcanvas[open] .drawer-content ::slotted(z-menu) {
|
|
275
|
+
width: 100%;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.drawer-close {
|
|
279
|
+
--z-icon-width: var(--app-header-drawer-trigger-size);
|
|
280
|
+
--z-icon-height: var(--app-header-drawer-trigger-size);
|
|
281
|
+
|
|
282
|
+
padding: 0;
|
|
283
|
+
border: 0;
|
|
284
|
+
margin: var(--space-unit) 0 calc(var(--space-unit) * 2.5);
|
|
285
|
+
appearance: none;
|
|
286
|
+
background: transparent;
|
|
287
|
+
border-radius: 0;
|
|
288
|
+
color: inherit;
|
|
289
|
+
cursor: pointer;
|
|
290
|
+
fill: currentcolor;
|
|
291
|
+
font-size: inherit;
|
|
292
|
+
outline: none;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.drawer-close:focus-visible {
|
|
296
|
+
box-shadow: var(--shadow-focus-primary);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.hero-container {
|
|
300
|
+
position: absolute;
|
|
301
|
+
z-index: 0;
|
|
302
|
+
top: 0;
|
|
303
|
+
left: 0;
|
|
304
|
+
width: 100%;
|
|
305
|
+
height: 100%;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:host([overlay]) .heading-panel .drawer-trigger z-icon,
|
|
309
|
+
:host([overlay]) .heading-panel .heading-container,
|
|
310
|
+
:host([overlay]) .heading-panel .menu-container {
|
|
311
|
+
color: var(--color-white);
|
|
312
|
+
fill: var(--color-white);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
:host([overlay]) .heading-panel .menu-container ::slotted(z-menu) {
|
|
316
|
+
--z-menu-label-color: var(--color-white);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
:host([overlay]) .hero-container::after {
|
|
320
|
+
position: absolute;
|
|
321
|
+
z-index: 0;
|
|
322
|
+
top: 0;
|
|
323
|
+
left: 0;
|
|
324
|
+
width: 100%;
|
|
325
|
+
height: 100%;
|
|
326
|
+
background: var(--color-black);
|
|
327
|
+
content: "";
|
|
328
|
+
opacity: 0.5;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.hero-container img,
|
|
332
|
+
.hero-container ::slotted(*) {
|
|
333
|
+
position: absolute;
|
|
334
|
+
top: 0;
|
|
335
|
+
left: 0;
|
|
336
|
+
width: 100%;
|
|
337
|
+
height: 100%;
|
|
338
|
+
object-fit: cover;
|
|
339
|
+
object-position: top center;
|
|
340
|
+
-webkit-user-drag: none;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* Tablet breakpoint */
|
|
344
|
+
@media (min-width: 768px) {
|
|
345
|
+
:host {
|
|
346
|
+
--app-header-title-font-size: var(--app-header-typography-6-size);
|
|
347
|
+
--app-header-title-lineheight: var(--app-header-typography-6-lineheight);
|
|
348
|
+
--app-header-title-letter-spacing: var(--app-header-typography-6-tracking);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.heading-panel {
|
|
352
|
+
flex-flow: row wrap;
|
|
353
|
+
align-items: center;
|
|
354
|
+
padding-bottom: calc(var(--space-unit) * 2);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.heading-container {
|
|
358
|
+
margin-right: auto;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
:host(:is([flow="offcanvas"], [menu-length="0"])) :is(.heading-container, .menu-container) {
|
|
362
|
+
width: auto;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
:host(:not([flow="offcanvas"])) .heading-subtitle {
|
|
366
|
+
padding-left: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.menu-container {
|
|
370
|
+
flex: initial;
|
|
371
|
+
align-items: center;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
:host([menu-length="0"]) .menu-container:not(:empty) {
|
|
375
|
+
height: calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
:host(:not([flow="offcanvas"])) .menu-container {
|
|
379
|
+
gap: var(--space-unit) calc(var(--space-unit) * 5);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger {
|
|
383
|
+
display: none;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* Desktop breakpoint */
|
|
388
|
+
@media (min-width: 1152px) {
|
|
389
|
+
:host {
|
|
390
|
+
--app-header-title-font-size: var(--app-header-typography-7-size);
|
|
391
|
+
--app-header-title-lineheight: var(--app-header-typography-7-lineheight);
|
|
392
|
+
--app-header-title-letter-spacing: var(--app-header-typography-7-tracking);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.heading-panel {
|
|
396
|
+
justify-content: flex-start;
|
|
397
|
+
padding-bottom: calc(var(--space-unit) * 3);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.heading-container,
|
|
401
|
+
.menu-container {
|
|
402
|
+
width: auto;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
:host([flow="stack"]) .heading-panel {
|
|
406
|
+
flex-flow: column;
|
|
407
|
+
align-items: flex-start;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
:host([flow="stack"]) .menu-container {
|
|
411
|
+
width: 100%;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
:host(:not([flow="offcanvas"], [menu-length="0"])) .heading-panel {
|
|
415
|
+
row-gap: calc(var(--space-unit) * 3);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
z-searchbar {
|
|
419
|
+
min-width: calc(var(--space-unit) * 45);
|
|
420
|
+
flex: initial;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* Wide breakpoint */
|
|
425
|
+
@media (min-width: 1366px) {
|
|
426
|
+
:host {
|
|
427
|
+
--app-header-title-font-size: var(--app-header-typography-9-size);
|
|
428
|
+
--app-header-title-lineheight: var(--app-header-typography-9-lineheight);
|
|
429
|
+
--app-header-title-letter-spacing: var(--app-header-typography-9-tracking);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
@keyframes slide-stuck-heading-in {
|
|
434
|
+
0% {
|
|
435
|
+
transform: translate3d(0, -100%, 0);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
100% {
|
|
439
|
+
transform: none;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot - Menu label
|
|
4
|
+
* @slot header - Header to display as the first entry of the open menu.
|
|
5
|
+
* @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.
|
|
6
|
+
* @cssprop --z-menu-label-color - Color of the label's text.
|
|
7
|
+
*/
|
|
8
|
+
export class ZMenuDeprecated {
|
|
9
|
+
toggle() {
|
|
10
|
+
if (!this.hasContent) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
this.open = !this.open;
|
|
14
|
+
this.open ? this.opened.emit() : this.closed.emit();
|
|
15
|
+
}
|
|
16
|
+
/** Close the floating list when a click is performed outside of this Element. */
|
|
17
|
+
handleClick(ev) {
|
|
18
|
+
if (!this.floating || !this.open || this.hostElement.contains(ev.target)) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
this.reflow();
|
|
22
|
+
this.open = false;
|
|
23
|
+
this.closed.emit();
|
|
24
|
+
}
|
|
25
|
+
onOpenChanged() {
|
|
26
|
+
if (this.open) {
|
|
27
|
+
this.reflow(true);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
cancelAnimationFrame(this.raf);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
constructor() {
|
|
34
|
+
this.active = undefined;
|
|
35
|
+
this.floating = false;
|
|
36
|
+
this.open = false;
|
|
37
|
+
this.verticalContext = false;
|
|
38
|
+
this.hasHeader = undefined;
|
|
39
|
+
this.hasContent = undefined;
|
|
40
|
+
this.toggle = this.toggle.bind(this);
|
|
41
|
+
this.checkContent = this.checkContent.bind(this);
|
|
42
|
+
this.onLabelSlotChange = this.onLabelSlotChange.bind(this);
|
|
43
|
+
this.onItemsChange = this.onItemsChange.bind(this);
|
|
44
|
+
}
|
|
45
|
+
componentWillLoad() {
|
|
46
|
+
this.checkContent();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.
|
|
50
|
+
* @param ev Slotchange event
|
|
51
|
+
*/
|
|
52
|
+
onLabelSlotChange(ev) {
|
|
53
|
+
const labelElement = ev.target.assignedElements()[0];
|
|
54
|
+
labelElement.dataset.text = labelElement === null || labelElement === void 0 ? void 0 : labelElement.textContent;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Correctly set position of the floating menu in order to prevent overflow.
|
|
58
|
+
* @param live Should run the method on every refresh frame.
|
|
59
|
+
*/
|
|
60
|
+
reflow(live = false) {
|
|
61
|
+
if (this.content) {
|
|
62
|
+
const { style } = this.content;
|
|
63
|
+
const { left } = this.hostElement.getBoundingClientRect();
|
|
64
|
+
const widthPx = getComputedStyle(this.content).width;
|
|
65
|
+
const width = widthPx ? parseFloat(widthPx.replace("px", "")) : 375;
|
|
66
|
+
const safeScrollbarSpace = 30;
|
|
67
|
+
style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;
|
|
68
|
+
}
|
|
69
|
+
if (live) {
|
|
70
|
+
this.raf = requestAnimationFrame(this.reflow.bind(this, live));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if some content slot is set.
|
|
75
|
+
*/
|
|
76
|
+
checkContent() {
|
|
77
|
+
this.hasHeader = !!this.hostElement.querySelectorAll("[slot=header]").length;
|
|
78
|
+
this.hasContent = !!this.hostElement.querySelectorAll("[slot=item]").length || this.hasHeader;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Set `menuitem` role to all menu items.
|
|
82
|
+
* Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).
|
|
83
|
+
*/
|
|
84
|
+
onItemsChange() {
|
|
85
|
+
this.checkContent();
|
|
86
|
+
const items = this.hostElement.querySelectorAll("[slot=item]");
|
|
87
|
+
items.forEach((item) => {
|
|
88
|
+
item.setAttribute("role", "menuitem");
|
|
89
|
+
item.dataset.text = item.textContent;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
renderMenuLabel() {
|
|
93
|
+
if (this.hasContent) {
|
|
94
|
+
return (h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle }, h("div", { class: "menu-label-content" }, h("slot", { onSlotchange: this.onLabelSlotChange }), h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" }))));
|
|
95
|
+
}
|
|
96
|
+
return (h("div", { class: "menu-label" }, h("div", { class: "menu-label-content" }, h("slot", { onSlotchange: this.onLabelSlotChange }))));
|
|
97
|
+
}
|
|
98
|
+
render() {
|
|
99
|
+
return (h(Host, { key: '3db9cc8073a46a7160e9cdd10ca8e56017fa17e3' }, this.renderMenuLabel(), this.hasContent && (h("div", { key: '1ba60c68bbb101a557bab3609640b6f0729b0791', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (h("header", { key: '08a6e9093b5f38d61ad5dc7c52749df71de26218', class: "header" }, h("slot", { key: '3c0cc8a49f9d83ca592f144d2e63e3bbb82f44a8', name: "header", onSlotchange: this.checkContent }))), h("div", { key: '2f8d351c4fd22ff30d6f6d1899e5c3f5875b2cc5', class: "items", role: "menu" }, h("slot", { key: '4f411874aea00060bc7a1333bfed808c92d96bdd', name: "item", onSlotchange: this.onItemsChange }))))));
|
|
100
|
+
}
|
|
101
|
+
static get is() { return "z-menu-deprecated"; }
|
|
102
|
+
static get encapsulation() { return "shadow"; }
|
|
103
|
+
static get originalStyleUrls() {
|
|
104
|
+
return {
|
|
105
|
+
"$": ["styles.css"]
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static get styleUrls() {
|
|
109
|
+
return {
|
|
110
|
+
"$": ["styles.css"]
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
static get properties() {
|
|
114
|
+
return {
|
|
115
|
+
"active": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"mutable": false,
|
|
118
|
+
"complexType": {
|
|
119
|
+
"original": "boolean",
|
|
120
|
+
"resolved": "boolean",
|
|
121
|
+
"references": {}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": true,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": "Flag to set the active status of the menu."
|
|
128
|
+
},
|
|
129
|
+
"attribute": "active",
|
|
130
|
+
"reflect": true
|
|
131
|
+
},
|
|
132
|
+
"floating": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "boolean",
|
|
137
|
+
"resolved": "boolean",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": true,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "Flag to set the display mode of the list.\nIf true, the list will be absolutely positioned under the menu label,\nstacked beneath it otherwise."
|
|
145
|
+
},
|
|
146
|
+
"attribute": "floating",
|
|
147
|
+
"reflect": true,
|
|
148
|
+
"defaultValue": "false"
|
|
149
|
+
},
|
|
150
|
+
"open": {
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"mutable": true,
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "boolean",
|
|
155
|
+
"resolved": "boolean",
|
|
156
|
+
"references": {}
|
|
157
|
+
},
|
|
158
|
+
"required": false,
|
|
159
|
+
"optional": false,
|
|
160
|
+
"docs": {
|
|
161
|
+
"tags": [],
|
|
162
|
+
"text": "The opening state of the menu."
|
|
163
|
+
},
|
|
164
|
+
"attribute": "open",
|
|
165
|
+
"reflect": true,
|
|
166
|
+
"defaultValue": "false"
|
|
167
|
+
},
|
|
168
|
+
"verticalContext": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\nA small border is placed under it as a separator from other elements."
|
|
181
|
+
},
|
|
182
|
+
"attribute": "vertical-context",
|
|
183
|
+
"reflect": true,
|
|
184
|
+
"defaultValue": "false"
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
static get states() {
|
|
189
|
+
return {
|
|
190
|
+
"hasHeader": {},
|
|
191
|
+
"hasContent": {}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
static get events() {
|
|
195
|
+
return [{
|
|
196
|
+
"method": "opened",
|
|
197
|
+
"name": "opened",
|
|
198
|
+
"bubbles": true,
|
|
199
|
+
"cancelable": true,
|
|
200
|
+
"composed": true,
|
|
201
|
+
"docs": {
|
|
202
|
+
"tags": [],
|
|
203
|
+
"text": "The menu has been opened."
|
|
204
|
+
},
|
|
205
|
+
"complexType": {
|
|
206
|
+
"original": "any",
|
|
207
|
+
"resolved": "any",
|
|
208
|
+
"references": {}
|
|
209
|
+
}
|
|
210
|
+
}, {
|
|
211
|
+
"method": "closed",
|
|
212
|
+
"name": "closed",
|
|
213
|
+
"bubbles": true,
|
|
214
|
+
"cancelable": true,
|
|
215
|
+
"composed": true,
|
|
216
|
+
"docs": {
|
|
217
|
+
"tags": [],
|
|
218
|
+
"text": "The menu has been closed."
|
|
219
|
+
},
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "any",
|
|
222
|
+
"resolved": "any",
|
|
223
|
+
"references": {}
|
|
224
|
+
}
|
|
225
|
+
}];
|
|
226
|
+
}
|
|
227
|
+
static get elementRef() { return "hostElement"; }
|
|
228
|
+
static get watchers() {
|
|
229
|
+
return [{
|
|
230
|
+
"propName": "open",
|
|
231
|
+
"methodName": "onOpenChanged"
|
|
232
|
+
}];
|
|
233
|
+
}
|
|
234
|
+
static get listeners() {
|
|
235
|
+
return [{
|
|
236
|
+
"name": "click",
|
|
237
|
+
"method": "handleClick",
|
|
238
|
+
"target": "document",
|
|
239
|
+
"capture": false,
|
|
240
|
+
"passive": false
|
|
241
|
+
}];
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/z-menu-deprecated/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu-deprecated\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuDeprecated {\n @Element() hostElement: HTMLZMenuDeprecatedElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = false;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n private content: HTMLElement;\n\n /** Animation frame request id. */\n private raf: number;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private 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 floating list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.floating || !this.open || this.hostElement.contains(ev.target as Element)) {\n return;\n }\n\n this.reflow();\n this.open = false;\n this.closed.emit();\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (this.open) {\n this.reflow(true);\n } else {\n cancelAnimationFrame(this.raf);\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n }\n\n componentWillLoad(): void {\n this.checkContent();\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 /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (this.content) {\n const {style} = this.content;\n const {left} = this.hostElement.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.hostElement.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.hostElement.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n /**\n * Set `menuitem` role to all menu items.\n * Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).\n */\n private onItemsChange(): void {\n this.checkContent();\n const items = this.hostElement.querySelectorAll<HTMLElement>(\"[slot=item]\");\n items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.dataset.text = item.textContent;\n });\n }\n\n private renderMenuLabel(): HTMLButtonElement | HTMLDivElement {\n if (this.hasContent) {\n return (\n <button\n class=\"menu-label\"\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n onClick={this.toggle}\n >\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </div>\n </button>\n );\n }\n\n return (\n <div class=\"menu-label\">\n <div class=\"menu-label-content\">\n <slot onSlotchange={this.onLabelSlotChange}></slot>\n </div>\n </div>\n );\n }\n\n render(): HTMLZMenuElement {\n return (\n <Host>\n {this.renderMenuLabel()}\n\n {this.hasContent && (\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n ></slot>\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n ></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|