@zanichelli/albe-web-components 2.31.2 → 2.33.1
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 +23 -0
- package/dist/types/beans/index.d.ts +4 -0
- package/dist/types/components/z-aria-alert/index.d.ts +4 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -0
- package/dist/types/components.d.ts +28 -0
- package/dist/web-components-library/_commonjsHelpers-cb1cd7bb.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/{esm → web-components-library}/breakpoints-c386984e.js +0 -0
- package/dist/web-components-library/css-shim-003e9264.js +4 -0
- package/dist/web-components-library/dom-1b195079.js +73 -0
- package/dist/{esm/hammer-c807d0b5.js → web-components-library/hammer-52e2c4fe.js} +4 -15
- package/dist/{collection/components/icons/icons.js → web-components-library/icons-9a191d79.js} +3 -1
- package/dist/web-components-library/index-44936066.js +2832 -0
- package/dist/web-components-library/index-8067f807.js +64 -0
- package/dist/{esm/index-0258069c.js → web-components-library/index-8f67b3da.js} +6 -1
- package/dist/web-components-library/index.esm.js +9 -1
- package/dist/web-components-library/shadow-css-c1ad5fdc.js +383 -0
- package/dist/{esm/utils-0345e333.js → web-components-library/utils-5e70920f.js} +20 -2
- package/dist/web-components-library/web-components-library.css +789 -1
- package/dist/web-components-library/web-components-library.esm.js +122 -1
- package/dist/web-components-library/z-alert.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-app-header.entry.js +1 -1
- package/dist/web-components-library/z-app-switcher.entry.js +25 -0
- package/dist/web-components-library/z-app-topbar.entry.js +37 -0
- package/dist/web-components-library/z-aria-alert.entry.js +14 -0
- package/dist/web-components-library/z-avatar.entry.js +39 -0
- package/dist/web-components-library/z-body.entry.js +13 -0
- package/dist/web-components-library/z-button-filter.entry.js +45 -0
- package/dist/web-components-library/z-button-sort.entry.js +50 -0
- package/dist/web-components-library/z-button.entry.js +35 -0
- package/dist/{esm → web-components-library}/z-candybar.entry.js +1 -1
- package/dist/web-components-library/z-card.entry.js +54 -0
- package/dist/web-components-library/z-chip.entry.js +20 -0
- package/dist/web-components-library/z-combobox.entry.js +166 -0
- package/dist/web-components-library/z-contextual-menu.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-cookiebar.entry.js +2 -2
- package/dist/web-components-library/z-divider.entry.js +22 -0
- package/dist/web-components-library/z-footer-link.entry.js +15 -0
- package/dist/web-components-library/z-footer-section.entry.js +19 -0
- package/dist/web-components-library/z-footer-social.entry.js +15 -0
- package/dist/web-components-library/z-footer.entry.js +98 -0
- package/dist/web-components-library/z-ghost-loading.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-heading.entry.js +1 -1
- package/dist/web-components-library/z-icon-package.entry.js +19 -0
- package/dist/web-components-library/z-icon.entry.js +24 -0
- package/dist/web-components-library/z-info-box.entry.js +21 -0
- package/dist/web-components-library/z-input-label.entry.js +17 -0
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +264 -0
- package/dist/web-components-library/z-link.entry.js +67 -0
- package/dist/web-components-library/z-list-element.entry.js +150 -0
- package/dist/web-components-library/z-list-group.entry.js +50 -0
- package/dist/web-components-library/z-list.entry.js +30 -0
- package/dist/web-components-library/z-logo.entry.js +24 -0
- package/dist/web-components-library/z-menu-dropdown.entry.js +56 -0
- package/dist/web-components-library/z-menu-section.entry.js +42 -0
- package/dist/web-components-library/z-menu.entry.js +106 -0
- package/dist/{esm → web-components-library}/z-messages-pocket.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-modal-login.entry.js +2 -2
- package/dist/web-components-library/z-modal.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-alert.entry.js +59 -0
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/{esm → web-components-library}/z-myz-card-dictionary.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/web-components-library/z-myz-card-footer.entry.js +48 -0
- package/dist/web-components-library/z-myz-card-header.entry.js +34 -0
- package/dist/web-components-library/z-myz-card-icon.entry.js +17 -0
- package/dist/{esm → web-components-library}/z-myz-card-info.entry.js +3 -3
- package/dist/web-components-library/z-myz-card-list.entry.js +33 -0
- package/dist/web-components-library/z-myz-card.entry.js +37 -0
- package/dist/web-components-library/z-myz-list-item.entry.js +33 -0
- package/dist/web-components-library/z-myz-list.entry.js +31 -0
- package/dist/{esm → web-components-library}/z-myz-topbar.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-navigation-tab.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-navigation-tabs.entry.js +2 -2
- package/dist/web-components-library/z-notification.entry.js +38 -0
- package/dist/{esm → web-components-library}/z-otp.entry.js +2 -2
- package/dist/web-components-library/z-pagination-bar.entry.js +126 -0
- package/dist/web-components-library/z-pagination-page.entry.js +21 -0
- package/dist/web-components-library/z-panel-elem.entry.js +26 -0
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-pocket-message.entry.js +1 -1
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/web-components-library/z-popover.entry.js +124 -0
- package/dist/web-components-library/z-registro-table-body.entry.js +20 -0
- package/dist/web-components-library/z-registro-table-cell.entry.js +30 -0
- package/dist/web-components-library/z-registro-table-empty-box.entry.js +24 -0
- package/dist/web-components-library/z-registro-table-expanded-row.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-registro-table-footer.entry.js +1 -1
- package/dist/web-components-library/z-registro-table-head.entry.js +19 -0
- package/dist/web-components-library/z-registro-table-header-row.entry.js +18 -0
- package/dist/web-components-library/z-registro-table-header.entry.js +80 -0
- package/dist/web-components-library/z-registro-table-row.entry.js +39 -0
- package/dist/web-components-library/z-registro-table-sticky-footer.entry.js +15 -0
- package/dist/web-components-library/z-registro-table.entry.js +78 -0
- package/dist/web-components-library/z-select.entry.js +281 -0
- package/dist/{esm → web-components-library}/z-slideshow.entry.js +3 -3
- package/dist/web-components-library/z-status-tag.entry.js +25 -0
- package/dist/web-components-library/z-stepper-item.entry.js +18 -0
- package/dist/web-components-library/z-stepper.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-toast-notification-list.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-toast-notification.entry.js +4 -3
- package/dist/web-components-library/z-toggle-button.entry.js +32 -0
- package/dist/{collection/components/notification/z-tooltip/index.js → web-components-library/z-tooltip.entry.js} +19 -128
- package/dist/web-components-library/z-typography.entry.js +25 -0
- package/dist/web-components-library/z-user-dropdown.entry.js +91 -0
- package/dist/web-components-library/z-visually-hidden.entry.js +15 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +4 -2
- package/react/components.js.map +1 -1
- package/www/build/_commonjsHelpers-cb1cd7bb.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/{dist/collection/constants/breakpoints.js → www/build/breakpoints-c386984e.js} +2 -1
- package/www/build/css-shim-003e9264.js +4 -0
- package/www/build/dom-1b195079.js +73 -0
- package/{dist/cjs/hammer-6e321f0b.js → www/build/hammer-52e2c4fe.js} +4 -18
- package/www/build/icons-9a191d79.js +475 -0
- package/www/build/index-44936066.js +2832 -0
- package/www/build/index-8067f807.js +64 -0
- package/{dist/collection/beans/index.js → www/build/index-8f67b3da.js} +41 -34
- package/www/build/index.esm.js +9 -1
- package/www/build/shadow-css-c1ad5fdc.js +383 -0
- package/{dist/collection/utils/utils.js → www/build/utils-5e70920f.js} +15 -12
- package/www/build/web-components-library.css +789 -1
- package/www/build/web-components-library.esm.js +122 -1
- package/www/build/z-alert.entry.js +15 -0
- package/{dist/cjs/z-app-header.cjs.entry.js → www/build/z-app-header.entry.js} +5 -9
- package/www/build/z-app-switcher.entry.js +25 -0
- package/www/build/z-app-topbar.entry.js +37 -0
- package/www/build/z-aria-alert.entry.js +14 -0
- package/www/build/z-avatar.entry.js +39 -0
- package/www/build/z-body.entry.js +13 -0
- package/www/build/z-button-filter.entry.js +45 -0
- package/www/build/z-button-sort.entry.js +50 -0
- package/www/build/z-button.entry.js +35 -0
- package/{dist/cjs/z-candybar.cjs.entry.js → www/build/z-candybar.entry.js} +4 -8
- package/www/build/z-card.entry.js +54 -0
- package/www/build/z-chip.entry.js +20 -0
- package/www/build/z-combobox.entry.js +166 -0
- package/www/build/z-contextual-menu.entry.js +36 -0
- package/{dist/cjs/z-cookiebar.cjs.entry.js → www/build/z-cookiebar.entry.js} +7 -11
- package/www/build/z-divider.entry.js +22 -0
- package/www/build/z-footer-link.entry.js +15 -0
- package/www/build/z-footer-section.entry.js +19 -0
- package/www/build/z-footer-social.entry.js +15 -0
- package/www/build/z-footer.entry.js +98 -0
- package/www/build/z-ghost-loading.entry.js +15 -0
- package/www/build/z-heading.entry.js +13 -0
- package/www/build/z-icon-package.entry.js +19 -0
- package/www/build/z-icon.entry.js +24 -0
- package/www/build/z-info-box.entry.js +21 -0
- package/www/build/z-input-label.entry.js +17 -0
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +264 -0
- package/www/build/z-link.entry.js +67 -0
- package/www/build/z-list-element.entry.js +150 -0
- package/www/build/z-list-group.entry.js +50 -0
- package/www/build/z-list.entry.js +30 -0
- package/www/build/z-logo.entry.js +24 -0
- package/www/build/z-menu-dropdown.entry.js +56 -0
- package/www/build/z-menu-section.entry.js +42 -0
- package/www/build/z-menu.entry.js +106 -0
- package/{dist/cjs/z-messages-pocket.cjs.entry.js → www/build/z-messages-pocket.entry.js} +13 -17
- package/www/build/z-modal-login.entry.js +77 -0
- package/www/build/z-modal.entry.js +32 -0
- package/www/build/z-myz-card-alert.entry.js +59 -0
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/{dist/cjs/z-myz-card-dictionary.cjs.entry.js → www/build/z-myz-card-dictionary.entry.js} +6 -10
- package/{dist/cjs/z-myz-card-footer-sections.cjs.entry.js → www/build/z-myz-card-footer-sections.entry.js} +4 -8
- package/www/build/z-myz-card-footer.entry.js +48 -0
- package/www/build/z-myz-card-header.entry.js +34 -0
- package/www/build/z-myz-card-icon.entry.js +17 -0
- package/{dist/cjs/z-myz-card-info.cjs.entry.js → www/build/z-myz-card-info.entry.js} +19 -23
- package/www/build/z-myz-card-list.entry.js +33 -0
- package/www/build/z-myz-card.entry.js +37 -0
- package/www/build/z-myz-list-item.entry.js +33 -0
- package/www/build/z-myz-list.entry.js +31 -0
- package/{dist/cjs/z-myz-topbar.cjs.entry.js → www/build/z-myz-topbar.entry.js} +29 -33
- package/{dist/cjs/z-navigation-tab.cjs.entry.js → www/build/z-navigation-tab.entry.js} +6 -10
- package/{dist/cjs/z-navigation-tabs.cjs.entry.js → www/build/z-navigation-tabs.entry.js} +11 -15
- package/www/build/z-notification.entry.js +38 -0
- package/{dist/cjs/z-otp.cjs.entry.js → www/build/z-otp.entry.js} +8 -12
- package/www/build/z-pagination-bar.entry.js +126 -0
- package/www/build/z-pagination-page.entry.js +21 -0
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/{dist/cjs/z-pocket-message.cjs.entry.js → www/build/z-pocket-message.entry.js} +4 -8
- package/www/build/z-pocket.entry.js +68 -0
- package/www/build/z-popover.entry.js +124 -0
- package/www/build/z-registro-table-body.entry.js +20 -0
- package/www/build/z-registro-table-cell.entry.js +30 -0
- package/www/build/z-registro-table-empty-box.entry.js +24 -0
- package/www/build/z-registro-table-expanded-row.entry.js +15 -0
- package/{dist/cjs/z-registro-table-footer.cjs.entry.js → www/build/z-registro-table-footer.entry.js} +5 -9
- package/www/build/z-registro-table-head.entry.js +19 -0
- package/www/build/z-registro-table-header-row.entry.js +18 -0
- package/www/build/z-registro-table-header.entry.js +80 -0
- package/www/build/z-registro-table-row.entry.js +39 -0
- package/www/build/z-registro-table-sticky-footer.entry.js +15 -0
- package/www/build/z-registro-table.entry.js +78 -0
- package/www/build/z-select.entry.js +281 -0
- package/{dist/cjs/z-slideshow.cjs.entry.js → www/build/z-slideshow.entry.js} +19 -23
- package/www/build/z-status-tag.entry.js +25 -0
- package/www/build/z-stepper-item.entry.js +18 -0
- package/www/build/z-stepper.entry.js +15 -0
- package/{dist/cjs/z-toast-notification-list.cjs.entry.js → www/build/z-toast-notification-list.entry.js} +7 -11
- package/{dist/cjs/z-toast-notification.cjs.entry.js → www/build/z-toast-notification.entry.js} +31 -34
- package/www/build/z-toggle-button.entry.js +32 -0
- package/www/build/z-tooltip.entry.js +270 -0
- package/www/build/z-typography.entry.js +25 -0
- package/www/build/z-user-dropdown.entry.js +91 -0
- package/www/build/z-visually-hidden.entry.js +15 -0
- package/www/index.html +44 -31
- package/dist/cjs/breakpoints-88c4fd6c.js +0 -7
- package/dist/cjs/index-8f4b351d.js +0 -251
- package/dist/cjs/index-dee3e21d.js +0 -1694
- package/dist/cjs/index.cjs.js +0 -13
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/utils-6d6841cc.js +0 -75
- package/dist/cjs/web-components-library.cjs.js +0 -19
- package/dist/cjs/z-alert_66.cjs.entry.js +0 -3736
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/cjs/z-modal-login.cjs.entry.js +0 -81
- package/dist/cjs/z-pocket_3.cjs.entry.js +0 -124
- package/dist/collection/collection-manifest.json +0 -98
- package/dist/collection/components/buttons/z-button/index.js +0 -219
- package/dist/collection/components/buttons/z-button/styles.css +0 -231
- package/dist/collection/components/buttons/z-button-filter/index.js +0 -155
- package/dist/collection/components/buttons/z-button-filter/styles.css +0 -74
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -216
- package/dist/collection/components/buttons/z-button-sort/styles.css +0 -101
- package/dist/collection/components/buttons/z-chip/index.js +0 -59
- package/dist/collection/components/buttons/z-chip/styles.css +0 -17
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -122
- package/dist/collection/components/buttons/z-toggle-button/styles.css +0 -62
- package/dist/collection/components/footer/z-footer/index.js +0 -286
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -37
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -33
- package/dist/collection/components/footer/z-footer-section/index.js +0 -51
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -163
- package/dist/collection/components/footer/z-footer-social/index.js +0 -68
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -23
- package/dist/collection/components/icons/z-icon/index.js +0 -110
- package/dist/collection/components/icons/z-icon/styles.css +0 -14
- package/dist/collection/components/icons/z-icon-package/index.js +0 -20
- package/dist/collection/components/icons/z-icon-package/styles.css +0 -16
- package/dist/collection/components/indicators/z-stepper/index.js +0 -17
- package/dist/collection/components/indicators/z-stepper/styles.css +0 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +0 -115
- package/dist/collection/components/inputs/z-combobox/index.js +0 -480
- package/dist/collection/components/inputs/z-combobox/styles.css +0 -148
- package/dist/collection/components/inputs/z-input/index.js +0 -821
- package/dist/collection/components/inputs/z-input/styles.css +0 -304
- package/dist/collection/components/inputs/z-input-label/index.js +0 -72
- package/dist/collection/components/inputs/z-input-label/styles.css +0 -16
- package/dist/collection/components/inputs/z-input-message/index.js +0 -64
- package/dist/collection/components/inputs/z-input-message/styles.css +0 -33
- package/dist/collection/components/inputs/z-select/index.js +0 -647
- package/dist/collection/components/inputs/z-select/styles.css +0 -131
- package/dist/collection/components/list/z-list/index.js +0 -57
- package/dist/collection/components/list/z-list/styles.css +0 -7
- package/dist/collection/components/list/z-list-element/index.js +0 -439
- package/dist/collection/components/list/z-list-element/styles.css +0 -133
- package/dist/collection/components/list/z-list-group/index.js +0 -144
- package/dist/collection/components/list/z-list-group/styles.css +0 -22
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -97
- package/dist/collection/components/list/z-toast-notification-list/styles.css +0 -107
- package/dist/collection/components/logo/z-logo/index.js +0 -128
- package/dist/collection/components/logo/z-logo/styles.css +0 -29
- package/dist/collection/components/modal/z-modal/index.js +0 -160
- package/dist/collection/components/modal/z-modal/styles.css +0 -185
- package/dist/collection/components/modal/z-modal-login/index.js +0 -272
- package/dist/collection/components/modal/z-modal-login/styles.css +0 -159
- package/dist/collection/components/navigation/z-app-header/index.js +0 -267
- package/dist/collection/components/navigation/z-app-header/styles.css +0 -445
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -70
- package/dist/collection/components/navigation/z-app-switcher/styles.css +0 -35
- package/dist/collection/components/navigation/z-app-topbar/index.js +0 -156
- package/dist/collection/components/navigation/z-app-topbar/styles.css +0 -71
- package/dist/collection/components/navigation/z-link/index.js +0 -309
- package/dist/collection/components/navigation/z-link/styles.css +0 -160
- package/dist/collection/components/navigation/z-menu/index.js +0 -223
- package/dist/collection/components/navigation/z-menu/styles.css +0 -149
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -125
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +0 -146
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -109
- package/dist/collection/components/navigation/z-menu-section/styles.css +0 -91
- package/dist/collection/components/navigation/z-navigation-tab/index.js +0 -151
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +0 -113
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -179
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +0 -117
- package/dist/collection/components/navigation/z-user-dropdown/index.js +0 -252
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +0 -315
- package/dist/collection/components/notification/z-candybar/index.js +0 -18
- package/dist/collection/components/notification/z-candybar/styles.css +0 -61
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -111
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -109
- package/dist/collection/components/notification/z-info-box/index.js +0 -79
- package/dist/collection/components/notification/z-info-box/styles.css +0 -23
- package/dist/collection/components/notification/z-notification/index.js +0 -171
- package/dist/collection/components/notification/z-notification/styles.css +0 -93
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -402
- package/dist/collection/components/notification/z-toast-notification/styles.css +0 -247
- package/dist/collection/components/notification/z-tooltip/styles.css +0 -128
- package/dist/collection/components/pagination/z-pagination-bar/index.js +0 -278
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +0 -23
- package/dist/collection/components/pagination/z-pagination-page/index.js +0 -129
- package/dist/collection/components/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -193
- package/dist/collection/components/panel/z-panel-elem/styles.css +0 -39
- package/dist/collection/components/typography/z-body/index.js +0 -66
- package/dist/collection/components/typography/z-heading/index.js +0 -66
- package/dist/collection/components/typography/z-typography/index.js +0 -84
- package/dist/collection/components/typography/z-typography/styles.css +0 -61
- package/dist/collection/components/z-avatar/index.js +0 -137
- package/dist/collection/components/z-avatar/styles.css +0 -35
- package/dist/collection/components/z-card/index.js +0 -153
- package/dist/collection/components/z-card/styles.css +0 -188
- package/dist/collection/components/z-contextual-menu/index.js +0 -122
- package/dist/collection/components/z-contextual-menu/styles.css +0 -45
- package/dist/collection/components/z-divider/index.js +0 -89
- package/dist/collection/components/z-divider/styles.css +0 -37
- package/dist/collection/components/z-ghost-loading/index.js +0 -14
- package/dist/collection/components/z-ghost-loading/styles.css +0 -34
- package/dist/collection/components/z-popover/index.js +0 -274
- package/dist/collection/components/z-popover/styles.css +0 -236
- package/dist/collection/components/z-status-tag/index.js +0 -125
- package/dist/collection/components/z-status-tag/styles.css +0 -133
- package/dist/collection/constants/icons.js +0 -6
- package/dist/collection/index.js +0 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -119
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -38
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -148
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -87
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -85
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -137
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -32
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -101
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -74
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -70
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -213
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -124
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -53
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -70
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -188
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -48
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +0 -121
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +0 -106
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +0 -181
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +0 -56
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +0 -77
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +0 -49
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -86
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +0 -40
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +0 -23
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +0 -53
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -428
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -594
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -42
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -114
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -165
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -128
- package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +0 -365
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +0 -166
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +0 -19
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +0 -9
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +0 -58
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +0 -39
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +0 -69
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +0 -24
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +0 -36
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +0 -16
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +0 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +0 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +0 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +0 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +0 -240
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +0 -67
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +0 -37
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +0 -13
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +0 -86
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +0 -54
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +0 -17
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +0 -11
- package/dist/collection/themes/index.story.js +0 -18
- package/dist/esm/index-fa9e549c.js +0 -1666
- package/dist/esm/index.js +0 -9
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/web-components-library.js +0 -17
- package/dist/esm/z-alert_66.entry.js +0 -3667
- package/dist/esm/z-pocket_3.entry.js +0 -118
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/web-components-library/p-017370c7.entry.js +0 -1
- package/dist/web-components-library/p-02e55441.entry.js +0 -1
- package/dist/web-components-library/p-140cc18f.entry.js +0 -1
- package/dist/web-components-library/p-18f6f866.entry.js +0 -1
- package/dist/web-components-library/p-1c72783c.entry.js +0 -1
- package/dist/web-components-library/p-231e7797.entry.js +0 -1
- package/dist/web-components-library/p-2f354863.entry.js +0 -1
- package/dist/web-components-library/p-35b1f338.entry.js +0 -1
- package/dist/web-components-library/p-3cdefa38.entry.js +0 -1
- package/dist/web-components-library/p-4a6ec3df.entry.js +0 -1
- package/dist/web-components-library/p-5cdcaa8c.entry.js +0 -1
- package/dist/web-components-library/p-8902f400.entry.js +0 -7
- package/dist/web-components-library/p-8ad12683.entry.js +0 -1
- package/dist/web-components-library/p-904a85e4.js +0 -1
- package/dist/web-components-library/p-96e3aec6.entry.js +0 -1
- package/dist/web-components-library/p-9912e411.js +0 -7
- package/dist/web-components-library/p-b80081c9.entry.js +0 -1
- package/dist/web-components-library/p-c7af96eb.entry.js +0 -1
- package/dist/web-components-library/p-d4830f32.entry.js +0 -1
- package/dist/web-components-library/p-d63b9ed3.js +0 -1
- package/dist/web-components-library/p-d69e14fb.js +0 -1
- package/dist/web-components-library/p-e7304c42.js +0 -1
- package/dist/web-components-library/p-f113a03a.entry.js +0 -1
- package/dist/web-components-library/p-f83347fd.entry.js +0 -1
- package/dist/web-components-library/p-ff6b02d1.entry.js +0 -1
- package/www/build/p-017370c7.entry.js +0 -1
- package/www/build/p-02e55441.entry.js +0 -1
- package/www/build/p-140cc18f.entry.js +0 -1
- package/www/build/p-18f6f866.entry.js +0 -1
- package/www/build/p-1c72783c.entry.js +0 -1
- package/www/build/p-231e7797.entry.js +0 -1
- package/www/build/p-2f354863.entry.js +0 -1
- package/www/build/p-35b1f338.entry.js +0 -1
- package/www/build/p-3cdefa38.entry.js +0 -1
- package/www/build/p-4a6ec3df.entry.js +0 -1
- package/www/build/p-5cdcaa8c.entry.js +0 -1
- package/www/build/p-7206f897.js +0 -1
- package/www/build/p-8902f400.entry.js +0 -7
- package/www/build/p-8ad12683.entry.js +0 -1
- package/www/build/p-904a85e4.js +0 -1
- package/www/build/p-96e3aec6.entry.js +0 -1
- package/www/build/p-9912e411.js +0 -7
- package/www/build/p-b80081c9.entry.js +0 -1
- package/www/build/p-c7af96eb.entry.js +0 -1
- package/www/build/p-d4830f32.entry.js +0 -1
- package/www/build/p-d63b9ed3.js +0 -1
- package/www/build/p-d69e14fb.js +0 -1
- package/www/build/p-e7304c42.js +0 -1
- package/www/build/p-ea943cbd.css +0 -1
- package/www/build/p-f113a03a.entry.js +0 -1
- package/www/build/p-f83347fd.entry.js +0 -1
- package/www/build/p-ff6b02d1.entry.js +0 -1
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
7
|
-
const utils = require('./utils-6d6841cc.js');
|
|
8
|
-
require('./breakpoints-88c4fd6c.js');
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-44936066.js';
|
|
2
|
+
import { D as DeviceEnum } from './index-8f67b3da.js';
|
|
3
|
+
import { a as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-5e70920f.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
9
5
|
|
|
10
6
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
|
|
11
7
|
|
|
12
8
|
const ZSlideshow = class {
|
|
13
9
|
constructor(hostRef) {
|
|
14
|
-
|
|
10
|
+
registerInstance(this, hostRef);
|
|
15
11
|
this.currentSlide = 0;
|
|
16
12
|
}
|
|
17
13
|
watchData() {
|
|
@@ -33,7 +29,7 @@ const ZSlideshow = class {
|
|
|
33
29
|
var _a;
|
|
34
30
|
switch (typeof this.data) {
|
|
35
31
|
case "string":
|
|
36
|
-
return (this.links = (_a =
|
|
32
|
+
return (this.links = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : []);
|
|
37
33
|
default:
|
|
38
34
|
return (this.links = this.data);
|
|
39
35
|
}
|
|
@@ -53,23 +49,23 @@ const ZSlideshow = class {
|
|
|
53
49
|
});
|
|
54
50
|
}
|
|
55
51
|
setDevice() {
|
|
56
|
-
this.device =
|
|
52
|
+
this.device = getDevice();
|
|
57
53
|
}
|
|
58
54
|
setCurrentSlide(index) {
|
|
59
55
|
this.currentSlide = index;
|
|
60
56
|
}
|
|
61
57
|
getBulletDimension() {
|
|
62
58
|
switch (this.device) {
|
|
63
|
-
case
|
|
59
|
+
case DeviceEnum.mobile:
|
|
64
60
|
return 24;
|
|
65
|
-
case
|
|
61
|
+
case DeviceEnum.tablet:
|
|
66
62
|
return 32;
|
|
67
63
|
default:
|
|
68
64
|
return 40;
|
|
69
65
|
}
|
|
70
66
|
}
|
|
71
67
|
renderSlides(items) {
|
|
72
|
-
return (
|
|
68
|
+
return (h("div", { id: "slides" }, items.map((item, i) => (h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, h("img", { src: item }))))));
|
|
73
69
|
}
|
|
74
70
|
renderScroll(direction) {
|
|
75
71
|
let disabled = false, nextSlide = this.currentSlide;
|
|
@@ -81,32 +77,32 @@ const ZSlideshow = class {
|
|
|
81
77
|
disabled = this.currentSlide === this.links.length - 1;
|
|
82
78
|
nextSlide++;
|
|
83
79
|
}
|
|
84
|
-
return (
|
|
80
|
+
return (h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
|
|
85
81
|
!disabled && this.setCurrentSlide(nextSlide);
|
|
86
82
|
}, onKeyUp: (e) => !disabled &&
|
|
87
|
-
|
|
83
|
+
handleKeyboardSubmit(e, () => {
|
|
88
84
|
this.setCurrentSlide(nextSlide);
|
|
89
85
|
}), tabindex: 0, role: "button" }));
|
|
90
86
|
}
|
|
91
87
|
renderSlideshowMain() {
|
|
92
|
-
return (
|
|
88
|
+
return (h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
|
|
93
89
|
}
|
|
94
90
|
renderBullet(i) {
|
|
95
|
-
return (
|
|
91
|
+
return (h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
96
92
|
}
|
|
97
93
|
renderSlideshowFooter() {
|
|
98
|
-
return (
|
|
94
|
+
return (h("footer", null, h("div", { class: "footerLeft" }, h("slot", { name: "footer-left" })), h("div", { class: "footerCenter" }, h("div", { class: "bulletContainer" }, Object.keys(this.links).map(i => this.renderBullet(parseInt(i))))), h("div", { class: "footerRight" }, h("slot", { name: "footer-right" }))));
|
|
99
95
|
}
|
|
100
96
|
render() {
|
|
101
97
|
if (!this.links || !this.links.length)
|
|
102
|
-
return
|
|
103
|
-
return (
|
|
98
|
+
return h("div", null);
|
|
99
|
+
return (h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
104
100
|
}
|
|
105
|
-
get el() { return
|
|
101
|
+
get el() { return getElement(this); }
|
|
106
102
|
static get watchers() { return {
|
|
107
103
|
"data": ["watchData"]
|
|
108
104
|
}; }
|
|
109
105
|
};
|
|
110
106
|
ZSlideshow.style = stylesCss;
|
|
111
107
|
|
|
112
|
-
|
|
108
|
+
export { ZSlideshow as z_slideshow };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-44936066.js';
|
|
2
|
+
import { S as StatusTagStatus } from './index-8f67b3da.js';
|
|
3
|
+
import { c as classnames } from './index-8067f807.js';
|
|
4
|
+
import './_commonjsHelpers-cb1cd7bb.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":host{--z-icon-width:14px;--z-icon-height:14px;font-family:var(--font-family-sans);height:22px;border-radius:var(--border-radius);padding-right:4px;padding-left:4px;text-transform:uppercase;display:inline-flex;align-items:center}:host(.expandable)>z-icon{margin-right:0;transition:margin-right 0.3s ease-out 0.2s}:host(:not(.expandable))>z-icon:not(:last-child),:host(.expandable:hover)>z-icon:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}:host(.expandable)>span{max-width:0;transition:max-width 0.3s ease-out 0.2s;white-space:nowrap;overflow:hidden}:host(.expandable:hover)>span{max-width:20rem;transition:max-width 0.3s ease-out 0s}:host([status=\"warning\"]){background-color:var(--status-warning-yellow-lighter);color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].light){background-color:transparent;color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].dark){background-color:var(--status-warning-yellow-dark);color:var(--status-warning-yellow-lighter);fill:var(--status-warning-yellow-lighter)}:host([status=\"error\"]){background-color:var(--status-error-red-lighter);color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].light){background-color:transparent;color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].dark){background-color:var(--status-error-red-dark);color:var(--status-error-red-lighter);fill:var(--status-error-red-lighter)}:host([status=\"success\"]){background-color:var(--status-success-green-lighter);color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].light){background-color:transparent;color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].dark){background-color:var(--status-success-green-dark);color:var(--status-success-green-lighter);fill:var(--status-success-green-lighter)}:host([status=\"default\"]){background-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].light){background-color:transparent;color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].dark){background-color:var(--myz-blue-dark);color:var(--myz-blue-lighter);fill:var(--myz-blue-lighter)}:host([status=\"neutral\"]){background-color:var(--bg-grey-050);color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].light){background-color:transparent;color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].dark){background-color:var(--bg-grey-800);color:var(--text-white);fill:var(--text-white)}";
|
|
7
|
+
|
|
8
|
+
const ZStatusTag = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
/** [optional] Status tag color */
|
|
12
|
+
this.status = StatusTagStatus.default;
|
|
13
|
+
if (!this.icon && !this.text) {
|
|
14
|
+
console.warn("z-status-tag must contain at least one prop between icon and text");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, { class: classnames(this.variant, "body-5-sb", {
|
|
19
|
+
expandable: this.expandable && this.icon && this.text,
|
|
20
|
+
}) }, this.icon && h("z-icon", { name: this.icon }), this.text && h("span", null, this.text)));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
ZStatusTag.style = stylesCss;
|
|
24
|
+
|
|
25
|
+
export { ZStatusTag as z_status_tag };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;top:calc(var(--space-unit) * 4);left:calc(var(--space-unit) * 3);right:calc(var(--space-unit) * 2);z-index:1;content:'';display:block;width:auto;margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);border-bottom:solid 2px var(--bg-grey-700)}.stepper-item{display:flex;flex-direction:column;align-items:center;width:calc(var(--space-unit) * 5);padding:0;color:inherit;font-family:inherit;font-size:18px;text-decoration:none;line-height:28px;background:transparent;border:0;outline:0;appearance:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{content:counter(stepper);box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);margin:calc(var(--space-unit) * 2);font-size:14px;font-weight:var(--font-sb);line-height:1;color:var(--myz-blue);background:var(--bg-white);border:2px solid var(--myz-blue);border-radius:50%}:host([pressed]:not([disabled])) .indicator{color:var(--text-white);background:var(--myz-blue-dark);border-color:var(--myz-blue-dark)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0px 0px 2px 2px var(--accent-dark)}:host([disabled]) .indicator{color:var(--text-grey-700);background:var(--bg-grey-200);border-color:currentColor}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
|
|
4
|
+
|
|
5
|
+
const ZStepperItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
if (this.href) {
|
|
11
|
+
return (h("a", { href: !this.disabled && this.href, class: "stepper-item" }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
|
|
12
|
+
}
|
|
13
|
+
return (h("button", { class: "stepper-item", disabled: this.disabled }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
ZStepperItem.style = stylesCss;
|
|
17
|
+
|
|
18
|
+
export { ZStepperItem as z_stepper_item };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{box-sizing:border-box;position:relative;display:flex;flex-direction:row;width:100%;max-width:100%;margin:0;padding:0;font-family:var(--dashboard-font);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
|
|
4
|
+
|
|
5
|
+
const ZStepper = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("slot", null));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZStepper.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZStepper as z_stepper };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
+
import { l as ToastNotificationPositionsEnum } from './index-8f67b3da.js';
|
|
7
3
|
|
|
8
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
9
5
|
|
|
10
6
|
const ZToastNotificationList = class {
|
|
11
7
|
constructor(hostRef) {
|
|
12
|
-
|
|
8
|
+
registerInstance(this, hostRef);
|
|
13
9
|
/**Set the entry position of new notification in the list */
|
|
14
10
|
this.newestontop = true;
|
|
15
11
|
this.slotChangeHandler = () => {
|
|
@@ -42,15 +38,15 @@ const ZToastNotificationList = class {
|
|
|
42
38
|
this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
|
|
43
39
|
}
|
|
44
40
|
render() {
|
|
45
|
-
return (
|
|
41
|
+
return (h(Host, { class: this.position
|
|
46
42
|
? this.position
|
|
47
|
-
:
|
|
43
|
+
: ToastNotificationPositionsEnum.topRight }, h("slot", { name: "toasts" })));
|
|
48
44
|
}
|
|
49
|
-
get hostElement() { return
|
|
45
|
+
get hostElement() { return getElement(this); }
|
|
50
46
|
static get watchers() { return {
|
|
51
47
|
"newestontop": ["watchPropNewestontop"]
|
|
52
48
|
}; }
|
|
53
49
|
};
|
|
54
50
|
ZToastNotificationList.style = stylesCss;
|
|
55
51
|
|
|
56
|
-
|
|
52
|
+
export { ZToastNotificationList as z_toast_notification_list };
|
package/{dist/cjs/z-toast-notification.cjs.entry.js → www/build/z-toast-notification.entry.js}
RENAMED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
7
|
-
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
|
-
const hammer = require('./hammer-6e321f0b.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
+
import { j as ToastNotificationTransitionsEnum } from './index-8f67b3da.js';
|
|
3
|
+
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
|
+
import { h as hammer } from './hammer-52e2c4fe.js';
|
|
5
|
+
import './_commonjsHelpers-cb1cd7bb.js';
|
|
9
6
|
|
|
10
7
|
const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
|
|
11
8
|
|
|
12
9
|
const ZToastNotification = class {
|
|
13
10
|
constructor(hostRef) {
|
|
14
|
-
|
|
15
|
-
this.toastClose =
|
|
11
|
+
registerInstance(this, hostRef);
|
|
12
|
+
this.toastClose = createEvent(this, "toastClose", 7);
|
|
16
13
|
/** toast notification autoclose can be paused */
|
|
17
14
|
this.pauseonfocusloss = true;
|
|
18
15
|
/** toast notification can be draggable*/
|
|
@@ -58,7 +55,7 @@ const ZToastNotification = class {
|
|
|
58
55
|
this.toastClose.emit();
|
|
59
56
|
}
|
|
60
57
|
componentWillLoad() {
|
|
61
|
-
this.isMobile = window.innerWidth <=
|
|
58
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
62
59
|
this.validateAutoclose();
|
|
63
60
|
}
|
|
64
61
|
componentDidLoad() {
|
|
@@ -76,14 +73,14 @@ const ZToastNotification = class {
|
|
|
76
73
|
}
|
|
77
74
|
mapSlideOutClass() {
|
|
78
75
|
switch (this.transition) {
|
|
79
|
-
case
|
|
80
|
-
return
|
|
81
|
-
case
|
|
82
|
-
return
|
|
83
|
-
case
|
|
84
|
-
return
|
|
85
|
-
case
|
|
86
|
-
return
|
|
76
|
+
case ToastNotificationTransitionsEnum.slideInDown:
|
|
77
|
+
return ToastNotificationTransitionsEnum.slideOutUp;
|
|
78
|
+
case ToastNotificationTransitionsEnum.slideInUp:
|
|
79
|
+
return ToastNotificationTransitionsEnum.slideOutDown;
|
|
80
|
+
case ToastNotificationTransitionsEnum.slideInLeft:
|
|
81
|
+
return ToastNotificationTransitionsEnum.slideOutRight;
|
|
82
|
+
case ToastNotificationTransitionsEnum.slideInRight:
|
|
83
|
+
return ToastNotificationTransitionsEnum.slideOutLeft;
|
|
87
84
|
}
|
|
88
85
|
}
|
|
89
86
|
calculateDraggedPercentage(e) {
|
|
@@ -91,9 +88,9 @@ const ZToastNotification = class {
|
|
|
91
88
|
return Math.round((100 * e.deltaX) / bounding.width);
|
|
92
89
|
}
|
|
93
90
|
handleSlideOutDragAnimation() {
|
|
94
|
-
this.sliderManager = new hammer
|
|
91
|
+
this.sliderManager = new hammer(this.hostElement);
|
|
95
92
|
this.sliderManager.get("pan").set({
|
|
96
|
-
direction: hammer.
|
|
93
|
+
direction: hammer.DIRECTION_HORIZONTAL,
|
|
97
94
|
});
|
|
98
95
|
this.sliderManager.on("pan", (e) => {
|
|
99
96
|
this.percentage = this.calculateDraggedPercentage(e);
|
|
@@ -104,13 +101,13 @@ const ZToastNotification = class {
|
|
|
104
101
|
translateBack: "translateX(0)",
|
|
105
102
|
};
|
|
106
103
|
this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
|
|
107
|
-
if (e.eventType === hammer.
|
|
108
|
-
e.eventType === hammer.
|
|
104
|
+
if (e.eventType === hammer.DIRECTION_LEFT ||
|
|
105
|
+
e.eventType === hammer.DIRECTION_RIGHT) {
|
|
109
106
|
this.hostElement.style.transform = translateObj.translate;
|
|
110
107
|
if (Math.abs(this.percentage) > this.draggablepercentage &&
|
|
111
108
|
!this.isCloseEventCalled) {
|
|
112
109
|
this.isCloseEventCalled = true;
|
|
113
|
-
this.emitToastClose(e.direction === hammer.
|
|
110
|
+
this.emitToastClose(e.direction === hammer.DIRECTION_LEFT
|
|
114
111
|
? "slide-out-left"
|
|
115
112
|
: "slide-out-right");
|
|
116
113
|
}
|
|
@@ -150,13 +147,13 @@ const ZToastNotification = class {
|
|
|
150
147
|
return totalWidth > parentWidth;
|
|
151
148
|
}
|
|
152
149
|
renderText() {
|
|
153
|
-
return (
|
|
150
|
+
return (h("div", { id: "text", ref: (el) => (this.toastText = el) }, h("span", { class: "title" }, this.heading), h("span", { class: "message" }, this.message)));
|
|
154
151
|
}
|
|
155
152
|
renderButton() {
|
|
156
|
-
return (
|
|
153
|
+
return (h("div", { id: "button" }, h("slot", { name: "button" })));
|
|
157
154
|
}
|
|
158
155
|
renderCloseIcon() {
|
|
159
|
-
return (this.closebutton && (
|
|
156
|
+
return (this.closebutton && (h("div", { id: "icon" }, h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
|
|
160
157
|
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
161
158
|
e.preventDefault();
|
|
162
159
|
this.emitToastClose(this.mapSlideOutClass());
|
|
@@ -164,24 +161,24 @@ const ZToastNotification = class {
|
|
|
164
161
|
} }))));
|
|
165
162
|
}
|
|
166
163
|
renderContainer() {
|
|
167
|
-
return (
|
|
164
|
+
return (h("div", { tabIndex: 0, id: "external-container", class: {
|
|
168
165
|
[this.type]: !!this.type,
|
|
169
166
|
"several-lines-padding": this.isTextLong,
|
|
170
167
|
}, ref: (el) => (this.container = el) }, this.renderText(), this.renderButton(), this.renderCloseIcon()));
|
|
171
168
|
}
|
|
172
169
|
renderMobileContainer() {
|
|
173
|
-
return (
|
|
170
|
+
return (h("div", { id: "external-container", class: {
|
|
174
171
|
[this.type]: !!this.type,
|
|
175
172
|
"several-lines-padding": this.isTextLong,
|
|
176
173
|
"mobile-wrapped": this.isTextLong,
|
|
177
|
-
} },
|
|
174
|
+
} }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
|
|
178
175
|
}
|
|
179
176
|
render() {
|
|
180
|
-
return (
|
|
177
|
+
return (h(Host, { style: {
|
|
181
178
|
["--percentuale"]: `${this.percentage}%`,
|
|
182
179
|
}, class: this.transition
|
|
183
180
|
? this.transition
|
|
184
|
-
:
|
|
181
|
+
: ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
|
|
185
182
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
186
183
|
this.startClosingTimeout(this.autoclose);
|
|
187
184
|
}
|
|
@@ -190,7 +187,7 @@ const ZToastNotification = class {
|
|
|
190
187
|
}
|
|
191
188
|
} }, this.isMobile ? this.renderMobileContainer() : this.renderContainer()));
|
|
192
189
|
}
|
|
193
|
-
get hostElement() { return
|
|
190
|
+
get hostElement() { return getElement(this); }
|
|
194
191
|
static get watchers() { return {
|
|
195
192
|
"isdraggable": ["watchPropIsdraggable"],
|
|
196
193
|
"autoclose": ["watchPropAutoclose"],
|
|
@@ -199,4 +196,4 @@ const ZToastNotification = class {
|
|
|
199
196
|
};
|
|
200
197
|
ZToastNotification.style = stylesCss;
|
|
201
198
|
|
|
202
|
-
|
|
199
|
+
export { ZToastNotification as z_toast_notification };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { r as registerInstance, f as createEvent, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
4
|
+
|
|
5
|
+
const ZToggleButton = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.toggleClick = createEvent(this, "toggleClick", 7);
|
|
9
|
+
/** disabled status flag (optional) */
|
|
10
|
+
this.isdisabled = false;
|
|
11
|
+
/** open by default (optional) */
|
|
12
|
+
this.opened = false;
|
|
13
|
+
}
|
|
14
|
+
emitToggleClick() {
|
|
15
|
+
if (this.isdisabled)
|
|
16
|
+
return;
|
|
17
|
+
this.opened = !this.opened;
|
|
18
|
+
this.toggleClick.emit(this.opened);
|
|
19
|
+
}
|
|
20
|
+
retrieveButtonClass() {
|
|
21
|
+
let className = this.opened && "isopen";
|
|
22
|
+
if (this.avoidclick)
|
|
23
|
+
className = className + " avoid-clicks";
|
|
24
|
+
return className;
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (h("button", { tabindex: this.avoidclick ? "-1" : "0", class: this.retrieveButtonClass(), disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
ZToggleButton.style = stylesCss;
|
|
31
|
+
|
|
32
|
+
export { ZToggleButton as z_toggle_button };
|