@zanichelli/albe-web-components 5.5.6-cs1 → 5.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- 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/dist/web-components-library/{p-b4e14eed.js → 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-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-d29153f0.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/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-0109f1e9.js +1 -0
- 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/www/build/{p-b4e14eed.js → 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-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-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-d29153f0.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/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/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-8a9e2dd1.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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { N as NavigationTabsOrientations, a as NavigationTabsSizes } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { N as NavigationTabsOrientations, a as NavigationTabsSizes } from './index-8390ddaf.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{position:relative;
|
|
4
|
+
const stylesCss = ":host{position:relative;display:flex;flex-direction:row;z-index:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1;box-shadow:0px 0px 4px 1px rgb(66, 69, 72, 0.40)}.navigation-button:focus:focus-visible{fill:var(--color-primary01);box-shadow:inset var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;scroll-behavior:smooth;scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc(var(--space-unit) * 4)}:host([orientation='horizontal']) .navigation-button:first-child{left:0}:host([orientation='horizontal']) .navigation-button:last-child{right:0}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation='vertical']) .navigation-button:first-child{top:0}:host([orientation='vertical']) .navigation-button:last-child{bottom:0}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
5
5
|
|
|
6
6
|
const ZNavigationTabs = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -9,23 +9,23 @@ const ZNavigationTabs = class {
|
|
|
9
9
|
/**
|
|
10
10
|
* Navigation tabs orientation.
|
|
11
11
|
*/
|
|
12
|
-
this.orientation = NavigationTabsOrientations.
|
|
12
|
+
this.orientation = NavigationTabsOrientations.horizontal;
|
|
13
13
|
/**
|
|
14
14
|
* Navigation tabs size.
|
|
15
15
|
*/
|
|
16
|
-
this.size = NavigationTabsSizes.
|
|
16
|
+
this.size = NavigationTabsSizes.big;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Getter for the direction to check based on current orientation.
|
|
20
20
|
*/
|
|
21
21
|
get direction() {
|
|
22
|
-
return this.orientation == NavigationTabsOrientations.
|
|
22
|
+
return this.orientation == NavigationTabsOrientations.horizontal ? 'Left' : 'Top';
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Getter for the dimension to check based on current orientation.
|
|
26
26
|
*/
|
|
27
27
|
get dimension() {
|
|
28
|
-
return this.orientation == NavigationTabsOrientations.
|
|
28
|
+
return this.orientation == NavigationTabsOrientations.horizontal ? 'Width' : 'Height';
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Set the `size` prop to all `z-navigation-tab` children.
|
|
@@ -33,7 +33,7 @@ const ZNavigationTabs = class {
|
|
|
33
33
|
setChildrenSize() {
|
|
34
34
|
const children = Array.from(this.host.children);
|
|
35
35
|
children.forEach((child) => {
|
|
36
|
-
child.setAttribute(
|
|
36
|
+
child.setAttribute('size', this.size);
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ const ZNavigationTabs = class {
|
|
|
42
42
|
setChildrenOrientation() {
|
|
43
43
|
const children = Array.from(this.host.children);
|
|
44
44
|
children.forEach((child) => {
|
|
45
|
-
child.setAttribute(
|
|
45
|
+
child.setAttribute('orientation', this.orientation);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
@@ -61,9 +61,8 @@ const ZNavigationTabs = class {
|
|
|
61
61
|
if (!this.tabsNav) {
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
this.canNavigateNext =
|
|
65
|
-
this.tabsNav[`scroll${this.
|
|
66
|
-
this.tabsNav[`scroll${this.dimension}`];
|
|
64
|
+
this.canNavigateNext = (this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`]) <
|
|
65
|
+
this.tabsNav[`scroll${this.dimension}`];
|
|
67
66
|
this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
|
|
68
67
|
}
|
|
69
68
|
/**
|
|
@@ -77,7 +76,7 @@ const ZNavigationTabs = class {
|
|
|
77
76
|
const children = Array.from(this.host.children);
|
|
78
77
|
children.forEach((child) => {
|
|
79
78
|
if (child !== tab) {
|
|
80
|
-
child.removeAttribute(
|
|
79
|
+
child.removeAttribute('selected');
|
|
81
80
|
}
|
|
82
81
|
});
|
|
83
82
|
}
|
|
@@ -86,8 +85,8 @@ const ZNavigationTabs = class {
|
|
|
86
85
|
*/
|
|
87
86
|
navigateBackwards() {
|
|
88
87
|
this.tabsNav.scrollBy({
|
|
89
|
-
[this.direction.toLowerCase()]: 0 - this.tabsNav[`client${this.dimension}`] / 2,
|
|
90
|
-
behavior:
|
|
88
|
+
[this.direction.toLowerCase()]: 0 - (this.tabsNav[`client${this.dimension}`] / 2),
|
|
89
|
+
behavior: 'smooth',
|
|
91
90
|
});
|
|
92
91
|
}
|
|
93
92
|
/**
|
|
@@ -95,8 +94,9 @@ const ZNavigationTabs = class {
|
|
|
95
94
|
*/
|
|
96
95
|
navigateForward() {
|
|
97
96
|
this.tabsNav.scrollBy({
|
|
98
|
-
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
99
|
-
|
|
97
|
+
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
98
|
+
(this.tabsNav[`client${this.dimension}`] / 2),
|
|
99
|
+
behavior: 'smooth',
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
componentDidRender() {
|
|
@@ -105,10 +105,10 @@ const ZNavigationTabs = class {
|
|
|
105
105
|
this.checkScrollVisible();
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}, scrollable: this.canNavigate }, this.canNavigate &&
|
|
108
|
+
return h(Host, { class: {
|
|
109
|
+
'interactive-2': this.size === NavigationTabsSizes.small,
|
|
110
|
+
'interactive-1': this.size !== NavigationTabsSizes.small
|
|
111
|
+
}, scrollable: this.canNavigate }, this.canNavigate && h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation == NavigationTabsOrientations.horizontal ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation == NavigationTabsOrientations.horizontal ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
112
112
|
}
|
|
113
113
|
get host() { return getElement(this); }
|
|
114
114
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;
|
|
3
|
+
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;align-items:flex-start;width:100%;padding:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);border-bottom:var(--border-size-medium) solid var(--color-surface03);outline:none;box-sizing:border-box}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;align-items:center;height:20px}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{margin:0;padding:0;background:transparent;border:none;font-family:inherit;cursor:pointer}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2);flex-wrap:wrap;flex:1 auto}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:20px;letter-spacing:0.16px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);line-height:16px;letter-spacing:0.32px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
4
|
|
|
5
5
|
const ZNotification = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -29,7 +29,12 @@ const ZNotification = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a;
|
|
32
|
-
return
|
|
32
|
+
return [
|
|
33
|
+
this.contenticonname && h("z-icon", { class: "status-icon", name: this.contenticonname, width: 16, height: 16 }),
|
|
34
|
+
h("div", { class: "content-container" }, h("div", { class: "content-text" }, h("slot", null)), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) &&
|
|
35
|
+
h("button", { class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext)),
|
|
36
|
+
this.showclose && h("button", { class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { name: "multiply-circle", width: 16, height: 16 }))
|
|
37
|
+
];
|
|
33
38
|
}
|
|
34
39
|
};
|
|
35
40
|
ZNotification.style = stylesCss;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h,
|
|
2
|
-
import { O as OffCanvasVariantsEnum, x as TransitionDirectionEnum } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { O as OffCanvasVariantsEnum, x as TransitionDirectionEnum } from './index-8390ddaf.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:
|
|
4
|
+
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0px;z-index:1000;display:none;justify-content:end;height:100%;min-width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;flex-direction:column;z-index:1010;min-width:100%;height:100%;overflow:-moz-scrollbars-none;overflow:hidden;background:var(--color-surface01);transform:translateX(100%)}@keyframes enterRight{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitRight{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-name:exitRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;height:calc(100% - var(--z-offcanvas--top-space));top:var(--z-offcanvas--top-space);left:0;right:0;bottom:0}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enterLeft{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitLeft{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-name:exitLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{flex:1 auto;overflow:auto;overflow-x:hidden;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;height:auto;min-width:max(var(--z-offcanvas--container-width), 375px);min-height:calc(var(--space-unit) * 40);max-width:max(var(--z-offcanvas--container-width), 375px)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{animation-name:grow;animation-duration:0.4s;animation-timing-function:ease-out;width:auto}}";
|
|
5
5
|
|
|
6
6
|
const ZOffcanvas = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.variant = OffCanvasVariantsEnum.
|
|
11
|
+
* Offcanvas variant.
|
|
12
|
+
* Can be one of "overlay", "pushcontent"
|
|
13
|
+
* Default variant: pushcontent
|
|
14
|
+
*/
|
|
15
|
+
this.variant = OffCanvasVariantsEnum.pushcontent;
|
|
16
16
|
/** open component. Default: false */
|
|
17
17
|
this.open = false;
|
|
18
18
|
/** open content transitioning in a specified direction left | right. Default: left */
|
|
19
|
-
this.transitiondirection = TransitionDirectionEnum.
|
|
19
|
+
this.transitiondirection = TransitionDirectionEnum.left;
|
|
20
20
|
}
|
|
21
21
|
componentWillLoad() {
|
|
22
22
|
this.handleOpenStatus();
|
|
@@ -29,7 +29,7 @@ const ZOffcanvas = class {
|
|
|
29
29
|
if (this.open) {
|
|
30
30
|
this.hostElement.style.display = "flex";
|
|
31
31
|
}
|
|
32
|
-
else if (this.variant === OffCanvasVariantsEnum.
|
|
32
|
+
else if (this.variant === OffCanvasVariantsEnum.pushcontent) {
|
|
33
33
|
this.hostElement.style.display = "none";
|
|
34
34
|
document.body.style.overflowX = "hidden";
|
|
35
35
|
}
|
|
@@ -38,13 +38,16 @@ const ZOffcanvas = class {
|
|
|
38
38
|
if (this.hostElement.hasAttribute("open")) {
|
|
39
39
|
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
40
40
|
}
|
|
41
|
-
else if (this.variant === OffCanvasVariantsEnum.
|
|
41
|
+
else if (this.variant === OffCanvasVariantsEnum.overlay) {
|
|
42
42
|
this.hostElement.style.display = "none";
|
|
43
43
|
document.body.style.overflowX = "initial";
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return
|
|
47
|
+
return [
|
|
48
|
+
h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content" }, h("slot", { name: "canvasContent" }))),
|
|
49
|
+
h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => this.open = false })
|
|
50
|
+
];
|
|
48
51
|
}
|
|
49
52
|
get hostElement() { return getElement(this); }
|
|
50
53
|
static get watchers() { return {
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { d as InputStatusEnum } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { d as InputStatusEnum } from './index-8390ddaf.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);
|
|
4
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
5
|
|
|
6
6
|
const ZOtp = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
-
/** Input number */
|
|
11
10
|
this.inputNum = 6;
|
|
12
11
|
}
|
|
13
12
|
emitInputChange(value) {
|
|
14
13
|
this.otpChange.emit({ value });
|
|
15
14
|
}
|
|
16
15
|
componentWillLoad() {
|
|
17
|
-
this.otp =
|
|
18
|
-
this.otpRef =
|
|
16
|
+
this.otp = Array.apply(null, Array(this.inputNum));
|
|
17
|
+
this.otpRef = Array.apply(null, Array(this.inputNum));
|
|
19
18
|
}
|
|
20
19
|
render() {
|
|
21
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_elem, i) => {
|
|
21
|
+
return (h("input", { class: this.status == InputStatusEnum.error ? "error" : null, onKeyDown: (e) => {
|
|
22
|
+
if (e.keyCode > 47)
|
|
23
|
+
this.otpRef[i].value = "";
|
|
24
|
+
}, onKeyUp: (e) => {
|
|
25
|
+
if (e.keyCode > 47) {
|
|
26
|
+
i < this.inputNum - 1 && this.otpRef[i + 1].focus();
|
|
27
|
+
}
|
|
28
|
+
}, onInput: (e) => {
|
|
29
|
+
this.otp[i] = e.target.value;
|
|
30
|
+
this.emitInputChange(this.otp.join(""));
|
|
31
|
+
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: input => (this.otpRef[i] = input) }));
|
|
32
|
+
})), h("z-input-message", { message: this.message, status: this.status })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
ZOtp.style = stylesCss;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
2
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-2c5dfb88.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-8390ddaf.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host>div{display:flex;
|
|
8
|
+
const stylesCss = ":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);fill:var(--color-primary01)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--color-disabled01);fill:var(--color-disabled01)}";
|
|
9
9
|
|
|
10
10
|
const ZPaginationBar = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -27,7 +27,7 @@ const ZPaginationBar = class {
|
|
|
27
27
|
}
|
|
28
28
|
componentDidLoad() {
|
|
29
29
|
this.scrollPage = this.scrollPage.bind(this);
|
|
30
|
-
|
|
30
|
+
let mc = new hammer(this.bar);
|
|
31
31
|
// listen to events...
|
|
32
32
|
mc.on("swiperight", this.scrollPage);
|
|
33
33
|
mc.on("swipeleft", this.scrollPage);
|
|
@@ -48,18 +48,26 @@ const ZPaginationBar = class {
|
|
|
48
48
|
this.listhistoryrow = [...JSON.parse(historyraw)];
|
|
49
49
|
}
|
|
50
50
|
scrollPage(ev) {
|
|
51
|
-
|
|
51
|
+
let vel = Math.round(Math.abs(ev.velocity)) * this.velocityConstantMultiplier;
|
|
52
52
|
const deltaPage = Math.max(1, vel);
|
|
53
53
|
switch (ev.type) {
|
|
54
54
|
case "swiperight":
|
|
55
|
-
if (this.canNavigateLeft())
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
if (!this.canNavigateLeft())
|
|
56
|
+
break;
|
|
57
|
+
const newstartPage1 = this.startpage - deltaPage;
|
|
58
|
+
if (newstartPage1 > 1)
|
|
59
|
+
this.emitChangeStartPage(newstartPage1);
|
|
60
|
+
else
|
|
61
|
+
this.emitChangeStartPage(1);
|
|
58
62
|
break;
|
|
59
63
|
case "swipeleft":
|
|
60
|
-
if (this.canNavigateRight())
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
if (!this.canNavigateRight())
|
|
65
|
+
break;
|
|
66
|
+
const newstartPage2 = this.startpage + deltaPage;
|
|
67
|
+
if (newstartPage2 < this.pages - this.visiblepages + 1)
|
|
68
|
+
this.emitChangeStartPage(newstartPage2);
|
|
69
|
+
else
|
|
70
|
+
this.emitChangeStartPage(this.pages - this.visiblepages + 1);
|
|
63
71
|
break;
|
|
64
72
|
}
|
|
65
73
|
}
|
|
@@ -72,6 +80,10 @@ const ZPaginationBar = class {
|
|
|
72
80
|
this.startpage = startpage;
|
|
73
81
|
this.changeStartPage.emit({ startpage: startpage });
|
|
74
82
|
}
|
|
83
|
+
emitAddPageToHistory(page) {
|
|
84
|
+
this.listhistoryrow.push(page);
|
|
85
|
+
this.changeStartPage.emit({ page: page });
|
|
86
|
+
}
|
|
75
87
|
loadPages() {
|
|
76
88
|
this.currentPages.splice(0);
|
|
77
89
|
const lastPage = this.pageWindow();
|
|
@@ -104,7 +116,7 @@ const ZPaginationBar = class {
|
|
|
104
116
|
}
|
|
105
117
|
}
|
|
106
118
|
render() {
|
|
107
|
-
return (h("div", { ref:
|
|
119
|
+
return (h("div", { ref: el => (this.bar = el) }, h("z-icon", { name: "chevron-left", class: !this.canNavigateLeft() && "disabled", onClick: () => this.navigateLeft(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateLeft), tabindex: this.canNavigateLeft() ? 0 : -1 }), this.currentPages.map(page => (h("z-pagination-page", { value: page, isselected: page === this.currentpage, onClick: () => this.emitGoToPage(page), onKeyDown: (ev) => handleKeyboardSubmit(ev, this.emitGoToPage, page), isvisited: this.listhistoryrow.includes(page) }))), h("z-icon", { name: "chevron-right", class: !this.canNavigateRight() && "disabled", onClick: () => this.navigateRight(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateRight), tabindex: this.canNavigateRight() ? 0 : -1 })));
|
|
108
120
|
}
|
|
109
121
|
};
|
|
110
122
|
ZPaginationBar.style = stylesCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{
|
|
3
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-sb);display:inline-block}:host>button{cursor:pointer;outline:none;display:inline-block;box-sizing:border-box;margin:0;height:48px;line-height:48px;text-align:center;border:none;border-bottom:var(--border-size-large) solid transparent;color:var(--color-primary01);font-size:var(--font-size-2);font-family:var(--font-family-sans);font-weight:inherit;background:transparent;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease;min-width:56px}:host>button[disabled]{pointer-events:none;cursor:default;color:var(--color-disabled02)}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);box-shadow:var(--shadow-focus-primary);background-color:var(--color-background);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";
|
|
4
4
|
|
|
5
5
|
const ZPaginationPage = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h,
|
|
2
|
-
import { I as InputTypeEnum } from './index-b7165fb7.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
3
2
|
|
|
4
|
-
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-
|
|
3
|
+
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)}}";
|
|
5
4
|
|
|
6
5
|
const ZPagination = class {
|
|
7
6
|
constructor(hostRef) {
|
|
@@ -84,7 +83,7 @@ const ZPagination = class {
|
|
|
84
83
|
getPagesChunks() {
|
|
85
84
|
// array of numbers from 1 to `totalPages`
|
|
86
85
|
const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
|
|
87
|
-
|
|
86
|
+
let chunks = [];
|
|
88
87
|
const chunksCount = Math.ceil(pages.length / this._visiblePages);
|
|
89
88
|
for (let index = 0; index < chunksCount; index++) {
|
|
90
89
|
chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
|
|
@@ -131,14 +130,14 @@ const ZPagination = class {
|
|
|
131
130
|
}
|
|
132
131
|
/**
|
|
133
132
|
* Render chunked page buttons.
|
|
134
|
-
* @returns {HTMLDivElement
|
|
133
|
+
* @returns {HTMLDivElement}
|
|
135
134
|
*/
|
|
136
135
|
renderPages() {
|
|
137
136
|
const pagesChunks = this.getPagesChunks();
|
|
138
137
|
if (pagesChunks.length <= 0) {
|
|
139
138
|
return;
|
|
140
139
|
}
|
|
141
|
-
return pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))));
|
|
140
|
+
return pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))));
|
|
142
141
|
}
|
|
143
142
|
/**
|
|
144
143
|
* Render page buttons when split feature is enabled.
|
|
@@ -158,7 +157,8 @@ const ZPagination = class {
|
|
|
158
157
|
this.renderPage(this.totalPages),
|
|
159
158
|
];
|
|
160
159
|
}
|
|
161
|
-
if (this.currentPage > this.split * 2 + 2 &&
|
|
160
|
+
if (this.currentPage > this.split * 2 + 2 &&
|
|
161
|
+
this.currentPage < this.totalPages - this.split * 2 - 1) {
|
|
162
162
|
// Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
|
|
163
163
|
return [
|
|
164
164
|
this.renderPage(1),
|
|
@@ -186,10 +186,10 @@ const ZPagination = class {
|
|
|
186
186
|
return [
|
|
187
187
|
this.label && h("span", { class: "page-label body-1-sb" }, this.label),
|
|
188
188
|
h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
|
|
189
|
-
pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
189
|
+
pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
190
190
|
ev.preventDefault();
|
|
191
191
|
this.selectPage(this.goToPageValue);
|
|
192
|
-
} }, h("z-input", { class: "go-to-page-input", type:
|
|
192
|
+
} }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
193
193
|
this.goToPageValue = ev.target.value;
|
|
194
194
|
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
195
195
|
];
|
|
@@ -198,7 +198,7 @@ const ZPagination = class {
|
|
|
198
198
|
this.setVisiblePages();
|
|
199
199
|
}
|
|
200
200
|
componentDidRender() {
|
|
201
|
-
if (this.split
|
|
201
|
+
if (this.split) {
|
|
202
202
|
this.edges = false;
|
|
203
203
|
}
|
|
204
204
|
this.setPagesContainerWidth();
|
|
@@ -206,11 +206,14 @@ const ZPagination = class {
|
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
208
|
if (this.isMobile) {
|
|
209
|
-
return
|
|
209
|
+
return this.renderMobile();
|
|
210
210
|
}
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
return [
|
|
212
|
+
h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (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 && (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(), 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 && (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 && (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))),
|
|
213
|
+
this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
214
|
+
this.goToPageValue = ev.target.value;
|
|
215
|
+
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
|
|
216
|
+
];
|
|
214
217
|
}
|
|
215
218
|
get host() { return getElement(this); }
|
|
216
219
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{
|
|
3
|
+
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)}";
|
|
4
4
|
|
|
5
5
|
const ZPanelElem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -12,13 +12,13 @@ const ZPanelElem = class {
|
|
|
12
12
|
}
|
|
13
13
|
renderIcon() {
|
|
14
14
|
if (this.isdisabled) {
|
|
15
|
-
return
|
|
15
|
+
return h("img", { src: this.imgurl, alt: this.imgalt });
|
|
16
16
|
}
|
|
17
17
|
return (h("a", { class: "elem-icon", href: this.url, target: this.target }, h("img", { src: this.imgurl, alt: this.imgalt })));
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const elemId = this.elemid ? this.elemid : "";
|
|
21
|
-
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && h("div", { class: "panel-elem-icon" }, this.renderIcon()), h("div", { class: "panel-elem-link" }, h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.
|
|
21
|
+
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, 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 && (h("div", { class: "panel-elem-desc body-long-01" }, h("slot", { name: this.descr_slot_name })))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
ZPanelElem.style = stylesCss;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{
|
|
3
|
+
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}}";
|
|
4
4
|
|
|
5
5
|
const ZPocketMessage = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", null, h("z-icon", { name: "exclamation-circle" }), h("div", { class: "content" }, h("slot", null)), h("div", { class: "
|
|
10
|
+
return (h("div", null, h("z-icon", { name: "exclamation-circle" }), h("div", { class: "content" }, h("slot", null)), h("div", { class: "ctaWrapper" }, h("slot", { name: "cta" }))));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ZPocketMessage.style = stylesCss;
|