@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,133 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
outline: none;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
:host > .container,
|
|
6
|
-
:host > .container-contextual-menu {
|
|
7
|
-
--background-color-list-element: var(--bg-white);
|
|
8
|
-
--background-hover-color-list-element: var(--color-surface02);
|
|
9
|
-
--background-active-color-list-element: var(--color-surface02);
|
|
10
|
-
|
|
11
|
-
font-family: var(--font-family-sans);
|
|
12
|
-
font-weight: var(--font-rg);
|
|
13
|
-
outline: none;
|
|
14
|
-
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/*z-list-element size*/
|
|
23
|
-
|
|
24
|
-
:host([size="small"]) > .container {
|
|
25
|
-
padding: calc(var(--space-unit) / 2) 0;
|
|
26
|
-
min-height: calc(var(--space-unit) * 4);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host([size="medium"]) > .container {
|
|
30
|
-
padding: var(--space-unit) 0;
|
|
31
|
-
min-height: calc(var(--space-unit) * 5);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host([size="large"]) > .container {
|
|
35
|
-
padding: calc(var(--space-unit) * 2) 0;
|
|
36
|
-
min-height: calc(var(--space-unit) * 7);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([size="x-large"]) > .container {
|
|
40
|
-
padding: calc(var(--space-unit) * 3) 0;
|
|
41
|
-
min-height: calc(var(--space-unit) * 9);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/*-----------------*/
|
|
45
|
-
|
|
46
|
-
:host([expandable]) > .container,
|
|
47
|
-
:host([expandable]) > .container-contextual-menu,
|
|
48
|
-
:host([clickable]) > .container,
|
|
49
|
-
:host([clickable]) > .container-contextual-menu {
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:host([expandable]:hover) > .container,
|
|
54
|
-
:host([expandable]:hover) > .container-contextual-menu,
|
|
55
|
-
:host([clickable]:hover) > .container,
|
|
56
|
-
:host([clickable]:hover) > .container-contextual-menu {
|
|
57
|
-
background-color: var(--background-hover-color-list-element);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host([expandable]:focus:focus-visible) > .container,
|
|
61
|
-
:host([expandable]:focus:focus-visible) > .container-contextual-menu,
|
|
62
|
-
:host([clickable]:focus:focus-visible) > .container,
|
|
63
|
-
:host([clickable]:focus:focus-visible) > .container-contextual-menu {
|
|
64
|
-
box-shadow: var(--shadow-focus-primary);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host([expandable]:active) > .container,
|
|
68
|
-
:host([expandable]:active) > .container-contextual-menu,
|
|
69
|
-
:host([clickable]:active) > .container,
|
|
70
|
-
:host([clickable]:active) > .container-contextual-menu {
|
|
71
|
-
background-color: var(--background-active-color-list-element);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:host([align-button="left"][expandable])
|
|
75
|
-
> .container
|
|
76
|
-
> .z-list-element-container,
|
|
77
|
-
:host([align-button="left"][expandable])
|
|
78
|
-
> .container-contextual-menu
|
|
79
|
-
> .z-list-element-container {
|
|
80
|
-
display: flex;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
:host([align-button="right"][expandable])
|
|
84
|
-
> .container
|
|
85
|
-
> .z-list-element-container,
|
|
86
|
-
:host([align-button="right"][expandable])
|
|
87
|
-
> .container-contextual-menu
|
|
88
|
-
> .z-list-element-container {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: row-reverse;
|
|
91
|
-
justify-content: space-between;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:host([align-button="left"][expandable])
|
|
95
|
-
> .container
|
|
96
|
-
> .z-list-element-container
|
|
97
|
-
> z-icon,
|
|
98
|
-
:host([align-button="left"][expandable])
|
|
99
|
-
> .container-contextual-menu
|
|
100
|
-
> .z-list-element-container
|
|
101
|
-
> z-icon {
|
|
102
|
-
margin-right: var(--space-unit);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
:host([align-button="right"][expandable])
|
|
106
|
-
> .container
|
|
107
|
-
> .z-list-element-container
|
|
108
|
-
> z-icon,
|
|
109
|
-
:host([align-button="right"][expandable])
|
|
110
|
-
> .container-contextual-menu
|
|
111
|
-
> .z-list-element-container
|
|
112
|
-
> z-icon {
|
|
113
|
-
margin-left: var(--space-unit);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
:host > .container > .z-list-element-inner-container,
|
|
117
|
-
:host > .container-contextual-menu > .z-list-element-inner-container {
|
|
118
|
-
display: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
:host > .container > .z-list-element-inner-container.expanded,
|
|
122
|
-
:host > .container-contextual-menu > .z-list-element-inner-container.expanded {
|
|
123
|
-
display: block;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
:host([clickable]:hover) > .container-contextual-menu {
|
|
127
|
-
background-color: var(--color-surface03);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.container-contextual-menu:focus-visible {
|
|
131
|
-
box-shadow: var(--shadow-focus-primary);
|
|
132
|
-
outline: none;
|
|
133
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { Component, Element, h, Host, Prop } from "@stencil/core";
|
|
2
|
-
import { DividerSize, ListSize, ListDividerType } from "../../../beans";
|
|
3
|
-
export class ZListGroup {
|
|
4
|
-
constructor() {
|
|
5
|
-
/**
|
|
6
|
-
* [optional] Sets size of inside elements.
|
|
7
|
-
*/
|
|
8
|
-
this.size = ListSize.medium;
|
|
9
|
-
/**
|
|
10
|
-
* [optional] Sets the position where to insert the divider.
|
|
11
|
-
*/
|
|
12
|
-
this.dividerType = ListDividerType.none;
|
|
13
|
-
/**
|
|
14
|
-
* [optional] Sets the divider size.
|
|
15
|
-
*/
|
|
16
|
-
this.dividerSize = DividerSize.small;
|
|
17
|
-
/**
|
|
18
|
-
* [optional] Sets the divider color.
|
|
19
|
-
*/
|
|
20
|
-
this.dividerColor = "gray200";
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
const children = this.host.children;
|
|
24
|
-
for (let i = 0; i < children.length; i++) {
|
|
25
|
-
if (children.length - 1 > i) {
|
|
26
|
-
children[i].setAttribute("divider-type", this.dividerType);
|
|
27
|
-
children[i].setAttribute("divider-size", this.dividerSize);
|
|
28
|
-
children[i].setAttribute("divider-color", this.dividerColor);
|
|
29
|
-
}
|
|
30
|
-
children[i].setAttribute("size", this.size);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
componentWillLoad() {
|
|
34
|
-
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return (h(Host, { role: "group" },
|
|
38
|
-
h("div", { class: {
|
|
39
|
-
"z-list-group-header-container": true,
|
|
40
|
-
"has-header": this.hasHeader,
|
|
41
|
-
} },
|
|
42
|
-
h("slot", { name: "header-title" }),
|
|
43
|
-
this.dividerType === ListDividerType.header && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))),
|
|
44
|
-
h("slot", null)));
|
|
45
|
-
}
|
|
46
|
-
static get is() { return "z-list-group"; }
|
|
47
|
-
static get encapsulation() { return "shadow"; }
|
|
48
|
-
static get originalStyleUrls() { return {
|
|
49
|
-
"$": ["styles.css"]
|
|
50
|
-
}; }
|
|
51
|
-
static get styleUrls() { return {
|
|
52
|
-
"$": ["styles.css"]
|
|
53
|
-
}; }
|
|
54
|
-
static get properties() { return {
|
|
55
|
-
"size": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"mutable": false,
|
|
58
|
-
"complexType": {
|
|
59
|
-
"original": "ListSize",
|
|
60
|
-
"resolved": "ListSize.large | ListSize.medium | ListSize.small | typeof ListSize[\"x-large\"]",
|
|
61
|
-
"references": {
|
|
62
|
-
"ListSize": {
|
|
63
|
-
"location": "import",
|
|
64
|
-
"path": "../../../beans"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"required": false,
|
|
69
|
-
"optional": true,
|
|
70
|
-
"docs": {
|
|
71
|
-
"tags": [],
|
|
72
|
-
"text": "[optional] Sets size of inside elements."
|
|
73
|
-
},
|
|
74
|
-
"attribute": "size",
|
|
75
|
-
"reflect": true,
|
|
76
|
-
"defaultValue": "ListSize.medium"
|
|
77
|
-
},
|
|
78
|
-
"dividerType": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"mutable": false,
|
|
81
|
-
"complexType": {
|
|
82
|
-
"original": "ListDividerType",
|
|
83
|
-
"resolved": "ListDividerType.element | ListDividerType.header | ListDividerType.none",
|
|
84
|
-
"references": {
|
|
85
|
-
"ListDividerType": {
|
|
86
|
-
"location": "import",
|
|
87
|
-
"path": "../../../beans"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"required": false,
|
|
92
|
-
"optional": true,
|
|
93
|
-
"docs": {
|
|
94
|
-
"tags": [],
|
|
95
|
-
"text": "[optional] Sets the position where to insert the divider."
|
|
96
|
-
},
|
|
97
|
-
"attribute": "divider-type",
|
|
98
|
-
"reflect": true,
|
|
99
|
-
"defaultValue": "ListDividerType.none"
|
|
100
|
-
},
|
|
101
|
-
"dividerSize": {
|
|
102
|
-
"type": "string",
|
|
103
|
-
"mutable": false,
|
|
104
|
-
"complexType": {
|
|
105
|
-
"original": "DividerSize",
|
|
106
|
-
"resolved": "DividerSize.large | DividerSize.medium | DividerSize.small",
|
|
107
|
-
"references": {
|
|
108
|
-
"DividerSize": {
|
|
109
|
-
"location": "import",
|
|
110
|
-
"path": "../../../beans"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"required": false,
|
|
115
|
-
"optional": true,
|
|
116
|
-
"docs": {
|
|
117
|
-
"tags": [],
|
|
118
|
-
"text": "[optional] Sets the divider size."
|
|
119
|
-
},
|
|
120
|
-
"attribute": "divider-size",
|
|
121
|
-
"reflect": true,
|
|
122
|
-
"defaultValue": "DividerSize.small"
|
|
123
|
-
},
|
|
124
|
-
"dividerColor": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"mutable": false,
|
|
127
|
-
"complexType": {
|
|
128
|
-
"original": "string",
|
|
129
|
-
"resolved": "string",
|
|
130
|
-
"references": {}
|
|
131
|
-
},
|
|
132
|
-
"required": false,
|
|
133
|
-
"optional": true,
|
|
134
|
-
"docs": {
|
|
135
|
-
"tags": [],
|
|
136
|
-
"text": "[optional] Sets the divider color."
|
|
137
|
-
},
|
|
138
|
-
"attribute": "divider-color",
|
|
139
|
-
"reflect": true,
|
|
140
|
-
"defaultValue": "\"gray200\""
|
|
141
|
-
}
|
|
142
|
-
}; }
|
|
143
|
-
static get elementRef() { return "host"; }
|
|
144
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
font-family: var(--font-family-sans);
|
|
3
|
-
font-weight: var(--font-rg);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:host > .z-list-group-header-container {
|
|
7
|
-
color: var(--gray700);
|
|
8
|
-
|
|
9
|
-
font-size: var(--font-size-2);
|
|
10
|
-
font-weight: var(--font-sb) !important;
|
|
11
|
-
line-height: 1.4;
|
|
12
|
-
letter-spacing: 0.16px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host > .z-list-group-header-container.has-header {
|
|
16
|
-
padding-top: var(--space-unit);
|
|
17
|
-
padding-bottom: var(--space-unit);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:host > .z-list-group-header-container.has-header > z-divider {
|
|
21
|
-
margin-top: var(--space-unit);
|
|
22
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { Component, Prop, h, Element, Host, Watch } from "@stencil/core";
|
|
2
|
-
import { ToastNotificationPositionsEnum, } from "../../../beans";
|
|
3
|
-
export class ZToastNotificationList {
|
|
4
|
-
constructor() {
|
|
5
|
-
/**Set the entry position of new notification in the list */
|
|
6
|
-
this.newestontop = true;
|
|
7
|
-
this.slotChangeHandler = () => {
|
|
8
|
-
const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
|
|
9
|
-
if (difference) {
|
|
10
|
-
difference.forEach((elem) => {
|
|
11
|
-
this.notificationArray.push(elem);
|
|
12
|
-
const newElem = elem;
|
|
13
|
-
elem.remove();
|
|
14
|
-
this.hostElement.prepend(newElem);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
watchPropNewestontop(newValue) {
|
|
20
|
-
this.hostElement.append(...this.notificationArray.reverse());
|
|
21
|
-
if (newValue) {
|
|
22
|
-
this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.hostElement.shadowRoot.removeEventListener("slotchange", this.slotChangeHandler);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
componentWillLoad() {
|
|
29
|
-
this.newestontop && this.handleNewestOnTop();
|
|
30
|
-
}
|
|
31
|
-
handleNewestOnTop() {
|
|
32
|
-
this.notificationArray = Array.from(this.hostElement.children);
|
|
33
|
-
this.hostElement.append(...this.notificationArray.reverse());
|
|
34
|
-
this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return (h(Host, { class: this.position
|
|
38
|
-
? this.position
|
|
39
|
-
: ToastNotificationPositionsEnum.topRight },
|
|
40
|
-
h("slot", { name: "toasts" })));
|
|
41
|
-
}
|
|
42
|
-
static get is() { return "z-toast-notification-list"; }
|
|
43
|
-
static get encapsulation() { return "shadow"; }
|
|
44
|
-
static get originalStyleUrls() { return {
|
|
45
|
-
"$": ["styles.css"]
|
|
46
|
-
}; }
|
|
47
|
-
static get styleUrls() { return {
|
|
48
|
-
"$": ["styles.css"]
|
|
49
|
-
}; }
|
|
50
|
-
static get properties() { return {
|
|
51
|
-
"position": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"mutable": false,
|
|
54
|
-
"complexType": {
|
|
55
|
-
"original": "ToastNotificationPositionsTypes",
|
|
56
|
-
"resolved": "ToastNotificationPositionsEnum.bottomCentre | ToastNotificationPositionsEnum.bottomLeft | ToastNotificationPositionsEnum.bottomRight | ToastNotificationPositionsEnum.topCentre | ToastNotificationPositionsEnum.topLeft | ToastNotificationPositionsEnum.topRight",
|
|
57
|
-
"references": {
|
|
58
|
-
"ToastNotificationPositionsTypes": {
|
|
59
|
-
"location": "import",
|
|
60
|
-
"path": "../../../beans"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"required": false,
|
|
65
|
-
"optional": false,
|
|
66
|
-
"docs": {
|
|
67
|
-
"tags": [],
|
|
68
|
-
"text": "Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right"
|
|
69
|
-
},
|
|
70
|
-
"attribute": "position",
|
|
71
|
-
"reflect": false
|
|
72
|
-
},
|
|
73
|
-
"newestontop": {
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"mutable": false,
|
|
76
|
-
"complexType": {
|
|
77
|
-
"original": "boolean",
|
|
78
|
-
"resolved": "boolean",
|
|
79
|
-
"references": {}
|
|
80
|
-
},
|
|
81
|
-
"required": false,
|
|
82
|
-
"optional": true,
|
|
83
|
-
"docs": {
|
|
84
|
-
"tags": [],
|
|
85
|
-
"text": "Set the entry position of new notification in the list"
|
|
86
|
-
},
|
|
87
|
-
"attribute": "newestontop",
|
|
88
|
-
"reflect": false,
|
|
89
|
-
"defaultValue": "true"
|
|
90
|
-
}
|
|
91
|
-
}; }
|
|
92
|
-
static get elementRef() { return "hostElement"; }
|
|
93
|
-
static get watchers() { return [{
|
|
94
|
-
"propName": "newestontop",
|
|
95
|
-
"methodName": "watchPropNewestontop"
|
|
96
|
-
}]; }
|
|
97
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
font-family: var(--font-family-sans);
|
|
3
|
-
font-weight: var(--font-rg);
|
|
4
|
-
position: fixed;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
flex-wrap: nowrap;
|
|
8
|
-
z-index: 10000;
|
|
9
|
-
margin-bottom: calc(var(--space-unit) * 2);
|
|
10
|
-
margin-top: calc(var(--space-unit) * 2);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
::slotted(z-toast-notification){
|
|
14
|
-
width: 100vw;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
::slotted(:not(:last-child)) {
|
|
18
|
-
margin-bottom: calc(var(--space-unit) * 1);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host(.bottom-centre),
|
|
22
|
-
:host(.bottom-right),
|
|
23
|
-
:host(.bottom-left) {
|
|
24
|
-
justify-content: flex-end;
|
|
25
|
-
align-items: flex-end;
|
|
26
|
-
bottom: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host(.top-left),
|
|
30
|
-
:host(.top-right),
|
|
31
|
-
:host(.top-centre) {
|
|
32
|
-
justify-content: flex-start;
|
|
33
|
-
align-items: flex-start;
|
|
34
|
-
top: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/* Tablet breakpoint */
|
|
39
|
-
@media only screen and (min-width: 768px) {
|
|
40
|
-
|
|
41
|
-
:host {
|
|
42
|
-
margin: calc(var(--space-unit) * 3);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host(.top-centre) {
|
|
46
|
-
justify-content: flex-start;
|
|
47
|
-
align-items: center;
|
|
48
|
-
top: 0;
|
|
49
|
-
left: 50%;
|
|
50
|
-
transform: translateX(-50%);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:host(.top-left) {
|
|
54
|
-
justify-content: flex-start;
|
|
55
|
-
align-items: flex-start;
|
|
56
|
-
top: 0;
|
|
57
|
-
left: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host(.top-right) {
|
|
61
|
-
justify-content: flex-start;
|
|
62
|
-
align-items: flex-end;
|
|
63
|
-
top: 0;
|
|
64
|
-
right: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host(.bottom-centre) {
|
|
68
|
-
justify-content: flex-end;
|
|
69
|
-
align-items: center;
|
|
70
|
-
bottom: 0;
|
|
71
|
-
left: 50%;
|
|
72
|
-
transform: translateX(-50%);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host(.bottom-right) {
|
|
76
|
-
justify-content: flex-end;
|
|
77
|
-
align-items: flex-end;
|
|
78
|
-
bottom: 0;
|
|
79
|
-
right: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
:host(.bottom-left) {
|
|
83
|
-
justify-content: flex-end;
|
|
84
|
-
align-items: flex-start;
|
|
85
|
-
bottom: 0;
|
|
86
|
-
left: 0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
::slotted(z-toast-notification){
|
|
90
|
-
width: 50vw;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* Desktop breakpoint */
|
|
95
|
-
@media only screen and (min-width: 1152px) {}
|
|
96
|
-
|
|
97
|
-
/* Wide breakpoint */
|
|
98
|
-
@media only screen and (min-width: 1366px) {
|
|
99
|
-
|
|
100
|
-
:host {
|
|
101
|
-
margin: calc(var(--space-unit) * 4);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
::slotted(z-toast-notification){
|
|
105
|
-
width: 33vw;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { Component, Prop, Host, h } from "@stencil/core";
|
|
2
|
-
export class ZLogo {
|
|
3
|
-
render() {
|
|
4
|
-
const style = {};
|
|
5
|
-
if (this.width) {
|
|
6
|
-
style["width"] = style["max-width"] = `${this.width}px`;
|
|
7
|
-
}
|
|
8
|
-
if (this.height) {
|
|
9
|
-
style["height"] = style["max-height"] = `${this.height}px`;
|
|
10
|
-
}
|
|
11
|
-
return (h(Host, { style: style, class: { "mobile": !!this.mobileLogo } }, this.link ?
|
|
12
|
-
h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" },
|
|
13
|
-
h("img", { alt: this.imageAlt })) :
|
|
14
|
-
h("img", { alt: this.imageAlt })));
|
|
15
|
-
}
|
|
16
|
-
static get is() { return "z-logo"; }
|
|
17
|
-
static get encapsulation() { return "shadow"; }
|
|
18
|
-
static get originalStyleUrls() { return {
|
|
19
|
-
"$": ["styles.css"]
|
|
20
|
-
}; }
|
|
21
|
-
static get styleUrls() { return {
|
|
22
|
-
"$": ["styles.css"]
|
|
23
|
-
}; }
|
|
24
|
-
static get properties() { return {
|
|
25
|
-
"width": {
|
|
26
|
-
"type": "number",
|
|
27
|
-
"mutable": false,
|
|
28
|
-
"complexType": {
|
|
29
|
-
"original": "number",
|
|
30
|
-
"resolved": "number",
|
|
31
|
-
"references": {}
|
|
32
|
-
},
|
|
33
|
-
"required": false,
|
|
34
|
-
"optional": true,
|
|
35
|
-
"docs": {
|
|
36
|
-
"tags": [],
|
|
37
|
-
"text": "image width"
|
|
38
|
-
},
|
|
39
|
-
"attribute": "width",
|
|
40
|
-
"reflect": false
|
|
41
|
-
},
|
|
42
|
-
"height": {
|
|
43
|
-
"type": "number",
|
|
44
|
-
"mutable": false,
|
|
45
|
-
"complexType": {
|
|
46
|
-
"original": "number",
|
|
47
|
-
"resolved": "number",
|
|
48
|
-
"references": {}
|
|
49
|
-
},
|
|
50
|
-
"required": false,
|
|
51
|
-
"optional": true,
|
|
52
|
-
"docs": {
|
|
53
|
-
"tags": [],
|
|
54
|
-
"text": "image height"
|
|
55
|
-
},
|
|
56
|
-
"attribute": "height",
|
|
57
|
-
"reflect": false
|
|
58
|
-
},
|
|
59
|
-
"imageAlt": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"mutable": false,
|
|
62
|
-
"complexType": {
|
|
63
|
-
"original": "string",
|
|
64
|
-
"resolved": "string",
|
|
65
|
-
"references": {}
|
|
66
|
-
},
|
|
67
|
-
"required": false,
|
|
68
|
-
"optional": true,
|
|
69
|
-
"docs": {
|
|
70
|
-
"tags": [],
|
|
71
|
-
"text": "alternative image text"
|
|
72
|
-
},
|
|
73
|
-
"attribute": "image-alt",
|
|
74
|
-
"reflect": false
|
|
75
|
-
},
|
|
76
|
-
"link": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"mutable": false,
|
|
79
|
-
"complexType": {
|
|
80
|
-
"original": "string",
|
|
81
|
-
"resolved": "string",
|
|
82
|
-
"references": {}
|
|
83
|
-
},
|
|
84
|
-
"required": false,
|
|
85
|
-
"optional": true,
|
|
86
|
-
"docs": {
|
|
87
|
-
"tags": [],
|
|
88
|
-
"text": "link url (optional)"
|
|
89
|
-
},
|
|
90
|
-
"attribute": "link",
|
|
91
|
-
"reflect": false
|
|
92
|
-
},
|
|
93
|
-
"targetBlank": {
|
|
94
|
-
"type": "boolean",
|
|
95
|
-
"mutable": false,
|
|
96
|
-
"complexType": {
|
|
97
|
-
"original": "boolean",
|
|
98
|
-
"resolved": "boolean",
|
|
99
|
-
"references": {}
|
|
100
|
-
},
|
|
101
|
-
"required": false,
|
|
102
|
-
"optional": true,
|
|
103
|
-
"docs": {
|
|
104
|
-
"tags": [],
|
|
105
|
-
"text": "link target: true means _blank, false means _self"
|
|
106
|
-
},
|
|
107
|
-
"attribute": "target-blank",
|
|
108
|
-
"reflect": false
|
|
109
|
-
},
|
|
110
|
-
"mobileLogo": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"mutable": false,
|
|
113
|
-
"complexType": {
|
|
114
|
-
"original": "boolean",
|
|
115
|
-
"resolved": "boolean",
|
|
116
|
-
"references": {}
|
|
117
|
-
},
|
|
118
|
-
"required": false,
|
|
119
|
-
"optional": true,
|
|
120
|
-
"docs": {
|
|
121
|
-
"tags": [],
|
|
122
|
-
"text": "if true, the mobile logo is displayed, otherwise the desktop one"
|
|
123
|
-
},
|
|
124
|
-
"attribute": "mobile-logo",
|
|
125
|
-
"reflect": false
|
|
126
|
-
}
|
|
127
|
-
}; }
|
|
128
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
vertical-align: top;
|
|
4
|
-
width: 255px;
|
|
5
|
-
height: 64px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
img {
|
|
9
|
-
display: block;
|
|
10
|
-
margin: auto;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
a {
|
|
17
|
-
display: block;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:host(.mobile) {
|
|
23
|
-
width: 31px;
|
|
24
|
-
height: 40px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host(.mobile) img {
|
|
28
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
29
|
-
}
|