@zanichelli/albe-web-components 5.6.2 → 6.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 +48 -0
- package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
- package/dist/cjs/{index-e3299e0a.js → index-0b49c192.js} +207 -225
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index.cjs.js +53 -59
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-dfe717c7.js → utils-ce225fb3.js} +13 -13
- package/dist/cjs/{utils-4647eb06.js → utils-ebe45309.js} +21 -35
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header.cjs.entry.js +16 -14
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
- package/dist/cjs/z-avatar.cjs.entry.js +9 -8
- package/dist/cjs/z-body_2.cjs.entry.js +5 -3
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
- package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
- package/dist/cjs/z-button.cjs.entry.js +10 -11
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +16 -19
- package/dist/cjs/z-carousel.cjs.entry.js +8 -13
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +30 -26
- package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
- package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
- package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +13 -16
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
- package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
- package/dist/cjs/z-input-label_2.cjs.entry.js +44 -40
- package/dist/cjs/z-list-group.cjs.entry.js +7 -7
- package/dist/cjs/z-list_2.cjs.entry.js +16 -16
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -13
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
- package/dist/cjs/z-modal.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
- package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
- package/dist/cjs/z-notification.cjs.entry.js +3 -8
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +14 -17
- package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
- package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +20 -17
- package/dist/cjs/z-popover.cjs.entry.js +38 -56
- package/dist/cjs/z-section-title.cjs.entry.js +5 -14
- package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
- package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
- package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +3 -3
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
- package/dist/cjs/z-table-header.cjs.entry.js +18 -21
- package/dist/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
- package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
- package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +258 -266
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +22 -22
- package/dist/collection/components/buttons/z-button/styles.css +31 -30
- package/dist/collection/components/buttons/z-button-sort/index.js +3 -4
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +7 -7
- package/dist/collection/components/buttons/z-chip/styles.css +12 -15
- package/dist/collection/components/buttons/z-toggle-button/index.js +6 -8
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +25 -28
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
- package/dist/collection/components/date-picker/styles.css +65 -83
- package/dist/collection/components/date-picker/utils.js +21 -35
- package/dist/collection/components/date-picker/z-date-picker/index.js +40 -47
- package/dist/collection/components/date-picker/z-range-picker/index.js +71 -86
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
- package/dist/collection/components/file-upload/z-file/index.js +6 -6
- package/dist/collection/components/file-upload/z-file/styles.css +5 -18
- package/dist/collection/components/file-upload/z-file-upload/index.js +23 -25
- package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
- package/dist/collection/components/footer/z-footer/index.js +11 -14
- package/dist/collection/components/footer/z-footer/styles.css +27 -32
- package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
- package/dist/collection/components/footer/z-footer-section/index.js +1 -1
- package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +7 -9
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +3 -4
- package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper/index.js +2 -2
- package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper-item/index.js +1 -1
- package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
- package/dist/collection/components/inputs/z-combobox/index.js +31 -27
- package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
- package/dist/collection/components/inputs/z-input/index.js +63 -70
- package/dist/collection/components/inputs/z-input/styles.css +83 -93
- package/dist/collection/components/inputs/z-input-message/index.js +4 -4
- package/dist/collection/components/inputs/z-input-message/styles.css +5 -5
- package/dist/collection/components/inputs/z-select/index.js +51 -47
- package/dist/collection/components/inputs/z-select/styles.css +23 -28
- package/dist/collection/components/list/z-list/index.js +3 -3
- package/dist/collection/components/list/z-list/styles.css +2 -3
- package/dist/collection/components/list/z-list-element/index.js +24 -24
- package/dist/collection/components/list/z-list-element/styles.css +18 -40
- package/dist/collection/components/list/z-list-group/index.js +10 -10
- package/dist/collection/components/list/z-list-group/styles.css +1 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +21 -20
- package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
- package/dist/collection/components/logo/z-logo/index.js +1 -3
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +2 -5
- package/dist/collection/components/modal/z-modal/styles.css +23 -29
- package/dist/collection/components/modal/z-modal-login/index.js +19 -17
- package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +26 -36
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +17 -15
- package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
- package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
- package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
- package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
- package/dist/collection/components/navigation/z-link/index.js +15 -13
- package/dist/collection/components/navigation/z-link/styles.css +15 -12
- package/dist/collection/components/navigation/z-menu/index.js +9 -12
- package/dist/collection/components/navigation/z-menu/styles.css +22 -25
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -8
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
- package/dist/collection/components/navigation/z-menu-section/index.js +3 -3
- package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
- package/dist/collection/components/navigation/z-user-dropdown/index.js +4 -6
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
- package/dist/collection/components/notification/z-candybar/styles.css +21 -27
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -7
- package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
- package/dist/collection/components/notification/z-info-box/index.js +2 -2
- package/dist/collection/components/notification/z-info-box/styles.css +8 -8
- package/dist/collection/components/notification/z-notification/index.js +3 -8
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +44 -48
- package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
- package/dist/collection/components/notification/z-tooltip/index.js +6 -6
- package/dist/collection/components/panel/z-panel-elem/index.js +5 -5
- package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
- package/dist/collection/components/typography/z-body/index.js +4 -3
- package/dist/collection/components/typography/z-heading/index.js +4 -3
- package/dist/collection/components/typography/z-typography/index.js +19 -18
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +12 -6
- package/dist/collection/components/z-avatar/index.js +8 -7
- package/dist/collection/components/z-avatar/styles.css +7 -10
- package/dist/collection/components/z-card/index.js +18 -21
- package/dist/collection/components/z-card/styles.css +38 -42
- package/dist/collection/components/z-carousel/index.js +7 -12
- package/dist/collection/components/z-carousel/styles.css +12 -12
- package/dist/collection/components/z-contextual-menu/index.js +5 -10
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +3 -2
- package/dist/collection/components/z-cover-hero/styles.css +4 -4
- package/dist/collection/components/z-divider/index.js +6 -6
- package/dist/collection/components/z-ghost-loading/index.js +2 -2
- package/dist/collection/components/z-ghost-loading/styles.css +14 -14
- package/dist/collection/components/z-info-reveal/index.js +13 -12
- package/dist/collection/components/z-info-reveal/styles.css +9 -8
- package/dist/collection/components/z-offcanvas/index.js +19 -22
- package/dist/collection/components/z-offcanvas/styles.css +65 -45
- package/dist/collection/components/z-pagination/index.js +13 -16
- package/dist/collection/components/z-pagination/styles.css +16 -21
- package/dist/collection/components/z-popover/index.js +41 -59
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +6 -15
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +17 -19
- package/dist/collection/components/z-skip-to-content/styles.css +11 -15
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table/styles.css +23 -74
- package/dist/collection/components/z-table/z-table-cell/index.js +11 -10
- package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +4 -4
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
- package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
- package/dist/collection/components/z-table/z-table-header/index.js +23 -25
- package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -3
- package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
- package/dist/collection/components/z-table/z-table-row/index.js +11 -11
- package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +2 -2
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
- package/dist/collection/components/z-tag/index.js +1 -1
- package/dist/collection/components/z-tag/styles.css +7 -12
- package/dist/collection/components/z-visually-hidden/styles.css +6 -6
- package/dist/collection/constants/icons.js +1 -1
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +9 -23
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +24 -19
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +2 -1
- package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
- package/dist/collection/deprecated/z-chip-deprecated/index.js +5 -7
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +62 -74
- package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
- package/dist/collection/deprecated/z-input-label/index.js +1 -1
- package/dist/collection/deprecated/z-input-label/styles.css +2 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +24 -20
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
- package/dist/collection/deprecated/z-status-tag/index.js +9 -8
- package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +36 -47
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +4 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +10 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +12 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +9 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +23 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +7 -7
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +15 -15
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +4 -4
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
- package/dist/collection/snowflakes/myz/topbar/index.js +35 -39
- package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +23 -23
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +26 -9
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
- package/dist/collection/utils/storybook-utils.js +6 -5
- package/dist/collection/utils/utils.js +15 -15
- package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
- package/dist/esm/{index-a2ca4b97.js → index-3517583d.js} +207 -225
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-2c5dfb88.js → utils-39ca028c.js} +13 -13
- package/dist/esm/{utils-3ba1cfd4.js → utils-fbe04cd6.js} +21 -35
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-app-header.entry.js +16 -14
- package/dist/esm/z-app-switcher_9.entry.js +159 -177
- package/dist/esm/z-aria-alert.entry.js +4 -3
- package/dist/esm/z-avatar.entry.js +9 -8
- package/dist/esm/z-body_2.entry.js +5 -3
- package/dist/esm/z-button-deprecated.entry.js +12 -9
- package/dist/esm/z-button-filter.entry.js +4 -3
- package/dist/esm/z-button-sort.entry.js +5 -6
- package/dist/esm/z-button.entry.js +10 -11
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +16 -19
- package/dist/esm/z-carousel.entry.js +8 -13
- package/dist/esm/z-chip-deprecated.entry.js +4 -6
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +30 -26
- package/dist/esm/z-contextual-menu.entry.js +5 -10
- package/dist/esm/z-cookiebar.entry.js +6 -7
- package/dist/esm/z-cover-hero.entry.js +6 -5
- package/dist/esm/z-date-picker.entry.js +39 -46
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
- package/dist/esm/z-file-upload.entry.js +18 -20
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link_3.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +13 -16
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +3 -4
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +9 -8
- package/dist/esm/z-input-deprecated.entry.js +55 -67
- package/dist/esm/z-input-label_2.entry.js +44 -40
- package/dist/esm/z-list-group.entry.js +7 -7
- package/dist/esm/z-list_2.entry.js +16 -16
- package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +10 -13
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +17 -15
- package/dist/esm/z-modal.entry.js +3 -6
- package/dist/esm/z-myz-card-alert.entry.js +8 -8
- package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +11 -10
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +27 -17
- package/dist/esm/z-myz-card-list.entry.js +4 -3
- package/dist/esm/z-myz-card_4.entry.js +17 -13
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +35 -39
- package/dist/esm/z-navigation-tab-link.entry.js +11 -11
- package/dist/esm/z-navigation-tab.entry.js +12 -12
- package/dist/esm/z-navigation-tabs.entry.js +21 -21
- package/dist/esm/z-notification.entry.js +3 -8
- package/dist/esm/z-offcanvas.entry.js +12 -15
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +13 -25
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +14 -17
- package/dist/esm/z-panel-elem.entry.js +4 -4
- package/dist/esm/z-pocket-message.entry.js +3 -3
- package/dist/esm/z-pocket_3.entry.js +19 -19
- package/dist/esm/z-popover-deprecated.entry.js +20 -17
- package/dist/esm/z-popover.entry.js +38 -56
- package/dist/esm/z-section-title.entry.js +5 -14
- package/dist/esm/z-skip-to-content.entry.js +19 -21
- package/dist/esm/z-slideshow.entry.js +29 -12
- package/dist/esm/z-status-tag.entry.js +9 -9
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +3 -3
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +6 -7
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +4 -4
- package/dist/esm/z-table-header.entry.js +18 -21
- package/dist/esm/z-table-row.entry.js +9 -9
- package/dist/esm/z-table-sticky-footer.entry.js +3 -3
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/esm/z-toast-notification.entry.js +38 -41
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +19 -17
- package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +6 -8
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +225 -250
- package/dist/types/components/buttons/z-button/index.d.ts +7 -14
- package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
- package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +9 -3
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
- package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +21 -20
- package/dist/types/components/footer/z-footer/index.d.ts +15 -15
- package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
- package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
- package/dist/types/components/icons/icons.d.ts +1 -1
- package/dist/types/components/icons/z-icon/index.d.ts +3 -3
- package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
- package/dist/types/components/inputs/z-combobox/index.d.ts +17 -18
- package/dist/types/components/inputs/z-input/index.d.ts +24 -45
- package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
- package/dist/types/components/inputs/z-select/index.d.ts +26 -26
- package/dist/types/components/list/z-list/index.d.ts +4 -3
- package/dist/types/components/list/z-list-element/index.d.ts +11 -7
- package/dist/types/components/list/z-list-group/index.d.ts +4 -3
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +2 -1
- package/dist/types/components/modal/z-modal/index.d.ts +5 -4
- package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +8 -7
- package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
- package/dist/types/components/navigation/z-link/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
- package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
- package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
- package/dist/types/components/notification/z-notification/index.d.ts +6 -5
- package/dist/types/components/notification/z-toast-notification/index.d.ts +22 -21
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
- package/dist/types/components/typography/z-body/index.d.ts +4 -1
- package/dist/types/components/typography/z-heading/index.d.ts +4 -1
- package/dist/types/components/typography/z-typography/index.d.ts +8 -4
- package/dist/types/components/z-aria-alert/index.d.ts +5 -2
- package/dist/types/components/z-avatar/index.d.ts +3 -2
- package/dist/types/components/z-card/index.d.ts +8 -7
- package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
- package/dist/types/components/z-cover-hero/index.d.ts +3 -2
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-info-reveal/index.d.ts +9 -7
- package/dist/types/components/z-offcanvas/index.d.ts +12 -11
- package/dist/types/components/z-pagination/index.d.ts +14 -13
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +3 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
- package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +2 -1
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +255 -84
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +6 -6
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +24 -35
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
- package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +8 -14
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +6 -11
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +14 -14
- package/dist/types/stencil-public-runtime.d.ts +4 -15
- package/dist/types/utils/utils.d.ts +14 -7
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-01b7c613.entry.js +1 -0
- package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
- package/dist/web-components-library/p-0617465e.entry.js +1 -0
- package/dist/web-components-library/p-099ea215.entry.js +1 -0
- package/dist/web-components-library/p-0f21bfa5.entry.js +1 -0
- package/dist/web-components-library/p-14f11a64.entry.js +1 -0
- package/dist/web-components-library/p-182368ea.entry.js +1 -0
- package/dist/web-components-library/p-1d6cbf2f.entry.js +1 -0
- package/dist/web-components-library/p-1e1bc565.entry.js +1 -0
- package/dist/web-components-library/p-2177384f.entry.js +1 -0
- package/dist/web-components-library/p-25769717.entry.js +1 -0
- package/dist/web-components-library/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/dist/web-components-library/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/dist/web-components-library/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/dist/web-components-library/p-31604337.entry.js +1 -0
- package/dist/web-components-library/p-31a4c8d5.entry.js +1 -0
- package/dist/web-components-library/p-348c5ada.entry.js +1 -0
- package/dist/web-components-library/p-3492096c.entry.js +1 -0
- package/dist/web-components-library/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/dist/web-components-library/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/dist/web-components-library/p-3dbe166d.entry.js +1 -0
- package/dist/web-components-library/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/dist/web-components-library/p-42e2e594.entry.js +1 -0
- package/dist/web-components-library/p-43a7d01c.entry.js +1 -0
- package/dist/web-components-library/p-48134f75.entry.js +1 -0
- package/dist/web-components-library/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/dist/web-components-library/p-4dc88c3f.entry.js +1 -0
- package/dist/web-components-library/p-4eeb77dc.entry.js +1 -0
- package/dist/web-components-library/p-4fe96235.entry.js +1 -0
- package/dist/web-components-library/p-594c9326.entry.js +1 -0
- package/dist/web-components-library/p-5b8ac754.entry.js +1 -0
- package/dist/web-components-library/p-5bba90cc.entry.js +1 -0
- package/dist/web-components-library/p-5bce77ba.entry.js +1 -0
- package/dist/web-components-library/p-5f111f4c.entry.js +1 -0
- package/dist/web-components-library/p-60ed0e4e.entry.js +1 -0
- package/dist/web-components-library/p-64102759.entry.js +1 -0
- package/dist/web-components-library/p-64309df9.entry.js +1 -0
- package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
- package/dist/web-components-library/p-6c08910a.entry.js +1 -0
- package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
- package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
- package/dist/web-components-library/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/dist/web-components-library/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/dist/web-components-library/p-7960c409.entry.js +1 -0
- package/dist/web-components-library/p-79940e8f.entry.js +1 -0
- package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
- package/dist/web-components-library/p-7b8149ca.entry.js +1 -0
- package/dist/web-components-library/p-7c80da52.entry.js +1 -0
- package/dist/web-components-library/p-7e3bb3e0.entry.js +1 -0
- package/dist/web-components-library/p-87942fb9.entry.js +1 -0
- package/dist/web-components-library/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/dist/web-components-library/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/dist/web-components-library/p-9adedc68.entry.js +1 -0
- package/dist/web-components-library/p-9c0df331.entry.js +1 -0
- package/dist/web-components-library/p-9d9c0d4b.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
- package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
- package/dist/web-components-library/p-aed38e5d.entry.js +1 -0
- package/dist/web-components-library/p-af6789f2.entry.js +1 -0
- package/dist/web-components-library/p-afc41eed.entry.js +1 -0
- package/dist/web-components-library/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/dist/web-components-library/p-b1ea0074.entry.js +1 -0
- package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
- package/dist/web-components-library/p-b366ef8e.js +2 -0
- package/dist/web-components-library/p-b5861f58.entry.js +1 -0
- package/dist/web-components-library/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/dist/web-components-library/p-bb413e2a.entry.js +1 -0
- package/dist/web-components-library/p-bb684454.entry.js +1 -0
- package/dist/web-components-library/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/dist/web-components-library/p-bffc00d2.entry.js +1 -0
- package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
- package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
- package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
- package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
- package/dist/web-components-library/p-c9c51bd9.entry.js +1 -0
- package/dist/web-components-library/p-c9ebec8d.entry.js +1 -0
- package/dist/web-components-library/p-cb453344.entry.js +1 -0
- package/dist/web-components-library/p-cd1593fa.entry.js +1 -0
- package/dist/web-components-library/p-d056538a.entry.js +1 -0
- package/dist/web-components-library/p-daeb784d.entry.js +1 -0
- package/dist/web-components-library/p-e137a17f.entry.js +1 -0
- package/dist/web-components-library/p-e2b1cb25.entry.js +1 -0
- package/dist/web-components-library/p-e420edcc.entry.js +1 -0
- package/dist/web-components-library/p-eb0f18a9.entry.js +1 -0
- package/dist/web-components-library/p-eb612914.entry.js +1 -0
- package/dist/web-components-library/p-efdca379.entry.js +1 -0
- package/dist/web-components-library/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/dist/web-components-library/p-f2136861.entry.js +1 -0
- package/dist/web-components-library/p-fb2d27b5.entry.js +1 -0
- package/dist/web-components-library/p-fd2a947c.entry.js +16 -0
- package/dist/web-components-library/p-ff000765.entry.js +1 -0
- package/{www/build/p-fd13128d.entry.js → dist/web-components-library/p-ff93eb04.entry.js} +1 -1
- package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +24 -17
- package/react/index.d.ts +1 -1
- package/readme.md +91 -33
- package/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-01b7c613.entry.js +1 -0
- package/www/build/p-01cbf6d4.entry.js +1 -0
- package/www/build/p-0617465e.entry.js +1 -0
- package/www/build/p-099ea215.entry.js +1 -0
- package/www/build/p-0f21bfa5.entry.js +1 -0
- package/www/build/p-14f11a64.entry.js +1 -0
- package/www/build/p-182368ea.entry.js +1 -0
- package/www/build/p-1d6cbf2f.entry.js +1 -0
- package/www/build/p-1e1bc565.entry.js +1 -0
- package/www/build/p-2177384f.entry.js +1 -0
- package/www/build/p-25769717.entry.js +1 -0
- package/www/build/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/www/build/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/www/build/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/www/build/p-31604337.entry.js +1 -0
- package/www/build/p-31a4c8d5.entry.js +1 -0
- package/www/build/p-348c5ada.entry.js +1 -0
- package/www/build/p-3492096c.entry.js +1 -0
- package/www/build/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/www/build/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/www/build/p-3dbe166d.entry.js +1 -0
- package/www/build/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/www/build/p-42e2e594.entry.js +1 -0
- package/www/build/p-43a7d01c.entry.js +1 -0
- package/www/build/p-46a0f894.js +1 -0
- package/www/build/p-48134f75.entry.js +1 -0
- package/www/build/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/www/build/p-4dc88c3f.entry.js +1 -0
- package/www/build/p-4eeb77dc.entry.js +1 -0
- package/www/build/p-4fe96235.entry.js +1 -0
- package/www/build/p-594c9326.entry.js +1 -0
- package/www/build/p-5b8ac754.entry.js +1 -0
- package/www/build/p-5bba90cc.entry.js +1 -0
- package/www/build/p-5bce77ba.entry.js +1 -0
- package/www/build/p-5f111f4c.entry.js +1 -0
- package/www/build/p-60ed0e4e.entry.js +1 -0
- package/www/build/p-64102759.entry.js +1 -0
- package/www/build/p-64309df9.entry.js +1 -0
- package/www/build/p-6a53a0d8.entry.js +1 -0
- package/www/build/p-6c08910a.entry.js +1 -0
- package/www/build/p-6fa0cef6.entry.js +1 -0
- package/www/build/p-71ff9b83.entry.js +1 -0
- package/www/build/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/www/build/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/www/build/p-7960c409.entry.js +1 -0
- package/www/build/p-79940e8f.entry.js +1 -0
- package/www/build/p-7a9d3944.entry.js +1 -0
- package/www/build/p-7b8149ca.entry.js +1 -0
- package/www/build/p-7c80da52.entry.js +1 -0
- package/www/build/p-7e3bb3e0.entry.js +1 -0
- package/www/build/p-87942fb9.entry.js +1 -0
- package/www/build/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/www/build/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/www/build/p-9adedc68.entry.js +1 -0
- package/www/build/p-9c0df331.entry.js +1 -0
- package/www/build/p-9d9c0d4b.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-a55ef7b5.entry.js +1 -0
- package/www/build/p-ae2dd723.entry.js +1 -0
- package/www/build/p-aed38e5d.entry.js +1 -0
- package/www/build/p-af6789f2.entry.js +1 -0
- package/www/build/p-afc41eed.entry.js +1 -0
- package/www/build/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/www/build/p-b1ea0074.entry.js +1 -0
- package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
- package/www/build/p-b366ef8e.js +2 -0
- package/www/build/p-b5861f58.entry.js +1 -0
- package/www/build/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/www/build/p-bb413e2a.entry.js +1 -0
- package/www/build/p-bb684454.entry.js +1 -0
- package/www/build/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/www/build/p-bffc00d2.entry.js +1 -0
- package/www/build/p-c0d382bc.entry.js +1 -0
- package/www/build/p-c1c6988e.entry.js +1 -0
- package/www/build/p-c4b70baa.entry.js +1 -0
- package/www/build/p-c5ecf36a.entry.js +1 -0
- package/www/build/p-c9c51bd9.entry.js +1 -0
- package/www/build/p-c9ebec8d.entry.js +1 -0
- package/www/build/p-cb453344.entry.js +1 -0
- package/www/build/p-cd1593fa.entry.js +1 -0
- package/www/build/p-d056538a.entry.js +1 -0
- package/www/build/p-daeb784d.entry.js +1 -0
- package/www/build/p-e137a17f.entry.js +1 -0
- package/www/build/p-e2b1cb25.entry.js +1 -0
- package/www/build/p-e420edcc.entry.js +1 -0
- package/www/build/p-eb0f18a9.entry.js +1 -0
- package/www/build/p-eb612914.entry.js +1 -0
- package/www/build/p-efdca379.entry.js +1 -0
- package/www/build/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/www/build/p-f2136861.entry.js +1 -0
- package/www/build/p-fb2d27b5.entry.js +1 -0
- package/www/build/p-fd2a947c.entry.js +16 -0
- package/www/build/p-ff000765.entry.js +1 -0
- package/{dist/web-components-library/p-fd13128d.entry.js → www/build/p-ff93eb04.entry.js} +1 -1
- package/www/build/p-ffacff3f.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +16 -4
- package/www/pages/notification.html +153 -69
- package/dist/cjs/index-1fda0714.js +0 -60
- package/dist/cjs/index-745c0423.js +0 -354
- package/dist/esm/index-8390ddaf.js +0 -354
- package/dist/esm/index-abb47b30.js +0 -58
- package/dist/web-components-library/p-01a95ddd.entry.js +0 -1
- package/dist/web-components-library/p-023e657c.entry.js +0 -1
- package/dist/web-components-library/p-03aa4a29.entry.js +0 -1
- package/dist/web-components-library/p-07af77be.entry.js +0 -1
- package/dist/web-components-library/p-0f0d8a17.entry.js +0 -1
- package/dist/web-components-library/p-137c1289.entry.js +0 -1
- package/dist/web-components-library/p-145ef56b.entry.js +0 -1
- package/dist/web-components-library/p-1c5cb6b6.entry.js +0 -1
- package/dist/web-components-library/p-1cb8f39f.entry.js +0 -1
- package/dist/web-components-library/p-1efa8cfe.entry.js +0 -1
- package/dist/web-components-library/p-204c6ec6.entry.js +0 -1
- package/dist/web-components-library/p-213d7163.entry.js +0 -1
- package/dist/web-components-library/p-21a1b6a9.entry.js +0 -1
- package/dist/web-components-library/p-242e410f.entry.js +0 -1
- package/dist/web-components-library/p-286363e2.js +0 -7
- package/dist/web-components-library/p-2ec1cc4b.entry.js +0 -1
- package/dist/web-components-library/p-33438244.entry.js +0 -1
- package/dist/web-components-library/p-3c715e7d.entry.js +0 -1
- package/dist/web-components-library/p-426c55e1.entry.js +0 -1
- package/dist/web-components-library/p-42d1707b.entry.js +0 -1
- package/dist/web-components-library/p-46f66301.entry.js +0 -1
- package/dist/web-components-library/p-470e984a.entry.js +0 -1
- package/dist/web-components-library/p-4725eda5.entry.js +0 -1
- package/dist/web-components-library/p-478dd7a6.entry.js +0 -1
- package/dist/web-components-library/p-4f4930b5.entry.js +0 -1
- package/dist/web-components-library/p-52ca86db.entry.js +0 -1
- package/dist/web-components-library/p-5a5dde20.entry.js +0 -1
- package/dist/web-components-library/p-5c30dfc5.entry.js +0 -1
- package/dist/web-components-library/p-6ab40b8f.entry.js +0 -1
- package/dist/web-components-library/p-6aba4f0a.entry.js +0 -1
- package/dist/web-components-library/p-6c7251f5.entry.js +0 -1
- package/dist/web-components-library/p-726b4fbd.entry.js +0 -1
- package/dist/web-components-library/p-728a61a6.js +0 -1
- package/dist/web-components-library/p-769ccc9f.entry.js +0 -1
- package/dist/web-components-library/p-79d4e03b.entry.js +0 -1
- package/dist/web-components-library/p-872c8d25.entry.js +0 -1
- package/dist/web-components-library/p-8779fc5f.entry.js +0 -1
- package/dist/web-components-library/p-8e480d71.entry.js +0 -1
- package/dist/web-components-library/p-9124fe26.entry.js +0 -1
- package/dist/web-components-library/p-951c50ad.entry.js +0 -16
- package/dist/web-components-library/p-9bbb27f7.entry.js +0 -1
- package/dist/web-components-library/p-9c83bf57.entry.js +0 -1
- package/dist/web-components-library/p-a30bbd0a.entry.js +0 -1
- package/dist/web-components-library/p-a3eeed2e.entry.js +0 -1
- package/dist/web-components-library/p-a88046a0.entry.js +0 -1
- package/dist/web-components-library/p-a9d0b418.entry.js +0 -1
- package/dist/web-components-library/p-aaa0752b.entry.js +0 -1
- package/dist/web-components-library/p-ad17a4a0.entry.js +0 -1
- package/dist/web-components-library/p-aee1f514.entry.js +0 -1
- package/dist/web-components-library/p-b02aa57c.entry.js +0 -1
- package/dist/web-components-library/p-b54faa73.entry.js +0 -1
- package/dist/web-components-library/p-b622a7fd.entry.js +0 -1
- package/dist/web-components-library/p-baa877db.entry.js +0 -1
- package/dist/web-components-library/p-beec82d9.entry.js +0 -1
- package/dist/web-components-library/p-bf7adc29.entry.js +0 -1
- package/dist/web-components-library/p-c1da93ee.entry.js +0 -1
- package/dist/web-components-library/p-c2a3f15d.entry.js +0 -1
- package/dist/web-components-library/p-c4f778d7.entry.js +0 -1
- package/dist/web-components-library/p-c633d2bb.entry.js +0 -1
- package/dist/web-components-library/p-c6b5ee23.entry.js +0 -1
- package/dist/web-components-library/p-c89cbfcc.entry.js +0 -1
- package/dist/web-components-library/p-cea7a294.entry.js +0 -1
- package/dist/web-components-library/p-d17ebc2f.js +0 -2
- package/dist/web-components-library/p-d1f8d75e.entry.js +0 -1
- package/dist/web-components-library/p-d29153f0.entry.js +0 -1
- package/dist/web-components-library/p-d665ca6b.entry.js +0 -1
- package/dist/web-components-library/p-d8aac365.entry.js +0 -1
- package/dist/web-components-library/p-e527ef6d.entry.js +0 -1
- package/dist/web-components-library/p-e88ad497.entry.js +0 -1
- package/dist/web-components-library/p-eb2634d3.entry.js +0 -1
- package/dist/web-components-library/p-eba1cdd9.entry.js +0 -1
- package/dist/web-components-library/p-ed9dc5b7.entry.js +0 -1
- package/dist/web-components-library/p-f0e73ccb.entry.js +0 -1
- package/dist/web-components-library/p-f4b9f544.entry.js +0 -1
- package/dist/web-components-library/p-f5c3d332.entry.js +0 -1
- package/dist/web-components-library/p-f724f7a1.entry.js +0 -1
- package/dist/web-components-library/p-f77d7a3f.entry.js +0 -1
- package/dist/web-components-library/p-fdb6e67b.entry.js +0 -1
- package/www/build/p-0109f1e9.js +0 -1
- package/www/build/p-01a95ddd.entry.js +0 -1
- package/www/build/p-023e657c.entry.js +0 -1
- package/www/build/p-03aa4a29.entry.js +0 -1
- package/www/build/p-07af77be.entry.js +0 -1
- package/www/build/p-0f0d8a17.entry.js +0 -1
- package/www/build/p-137c1289.entry.js +0 -1
- package/www/build/p-145ef56b.entry.js +0 -1
- package/www/build/p-1c5cb6b6.entry.js +0 -1
- package/www/build/p-1cb8f39f.entry.js +0 -1
- package/www/build/p-1efa8cfe.entry.js +0 -1
- package/www/build/p-204c6ec6.entry.js +0 -1
- package/www/build/p-213d7163.entry.js +0 -1
- package/www/build/p-21a1b6a9.entry.js +0 -1
- package/www/build/p-242e410f.entry.js +0 -1
- package/www/build/p-286363e2.js +0 -7
- package/www/build/p-2ec1cc4b.entry.js +0 -1
- package/www/build/p-33438244.entry.js +0 -1
- package/www/build/p-3c715e7d.entry.js +0 -1
- package/www/build/p-426c55e1.entry.js +0 -1
- package/www/build/p-42d1707b.entry.js +0 -1
- package/www/build/p-46f66301.entry.js +0 -1
- package/www/build/p-470e984a.entry.js +0 -1
- package/www/build/p-4725eda5.entry.js +0 -1
- package/www/build/p-478dd7a6.entry.js +0 -1
- package/www/build/p-4f4930b5.entry.js +0 -1
- package/www/build/p-52ca86db.entry.js +0 -1
- package/www/build/p-5a5dde20.entry.js +0 -1
- package/www/build/p-5c30dfc5.entry.js +0 -1
- package/www/build/p-6ab40b8f.entry.js +0 -1
- package/www/build/p-6aba4f0a.entry.js +0 -1
- package/www/build/p-6c7251f5.entry.js +0 -1
- package/www/build/p-726b4fbd.entry.js +0 -1
- package/www/build/p-728a61a6.js +0 -1
- package/www/build/p-769ccc9f.entry.js +0 -1
- package/www/build/p-79d4e03b.entry.js +0 -1
- package/www/build/p-872c8d25.entry.js +0 -1
- package/www/build/p-8779fc5f.entry.js +0 -1
- package/www/build/p-8e480d71.entry.js +0 -1
- package/www/build/p-9124fe26.entry.js +0 -1
- package/www/build/p-951c50ad.entry.js +0 -16
- package/www/build/p-9bbb27f7.entry.js +0 -1
- package/www/build/p-9c83bf57.entry.js +0 -1
- package/www/build/p-a30bbd0a.entry.js +0 -1
- package/www/build/p-a3eeed2e.entry.js +0 -1
- package/www/build/p-a88046a0.entry.js +0 -1
- package/www/build/p-a9d0b418.entry.js +0 -1
- package/www/build/p-aaa0752b.entry.js +0 -1
- package/www/build/p-ad17a4a0.entry.js +0 -1
- package/www/build/p-aee1f514.entry.js +0 -1
- package/www/build/p-b02aa57c.entry.js +0 -1
- package/www/build/p-b54faa73.entry.js +0 -1
- package/www/build/p-b622a7fd.entry.js +0 -1
- package/www/build/p-baa877db.entry.js +0 -1
- package/www/build/p-beec82d9.entry.js +0 -1
- package/www/build/p-bf7adc29.entry.js +0 -1
- package/www/build/p-c1da93ee.entry.js +0 -1
- package/www/build/p-c2a3f15d.entry.js +0 -1
- package/www/build/p-c4f778d7.entry.js +0 -1
- package/www/build/p-c633d2bb.entry.js +0 -1
- package/www/build/p-c6b5ee23.entry.js +0 -1
- package/www/build/p-c89cbfcc.entry.js +0 -1
- package/www/build/p-cea7a294.entry.js +0 -1
- package/www/build/p-d17ebc2f.js +0 -2
- package/www/build/p-d1f8d75e.entry.js +0 -1
- package/www/build/p-d29153f0.entry.js +0 -1
- package/www/build/p-d665ca6b.entry.js +0 -1
- package/www/build/p-d8aac365.entry.js +0 -1
- package/www/build/p-e527ef6d.entry.js +0 -1
- package/www/build/p-e88ad497.entry.js +0 -1
- package/www/build/p-eb2634d3.entry.js +0 -1
- package/www/build/p-eba1cdd9.entry.js +0 -1
- package/www/build/p-ed9dc5b7.entry.js +0 -1
- package/www/build/p-f0e73ccb.entry.js +0 -1
- package/www/build/p-f4b9f544.entry.js +0 -1
- package/www/build/p-f5c3d332.entry.js +0 -1
- package/www/build/p-f724f7a1.entry.js +0 -1
- package/www/build/p-f77d7a3f.entry.js +0 -1
- package/www/build/p-fdb6e67b.entry.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3517583d.js';
|
|
2
|
+
import { t as ToastNotificationTransition } from './index-9d028352.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{display:inline-block;min-width:200px
|
|
7
|
+
const stylesCss = ":host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);border-radius:4px;box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between}:host>#external-container #text{margin-right:calc(var(--space-unit) * 2);color:var(--color-white);letter-spacing:0.16px;line-height:20px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-white)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--gray800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
|
|
8
8
|
|
|
9
9
|
const ZToastNotification = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -17,21 +17,13 @@ const ZToastNotification = class {
|
|
|
17
17
|
/** toast notification draggable percentage*/
|
|
18
18
|
this.draggablepercentage = 80;
|
|
19
19
|
this.isCloseEventCalled = false;
|
|
20
|
-
this.visibilityChangeEventHandler = () => {
|
|
21
|
-
if (document.visibilityState === "hidden") {
|
|
22
|
-
this.timeoutHandle && this.onBlur();
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.elapsedTime && this.onFocus();
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
20
|
}
|
|
29
21
|
watchPropIsdraggable(newValue) {
|
|
30
22
|
if (newValue) {
|
|
31
|
-
this.sliderManager.get(
|
|
23
|
+
this.sliderManager.get("pan").set({ enable: true });
|
|
32
24
|
}
|
|
33
25
|
else {
|
|
34
|
-
this.sliderManager.get(
|
|
26
|
+
this.sliderManager.get("pan").set({ enable: false });
|
|
35
27
|
}
|
|
36
28
|
}
|
|
37
29
|
watchPropAutoclose(newValue) {
|
|
@@ -57,6 +49,7 @@ const ZToastNotification = class {
|
|
|
57
49
|
componentWillLoad() {
|
|
58
50
|
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
59
51
|
this.validateAutoclose();
|
|
52
|
+
this.percentage = 0;
|
|
60
53
|
}
|
|
61
54
|
componentDidLoad() {
|
|
62
55
|
this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
|
|
@@ -65,22 +58,30 @@ const ZToastNotification = class {
|
|
|
65
58
|
document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
|
|
66
59
|
}
|
|
67
60
|
this.isdraggable && this.handleSlideOutDragAnimation();
|
|
68
|
-
|
|
61
|
+
}
|
|
62
|
+
visibilityChangeEventHandler() {
|
|
63
|
+
if (document.visibilityState === "hidden") {
|
|
64
|
+
this.timeoutHandle && this.onBlur();
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
this.elapsedTime && this.onFocus();
|
|
68
|
+
}
|
|
69
69
|
}
|
|
70
70
|
validateAutoclose() {
|
|
71
|
-
if (!this.autoclose && !this.closebutton)
|
|
71
|
+
if (!this.autoclose && !this.closebutton) {
|
|
72
72
|
console.error("At least one between autoclose and closebutton must be present");
|
|
73
|
+
}
|
|
73
74
|
}
|
|
74
75
|
mapSlideOutClass() {
|
|
75
76
|
switch (this.transition) {
|
|
76
|
-
case
|
|
77
|
-
return
|
|
78
|
-
case
|
|
79
|
-
return
|
|
80
|
-
case
|
|
81
|
-
return
|
|
82
|
-
case
|
|
83
|
-
return
|
|
77
|
+
case ToastNotificationTransition.SLIDE_IN_DOWN:
|
|
78
|
+
return ToastNotificationTransition.SLIDE_OUT_UP;
|
|
79
|
+
case ToastNotificationTransition.SLIDE_IN_UP:
|
|
80
|
+
return ToastNotificationTransition.SLIDE_OUT_DOWN;
|
|
81
|
+
case ToastNotificationTransition.SLIDE_IN_LEFT:
|
|
82
|
+
return ToastNotificationTransition.SLIDE_OUT_RIGHT;
|
|
83
|
+
case ToastNotificationTransition.SLIDE_IN_RIGHT:
|
|
84
|
+
return ToastNotificationTransition.SLIDE_OUT_LEFT;
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
calculateDraggedPercentage(e) {
|
|
@@ -97,32 +98,27 @@ const ZToastNotification = class {
|
|
|
97
98
|
this.hostElement.style.transition = "none";
|
|
98
99
|
this.hostElement.classList.remove(this.transition);
|
|
99
100
|
const translateObj = {
|
|
100
|
-
translate:
|
|
101
|
+
translate: `translateX(${this.percentage}%)`,
|
|
101
102
|
translateBack: "translateX(0)",
|
|
102
103
|
};
|
|
103
104
|
this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
|
|
104
|
-
if (e.eventType === hammer.DIRECTION_LEFT ||
|
|
105
|
-
e.eventType === hammer.DIRECTION_RIGHT) {
|
|
105
|
+
if (e.eventType === hammer.DIRECTION_LEFT || e.eventType === hammer.DIRECTION_RIGHT) {
|
|
106
106
|
this.hostElement.style.transform = translateObj.translate;
|
|
107
|
-
if (Math.abs(this.percentage) > this.draggablepercentage &&
|
|
108
|
-
!this.isCloseEventCalled) {
|
|
107
|
+
if (Math.abs(this.percentage) > this.draggablepercentage && !this.isCloseEventCalled) {
|
|
109
108
|
this.isCloseEventCalled = true;
|
|
110
|
-
this.emitToastClose(e.direction === hammer.DIRECTION_LEFT
|
|
111
|
-
? "slide-out-left"
|
|
112
|
-
: "slide-out-right");
|
|
109
|
+
this.emitToastClose(e.direction === hammer.DIRECTION_LEFT ? "slide-out-left" : "slide-out-right");
|
|
113
110
|
}
|
|
114
111
|
}
|
|
115
112
|
if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
|
|
116
113
|
this.hostElement.style.transform = translateObj.translateBack;
|
|
117
114
|
this.hostElement.style.transition = "all 1s";
|
|
118
|
-
this.hostElement.style.opacity =
|
|
115
|
+
this.hostElement.style.opacity = "100%";
|
|
119
116
|
this.percentage = 0;
|
|
120
117
|
}
|
|
121
118
|
});
|
|
122
119
|
}
|
|
123
120
|
onFocus() {
|
|
124
|
-
let time;
|
|
125
|
-
time = this.autoclose;
|
|
121
|
+
let time = this.autoclose;
|
|
126
122
|
if (this.elapsedTime) {
|
|
127
123
|
time = this.autoclose - this.elapsedTime;
|
|
128
124
|
}
|
|
@@ -135,7 +131,7 @@ const ZToastNotification = class {
|
|
|
135
131
|
clearTimeout(this.timeoutHandle);
|
|
136
132
|
}
|
|
137
133
|
startClosingTimeout(time) {
|
|
138
|
-
this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
|
|
134
|
+
this.timeoutHandle = window.setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
|
|
139
135
|
}
|
|
140
136
|
detectWrap() {
|
|
141
137
|
const parentWidth = this.container.offsetWidth;
|
|
@@ -153,12 +149,15 @@ const ZToastNotification = class {
|
|
|
153
149
|
return (h("div", { id: "button" }, h("slot", { name: "button" })));
|
|
154
150
|
}
|
|
155
151
|
renderCloseIcon() {
|
|
156
|
-
|
|
152
|
+
if (!this.closebutton) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
return (h("div", { id: "icon" }, h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
|
|
157
156
|
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
158
157
|
e.preventDefault();
|
|
159
158
|
this.emitToastClose(this.mapSlideOutClass());
|
|
160
159
|
}
|
|
161
|
-
} })))
|
|
160
|
+
} })));
|
|
162
161
|
}
|
|
163
162
|
renderContainer() {
|
|
164
163
|
return (h("div", { tabIndex: 0, id: "external-container", class: {
|
|
@@ -175,10 +174,8 @@ const ZToastNotification = class {
|
|
|
175
174
|
}
|
|
176
175
|
render() {
|
|
177
176
|
return (h(Host, { style: {
|
|
178
|
-
|
|
179
|
-
}, class: this.transition
|
|
180
|
-
? this.transition
|
|
181
|
-
: ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
|
|
177
|
+
"--percentuale": `${this.percentage}%`,
|
|
178
|
+
}, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
182
179
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
183
180
|
this.startClosingTimeout(this.autoclose);
|
|
184
181
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-3517583d.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = "button{
|
|
3
|
+
const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase;transition:all 200ms linear}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
4
4
|
|
|
5
5
|
const ZToggleButton = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -12,19 +12,17 @@ const ZToggleButton = class {
|
|
|
12
12
|
this.opened = false;
|
|
13
13
|
}
|
|
14
14
|
emitToggleClick() {
|
|
15
|
-
if (this.isdisabled)
|
|
15
|
+
if (this.isdisabled) {
|
|
16
16
|
return;
|
|
17
|
+
}
|
|
17
18
|
this.opened = !this.opened;
|
|
18
19
|
this.toggleClick.emit(this.opened);
|
|
19
20
|
}
|
|
20
|
-
retrieveButtonClass() {
|
|
21
|
-
let className = this.opened && "isopen";
|
|
22
|
-
if (this.avoidclick)
|
|
23
|
-
className = className + " avoid-clicks";
|
|
24
|
-
return className;
|
|
25
|
-
}
|
|
26
21
|
render() {
|
|
27
|
-
return (h("button", { tabindex: this.avoidclick ? "-1" : "0", class:
|
|
22
|
+
return (h("button", { tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
23
|
+
"isopen": this.opened,
|
|
24
|
+
"avoid-clicks": this.avoidclick,
|
|
25
|
+
}, disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
28
26
|
}
|
|
29
27
|
};
|
|
30
28
|
ZToggleButton.style = stylesCss;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { r as randomId } from './utils-
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-3517583d.js';
|
|
2
|
+
import { r as randomId } from './utils-39ca028c.js';
|
|
3
|
+
import { m as LabelPosition } from './index-9d028352.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg)
|
|
6
|
+
const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
|
|
7
7
|
|
|
8
8
|
const ZToggleSwitch = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.toggleClick = createEvent(this, "toggleClick", 7);
|
|
12
|
+
/** Disabled flag */
|
|
12
13
|
this.disabled = false;
|
|
13
|
-
|
|
14
|
+
/** Label position */
|
|
15
|
+
this.labelPosition = LabelPosition.LEFT;
|
|
16
|
+
/** Checked state */
|
|
14
17
|
this.checked = false;
|
|
18
|
+
/** HTML id attribute to set to the internal checkbox */
|
|
15
19
|
this.htmlid = `toggle-switch-id-${randomId()}`;
|
|
16
20
|
}
|
|
17
21
|
emitToggleClick() {
|
|
@@ -21,23 +25,21 @@ const ZToggleSwitch = class {
|
|
|
21
25
|
});
|
|
22
26
|
}
|
|
23
27
|
handleClick(ev) {
|
|
24
|
-
if (this.disabled)
|
|
28
|
+
if (this.disabled) {
|
|
25
29
|
return;
|
|
30
|
+
}
|
|
26
31
|
this.checked = ev.target.checked;
|
|
27
32
|
this.emitToggleClick();
|
|
28
33
|
}
|
|
29
34
|
render() {
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
checked: this.checked,
|
|
39
|
-
} }, h("span", { class: "circle" }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
|
|
40
|
-
];
|
|
35
|
+
return (h(Host, null, h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { htmlFor: this.htmlid, class: {
|
|
36
|
+
[this.labelPosition]: true,
|
|
37
|
+
disabled: this.disabled,
|
|
38
|
+
} }, h("span", null, h("slot", null)), h("span", { class: {
|
|
39
|
+
container: true,
|
|
40
|
+
disabled: this.disabled,
|
|
41
|
+
checked: this.checked,
|
|
42
|
+
} }, h("span", { class: "circle" }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" })))))));
|
|
41
43
|
}
|
|
42
44
|
};
|
|
43
45
|
ZToggleSwitch.style = stylesCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3517583d.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-9d028352.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;
|
|
4
|
+
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--space-unit);background:var(--z-tooltip-theme--surface);border-radius:var(--border-radius-small);color:var(--z-tooltip-theme--text);fill:currentcolor;filter:drop-shadow(0 4px 8px var(--shadow-color-base));font-family:var(--font-family-sans);text-align:center;will-change:filter}:host(.legacy){display:inline-flex;min-width:auto;max-width:200px;min-height:auto;padding:calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0 0 2px rgb(0 0 0 / 8%));font-size:12px;font-style:italic;letter-spacing:0.32px;line-height:16px}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;content:\"\";transform:rotate(45deg)}:host([open][style*=\"top:\"]),:host([open][style*=\"inset:\"]){display:inline-flex}:host([position^=\"top\"]){margin-bottom:var(--space-unit)}:host([position=\"right\"]){margin-left:var(--space-unit)}:host([position=\"top_right\"]),:host([position=\"bottom_right\"]){margin-left:var(--edge-offset)}:host([position^=\"bottom\"]){margin-top:var(--space-unit)}:host([position=\"left\"]){margin-right:var(--space-unit)}:host([position=\"top_left\"]),:host([position=\"bottom_left\"]){margin-right:var(--edge-offset)}:host([position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([position=\"top\"])::before,:host([position=\"bottom\"])::before{left:var(--arrow-center-x-offset)}:host([position=\"right\"])::before,:host([position=\"left\"])::before{top:var(--arrow-center-x-offset)}:host([position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([position=\"top_right\"])::before,:host([position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([position=\"top_left\"])::before,:host([position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}::slotted(*){overflow:auto;flex:1 auto}";
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const DOCUMENT_ELEMENT = document.documentElement;
|
|
7
7
|
/**
|
|
8
8
|
* Find the closest scrollable parent of a node.
|
|
9
9
|
*
|
|
@@ -11,20 +11,18 @@ const documentElement = document.documentElement;
|
|
|
11
11
|
*/
|
|
12
12
|
function findScrollableParent(element) {
|
|
13
13
|
let parent = element.parentNode;
|
|
14
|
-
while (parent && parent !==
|
|
14
|
+
while (parent && parent !== DOCUMENT_ELEMENT) {
|
|
15
15
|
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
16
|
-
if (overflow ===
|
|
17
|
-
overflowY === 'hidden' ||
|
|
18
|
-
overflowX === 'hidden') {
|
|
16
|
+
if (overflow === "hidden" || overflowY === "hidden" || overflowX === "hidden") {
|
|
19
17
|
return parent;
|
|
20
18
|
}
|
|
21
|
-
if ((parent.scrollHeight > parent.clientHeight && overflow !==
|
|
22
|
-
(parent.scrollWidth > parent.clientWidth && overflow !==
|
|
19
|
+
if ((parent.scrollHeight > parent.clientHeight && overflow !== "visible" && overflowY !== "visible") ||
|
|
20
|
+
(parent.scrollWidth > parent.clientWidth && overflow !== "visible" && overflowX !== "visible")) {
|
|
23
21
|
return parent;
|
|
24
22
|
}
|
|
25
23
|
parent = parent.parentNode;
|
|
26
24
|
}
|
|
27
|
-
return
|
|
25
|
+
return DOCUMENT_ELEMENT;
|
|
28
26
|
}
|
|
29
27
|
/**
|
|
30
28
|
* Calculate computed offset.
|
|
@@ -85,18 +83,15 @@ const ZTooltipDeprecated = class {
|
|
|
85
83
|
registerInstance(this, hostRef);
|
|
86
84
|
this.positionChange = createEvent(this, "positionChange", 7);
|
|
87
85
|
/** Tooltip position. */
|
|
88
|
-
this.type = PopoverPositions.
|
|
86
|
+
this.type = PopoverPositions.AUTO;
|
|
89
87
|
/**
|
|
90
88
|
* The open state of the tooltip.
|
|
91
89
|
*/
|
|
92
90
|
this.open = false;
|
|
93
91
|
}
|
|
94
92
|
validateType(newValue) {
|
|
95
|
-
if (newValue &&
|
|
96
|
-
|
|
97
|
-
.values(PopoverPositions)
|
|
98
|
-
.every((position) => newValue !== position)) {
|
|
99
|
-
this.type = PopoverPositions.auto;
|
|
93
|
+
if (newValue && Object.values(PopoverPositions).every((position) => newValue !== position)) {
|
|
94
|
+
this.type = PopoverPositions.AUTO;
|
|
100
95
|
}
|
|
101
96
|
}
|
|
102
97
|
onPositionChange() {
|
|
@@ -150,7 +145,9 @@ const ZTooltipDeprecated = class {
|
|
|
150
145
|
const scrollContainer = findScrollableParent(element);
|
|
151
146
|
const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
|
|
152
147
|
const offsetContainer = this.host.offsetParent;
|
|
153
|
-
const relativeBoundingRect = offsetContainer
|
|
148
|
+
const relativeBoundingRect = offsetContainer
|
|
149
|
+
? computeOffset(offsetContainer, scrollContainer)
|
|
150
|
+
: { top: 0, right: 0, bottom: 0, left: 0 };
|
|
154
151
|
const boundingRect = computeOffset(element, scrollContainer);
|
|
155
152
|
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
156
153
|
const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
|
|
@@ -165,29 +162,29 @@ const ZTooltipDeprecated = class {
|
|
|
165
162
|
const availableHeight = availableTop + availableBottom + boundingRect.height;
|
|
166
163
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
167
164
|
let position = this.type;
|
|
168
|
-
if (position === PopoverPositions.
|
|
165
|
+
if (position === PopoverPositions.AUTO) {
|
|
169
166
|
/**
|
|
170
167
|
* The `AUTO` position tries to place the tooltip in the "safest" area,
|
|
171
168
|
* where there's more space available.
|
|
172
169
|
*/
|
|
173
170
|
const positions = [];
|
|
174
171
|
if (availableTop / availableHeight > 0.9) {
|
|
175
|
-
positions.unshift(PopoverPositions.
|
|
172
|
+
positions.unshift(PopoverPositions.TOP);
|
|
176
173
|
}
|
|
177
174
|
else if (availableTop / availableHeight > 0.6) {
|
|
178
|
-
positions.push(PopoverPositions.
|
|
175
|
+
positions.push(PopoverPositions.TOP);
|
|
179
176
|
}
|
|
180
177
|
else if (availableTop / availableHeight < 0.1) {
|
|
181
|
-
positions.unshift(PopoverPositions.
|
|
178
|
+
positions.unshift(PopoverPositions.BOTTOM);
|
|
182
179
|
}
|
|
183
180
|
else {
|
|
184
|
-
positions.push(PopoverPositions.
|
|
181
|
+
positions.push(PopoverPositions.BOTTOM);
|
|
185
182
|
}
|
|
186
183
|
if (availableLeft / availableWidth > 0.6) {
|
|
187
|
-
positions.push(PopoverPositions.
|
|
184
|
+
positions.push(PopoverPositions.LEFT);
|
|
188
185
|
}
|
|
189
186
|
else if (availableLeft / availableWidth < 0.4) {
|
|
190
|
-
positions.push(PopoverPositions.
|
|
187
|
+
positions.push(PopoverPositions.RIGHT);
|
|
191
188
|
}
|
|
192
189
|
position = positions.join("_");
|
|
193
190
|
}
|
|
@@ -199,46 +196,38 @@ const ZTooltipDeprecated = class {
|
|
|
199
196
|
const offsetRight = boundingRect.right - relativeBoundingRect.right;
|
|
200
197
|
const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
|
|
201
198
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
202
|
-
if (position === PopoverPositions.
|
|
203
|
-
position === PopoverPositions.
|
|
204
|
-
position === PopoverPositions.
|
|
199
|
+
if (position === PopoverPositions.TOP ||
|
|
200
|
+
position === PopoverPositions.TOP_RIGHT ||
|
|
201
|
+
position === PopoverPositions.TOP_LEFT) {
|
|
205
202
|
style.top = "auto";
|
|
206
203
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
207
204
|
}
|
|
208
|
-
if (position === PopoverPositions.
|
|
209
|
-
position === PopoverPositions.
|
|
210
|
-
position === PopoverPositions.
|
|
205
|
+
if (position === PopoverPositions.BOTTOM ||
|
|
206
|
+
position === PopoverPositions.BOTTOM_RIGHT ||
|
|
207
|
+
position === PopoverPositions.BOTTOM_LEFT) {
|
|
211
208
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
212
209
|
style.bottom = "auto";
|
|
213
210
|
}
|
|
214
|
-
if (position === PopoverPositions.
|
|
215
|
-
|
|
216
|
-
style.left = `${offsetLeft +
|
|
217
|
-
(boundingRect.width / 2) -
|
|
218
|
-
(this.host.clientWidth / 2)}px`;
|
|
211
|
+
if (position === PopoverPositions.TOP || position === PopoverPositions.BOTTOM) {
|
|
212
|
+
style.left = `${offsetLeft + boundingRect.width / 2 - this.host.clientWidth / 2}px`;
|
|
219
213
|
}
|
|
220
|
-
if (position === PopoverPositions.
|
|
221
|
-
position === PopoverPositions.bottom_right) {
|
|
214
|
+
if (position === PopoverPositions.TOP_RIGHT || position === PopoverPositions.BOTTOM_RIGHT) {
|
|
222
215
|
style.right = "auto";
|
|
223
216
|
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
224
217
|
}
|
|
225
|
-
if (position === PopoverPositions.
|
|
226
|
-
position === PopoverPositions.bottom_left) {
|
|
218
|
+
if (position === PopoverPositions.TOP_LEFT || position === PopoverPositions.BOTTOM_LEFT) {
|
|
227
219
|
style.left = "auto";
|
|
228
220
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
229
221
|
}
|
|
230
|
-
if (position === PopoverPositions.
|
|
231
|
-
|
|
232
|
-
style.top = `${offsetTop +
|
|
233
|
-
(boundingRect.height / 2) -
|
|
234
|
-
(this.host.clientHeight / 2)}px`;
|
|
222
|
+
if (position === PopoverPositions.RIGHT || position === PopoverPositions.LEFT) {
|
|
223
|
+
style.top = `${offsetTop + boundingRect.height / 2 - this.host.clientHeight / 2}px`;
|
|
235
224
|
style.bottom = "auto";
|
|
236
225
|
}
|
|
237
|
-
if (position === PopoverPositions.
|
|
226
|
+
if (position === PopoverPositions.RIGHT) {
|
|
238
227
|
style.right = "auto";
|
|
239
228
|
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
240
229
|
}
|
|
241
|
-
if (position === PopoverPositions.
|
|
230
|
+
if (position === PopoverPositions.LEFT) {
|
|
242
231
|
style.left = "auto";
|
|
243
232
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
244
233
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-3517583d.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-9d028352.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ const ZTooltip = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
/** Tooltip position. */
|
|
10
|
-
this.position = PopoverPositions.
|
|
10
|
+
this.position = PopoverPositions.AUTO;
|
|
11
11
|
/** Enable tooltip dark mode. */
|
|
12
12
|
this.dark = false;
|
|
13
13
|
/**
|
|
@@ -19,7 +19,7 @@ const ZTooltip = class {
|
|
|
19
19
|
this.open = this.popover.open;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return h("z-popover", { ref: (el) => (this.popover = el), bindTo: this.bindTo, open: this.open, position: this.position, center: true, showArrow: true }, h("slot", null));
|
|
22
|
+
return (h("z-popover", { ref: (el) => (this.popover = el), bindTo: this.bindTo, open: this.open, position: this.position, center: true, showArrow: true }, h("slot", null)));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
ZTooltip.style = stylesCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-3517583d.js';
|
|
2
2
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{
|
|
4
|
+
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{display:flex;width:100%;flex-direction:column;padding:0;border:none;margin:0;background-color:var(--gray900);cursor:pointer;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;max-width:200px;align-items:center;justify-content:flex-end}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{position:absolute;left:0;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:20px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;padding:calc(var(--space-unit) * 1.5 - 1px) 0;border-bottom:var(--border-base) solid var(--gray700);margin:0;white-space:nowrap}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{flex-direction:column;align-items:end;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);border-top:none}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{display:inline-flex;width:100%;min-width:32px;height:32px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;padding:0 calc(var(--space-unit) * 2);border-width:var(--border-size-medium);border-style:solid;border-color:var(--color-white);background-color:var(--color-white);border-radius:var(--border-radius);color:var(--gray800);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;vertical-align:middle}#guestbutton.inverse{border-color:var(--gray800);background-color:var(--gray800);color:var(--color-white)}.userfullname{overflow:hidden;width:100%;max-width:250px;padding:0;color:var(--color-white);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-sb);letter-spacing:0;line-height:24px;text-align:right;text-overflow:ellipsis}.userfullname.inverse{color:var(--gray800)}.useremail{overflow:hidden;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:16px;text-align:right;text-overflow:ellipsis}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);margin-top:calc(var(--space-unit) / 2);background-color:var(--color-white);box-shadow:0 2px calc(var(--space-unit) * 0.5) 0 rgb(0 0 0 / 50%);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-flow:row nowrap;align-content:center;align-items:end;justify-content:flex-end}button.open{max-width:initial;padding-right:var(--space-unit);border-top:var(--border-size-small) solid var(--color-white);margin-left:var(--space-unit);background-color:var(--color-white);border-top-left-radius:calc(var(--space-unit) * 0.5);border-top-right-radius:calc(var(--space-unit) * 0.5)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{width:auto;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:20px}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{max-width:none;color:var(--gray800);text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{box-sizing:border-box;padding-right:calc(var(--space-unit) * 3 - 2px)}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;width:100%;padding:0;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit);color:var(--gray800)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px);border-top:var(--border-base) solid var(--gray400)}}";
|
|
5
5
|
|
|
6
6
|
const ZUserDropdown = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -33,7 +33,7 @@ const ZUserDropdown = class {
|
|
|
33
33
|
this.divToResize.style.width = `${(_a = this.userButton) === null || _a === void 0 ? void 0 : _a.offsetWidth}px`;
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
this.divToResize.removeAttribute(
|
|
36
|
+
this.divToResize.removeAttribute("style");
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -71,14 +71,12 @@ const ZUserDropdown = class {
|
|
|
71
71
|
if (this.isMobile) {
|
|
72
72
|
return this.useInverseColors ? "black" : "white";
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
return this.useInverseColors ? "white" : "black";
|
|
76
|
-
}
|
|
74
|
+
return this.useInverseColors ? "white" : "black";
|
|
77
75
|
}
|
|
78
76
|
renderDropdownMenu() {
|
|
79
77
|
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
80
|
-
return (this.isMenuOpen && (h("ul", { class: colorClass }, this.isMobile &&
|
|
81
|
-
|
|
78
|
+
return (this.isMenuOpen && (h("ul", { class: colorClass }, this.isMobile && (h("li", { class: colorClass }, h("div", { class: `userfullname ${colorClass}` }, this.userFullName), h("div", { class: `useremail ${colorClass}` }, this.userEmail))), this.linkArray &&
|
|
79
|
+
this.linkArray.map((link) => (h("li", { id: link.id, class: colorClass }, h("z-link", { textcolor: this.getZLinkTextcolor(), href: link.link, htmlid: link.id, target: link.target, icon: link.icon, onZLinkClick: this.emitDropdownMenuLinkClick }, link.label)))))));
|
|
82
80
|
}
|
|
83
81
|
render() {
|
|
84
82
|
const openClass = `${this.logged && this.isMenuOpen ? "open" : ""}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-3517583d.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);
|
|
3
|
+
const stylesCss = ":host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";
|
|
4
4
|
|
|
5
5
|
const ZVisuallyHidden = class {
|
|
6
6
|
constructor(hostRef) {
|