@zanichelli/albe-web-components 6.3.2 → 6.3.3
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 +22 -0
- package/dist/cjs/index-e3299e0a.js +18 -74
- package/dist/cjs/{index-f08f7171.js → index-fa110f37.js} +13 -54
- package/dist/cjs/index.cjs.js +2 -26
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-73ead59e.js → utils-600bad93.js} +1 -1
- package/dist/cjs/{utils-7fde0c53.js → utils-8bc9056f.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +8 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +29 -12
- package/dist/cjs/{z-logo.cjs.entry.js → z-app-switcher_2.cjs.entry.js} +23 -6
- package/dist/cjs/z-app-topbar.cjs.entry.js +3 -7
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -1
- package/dist/cjs/z-avatar.cjs.entry.js +4 -3
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-card.cjs.entry.js +3 -4
- package/dist/cjs/z-carousel.cjs.entry.js +6 -8
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +14 -13
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +8 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +4 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +6 -10
- package/dist/cjs/z-file.cjs.entry.js +2 -4
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +5 -2
- package/dist/cjs/z-input_2.cjs.entry.js +12 -18
- package/dist/cjs/z-link.cjs.entry.js +9 -3
- package/dist/cjs/z-list_3.cjs.entry.js +71 -12
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -3
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -5
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -5
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +5 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +3 -10
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -7
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -6
- package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +8 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -3
- package/dist/cjs/z-pagination.cjs.entry.js +13 -6
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +4 -5
- package/dist/cjs/z-popover.cjs.entry.js +35 -24
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -7
- package/dist/cjs/z-section-title.cjs.entry.js +8 -1
- package/dist/cjs/{z-input-label_2.cjs.entry.js → z-select.cjs.entry.js} +10 -27
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +2 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -7
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +5 -9
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -3
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/beans/index.js +13 -54
- package/dist/collection/collection-manifest.json +1 -18
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +4 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +1 -5
- package/dist/collection/components/file-upload/z-file/index.js +2 -4
- package/dist/collection/components/file-upload/z-file-upload/index.js +4 -8
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +12 -11
- package/dist/collection/components/inputs/z-input/index.js +10 -14
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +8 -9
- package/dist/collection/components/list/z-list/index.js +6 -0
- package/dist/collection/components/list/z-list-element/index.js +49 -11
- package/dist/collection/components/list/z-list-group/index.js +15 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +2 -0
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +1 -4
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -3
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +12 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +6 -3
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +2 -6
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -3
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +4 -8
- package/dist/collection/components/notification/z-tooltip/index.js +11 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +7 -0
- package/dist/collection/components/z-aria-alert/index.js +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -2
- package/dist/collection/components/z-card/index.js +2 -3
- package/dist/collection/components/z-carousel/index.js +5 -7
- package/dist/collection/components/z-contextual-menu/index.js +12 -7
- package/dist/collection/components/z-cover-hero/index.js +7 -0
- package/dist/collection/components/z-divider/index.js +3 -0
- package/dist/collection/components/z-info-reveal/index.js +4 -1
- package/dist/collection/components/z-offcanvas/index.js +7 -0
- package/dist/collection/components/z-pagination/index.js +12 -5
- package/dist/collection/components/z-popover/index.js +38 -27
- package/dist/collection/components/z-section-title/index.js +7 -0
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +8 -6
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +1 -0
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +4 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -2
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -3
- package/dist/esm/{index-aee91593.js → index-968a240f.js} +14 -55
- package/dist/esm/index-a2ca4b97.js +18 -74
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-77c5c75d.js → utils-151f0ab4.js} +1 -1
- package/dist/esm/{utils-5dc8ce33.js → utils-ccb4d66f.js} +2 -2
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +8 -1
- package/dist/esm/z-app-header_2.entry.js +29 -12
- package/dist/esm/{z-logo.entry.js → z-app-switcher_2.entry.js} +24 -8
- package/dist/esm/z-app-topbar.entry.js +3 -7
- package/dist/esm/z-aria-alert.entry.js +2 -1
- package/dist/esm/z-avatar.entry.js +4 -3
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-card.entry.js +3 -4
- package/dist/esm/z-carousel.entry.js +6 -8
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +14 -13
- package/dist/esm/z-contextual-menu.entry.js +8 -3
- package/dist/esm/z-cover-hero.entry.js +8 -1
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +4 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +6 -10
- package/dist/esm/z-file.entry.js +2 -4
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +5 -2
- package/dist/esm/z-input_2.entry.js +12 -18
- package/dist/esm/z-link.entry.js +9 -3
- package/dist/esm/z-list_3.entry.js +71 -12
- package/dist/esm/z-menu-dropdown.entry.js +55 -0
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +2 -3
- package/dist/esm/z-modal-login.entry.js +2 -5
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +1 -5
- package/dist/esm/z-myz-card-dictionary.entry.js +5 -3
- package/dist/esm/z-myz-card-footer.entry.js +3 -6
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +3 -10
- package/dist/esm/z-myz-list-item.entry.js +4 -7
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +13 -6
- package/dist/esm/z-navigation-tab.entry.js +13 -4
- package/dist/esm/z-navigation-tabs.entry.js +7 -4
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +8 -1
- package/dist/esm/z-otp.entry.js +2 -3
- package/dist/esm/z-pagination.entry.js +13 -6
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +4 -5
- package/dist/esm/z-popover.entry.js +35 -24
- package/dist/esm/z-range-picker.entry.js +3 -7
- package/dist/esm/z-section-title.entry.js +8 -1
- package/dist/esm/{z-input-label_2.entry.js → z-select.entry.js} +12 -28
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +2 -1
- package/dist/esm/z-table.entry.js +9 -7
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +3 -1
- package/dist/esm/z-toast-notification.entry.js +5 -9
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +6 -2
- package/dist/esm/z-tooltip.entry.js +7 -3
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +1 -60
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +8 -1057
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-009c9f67.entry.js +1 -0
- package/dist/web-components-library/p-01f001fd.entry.js +1 -0
- package/dist/web-components-library/p-057600de.entry.js +1 -0
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-07e18572.entry.js +1 -0
- package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
- package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
- package/dist/web-components-library/p-1b6279a6.entry.js +1 -0
- package/dist/web-components-library/p-1ba8d432.entry.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-20a3247c.entry.js +1 -0
- package/dist/web-components-library/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/p-26f834e5.entry.js +1 -0
- package/dist/web-components-library/p-279655eb.entry.js +1 -0
- package/{www/build/p-1fdbd448.entry.js → dist/web-components-library/p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
- package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-411cbcd6.entry.js +1 -0
- package/dist/web-components-library/p-475ca461.entry.js +1 -0
- package/{www/build/p-4a322ca6.entry.js → dist/web-components-library/p-496863be.entry.js} +1 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
- package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/p-682528b2.entry.js +1 -0
- package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
- package/dist/web-components-library/p-7af991f5.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-8980398c.entry.js +1 -0
- package/dist/web-components-library/p-8b960526.entry.js +1 -0
- package/dist/web-components-library/p-8bf0844b.entry.js +1 -0
- package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
- package/dist/web-components-library/p-8f46e548.entry.js +1 -0
- package/dist/web-components-library/p-8ffc17b7.entry.js +1 -0
- package/dist/web-components-library/p-93dc6d51.entry.js +1 -0
- package/dist/web-components-library/p-95b8f109.entry.js +1 -0
- package/dist/web-components-library/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a2b67e2d.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-a82ea410.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +1 -0
- package/dist/web-components-library/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/dist/web-components-library/p-b6f36170.entry.js +16 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bdc6f2e5.entry.js +1 -0
- package/dist/web-components-library/p-beba3e67.entry.js +1 -0
- package/dist/web-components-library/p-c25b0b2a.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-cd43f80d.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-db3c8e3e.entry.js +1 -0
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f20d1242.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -17
- package/react/components.js +2 -20
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-009c9f67.entry.js +1 -0
- package/www/build/p-01f001fd.entry.js +1 -0
- package/www/build/p-057600de.entry.js +1 -0
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-07e18572.entry.js +1 -0
- package/www/build/p-0843b0e7.entry.js +1 -0
- package/www/build/p-0fa4b50b.entry.js +1 -0
- package/www/build/p-1b6279a6.entry.js +1 -0
- package/www/build/p-1ba8d432.entry.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-20a3247c.entry.js +1 -0
- package/www/build/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/p-26f834e5.entry.js +1 -0
- package/www/build/p-279655eb.entry.js +1 -0
- package/{dist/web-components-library/p-1fdbd448.entry.js → www/build/p-2acd6a51.entry.js} +1 -1
- package/www/build/p-2d1b6c3c.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/p-38a3cf3b.entry.js +1 -0
- package/www/build/p-3a468aa9.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-411cbcd6.entry.js +1 -0
- package/www/build/p-475ca461.entry.js +1 -0
- package/{dist/web-components-library/p-4a322ca6.entry.js → www/build/p-496863be.entry.js} +1 -1
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-59cfee8d.entry.js +1 -0
- package/www/build/p-5dd9a2c6.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/p-682528b2.entry.js +1 -0
- package/www/build/p-6b1a5309.entry.js +1 -0
- package/www/build/p-7af991f5.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-8980398c.entry.js +1 -0
- package/www/build/p-8b960526.entry.js +1 -0
- package/www/build/p-8bf0844b.entry.js +1 -0
- package/www/build/p-8c105bd1.entry.js +1 -0
- package/www/build/p-8f46e548.entry.js +1 -0
- package/www/build/p-8ffc17b7.entry.js +1 -0
- package/www/build/p-93dc6d51.entry.js +1 -0
- package/www/build/p-95b8f109.entry.js +1 -0
- package/www/build/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a2b67e2d.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-a82ea410.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b33f5e6a.entry.js +1 -0
- package/www/build/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/www/build/p-b6f36170.entry.js +16 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bdc6f2e5.entry.js +1 -0
- package/www/build/p-beba3e67.entry.js +1 -0
- package/www/build/p-c25b0b2a.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-cd43f80d.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-db3c8e3e.entry.js +1 -0
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/p-e9bbbd5a.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f20d1242.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -28
- package/dist/cjs/z-button-deprecated.cjs.entry.js +0 -36
- package/dist/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/cjs/z-cookiebar.cjs.entry.js +0 -44
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -54
- package/dist/cjs/z-footer.cjs.entry.js +0 -110
- package/dist/cjs/z-input-deprecated.cjs.entry.js +0 -261
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +0 -93
- package/dist/cjs/z-myz-topbar.cjs.entry.js +0 -201
- package/dist/cjs/z-pagination-bar.cjs.entry.js +0 -116
- package/dist/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +0 -129
- package/dist/cjs/z-status-tag.cjs.entry.js +0 -32
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +0 -262
- package/dist/collection/components/footer/z-footer/index.js +0 -262
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -45
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -25
- package/dist/collection/components/footer/z-footer-section/index.js +0 -54
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -150
- package/dist/collection/components/footer/z-footer-social/index.js +0 -78
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -15
- package/dist/collection/components/notification/z-candybar/index.js +0 -21
- package/dist/collection/components/notification/z-candybar/styles.css +0 -55
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -115
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -108
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +0 -271
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +0 -22
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +0 -136
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/deprecated/z-button-deprecated/index.js +0 -221
- package/dist/collection/deprecated/z-button-deprecated/styles.css +0 -231
- package/dist/collection/deprecated/z-button-filter/index.js +0 -159
- package/dist/collection/deprecated/z-button-filter/styles.css +0 -64
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -63
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +0 -17
- package/dist/collection/deprecated/z-input-deprecated/index.js +0 -810
- package/dist/collection/deprecated/z-input-deprecated/styles.css +0 -282
- package/dist/collection/deprecated/z-input-label/index.js +0 -79
- package/dist/collection/deprecated/z-input-label/styles.css +0 -16
- package/dist/collection/deprecated/z-popover-deprecated/index.js +0 -300
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +0 -235
- package/dist/collection/deprecated/z-status-tag/index.js +0 -133
- package/dist/collection/deprecated/z-status-tag/styles.css +0 -131
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +0 -378
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +0 -128
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -409
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -574
- package/dist/esm/z-app-switcher.entry.js +0 -24
- package/dist/esm/z-button-deprecated.entry.js +0 -32
- package/dist/esm/z-button-filter.entry.js +0 -45
- package/dist/esm/z-candybar.entry.js +0 -15
- package/dist/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/esm/z-cookiebar.entry.js +0 -40
- package/dist/esm/z-footer-link_3.entry.js +0 -48
- package/dist/esm/z-footer.entry.js +0 -106
- package/dist/esm/z-input-deprecated.entry.js +0 -257
- package/dist/esm/z-menu-dropdown_2.entry.js +0 -88
- package/dist/esm/z-myz-topbar.entry.js +0 -197
- package/dist/esm/z-pagination-bar.entry.js +0 -112
- package/dist/esm/z-pagination-page.entry.js +0 -21
- package/dist/esm/z-popover-deprecated.entry.js +0 -125
- package/dist/esm/z-status-tag.entry.js +0 -28
- package/dist/esm/z-tooltip-deprecated.entry.js +0 -258
- package/dist/types/components/footer/z-footer/index.d.ts +0 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +0 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +0 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +0 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +0 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +0 -16
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +0 -40
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +0 -15
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +0 -28
- package/dist/types/deprecated/z-button-filter/index.d.ts +0 -22
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +0 -8
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +0 -91
- package/dist/types/deprecated/z-input-label/index.d.ts +0 -9
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +0 -33
- package/dist/types/deprecated/z-status-tag/index.d.ts +0 -15
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +0 -41
- package/dist/types/snowflakes/myz/topbar/index.d.ts +0 -59
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-0afc555e.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-18448e4d.entry.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1e163a87.entry.js +0 -1
- package/dist/web-components-library/p-1f187c54.entry.js +0 -1
- package/dist/web-components-library/p-1f8c8cd0.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-3027c60b.entry.js +0 -1
- package/dist/web-components-library/p-30fcd62b.js +0 -1
- package/dist/web-components-library/p-35739670.entry.js +0 -1
- package/dist/web-components-library/p-36d2d081.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3eb0d582.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-42782d06.entry.js +0 -1
- package/dist/web-components-library/p-4465426a.entry.js +0 -1
- package/dist/web-components-library/p-468520f5.entry.js +0 -1
- package/dist/web-components-library/p-46e367c9.entry.js +0 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +0 -1
- package/dist/web-components-library/p-552c6686.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-569f6cff.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5935151c.entry.js +0 -1
- package/dist/web-components-library/p-5b83568e.entry.js +0 -1
- package/dist/web-components-library/p-5c6108bb.entry.js +0 -1
- package/dist/web-components-library/p-63a99ad2.entry.js +0 -16
- package/dist/web-components-library/p-64033ee3.entry.js +0 -1
- package/dist/web-components-library/p-66bbcf76.entry.js +0 -1
- package/dist/web-components-library/p-69db61b5.entry.js +0 -1
- package/dist/web-components-library/p-6e4dd501.entry.js +0 -1
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-7171d686.entry.js +0 -1
- package/dist/web-components-library/p-75a4091f.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7e13d026.entry.js +0 -1
- package/dist/web-components-library/p-82ff8f0e.entry.js +0 -1
- package/dist/web-components-library/p-84cc611a.entry.js +0 -1
- package/dist/web-components-library/p-8879211b.entry.js +0 -1
- package/dist/web-components-library/p-8949cd1d.entry.js +0 -1
- package/dist/web-components-library/p-9099124a.entry.js +0 -1
- package/dist/web-components-library/p-9ecf936d.js +0 -1
- package/dist/web-components-library/p-a1250f99.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-af9b8051.entry.js +0 -1
- package/dist/web-components-library/p-b01314fa.entry.js +0 -1
- package/dist/web-components-library/p-b4a9ba1d.entry.js +0 -1
- package/dist/web-components-library/p-b9a69a90.entry.js +0 -1
- package/dist/web-components-library/p-bbbfd2fa.entry.js +0 -1
- package/dist/web-components-library/p-bea5aa42.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-c7d7958c.entry.js +0 -1
- package/dist/web-components-library/p-c849a2a5.entry.js +0 -1
- package/dist/web-components-library/p-d1b45e96.entry.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-d8e17d3a.entry.js +0 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +0 -1
- package/dist/web-components-library/p-e0f82390.entry.js +0 -1
- package/dist/web-components-library/p-e1ddeb61.entry.js +0 -1
- package/dist/web-components-library/p-e4d761f4.entry.js +0 -1
- package/dist/web-components-library/p-efca7e17.entry.js +0 -1
- package/dist/web-components-library/p-f08d1cbd.entry.js +0 -1
- package/dist/web-components-library/p-f53d1d26.entry.js +0 -1
- package/dist/web-components-library/p-f8aef252.entry.js +0 -1
- package/dist/web-components-library/p-f94281ee.entry.js +0 -1
- package/dist/web-components-library/p-f9e8ac5d.entry.js +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-0afc555e.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-18448e4d.entry.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1e163a87.entry.js +0 -1
- package/www/build/p-1f187c54.entry.js +0 -1
- package/www/build/p-1f8c8cd0.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-3027c60b.entry.js +0 -1
- package/www/build/p-30fcd62b.js +0 -1
- package/www/build/p-35739670.entry.js +0 -1
- package/www/build/p-36d2d081.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3eb0d582.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-42782d06.entry.js +0 -1
- package/www/build/p-4465426a.entry.js +0 -1
- package/www/build/p-468520f5.entry.js +0 -1
- package/www/build/p-46e367c9.entry.js +0 -1
- package/www/build/p-4ba0b17c.entry.js +0 -1
- package/www/build/p-552c6686.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-569f6cff.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5935151c.entry.js +0 -1
- package/www/build/p-5b83568e.entry.js +0 -1
- package/www/build/p-5c6108bb.entry.js +0 -1
- package/www/build/p-63a99ad2.entry.js +0 -16
- package/www/build/p-64033ee3.entry.js +0 -1
- package/www/build/p-66bbcf76.entry.js +0 -1
- package/www/build/p-69db61b5.entry.js +0 -1
- package/www/build/p-6e4dd501.entry.js +0 -1
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-7171d686.entry.js +0 -1
- package/www/build/p-75a4091f.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7e13d026.entry.js +0 -1
- package/www/build/p-82ff8f0e.entry.js +0 -1
- package/www/build/p-84cc611a.entry.js +0 -1
- package/www/build/p-8879211b.entry.js +0 -1
- package/www/build/p-8949cd1d.entry.js +0 -1
- package/www/build/p-9099124a.entry.js +0 -1
- package/www/build/p-9ecf936d.js +0 -1
- package/www/build/p-a1250f99.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-af9b8051.entry.js +0 -1
- package/www/build/p-b01314fa.entry.js +0 -1
- package/www/build/p-b4a9ba1d.entry.js +0 -1
- package/www/build/p-b9a69a90.entry.js +0 -1
- package/www/build/p-bbbfd2fa.entry.js +0 -1
- package/www/build/p-bea5aa42.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-c7d7958c.entry.js +0 -1
- package/www/build/p-c849a2a5.entry.js +0 -1
- package/www/build/p-d1b45e96.entry.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-d8e17d3a.entry.js +0 -1
- package/www/build/p-dc3c5f36.entry.js +0 -1
- package/www/build/p-e0f82390.entry.js +0 -1
- package/www/build/p-e1ddeb61.entry.js +0 -1
- package/www/build/p-e4d761f4.entry.js +0 -1
- package/www/build/p-ef5f8af2.js +0 -1
- package/www/build/p-efca7e17.entry.js +0 -1
- package/www/build/p-f08d1cbd.entry.js +0 -1
- package/www/build/p-f53d1d26.entry.js +0 -1
- package/www/build/p-f8aef252.entry.js +0 -1
- package/www/build/p-f94281ee.entry.js +0 -1
- package/www/build/p-f9e8ac5d.entry.js +0 -1
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { B as ButtonVariant } from './index-
|
|
2
|
+
import { B as ButtonVariant } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";
|
|
5
5
|
|
|
6
6
|
const ZAnchorNavigation = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* If enabled, the text of each anchor will be hidden unless
|
|
11
|
+
* for the current one or the one the user is hovering.
|
|
12
|
+
*/
|
|
9
13
|
this.hideUnselected = false;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the mobile list is collapsed.
|
|
16
|
+
*/
|
|
10
17
|
this.collapsed = false;
|
|
11
18
|
}
|
|
12
19
|
/**
|
|
@@ -8,19 +8,41 @@ const ZAppHeader = class {
|
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.sticking = createEvent(this, "sticking", 7);
|
|
11
|
+
/**
|
|
12
|
+
* Stuck mode for the header.
|
|
13
|
+
* You can programmatically set it using an IntersectionObserver.
|
|
14
|
+
* **Optional**
|
|
15
|
+
*/
|
|
16
|
+
this.stuck = false;
|
|
17
|
+
/**
|
|
18
|
+
* Should place an overlay over the hero image.
|
|
19
|
+
* Useful for legibility purpose.
|
|
20
|
+
* **Optional**
|
|
21
|
+
*/
|
|
22
|
+
this.overlay = false;
|
|
23
|
+
/**
|
|
24
|
+
* Control menu bar position in the header.
|
|
25
|
+
* - auto: the menu bar is positioned near the title
|
|
26
|
+
* - stack: the menu bar is positioned below the title
|
|
27
|
+
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
28
|
+
*
|
|
29
|
+
* **Optional**
|
|
30
|
+
*/
|
|
31
|
+
this.flow = "auto";
|
|
32
|
+
/**
|
|
33
|
+
* The opening state of the drawer.
|
|
34
|
+
*/
|
|
35
|
+
this.drawerOpen = false;
|
|
36
|
+
/**
|
|
37
|
+
* The stucked state of the bar.
|
|
38
|
+
*/
|
|
39
|
+
this.stucked = false;
|
|
11
40
|
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
12
41
|
new IntersectionObserver(([entry]) => {
|
|
13
42
|
this.stucked = !entry.isIntersecting;
|
|
14
43
|
}, {
|
|
15
44
|
threshold: 0.5,
|
|
16
45
|
});
|
|
17
|
-
this.stuck = false;
|
|
18
|
-
this.hero = undefined;
|
|
19
|
-
this.overlay = false;
|
|
20
|
-
this.flow = "auto";
|
|
21
|
-
this.drawerOpen = false;
|
|
22
|
-
this.stucked = false;
|
|
23
|
-
this.menuLength = undefined;
|
|
24
46
|
this.openDrawer = this.openDrawer.bind(this);
|
|
25
47
|
this.closeDrawer = this.closeDrawer.bind(this);
|
|
26
48
|
this.collectMenuElements.bind(this);
|
|
@@ -110,11 +132,6 @@ const stylesCss = ":host{margin-right:var(--z-icon-right-margin, 0);margin-left:
|
|
|
110
132
|
const ZIcon = class {
|
|
111
133
|
constructor(hostRef) {
|
|
112
134
|
registerInstance(this, hostRef);
|
|
113
|
-
this.name = undefined;
|
|
114
|
-
this.height = undefined;
|
|
115
|
-
this.width = undefined;
|
|
116
|
-
this.iconid = undefined;
|
|
117
|
-
this.fill = undefined;
|
|
118
135
|
}
|
|
119
136
|
selectPathOrPolygon(iconValue) {
|
|
120
137
|
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
@@ -1,16 +1,32 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
+
import { T as ThemeVariant } from './index-968a240f.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss$1 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
5
|
+
|
|
6
|
+
const ZAppSwitcher = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.appButtonClick = createEvent(this, "appButtonClick", 7);
|
|
10
|
+
/** theme variant, default 'dark' */
|
|
11
|
+
this.theme = ThemeVariant.DARK;
|
|
12
|
+
this.isopen = false;
|
|
13
|
+
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
14
|
+
}
|
|
15
|
+
emitAppButtonClick() {
|
|
16
|
+
this.isopen = !this.isopen;
|
|
17
|
+
this.appButtonClick.emit({ isopen: this.isopen });
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return (h("button", { title: "app-switcher", onClick: () => this.emitAppButtonClick() }, h("z-icon", { name: "app-switcher", class: this.theme })));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
ZAppSwitcher.style = stylesCss$1;
|
|
2
24
|
|
|
3
25
|
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\")}";
|
|
4
26
|
|
|
5
27
|
const ZLogo = class {
|
|
6
28
|
constructor(hostRef) {
|
|
7
29
|
registerInstance(this, hostRef);
|
|
8
|
-
this.width = undefined;
|
|
9
|
-
this.height = undefined;
|
|
10
|
-
this.imageAlt = undefined;
|
|
11
|
-
this.link = undefined;
|
|
12
|
-
this.targetBlank = undefined;
|
|
13
|
-
this.mobileLogo = undefined;
|
|
14
30
|
}
|
|
15
31
|
render() {
|
|
16
32
|
const style = {};
|
|
@@ -25,4 +41,4 @@ const ZLogo = class {
|
|
|
25
41
|
};
|
|
26
42
|
ZLogo.style = stylesCss;
|
|
27
43
|
|
|
28
|
-
export { ZLogo as z_logo };
|
|
44
|
+
export { ZAppSwitcher as z_app_switcher, ZLogo as z_logo };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { T as ThemeVariant,
|
|
2
|
+
import { T as ThemeVariant, f as DividerOrientation } from './index-968a240f.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
5
|
const stylesCss = ":host{position:sticky;z-index:99;top:0;display:block;height:calc(var(--space-unit) * 6);box-sizing:border-box;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);background-color:var(--gray900);border-radius:var(--border-no-radius)}:host(.light){background-color:var(--color-white)}:host>div{display:flex;align-items:center;justify-content:space-between}:host(.limited-width) #content-container{--mw:none;max-width:var(--mw);margin:auto}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:20px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";
|
|
@@ -7,13 +7,9 @@ const stylesCss = ":host{position:sticky;z-index:99;top:0;display:block;height:c
|
|
|
7
7
|
const ZAppTopbar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
|
-
|
|
10
|
+
/** theme variant, default 'dark' */
|
|
11
11
|
this.theme = ThemeVariant.DARK;
|
|
12
|
-
this.
|
|
13
|
-
this.topbarContent = undefined;
|
|
14
|
-
this.logoLink = undefined;
|
|
15
|
-
this.showAppSwitcher = undefined;
|
|
16
|
-
this.isMobile = undefined;
|
|
12
|
+
this.topbarLinks = [];
|
|
17
13
|
}
|
|
18
14
|
handleResize() {
|
|
19
15
|
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as ZAriaAlertMode } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const ZAriaAlert = class {
|
|
5
5
|
constructor(hostRef) {
|
|
6
6
|
registerInstance(this, hostRef);
|
|
7
|
+
/** Aria live mode */
|
|
7
8
|
this.mode = ZAriaAlertMode.POLITE;
|
|
8
9
|
}
|
|
9
10
|
render() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { A as AvatarSize } from './index-
|
|
2
|
+
import { A as AvatarSize } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
5
5
|
|
|
@@ -7,11 +7,12 @@ const ZAvatar = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
var _a, _b;
|
|
10
|
+
/** [optional] Avatar size */
|
|
10
11
|
this.size = AvatarSize.MEDIUM;
|
|
11
|
-
|
|
12
|
+
/** [optional] Avatar text color */
|
|
12
13
|
this.textColor = "text-white";
|
|
14
|
+
/** [optional] Avatar background color */
|
|
13
15
|
this.backgroundColor = "bg-grey-700";
|
|
14
|
-
this.image = undefined;
|
|
15
16
|
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
16
17
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
17
18
|
}
|
|
@@ -3,9 +3,8 @@ import { r as registerInstance, h, g as getElement, H as Host } from './index-a2
|
|
|
3
3
|
const ZBody = class {
|
|
4
4
|
constructor(hostRef) {
|
|
5
5
|
registerInstance(this, hostRef);
|
|
6
|
-
|
|
6
|
+
/** Font weight variant */
|
|
7
7
|
this.variant = "regular";
|
|
8
|
-
this.component = undefined;
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
10
|
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -17,9 +16,8 @@ const stylesCss = ":host>*{margin:0;font-family:var(--dashboard-font)}:host(.reg
|
|
|
17
16
|
const ZTypography = class {
|
|
18
17
|
constructor(hostRef) {
|
|
19
18
|
registerInstance(this, hostRef);
|
|
20
|
-
|
|
19
|
+
/** Font weight variant */
|
|
21
20
|
this.variant = "regular";
|
|
22
|
-
this.component = undefined;
|
|
23
21
|
}
|
|
24
22
|
render() {
|
|
25
23
|
const el = document.createElement(this.component || "span");
|
|
@@ -7,13 +7,13 @@ const ZButtonSort = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.buttonSortClick = createEvent(this, "buttonSortClick", 7);
|
|
10
|
-
|
|
11
|
-
this.label = undefined;
|
|
12
|
-
this.desclabel = undefined;
|
|
13
|
-
this.counter = undefined;
|
|
10
|
+
/** sort label content (ascending) (optional) */
|
|
14
11
|
this.sortlabelasc = "A-Z";
|
|
12
|
+
/** sort label content (descending) (optional) */
|
|
15
13
|
this.sortlabeldesc = "Z-A";
|
|
14
|
+
/** selected flag (optional) */
|
|
16
15
|
this.isselected = false;
|
|
16
|
+
/** sortable flag (optional) */
|
|
17
17
|
this.sortasc = true;
|
|
18
18
|
this.allowTooltip = false;
|
|
19
19
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { b as ButtonType, B as ButtonVariant, c as ButtonSize } from './index-
|
|
2
|
+
import { b as ButtonType, B as ButtonVariant, c as ButtonSize } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size=\"big\"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size=\"small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size=\"x-small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant=\"primary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant=\"secondary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant=\"tertiary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}";
|
|
5
5
|
|
|
6
6
|
const ZButton = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/** defines a string value that labels an interactive element, used for accessibility. */
|
|
9
10
|
this.ariaLabel = "";
|
|
10
|
-
|
|
11
|
-
this.target = undefined;
|
|
12
|
-
this.htmlid = undefined;
|
|
13
|
-
this.name = undefined;
|
|
11
|
+
/** HTML button disabled attribute. */
|
|
14
12
|
this.disabled = false;
|
|
13
|
+
/** HTML button type attribute. */
|
|
15
14
|
this.type = ButtonType.BUTTON;
|
|
15
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
|
|
16
16
|
this.variant = ButtonVariant.PRIMARY;
|
|
17
|
-
|
|
17
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
18
18
|
this.size = ButtonSize.BIG;
|
|
19
19
|
}
|
|
20
20
|
getAttributes() {
|
package/dist/esm/z-card.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { C as CardVariant } from './index-
|
|
2
|
+
import { C as CardVariant } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"text\"]),::slotted([slot=\"actions\"]){margin:0}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot=\"text\"]){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
5
5
|
|
|
@@ -7,11 +7,10 @@ const ZCard = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.cardClicked = createEvent(this, "cardClicked", 7);
|
|
10
|
-
|
|
11
|
-
this.coverIcon = undefined;
|
|
10
|
+
/** Enable click interactions on the card. Default: false */
|
|
12
11
|
this.clickable = false;
|
|
12
|
+
/** Enable shadow. Default: false. */
|
|
13
13
|
this.showshadow = false;
|
|
14
|
-
this.hasCoverImage = undefined;
|
|
15
14
|
}
|
|
16
15
|
onClick(ev) {
|
|
17
16
|
// Do nothing for clicks on actions.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { Q as CarouselArrowsPosition, R as CarouselProgressMode, c as ButtonSize, B as ButtonVariant } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-carousel{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}z-carousel[single],z-carousel[single=\"true\"]{display:flex;flex-direction:column;align-items:center;justify-content:center}z-carousel[single=\"true\"] .z-carousel-container,z-carousel[single] .z-carousel-container{width:fit-content;max-width:100%}z-carousel .loading-items-container{display:none}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-wrapper{position:relative}.z-carousel-title{margin-bottom:var(--space-unit);color:var(--gray800)}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}z-carousel[single=\"true\"] .z-carousel-items-container>*:not(:last-child),z-carousel[single] .z-carousel-items-container>*:not(:last-child){margin-right:0}.z-carousel-items-container>li{scroll-snap-align:center}z-button[data-direction]{--z-icon-width:32px;--z-icon-height:32px;position:absolute;bottom:50%;transform:translateY(50%)}z-button[data-direction=\"next\"]{right:0}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:var(--space-unit)}.z-carousel-footer .number-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress button{display:flex;align-items:center;padding:0;border:none;margin:0;background-color:transparent}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{margin:0 calc(var(--space-unit) / 2)}.z-carousel-footer .numbers-progress>*{margin-right:calc(var(--space-unit) / 2)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}.z-carousel-footer .dots-progress button.current z-icon{fill:var(--gray800)}.z-carousel-footer .dots-progress button:not(.current) z-icon{fill:var(--gray200)}";
|
|
5
5
|
|
|
@@ -7,16 +7,14 @@ const ZCarousel = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.indexChange = createEvent(this, "indexChange", 7);
|
|
10
|
-
/**
|
|
11
|
-
this.scrollingTo = null;
|
|
12
|
-
this.isLoading = undefined;
|
|
13
|
-
this.label = undefined;
|
|
10
|
+
/** Shows only one content at a time */
|
|
14
11
|
this.single = false;
|
|
15
|
-
this.
|
|
16
|
-
this.progressMode = undefined;
|
|
12
|
+
/** The height of z-carousel ghost loading, this prop is mandatory when isloading is set to true, as otherwise the component won't show. */
|
|
17
13
|
this.ghostLoadingHeight = 100;
|
|
14
|
+
/** Current item index for single mode. */
|
|
18
15
|
this.current = 0;
|
|
19
|
-
|
|
16
|
+
/** Flag indicating the items container is scrolling programmatically towards the stored index. */
|
|
17
|
+
this.scrollingTo = null;
|
|
20
18
|
}
|
|
21
19
|
onIndexChange() {
|
|
22
20
|
this.scrollingTo = this.current;
|
package/dist/esm/z-chip.entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as getDevice, h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { w as ZChipType, o as Device } from './index-968a240f.js';
|
|
3
|
+
import { g as getDevice, h as handleKeyboardSubmit } from './utils-ccb4d66f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";
|
|
@@ -9,9 +9,9 @@ const ZChip = class {
|
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.interactiveIconClick = createEvent(this, "interactiveIconClick", 7);
|
|
12
|
-
|
|
12
|
+
/** z-chip size type, can be default, medium or small */
|
|
13
13
|
this.type = ZChipType.DEFAULT;
|
|
14
|
-
|
|
14
|
+
/** set z-chip as disabled */
|
|
15
15
|
this.disabled = false;
|
|
16
16
|
}
|
|
17
17
|
emitinteractiveIconClick() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { I as InputType, K as KeyboardKeyCode } from './index-
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { I as InputType, K as KeyboardKeyCode } from './index-968a240f.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-ccb4d66f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";
|
|
@@ -9,26 +9,27 @@ const ZCombobox = class {
|
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.comboboxChange = createEvent(this, "comboboxChange", 7);
|
|
12
|
-
|
|
13
|
-
this.inputType = InputType.TEXT;
|
|
14
|
-
this.inputid = undefined;
|
|
15
|
-
this.items = undefined;
|
|
16
|
-
this.label = undefined;
|
|
12
|
+
/** show search input flag (optional) */
|
|
17
13
|
this.hassearch = false;
|
|
18
|
-
|
|
19
|
-
this.searchplaceholder = undefined;
|
|
20
|
-
this.searchtitle = undefined;
|
|
14
|
+
/** no result text message */
|
|
21
15
|
this.noresultslabel = "Nessun risultato";
|
|
16
|
+
/** toggle combo list opening flag */
|
|
22
17
|
this.isopen = false;
|
|
18
|
+
/** fixed style flag */
|
|
23
19
|
this.isfixed = false;
|
|
20
|
+
/** close combobox list text */
|
|
24
21
|
this.closesearchtext = "Chiudi";
|
|
22
|
+
/** show "check all" checkbox (optional) */
|
|
25
23
|
this.hascheckall = false;
|
|
24
|
+
/** check all label (optional) */
|
|
26
25
|
this.checkalltext = "Seleziona tutti";
|
|
26
|
+
/** uncheck all label (optional) */
|
|
27
27
|
this.uncheckalltext = "Deseleziona tutti";
|
|
28
|
+
/** max number of checkable items (0 = unlimited) */
|
|
28
29
|
this.maxcheckableitems = 0;
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
30
|
+
this.renderItemsList = []; // used for render only
|
|
31
|
+
this.itemsList = [];
|
|
32
|
+
this.inputType = InputType.TEXT;
|
|
32
33
|
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
33
34
|
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
34
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { P as
|
|
2
|
+
import { P as PopoverPosition } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
5
5
|
|
|
@@ -7,9 +7,14 @@ const ZContextualMenu = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.clickContextualMenu = createEvent(this, "clickContextualMenu", 7);
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* [optional] Sets text color of ZContextualMenu's content
|
|
12
|
+
*/
|
|
11
13
|
this.color = "color-primary01";
|
|
12
|
-
|
|
14
|
+
/**
|
|
15
|
+
* [optional] Sets the position of the popover
|
|
16
|
+
*/
|
|
17
|
+
this.popoverPosition = PopoverPosition.BOTTOM_RIGHT;
|
|
13
18
|
}
|
|
14
19
|
componentWillRender() {
|
|
15
20
|
if (this.elements) {
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { J as CoverHeroVariant, M as CoverHeroContentPosition } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--cover-hero-height:auto;--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:calc(var(--space-unit) * 30);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot=\"cover\"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-text01)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
|
|
5
5
|
|
|
6
6
|
const ZCoverHero = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* Cover hero variant.
|
|
11
|
+
* Can be one of "OVERLAY", "STACKED".
|
|
12
|
+
*/
|
|
9
13
|
this.variant = CoverHeroVariant.OVERLAY;
|
|
14
|
+
/**
|
|
15
|
+
* Cover hero content position (only for STACKED variant).
|
|
16
|
+
*/
|
|
10
17
|
this.contentPosition = CoverHeroContentPosition.TOP;
|
|
11
18
|
}
|
|
12
19
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { f as flatpickr, i as it, s as setAriaOptions, a as setFlatpickrPosition, v as validateDate } from './utils-
|
|
2
|
+
import { f as flatpickr, i as it, s as setAriaOptions, a as setFlatpickrPosition, v as validateDate } from './utils-151f0ab4.js';
|
|
3
3
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
|
|
4
|
-
import {
|
|
4
|
+
import { y as ZDatePickerMode, F as ZDatePickerPosition, I as InputType } from './index-968a240f.js';
|
|
5
5
|
|
|
6
6
|
var monthSelect = createCommonjsModule(function (module, exports) {
|
|
7
7
|
(function (global, factory) {
|
|
@@ -310,9 +310,9 @@ const ZDatePicker = class {
|
|
|
310
310
|
constructor(hostRef) {
|
|
311
311
|
registerInstance(this, hostRef);
|
|
312
312
|
this.dateSelect = createEvent(this, "dateSelect", 7);
|
|
313
|
-
|
|
313
|
+
/** z-input aria label */
|
|
314
314
|
this.ariaLabel = "";
|
|
315
|
-
|
|
315
|
+
/** [Optional] datepicker mode: date, datetime, only months */
|
|
316
316
|
this.mode = ZDatePickerMode.DATE;
|
|
317
317
|
this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
|
|
318
318
|
this.inputError = false;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { D as DividerSize,
|
|
2
|
+
import { D as DividerSize, f as DividerOrientation } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
5
5
|
|
|
6
6
|
const ZDivider = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/** [optional] Divider size */
|
|
9
10
|
this.size = DividerSize.SMALL;
|
|
11
|
+
/** [optional] Divider color */
|
|
10
12
|
this.color = "gray200";
|
|
13
|
+
/** [optional] Divider orintation */
|
|
11
14
|
this.orientation = DividerOrientation.HORIZONTAL;
|
|
12
15
|
}
|
|
13
16
|
render() {
|
|
@@ -33,9 +33,8 @@ ZDragdropArea.style = stylesCss;
|
|
|
33
33
|
const ZHeading = class {
|
|
34
34
|
constructor(hostRef) {
|
|
35
35
|
registerInstance(this, hostRef);
|
|
36
|
-
|
|
36
|
+
/** Font weight variant */
|
|
37
37
|
this.variant = "regular";
|
|
38
|
-
this.component = undefined;
|
|
39
38
|
}
|
|
40
39
|
render() {
|
|
41
40
|
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as getDevice } from './utils-
|
|
2
|
+
import { v as ZFileUploadType, o as Device, D as DividerSize } from './index-968a240f.js';
|
|
3
|
+
import { g as getDevice } from './utils-ccb4d66f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container z-body{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>z-heading{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";
|
|
@@ -9,19 +9,15 @@ const ZFileUpload = class {
|
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.fileInput = createEvent(this, "fileInput", 7);
|
|
12
|
+
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
13
|
+
this.type = ZFileUploadType.DEFAULT;
|
|
14
|
+
/** Files added by the user */
|
|
15
|
+
this.files = [];
|
|
12
16
|
this.inputAttributes = {
|
|
13
17
|
type: "file",
|
|
14
18
|
id: "file-elem",
|
|
15
19
|
multiple: true,
|
|
16
20
|
};
|
|
17
|
-
this.type = ZFileUploadType.DEFAULT;
|
|
18
|
-
this.buttonVariant = undefined;
|
|
19
|
-
this.acceptedFormat = undefined;
|
|
20
|
-
this.fileMaxSize = undefined;
|
|
21
|
-
this.mainTitle = undefined;
|
|
22
|
-
this.description = undefined;
|
|
23
|
-
this.files = [];
|
|
24
|
-
this.invalidFiles = undefined;
|
|
25
21
|
}
|
|
26
22
|
/** Listen removeFile event sent from z-file component */
|
|
27
23
|
removeFileListener(e) {
|
package/dist/esm/z-file.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { w as ZChipType, P as PopoverPosition } from './index-968a240f.js';
|
|
3
3
|
import { t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
5
|
const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
|
|
@@ -8,8 +8,6 @@ const ZFile = class {
|
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.removeFile = createEvent(this, "removeFile", 7);
|
|
11
|
-
this.fileNumber = undefined;
|
|
12
|
-
this.fileName = undefined;
|
|
13
11
|
this.allowPopover = false;
|
|
14
12
|
this.popoverVisible = false;
|
|
15
13
|
}
|
|
@@ -37,7 +35,7 @@ const ZFile = class {
|
|
|
37
35
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
38
36
|
}
|
|
39
37
|
render() {
|
|
40
|
-
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position:
|
|
38
|
+
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
41
39
|
}
|
|
42
40
|
get el() { return getElement(this); }
|
|
43
41
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { H as InfoRevealPosition } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position=\"top_left\"]) .z-info-reveal-trigger,:host([position=\"bottom_left\"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position=\"bottom_left\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{bottom:0}:host([position=\"top_right\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{right:0}:host([position=\"top_left\"]) .info-box,:host([position=\"bottom_left\"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position=\"top_left\"]) .z-info-reveal-close,:host([position=\"top_right\"]) .z-info-reveal-close{align-self:flex-start}:host([position=\"bottom_left\"]) .z-info-reveal-close,:host([position=\"bottom_right\"]) .z-info-reveal-close{align-self:flex-end}";
|
|
5
5
|
|
|
6
6
|
const ZInfoReveal = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/** Name of the icon for the open button */
|
|
9
10
|
this.icon = "informationsource";
|
|
11
|
+
/** Info reveal's position */
|
|
10
12
|
this.position = InfoRevealPosition.BOTTOM_RIGHT;
|
|
11
|
-
|
|
13
|
+
/** Whether the info panel is open. */
|
|
12
14
|
this.open = false;
|
|
15
|
+
/** Current index for the info queue. */
|
|
13
16
|
this.currentIndex = null;
|
|
14
17
|
}
|
|
15
18
|
watchItems() {
|