@zanichelli/albe-web-components 5.5.6-cs1 → 5.6.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/dist/cjs/{icons-460f0f1e.js → icons-9fc3ff30.js} +104 -104
- package/dist/cjs/index-1fda0714.js +60 -0
- package/dist/cjs/{index-15126331.js → index-745c0423.js} +178 -168
- package/dist/cjs/{index-0b49c192.js → index-e3299e0a.js} +225 -207
- package/dist/cjs/index.cjs.js +17 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-7db26db9.js → utils-4647eb06.js} +33 -19
- package/dist/cjs/{utils-b1ef8660.js → utils-dfe717c7.js} +13 -13
- 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 +14 -16
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +177 -159
- package/dist/cjs/z-aria-alert.cjs.entry.js +3 -4
- package/dist/cjs/z-avatar.cjs.entry.js +8 -9
- package/dist/cjs/z-body_2.cjs.entry.js +3 -5
- package/dist/cjs/z-button-deprecated.cjs.entry.js +9 -12
- package/dist/cjs/z-button-filter.cjs.entry.js +3 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +6 -5
- package/dist/cjs/z-button.cjs.entry.js +11 -10
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +19 -16
- package/dist/cjs/z-carousel.cjs.entry.js +117 -5
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +6 -4
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +26 -30
- package/dist/cjs/z-contextual-menu.cjs.entry.js +10 -5
- package/dist/cjs/z-cookiebar.cjs.entry.js +7 -6
- package/dist/cjs/z-cover-hero.cjs.entry.js +5 -6
- package/dist/cjs/z-date-picker.cjs.entry.js +46 -39
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +3 -4
- package/dist/cjs/z-file-upload.cjs.entry.js +20 -18
- 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 +16 -13
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +4 -3
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +8 -9
- package/dist/cjs/z-input-deprecated.cjs.entry.js +67 -55
- package/dist/cjs/z-input-label_2.cjs.entry.js +36 -40
- package/dist/cjs/z-list-group.cjs.entry.js +7 -7
- package/dist/cjs/z-list_2.cjs.entry.js +12 -12
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +11 -10
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +13 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +15 -17
- package/dist/cjs/z-modal.cjs.entry.js +6 -3
- 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 +10 -11
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +17 -27
- package/dist/cjs/z-myz-card-list.cjs.entry.js +3 -4
- package/dist/cjs/z-myz-card_4.cjs.entry.js +13 -17
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +39 -35
- 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 +8 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +15 -12
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +25 -13
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +17 -14
- 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 +14 -17
- package/dist/cjs/z-popover.cjs.entry.js +55 -37
- package/dist/cjs/z-section-title.cjs.entry.js +14 -5
- package/dist/cjs/z-skip-to-content.cjs.entry.js +21 -19
- package/dist/cjs/z-slideshow.cjs.entry.js +12 -29
- 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 +7 -6
- 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 +21 -18
- 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 +9 -7
- 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 +41 -38
- package/dist/cjs/z-toggle-button.cjs.entry.js +10 -8
- package/dist/cjs/z-toggle-switch.cjs.entry.js +17 -19
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +47 -36
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +8 -6
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +178 -168
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +20 -20
- package/dist/collection/components/buttons/z-button/styles.css +30 -31
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -3
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +6 -6
- package/dist/collection/components/buttons/z-chip/styles.css +15 -12
- package/dist/collection/components/buttons/z-toggle-button/index.js +8 -6
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +28 -25
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +18 -15
- package/dist/collection/components/date-picker/styles.css +83 -65
- package/dist/collection/components/date-picker/utils.js +33 -19
- package/dist/collection/components/date-picker/z-date-picker/index.js +47 -40
- package/dist/collection/components/date-picker/z-range-picker/index.js +86 -71
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +25 -14
- package/dist/collection/components/file-upload/z-file/index.js +6 -6
- package/dist/collection/components/file-upload/z-file/styles.css +18 -5
- package/dist/collection/components/file-upload/z-file-upload/index.js +21 -19
- package/dist/collection/components/file-upload/z-file-upload/styles.css +15 -8
- package/dist/collection/components/footer/z-footer/index.js +13 -10
- package/dist/collection/components/footer/z-footer/styles.css +32 -27
- package/dist/collection/components/footer/z-footer-link/styles.css +14 -6
- package/dist/collection/components/footer/z-footer-section/index.js +1 -1
- package/dist/collection/components/footer/z-footer-section/styles.css +48 -35
- package/dist/collection/components/footer/z-footer-social/styles.css +8 -0
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +9 -7
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +4 -3
- 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 +23 -22
- package/dist/collection/components/inputs/z-combobox/index.js +24 -28
- package/dist/collection/components/inputs/z-combobox/styles.css +48 -43
- package/dist/collection/components/inputs/z-input/index.js +71 -64
- package/dist/collection/components/inputs/z-input/styles.css +93 -83
- package/dist/collection/components/inputs/z-input-message/index.js +4 -4
- package/dist/collection/components/inputs/z-input-message/styles.css +6 -7
- package/dist/collection/components/inputs/z-select/index.js +36 -40
- package/dist/collection/components/inputs/z-select/styles.css +28 -23
- package/dist/collection/components/list/z-list/index.js +3 -3
- package/dist/collection/components/list/z-list/styles.css +3 -2
- package/dist/collection/components/list/z-list-element/index.js +19 -19
- package/dist/collection/components/list/z-list-element/styles.css +40 -18
- package/dist/collection/components/list/z-list-group/index.js +10 -10
- package/dist/collection/components/list/z-list-group/styles.css +2 -1
- package/dist/collection/components/list/z-toast-notification-list/index.js +20 -21
- package/dist/collection/components/list/z-toast-notification-list/styles.css +44 -37
- package/dist/collection/components/logo/z-logo/index.js +3 -1
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +5 -2
- package/dist/collection/components/modal/z-modal/styles.css +29 -23
- package/dist/collection/components/modal/z-modal-login/index.js +17 -19
- package/dist/collection/components/modal/z-modal-login/styles.css +37 -28
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +28 -18
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +29 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +38 -28
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +15 -17
- package/dist/collection/components/navigation/z-app-header/styles.css +78 -68
- package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
- package/dist/collection/components/navigation/z-app-switcher/styles.css +17 -5
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
- package/dist/collection/components/navigation/z-app-topbar/styles.css +17 -11
- package/dist/collection/components/navigation/z-link/index.js +13 -15
- package/dist/collection/components/navigation/z-link/styles.css +12 -15
- package/dist/collection/components/navigation/z-menu/index.js +12 -9
- package/dist/collection/components/navigation/z-menu/styles.css +25 -22
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -6
- 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 +6 -4
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +72 -63
- package/dist/collection/components/notification/z-candybar/styles.css +27 -21
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -5
- package/dist/collection/components/notification/z-cookiebar/styles.css +19 -18
- 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 +8 -3
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +43 -39
- package/dist/collection/components/notification/z-toast-notification/styles.css +30 -38
- 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 +3 -4
- package/dist/collection/components/typography/z-heading/index.js +3 -4
- package/dist/collection/components/typography/z-typography/index.js +18 -19
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +6 -12
- package/dist/collection/components/z-avatar/index.js +7 -8
- package/dist/collection/components/z-avatar/styles.css +10 -7
- package/dist/collection/components/z-card/index.js +19 -16
- package/dist/collection/components/z-card/styles.css +42 -38
- package/dist/collection/components/z-carousel/index.js +225 -6
- package/dist/collection/components/z-carousel/styles.css +108 -3
- package/dist/collection/components/z-contextual-menu/index.js +10 -5
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +2 -3
- 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 +12 -13
- package/dist/collection/components/z-info-reveal/styles.css +8 -9
- package/dist/collection/components/z-offcanvas/index.js +17 -14
- package/dist/collection/components/z-offcanvas/styles.css +45 -65
- package/dist/collection/components/z-pagination/index.js +16 -13
- package/dist/collection/components/z-pagination/styles.css +21 -16
- package/dist/collection/components/z-popover/index.js +57 -39
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +17 -8
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +19 -17
- package/dist/collection/components/z-skip-to-content/styles.css +15 -11
- package/dist/collection/components/z-table/z-table/index.js +7 -5
- package/dist/collection/components/z-table/z-table/styles.css +74 -23
- package/dist/collection/components/z-table/z-table-cell/index.js +9 -10
- package/dist/collection/components/z-table/z-table-cell/styles.css +4 -5
- 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 +6 -5
- 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 +24 -22
- package/dist/collection/components/z-table/z-table-header/styles.css +2 -4
- 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 +18 -9
- 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 +12 -7
- 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 +23 -9
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +9 -8
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +17 -22
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +1 -2
- package/dist/collection/deprecated/z-button-filter/styles.css +17 -7
- package/dist/collection/deprecated/z-chip-deprecated/index.js +7 -5
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +71 -59
- package/dist/collection/deprecated/z-input-deprecated/styles.css +91 -77
- 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 +17 -21
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +37 -36
- package/dist/collection/deprecated/z-status-tag/index.js +8 -9
- package/dist/collection/deprecated/z-status-tag/styles.css +12 -10
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +47 -36
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +3 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +4 -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 +5 -5
- 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 +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +27 -10
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -9
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +50 -52
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +15 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +5 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +14 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +15 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +13 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +54 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -2
- 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 +1 -1
- 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 +19 -18
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +17 -13
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +14 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +22 -10
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +3 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +14 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +22 -9
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +22 -13
- package/dist/collection/snowflakes/myz/topbar/index.js +39 -35
- package/dist/collection/snowflakes/myz/topbar/styles.css +177 -157
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +22 -22
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +8 -25
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +31 -30
- package/dist/collection/utils/storybook-utils.js +5 -6
- package/dist/collection/utils/utils.js +14 -14
- package/dist/esm/{icons-56ca282c.js → icons-92a7dcde.js} +104 -104
- package/dist/esm/index-8390ddaf.js +354 -0
- package/dist/esm/{index-3517583d.js → index-a2ca4b97.js} +225 -207
- package/dist/esm/index-abb47b30.js +58 -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-c9ef6b5f.js → utils-2c5dfb88.js} +13 -13
- package/dist/esm/{utils-5d136bc4.js → utils-3ba1cfd4.js} +33 -19
- 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 +14 -16
- package/dist/esm/z-app-switcher_9.entry.js +177 -159
- package/dist/esm/z-aria-alert.entry.js +3 -4
- package/dist/esm/z-avatar.entry.js +8 -9
- package/dist/esm/z-body_2.entry.js +3 -5
- package/dist/esm/z-button-deprecated.entry.js +9 -12
- package/dist/esm/z-button-filter.entry.js +3 -4
- package/dist/esm/z-button-sort.entry.js +6 -5
- package/dist/esm/z-button.entry.js +11 -10
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +19 -16
- package/dist/esm/z-carousel.entry.js +117 -5
- package/dist/esm/z-chip-deprecated.entry.js +6 -4
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +26 -30
- package/dist/esm/z-contextual-menu.entry.js +10 -5
- package/dist/esm/z-cookiebar.entry.js +7 -6
- package/dist/esm/z-cover-hero.entry.js +5 -6
- package/dist/esm/z-date-picker.entry.js +46 -39
- package/dist/esm/z-dragdrop-area_2.entry.js +3 -4
- package/dist/esm/z-file-upload.entry.js +20 -18
- 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 +16 -13
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +4 -3
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +8 -9
- package/dist/esm/z-input-deprecated.entry.js +67 -55
- package/dist/esm/z-input-label_2.entry.js +36 -40
- package/dist/esm/z-list-group.entry.js +7 -7
- package/dist/esm/z-list_2.entry.js +12 -12
- package/dist/esm/z-menu-dropdown_2.entry.js +11 -10
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +13 -10
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +15 -17
- package/dist/esm/z-modal.entry.js +6 -3
- 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 +10 -11
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +17 -27
- package/dist/esm/z-myz-card-list.entry.js +3 -4
- package/dist/esm/z-myz-card_4.entry.js +13 -17
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +39 -35
- 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 +8 -3
- package/dist/esm/z-offcanvas.entry.js +15 -12
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +25 -13
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +17 -14
- 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 +14 -17
- package/dist/esm/z-popover.entry.js +55 -37
- package/dist/esm/z-section-title.entry.js +14 -5
- package/dist/esm/z-skip-to-content.entry.js +21 -19
- package/dist/esm/z-slideshow.entry.js +12 -29
- 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 +7 -6
- 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 +21 -18
- 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 +9 -7
- 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 +41 -38
- package/dist/esm/z-toggle-button.entry.js +10 -8
- package/dist/esm/z-toggle-switch.entry.js +17 -19
- package/dist/esm/z-tooltip-deprecated.entry.js +47 -36
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +8 -6
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +182 -171
- package/dist/types/components/buttons/z-button/index.d.ts +13 -6
- 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 +3 -2
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +5 -11
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +8 -7
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +13 -11
- 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 +5 -7
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +17 -18
- 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 +15 -14
- package/dist/types/components/inputs/z-input/index.d.ts +46 -25
- package/dist/types/components/inputs/z-input-message/index.d.ts +3 -4
- package/dist/types/components/inputs/z-select/index.d.ts +23 -23
- package/dist/types/components/list/z-list/index.d.ts +3 -4
- package/dist/types/components/list/z-list-element/index.d.ts +7 -11
- package/dist/types/components/list/z-list-group/index.d.ts +3 -4
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +1 -2
- package/dist/types/components/modal/z-modal/index.d.ts +4 -5
- package/dist/types/components/modal/z-modal-login/index.d.ts +14 -13
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +8 -9
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +8 -9
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +9 -10
- package/dist/types/components/navigation/z-app-header/index.d.ts +10 -11
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +2 -3
- package/dist/types/components/navigation/z-link/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +6 -8
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +9 -10
- 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 +5 -6
- package/dist/types/components/notification/z-toast-notification/index.d.ts +19 -20
- 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 +1 -4
- package/dist/types/components/typography/z-heading/index.d.ts +1 -4
- package/dist/types/components/typography/z-typography/index.d.ts +4 -8
- package/dist/types/components/z-aria-alert/index.d.ts +2 -5
- package/dist/types/components/z-avatar/index.d.ts +2 -3
- package/dist/types/components/z-card/index.d.ts +6 -7
- package/dist/types/components/z-carousel/index.d.ts +47 -3
- package/dist/types/components/z-contextual-menu/index.d.ts +3 -4
- package/dist/types/components/z-cover-hero/index.d.ts +2 -3
- package/dist/types/components/z-divider/index.d.ts +1 -2
- package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
- package/dist/types/components/z-info-reveal/index.d.ts +7 -9
- package/dist/types/components/z-offcanvas/index.d.ts +8 -9
- package/dist/types/components/z-pagination/index.d.ts +13 -14
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +4 -5
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +4 -5
- 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 +3 -4
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +4 -5
- 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 +7 -9
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +2 -4
- package/dist/types/components/z-table/z-table-row/index.d.ts +4 -7
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +1 -2
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +109 -240
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +16 -14
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +5 -5
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +1 -3
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +34 -23
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +7 -8
- package/dist/types/deprecated/z-status-tag/index.d.ts +1 -2
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +3 -4
- package/dist/types/index.d.ts +3 -4
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +7 -6
- 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 +12 -6
- 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 +9 -4
- 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 +5 -4
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -2
- 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 +24 -22
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +4 -8
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +12 -12
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/utils.d.ts +5 -12
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-01a95ddd.entry.js +1 -0
- package/dist/web-components-library/p-023e657c.entry.js +1 -0
- package/dist/web-components-library/p-03aa4a29.entry.js +1 -0
- package/dist/web-components-library/p-07af77be.entry.js +1 -0
- package/dist/web-components-library/p-0f0d8a17.entry.js +1 -0
- package/dist/web-components-library/p-137c1289.entry.js +1 -0
- package/dist/web-components-library/p-145ef56b.entry.js +1 -0
- package/{www/build/p-b4e14eed.js → dist/web-components-library/p-16c0ffce.js} +1 -1
- package/dist/web-components-library/p-1c5cb6b6.entry.js +1 -0
- package/dist/web-components-library/p-1cb8f39f.entry.js +1 -0
- package/dist/web-components-library/p-1efa8cfe.entry.js +1 -0
- package/dist/web-components-library/p-204c6ec6.entry.js +1 -0
- package/dist/web-components-library/p-213d7163.entry.js +1 -0
- package/dist/web-components-library/p-21a1b6a9.entry.js +1 -0
- package/dist/web-components-library/p-242e410f.entry.js +1 -0
- package/dist/web-components-library/p-286363e2.js +7 -0
- package/dist/web-components-library/{p-88b9d5b4.entry.js → p-2b374cb0.entry.js} +1 -1
- package/dist/web-components-library/p-2ec1cc4b.entry.js +1 -0
- package/dist/web-components-library/p-33438244.entry.js +1 -0
- package/dist/web-components-library/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/dist/web-components-library/{p-41dbc6f1.entry.js → p-3bdf4f63.entry.js} +1 -1
- package/dist/web-components-library/{p-32baba0e.entry.js → p-3c63af71.entry.js} +1 -1
- package/dist/web-components-library/p-3c715e7d.entry.js +1 -0
- package/dist/web-components-library/{p-834a3866.entry.js → p-3e60fa3d.entry.js} +1 -1
- package/dist/web-components-library/p-426c55e1.entry.js +1 -0
- package/dist/web-components-library/{p-b2d16b41.js → p-42b0972c.js} +1 -1
- package/dist/web-components-library/p-42d1707b.entry.js +1 -0
- package/dist/web-components-library/p-46f66301.entry.js +1 -0
- package/dist/web-components-library/p-470e984a.entry.js +1 -0
- package/dist/web-components-library/p-4725eda5.entry.js +1 -0
- package/dist/web-components-library/p-478dd7a6.entry.js +1 -0
- package/dist/web-components-library/p-4f4930b5.entry.js +1 -0
- package/dist/web-components-library/p-52ca86db.entry.js +1 -0
- package/dist/web-components-library/p-5a5dde20.entry.js +1 -0
- package/{www/build/p-cfe78918.entry.js → dist/web-components-library/p-5c30dfc5.entry.js} +1 -1
- package/dist/web-components-library/{p-88de0323.entry.js → p-69fead44.entry.js} +1 -1
- package/dist/web-components-library/p-6ab40b8f.entry.js +1 -0
- package/dist/web-components-library/p-6aba4f0a.entry.js +1 -0
- package/dist/web-components-library/p-6c7251f5.entry.js +1 -0
- package/dist/web-components-library/{p-3124aed0.entry.js → p-6d9d8a68.entry.js} +1 -1
- package/dist/web-components-library/p-726b4fbd.entry.js +1 -0
- package/dist/web-components-library/p-728a61a6.js +1 -0
- package/dist/web-components-library/p-769ccc9f.entry.js +1 -0
- package/dist/web-components-library/p-79d4e03b.entry.js +1 -0
- package/dist/web-components-library/p-872c8d25.entry.js +1 -0
- package/dist/web-components-library/p-8779fc5f.entry.js +1 -0
- package/dist/web-components-library/{p-00fd5cac.entry.js → p-8c703e92.entry.js} +1 -1
- package/dist/web-components-library/p-8e480d71.entry.js +1 -0
- package/dist/web-components-library/p-9124fe26.entry.js +1 -0
- package/dist/web-components-library/p-951c50ad.entry.js +16 -0
- package/dist/web-components-library/{p-02f14544.entry.js → p-9b70eba4.entry.js} +1 -1
- package/dist/web-components-library/p-9bbb27f7.entry.js +1 -0
- package/dist/web-components-library/p-9c83bf57.entry.js +1 -0
- package/dist/web-components-library/{p-3c463e59.entry.js → p-a30bbd0a.entry.js} +1 -1
- package/dist/web-components-library/p-a3eeed2e.entry.js +1 -0
- package/dist/web-components-library/p-a88046a0.entry.js +1 -0
- package/dist/web-components-library/p-a9d0b418.entry.js +1 -0
- package/dist/web-components-library/p-aaa0752b.entry.js +1 -0
- package/dist/web-components-library/p-ad17a4a0.entry.js +1 -0
- package/dist/web-components-library/p-aee1f514.entry.js +1 -0
- package/dist/web-components-library/p-b02aa57c.entry.js +1 -0
- package/dist/web-components-library/p-b54faa73.entry.js +1 -0
- package/dist/web-components-library/p-b622a7fd.entry.js +1 -0
- package/dist/web-components-library/{p-b50ee2a8.entry.js → p-b9bf1a8d.entry.js} +1 -1
- package/dist/web-components-library/p-baa877db.entry.js +1 -0
- package/dist/web-components-library/p-beec82d9.entry.js +1 -0
- package/dist/web-components-library/p-bf7adc29.entry.js +1 -0
- package/dist/web-components-library/p-c1da93ee.entry.js +1 -0
- package/dist/web-components-library/p-c2a3f15d.entry.js +1 -0
- package/dist/web-components-library/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/dist/web-components-library/p-c4f778d7.entry.js +1 -0
- package/{www/build/p-e3176170.entry.js → dist/web-components-library/p-c633d2bb.entry.js} +1 -1
- package/dist/web-components-library/p-c6b5ee23.entry.js +1 -0
- package/dist/web-components-library/p-c89cbfcc.entry.js +1 -0
- package/dist/web-components-library/p-caa2c86c.entry.js +1 -0
- package/dist/web-components-library/p-cea7a294.entry.js +1 -0
- package/dist/web-components-library/p-d17ebc2f.js +2 -0
- package/dist/web-components-library/p-d1f8d75e.entry.js +1 -0
- package/dist/web-components-library/{p-b33f1112.js → p-d4681325.js} +1 -1
- package/dist/web-components-library/p-d665ca6b.entry.js +1 -0
- package/dist/web-components-library/p-d8aac365.entry.js +1 -0
- package/dist/web-components-library/{p-f0a63044.entry.js → p-e177dbef.entry.js} +1 -1
- package/dist/web-components-library/p-e527ef6d.entry.js +1 -0
- package/dist/web-components-library/p-e88ad497.entry.js +1 -0
- package/dist/web-components-library/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/dist/web-components-library/p-eb2634d3.entry.js +1 -0
- package/dist/web-components-library/p-eba1cdd9.entry.js +1 -0
- package/dist/web-components-library/p-ed9dc5b7.entry.js +1 -0
- package/dist/web-components-library/p-f0e73ccb.entry.js +1 -0
- package/dist/web-components-library/p-f4b9f544.entry.js +1 -0
- package/dist/web-components-library/p-f5c3d332.entry.js +1 -0
- package/dist/web-components-library/p-f724f7a1.entry.js +1 -0
- package/dist/web-components-library/p-f77d7a3f.entry.js +1 -0
- package/{www/build/p-b2ee6ded.entry.js → dist/web-components-library/p-fd13128d.entry.js} +1 -1
- package/dist/web-components-library/p-fdb6e67b.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +18 -25
- package/react/index.d.ts +1 -1
- package/readme.md +33 -91
- package/www/build/index.esm.js +1 -1
- package/www/build/p-01a95ddd.entry.js +1 -0
- package/www/build/p-023e657c.entry.js +1 -0
- package/www/build/p-03aa4a29.entry.js +1 -0
- package/www/build/p-07af77be.entry.js +1 -0
- package/www/build/p-0f0d8a17.entry.js +1 -0
- package/www/build/p-137c1289.entry.js +1 -0
- package/www/build/p-145ef56b.entry.js +1 -0
- package/{dist/web-components-library/p-b4e14eed.js → www/build/p-16c0ffce.js} +1 -1
- package/www/build/p-1c5cb6b6.entry.js +1 -0
- package/www/build/p-1cb8f39f.entry.js +1 -0
- package/www/build/p-1efa8cfe.entry.js +1 -0
- package/www/build/p-204c6ec6.entry.js +1 -0
- package/www/build/p-213d7163.entry.js +1 -0
- package/www/build/p-21a1b6a9.entry.js +1 -0
- package/www/build/p-242e410f.entry.js +1 -0
- package/www/build/p-286363e2.js +7 -0
- package/www/build/{p-88b9d5b4.entry.js → p-2b374cb0.entry.js} +1 -1
- package/www/build/p-2ec1cc4b.entry.js +1 -0
- package/www/build/p-33438244.entry.js +1 -0
- package/www/build/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/www/build/{p-41dbc6f1.entry.js → p-3bdf4f63.entry.js} +1 -1
- package/www/build/{p-32baba0e.entry.js → p-3c63af71.entry.js} +1 -1
- package/www/build/p-3c715e7d.entry.js +1 -0
- package/www/build/{p-834a3866.entry.js → p-3e60fa3d.entry.js} +1 -1
- package/www/build/p-426c55e1.entry.js +1 -0
- package/www/build/{p-b2d16b41.js → p-42b0972c.js} +1 -1
- package/www/build/p-42d1707b.entry.js +1 -0
- package/www/build/{p-8a9e2dd1.js → p-448b6156.js} +1 -1
- package/www/build/p-46f66301.entry.js +1 -0
- package/www/build/p-470e984a.entry.js +1 -0
- package/www/build/p-4725eda5.entry.js +1 -0
- package/www/build/p-478dd7a6.entry.js +1 -0
- package/www/build/p-4f4930b5.entry.js +1 -0
- package/www/build/p-52ca86db.entry.js +1 -0
- package/www/build/p-5a5dde20.entry.js +1 -0
- package/{dist/web-components-library/p-cfe78918.entry.js → www/build/p-5c30dfc5.entry.js} +1 -1
- package/www/build/{p-88de0323.entry.js → p-69fead44.entry.js} +1 -1
- package/www/build/p-6ab40b8f.entry.js +1 -0
- package/www/build/p-6aba4f0a.entry.js +1 -0
- package/www/build/p-6c7251f5.entry.js +1 -0
- package/www/build/{p-3124aed0.entry.js → p-6d9d8a68.entry.js} +1 -1
- package/www/build/p-726b4fbd.entry.js +1 -0
- package/www/build/p-728a61a6.js +1 -0
- package/www/build/p-769ccc9f.entry.js +1 -0
- package/www/build/p-79d4e03b.entry.js +1 -0
- package/www/build/p-872c8d25.entry.js +1 -0
- package/www/build/p-8779fc5f.entry.js +1 -0
- package/www/build/{p-00fd5cac.entry.js → p-8c703e92.entry.js} +1 -1
- package/www/build/p-8e480d71.entry.js +1 -0
- package/www/build/p-9124fe26.entry.js +1 -0
- package/www/build/p-951c50ad.entry.js +16 -0
- package/www/build/{p-02f14544.entry.js → p-9b70eba4.entry.js} +1 -1
- package/www/build/p-9bbb27f7.entry.js +1 -0
- package/www/build/p-9c83bf57.entry.js +1 -0
- package/www/build/{p-3c463e59.entry.js → p-a30bbd0a.entry.js} +1 -1
- package/www/build/p-a3eeed2e.entry.js +1 -0
- package/www/build/p-a88046a0.entry.js +1 -0
- package/www/build/p-a9d0b418.entry.js +1 -0
- package/www/build/p-aaa0752b.entry.js +1 -0
- package/www/build/p-ad17a4a0.entry.js +1 -0
- package/www/build/p-aee1f514.entry.js +1 -0
- package/www/build/p-b02aa57c.entry.js +1 -0
- package/www/build/p-b54faa73.entry.js +1 -0
- package/www/build/p-b622a7fd.entry.js +1 -0
- package/www/build/{p-b50ee2a8.entry.js → p-b9bf1a8d.entry.js} +1 -1
- package/www/build/p-baa877db.entry.js +1 -0
- package/www/build/p-beec82d9.entry.js +1 -0
- package/www/build/p-bf7adc29.entry.js +1 -0
- package/www/build/p-c1da93ee.entry.js +1 -0
- package/www/build/p-c2a3f15d.entry.js +1 -0
- package/www/build/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/www/build/p-c4f778d7.entry.js +1 -0
- package/{dist/web-components-library/p-e3176170.entry.js → www/build/p-c633d2bb.entry.js} +1 -1
- package/www/build/p-c6b5ee23.entry.js +1 -0
- package/www/build/p-c89cbfcc.entry.js +1 -0
- package/www/build/p-caa2c86c.entry.js +1 -0
- package/www/build/p-cea7a294.entry.js +1 -0
- package/www/build/p-d17ebc2f.js +2 -0
- package/www/build/p-d1f8d75e.entry.js +1 -0
- package/www/build/{p-b33f1112.js → p-d4681325.js} +1 -1
- package/www/build/p-d665ca6b.entry.js +1 -0
- package/www/build/p-d8aac365.entry.js +1 -0
- package/www/build/{p-f0a63044.entry.js → p-e177dbef.entry.js} +1 -1
- package/www/build/p-e527ef6d.entry.js +1 -0
- package/www/build/p-e88ad497.entry.js +1 -0
- package/www/build/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/www/build/p-eb2634d3.entry.js +1 -0
- package/www/build/p-eba1cdd9.entry.js +1 -0
- package/www/build/p-ed9dc5b7.entry.js +1 -0
- package/www/build/p-f0e73ccb.entry.js +1 -0
- package/www/build/p-f4b9f544.entry.js +1 -0
- package/www/build/p-f5c3d332.entry.js +1 -0
- package/www/build/p-f724f7a1.entry.js +1 -0
- package/www/build/p-f77d7a3f.entry.js +1 -0
- package/{dist/web-components-library/p-b2ee6ded.entry.js → www/build/p-fd13128d.entry.js} +1 -1
- package/www/build/p-fdb6e67b.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 +4 -16
- package/www/pages/notification.html +69 -153
- package/CHANGELOG.md +0 -1911
- package/dist/esm/index-b7165fb7.js +0 -344
- package/dist/web-components-library/p-01cbf6d4.entry.js +0 -1
- package/dist/web-components-library/p-0617465e.entry.js +0 -1
- package/dist/web-components-library/p-06f54c19.entry.js +0 -1
- package/dist/web-components-library/p-0ad2c8ca.entry.js +0 -1
- package/dist/web-components-library/p-0af8d806.entry.js +0 -1
- package/dist/web-components-library/p-14f11a64.entry.js +0 -1
- package/dist/web-components-library/p-1668ec30.entry.js +0 -1
- package/dist/web-components-library/p-2177384f.entry.js +0 -1
- package/dist/web-components-library/p-25769717.entry.js +0 -1
- package/dist/web-components-library/p-25b8e583.entry.js +0 -1
- package/dist/web-components-library/p-2772f005.entry.js +0 -1
- package/dist/web-components-library/p-2e2ae623.entry.js +0 -1
- package/dist/web-components-library/p-311f5e7a.entry.js +0 -16
- package/dist/web-components-library/p-31604337.entry.js +0 -1
- package/dist/web-components-library/p-348c5ada.entry.js +0 -1
- package/dist/web-components-library/p-41b8390e.entry.js +0 -1
- package/dist/web-components-library/p-48134f75.entry.js +0 -1
- package/dist/web-components-library/p-4fe96235.entry.js +0 -1
- package/dist/web-components-library/p-53d9ac21.entry.js +0 -1
- package/dist/web-components-library/p-5a8bdc47.entry.js +0 -1
- package/dist/web-components-library/p-5f5725ce.entry.js +0 -1
- package/dist/web-components-library/p-5fe820fe.entry.js +0 -1
- package/dist/web-components-library/p-6106b802.entry.js +0 -1
- package/dist/web-components-library/p-613cc3b2.entry.js +0 -1
- package/dist/web-components-library/p-621ccd34.entry.js +0 -1
- package/dist/web-components-library/p-6852e978.entry.js +0 -1
- package/dist/web-components-library/p-6a53a0d8.entry.js +0 -1
- package/dist/web-components-library/p-6b7f7ac9.entry.js +0 -1
- package/dist/web-components-library/p-6de8783e.entry.js +0 -1
- package/dist/web-components-library/p-6e01660c.entry.js +0 -1
- package/dist/web-components-library/p-6fa0cef6.entry.js +0 -1
- package/dist/web-components-library/p-71ff9b83.entry.js +0 -1
- package/dist/web-components-library/p-747ad8dc.entry.js +0 -1
- package/dist/web-components-library/p-773cc0f3.entry.js +0 -1
- package/dist/web-components-library/p-792a7ea0.entry.js +0 -1
- package/dist/web-components-library/p-79940e8f.entry.js +0 -1
- package/dist/web-components-library/p-79c9cf77.entry.js +0 -1
- package/dist/web-components-library/p-7a9d3944.entry.js +0 -1
- package/dist/web-components-library/p-7d6e5930.entry.js +0 -1
- package/dist/web-components-library/p-810276c9.entry.js +0 -1
- package/dist/web-components-library/p-8158fe3c.js +0 -1
- package/dist/web-components-library/p-83ee9630.entry.js +0 -1
- package/dist/web-components-library/p-87942fb9.entry.js +0 -1
- package/dist/web-components-library/p-940352dc.entry.js +0 -1
- package/dist/web-components-library/p-9a75f3f8.entry.js +0 -1
- package/dist/web-components-library/p-9c0df331.entry.js +0 -1
- package/dist/web-components-library/p-a55ef7b5.entry.js +0 -1
- package/dist/web-components-library/p-aae7a242.entry.js +0 -1
- package/dist/web-components-library/p-ae2dd723.entry.js +0 -1
- package/dist/web-components-library/p-af6789f2.entry.js +0 -1
- package/dist/web-components-library/p-b1b66050.entry.js +0 -1
- package/dist/web-components-library/p-b366ef8e.js +0 -2
- package/dist/web-components-library/p-b9de57a3.entry.js +0 -1
- package/dist/web-components-library/p-bb684454.entry.js +0 -1
- package/dist/web-components-library/p-bc65252e.entry.js +0 -1
- package/dist/web-components-library/p-bd70bbcc.entry.js +0 -1
- package/dist/web-components-library/p-c0d382bc.entry.js +0 -1
- package/dist/web-components-library/p-c1c6988e.entry.js +0 -1
- package/dist/web-components-library/p-c26d641f.entry.js +0 -1
- package/dist/web-components-library/p-c4b70baa.entry.js +0 -1
- package/dist/web-components-library/p-c5ecf36a.entry.js +0 -1
- package/dist/web-components-library/p-dd74911c.entry.js +0 -1
- package/dist/web-components-library/p-e137a17f.entry.js +0 -1
- package/dist/web-components-library/p-e1cbcb1e.entry.js +0 -1
- package/dist/web-components-library/p-e45c7aeb.entry.js +0 -1
- package/dist/web-components-library/p-eb612914.entry.js +0 -1
- package/dist/web-components-library/p-efdca379.entry.js +0 -1
- package/dist/web-components-library/p-f24a4525.entry.js +0 -1
- package/dist/web-components-library/p-f6ff5bc5.entry.js +0 -1
- package/dist/web-components-library/p-f94ad50d.entry.js +0 -1
- package/dist/web-components-library/p-fddbe121.entry.js +0 -1
- package/dist/web-components-library/p-ff000765.entry.js +0 -1
- package/dist/web-components-library/p-ff0fc090.entry.js +0 -1
- package/dist/web-components-library/p-ffacff3f.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-01cbf6d4.entry.js +0 -1
- package/www/build/p-0617465e.entry.js +0 -1
- package/www/build/p-06f54c19.entry.js +0 -1
- package/www/build/p-0ad2c8ca.entry.js +0 -1
- package/www/build/p-0af8d806.entry.js +0 -1
- package/www/build/p-14f11a64.entry.js +0 -1
- package/www/build/p-1668ec30.entry.js +0 -1
- package/www/build/p-2177384f.entry.js +0 -1
- package/www/build/p-25769717.entry.js +0 -1
- package/www/build/p-25b8e583.entry.js +0 -1
- package/www/build/p-2772f005.entry.js +0 -1
- package/www/build/p-2e2ae623.entry.js +0 -1
- package/www/build/p-311f5e7a.entry.js +0 -16
- package/www/build/p-31604337.entry.js +0 -1
- package/www/build/p-348c5ada.entry.js +0 -1
- package/www/build/p-41b8390e.entry.js +0 -1
- package/www/build/p-48134f75.entry.js +0 -1
- package/www/build/p-4fe96235.entry.js +0 -1
- package/www/build/p-53d9ac21.entry.js +0 -1
- package/www/build/p-5a8bdc47.entry.js +0 -1
- package/www/build/p-5f5725ce.entry.js +0 -1
- package/www/build/p-5fe820fe.entry.js +0 -1
- package/www/build/p-6106b802.entry.js +0 -1
- package/www/build/p-613cc3b2.entry.js +0 -1
- package/www/build/p-621ccd34.entry.js +0 -1
- package/www/build/p-6852e978.entry.js +0 -1
- package/www/build/p-6a53a0d8.entry.js +0 -1
- package/www/build/p-6b7f7ac9.entry.js +0 -1
- package/www/build/p-6de8783e.entry.js +0 -1
- package/www/build/p-6e01660c.entry.js +0 -1
- package/www/build/p-6fa0cef6.entry.js +0 -1
- package/www/build/p-71ff9b83.entry.js +0 -1
- package/www/build/p-747ad8dc.entry.js +0 -1
- package/www/build/p-773cc0f3.entry.js +0 -1
- package/www/build/p-792a7ea0.entry.js +0 -1
- package/www/build/p-79940e8f.entry.js +0 -1
- package/www/build/p-79c9cf77.entry.js +0 -1
- package/www/build/p-7a9d3944.entry.js +0 -1
- package/www/build/p-7d6e5930.entry.js +0 -1
- package/www/build/p-810276c9.entry.js +0 -1
- package/www/build/p-8158fe3c.js +0 -1
- package/www/build/p-83ee9630.entry.js +0 -1
- package/www/build/p-87942fb9.entry.js +0 -1
- package/www/build/p-940352dc.entry.js +0 -1
- package/www/build/p-9a75f3f8.entry.js +0 -1
- package/www/build/p-9c0df331.entry.js +0 -1
- package/www/build/p-a55ef7b5.entry.js +0 -1
- package/www/build/p-aae7a242.entry.js +0 -1
- package/www/build/p-ae2dd723.entry.js +0 -1
- package/www/build/p-af6789f2.entry.js +0 -1
- package/www/build/p-b1b66050.entry.js +0 -1
- package/www/build/p-b366ef8e.js +0 -2
- package/www/build/p-b9de57a3.entry.js +0 -1
- package/www/build/p-bb684454.entry.js +0 -1
- package/www/build/p-bc65252e.entry.js +0 -1
- package/www/build/p-bd70bbcc.entry.js +0 -1
- package/www/build/p-c0d382bc.entry.js +0 -1
- package/www/build/p-c1c6988e.entry.js +0 -1
- package/www/build/p-c26d641f.entry.js +0 -1
- package/www/build/p-c4b70baa.entry.js +0 -1
- package/www/build/p-c5ecf36a.entry.js +0 -1
- package/www/build/p-dd74911c.entry.js +0 -1
- package/www/build/p-e137a17f.entry.js +0 -1
- package/www/build/p-e1cbcb1e.entry.js +0 -1
- package/www/build/p-e45c7aeb.entry.js +0 -1
- package/www/build/p-eb612914.entry.js +0 -1
- package/www/build/p-efdca379.entry.js +0 -1
- package/www/build/p-f24a4525.entry.js +0 -1
- package/www/build/p-f6ff5bc5.entry.js +0 -1
- package/www/build/p-f94ad50d.entry.js +0 -1
- package/www/build/p-fddbe121.entry.js +0 -1
- package/www/build/p-ff000765.entry.js +0 -1
- package/www/build/p-ff0fc090.entry.js +0 -1
- package/www/build/p-ffacff3f.entry.js +0 -1
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-15126331.js');
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
7
6
|
|
|
8
|
-
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-
|
|
7
|
+
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);max-width:100%;flex-wrap:wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;align-items:center;height:48px;max-width:100%}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;margin:0;background-color:var(--color-surface03);transition:background-color .150s ease-out,\n color .150s ease-out,\n border-bottom-color .150s ease-out,\n font-size .150s ease-in-out,\n font-weight .150s ease-in-out;color:var(--color-primary01);border:none;font-family:inherit;font-weight:inherit;cursor:pointer}z-pagination .pagination-bar button:focus-visible{outline:none;box-shadow:inset var(--shadow-focus-primary);background-color:var(--color-hover-surface)}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);text-transform:uppercase;white-space:nowrap;font-weight:var(--font-sb)}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{font-size:var(--font-size-7);border-bottom-color:var(--color-primary01)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;-moz-appearance:none}z-pagination .mobile-go-to-page{display:flex;justify-content:center;align-items:center;flex:1 auto;height:100%;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
9
8
|
|
|
10
9
|
const ZPagination = class {
|
|
11
10
|
constructor(hostRef) {
|
|
@@ -88,7 +87,7 @@ const ZPagination = class {
|
|
|
88
87
|
getPagesChunks() {
|
|
89
88
|
// array of numbers from 1 to `totalPages`
|
|
90
89
|
const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
|
|
91
|
-
|
|
90
|
+
let chunks = [];
|
|
92
91
|
const chunksCount = Math.ceil(pages.length / this._visiblePages);
|
|
93
92
|
for (let index = 0; index < chunksCount; index++) {
|
|
94
93
|
chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
|
|
@@ -135,14 +134,14 @@ const ZPagination = class {
|
|
|
135
134
|
}
|
|
136
135
|
/**
|
|
137
136
|
* Render chunked page buttons.
|
|
138
|
-
* @returns {HTMLDivElement
|
|
137
|
+
* @returns {HTMLDivElement}
|
|
139
138
|
*/
|
|
140
139
|
renderPages() {
|
|
141
140
|
const pagesChunks = this.getPagesChunks();
|
|
142
141
|
if (pagesChunks.length <= 0) {
|
|
143
142
|
return;
|
|
144
143
|
}
|
|
145
|
-
return pagesChunks.map((chunk) => index.h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))));
|
|
144
|
+
return pagesChunks.map((chunk) => (index.h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))));
|
|
146
145
|
}
|
|
147
146
|
/**
|
|
148
147
|
* Render page buttons when split feature is enabled.
|
|
@@ -162,7 +161,8 @@ const ZPagination = class {
|
|
|
162
161
|
this.renderPage(this.totalPages),
|
|
163
162
|
];
|
|
164
163
|
}
|
|
165
|
-
if (this.currentPage > this.split * 2 + 2 &&
|
|
164
|
+
if (this.currentPage > this.split * 2 + 2 &&
|
|
165
|
+
this.currentPage < this.totalPages - this.split * 2 - 1) {
|
|
166
166
|
// Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
|
|
167
167
|
return [
|
|
168
168
|
this.renderPage(1),
|
|
@@ -190,10 +190,10 @@ const ZPagination = class {
|
|
|
190
190
|
return [
|
|
191
191
|
this.label && index.h("span", { class: "page-label body-1-sb" }, this.label),
|
|
192
192
|
index.h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (index.h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
|
|
193
|
-
pagesChunks.map((chunk) => index.h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (index.h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
193
|
+
pagesChunks.map((chunk) => (index.h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (index.h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
194
194
|
ev.preventDefault();
|
|
195
195
|
this.selectPage(this.goToPageValue);
|
|
196
|
-
} }, index.h("z-input", { class: "go-to-page-input", type:
|
|
196
|
+
} }, index.h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
197
197
|
this.goToPageValue = ev.target.value;
|
|
198
198
|
}, placeholder: this.currentPage.toString(), hasclearicon: false }), index.h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
199
199
|
];
|
|
@@ -202,7 +202,7 @@ const ZPagination = class {
|
|
|
202
202
|
this.setVisiblePages();
|
|
203
203
|
}
|
|
204
204
|
componentDidRender() {
|
|
205
|
-
if (this.split
|
|
205
|
+
if (this.split) {
|
|
206
206
|
this.edges = false;
|
|
207
207
|
}
|
|
208
208
|
this.setPagesContainerWidth();
|
|
@@ -210,11 +210,14 @@ const ZPagination = class {
|
|
|
210
210
|
}
|
|
211
211
|
render() {
|
|
212
212
|
if (this.isMobile) {
|
|
213
|
-
return
|
|
213
|
+
return this.renderMobile();
|
|
214
214
|
}
|
|
215
|
-
return
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
return [
|
|
216
|
+
index.h("div", { class: "pagination-bar" }, this.label && index.h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (index.h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), index.h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (index.h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
|
|
217
|
+
this.goToPage && (index.h("div", { class: "go-to-page" }, index.h("span", { class: "label body-5-sb" }, "Vai a pagina:"), index.h("div", { class: "inputs" }, index.h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
218
|
+
this.goToPageValue = ev.target.value;
|
|
219
|
+
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), index.h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
|
|
220
|
+
];
|
|
218
221
|
}
|
|
219
222
|
get host() { return index.getElement(this); }
|
|
220
223
|
static get watchers() { return {
|
|
@@ -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-e3299e0a.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{
|
|
7
|
+
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);width:inherit}.panel-elem-container{width:100%}.panel-elem-icon{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon img{display:block;object-fit:contain;max-width:96px;height:32px;margin:auto}.panel-elem-link{border-radius:var(--border-no-radius);margin:var(--space-unit) auto 0;text-align:center;font-size:12px}.panel-elem-link>z-link{font-weight:var(--font-sb)}.panel-elem-desc{letter-spacing:0.16px;text-align:center;margin:0;padding-top:var(--space-unit)}";
|
|
8
8
|
|
|
9
9
|
const ZPanelElem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -16,13 +16,13 @@ const ZPanelElem = class {
|
|
|
16
16
|
}
|
|
17
17
|
renderIcon() {
|
|
18
18
|
if (this.isdisabled) {
|
|
19
|
-
return
|
|
19
|
+
return index.h("img", { src: this.imgurl, alt: this.imgalt });
|
|
20
20
|
}
|
|
21
21
|
return (index.h("a", { class: "elem-icon", href: this.url, target: this.target }, index.h("img", { src: this.imgurl, alt: this.imgalt })));
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const elemId = this.elemid ? this.elemid : "";
|
|
25
|
-
return (index.h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && index.h("div", { class: "panel-elem-icon" }, this.renderIcon()), index.h("div", { class: "panel-elem-link" }, index.h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.
|
|
25
|
+
return (index.h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (index.h("div", { class: "panel-elem-icon" }, this.renderIcon())), index.h("div", { class: "panel-elem-link" }, index.h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.descr_slot_name && (index.h("div", { class: "panel-elem-desc body-long-01" }, index.h("slot", { name: this.descr_slot_name })))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
ZPanelElem.style = stylesCss;
|
|
@@ -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-e3299e0a.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{
|
|
7
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";
|
|
8
8
|
|
|
9
9
|
const ZPocketMessage = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h("div", null, index.h("z-icon", { name: "exclamation-circle" }), index.h("div", { class: "content" }, index.h("slot", null)), index.h("div", { class: "
|
|
14
|
+
return (index.h("div", null, index.h("z-icon", { name: "exclamation-circle" }), index.h("div", { class: "content" }, index.h("slot", null)), index.h("div", { class: "ctaWrapper" }, index.h("slot", { name: "cta" }))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ZPocketMessage.style = stylesCss;
|
|
@@ -2,29 +2,29 @@
|
|
|
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-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-745c0423.js');
|
|
7
|
+
const utils = require('./utils-dfe717c7.js');
|
|
8
8
|
const hammer = require('./hammer-4f20813e.js');
|
|
9
9
|
require('./breakpoints-88c4fd6c.js');
|
|
10
10
|
require('./_commonjsHelpers-537d719a.js');
|
|
11
11
|
|
|
12
|
-
const stylesCss$2 = ":host{
|
|
12
|
+
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:inherit;height:100%;margin:inherit}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;left:0;right:0;top:0;bottom:0;z-index:998;width:0;height:0}:host>div>div.background.open{height:100%;width:100%}:host>div>div.contentWrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.contentWrapper>div{border-radius:var(--space-unit) var(--space-unit) 0px 0px;box-shadow:0px -2px calc(var(--space-unit) * 0.5) 0px rgba(66, 69, 72, 0.4);margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5)}";
|
|
13
13
|
|
|
14
14
|
const ZPocket = class {
|
|
15
15
|
constructor(hostRef) {
|
|
16
16
|
index.registerInstance(this, hostRef);
|
|
17
17
|
this.pocketToggle = index.createEvent(this, "pocketToggle", 7);
|
|
18
18
|
/** pocket status */
|
|
19
|
-
this.status = index$1.PocketStatusEnum.
|
|
19
|
+
this.status = index$1.PocketStatusEnum.preview;
|
|
20
20
|
}
|
|
21
21
|
/** open z-pocket */
|
|
22
22
|
async open() {
|
|
23
|
-
this.status = index$1.PocketStatusEnum.
|
|
23
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
24
24
|
}
|
|
25
25
|
/** close z-pocket */
|
|
26
26
|
async close() {
|
|
27
|
-
this.status = index$1.PocketStatusEnum.
|
|
27
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
28
28
|
}
|
|
29
29
|
emitPocketToggle(id, status) {
|
|
30
30
|
this.pocketToggle.emit({ id, status });
|
|
@@ -32,12 +32,12 @@ const ZPocket = class {
|
|
|
32
32
|
handlePocketHeaderClick(e) {
|
|
33
33
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
34
34
|
switch (this.status) {
|
|
35
|
-
case index$1.PocketStatusEnum.
|
|
36
|
-
case index$1.PocketStatusEnum.
|
|
37
|
-
this.status = index$1.PocketStatusEnum.
|
|
35
|
+
case index$1.PocketStatusEnum.preview:
|
|
36
|
+
case index$1.PocketStatusEnum.closed:
|
|
37
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
38
38
|
break;
|
|
39
|
-
case index$1.PocketStatusEnum.
|
|
40
|
-
this.status = index$1.PocketStatusEnum.
|
|
39
|
+
case index$1.PocketStatusEnum.open:
|
|
40
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -45,10 +45,10 @@ const ZPocket = class {
|
|
|
45
45
|
handlePocketHeaderPan(e) {
|
|
46
46
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
47
47
|
if (e.detail.direction === "up") {
|
|
48
|
-
this.status = index$1.PocketStatusEnum.
|
|
48
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
49
49
|
}
|
|
50
50
|
else if (e.detail.direction === "down") {
|
|
51
|
-
this.status = index$1.PocketStatusEnum.
|
|
51
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -64,7 +64,7 @@ const ZPocket = class {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (index.h("div", null, index.h("div", { "data-action": "pocketBackground", "data-pocket": this.pocketid, class: `background ${this.status}`, onClick: (e) => this.handleBackgroundClick(e) }), index.h("div", { id: this.pocketid, class: "
|
|
67
|
+
return (index.h("div", null, index.h("div", { "data-action": "pocketBackground", "data-pocket": this.pocketid, class: `background ${this.status}`, onClick: (e) => this.handleBackgroundClick(e) }), index.h("div", { id: this.pocketid, class: "contentWrapper" }, index.h("div", null, index.h("slot", null)))));
|
|
68
68
|
}
|
|
69
69
|
get hostElement() { return index.getElement(this); }
|
|
70
70
|
static get watchers() { return {
|
|
@@ -73,13 +73,13 @@ const ZPocket = class {
|
|
|
73
73
|
};
|
|
74
74
|
ZPocket.style = stylesCss$2;
|
|
75
75
|
|
|
76
|
-
const stylesCss$1 = ":host{
|
|
76
|
+
const stylesCss$1 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>main{background:var(--color-surface01);border-left:var(--border-size-small) solid var(--color-surface03);border-right:var(--border-size-small) solid var(--color-surface03);overflow:auto;scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";
|
|
77
77
|
|
|
78
78
|
const ZPocketBody = class {
|
|
79
79
|
constructor(hostRef) {
|
|
80
80
|
index.registerInstance(this, hostRef);
|
|
81
81
|
/** pocket status */
|
|
82
|
-
this.status = index$1.PocketStatusEnum.
|
|
82
|
+
this.status = index$1.PocketStatusEnum.preview;
|
|
83
83
|
}
|
|
84
84
|
handlePocketToggle(e) {
|
|
85
85
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
@@ -92,7 +92,7 @@ const ZPocketBody = class {
|
|
|
92
92
|
};
|
|
93
93
|
ZPocketBody.style = stylesCss$1;
|
|
94
94
|
|
|
95
|
-
const stylesCss = ":host{
|
|
95
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>header{background:var(--color-surface01);border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--space-unit) var(--space-unit) 0px 0px;height:36px;cursor:pointer;display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:center;align-items:center}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";
|
|
96
96
|
|
|
97
97
|
const ZPocketHeader = class {
|
|
98
98
|
constructor(hostRef) {
|
|
@@ -115,7 +115,7 @@ const ZPocketHeader = class {
|
|
|
115
115
|
mc.on("pandown", () => this.emitPocketHeaderPan("down"));
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (index.h("header", { role: "button", tabindex: 0, onClick: () => this.emitPocketHeaderClick(), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitPocketHeaderClick), ref:
|
|
118
|
+
return (index.h("header", { role: "button", tabindex: 0, onClick: () => this.emitPocketHeaderClick(), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitPocketHeaderClick), ref: el => (this.swipeWrap = el) }, index.h("slot", null)));
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
ZPocketHeader.style = stylesCss;
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$
|
|
7
|
-
const
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$2 = require('./index-1fda0714.js');
|
|
7
|
+
const index$1 = require('./index-745c0423.js');
|
|
8
|
+
const utils = require('./utils-dfe717c7.js');
|
|
9
|
+
require('./_commonjsHelpers-537d719a.js');
|
|
8
10
|
require('./breakpoints-88c4fd6c.js');
|
|
9
11
|
|
|
10
|
-
const stylesCss = ".sc-z-popover-deprecated-h{
|
|
12
|
+
const stylesCss = ".sc-z-popover-deprecated-h{font-family:var(--dashboard-font);font-weight:var(--font-rg);position:relative;display:inline-block;--shadow-arrow-color:rgba(66, 69, 72, 0.2);--shadow-arrow-below-color:rgba(66, 69, 72, 0.1)}.popover-content-container.sc-z-popover-deprecated{box-sizing:border-box;visibility:hidden;position:absolute;min-width:64px;min-height:32px;z-index:999}.popover-content-container.visible.sc-z-popover-deprecated{visibility:visible}.popover-content-container.border-radius-none.sc-z-popover-deprecated{border-radius:0}.popover-content-container.border-radius-small.sc-z-popover-deprecated{border-radius:var(--border-radius-small)}.popover-content-container.border-radius-medium.sc-z-popover-deprecated{border-radius:var(--border-radius)}.popover-content-container.shadow-1.sc-z-popover-deprecated{box-shadow:var(--shadow-1)}.popover-content-container.shadow-2.sc-z-popover-deprecated{box-shadow:var(--shadow-2)}.popover-content-container.shadow-3.sc-z-popover-deprecated{box-shadow:var(--shadow-3)}.popover-content-container.shadow-4.sc-z-popover-deprecated{box-shadow:var(--shadow-4)}.popover-content-container.shadow-6.sc-z-popover-deprecated{box-shadow:var(--shadow-6)}.popover-content-container.shadow-8.sc-z-popover-deprecated{box-shadow:var(--shadow-8)}.popover-content-container.shadow-12.sc-z-popover-deprecated{box-shadow:var(--shadow-12)}.popover-content-container.shadow-16.sc-z-popover-deprecated{box-shadow:var(--shadow-16)}.popover-content-container.shadow-24.sc-z-popover-deprecated{box-shadow:var(--shadow-24)}.popover-content-container.after-down.sc-z-popover-deprecated{top:0;left:calc(100% + var(--space-unit))}.popover-content-container.after-center.sc-z-popover-deprecated{top:50%;left:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.after-up.sc-z-popover-deprecated{bottom:0;left:calc(100% + var(--space-unit))}.popover-content-container.below-right.sc-z-popover-deprecated{left:0;top:calc(100% + var(--space-unit))}.popover-content-container.below-center.sc-z-popover-deprecated{left:50%;top:calc(100% + var(--space-unit));transform:translateX(-50%)}.popover-content-container.below-left.sc-z-popover-deprecated{right:0;top:calc(100% + var(--space-unit))}.popover-content-container.before-down.sc-z-popover-deprecated{top:0;right:calc(100% + var(--space-unit))}.popover-content-container.before-center.sc-z-popover-deprecated{top:50%;right:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.before-up.sc-z-popover-deprecated{bottom:0;right:calc(100% + var(--space-unit))}.popover-content-container.above-right.sc-z-popover-deprecated{left:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.above-center.sc-z-popover-deprecated{left:50%;bottom:calc(100% + var(--space-unit));transform:translateX(-50%)}.popover-content-container.above-left.sc-z-popover-deprecated{right:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.sc-z-popover-deprecated:before{display:none;position:absolute;content:\"\";width:8px;height:8px;z-index:-1;background-color:inherit;transform:rotate(45deg)}.popover-content-container.after-down.sc-z-popover-deprecated:before{top:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-center.sc-z-popover-deprecated:before{top:calc(50% - 4px);left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-up.sc-z-popover-deprecated:before{bottom:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.below-right.sc-z-popover-deprecated:before{left:12px;top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-center.sc-z-popover-deprecated:before{left:calc(50% - 4px);top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-left.sc-z-popover-deprecated:before{right:12px;top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.before-down.sc-z-popover-deprecated:before{top:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-center.sc-z-popover-deprecated:before{top:calc(50% - 4px);right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-up.sc-z-popover-deprecated:before{bottom:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-right.sc-z-popover-deprecated:before{left:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-center.sc-z-popover-deprecated:before{left:calc(50% - 4px);bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-left.sc-z-popover-deprecated:before{right:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.show-arrow.sc-z-popover-deprecated:before{display:block}";
|
|
11
13
|
|
|
12
14
|
const ZPopoverDeprecated = class {
|
|
13
15
|
/**
|
|
@@ -17,13 +19,13 @@ const ZPopoverDeprecated = class {
|
|
|
17
19
|
index.registerInstance(this, hostRef);
|
|
18
20
|
this.triggerClick = index.createEvent(this, "triggerClick", 7);
|
|
19
21
|
/** [optional] Popover position */
|
|
20
|
-
this.position = index$1.PopoverPosition
|
|
22
|
+
this.position = index$1.PopoverPosition["after-up"];
|
|
21
23
|
/** [optional] Background color token for popover */
|
|
22
24
|
this.backgroundColor = "color-white";
|
|
23
25
|
/** [optional] Border radius token for popover */
|
|
24
|
-
this.borderRadius = index$1.PopoverBorderRadius.
|
|
26
|
+
this.borderRadius = index$1.PopoverBorderRadius.small;
|
|
25
27
|
/** [optional] Box shadow token for popover */
|
|
26
|
-
this.boxShadow = index$1.PopoverShadow
|
|
28
|
+
this.boxShadow = index$1.PopoverShadow["shadow-1"];
|
|
27
29
|
/** [optional] Show or hide arrow */
|
|
28
30
|
this.showArrow = false;
|
|
29
31
|
/** [optional] Sets padding for Popover container */
|
|
@@ -67,7 +69,8 @@ const ZPopoverDeprecated = class {
|
|
|
67
69
|
}
|
|
68
70
|
// If right is outside viewport
|
|
69
71
|
if (r > width) {
|
|
70
|
-
if (this.position.startsWith("above") ||
|
|
72
|
+
if (this.position.startsWith("above") ||
|
|
73
|
+
this.position.startsWith("below")) {
|
|
71
74
|
secondSide = "left";
|
|
72
75
|
}
|
|
73
76
|
else {
|
|
@@ -76,7 +79,8 @@ const ZPopoverDeprecated = class {
|
|
|
76
79
|
}
|
|
77
80
|
// If left is outside viewport
|
|
78
81
|
if (l < 0) {
|
|
79
|
-
if (this.position.startsWith("above") ||
|
|
82
|
+
if (this.position.startsWith("above") ||
|
|
83
|
+
this.position.startsWith("below")) {
|
|
80
84
|
secondSide = "right";
|
|
81
85
|
}
|
|
82
86
|
else {
|
|
@@ -117,14 +121,7 @@ const ZPopoverDeprecated = class {
|
|
|
117
121
|
if (event.key === index$1.KeyboardKeys.ENTER) {
|
|
118
122
|
this.handleClick(event);
|
|
119
123
|
}
|
|
120
|
-
} }, index.h("slot", { name: "trigger" })), index.h("div", { ref: (e) => (this.popoverElem = e), class: {
|
|
121
|
-
"popover-content-container": true,
|
|
122
|
-
[this.popoverPosition]: true,
|
|
123
|
-
[`border-radius-${this.borderRadius}`]: true,
|
|
124
|
-
[this.boxShadow]: true,
|
|
125
|
-
"show-arrow": this.showArrow,
|
|
126
|
-
"visible": this.isVisible,
|
|
127
|
-
}, style: {
|
|
124
|
+
} }, index.h("slot", { name: "trigger" })), index.h("div", { ref: (e) => (this.popoverElem = e), class: index$2.classnames("popover-content-container", this.popoverPosition, `border-radius-${this.borderRadius}`, this.boxShadow, { "show-arrow": this.showArrow }, { visible: this.isVisible }), style: {
|
|
128
125
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
129
126
|
padding: this.padding,
|
|
130
127
|
} }, index.h("slot", { name: "popover" }))));
|
|
@@ -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-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-745c0423.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;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);
|
|
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;align-items:center;justify-content:center;padding:var(--z-popover-padding);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-popover-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-popover-theme--surface);filter:var(--z-popover-shadow-filter)}: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));display:block;content:\"\";position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);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(*){flex:1 auto;overflow:auto}";
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const documentElement = document.documentElement;
|
|
11
11
|
function getParentElement(element) {
|
|
12
12
|
if (element.parentNode.host) {
|
|
13
13
|
return element.parentNode.host;
|
|
@@ -21,18 +21,24 @@ function getParentElement(element) {
|
|
|
21
21
|
*/
|
|
22
22
|
function findScrollableParent(element) {
|
|
23
23
|
let parent = getParentElement(element);
|
|
24
|
-
while (parent && parent !==
|
|
24
|
+
while (parent && parent !== documentElement) {
|
|
25
25
|
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
26
|
-
if (overflow === "hidden" ||
|
|
26
|
+
if (overflow === "hidden" ||
|
|
27
|
+
overflowY === "hidden" ||
|
|
28
|
+
overflowX === "hidden") {
|
|
27
29
|
return parent;
|
|
28
30
|
}
|
|
29
|
-
if ((parent.scrollHeight > parent.clientHeight &&
|
|
30
|
-
|
|
31
|
+
if ((parent.scrollHeight > parent.clientHeight &&
|
|
32
|
+
overflow !== "visible" &&
|
|
33
|
+
overflowY !== "visible") ||
|
|
34
|
+
(parent.scrollWidth > parent.clientWidth &&
|
|
35
|
+
overflow !== "visible" &&
|
|
36
|
+
overflowX !== "visible")) {
|
|
31
37
|
return parent;
|
|
32
38
|
}
|
|
33
39
|
parent = getParentElement(parent);
|
|
34
40
|
}
|
|
35
|
-
return
|
|
41
|
+
return documentElement;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Calculate computed offset.
|
|
@@ -94,7 +100,7 @@ const ZPopover = class {
|
|
|
94
100
|
this.positionChange = index.createEvent(this, "positionChange", 7);
|
|
95
101
|
this.openChange = index.createEvent(this, "openChange", 7);
|
|
96
102
|
/** Popover position. */
|
|
97
|
-
this.position = index$1.PopoverPositions.
|
|
103
|
+
this.position = index$1.PopoverPositions.auto;
|
|
98
104
|
/**
|
|
99
105
|
* The open state of the popover.
|
|
100
106
|
*/
|
|
@@ -121,7 +127,6 @@ const ZPopover = class {
|
|
|
121
127
|
if (!this.closable) {
|
|
122
128
|
return;
|
|
123
129
|
}
|
|
124
|
-
// @ts-ignore
|
|
125
130
|
const parent = e.path.find((elem) => elem === this.host);
|
|
126
131
|
if (!parent) {
|
|
127
132
|
this.open = false;
|
|
@@ -129,8 +134,9 @@ const ZPopover = class {
|
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
136
|
validatePosition(newValue) {
|
|
132
|
-
if (newValue &&
|
|
133
|
-
|
|
137
|
+
if (newValue &&
|
|
138
|
+
!Object.values(index$1.PopoverPositions).includes(newValue)) {
|
|
139
|
+
this.position = index$1.PopoverPositions.auto;
|
|
134
140
|
}
|
|
135
141
|
this.currentPosition = this.position;
|
|
136
142
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -149,8 +155,8 @@ const ZPopover = class {
|
|
|
149
155
|
};
|
|
150
156
|
setPosition();
|
|
151
157
|
}
|
|
152
|
-
else if (this.host.hasAttribute(
|
|
153
|
-
this.host.removeAttribute(
|
|
158
|
+
else if (this.host.hasAttribute('current-position')) {
|
|
159
|
+
this.host.removeAttribute('current-position');
|
|
154
160
|
this.currentPosition = undefined;
|
|
155
161
|
}
|
|
156
162
|
this.openChange.emit({ open: this.open });
|
|
@@ -183,11 +189,19 @@ const ZPopover = class {
|
|
|
183
189
|
: { top: 0, right: 0, bottom: 0, left: 0 };
|
|
184
190
|
const boundingRect = computeOffset(element, scrollContainer);
|
|
185
191
|
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
186
|
-
const bottom = scrollingBoundingRect.height -
|
|
192
|
+
const bottom = scrollingBoundingRect.height -
|
|
193
|
+
(boundingRect.top + boundingRect.height) +
|
|
194
|
+
scrollContainer.scrollTop;
|
|
187
195
|
const left = boundingRect.left - scrollContainer.scrollLeft;
|
|
188
|
-
const right = scrollingBoundingRect.width -
|
|
189
|
-
|
|
190
|
-
|
|
196
|
+
const right = scrollingBoundingRect.width -
|
|
197
|
+
(boundingRect.left + boundingRect.width) +
|
|
198
|
+
scrollContainer.scrollLeft;
|
|
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);
|
|
191
205
|
const availableTop = Math.min(top, top + scrollingBoundingRect.top);
|
|
192
206
|
const availableBottom = Math.min(bottom, bottom - overflowBottom);
|
|
193
207
|
const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
|
|
@@ -196,28 +210,28 @@ const ZPopover = class {
|
|
|
196
210
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
197
211
|
let position = this.currentPosition;
|
|
198
212
|
const positions = [];
|
|
199
|
-
if (this.position === index$1.PopoverPositions.
|
|
213
|
+
if (this.position === index$1.PopoverPositions.auto) {
|
|
200
214
|
/**
|
|
201
215
|
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
202
216
|
* where there's more space available.
|
|
203
217
|
*/
|
|
204
218
|
if (availableLeft / availableWidth > 0.6) {
|
|
205
|
-
positions.push(index$1.PopoverPositions.
|
|
219
|
+
positions.push(index$1.PopoverPositions.left);
|
|
206
220
|
}
|
|
207
221
|
else if (availableLeft / availableWidth < 0.4) {
|
|
208
|
-
positions.push(index$1.PopoverPositions.
|
|
222
|
+
positions.push(index$1.PopoverPositions.right);
|
|
209
223
|
}
|
|
210
224
|
if (availableTop / availableHeight > 0.9) {
|
|
211
|
-
positions.unshift(index$1.PopoverPositions.
|
|
225
|
+
positions.unshift(index$1.PopoverPositions.top);
|
|
212
226
|
}
|
|
213
227
|
else if (availableTop / availableHeight > 0.6) {
|
|
214
|
-
positions.push(index$1.PopoverPositions.
|
|
228
|
+
positions.push(index$1.PopoverPositions.top);
|
|
215
229
|
}
|
|
216
230
|
else if (availableTop / availableHeight < 0.1) {
|
|
217
|
-
positions.unshift(index$1.PopoverPositions.
|
|
231
|
+
positions.unshift(index$1.PopoverPositions.bottom);
|
|
218
232
|
}
|
|
219
233
|
else {
|
|
220
|
-
positions.push(index$1.PopoverPositions.
|
|
234
|
+
positions.push(index$1.PopoverPositions.bottom);
|
|
221
235
|
}
|
|
222
236
|
position = positions.join("_");
|
|
223
237
|
}
|
|
@@ -229,17 +243,18 @@ const ZPopover = class {
|
|
|
229
243
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
230
244
|
const offsetModifier = this.center ? 0.5 : 0;
|
|
231
245
|
const sizeModifier = this.center ? 0.5 : 0;
|
|
232
|
-
if (position === index$1.PopoverPositions.
|
|
246
|
+
if (position === index$1.PopoverPositions.top ||
|
|
247
|
+
position === index$1.PopoverPositions.top_right) {
|
|
233
248
|
style.top = "auto";
|
|
234
249
|
style.right = "auto";
|
|
235
250
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
236
251
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
237
252
|
style.maxHeight = `${availableTop}px`;
|
|
238
|
-
if (position === index$1.PopoverPositions.
|
|
253
|
+
if (position === index$1.PopoverPositions.top_right) {
|
|
239
254
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
240
255
|
}
|
|
241
256
|
}
|
|
242
|
-
else if (position === index$1.PopoverPositions.
|
|
257
|
+
else if (position === index$1.PopoverPositions.top_left) {
|
|
243
258
|
style.top = "auto";
|
|
244
259
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
245
260
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
@@ -247,17 +262,18 @@ const ZPopover = class {
|
|
|
247
262
|
style.maxWidth = `${availableLeft}px`;
|
|
248
263
|
style.maxHeight = `${availableTop}px`;
|
|
249
264
|
}
|
|
250
|
-
else if (position === index$1.PopoverPositions.
|
|
265
|
+
else if (position === index$1.PopoverPositions.bottom ||
|
|
266
|
+
position === index$1.PopoverPositions.bottom_right) {
|
|
251
267
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
252
268
|
style.right = "auto";
|
|
253
269
|
style.bottom = "auto";
|
|
254
270
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
255
271
|
style.maxHeight = `${availableBottom}px`;
|
|
256
|
-
if (position === index$1.PopoverPositions.
|
|
272
|
+
if (position === index$1.PopoverPositions.bottom_right) {
|
|
257
273
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
258
274
|
}
|
|
259
275
|
}
|
|
260
|
-
else if (position === index$1.PopoverPositions.
|
|
276
|
+
else if (position === index$1.PopoverPositions.bottom_left) {
|
|
261
277
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
262
278
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
263
279
|
style.bottom = "auto";
|
|
@@ -265,7 +281,8 @@ const ZPopover = class {
|
|
|
265
281
|
style.maxWidth = `${availableLeft}px`;
|
|
266
282
|
style.maxHeight = `${availableBottom}px`;
|
|
267
283
|
}
|
|
268
|
-
else if (position === index$1.PopoverPositions.
|
|
284
|
+
else if (position === index$1.PopoverPositions.right ||
|
|
285
|
+
position === index$1.PopoverPositions.right_bottom) {
|
|
269
286
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
270
287
|
style.right = "auto";
|
|
271
288
|
style.bottom = "auto";
|
|
@@ -273,7 +290,7 @@ const ZPopover = class {
|
|
|
273
290
|
style.maxWidth = `${availableRight}px`;
|
|
274
291
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
275
292
|
}
|
|
276
|
-
else if (position === index$1.PopoverPositions.
|
|
293
|
+
else if (position === index$1.PopoverPositions.right_top) {
|
|
277
294
|
style.top = "auto";
|
|
278
295
|
style.right = "auto";
|
|
279
296
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -281,7 +298,8 @@ const ZPopover = class {
|
|
|
281
298
|
style.maxWidth = `${availableRight}px`;
|
|
282
299
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
283
300
|
}
|
|
284
|
-
else if (position === index$1.PopoverPositions.
|
|
301
|
+
else if (position === index$1.PopoverPositions.left ||
|
|
302
|
+
position === index$1.PopoverPositions.left_bottom) {
|
|
285
303
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
286
304
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
287
305
|
style.bottom = "auto";
|
|
@@ -289,7 +307,7 @@ const ZPopover = class {
|
|
|
289
307
|
style.maxWidth = `${availableLeft}px`;
|
|
290
308
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
291
309
|
}
|
|
292
|
-
else if (position === index$1.PopoverPositions.
|
|
310
|
+
else if (position === index$1.PopoverPositions.left_top) {
|
|
293
311
|
style.top = "auto";
|
|
294
312
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
295
313
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -298,7 +316,7 @@ const ZPopover = class {
|
|
|
298
316
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
299
317
|
}
|
|
300
318
|
this.currentPosition = position || this.position;
|
|
301
|
-
this.host.setAttribute(
|
|
319
|
+
this.host.setAttribute('current-position', this.currentPosition);
|
|
302
320
|
}
|
|
303
321
|
componentWillLoad() {
|
|
304
322
|
this.validatePosition(this.position);
|