@zanichelli/albe-web-components 5.5.4 → 5.5.6-cs1
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 +8 -0
- package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
- package/dist/cjs/{index-84b7063a.js → index-0b49c192.js} +648 -96
- package/dist/cjs/{index-3dd0f9bd.js → index-15126331.js} +168 -168
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-29f9ccf5.js → utils-7db26db9.js} +19 -33
- package/dist/cjs/{utils-4a419726.js → utils-b1ef8660.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 +16 -14
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
- package/dist/cjs/z-avatar.cjs.entry.js +9 -8
- package/dist/cjs/z-body_2.cjs.entry.js +5 -3
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
- package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
- package/dist/cjs/z-button.cjs.entry.js +10 -11
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +16 -19
- package/dist/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +30 -26
- package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
- package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
- package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +13 -16
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
- package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
- package/dist/cjs/z-input-label_2.cjs.entry.js +40 -36
- 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 +10 -11
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -13
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
- package/dist/cjs/z-modal.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
- package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
- package/dist/cjs/z-notification.cjs.entry.js +3 -8
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +14 -17
- package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
- package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +17 -14
- package/dist/cjs/z-popover.cjs.entry.js +37 -55
- package/dist/cjs/z-section-title.cjs.entry.js +5 -14
- package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
- package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
- package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +3 -3
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
- package/dist/cjs/z-table-header.cjs.entry.js +18 -21
- package/dist/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
- package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
- package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +168 -168
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/buttons/z-button/index.js +209 -207
- package/dist/collection/components/buttons/z-button/styles.css +31 -30
- package/dist/collection/components/buttons/z-button-sort/index.js +181 -177
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +107 -104
- package/dist/collection/components/buttons/z-chip/styles.css +12 -15
- package/dist/collection/components/buttons/z-toggle-button/index.js +105 -101
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +116 -115
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
- package/dist/collection/components/date-picker/styles.css +65 -83
- package/dist/collection/components/date-picker/utils.js +19 -33
- package/dist/collection/components/date-picker/z-date-picker/index.js +164 -160
- package/dist/collection/components/date-picker/z-range-picker/index.js +233 -240
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +32 -30
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
- package/dist/collection/components/file-upload/z-file/index.js +93 -85
- package/dist/collection/components/file-upload/z-file/styles.css +5 -18
- package/dist/collection/components/file-upload/z-file-upload/index.js +203 -208
- package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
- package/dist/collection/components/footer/z-footer/index.js +172 -207
- package/dist/collection/components/footer/z-footer/styles.css +27 -32
- package/dist/collection/components/footer/z-footer-link/index.js +33 -28
- package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
- package/dist/collection/components/footer/z-footer-section/index.js +39 -37
- package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
- package/dist/collection/components/footer/z-footer-social/index.js +65 -60
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +102 -98
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +14 -13
- package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper/index.js +12 -8
- package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
- package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
- package/dist/collection/components/inputs/z-combobox/index.js +340 -337
- package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
- package/dist/collection/components/inputs/z-input/index.js +554 -569
- package/dist/collection/components/inputs/z-input/styles.css +83 -93
- package/dist/collection/components/inputs/z-input-message/index.js +53 -49
- package/dist/collection/components/inputs/z-input-message/styles.css +7 -6
- package/dist/collection/components/inputs/z-select/index.js +363 -353
- package/dist/collection/components/inputs/z-select/styles.css +23 -28
- package/dist/collection/components/list/z-list/index.js +39 -34
- package/dist/collection/components/list/z-list/styles.css +2 -3
- package/dist/collection/components/list/z-list-element/index.js +293 -288
- package/dist/collection/components/list/z-list-element/styles.css +18 -40
- package/dist/collection/components/list/z-list-group/index.js +103 -101
- package/dist/collection/components/list/z-list-group/styles.css +1 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +75 -67
- package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
- package/dist/collection/components/logo/z-logo/index.js +113 -110
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +129 -133
- package/dist/collection/components/modal/z-modal/styles.css +23 -29
- package/dist/collection/components/modal/z-modal-login/index.js +181 -203
- package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -173
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +206 -206
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +103 -107
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +149 -157
- package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
- package/dist/collection/components/navigation/z-app-switcher/index.js +61 -52
- package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
- package/dist/collection/components/navigation/z-app-topbar/index.js +123 -123
- package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
- package/dist/collection/components/navigation/z-link/index.js +252 -244
- package/dist/collection/components/navigation/z-link/styles.css +15 -12
- package/dist/collection/components/navigation/z-menu/index.js +133 -131
- package/dist/collection/components/navigation/z-menu/styles.css +22 -25
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +82 -83
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
- package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
- package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
- package/dist/collection/components/navigation/z-user-dropdown/index.js +166 -171
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
- package/dist/collection/components/notification/z-candybar/index.js +12 -9
- package/dist/collection/components/notification/z-candybar/styles.css +21 -27
- package/dist/collection/components/notification/z-cookiebar/index.js +82 -83
- package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
- package/dist/collection/components/notification/z-info-box/index.js +67 -61
- package/dist/collection/components/notification/z-info-box/styles.css +8 -8
- package/dist/collection/components/notification/z-notification/index.js +155 -156
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +248 -251
- package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
- package/dist/collection/components/notification/z-tooltip/index.js +101 -94
- package/dist/collection/components/panel/z-panel-elem/index.js +174 -174
- package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
- package/dist/collection/components/typography/z-body/index.js +57 -55
- package/dist/collection/components/typography/z-heading/index.js +57 -55
- package/dist/collection/components/typography/z-typography/index.js +70 -63
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +31 -24
- package/dist/collection/components/z-avatar/index.js +110 -105
- package/dist/collection/components/z-avatar/styles.css +7 -10
- package/dist/collection/components/z-card/index.js +133 -138
- package/dist/collection/components/z-card/styles.css +38 -42
- package/dist/collection/components/z-carousel/index.js +51 -49
- package/dist/collection/components/z-carousel/styles.css +3 -3
- package/dist/collection/components/z-contextual-menu/index.js +89 -95
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +64 -65
- package/dist/collection/components/z-cover-hero/styles.css +4 -4
- package/dist/collection/components/z-divider/index.js +77 -71
- package/dist/collection/components/z-ghost-loading/index.js +12 -8
- package/dist/collection/components/z-ghost-loading/styles.css +14 -14
- package/dist/collection/components/z-info-reveal/index.js +88 -84
- package/dist/collection/components/z-info-reveal/styles.css +9 -8
- package/dist/collection/components/z-offcanvas/index.js +107 -102
- package/dist/collection/components/z-offcanvas/styles.css +65 -45
- package/dist/collection/components/z-pagination/index.js +231 -246
- package/dist/collection/components/z-pagination/styles.css +16 -21
- package/dist/collection/components/z-popover/index.js +219 -223
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +57 -60
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +93 -85
- package/dist/collection/components/z-skip-to-content/styles.css +11 -15
- package/dist/collection/components/z-table/z-table/index.js +275 -288
- package/dist/collection/components/z-table/z-table/styles.css +23 -74
- package/dist/collection/components/z-table/z-table-body/index.js +11 -7
- package/dist/collection/components/z-table/z-table-cell/index.js +66 -63
- package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +54 -54
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
- package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
- package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
- package/dist/collection/components/z-table/z-table-head/index.js +11 -7
- package/dist/collection/components/z-table/z-table-header/index.js +173 -173
- package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
- package/dist/collection/components/z-table/z-table-header-row/index.js +34 -30
- 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 +67 -61
- package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +12 -8
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
- package/dist/collection/components/z-tag/index.js +50 -47
- package/dist/collection/components/z-tag/styles.css +7 -12
- package/dist/collection/components/z-visually-hidden/index.js +11 -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 +174 -181
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +199 -191
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +120 -115
- package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
- package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -50
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +609 -626
- package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
- package/dist/collection/deprecated/z-input-label/index.js +66 -60
- package/dist/collection/deprecated/z-input-label/styles.css +2 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +195 -183
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
- package/dist/collection/deprecated/z-status-tag/index.js +111 -106
- package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +160 -160
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +4 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +93 -85
- 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 +106 -103
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
- 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 +143 -143
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +157 -163
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +79 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +104 -118
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +34 -27
- 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 +54 -46
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +86 -87
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +135 -125
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +64 -57
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
- package/dist/collection/snowflakes/myz/topbar/index.js +263 -293
- package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
- package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +101 -95
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +88 -73
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
- package/dist/collection/utils/storybook-utils.js +6 -5
- package/dist/collection/utils/utils.js +14 -14
- package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
- package/dist/esm/{index-90e18641.js → index-3517583d.js} +648 -96
- package/dist/esm/{index-3c2d757b.js → index-b7165fb7.js} +168 -168
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-729724da.js → utils-5d136bc4.js} +19 -33
- package/dist/esm/{utils-57be09c8.js → utils-c9ef6b5f.js} +13 -13
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-app-header.entry.js +16 -14
- package/dist/esm/z-app-switcher_9.entry.js +159 -177
- package/dist/esm/z-aria-alert.entry.js +4 -3
- package/dist/esm/z-avatar.entry.js +9 -8
- package/dist/esm/z-body_2.entry.js +5 -3
- package/dist/esm/z-button-deprecated.entry.js +12 -9
- package/dist/esm/z-button-filter.entry.js +4 -3
- package/dist/esm/z-button-sort.entry.js +5 -6
- package/dist/esm/z-button.entry.js +10 -11
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +16 -19
- package/dist/esm/z-carousel.entry.js +2 -2
- package/dist/esm/z-chip-deprecated.entry.js +4 -6
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +30 -26
- package/dist/esm/z-contextual-menu.entry.js +5 -10
- package/dist/esm/z-cookiebar.entry.js +6 -7
- package/dist/esm/z-cover-hero.entry.js +6 -5
- package/dist/esm/z-date-picker.entry.js +39 -46
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
- package/dist/esm/z-file-upload.entry.js +18 -20
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link_3.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +13 -16
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +3 -4
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +9 -8
- package/dist/esm/z-input-deprecated.entry.js +55 -67
- package/dist/esm/z-input-label_2.entry.js +40 -36
- 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 +10 -11
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +10 -13
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +17 -15
- package/dist/esm/z-modal.entry.js +3 -6
- package/dist/esm/z-myz-card-alert.entry.js +8 -8
- package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +11 -10
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +27 -17
- package/dist/esm/z-myz-card-list.entry.js +4 -3
- package/dist/esm/z-myz-card_4.entry.js +17 -13
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +35 -39
- package/dist/esm/z-navigation-tab-link.entry.js +11 -11
- package/dist/esm/z-navigation-tab.entry.js +12 -12
- package/dist/esm/z-navigation-tabs.entry.js +21 -21
- package/dist/esm/z-notification.entry.js +3 -8
- package/dist/esm/z-offcanvas.entry.js +12 -15
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +13 -25
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +14 -17
- package/dist/esm/z-panel-elem.entry.js +4 -4
- package/dist/esm/z-pocket-message.entry.js +3 -3
- package/dist/esm/z-pocket_3.entry.js +19 -19
- package/dist/esm/z-popover-deprecated.entry.js +17 -14
- package/dist/esm/z-popover.entry.js +37 -55
- package/dist/esm/z-section-title.entry.js +5 -14
- package/dist/esm/z-skip-to-content.entry.js +19 -21
- package/dist/esm/z-slideshow.entry.js +29 -12
- package/dist/esm/z-status-tag.entry.js +9 -9
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +3 -3
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +6 -7
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +4 -4
- package/dist/esm/z-table-header.entry.js +18 -21
- package/dist/esm/z-table-row.entry.js +9 -9
- package/dist/esm/z-table-sticky-footer.entry.js +3 -3
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/esm/z-toast-notification.entry.js +38 -41
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +19 -17
- package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +6 -8
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +171 -174
- package/dist/types/components/buttons/z-button/index.d.ts +6 -13
- package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
- package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +11 -5
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
- package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +18 -17
- 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 +14 -15
- package/dist/types/components/inputs/z-input/index.d.ts +25 -46
- package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
- package/dist/types/components/inputs/z-select/index.d.ts +23 -23
- package/dist/types/components/list/z-list/index.d.ts +4 -3
- package/dist/types/components/list/z-list-element/index.d.ts +11 -7
- package/dist/types/components/list/z-list-group/index.d.ts +4 -3
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +2 -1
- package/dist/types/components/modal/z-modal/index.d.ts +5 -4
- package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +9 -8
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +9 -8
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +10 -9
- package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
- package/dist/types/components/navigation/z-link/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
- package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
- package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
- package/dist/types/components/notification/z-notification/index.d.ts +6 -5
- package/dist/types/components/notification/z-toast-notification/index.d.ts +20 -19
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
- package/dist/types/components/typography/z-body/index.d.ts +4 -1
- package/dist/types/components/typography/z-heading/index.d.ts +4 -1
- package/dist/types/components/typography/z-typography/index.d.ts +8 -4
- package/dist/types/components/z-aria-alert/index.d.ts +5 -2
- package/dist/types/components/z-avatar/index.d.ts +3 -2
- package/dist/types/components/z-card/index.d.ts +7 -6
- package/dist/types/components/z-carousel/index.d.ts +1 -1
- package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
- package/dist/types/components/z-cover-hero/index.d.ts +3 -2
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-info-reveal/index.d.ts +9 -7
- package/dist/types/components/z-offcanvas/index.d.ts +9 -8
- package/dist/types/components/z-pagination/index.d.ts +14 -13
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +5 -4
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
- package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +2 -1
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +500 -137
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +5 -5
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +23 -34
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
- package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +6 -12
- 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 +4 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +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 +22 -24
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +12 -12
- package/dist/types/utils/utils.d.ts +12 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
- package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
- package/{www/build/p-596da333.entry.js → dist/web-components-library/p-02f14544.entry.js} +1 -1
- package/dist/web-components-library/p-0617465e.entry.js +1 -0
- package/dist/web-components-library/p-06f54c19.entry.js +1 -0
- package/dist/web-components-library/p-0ad2c8ca.entry.js +1 -0
- package/dist/web-components-library/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
- package/dist/web-components-library/p-14f11a64.entry.js +1 -0
- package/dist/web-components-library/p-1668ec30.entry.js +1 -0
- package/dist/web-components-library/p-2177384f.entry.js +1 -0
- package/dist/web-components-library/p-25769717.entry.js +1 -0
- package/dist/web-components-library/p-25b8e583.entry.js +1 -0
- package/dist/web-components-library/p-2772f005.entry.js +1 -0
- package/dist/web-components-library/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
- package/dist/web-components-library/p-2e2ae623.entry.js +1 -0
- package/dist/web-components-library/p-311f5e7a.entry.js +16 -0
- package/dist/web-components-library/p-3124aed0.entry.js +1 -0
- package/dist/web-components-library/p-31604337.entry.js +1 -0
- package/dist/web-components-library/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
- package/dist/web-components-library/p-348c5ada.entry.js +1 -0
- package/dist/web-components-library/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
- package/dist/web-components-library/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
- package/dist/web-components-library/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
- package/dist/web-components-library/p-41b8390e.entry.js +1 -0
- package/dist/web-components-library/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
- package/dist/web-components-library/p-48134f75.entry.js +1 -0
- package/dist/web-components-library/p-4fe96235.entry.js +1 -0
- package/dist/web-components-library/p-53d9ac21.entry.js +1 -0
- package/dist/web-components-library/p-5a8bdc47.entry.js +1 -0
- package/dist/web-components-library/p-5f5725ce.entry.js +1 -0
- package/dist/web-components-library/p-5fe820fe.entry.js +1 -0
- package/dist/web-components-library/p-6106b802.entry.js +1 -0
- package/dist/web-components-library/p-613cc3b2.entry.js +1 -0
- package/dist/web-components-library/p-621ccd34.entry.js +1 -0
- package/dist/web-components-library/p-6852e978.entry.js +1 -0
- package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
- package/dist/web-components-library/p-6b7f7ac9.entry.js +1 -0
- package/dist/web-components-library/p-6de8783e.entry.js +1 -0
- package/dist/web-components-library/p-6e01660c.entry.js +1 -0
- package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
- package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
- package/dist/web-components-library/p-747ad8dc.entry.js +1 -0
- package/dist/web-components-library/p-773cc0f3.entry.js +1 -0
- package/dist/web-components-library/p-792a7ea0.entry.js +1 -0
- package/dist/web-components-library/p-79940e8f.entry.js +1 -0
- package/dist/web-components-library/p-79c9cf77.entry.js +1 -0
- package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
- package/dist/web-components-library/p-7d6e5930.entry.js +1 -0
- package/dist/web-components-library/p-810276c9.entry.js +1 -0
- package/dist/web-components-library/p-8158fe3c.js +1 -0
- package/dist/web-components-library/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
- package/dist/web-components-library/p-83ee9630.entry.js +1 -0
- package/dist/web-components-library/p-87942fb9.entry.js +1 -0
- package/dist/web-components-library/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/dist/web-components-library/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
- package/dist/web-components-library/p-940352dc.entry.js +1 -0
- package/dist/web-components-library/p-9a75f3f8.entry.js +1 -0
- package/dist/web-components-library/p-9c0df331.entry.js +1 -0
- package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
- package/dist/web-components-library/p-aae7a242.entry.js +1 -0
- package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
- package/dist/web-components-library/p-af6789f2.entry.js +1 -0
- package/dist/web-components-library/p-b1b66050.entry.js +1 -0
- package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
- package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-b2ee6ded.entry.js} +1 -1
- package/dist/web-components-library/{p-bfa3593e.js → p-b33f1112.js} +1 -1
- package/dist/web-components-library/p-b366ef8e.js +2 -0
- package/{www/build/p-f31b8e83.js → dist/web-components-library/p-b4e14eed.js} +1 -1
- package/dist/web-components-library/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
- package/dist/web-components-library/p-b9de57a3.entry.js +1 -0
- package/dist/web-components-library/p-bb684454.entry.js +1 -0
- package/dist/web-components-library/p-bc65252e.entry.js +1 -0
- package/dist/web-components-library/p-bd70bbcc.entry.js +1 -0
- package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
- package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
- package/dist/web-components-library/p-c26d641f.entry.js +1 -0
- package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
- package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
- package/dist/web-components-library/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
- package/dist/web-components-library/p-dd74911c.entry.js +1 -0
- package/dist/web-components-library/p-e137a17f.entry.js +1 -0
- package/dist/web-components-library/p-e1cbcb1e.entry.js +1 -0
- package/dist/web-components-library/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
- package/dist/web-components-library/p-e45c7aeb.entry.js +1 -0
- package/dist/web-components-library/p-eb612914.entry.js +1 -0
- package/dist/web-components-library/p-efdca379.entry.js +1 -0
- package/dist/web-components-library/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
- package/dist/web-components-library/p-f24a4525.entry.js +1 -0
- package/dist/web-components-library/p-f6ff5bc5.entry.js +1 -0
- package/dist/web-components-library/p-f94ad50d.entry.js +1 -0
- package/dist/web-components-library/p-fddbe121.entry.js +1 -0
- package/dist/web-components-library/p-ff000765.entry.js +1 -0
- package/dist/web-components-library/p-ff0fc090.entry.js +1 -0
- package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/package.json +1 -0
- package/package.json +24 -17
- package/react/index.d.ts +1 -1
- package/readme.md +91 -33
- package/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
- package/www/build/p-01cbf6d4.entry.js +1 -0
- package/{dist/web-components-library/p-596da333.entry.js → www/build/p-02f14544.entry.js} +1 -1
- package/www/build/p-0617465e.entry.js +1 -0
- package/www/build/p-06f54c19.entry.js +1 -0
- package/www/build/p-0ad2c8ca.entry.js +1 -0
- package/www/build/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
- package/www/build/p-14f11a64.entry.js +1 -0
- package/www/build/p-1668ec30.entry.js +1 -0
- package/www/build/p-2177384f.entry.js +1 -0
- package/www/build/p-25769717.entry.js +1 -0
- package/www/build/p-25b8e583.entry.js +1 -0
- package/www/build/p-2772f005.entry.js +1 -0
- package/www/build/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
- package/www/build/p-2e2ae623.entry.js +1 -0
- package/www/build/p-311f5e7a.entry.js +16 -0
- package/www/build/p-3124aed0.entry.js +1 -0
- package/www/build/p-31604337.entry.js +1 -0
- package/www/build/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
- package/www/build/p-348c5ada.entry.js +1 -0
- package/www/build/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
- package/www/build/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
- package/www/build/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
- package/www/build/p-41b8390e.entry.js +1 -0
- package/www/build/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
- package/www/build/p-48134f75.entry.js +1 -0
- package/www/build/p-4fe96235.entry.js +1 -0
- package/www/build/p-53d9ac21.entry.js +1 -0
- package/www/build/p-5a8bdc47.entry.js +1 -0
- package/www/build/p-5f5725ce.entry.js +1 -0
- package/www/build/p-5fe820fe.entry.js +1 -0
- package/www/build/p-6106b802.entry.js +1 -0
- package/www/build/p-613cc3b2.entry.js +1 -0
- package/www/build/p-621ccd34.entry.js +1 -0
- package/www/build/p-6852e978.entry.js +1 -0
- package/www/build/p-6a53a0d8.entry.js +1 -0
- package/www/build/p-6b7f7ac9.entry.js +1 -0
- package/www/build/p-6de8783e.entry.js +1 -0
- package/www/build/p-6e01660c.entry.js +1 -0
- package/www/build/p-6fa0cef6.entry.js +1 -0
- package/www/build/p-71ff9b83.entry.js +1 -0
- package/www/build/p-747ad8dc.entry.js +1 -0
- package/www/build/p-773cc0f3.entry.js +1 -0
- package/www/build/p-792a7ea0.entry.js +1 -0
- package/www/build/p-79940e8f.entry.js +1 -0
- package/www/build/p-79c9cf77.entry.js +1 -0
- package/www/build/p-7a9d3944.entry.js +1 -0
- package/www/build/p-7d6e5930.entry.js +1 -0
- package/www/build/p-810276c9.entry.js +1 -0
- package/www/build/p-8158fe3c.js +1 -0
- package/www/build/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
- package/www/build/p-83ee9630.entry.js +1 -0
- package/www/build/p-87942fb9.entry.js +1 -0
- package/www/build/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/www/build/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
- package/www/build/p-8a9e2dd1.js +1 -0
- package/www/build/p-940352dc.entry.js +1 -0
- package/www/build/p-9a75f3f8.entry.js +1 -0
- package/www/build/p-9c0df331.entry.js +1 -0
- package/www/build/p-a55ef7b5.entry.js +1 -0
- package/www/build/p-aae7a242.entry.js +1 -0
- package/www/build/p-ae2dd723.entry.js +1 -0
- package/www/build/p-af6789f2.entry.js +1 -0
- package/www/build/p-b1b66050.entry.js +1 -0
- package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
- package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-b2ee6ded.entry.js} +1 -1
- package/www/build/{p-bfa3593e.js → p-b33f1112.js} +1 -1
- package/www/build/p-b366ef8e.js +2 -0
- package/{dist/web-components-library/p-f31b8e83.js → www/build/p-b4e14eed.js} +1 -1
- package/www/build/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
- package/www/build/p-b9de57a3.entry.js +1 -0
- package/www/build/p-bb684454.entry.js +1 -0
- package/www/build/p-bc65252e.entry.js +1 -0
- package/www/build/p-bd70bbcc.entry.js +1 -0
- package/www/build/p-c0d382bc.entry.js +1 -0
- package/www/build/p-c1c6988e.entry.js +1 -0
- package/www/build/p-c26d641f.entry.js +1 -0
- package/www/build/p-c4b70baa.entry.js +1 -0
- package/www/build/p-c5ecf36a.entry.js +1 -0
- package/www/build/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
- package/www/build/p-dd74911c.entry.js +1 -0
- package/www/build/p-e137a17f.entry.js +1 -0
- package/www/build/p-e1cbcb1e.entry.js +1 -0
- package/www/build/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
- package/www/build/p-e45c7aeb.entry.js +1 -0
- package/www/build/p-eb612914.entry.js +1 -0
- package/www/build/p-efdca379.entry.js +1 -0
- package/www/build/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
- package/www/build/p-f24a4525.entry.js +1 -0
- package/www/build/p-f6ff5bc5.entry.js +1 -0
- package/www/build/p-f94ad50d.entry.js +1 -0
- package/www/build/p-fddbe121.entry.js +1 -0
- package/www/build/p-ff000765.entry.js +1 -0
- package/www/build/p-ff0fc090.entry.js +1 -0
- package/www/build/p-ffacff3f.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +16 -4
- package/www/pages/notification.html +153 -69
- package/dist/cjs/index-1fda0714.js +0 -60
- package/dist/esm/index-abb47b30.js +0 -58
- package/dist/web-components-library/p-02474663.entry.js +0 -1
- package/dist/web-components-library/p-02681c05.entry.js +0 -1
- package/dist/web-components-library/p-0aa9746a.entry.js +0 -1
- package/dist/web-components-library/p-104b70e5.entry.js +0 -1
- package/dist/web-components-library/p-1906915c.entry.js +0 -1
- package/dist/web-components-library/p-1e6aff0f.entry.js +0 -1
- package/dist/web-components-library/p-223566d6.entry.js +0 -1
- package/dist/web-components-library/p-286363e2.js +0 -7
- package/dist/web-components-library/p-29e8a12c.entry.js +0 -1
- package/dist/web-components-library/p-2de00f19.entry.js +0 -1
- package/dist/web-components-library/p-33f74396.entry.js +0 -1
- package/dist/web-components-library/p-3fc438b7.entry.js +0 -1
- package/dist/web-components-library/p-41c5beec.entry.js +0 -1
- package/dist/web-components-library/p-46a6341a.entry.js +0 -1
- package/dist/web-components-library/p-4d9667dc.entry.js +0 -1
- package/dist/web-components-library/p-51130281.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-578a5ad1.entry.js +0 -1
- package/dist/web-components-library/p-5ae44c56.entry.js +0 -1
- package/dist/web-components-library/p-6375f662.entry.js +0 -1
- package/dist/web-components-library/p-6bb8de3e.entry.js +0 -1
- package/dist/web-components-library/p-71034a6f.entry.js +0 -1
- package/dist/web-components-library/p-710cec6d.entry.js +0 -1
- package/dist/web-components-library/p-7171717f.entry.js +0 -1
- package/dist/web-components-library/p-71e8c2af.entry.js +0 -1
- package/dist/web-components-library/p-78e26102.entry.js +0 -1
- package/dist/web-components-library/p-79408b00.entry.js +0 -1
- package/dist/web-components-library/p-7d37e4a8.entry.js +0 -16
- package/dist/web-components-library/p-7ebb03d8.entry.js +0 -1
- package/dist/web-components-library/p-7f2fa336.entry.js +0 -1
- package/dist/web-components-library/p-8468d87e.entry.js +0 -1
- package/dist/web-components-library/p-8e4d7f5d.entry.js +0 -1
- package/dist/web-components-library/p-9260abad.entry.js +0 -1
- package/dist/web-components-library/p-92cc171f.entry.js +0 -1
- package/dist/web-components-library/p-9352da73.entry.js +0 -1
- package/dist/web-components-library/p-953a07d5.entry.js +0 -1
- package/dist/web-components-library/p-97ae16a0.entry.js +0 -1
- package/dist/web-components-library/p-98268a57.js +0 -1
- package/dist/web-components-library/p-9c7cf598.entry.js +0 -1
- package/dist/web-components-library/p-9fb79d74.entry.js +0 -1
- package/dist/web-components-library/p-a5232d04.entry.js +0 -1
- package/dist/web-components-library/p-a54ef821.entry.js +0 -1
- package/dist/web-components-library/p-a759ab46.entry.js +0 -1
- package/dist/web-components-library/p-a9eea65b.entry.js +0 -1
- package/dist/web-components-library/p-ab5f212d.entry.js +0 -1
- package/dist/web-components-library/p-ae784c71.entry.js +0 -1
- package/dist/web-components-library/p-ae79ab08.entry.js +0 -1
- package/dist/web-components-library/p-aed2a8cf.entry.js +0 -1
- package/dist/web-components-library/p-b543005a.entry.js +0 -1
- package/dist/web-components-library/p-b574d5f6.entry.js +0 -1
- package/dist/web-components-library/p-bb20020b.entry.js +0 -1
- package/dist/web-components-library/p-bbeb6b3c.entry.js +0 -1
- package/dist/web-components-library/p-bd886dd5.entry.js +0 -1
- package/dist/web-components-library/p-c066ddf1.entry.js +0 -1
- package/dist/web-components-library/p-c284139b.entry.js +0 -1
- package/dist/web-components-library/p-c6124ee4.entry.js +0 -1
- package/dist/web-components-library/p-c730a93d.entry.js +0 -1
- package/dist/web-components-library/p-c9348925.entry.js +0 -1
- package/dist/web-components-library/p-cb13d050.entry.js +0 -1
- package/dist/web-components-library/p-cc6a5872.entry.js +0 -1
- package/dist/web-components-library/p-cf35d3cd.entry.js +0 -1
- package/dist/web-components-library/p-cf73af9a.entry.js +0 -1
- package/dist/web-components-library/p-d0d75b41.entry.js +0 -1
- package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
- package/dist/web-components-library/p-d34eccf8.entry.js +0 -1
- package/dist/web-components-library/p-d4927410.entry.js +0 -1
- package/dist/web-components-library/p-d79f69f2.js +0 -1
- package/dist/web-components-library/p-e2560604.entry.js +0 -1
- package/dist/web-components-library/p-e293f91e.entry.js +0 -1
- package/dist/web-components-library/p-e6ddee24.entry.js +0 -1
- package/dist/web-components-library/p-f0d90cc2.entry.js +0 -1
- package/dist/web-components-library/p-f6a11970.entry.js +0 -1
- package/dist/web-components-library/p-f6da32c4.entry.js +0 -1
- package/dist/web-components-library/p-fd2338b2.entry.js +0 -1
- package/dist/web-components-library/p-fea2c39a.entry.js +0 -1
- package/www/build/p-02474663.entry.js +0 -1
- package/www/build/p-02681c05.entry.js +0 -1
- package/www/build/p-0aa9746a.entry.js +0 -1
- package/www/build/p-104b70e5.entry.js +0 -1
- package/www/build/p-1906915c.entry.js +0 -1
- package/www/build/p-1e6aff0f.entry.js +0 -1
- package/www/build/p-223566d6.entry.js +0 -1
- package/www/build/p-286363e2.js +0 -7
- package/www/build/p-29e8a12c.entry.js +0 -1
- package/www/build/p-2de00f19.entry.js +0 -1
- package/www/build/p-33f74396.entry.js +0 -1
- package/www/build/p-363f4c73.js +0 -1
- package/www/build/p-3fc438b7.entry.js +0 -1
- package/www/build/p-41c5beec.entry.js +0 -1
- package/www/build/p-46a6341a.entry.js +0 -1
- package/www/build/p-4d9667dc.entry.js +0 -1
- package/www/build/p-51130281.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-578a5ad1.entry.js +0 -1
- package/www/build/p-5ae44c56.entry.js +0 -1
- package/www/build/p-6375f662.entry.js +0 -1
- package/www/build/p-6bb8de3e.entry.js +0 -1
- package/www/build/p-71034a6f.entry.js +0 -1
- package/www/build/p-710cec6d.entry.js +0 -1
- package/www/build/p-7171717f.entry.js +0 -1
- package/www/build/p-71e8c2af.entry.js +0 -1
- package/www/build/p-78e26102.entry.js +0 -1
- package/www/build/p-79408b00.entry.js +0 -1
- package/www/build/p-7d37e4a8.entry.js +0 -16
- package/www/build/p-7ebb03d8.entry.js +0 -1
- package/www/build/p-7f2fa336.entry.js +0 -1
- package/www/build/p-8468d87e.entry.js +0 -1
- package/www/build/p-8e4d7f5d.entry.js +0 -1
- package/www/build/p-9260abad.entry.js +0 -1
- package/www/build/p-92cc171f.entry.js +0 -1
- package/www/build/p-9352da73.entry.js +0 -1
- package/www/build/p-953a07d5.entry.js +0 -1
- package/www/build/p-97ae16a0.entry.js +0 -1
- package/www/build/p-98268a57.js +0 -1
- package/www/build/p-9c7cf598.entry.js +0 -1
- package/www/build/p-9fb79d74.entry.js +0 -1
- package/www/build/p-a5232d04.entry.js +0 -1
- package/www/build/p-a54ef821.entry.js +0 -1
- package/www/build/p-a759ab46.entry.js +0 -1
- package/www/build/p-a9eea65b.entry.js +0 -1
- package/www/build/p-ab5f212d.entry.js +0 -1
- package/www/build/p-ae784c71.entry.js +0 -1
- package/www/build/p-ae79ab08.entry.js +0 -1
- package/www/build/p-aed2a8cf.entry.js +0 -1
- package/www/build/p-b543005a.entry.js +0 -1
- package/www/build/p-b574d5f6.entry.js +0 -1
- package/www/build/p-bb20020b.entry.js +0 -1
- package/www/build/p-bbeb6b3c.entry.js +0 -1
- package/www/build/p-bd886dd5.entry.js +0 -1
- package/www/build/p-c066ddf1.entry.js +0 -1
- package/www/build/p-c284139b.entry.js +0 -1
- package/www/build/p-c6124ee4.entry.js +0 -1
- package/www/build/p-c730a93d.entry.js +0 -1
- package/www/build/p-c9348925.entry.js +0 -1
- package/www/build/p-cb13d050.entry.js +0 -1
- package/www/build/p-cc6a5872.entry.js +0 -1
- package/www/build/p-cf35d3cd.entry.js +0 -1
- package/www/build/p-cf73af9a.entry.js +0 -1
- package/www/build/p-d0d75b41.entry.js +0 -1
- package/www/build/p-d0fea19f.entry.js +0 -1
- package/www/build/p-d34eccf8.entry.js +0 -1
- package/www/build/p-d4927410.entry.js +0 -1
- package/www/build/p-d79f69f2.js +0 -1
- package/www/build/p-e2560604.entry.js +0 -1
- package/www/build/p-e293f91e.entry.js +0 -1
- package/www/build/p-e6ddee24.entry.js +0 -1
- package/www/build/p-f0d90cc2.entry.js +0 -1
- package/www/build/p-f6a11970.entry.js +0 -1
- package/www/build/p-f6da32c4.entry.js +0 -1
- package/www/build/p-fd2338b2.entry.js +0 -1
- package/www/build/p-fea2c39a.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { ToastNotificationTransitionsEnum, } from "../../../beans";
|
|
3
3
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
4
4
|
import Hammer from "hammerjs";
|
|
@@ -11,21 +11,13 @@ export class ZToastNotification {
|
|
|
11
11
|
/** toast notification draggable percentage*/
|
|
12
12
|
this.draggablepercentage = 80;
|
|
13
13
|
this.isCloseEventCalled = false;
|
|
14
|
-
this.visibilityChangeEventHandler = () => {
|
|
15
|
-
if (document.visibilityState === "hidden") {
|
|
16
|
-
this.timeoutHandle && this.onBlur();
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
this.elapsedTime && this.onFocus();
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
14
|
}
|
|
23
15
|
watchPropIsdraggable(newValue) {
|
|
24
16
|
if (newValue) {
|
|
25
|
-
this.sliderManager.get(
|
|
17
|
+
this.sliderManager.get("pan").set({ enable: true });
|
|
26
18
|
}
|
|
27
19
|
else {
|
|
28
|
-
this.sliderManager.get(
|
|
20
|
+
this.sliderManager.get("pan").set({ enable: false });
|
|
29
21
|
}
|
|
30
22
|
}
|
|
31
23
|
watchPropAutoclose(newValue) {
|
|
@@ -51,6 +43,7 @@ export class ZToastNotification {
|
|
|
51
43
|
componentWillLoad() {
|
|
52
44
|
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
53
45
|
this.validateAutoclose();
|
|
46
|
+
this.percentage = 0;
|
|
54
47
|
}
|
|
55
48
|
componentDidLoad() {
|
|
56
49
|
this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
|
|
@@ -59,22 +52,30 @@ export class ZToastNotification {
|
|
|
59
52
|
document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
|
|
60
53
|
}
|
|
61
54
|
this.isdraggable && this.handleSlideOutDragAnimation();
|
|
62
|
-
|
|
55
|
+
}
|
|
56
|
+
visibilityChangeEventHandler() {
|
|
57
|
+
if (document.visibilityState === "hidden") {
|
|
58
|
+
this.timeoutHandle && this.onBlur();
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
this.elapsedTime && this.onFocus();
|
|
62
|
+
}
|
|
63
63
|
}
|
|
64
64
|
validateAutoclose() {
|
|
65
|
-
if (!this.autoclose && !this.closebutton)
|
|
65
|
+
if (!this.autoclose && !this.closebutton) {
|
|
66
66
|
console.error("At least one between autoclose and closebutton must be present");
|
|
67
|
+
}
|
|
67
68
|
}
|
|
68
69
|
mapSlideOutClass() {
|
|
69
70
|
switch (this.transition) {
|
|
70
|
-
case ToastNotificationTransitionsEnum.
|
|
71
|
-
return ToastNotificationTransitionsEnum.
|
|
72
|
-
case ToastNotificationTransitionsEnum.
|
|
73
|
-
return ToastNotificationTransitionsEnum.
|
|
74
|
-
case ToastNotificationTransitionsEnum.
|
|
75
|
-
return ToastNotificationTransitionsEnum.
|
|
76
|
-
case ToastNotificationTransitionsEnum.
|
|
77
|
-
return ToastNotificationTransitionsEnum.
|
|
71
|
+
case ToastNotificationTransitionsEnum.SLIDE_IN_DOWN:
|
|
72
|
+
return ToastNotificationTransitionsEnum.SLIDE_OUT_UP;
|
|
73
|
+
case ToastNotificationTransitionsEnum.SLIDE_IN_UP:
|
|
74
|
+
return ToastNotificationTransitionsEnum.SLIDE_OUT_DOWN;
|
|
75
|
+
case ToastNotificationTransitionsEnum.SLIDE_IN_LEFT:
|
|
76
|
+
return ToastNotificationTransitionsEnum.SLIDE_OUT_RIGHT;
|
|
77
|
+
case ToastNotificationTransitionsEnum.SLIDE_IN_RIGHT:
|
|
78
|
+
return ToastNotificationTransitionsEnum.SLIDE_OUT_LEFT;
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
calculateDraggedPercentage(e) {
|
|
@@ -91,32 +92,27 @@ export class ZToastNotification {
|
|
|
91
92
|
this.hostElement.style.transition = "none";
|
|
92
93
|
this.hostElement.classList.remove(this.transition);
|
|
93
94
|
const translateObj = {
|
|
94
|
-
translate:
|
|
95
|
+
translate: `translateX(${this.percentage}%)`,
|
|
95
96
|
translateBack: "translateX(0)",
|
|
96
97
|
};
|
|
97
98
|
this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
|
|
98
|
-
if (e.eventType === Hammer.DIRECTION_LEFT ||
|
|
99
|
-
e.eventType === Hammer.DIRECTION_RIGHT) {
|
|
99
|
+
if (e.eventType === Hammer.DIRECTION_LEFT || e.eventType === Hammer.DIRECTION_RIGHT) {
|
|
100
100
|
this.hostElement.style.transform = translateObj.translate;
|
|
101
|
-
if (Math.abs(this.percentage) > this.draggablepercentage &&
|
|
102
|
-
!this.isCloseEventCalled) {
|
|
101
|
+
if (Math.abs(this.percentage) > this.draggablepercentage && !this.isCloseEventCalled) {
|
|
103
102
|
this.isCloseEventCalled = true;
|
|
104
|
-
this.emitToastClose(e.direction === Hammer.DIRECTION_LEFT
|
|
105
|
-
? "slide-out-left"
|
|
106
|
-
: "slide-out-right");
|
|
103
|
+
this.emitToastClose(e.direction === Hammer.DIRECTION_LEFT ? "slide-out-left" : "slide-out-right");
|
|
107
104
|
}
|
|
108
105
|
}
|
|
109
106
|
if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
|
|
110
107
|
this.hostElement.style.transform = translateObj.translateBack;
|
|
111
108
|
this.hostElement.style.transition = "all 1s";
|
|
112
|
-
this.hostElement.style.opacity =
|
|
109
|
+
this.hostElement.style.opacity = "100%";
|
|
113
110
|
this.percentage = 0;
|
|
114
111
|
}
|
|
115
112
|
});
|
|
116
113
|
}
|
|
117
114
|
onFocus() {
|
|
118
|
-
let time;
|
|
119
|
-
time = this.autoclose;
|
|
115
|
+
let time = this.autoclose;
|
|
120
116
|
if (this.elapsedTime) {
|
|
121
117
|
time = this.autoclose - this.elapsedTime;
|
|
122
118
|
}
|
|
@@ -129,7 +125,7 @@ export class ZToastNotification {
|
|
|
129
125
|
clearTimeout(this.timeoutHandle);
|
|
130
126
|
}
|
|
131
127
|
startClosingTimeout(time) {
|
|
132
|
-
this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
|
|
128
|
+
this.timeoutHandle = window.setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
|
|
133
129
|
}
|
|
134
130
|
detectWrap() {
|
|
135
131
|
const parentWidth = this.container.offsetWidth;
|
|
@@ -141,49 +137,39 @@ export class ZToastNotification {
|
|
|
141
137
|
return totalWidth > parentWidth;
|
|
142
138
|
}
|
|
143
139
|
renderText() {
|
|
144
|
-
return (h("div", { id: "text", ref: (el) => (this.toastText = el) },
|
|
145
|
-
h("span", { class: "title" }, this.heading),
|
|
146
|
-
h("span", { class: "message" }, this.message)));
|
|
140
|
+
return (h("div", { id: "text", ref: (el) => (this.toastText = el) }, h("span", { class: "title" }, this.heading), h("span", { class: "message" }, this.message)));
|
|
147
141
|
}
|
|
148
142
|
renderButton() {
|
|
149
|
-
return (h("div", { id: "button" },
|
|
150
|
-
h("slot", { name: "button" })));
|
|
143
|
+
return (h("div", { id: "button" }, h("slot", { name: "button" })));
|
|
151
144
|
}
|
|
152
145
|
renderCloseIcon() {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
146
|
+
if (!this.closebutton) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
return (h("div", { id: "icon" }, h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
|
|
150
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
151
|
+
e.preventDefault();
|
|
152
|
+
this.emitToastClose(this.mapSlideOutClass());
|
|
153
|
+
}
|
|
154
|
+
} })));
|
|
160
155
|
}
|
|
161
156
|
renderContainer() {
|
|
162
157
|
return (h("div", { tabIndex: 0, id: "external-container", class: {
|
|
163
158
|
[this.type]: !!this.type,
|
|
164
159
|
"several-lines-padding": this.isTextLong,
|
|
165
|
-
}, ref: (el) => (this.container = el) },
|
|
166
|
-
this.renderText(),
|
|
167
|
-
this.renderButton(),
|
|
168
|
-
this.renderCloseIcon()));
|
|
160
|
+
}, ref: (el) => (this.container = el) }, this.renderText(), this.renderButton(), this.renderCloseIcon()));
|
|
169
161
|
}
|
|
170
162
|
renderMobileContainer() {
|
|
171
163
|
return (h("div", { id: "external-container", class: {
|
|
172
164
|
[this.type]: !!this.type,
|
|
173
165
|
"several-lines-padding": this.isTextLong,
|
|
174
166
|
"mobile-wrapped": this.isTextLong,
|
|
175
|
-
} },
|
|
176
|
-
h("div", { id: "flex-container", ref: (el) => (this.container = el) },
|
|
177
|
-
this.renderText(),
|
|
178
|
-
this.renderButton()),
|
|
179
|
-
this.renderCloseIcon()));
|
|
167
|
+
} }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
|
|
180
168
|
}
|
|
181
169
|
render() {
|
|
182
170
|
return (h(Host, { style: {
|
|
183
|
-
|
|
184
|
-
}, class: this.transition
|
|
185
|
-
? this.transition
|
|
186
|
-
: ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
|
|
171
|
+
"--percentuale": `${this.percentage}%`,
|
|
172
|
+
}, class: this.transition ? this.transition : ToastNotificationTransitionsEnum.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
187
173
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
188
174
|
this.startClosingTimeout(this.autoclose);
|
|
189
175
|
}
|
|
@@ -194,209 +180,220 @@ export class ZToastNotification {
|
|
|
194
180
|
}
|
|
195
181
|
static get is() { return "z-toast-notification"; }
|
|
196
182
|
static get encapsulation() { return "shadow"; }
|
|
197
|
-
static get originalStyleUrls() {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"original": "string",
|
|
226
|
-
"resolved": "string",
|
|
227
|
-
"references": {}
|
|
228
|
-
},
|
|
229
|
-
"required": false,
|
|
230
|
-
"optional": false,
|
|
231
|
-
"docs": {
|
|
232
|
-
"tags": [],
|
|
233
|
-
"text": "toast notification's message"
|
|
234
|
-
},
|
|
235
|
-
"attribute": "message",
|
|
236
|
-
"reflect": false
|
|
237
|
-
},
|
|
238
|
-
"closebutton": {
|
|
239
|
-
"type": "boolean",
|
|
240
|
-
"mutable": false,
|
|
241
|
-
"complexType": {
|
|
242
|
-
"original": "boolean",
|
|
243
|
-
"resolved": "boolean",
|
|
244
|
-
"references": {}
|
|
245
|
-
},
|
|
246
|
-
"required": false,
|
|
247
|
-
"optional": false,
|
|
248
|
-
"docs": {
|
|
249
|
-
"tags": [],
|
|
250
|
-
"text": "toggles closing button rendering"
|
|
183
|
+
static get originalStyleUrls() {
|
|
184
|
+
return {
|
|
185
|
+
"$": ["styles.css"]
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
static get styleUrls() {
|
|
189
|
+
return {
|
|
190
|
+
"$": ["styles.css"]
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
static get properties() {
|
|
194
|
+
return {
|
|
195
|
+
"heading": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": true,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "toast notification's title"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "heading",
|
|
210
|
+
"reflect": false
|
|
251
211
|
},
|
|
252
|
-
"
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"
|
|
261
|
-
"
|
|
212
|
+
"message": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"mutable": false,
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "string",
|
|
217
|
+
"resolved": "string",
|
|
218
|
+
"references": {}
|
|
219
|
+
},
|
|
220
|
+
"required": false,
|
|
221
|
+
"optional": false,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": "toast notification's message"
|
|
225
|
+
},
|
|
226
|
+
"attribute": "message",
|
|
227
|
+
"reflect": false
|
|
262
228
|
},
|
|
263
|
-
"
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"
|
|
267
|
-
|
|
229
|
+
"closebutton": {
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "boolean",
|
|
234
|
+
"resolved": "boolean",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": "toggles closing button rendering"
|
|
242
|
+
},
|
|
243
|
+
"attribute": "closebutton",
|
|
244
|
+
"reflect": false
|
|
268
245
|
},
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
"
|
|
278
|
-
"
|
|
246
|
+
"autoclose": {
|
|
247
|
+
"type": "number",
|
|
248
|
+
"mutable": false,
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "number",
|
|
251
|
+
"resolved": "number",
|
|
252
|
+
"references": {}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"optional": true,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "toast notification closing timeout (ms)"
|
|
259
|
+
},
|
|
260
|
+
"attribute": "autoclose",
|
|
261
|
+
"reflect": false
|
|
279
262
|
},
|
|
280
|
-
"
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"
|
|
284
|
-
|
|
263
|
+
"pauseonfocusloss": {
|
|
264
|
+
"type": "boolean",
|
|
265
|
+
"mutable": false,
|
|
266
|
+
"complexType": {
|
|
267
|
+
"original": "boolean",
|
|
268
|
+
"resolved": "boolean",
|
|
269
|
+
"references": {}
|
|
270
|
+
},
|
|
271
|
+
"required": false,
|
|
272
|
+
"optional": true,
|
|
273
|
+
"docs": {
|
|
274
|
+
"tags": [],
|
|
275
|
+
"text": "toast notification autoclose can be paused"
|
|
276
|
+
},
|
|
277
|
+
"attribute": "pauseonfocusloss",
|
|
278
|
+
"reflect": false,
|
|
279
|
+
"defaultValue": "true"
|
|
285
280
|
},
|
|
286
|
-
"
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
"ToastNotificationTypes": {
|
|
298
|
-
"location": "import",
|
|
299
|
-
"path": "../../../beans"
|
|
281
|
+
"type": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"mutable": false,
|
|
284
|
+
"complexType": {
|
|
285
|
+
"original": "ToastNotificationTypes",
|
|
286
|
+
"resolved": "ToastNotificationEnum.ACCENT | ToastNotificationEnum.DARK | ToastNotificationEnum.ERROR | ToastNotificationEnum.LIGHT | ToastNotificationEnum.SUCCESS | ToastNotificationEnum.WARNING",
|
|
287
|
+
"references": {
|
|
288
|
+
"ToastNotificationTypes": {
|
|
289
|
+
"location": "import",
|
|
290
|
+
"path": "../../../beans"
|
|
291
|
+
}
|
|
300
292
|
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
293
|
+
},
|
|
294
|
+
"required": false,
|
|
295
|
+
"optional": true,
|
|
296
|
+
"docs": {
|
|
297
|
+
"tags": [],
|
|
298
|
+
"text": "toast notification type: dark, light, accent, error, success, warning"
|
|
299
|
+
},
|
|
300
|
+
"attribute": "type",
|
|
301
|
+
"reflect": false
|
|
308
302
|
},
|
|
309
|
-
"
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"
|
|
318
|
-
"
|
|
303
|
+
"isdraggable": {
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"mutable": false,
|
|
306
|
+
"complexType": {
|
|
307
|
+
"original": "boolean",
|
|
308
|
+
"resolved": "boolean",
|
|
309
|
+
"references": {}
|
|
310
|
+
},
|
|
311
|
+
"required": false,
|
|
312
|
+
"optional": true,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": "toast notification can be draggable"
|
|
316
|
+
},
|
|
317
|
+
"attribute": "isdraggable",
|
|
318
|
+
"reflect": false,
|
|
319
|
+
"defaultValue": "true"
|
|
319
320
|
},
|
|
320
|
-
"
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
"
|
|
324
|
-
|
|
321
|
+
"draggablepercentage": {
|
|
322
|
+
"type": "number",
|
|
323
|
+
"mutable": false,
|
|
324
|
+
"complexType": {
|
|
325
|
+
"original": "number",
|
|
326
|
+
"resolved": "number",
|
|
327
|
+
"references": {}
|
|
328
|
+
},
|
|
329
|
+
"required": false,
|
|
330
|
+
"optional": true,
|
|
331
|
+
"docs": {
|
|
332
|
+
"tags": [],
|
|
333
|
+
"text": "toast notification draggable percentage"
|
|
334
|
+
},
|
|
335
|
+
"attribute": "draggablepercentage",
|
|
336
|
+
"reflect": false,
|
|
337
|
+
"defaultValue": "80"
|
|
325
338
|
},
|
|
326
|
-
"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
},
|
|
338
|
-
"required": false,
|
|
339
|
-
"optional": true,
|
|
340
|
-
"docs": {
|
|
341
|
-
"tags": [],
|
|
342
|
-
"text": "toast notification draggable percentage"
|
|
343
|
-
},
|
|
344
|
-
"attribute": "draggablepercentage",
|
|
345
|
-
"reflect": false,
|
|
346
|
-
"defaultValue": "80"
|
|
347
|
-
},
|
|
348
|
-
"transition": {
|
|
349
|
-
"type": "string",
|
|
350
|
-
"mutable": false,
|
|
351
|
-
"complexType": {
|
|
352
|
-
"original": "ToastNotificationTransitionTypes",
|
|
353
|
-
"resolved": "ToastNotificationTransitionsEnum.slideInDown | ToastNotificationTransitionsEnum.slideInLeft | ToastNotificationTransitionsEnum.slideInRight | ToastNotificationTransitionsEnum.slideInUp | ToastNotificationTransitionsEnum.slideOutDown | ToastNotificationTransitionsEnum.slideOutLeft | ToastNotificationTransitionsEnum.slideOutRight | ToastNotificationTransitionsEnum.slideOutUp",
|
|
354
|
-
"references": {
|
|
355
|
-
"ToastNotificationTransitionTypes": {
|
|
356
|
-
"location": "import",
|
|
357
|
-
"path": "../../../beans"
|
|
339
|
+
"transition": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"mutable": false,
|
|
342
|
+
"complexType": {
|
|
343
|
+
"original": "ToastNotificationTransitionTypes",
|
|
344
|
+
"resolved": "ToastNotificationTransitionsEnum.SLIDE_IN_DOWN | ToastNotificationTransitionsEnum.SLIDE_IN_LEFT | ToastNotificationTransitionsEnum.SLIDE_IN_RIGHT | ToastNotificationTransitionsEnum.SLIDE_IN_UP | ToastNotificationTransitionsEnum.SLIDE_OUT_DOWN | ToastNotificationTransitionsEnum.SLIDE_OUT_LEFT | ToastNotificationTransitionsEnum.SLIDE_OUT_RIGHT | ToastNotificationTransitionsEnum.SLIDE_OUT_UP",
|
|
345
|
+
"references": {
|
|
346
|
+
"ToastNotificationTransitionTypes": {
|
|
347
|
+
"location": "import",
|
|
348
|
+
"path": "../../../beans"
|
|
349
|
+
}
|
|
358
350
|
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
"reflect": false
|
|
369
|
-
}
|
|
370
|
-
}; }
|
|
371
|
-
static get states() { return {
|
|
372
|
-
"percentage": {},
|
|
373
|
-
"isTextLong": {}
|
|
374
|
-
}; }
|
|
375
|
-
static get events() { return [{
|
|
376
|
-
"method": "toastClose",
|
|
377
|
-
"name": "toastClose",
|
|
378
|
-
"bubbles": true,
|
|
379
|
-
"cancelable": true,
|
|
380
|
-
"composed": true,
|
|
381
|
-
"docs": {
|
|
382
|
-
"tags": [],
|
|
383
|
-
"text": "notification close event"
|
|
384
|
-
},
|
|
385
|
-
"complexType": {
|
|
386
|
-
"original": "any",
|
|
387
|
-
"resolved": "any",
|
|
388
|
-
"references": {}
|
|
351
|
+
},
|
|
352
|
+
"required": false,
|
|
353
|
+
"optional": true,
|
|
354
|
+
"docs": {
|
|
355
|
+
"tags": [],
|
|
356
|
+
"text": "toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up"
|
|
357
|
+
},
|
|
358
|
+
"attribute": "transition",
|
|
359
|
+
"reflect": false
|
|
389
360
|
}
|
|
390
|
-
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
static get states() {
|
|
364
|
+
return {
|
|
365
|
+
"percentage": {}
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
static get events() {
|
|
369
|
+
return [{
|
|
370
|
+
"method": "toastClose",
|
|
371
|
+
"name": "toastClose",
|
|
372
|
+
"bubbles": true,
|
|
373
|
+
"cancelable": true,
|
|
374
|
+
"composed": true,
|
|
375
|
+
"docs": {
|
|
376
|
+
"tags": [],
|
|
377
|
+
"text": "notification close event"
|
|
378
|
+
},
|
|
379
|
+
"complexType": {
|
|
380
|
+
"original": "any",
|
|
381
|
+
"resolved": "any",
|
|
382
|
+
"references": {}
|
|
383
|
+
}
|
|
384
|
+
}];
|
|
385
|
+
}
|
|
391
386
|
static get elementRef() { return "hostElement"; }
|
|
392
|
-
static get watchers() {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
387
|
+
static get watchers() {
|
|
388
|
+
return [{
|
|
389
|
+
"propName": "isdraggable",
|
|
390
|
+
"methodName": "watchPropIsdraggable"
|
|
391
|
+
}, {
|
|
392
|
+
"propName": "autoclose",
|
|
393
|
+
"methodName": "watchPropAutoclose"
|
|
394
|
+
}, {
|
|
395
|
+
"propName": "pauseonfocusloss",
|
|
396
|
+
"methodName": "watchPropPauseonfocusloss"
|
|
397
|
+
}];
|
|
398
|
+
}
|
|
402
399
|
}
|