@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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const index$1 = require('./index-199cd650.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;
|
|
8
|
+
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));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(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open=\"true\"][current-position]){display:flex}:host([center][current-position=\"top\"]),:host([center][current-position=\"bottom\"]){transform:translateX(-50%)}:host([center][current-position=\"right\"]),:host([center][current-position=\"left\"]){transform:translateY(-50%)}:host([current-position^=\"top\"]){margin:0 0 var(--space-unit)}:host([current-position^=\"bottom\"]){margin:var(--space-unit) 0 0}:host([current-position^=\"left\"]){margin:0 var(--space-unit) 0 0}:host([current-position^=\"right\"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:\"\";transform:rotate(45deg)}:host([show-arrow=\"false\"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([current-position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position=\"top\"])::before,:host([current-position=\"bottom\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before,:host([current-position=\"left\"])::before{bottom:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"top_right\"])::before,:host([current-position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"top_left\"])::before,:host([current-position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"left_top\"])::before{top:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"right_bottom\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left_top\"])::before,:host([current-position=\"left_bottom\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"right_bottom\"])::before,:host([current-position=\"left_bottom\"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position=\"top\"])::before,:host([center][current-position=\"bottom\"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position=\"right\"])::before,:host([center][current-position=\"left\"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}";
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const DOCUMENT_ELEMENT = document.documentElement;
|
|
11
11
|
function getParentElement(element) {
|
|
12
12
|
if (element.parentNode.host) {
|
|
13
13
|
return element.parentNode.host;
|
|
@@ -21,24 +21,18 @@ function getParentElement(element) {
|
|
|
21
21
|
*/
|
|
22
22
|
function findScrollableParent(element) {
|
|
23
23
|
let parent = getParentElement(element);
|
|
24
|
-
while (parent && parent !==
|
|
24
|
+
while (parent && parent !== DOCUMENT_ELEMENT) {
|
|
25
25
|
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
26
|
-
if (overflow === "hidden" ||
|
|
27
|
-
overflowY === "hidden" ||
|
|
28
|
-
overflowX === "hidden") {
|
|
26
|
+
if (overflow === "hidden" || overflowY === "hidden" || overflowX === "hidden") {
|
|
29
27
|
return parent;
|
|
30
28
|
}
|
|
31
|
-
if ((parent.scrollHeight > parent.clientHeight &&
|
|
32
|
-
overflow !== "visible" &&
|
|
33
|
-
overflowY !== "visible") ||
|
|
34
|
-
(parent.scrollWidth > parent.clientWidth &&
|
|
35
|
-
overflow !== "visible" &&
|
|
36
|
-
overflowX !== "visible")) {
|
|
29
|
+
if ((parent.scrollHeight > parent.clientHeight && overflow !== "visible" && overflowY !== "visible") ||
|
|
30
|
+
(parent.scrollWidth > parent.clientWidth && overflow !== "visible" && overflowX !== "visible")) {
|
|
37
31
|
return parent;
|
|
38
32
|
}
|
|
39
33
|
parent = getParentElement(parent);
|
|
40
34
|
}
|
|
41
|
-
return
|
|
35
|
+
return DOCUMENT_ELEMENT;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Calculate computed offset.
|
|
@@ -100,7 +94,7 @@ const ZPopover = class {
|
|
|
100
94
|
this.positionChange = index.createEvent(this, "positionChange", 7);
|
|
101
95
|
this.openChange = index.createEvent(this, "openChange", 7);
|
|
102
96
|
/** Popover position. */
|
|
103
|
-
this.position = index$1.PopoverPositions.
|
|
97
|
+
this.position = index$1.PopoverPositions.AUTO;
|
|
104
98
|
/**
|
|
105
99
|
* The open state of the popover.
|
|
106
100
|
*/
|
|
@@ -119,7 +113,7 @@ const ZPopover = class {
|
|
|
119
113
|
this.closable = true;
|
|
120
114
|
}
|
|
121
115
|
closePopoverWithKeyboard(e) {
|
|
122
|
-
if (this.closable && e.key === index$1.
|
|
116
|
+
if (this.closable && e.key === index$1.KeyboardCode.ESC) {
|
|
123
117
|
this.open = false;
|
|
124
118
|
}
|
|
125
119
|
}
|
|
@@ -127,6 +121,7 @@ const ZPopover = class {
|
|
|
127
121
|
if (!this.closable) {
|
|
128
122
|
return;
|
|
129
123
|
}
|
|
124
|
+
// @ts-ignore
|
|
130
125
|
const parent = e.path.find((elem) => elem === this.host);
|
|
131
126
|
if (!parent) {
|
|
132
127
|
this.open = false;
|
|
@@ -134,9 +129,8 @@ const ZPopover = class {
|
|
|
134
129
|
}
|
|
135
130
|
}
|
|
136
131
|
validatePosition(newValue) {
|
|
137
|
-
if (newValue &&
|
|
138
|
-
|
|
139
|
-
this.position = index$1.PopoverPositions.auto;
|
|
132
|
+
if (newValue && !Object.values(index$1.PopoverPositions).includes(newValue)) {
|
|
133
|
+
this.position = index$1.PopoverPositions.AUTO;
|
|
140
134
|
}
|
|
141
135
|
this.currentPosition = this.position;
|
|
142
136
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -155,8 +149,8 @@ const ZPopover = class {
|
|
|
155
149
|
};
|
|
156
150
|
setPosition();
|
|
157
151
|
}
|
|
158
|
-
else if (this.host.hasAttribute(
|
|
159
|
-
this.host.removeAttribute(
|
|
152
|
+
else if (this.host.hasAttribute("current-position")) {
|
|
153
|
+
this.host.removeAttribute("current-position");
|
|
160
154
|
this.currentPosition = undefined;
|
|
161
155
|
}
|
|
162
156
|
this.openChange.emit({ open: this.open });
|
|
@@ -189,19 +183,11 @@ const ZPopover = class {
|
|
|
189
183
|
: { top: 0, right: 0, bottom: 0, left: 0 };
|
|
190
184
|
const boundingRect = computeOffset(element, scrollContainer);
|
|
191
185
|
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
192
|
-
const bottom = scrollingBoundingRect.height -
|
|
193
|
-
(boundingRect.top + boundingRect.height) +
|
|
194
|
-
scrollContainer.scrollTop;
|
|
186
|
+
const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
|
|
195
187
|
const left = boundingRect.left - scrollContainer.scrollLeft;
|
|
196
|
-
const right = scrollingBoundingRect.width -
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
const overflowBottom = Math.max(0, scrollingBoundingRect.top +
|
|
200
|
-
scrollingBoundingRect.height -
|
|
201
|
-
window.innerHeight);
|
|
202
|
-
const overflowRight = Math.max(0, scrollingBoundingRect.left +
|
|
203
|
-
scrollingBoundingRect.width -
|
|
204
|
-
window.innerWidth);
|
|
188
|
+
const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
|
|
189
|
+
const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
|
|
190
|
+
const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
|
|
205
191
|
const availableTop = Math.min(top, top + scrollingBoundingRect.top);
|
|
206
192
|
const availableBottom = Math.min(bottom, bottom - overflowBottom);
|
|
207
193
|
const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
|
|
@@ -210,28 +196,28 @@ const ZPopover = class {
|
|
|
210
196
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
211
197
|
let position = this.currentPosition;
|
|
212
198
|
const positions = [];
|
|
213
|
-
if (this.position === index$1.PopoverPositions.
|
|
199
|
+
if (this.position === index$1.PopoverPositions.AUTO) {
|
|
214
200
|
/**
|
|
215
201
|
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
216
202
|
* where there's more space available.
|
|
217
203
|
*/
|
|
218
204
|
if (availableLeft / availableWidth > 0.6) {
|
|
219
|
-
positions.push(index$1.PopoverPositions.
|
|
205
|
+
positions.push(index$1.PopoverPositions.LEFT);
|
|
220
206
|
}
|
|
221
207
|
else if (availableLeft / availableWidth < 0.4) {
|
|
222
|
-
positions.push(index$1.PopoverPositions.
|
|
208
|
+
positions.push(index$1.PopoverPositions.RIGHT);
|
|
223
209
|
}
|
|
224
210
|
if (availableTop / availableHeight > 0.9) {
|
|
225
|
-
positions.unshift(index$1.PopoverPositions.
|
|
211
|
+
positions.unshift(index$1.PopoverPositions.TOP);
|
|
226
212
|
}
|
|
227
213
|
else if (availableTop / availableHeight > 0.6) {
|
|
228
|
-
positions.push(index$1.PopoverPositions.
|
|
214
|
+
positions.push(index$1.PopoverPositions.TOP);
|
|
229
215
|
}
|
|
230
216
|
else if (availableTop / availableHeight < 0.1) {
|
|
231
|
-
positions.unshift(index$1.PopoverPositions.
|
|
217
|
+
positions.unshift(index$1.PopoverPositions.BOTTOM);
|
|
232
218
|
}
|
|
233
219
|
else {
|
|
234
|
-
positions.push(index$1.PopoverPositions.
|
|
220
|
+
positions.push(index$1.PopoverPositions.BOTTOM);
|
|
235
221
|
}
|
|
236
222
|
position = positions.join("_");
|
|
237
223
|
}
|
|
@@ -243,18 +229,17 @@ const ZPopover = class {
|
|
|
243
229
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
244
230
|
const offsetModifier = this.center ? 0.5 : 0;
|
|
245
231
|
const sizeModifier = this.center ? 0.5 : 0;
|
|
246
|
-
if (position === index$1.PopoverPositions.
|
|
247
|
-
position === index$1.PopoverPositions.top_right) {
|
|
232
|
+
if (position === index$1.PopoverPositions.TOP || position === index$1.PopoverPositions.TOP_RIGHT) {
|
|
248
233
|
style.top = "auto";
|
|
249
234
|
style.right = "auto";
|
|
250
235
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
251
236
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
252
237
|
style.maxHeight = `${availableTop}px`;
|
|
253
|
-
if (position === index$1.PopoverPositions.
|
|
238
|
+
if (position === index$1.PopoverPositions.TOP_RIGHT) {
|
|
254
239
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
255
240
|
}
|
|
256
241
|
}
|
|
257
|
-
else if (position === index$1.PopoverPositions.
|
|
242
|
+
else if (position === index$1.PopoverPositions.TOP_LEFT) {
|
|
258
243
|
style.top = "auto";
|
|
259
244
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
260
245
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
@@ -262,18 +247,17 @@ const ZPopover = class {
|
|
|
262
247
|
style.maxWidth = `${availableLeft}px`;
|
|
263
248
|
style.maxHeight = `${availableTop}px`;
|
|
264
249
|
}
|
|
265
|
-
else if (position === index$1.PopoverPositions.
|
|
266
|
-
position === index$1.PopoverPositions.bottom_right) {
|
|
250
|
+
else if (position === index$1.PopoverPositions.BOTTOM || position === index$1.PopoverPositions.BOTTOM_RIGHT) {
|
|
267
251
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
268
252
|
style.right = "auto";
|
|
269
253
|
style.bottom = "auto";
|
|
270
254
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
271
255
|
style.maxHeight = `${availableBottom}px`;
|
|
272
|
-
if (position === index$1.PopoverPositions.
|
|
256
|
+
if (position === index$1.PopoverPositions.BOTTOM_RIGHT) {
|
|
273
257
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
274
258
|
}
|
|
275
259
|
}
|
|
276
|
-
else if (position === index$1.PopoverPositions.
|
|
260
|
+
else if (position === index$1.PopoverPositions.BOTTOM_LEFT) {
|
|
277
261
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
278
262
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
279
263
|
style.bottom = "auto";
|
|
@@ -281,8 +265,7 @@ const ZPopover = class {
|
|
|
281
265
|
style.maxWidth = `${availableLeft}px`;
|
|
282
266
|
style.maxHeight = `${availableBottom}px`;
|
|
283
267
|
}
|
|
284
|
-
else if (position === index$1.PopoverPositions.
|
|
285
|
-
position === index$1.PopoverPositions.right_bottom) {
|
|
268
|
+
else if (position === index$1.PopoverPositions.RIGHT || position === index$1.PopoverPositions.RIGHT_BOTTOM) {
|
|
286
269
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
287
270
|
style.right = "auto";
|
|
288
271
|
style.bottom = "auto";
|
|
@@ -290,7 +273,7 @@ const ZPopover = class {
|
|
|
290
273
|
style.maxWidth = `${availableRight}px`;
|
|
291
274
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
292
275
|
}
|
|
293
|
-
else if (position === index$1.PopoverPositions.
|
|
276
|
+
else if (position === index$1.PopoverPositions.RIGHT_TOP) {
|
|
294
277
|
style.top = "auto";
|
|
295
278
|
style.right = "auto";
|
|
296
279
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -298,8 +281,7 @@ const ZPopover = class {
|
|
|
298
281
|
style.maxWidth = `${availableRight}px`;
|
|
299
282
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
300
283
|
}
|
|
301
|
-
else if (position === index$1.PopoverPositions.
|
|
302
|
-
position === index$1.PopoverPositions.left_bottom) {
|
|
284
|
+
else if (position === index$1.PopoverPositions.LEFT || position === index$1.PopoverPositions.LEFT_BOTTOM) {
|
|
303
285
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
304
286
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
305
287
|
style.bottom = "auto";
|
|
@@ -307,7 +289,7 @@ const ZPopover = class {
|
|
|
307
289
|
style.maxWidth = `${availableLeft}px`;
|
|
308
290
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
309
291
|
}
|
|
310
|
-
else if (position === index$1.PopoverPositions.
|
|
292
|
+
else if (position === index$1.PopoverPositions.LEFT_TOP) {
|
|
311
293
|
style.top = "auto";
|
|
312
294
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
313
295
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -316,7 +298,7 @@ const ZPopover = class {
|
|
|
316
298
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
317
299
|
}
|
|
318
300
|
this.currentPosition = position || this.position;
|
|
319
|
-
this.host.setAttribute(
|
|
301
|
+
this.host.setAttribute("current-position", this.currentPosition);
|
|
320
302
|
}
|
|
321
303
|
componentWillLoad() {
|
|
322
304
|
this.validatePosition(this.position);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const index$1 = require('./index-199cd650.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;flex-direction:column;align-items:flex-start;
|
|
8
|
+
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);line-height:1.5rem;text-transform:uppercase}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
|
|
9
9
|
|
|
10
10
|
const ZSectionTitle = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -14,7 +14,7 @@ const ZSectionTitle = class {
|
|
|
14
14
|
* Divider position for the primary title.
|
|
15
15
|
* This prop only works if the secondary title is not set.
|
|
16
16
|
*/
|
|
17
|
-
this.dividerPosition = index$1.
|
|
17
|
+
this.dividerPosition = index$1.ZSectionTitleDividerPosition.BEFORE;
|
|
18
18
|
/**
|
|
19
19
|
* Whether the primary title text is uppercase.
|
|
20
20
|
*/
|
|
@@ -24,16 +24,7 @@ const ZSectionTitle = class {
|
|
|
24
24
|
this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return
|
|
28
|
-
index.h("slot", { name: "secondary-title" }),
|
|
29
|
-
!this.hasSecondaryTitle &&
|
|
30
|
-
this.dividerPosition == index$1.ZSectionTitleDividerPositions.before &&
|
|
31
|
-
index.h("z-divider", { size: index$1.DividerSize.large, color: "z-section-title--divider-color" }),
|
|
32
|
-
index.h("slot", { name: "primary-title" }),
|
|
33
|
-
!this.hasSecondaryTitle &&
|
|
34
|
-
this.dividerPosition == index$1.ZSectionTitleDividerPositions.after &&
|
|
35
|
-
index.h("z-divider", { size: index$1.DividerSize.large, color: "z-section-title--divider-color" }),
|
|
36
|
-
];
|
|
27
|
+
return (index.h(index.Host, null, index.h("slot", { name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === index$1.ZSectionTitleDividerPosition.BEFORE && (index.h("z-divider", { size: index$1.DividerSize.LARGE, color: "z-section-title--divider-color" })), index.h("slot", { name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === index$1.ZSectionTitleDividerPosition.AFTER && (index.h("z-divider", { size: index$1.DividerSize.LARGE, color: "z-section-title--divider-color" }))));
|
|
37
28
|
}
|
|
38
29
|
get host() { return index.getElement(this); }
|
|
39
30
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const utils = require('./utils-ce225fb3.js');
|
|
7
|
+
const index$1 = require('./index-199cd650.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ".sc-z-skip-to-content-h{
|
|
10
|
+
const stylesCss = ".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{border:2px solid var(--text-grey-800);background-color:var(--bg-white);color:var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
|
|
11
11
|
|
|
12
12
|
const ZSkipToContent = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -18,47 +18,45 @@ const ZSkipToContent = class {
|
|
|
18
18
|
this.visibleLink = "";
|
|
19
19
|
}
|
|
20
20
|
handleFocusOutSkipToContent(e) {
|
|
21
|
-
if (this.isInSkipToContent(e.target))
|
|
21
|
+
if (this.isInSkipToContent(e.target)) {
|
|
22
22
|
this.visible = false;
|
|
23
|
+
}
|
|
23
24
|
}
|
|
24
25
|
handleFocusSkipToContent(e) {
|
|
25
|
-
if (this.isInSkipToContent(e.target))
|
|
26
|
+
if (this.isInSkipToContent(e.target)) {
|
|
26
27
|
this.visible = true;
|
|
28
|
+
}
|
|
27
29
|
}
|
|
28
30
|
componentDidLoad() {
|
|
29
31
|
this.showFirstChild();
|
|
30
32
|
}
|
|
31
33
|
componentWillRender() {
|
|
32
34
|
if (this.links) {
|
|
33
|
-
this.links =
|
|
34
|
-
typeof this.links === "string" ? JSON.parse(this.links) : this.links;
|
|
35
|
+
this.links = typeof this.links === "string" ? JSON.parse(this.links) : this.links;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
isInSkipToContent(elem) {
|
|
38
39
|
const tree = utils.getElementTree(elem);
|
|
39
40
|
const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
|
|
40
|
-
|
|
41
|
-
return true;
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
getFirstChild() {
|
|
45
|
-
const children = this.hostElement.children;
|
|
46
|
-
if (children.length)
|
|
47
|
-
return children[0];
|
|
48
|
-
return false;
|
|
41
|
+
return !!menuParent;
|
|
49
42
|
}
|
|
50
43
|
showFirstChild() {
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
var _a;
|
|
45
|
+
const firstChild = (_a = this.hostElement.children) === null || _a === void 0 ? void 0 : _a[0];
|
|
46
|
+
if (firstChild) {
|
|
53
47
|
this.visibleLink = firstChild.id;
|
|
48
|
+
}
|
|
54
49
|
}
|
|
55
50
|
handleLinkClick() {
|
|
56
51
|
this.visible = false;
|
|
57
52
|
}
|
|
58
53
|
render() {
|
|
59
|
-
return (index.h(index.Host, { class:
|
|
54
|
+
return (index.h(index.Host, { class: {
|
|
55
|
+
[this.variant]: true,
|
|
56
|
+
"skip-to-content-visible": this.visible,
|
|
57
|
+
} }, this.links.map((link, i) => {
|
|
60
58
|
const id = `skip-to-content-${i}`;
|
|
61
|
-
return (index.h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === index$1.ThemeVariant.
|
|
59
|
+
return (index.h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === index$1.ThemeVariant.DARK ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => utils.handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
|
|
62
60
|
})));
|
|
63
61
|
}
|
|
64
62
|
get hostElement() { return index.getElement(this); }
|
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const index$1 = require('./index-199cd650.js');
|
|
7
|
+
const utils = require('./utils-ce225fb3.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)
|
|
10
|
+
const stylesCss = ":host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:\"center center\" \"left right\"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:\"left center right\"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Check if data is an array of strings.
|
|
14
|
+
* @param {unknown} data Data to check
|
|
15
|
+
* @returns {boolean}
|
|
16
|
+
*/
|
|
17
|
+
function isStringArray(data) {
|
|
18
|
+
return Array.isArray(data) && data.every((datum) => typeof datum === "string");
|
|
19
|
+
}
|
|
12
20
|
const ZSlideshow = class {
|
|
13
21
|
constructor(hostRef) {
|
|
14
22
|
index.registerInstance(this, hostRef);
|
|
@@ -32,16 +40,24 @@ const ZSlideshow = class {
|
|
|
32
40
|
parseLinks() {
|
|
33
41
|
var _a;
|
|
34
42
|
switch (typeof this.data) {
|
|
35
|
-
case "string":
|
|
36
|
-
|
|
43
|
+
case "string": {
|
|
44
|
+
const parsed = (_a = utils.convertJson(this.data)) !== null && _a !== void 0 ? _a : [];
|
|
45
|
+
if (!isStringArray(parsed)) {
|
|
46
|
+
throw new Error("Passed data is invalid");
|
|
47
|
+
}
|
|
48
|
+
this.links = parsed;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
37
51
|
default:
|
|
38
|
-
|
|
52
|
+
this.links = this.data;
|
|
53
|
+
break;
|
|
39
54
|
}
|
|
40
55
|
}
|
|
41
56
|
setStyle() {
|
|
42
57
|
const refSlides = this.el.shadowRoot.querySelector("#slides");
|
|
43
|
-
if (!refSlides)
|
|
58
|
+
if (!refSlides) {
|
|
44
59
|
return;
|
|
60
|
+
}
|
|
45
61
|
const allImages = this.el.shadowRoot.querySelectorAll(".slide");
|
|
46
62
|
const width = this.el.offsetWidth;
|
|
47
63
|
const fullwidth = width * this.links.length;
|
|
@@ -60,9 +76,9 @@ const ZSlideshow = class {
|
|
|
60
76
|
}
|
|
61
77
|
getBulletDimension() {
|
|
62
78
|
switch (this.device) {
|
|
63
|
-
case index$1.
|
|
79
|
+
case index$1.Device.MOBILE:
|
|
64
80
|
return 24;
|
|
65
|
-
case index$1.
|
|
81
|
+
case index$1.Device.TABLET:
|
|
66
82
|
return 32;
|
|
67
83
|
default:
|
|
68
84
|
return 40;
|
|
@@ -95,11 +111,12 @@ const ZSlideshow = class {
|
|
|
95
111
|
return (index.h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => utils.handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
96
112
|
}
|
|
97
113
|
renderSlideshowFooter() {
|
|
98
|
-
return (index.h("footer", null, index.h("div", { class: "
|
|
114
|
+
return (index.h("footer", null, index.h("div", { class: "footer-left" }, index.h("slot", { name: "footer-left" })), index.h("div", { class: "footer-center" }, index.h("div", { class: "bullet-container" }, Object.keys(this.links).map((i) => this.renderBullet(parseInt(i))))), index.h("div", { class: "footer-right" }, index.h("slot", { name: "footer-right" }))));
|
|
99
115
|
}
|
|
100
116
|
render() {
|
|
101
|
-
if (!this.links || !this.links.length)
|
|
117
|
+
if (!this.links || !this.links.length) {
|
|
102
118
|
return index.h("div", null);
|
|
119
|
+
}
|
|
103
120
|
return (index.h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
104
121
|
}
|
|
105
122
|
get el() { return index.getElement(this); }
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const index$2 = require('./index-1fda0714.js');
|
|
8
|
-
require('./_commonjsHelpers-537d719a.js');
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const index$1 = require('./index-199cd650.js');
|
|
9
7
|
|
|
10
|
-
const stylesCss = ":host{--z-icon-width:14px;--z-icon-height:14px;
|
|
8
|
+
const stylesCss = ":host{--z-icon-width:14px;--z-icon-height:14px;display:inline-flex;height:22px;align-items:center;padding-right:4px;padding-left:4px;border-radius:var(--border-radius);font-family:var(--font-family-sans);text-transform:uppercase}:host(.expandable)>z-icon{margin-right:0;transition:margin-right 0.3s ease-out 0.2s}:host(:not(.expandable))>z-icon:not(:last-child),:host(.expandable:hover)>z-icon:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}:host(.expandable)>span{overflow:hidden;max-width:0;transition:max-width 0.3s ease-out 0.2s;white-space:nowrap}:host(.expandable:hover)>span{max-width:20rem;transition:max-width 0.3s ease-out 0s}:host([status=\"warning\"]){background-color:var(--status-warning-yellow-lighter);color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].light){background-color:transparent;color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].dark){background-color:var(--status-warning-yellow-dark);color:var(--status-warning-yellow-lighter);fill:var(--status-warning-yellow-lighter)}:host([status=\"error\"]){background-color:var(--status-error-red-lighter);color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].light){background-color:transparent;color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].dark){background-color:var(--status-error-red-dark);color:var(--status-error-red-lighter);fill:var(--status-error-red-lighter)}:host([status=\"success\"]){background-color:var(--status-success-green-lighter);color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].light){background-color:transparent;color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].dark){background-color:var(--status-success-green-dark);color:var(--status-success-green-lighter);fill:var(--status-success-green-lighter)}:host([status=\"default\"]){background-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].light){background-color:transparent;color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].dark){background-color:var(--myz-blue-dark);color:var(--myz-blue-lighter);fill:var(--myz-blue-lighter)}:host([status=\"neutral\"]){background-color:var(--bg-grey-050);color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].light){background-color:transparent;color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].dark){background-color:var(--bg-grey-800);color:var(--text-white);fill:var(--text-white)}";
|
|
11
9
|
|
|
12
10
|
const ZStatusTag = class {
|
|
13
11
|
constructor(hostRef) {
|
|
14
12
|
index.registerInstance(this, hostRef);
|
|
15
13
|
/** [optional] Status tag color */
|
|
16
|
-
this.status = index$1.StatusTagStatus.
|
|
14
|
+
this.status = index$1.StatusTagStatus.DEFAULT;
|
|
17
15
|
if (!this.icon && !this.text) {
|
|
18
16
|
console.warn("z-status-tag must contain at least one prop between icon and text");
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
render() {
|
|
22
|
-
return (index.h(index.Host, { class:
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
return (index.h(index.Host, { class: {
|
|
21
|
+
"body-5-sb": true,
|
|
22
|
+
[this.variant || ""]: true,
|
|
23
|
+
"expandable": this.expandable && !!this.icon && !!this.text,
|
|
24
|
+
} }, this.icon && index.h("z-icon", { name: this.icon }), this.text && index.h("span", null, this.text)));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
ZStatusTag.style = stylesCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;top:calc(var(--space-unit) * 4);
|
|
7
|
+
const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:solid 2px var(--bg-grey-700);margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:2px solid var(--myz-blue);margin:calc(var(--space-unit) * 2);background:var(--bg-white);border-radius:50%;color:var(--myz-blue);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--myz-blue-dark);background:var(--myz-blue-dark);color:var(--text-white)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0 0 2px 2px var(--accent-dark)}:host([disabled]) .indicator{border-color:currentcolor;background:var(--bg-grey-200);color:var(--text-grey-700)}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
|
|
8
8
|
|
|
9
9
|
const ZStepperItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{
|
|
7
|
+
const stylesCss = ":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--dashboard-font);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
|
|
8
8
|
|
|
9
9
|
const ZStepper = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return
|
|
14
|
+
return index.h("slot", null);
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ZStepper.style = stylesCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
|
|
8
8
|
|
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const index$2 = require('./index-1fda0714.js');
|
|
8
|
-
require('./_commonjsHelpers-537d719a.js');
|
|
5
|
+
const index = require('./index-0b49c192.js');
|
|
6
|
+
const index$1 = require('./index-199cd650.js');
|
|
9
7
|
|
|
10
|
-
const stylesCss = ":host{display:table-cell;
|
|
8
|
+
const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}";
|
|
11
9
|
|
|
12
10
|
const ZTableCell = class {
|
|
13
11
|
constructor(hostRef) {
|
|
14
12
|
index.registerInstance(this, hostRef);
|
|
15
13
|
/** Set padding size of cell, if special 0px padding will be set */
|
|
16
|
-
this.padding = index$1.Size.
|
|
14
|
+
this.padding = index$1.Size.MEDIUM;
|
|
17
15
|
this.isMenuOpened = false;
|
|
18
16
|
}
|
|
19
17
|
handleMenu() {
|
|
@@ -23,11 +21,13 @@ const ZTableCell = class {
|
|
|
23
21
|
this.host.setAttribute("role", "cell");
|
|
24
22
|
}
|
|
25
23
|
render() {
|
|
26
|
-
return (index.h(index.Host, null, this.showButton && (index.h("div", { class:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
return (index.h(index.Host, null, this.showButton && (index.h("div", { class: {
|
|
25
|
+
"button-container": true,
|
|
26
|
+
"visible": this.isMenuOpened,
|
|
27
|
+
} }, index.h("div", { class: "button-content" }, index.h("z-button", { icon: "contextual-menu", variant: index$1.ButtonVariant.TERTIARY, size: index$1.ButtonSize.X_SMALL, onClick: () => this.handleMenu() }), index.h("div", { class: {
|
|
28
|
+
"contextual-menu-container": true,
|
|
29
|
+
"visible": this.isMenuOpened,
|
|
30
|
+
} }, index.h("slot", { name: "contextual-menu" }))))), index.h("slot", null)));
|
|
31
31
|
}
|
|
32
32
|
get host() { return index.getElement(this); }
|
|
33
33
|
};
|