@zanichelli/albe-web-components 2.33.5-rc1 → 2.34.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/LICENSE +21 -21
- package/dist/cjs/_commonjsHelpers-119ffc74.js +17 -0
- package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
- package/{www/build/hammer-52e2c4fe.js → dist/cjs/hammer-54230951.js} +6 -5
- package/{www/build/icons-c51b7576.js → dist/cjs/icons-05eba7ee.js} +476 -473
- package/{www/build/index-8067f807.js → dist/cjs/index-9651dba8.js} +6 -10
- package/dist/cjs/index-de6c491e.js +256 -0
- package/dist/cjs/index-dee3e21d.js +1694 -0
- package/dist/cjs/index.cjs.js +13 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-12053886.js +75 -0
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/{web-components-library/z-alert.entry.js → cjs/z-alert.cjs.entry.js} +14 -10
- package/{www/build/z-app-header.entry.js → dist/cjs/z-app-header.cjs.entry.js} +139 -135
- package/dist/{web-components-library/z-app-switcher.entry.js → cjs/z-app-switcher.cjs.entry.js} +24 -20
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +18 -0
- package/{www/build/z-avatar.entry.js → dist/cjs/z-avatar.cjs.entry.js} +38 -34
- package/dist/cjs/z-body_14.cjs.entry.js +513 -0
- package/dist/cjs/z-button-filter_5.cjs.entry.js +620 -0
- package/{www/build/z-button-sort.entry.js → dist/cjs/z-button-sort.cjs.entry.js} +49 -45
- package/dist/{web-components-library/z-candybar.entry.js → cjs/z-candybar.cjs.entry.js} +14 -10
- package/dist/{web-components-library/z-card.entry.js → cjs/z-card.cjs.entry.js} +53 -49
- package/dist/{web-components-library/z-chip.entry.js → cjs/z-chip.cjs.entry.js} +19 -15
- package/{www/build/z-combobox.entry.js → dist/cjs/z-combobox.cjs.entry.js} +166 -162
- package/dist/cjs/z-contextual-menu.cjs.entry.js +40 -0
- package/{www/build/z-cookiebar.entry.js → dist/cjs/z-cookiebar.cjs.entry.js} +37 -33
- package/{www/build/z-divider.entry.js → dist/cjs/z-divider.cjs.entry.js} +21 -17
- package/dist/cjs/z-footer-link_3.cjs.entry.js +49 -0
- package/{www/build/z-footer.entry.js → dist/cjs/z-footer.cjs.entry.js} +97 -93
- package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
- package/dist/cjs/z-heading.cjs.entry.js +17 -0
- package/dist/cjs/z-icon-package.cjs.entry.js +23 -0
- package/{www/build/z-info-box.entry.js → dist/cjs/z-info-box.cjs.entry.js} +20 -16
- package/dist/{web-components-library/z-link.entry.js → cjs/z-link.cjs.entry.js} +66 -62
- package/dist/cjs/z-list_3.cjs.entry.js +226 -0
- package/dist/{web-components-library/z-logo.entry.js → cjs/z-logo.cjs.entry.js} +23 -19
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +89 -0
- package/{www/build/z-menu-section.entry.js → dist/cjs/z-menu-section.cjs.entry.js} +41 -37
- package/dist/{web-components-library/z-menu.entry.js → cjs/z-menu.cjs.entry.js} +105 -101
- package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +42 -38
- package/dist/cjs/z-modal-login.cjs.entry.js +81 -0
- package/dist/cjs/z-modal.cjs.entry.js +36 -0
- package/{www/build/z-myz-card-alert.entry.js → dist/cjs/z-myz-card-alert.cjs.entry.js} +58 -54
- package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +31 -27
- package/dist/{web-components-library/z-myz-card-footer-sections.entry.js → cjs/z-myz-card-footer-sections.cjs.entry.js} +14 -10
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +52 -0
- package/{www/build/z-myz-card-icon.entry.js → dist/cjs/z-myz-card-icon.cjs.entry.js} +16 -12
- package/{www/build/z-myz-card-info.entry.js → dist/cjs/z-myz-card-info.cjs.entry.js} +115 -111
- package/dist/{web-components-library/z-myz-card-list.entry.js → cjs/z-myz-card-list.cjs.entry.js} +32 -28
- package/dist/cjs/z-myz-card_4.cjs.entry.js +101 -0
- package/{www/build/z-myz-list-item.entry.js → dist/cjs/z-myz-list-item.cjs.entry.js} +32 -28
- package/dist/{web-components-library/z-myz-topbar.entry.js → cjs/z-myz-topbar.cjs.entry.js} +189 -185
- package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +40 -36
- package/dist/{web-components-library/z-navigation-tabs.entry.js → cjs/z-navigation-tabs.cjs.entry.js} +96 -92
- package/{www/build/z-notification.entry.js → dist/cjs/z-notification.cjs.entry.js} +37 -33
- package/dist/{web-components-library/z-otp.entry.js → cjs/z-otp.cjs.entry.js} +36 -32
- package/{www/build/z-pagination-bar.entry.js → dist/cjs/z-pagination-bar.cjs.entry.js} +123 -121
- package/dist/{web-components-library/z-pagination-page.entry.js → cjs/z-pagination-page.cjs.entry.js} +20 -16
- package/dist/cjs/z-panel-elem.cjs.entry.js +30 -0
- package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +14 -10
- package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
- package/dist/cjs/z-registro-table-expanded-row.cjs.entry.js +19 -0
- package/dist/{web-components-library/z-registro-table-footer.entry.js → cjs/z-registro-table-footer.cjs.entry.js} +18 -14
- package/dist/{web-components-library/z-slideshow.entry.js → cjs/z-slideshow.cjs.entry.js} +107 -103
- package/{www/build/z-status-tag.entry.js → dist/cjs/z-status-tag.cjs.entry.js} +24 -20
- package/{www/build/z-stepper-item.entry.js → dist/cjs/z-stepper-item.cjs.entry.js} +17 -13
- package/{www/build/z-stepper.entry.js → dist/cjs/z-stepper.cjs.entry.js} +14 -10
- package/{www/build/z-toast-notification-list.entry.js → dist/cjs/z-toast-notification-list.cjs.entry.js} +51 -47
- package/dist/{web-components-library/z-toast-notification.entry.js → cjs/z-toast-notification.cjs.entry.js} +198 -194
- package/dist/{web-components-library/z-toggle-button.entry.js → cjs/z-toggle-button.cjs.entry.js} +31 -27
- package/{www/build/z-tooltip.entry.js → dist/cjs/z-tooltip.cjs.entry.js} +269 -265
- package/dist/{web-components-library/z-user-dropdown.entry.js → cjs/z-user-dropdown.cjs.entry.js} +90 -86
- package/{www/build/z-visually-hidden.entry.js → dist/cjs/z-visually-hidden.cjs.entry.js} +14 -10
- package/{www/build/index-08d9a3bf.js → dist/collection/beans/index.js} +253 -255
- package/dist/collection/collection-manifest.json +100 -0
- package/dist/collection/components/buttons/z-button/index.js +219 -0
- package/dist/collection/components/buttons/z-button/styles.css +231 -0
- package/dist/collection/components/buttons/z-button-filter/index.js +155 -0
- package/dist/collection/components/buttons/z-button-filter/styles.css +74 -0
- package/dist/collection/components/buttons/z-button-sort/index.js +216 -0
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -0
- package/dist/collection/components/buttons/z-chip/index.js +59 -0
- package/dist/collection/components/buttons/z-chip/styles.css +17 -0
- package/dist/collection/components/buttons/z-toggle-button/index.js +122 -0
- package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -0
- package/dist/collection/components/footer/z-footer/index.js +286 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +37 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +33 -0
- package/dist/collection/components/footer/z-footer-section/index.js +51 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +163 -0
- package/dist/collection/components/footer/z-footer-social/index.js +68 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +23 -0
- package/dist/collection/components/icons/icons.js +474 -0
- package/dist/collection/components/icons/z-icon/index.js +110 -0
- package/dist/collection/components/icons/z-icon/styles.css +14 -0
- package/dist/collection/components/icons/z-icon-package/index.js +20 -0
- package/dist/collection/components/icons/z-icon-package/styles.css +16 -0
- package/dist/collection/components/indicators/z-stepper/index.js +17 -0
- package/dist/collection/components/indicators/z-stepper/styles.css +19 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +93 -0
- package/dist/collection/components/indicators/z-stepper-item/styles.css +115 -0
- package/dist/collection/components/inputs/z-combobox/index.js +480 -0
- package/dist/collection/components/inputs/z-combobox/styles.css +148 -0
- package/dist/collection/components/inputs/z-input/index.js +821 -0
- package/dist/collection/components/inputs/z-input/styles.css +304 -0
- package/dist/collection/components/inputs/z-input-label/index.js +72 -0
- package/dist/collection/components/inputs/z-input-label/styles.css +16 -0
- package/dist/collection/components/inputs/z-input-message/index.js +64 -0
- package/dist/collection/components/inputs/z-input-message/styles.css +33 -0
- package/dist/collection/components/inputs/z-select/index.js +647 -0
- package/dist/collection/components/inputs/z-select/styles.css +131 -0
- package/dist/collection/components/list/z-list/index.js +57 -0
- package/dist/collection/components/list/z-list/styles.css +7 -0
- package/dist/collection/components/list/z-list-element/index.js +439 -0
- package/dist/collection/components/list/z-list-element/styles.css +133 -0
- package/dist/collection/components/list/z-list-group/index.js +144 -0
- package/dist/collection/components/list/z-list-group/styles.css +22 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +97 -0
- package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -0
- package/dist/collection/components/logo/z-logo/index.js +128 -0
- package/dist/collection/components/logo/z-logo/styles.css +29 -0
- package/dist/collection/components/modal/z-modal/index.js +160 -0
- package/dist/collection/components/modal/z-modal/styles.css +185 -0
- package/dist/collection/components/modal/z-modal-login/index.js +272 -0
- package/dist/collection/components/modal/z-modal-login/styles.css +159 -0
- package/dist/collection/components/navigation/z-app-header/index.js +267 -0
- package/dist/collection/components/navigation/z-app-header/styles.css +445 -0
- package/dist/collection/components/navigation/z-app-switcher/index.js +70 -0
- package/dist/collection/components/navigation/z-app-switcher/styles.css +35 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +156 -0
- package/dist/collection/components/navigation/z-app-topbar/styles.css +71 -0
- package/dist/collection/components/navigation/z-link/index.js +309 -0
- package/dist/collection/components/navigation/z-link/styles.css +164 -0
- package/dist/collection/components/navigation/z-menu/index.js +223 -0
- package/dist/collection/components/navigation/z-menu/styles.css +149 -0
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +125 -0
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +146 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +109 -0
- package/dist/collection/components/navigation/z-menu-section/styles.css +91 -0
- package/dist/collection/components/navigation/z-navigation-tab/index.js +151 -0
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +113 -0
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +179 -0
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +117 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +252 -0
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +315 -0
- package/dist/collection/components/notification/z-candybar/index.js +18 -0
- package/dist/collection/components/notification/z-candybar/styles.css +61 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +111 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +109 -0
- package/dist/collection/components/notification/z-info-box/index.js +79 -0
- package/dist/collection/components/notification/z-info-box/styles.css +23 -0
- package/dist/collection/components/notification/z-notification/index.js +171 -0
- package/dist/collection/components/notification/z-notification/styles.css +93 -0
- package/dist/collection/components/notification/z-toast-notification/index.js +402 -0
- package/dist/collection/components/notification/z-toast-notification/styles.css +247 -0
- package/dist/collection/components/notification/z-tooltip/index.js +379 -0
- package/dist/collection/components/notification/z-tooltip/styles.css +128 -0
- package/dist/collection/components/pagination/z-pagination-bar/index.js +278 -0
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +23 -0
- package/dist/collection/components/pagination/z-pagination-page/index.js +129 -0
- package/dist/collection/components/pagination/z-pagination-page/styles.css +57 -0
- package/dist/collection/components/panel/z-panel-elem/index.js +193 -0
- package/dist/collection/components/panel/z-panel-elem/styles.css +39 -0
- package/dist/collection/components/typography/z-body/index.js +66 -0
- package/dist/collection/components/typography/z-heading/index.js +66 -0
- package/dist/collection/components/typography/z-typography/index.js +84 -0
- package/dist/collection/components/typography/z-typography/styles.css +61 -0
- package/dist/collection/components/z-aria-alert/index.js +32 -0
- package/dist/collection/components/z-avatar/index.js +137 -0
- package/dist/collection/components/z-avatar/styles.css +35 -0
- package/dist/collection/components/z-card/index.js +153 -0
- package/dist/collection/components/z-card/styles.css +188 -0
- package/dist/collection/components/z-contextual-menu/index.js +122 -0
- package/dist/collection/components/z-contextual-menu/styles.css +45 -0
- package/dist/collection/components/z-divider/index.js +89 -0
- package/dist/collection/components/z-divider/styles.css +37 -0
- package/dist/collection/components/z-ghost-loading/index.js +14 -0
- package/dist/collection/components/z-ghost-loading/styles.css +34 -0
- package/dist/collection/components/z-popover/index.js +273 -0
- package/dist/collection/components/z-popover/styles.css +236 -0
- package/dist/collection/components/z-status-tag/index.js +125 -0
- package/dist/collection/components/z-status-tag/styles.css +133 -0
- package/dist/collection/components/z-visually-hidden/index.js +14 -0
- package/dist/collection/components/z-visually-hidden/styles.css +12 -0
- package/dist/{web-components-library/breakpoints-14432d05.js → collection/constants/breakpoints.js} +2 -3
- package/dist/collection/constants/icons.js +6 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +119 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +38 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +148 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +20 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +87 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +85 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +190 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +137 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +23 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +32 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +101 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +46 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +74 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +70 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +213 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +124 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +53 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +70 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +188 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +48 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +121 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +106 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +56 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +49 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +86 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +40 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +23 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +53 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +428 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +594 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +42 -0
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +114 -0
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +165 -0
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +128 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +365 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +166 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +19 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +9 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +83 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +57 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +69 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +24 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +35 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +9 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +18 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +5 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +18 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +5 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +244 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +63 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +37 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +13 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +86 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +54 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +17 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +11 -0
- package/dist/collection/themes/index.story.js +18 -0
- package/{www/build/utils-2e0fffb8.js → dist/collection/utils/utils.js} +81 -84
- package/dist/esm/_commonjsHelpers-8b28c6fa.js +15 -0
- package/{www/build/breakpoints-14432d05.js → dist/esm/breakpoints-c386984e.js} +1 -1
- package/dist/{web-components-library/hammer-52e2c4fe.js → esm/hammer-501342a9.js} +2 -3
- package/dist/{web-components-library/icons-c51b7576.js → esm/icons-bceeb196.js} +473 -472
- package/dist/{web-components-library/index-08d9a3bf.js → esm/index-09b57d95.js} +254 -254
- package/dist/{web-components-library/index-8067f807.js → esm/index-aa3a4feb.js} +2 -8
- package/dist/esm/index-fa9e549c.js +1666 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/{web-components-library/utils-2e0fffb8.js → esm/utils-f0067254.js} +64 -82
- package/dist/esm/web-components-library.js +17 -0
- package/{www/build → dist/esm}/z-alert.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-app-header.entry.js +134 -134
- package/{www/build → dist/esm}/z-app-switcher.entry.js +19 -19
- package/dist/{web-components-library → esm}/z-app-topbar.entry.js +31 -31
- package/{www/build → dist/esm}/z-aria-alert.entry.js +10 -10
- package/dist/{web-components-library → esm}/z-avatar.entry.js +33 -33
- package/dist/esm/z-body_14.entry.js +496 -0
- package/dist/esm/z-button-filter_5.entry.js +612 -0
- package/dist/{web-components-library → esm}/z-button-sort.entry.js +44 -44
- package/{www/build → dist/esm}/z-candybar.entry.js +9 -9
- package/{www/build → dist/esm}/z-card.entry.js +48 -48
- package/{www/build → dist/esm}/z-chip.entry.js +14 -14
- package/dist/{web-components-library → esm}/z-combobox.entry.js +161 -161
- package/dist/{web-components-library → esm}/z-contextual-menu.entry.js +30 -30
- package/dist/{web-components-library → esm}/z-cookiebar.entry.js +32 -32
- package/dist/{web-components-library → esm}/z-divider.entry.js +16 -16
- package/dist/esm/z-footer-link_3.entry.js +43 -0
- package/dist/{web-components-library → esm}/z-footer.entry.js +92 -92
- package/{www/build → dist/esm}/z-ghost-loading.entry.js +10 -10
- package/dist/{web-components-library → esm}/z-heading.entry.js +9 -9
- package/{www/build → dist/esm}/z-icon-package.entry.js +13 -13
- package/dist/{web-components-library → esm}/z-info-box.entry.js +15 -15
- package/{www/build → dist/esm}/z-link.entry.js +61 -61
- package/dist/esm/z-list_3.entry.js +220 -0
- package/{www/build → dist/esm}/z-logo.entry.js +18 -18
- package/dist/esm/z-menu-dropdown_2.entry.js +84 -0
- package/dist/{web-components-library → esm}/z-menu-section.entry.js +36 -36
- package/{www/build → dist/esm}/z-menu.entry.js +100 -100
- package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +37 -37
- package/{www/build → dist/esm}/z-modal-login.entry.js +72 -72
- package/{www/build → dist/esm}/z-modal.entry.js +27 -27
- package/dist/{web-components-library → esm}/z-myz-card-alert.entry.js +53 -53
- package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +26 -26
- package/{www/build → dist/esm}/z-myz-card-footer-sections.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-myz-card-footer.entry.js +43 -43
- package/dist/{web-components-library → esm}/z-myz-card-icon.entry.js +11 -11
- package/dist/{web-components-library → esm}/z-myz-card-info.entry.js +110 -110
- package/{www/build → dist/esm}/z-myz-card-list.entry.js +27 -27
- package/dist/esm/z-myz-card_4.entry.js +94 -0
- package/dist/{web-components-library → esm}/z-myz-list-item.entry.js +27 -27
- package/{www/build → dist/esm}/z-myz-topbar.entry.js +184 -184
- package/{www/build → dist/esm}/z-navigation-tab.entry.js +35 -35
- package/{www/build → dist/esm}/z-navigation-tabs.entry.js +91 -91
- package/dist/{web-components-library → esm}/z-notification.entry.js +32 -32
- package/{www/build → dist/esm}/z-otp.entry.js +31 -31
- package/dist/{web-components-library → esm}/z-pagination-bar.entry.js +118 -120
- package/{www/build → dist/esm}/z-pagination-page.entry.js +15 -15
- package/{www/build → dist/esm}/z-panel-elem.entry.js +20 -20
- package/{www/build → dist/esm}/z-pocket-message.entry.js +9 -9
- package/dist/esm/z-pocket_3.entry.js +119 -0
- package/{www/build → dist/esm}/z-registro-table-expanded-row.entry.js +9 -9
- package/{www/build → dist/esm}/z-registro-table-footer.entry.js +13 -13
- package/{www/build → dist/esm}/z-slideshow.entry.js +102 -102
- package/dist/{web-components-library → esm}/z-status-tag.entry.js +19 -19
- package/dist/{web-components-library → esm}/z-stepper-item.entry.js +12 -12
- package/dist/{web-components-library → esm}/z-stepper.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-toast-notification-list.entry.js +46 -46
- package/{www/build → dist/esm}/z-toast-notification.entry.js +193 -193
- package/{www/build → dist/esm}/z-toggle-button.entry.js +26 -26
- package/dist/{web-components-library → esm}/z-tooltip.entry.js +264 -264
- package/{www/build → dist/esm}/z-user-dropdown.entry.js +85 -85
- package/dist/{web-components-library → esm}/z-visually-hidden.entry.js +9 -9
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/beans/index.d.ts +338 -338
- package/dist/types/components/buttons/z-button/index.d.ts +29 -29
- package/dist/types/components/buttons/z-button-filter/index.d.ts +22 -22
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +6 -6
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +16 -16
- package/dist/types/components/footer/z-footer/index.d.ts +46 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -9
- package/dist/types/components/icons/icons.d.ts +444 -443
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- package/dist/types/components/icons/z-icon-package/index.d.ts +3 -3
- package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
- package/dist/types/components/inputs/z-combobox/index.d.ts +62 -62
- package/dist/types/components/inputs/z-input/index.d.ts +102 -102
- package/dist/types/components/inputs/z-input-label/index.d.ts +9 -9
- package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
- package/dist/types/components/inputs/z-select/index.d.ts +73 -73
- package/dist/types/components/list/z-list/index.d.ts +11 -11
- package/dist/types/components/list/z-list-element/index.d.ts +79 -79
- package/dist/types/components/list/z-list-group/index.d.ts +24 -24
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
- package/dist/types/components/logo/z-logo/index.d.ts +15 -15
- package/dist/types/components/modal/z-modal/index.d.ts +25 -25
- package/dist/types/components/modal/z-modal-login/index.d.ts +42 -42
- package/dist/types/components/navigation/z-app-header/index.d.ts +67 -67
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +12 -12
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +20 -20
- package/dist/types/components/navigation/z-link/index.d.ts +41 -41
- package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +19 -19
- package/dist/types/components/navigation/z-menu-section/index.d.ts +24 -24
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +16 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +32 -32
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +39 -39
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -16
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
- package/dist/types/components/notification/z-notification/index.d.ts +24 -24
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +41 -41
- package/dist/types/components/pagination/z-pagination-bar/index.d.ts +42 -42
- package/dist/types/components/pagination/z-pagination-page/index.d.ts +15 -15
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
- package/dist/types/components/typography/z-body/index.d.ts +6 -6
- package/dist/types/components/typography/z-heading/index.d.ts +6 -6
- package/dist/types/components/typography/z-typography/index.d.ts +8 -8
- package/dist/types/components/z-aria-alert/index.d.ts +4 -4
- package/dist/types/components/z-avatar/index.d.ts +16 -16
- package/dist/types/components/z-card/index.d.ts +29 -29
- package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
- package/dist/types/components/z-divider/index.d.ts +10 -10
- package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
- package/dist/types/components/z-popover/index.d.ts +29 -29
- package/dist/types/components/z-status-tag/index.d.ts +15 -15
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
- package/dist/types/components.d.ts +0 -2
- package/dist/types/constants/breakpoints.d.ts +3 -3
- package/dist/types/constants/icons.d.ts +6 -6
- package/dist/types/index.d.ts +5 -5
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +20 -20
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +23 -23
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +10 -10
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/topbar/index.d.ts +61 -61
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
- package/dist/types/snowflakes/registro-table/z-registro-table/index.d.ts +48 -48
- package/dist/types/snowflakes/registro-table/z-registro-table-body/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-cell/index.d.ts +12 -12
- package/dist/types/snowflakes/registro-table/z-registro-table-empty-box/index.d.ts +12 -12
- package/dist/types/snowflakes/registro-table/z-registro-table-expanded-row/index.d.ts +5 -6
- package/dist/types/snowflakes/registro-table/z-registro-table-footer/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-head/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +27 -27
- package/dist/types/snowflakes/registro-table/z-registro-table-header-row/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-row/index.d.ts +11 -11
- package/dist/types/snowflakes/registro-table/z-registro-table-sticky-footer/index.d.ts +6 -6
- package/dist/types/utils/utils.d.ts +11 -11
- package/dist/web-components-library/index.esm.js +1 -9
- package/dist/web-components-library/p-017370c7.entry.js +1 -0
- package/dist/web-components-library/p-01d11ec3.entry.js +1 -0
- package/dist/web-components-library/p-0455dc43.entry.js +1 -0
- package/dist/web-components-library/p-05f4fa42.entry.js +1 -0
- package/dist/web-components-library/p-08158e57.entry.js +1 -0
- package/dist/web-components-library/p-0ce6293a.entry.js +1 -0
- package/dist/web-components-library/p-0e6906af.js +1 -0
- package/dist/web-components-library/p-0fe60379.entry.js +1 -0
- package/dist/web-components-library/p-10ad64bc.entry.js +1 -0
- package/dist/web-components-library/p-140cc18f.entry.js +1 -0
- package/dist/web-components-library/p-18705ae9.entry.js +1 -0
- package/dist/web-components-library/p-1c72783c.entry.js +1 -0
- package/dist/web-components-library/p-1d371408.js +7 -0
- package/dist/web-components-library/p-250926fe.entry.js +1 -0
- package/dist/web-components-library/p-255c9150.entry.js +1 -0
- package/dist/web-components-library/p-3247dee9.js +7 -0
- package/dist/web-components-library/p-34f4e805.entry.js +1 -0
- package/dist/web-components-library/p-35fd465c.entry.js +1 -0
- package/dist/web-components-library/p-400e26c7.entry.js +1 -0
- package/dist/web-components-library/p-483d10ba.entry.js +1 -0
- package/dist/web-components-library/p-4a414eb2.entry.js +1 -0
- package/dist/web-components-library/p-5bbbc979.entry.js +1 -0
- package/dist/web-components-library/p-5e2762e6.entry.js +1 -0
- package/dist/web-components-library/p-5fa8dc13.entry.js +1 -0
- package/dist/web-components-library/p-60e40371.entry.js +1 -0
- package/dist/web-components-library/p-6583cbec.entry.js +1 -0
- package/dist/web-components-library/p-698e18cf.entry.js +1 -0
- package/dist/web-components-library/p-71cc7ed0.entry.js +1 -0
- package/dist/web-components-library/p-74fb3d69.entry.js +1 -0
- package/dist/web-components-library/p-7e926220.entry.js +1 -0
- package/dist/web-components-library/p-80589729.entry.js +1 -0
- package/dist/web-components-library/p-82048c15.js +1 -0
- package/dist/web-components-library/p-82a59ded.entry.js +1 -0
- package/dist/web-components-library/p-880a50a6.entry.js +1 -0
- package/dist/web-components-library/p-8ad12683.entry.js +1 -0
- package/dist/web-components-library/p-904a85e4.js +1 -0
- package/dist/web-components-library/p-94814f44.entry.js +1 -0
- package/dist/web-components-library/p-957f298f.entry.js +1 -0
- package/dist/web-components-library/p-96e3aec6.entry.js +1 -0
- package/dist/web-components-library/p-9959e453.entry.js +1 -0
- package/dist/web-components-library/p-9d9dc98f.entry.js +1 -0
- package/dist/web-components-library/p-a15f8b52.entry.js +1 -0
- package/dist/web-components-library/p-a7733104.entry.js +1 -0
- package/dist/web-components-library/p-a82c9a77.entry.js +1 -0
- package/dist/web-components-library/p-aa0f7169.entry.js +1 -0
- package/dist/web-components-library/p-ac3bc4c2.entry.js +1 -0
- package/dist/web-components-library/p-b13d5b98.entry.js +1 -0
- package/dist/web-components-library/p-b630127d.entry.js +1 -0
- package/dist/web-components-library/p-b68038b5.js +1 -0
- package/dist/web-components-library/p-b78fb152.entry.js +1 -0
- package/dist/web-components-library/p-c7af96eb.entry.js +1 -0
- package/dist/web-components-library/p-c92c3f20.entry.js +1 -0
- package/dist/web-components-library/p-cc6363b9.entry.js +1 -0
- package/dist/web-components-library/p-cdcf738e.entry.js +1 -0
- package/dist/web-components-library/p-cf914ea7.entry.js +1 -0
- package/dist/web-components-library/p-cfebc80e.entry.js +1 -0
- package/dist/web-components-library/p-d227a145.entry.js +1 -0
- package/dist/web-components-library/p-d69e14fb.js +1 -0
- package/dist/web-components-library/p-d83eee10.entry.js +1 -0
- package/dist/web-components-library/p-db5863cf.entry.js +1 -0
- package/dist/web-components-library/p-e1f1f39e.entry.js +1 -0
- package/dist/web-components-library/p-e29fe790.entry.js +1 -0
- package/dist/web-components-library/p-ebcad010.entry.js +1 -0
- package/dist/web-components-library/p-f113a03a.entry.js +1 -0
- package/dist/web-components-library/p-f3354152.entry.js +1 -0
- package/dist/web-components-library/p-f77f6f60.entry.js +1 -0
- package/dist/web-components-library/p-f8446b1e.entry.js +1 -0
- package/dist/web-components-library/p-f90dd488.js +1 -0
- package/dist/web-components-library/p-fc47897e.entry.js +1 -0
- package/dist/web-components-library/p-fce08912.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +1 -789
- package/dist/web-components-library/web-components-library.esm.js +1 -122
- package/package.json +90 -90
- package/react/components.d.ts +91 -89
- package/react/components.js +97 -95
- package/react/components.js.map +1 -1
- package/react/index.d.ts +1 -1
- package/react/index.js +13 -13
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +65 -65
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -20
- package/react/react-component-lib/createOverlayComponent.js +95 -95
- package/react/react-component-lib/index.d.ts +2 -2
- package/react/react-component-lib/index.js +7 -7
- package/react/react-component-lib/interfaces.d.ts +29 -29
- package/react/react-component-lib/interfaces.js +2 -2
- package/react/react-component-lib/utils/attachProps.d.ts +12 -12
- package/react/react-component-lib/utils/attachProps.js +102 -102
- package/react/react-component-lib/utils/case.d.ts +2 -2
- package/react/react-component-lib/utils/case.js +11 -11
- package/react/react-component-lib/utils/dev.d.ts +2 -2
- package/react/react-component-lib/utils/dev.js +17 -17
- package/react/react-component-lib/utils/index.d.ts +7 -7
- package/react/react-component-lib/utils/index.js +38 -38
- package/readme.md +236 -236
- package/www/build/index.esm.js +1 -9
- package/www/build/p-017370c7.entry.js +1 -0
- package/www/build/p-01d11ec3.entry.js +1 -0
- package/www/build/p-0455dc43.entry.js +1 -0
- package/www/build/p-05f4fa42.entry.js +1 -0
- package/www/build/p-08158e57.entry.js +1 -0
- package/www/build/p-0ce6293a.entry.js +1 -0
- package/www/build/p-0e6906af.js +1 -0
- package/www/build/p-0fe60379.entry.js +1 -0
- package/www/build/p-10ad64bc.entry.js +1 -0
- package/www/build/p-140cc18f.entry.js +1 -0
- package/www/build/p-18705ae9.entry.js +1 -0
- package/www/build/p-1c72783c.entry.js +1 -0
- package/www/build/p-1d371408.js +7 -0
- package/www/build/p-250926fe.entry.js +1 -0
- package/www/build/p-255c9150.entry.js +1 -0
- package/www/build/p-3247dee9.js +7 -0
- package/www/build/p-34f4e805.entry.js +1 -0
- package/www/build/p-35fd465c.entry.js +1 -0
- package/www/build/p-400e26c7.entry.js +1 -0
- package/www/build/p-483d10ba.entry.js +1 -0
- package/www/build/p-4a414eb2.entry.js +1 -0
- package/www/build/p-5bbbc979.entry.js +1 -0
- package/www/build/p-5e2762e6.entry.js +1 -0
- package/www/build/p-5fa8dc13.entry.js +1 -0
- package/www/build/p-60e40371.entry.js +1 -0
- package/www/build/p-6583cbec.entry.js +1 -0
- package/www/build/p-698e18cf.entry.js +1 -0
- package/www/build/p-71cc7ed0.entry.js +1 -0
- package/www/build/p-74fb3d69.entry.js +1 -0
- package/www/build/p-7e926220.entry.js +1 -0
- package/www/build/p-80589729.entry.js +1 -0
- package/www/build/p-82048c15.js +1 -0
- package/www/build/p-82a59ded.entry.js +1 -0
- package/www/build/p-880a50a6.entry.js +1 -0
- package/www/build/p-8ad12683.entry.js +1 -0
- package/www/build/p-904a85e4.js +1 -0
- package/www/build/p-94814f44.entry.js +1 -0
- package/www/build/p-957f298f.entry.js +1 -0
- package/www/build/p-96e3aec6.entry.js +1 -0
- package/www/build/p-9959e453.entry.js +1 -0
- package/www/build/p-9d9dc98f.entry.js +1 -0
- package/www/build/p-a15f8b52.entry.js +1 -0
- package/www/build/p-a7733104.entry.js +1 -0
- package/www/build/p-a82c9a77.entry.js +1 -0
- package/www/build/p-aa0f7169.entry.js +1 -0
- package/www/build/p-ac3bc4c2.entry.js +1 -0
- package/www/build/p-b13d5b98.entry.js +1 -0
- package/www/build/p-b630127d.entry.js +1 -0
- package/www/build/p-b68038b5.js +1 -0
- package/www/build/p-b78fb152.entry.js +1 -0
- package/www/build/p-c7af96eb.entry.js +1 -0
- package/www/build/p-c92c3f20.entry.js +1 -0
- package/www/build/p-cc6363b9.entry.js +1 -0
- package/www/build/p-cdcf738e.entry.js +1 -0
- package/www/build/p-cf914ea7.entry.js +1 -0
- package/www/build/p-cfebc80e.entry.js +1 -0
- package/www/build/p-d227a145.entry.js +1 -0
- package/www/build/p-d69e14fb.js +1 -0
- package/www/build/p-d83eee10.entry.js +1 -0
- package/www/build/p-db5863cf.entry.js +1 -0
- package/www/build/p-e1879b27.js +1 -0
- package/www/build/p-e1f1f39e.entry.js +1 -0
- package/www/build/p-e29fe790.entry.js +1 -0
- package/www/build/p-ea943cbd.css +1 -0
- package/www/build/p-ebcad010.entry.js +1 -0
- package/www/build/p-f113a03a.entry.js +1 -0
- package/www/build/p-f3354152.entry.js +1 -0
- package/www/build/p-f77f6f60.entry.js +1 -0
- package/www/build/p-f8446b1e.entry.js +1 -0
- package/www/build/p-f90dd488.js +1 -0
- package/www/build/p-fc47897e.entry.js +1 -0
- package/www/build/p-fce08912.entry.js +1 -0
- package/www/build/web-components-library.css +1 -789
- package/www/build/web-components-library.esm.js +1 -122
- package/www/index.html +2 -11
- package/www/pages/notification.html +244 -244
- package/CHANGELOG.md +0 -1221
- package/dist/web-components-library/_commonjsHelpers-cb1cd7bb.js +0 -44
- package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
- package/dist/web-components-library/css-shim-003e9264.js +0 -4
- package/dist/web-components-library/dom-1b195079.js +0 -73
- package/dist/web-components-library/index-44936066.js +0 -2832
- package/dist/web-components-library/shadow-css-c1ad5fdc.js +0 -383
- package/dist/web-components-library/z-aria-alert.entry.js +0 -14
- package/dist/web-components-library/z-body.entry.js +0 -13
- package/dist/web-components-library/z-button-filter.entry.js +0 -45
- package/dist/web-components-library/z-button.entry.js +0 -35
- package/dist/web-components-library/z-footer-link.entry.js +0 -15
- package/dist/web-components-library/z-footer-section.entry.js +0 -19
- package/dist/web-components-library/z-footer-social.entry.js +0 -15
- package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
- package/dist/web-components-library/z-icon-package.entry.js +0 -19
- package/dist/web-components-library/z-icon.entry.js +0 -24
- package/dist/web-components-library/z-input-label.entry.js +0 -17
- package/dist/web-components-library/z-input-message.entry.js +0 -20
- package/dist/web-components-library/z-input.entry.js +0 -264
- package/dist/web-components-library/z-list-element.entry.js +0 -150
- package/dist/web-components-library/z-list-group.entry.js +0 -50
- package/dist/web-components-library/z-list.entry.js +0 -30
- package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
- package/dist/web-components-library/z-modal-login.entry.js +0 -77
- package/dist/web-components-library/z-modal.entry.js +0 -32
- package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -34
- package/dist/web-components-library/z-myz-card.entry.js +0 -37
- package/dist/web-components-library/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/z-panel-elem.entry.js +0 -26
- package/dist/web-components-library/z-pocket-body.entry.js +0 -23
- package/dist/web-components-library/z-pocket-header.entry.js +0 -36
- package/dist/web-components-library/z-pocket.entry.js +0 -68
- package/dist/web-components-library/z-popover.entry.js +0 -123
- package/dist/web-components-library/z-registro-table-body.entry.js +0 -20
- package/dist/web-components-library/z-registro-table-cell.entry.js +0 -32
- package/dist/web-components-library/z-registro-table-empty-box.entry.js +0 -24
- package/dist/web-components-library/z-registro-table-expanded-row.entry.js +0 -15
- package/dist/web-components-library/z-registro-table-head.entry.js +0 -19
- package/dist/web-components-library/z-registro-table-header-row.entry.js +0 -18
- package/dist/web-components-library/z-registro-table-header.entry.js +0 -84
- package/dist/web-components-library/z-registro-table-row.entry.js +0 -39
- package/dist/web-components-library/z-registro-table-sticky-footer.entry.js +0 -15
- package/dist/web-components-library/z-registro-table.entry.js +0 -78
- package/dist/web-components-library/z-select.entry.js +0 -281
- package/dist/web-components-library/z-typography.entry.js +0 -25
- package/www/build/_commonjsHelpers-cb1cd7bb.js +0 -44
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/css-shim-003e9264.js +0 -4
- package/www/build/dom-1b195079.js +0 -73
- package/www/build/index-44936066.js +0 -2832
- package/www/build/shadow-css-c1ad5fdc.js +0 -383
- package/www/build/z-app-topbar.entry.js +0 -37
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-filter.entry.js +0 -45
- package/www/build/z-button.entry.js +0 -35
- package/www/build/z-contextual-menu.entry.js +0 -36
- package/www/build/z-footer-link.entry.js +0 -15
- package/www/build/z-footer-section.entry.js +0 -19
- package/www/build/z-footer-social.entry.js +0 -15
- package/www/build/z-heading.entry.js +0 -13
- package/www/build/z-icon.entry.js +0 -24
- package/www/build/z-input-label.entry.js +0 -17
- package/www/build/z-input-message.entry.js +0 -20
- package/www/build/z-input.entry.js +0 -264
- package/www/build/z-list-element.entry.js +0 -150
- package/www/build/z-list-group.entry.js +0 -50
- package/www/build/z-list.entry.js +0 -30
- package/www/build/z-menu-dropdown.entry.js +0 -56
- package/www/build/z-myz-card-body.entry.js +0 -15
- package/www/build/z-myz-card-cover.entry.js +0 -18
- package/www/build/z-myz-card-footer.entry.js +0 -48
- package/www/build/z-myz-card-header.entry.js +0 -34
- package/www/build/z-myz-card.entry.js +0 -37
- package/www/build/z-myz-list.entry.js +0 -31
- package/www/build/z-pocket-body.entry.js +0 -23
- package/www/build/z-pocket-header.entry.js +0 -36
- package/www/build/z-pocket.entry.js +0 -68
- package/www/build/z-popover.entry.js +0 -123
- package/www/build/z-registro-table-body.entry.js +0 -20
- package/www/build/z-registro-table-cell.entry.js +0 -32
- package/www/build/z-registro-table-empty-box.entry.js +0 -24
- package/www/build/z-registro-table-head.entry.js +0 -19
- package/www/build/z-registro-table-header-row.entry.js +0 -18
- package/www/build/z-registro-table-header.entry.js +0 -84
- package/www/build/z-registro-table-row.entry.js +0 -39
- package/www/build/z-registro-table-sticky-footer.entry.js +0 -15
- package/www/build/z-registro-table.entry.js +0 -78
- package/www/build/z-select.entry.js +0 -281
- package/www/build/z-typography.entry.js +0 -25
package/readme.md
CHANGED
|
@@ -1,236 +1,236 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# Zanichelli - Web Components Library
|
|
4
|
-
|
|
5
|
-
Zanichelli's design system is widely documented on Zeroheight at this [link](https://zeroheight.com/485b31545).
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
yarn add @zanichelli/albe-web-components
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Start Library Development Server
|
|
14
|
-
```
|
|
15
|
-
yarn start
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## Create a component:
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
yarn generate component my-component
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
##### NB: component name must have a dash (`-`)
|
|
27
|
-
|
|
28
|
-
----
|
|
29
|
-
|
|
30
|
-
## Symlink Local Development
|
|
31
|
-
|
|
32
|
-
#### Run
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
yarn link
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
#### In the destination project folder run
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
yarn link @zanichelli/albe-web-components
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
----
|
|
45
|
-
|
|
46
|
-
## Tests
|
|
47
|
-
|
|
48
|
-
#### Run all tests
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
yarn test
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
#### Run single test
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
yarn test --spec {componentPath}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
#### Run e2e tests
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
yarn test.e2e
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
----
|
|
67
|
-
|
|
68
|
-
## Release
|
|
69
|
-
|
|
70
|
-
In this repository we follow the [Conventional Commits Specification](https://www.conventionalcommits.org/) and we use [standard-version](https://github.com/conventional-changelog/standard-version) to update the [CHANGELOG.md](./CHANGELOG.md) when publishing a new version of the package to NPM.
|
|
71
|
-
|
|
72
|
-
Standard-version automatically detects the type of the update (patch, minor or major) following the [Semantic Versioning](https://semver.org/) specification.
|
|
73
|
-
|
|
74
|
-
**Publish a new version on NPM registry**
|
|
75
|
-
|
|
76
|
-
* Make sure you are logged in NPM
|
|
77
|
-
* Run standard-version:
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
yarn release
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
**Specify a version**
|
|
84
|
-
|
|
85
|
-
If you want to select a version or the update type, you can use the `--release-as` flag:
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
yarn release --release-as path
|
|
89
|
-
yarn release --release-as 1.1.0
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
In general, you can pass any flag supported by standard-version, please refer to their [CLI usage](https://github.com/conventional-changelog/standard-version#cli-usage) documentation.
|
|
93
|
-
|
|
94
|
-
**Publish the new release on GitHub**
|
|
95
|
-
|
|
96
|
-
You need to [manually create the GitHub release](https://github.com/ZanichelliEditore/design-system/releases/new) in order to update the Storybook documentation.
|
|
97
|
-
|
|
98
|
-
----
|
|
99
|
-
|
|
100
|
-
## Documentation
|
|
101
|
-
|
|
102
|
-
In order to correctly import Stencil Components into the Storybook, we need to build the library first. Stencil will generate properties documentation and it will store them in the `custom-elements.json` which is loaded by Storybook. At the moment, everytime you edit the library sources, you need to rebuild them to get the Storybook updated.
|
|
103
|
-
|
|
104
|
-
#### Plugins
|
|
105
|
-
|
|
106
|
-
* [@storybook/addon-a11y](https://www.npmjs.com/package/@storybook/addon-a11y)
|
|
107
|
-
* [@storybook/addon-docs](https://www.npmjs.com/package/@storybook/addon-docs)
|
|
108
|
-
* [@storybook/addon-knobs](https://www.npmjs.com/package/@storybook/addon-knobs)
|
|
109
|
-
* [@storybook/addon-viewport](https://www.npmjs.com/package/@storybook/addon-viewport)
|
|
110
|
-
* [storybook-addons-abstract](https://www.npmjs.com/package/storybook-addons-abstract)
|
|
111
|
-
|
|
112
|
-
#### Start Storybook:
|
|
113
|
-
|
|
114
|
-
```sh
|
|
115
|
-
# Build the library
|
|
116
|
-
yarn build
|
|
117
|
-
# Start the Storybook
|
|
118
|
-
yarn start-storybook
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
#### Build Storybook:
|
|
122
|
-
|
|
123
|
-
```sh
|
|
124
|
-
# Build the library
|
|
125
|
-
yarn build
|
|
126
|
-
# Build the Storybook
|
|
127
|
-
yarn build-storybook
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
#### Developing with Storybook:
|
|
131
|
-
|
|
132
|
-
Start the Stencil dev server:
|
|
133
|
-
```sh
|
|
134
|
-
yarn start
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
and, in a separate terminal window, run the Storybook:
|
|
138
|
-
|
|
139
|
-
```sh
|
|
140
|
-
yarn start-storybook
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
----
|
|
144
|
-
|
|
145
|
-
## Build Library package
|
|
146
|
-
```
|
|
147
|
-
yarn build
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
# Environment Support
|
|
151
|
-
|
|
152
|
-
- Modern browsers
|
|
153
|
-
- Chromium Edge and Safari 10 with [polyfills](https://stackoverflow.com/questions/57020976/polyfills-in-2019-for-ie11)
|
|
154
|
-
|
|
155
|
-
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br> Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
|
|
156
|
-
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
157
|
-
| > 16.16 | > 48 | > 69 | > 10.0 |
|
|
158
|
-
|
|
159
|
-
## Usage
|
|
160
|
-
|
|
161
|
-
### CSS Custom Properties
|
|
162
|
-
|
|
163
|
-
The library provides a global css variables export. You can import the styles by ES6 import:
|
|
164
|
-
|
|
165
|
-
```javascript
|
|
166
|
-
import '@zanichelli/albe-web-components/www/build/web-components-library.css';
|
|
167
|
-
```
|
|
168
|
-
or via link tag:
|
|
169
|
-
|
|
170
|
-
```html
|
|
171
|
-
<link type="text/css" rel="stylesheet" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css" />
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
### Custom Elements
|
|
176
|
-
|
|
177
|
-
You can use the library by importing the custom elements from npm package:
|
|
178
|
-
|
|
179
|
-
```javascript
|
|
180
|
-
import { defineCustomElements, applyPolyfills } from '@zanichelli/albe-web-components/loader';
|
|
181
|
-
|
|
182
|
-
applyPolyfills().then(() => {
|
|
183
|
-
defineCustomElements(window);
|
|
184
|
-
});
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
or via a script tag:
|
|
188
|
-
|
|
189
|
-
```html
|
|
190
|
-
<script src="https://unpkg.com/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script>
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
Then use the relative tag as a usual component in your markup.
|
|
194
|
-
|
|
195
|
-
```html
|
|
196
|
-
<section>
|
|
197
|
-
<z-button label="button" type="primary">Click me!</z-button>
|
|
198
|
-
</section>
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### Using React bindings
|
|
202
|
-
|
|
203
|
-
Albe's Web Components come with automatically generated React bindings. This means that you can use Web Components in a React application without the need to wrap component references, with full intellisense support thanks to TypeScript definition files for bindings.
|
|
204
|
-
|
|
205
|
-
You still need to import and run polyfills, then you can import Component references from the React submodule:
|
|
206
|
-
|
|
207
|
-
```javascript
|
|
208
|
-
import React from 'react';
|
|
209
|
-
import ReactDOM from 'react-dom';
|
|
210
|
-
import '@zanichelli/albe-web-components/www/build/web-components-library.css';
|
|
211
|
-
import { defineCustomElements, applyPolyfills } from '@zanichelli/albe-web-components/loader';
|
|
212
|
-
import { ZButton } from '@zanichelli/albe-web-components/react';
|
|
213
|
-
|
|
214
|
-
applyPolyfills().then(() => {
|
|
215
|
-
defineCustomElements(window);
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
ReactDOM.render(<ZButton>Click me</ZButton>, document.getElementById('root'));
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
## Component definition
|
|
222
|
-
|
|
223
|
-
Each component is structured as follows:
|
|
224
|
-
|
|
225
|
-
| File name | Description |
|
|
226
|
-
| --------------- | ------------------------------ |
|
|
227
|
-
| `index-ts` | Component markup and UI logics |
|
|
228
|
-
| `styles.css` | Component styles |
|
|
229
|
-
| `index.spec.ts` | Component tests |
|
|
230
|
-
| `index.stories.mdx` | Component storybook file |
|
|
231
|
-
| `README.md` | Stencil documentation |
|
|
232
|
-
|
|
233
|
-
## Roadmap
|
|
234
|
-
|
|
235
|
-
- 12 6 2020: Publishing repo v 1.0.0
|
|
236
|
-
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Zanichelli - Web Components Library
|
|
4
|
+
|
|
5
|
+
Zanichelli's design system is widely documented on Zeroheight at this [link](https://zeroheight.com/485b31545).
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @zanichelli/albe-web-components
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Start Library Development Server
|
|
14
|
+
```
|
|
15
|
+
yarn start
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Create a component:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
yarn generate component my-component
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
##### NB: component name must have a dash (`-`)
|
|
27
|
+
|
|
28
|
+
----
|
|
29
|
+
|
|
30
|
+
## Symlink Local Development
|
|
31
|
+
|
|
32
|
+
#### Run
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
yarn link
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### In the destination project folder run
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
yarn link @zanichelli/albe-web-components
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
----
|
|
45
|
+
|
|
46
|
+
## Tests
|
|
47
|
+
|
|
48
|
+
#### Run all tests
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
yarn test
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Run single test
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
yarn test --spec {componentPath}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### Run e2e tests
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
yarn test.e2e
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
----
|
|
67
|
+
|
|
68
|
+
## Release
|
|
69
|
+
|
|
70
|
+
In this repository we follow the [Conventional Commits Specification](https://www.conventionalcommits.org/) and we use [standard-version](https://github.com/conventional-changelog/standard-version) to update the [CHANGELOG.md](./CHANGELOG.md) when publishing a new version of the package to NPM.
|
|
71
|
+
|
|
72
|
+
Standard-version automatically detects the type of the update (patch, minor or major) following the [Semantic Versioning](https://semver.org/) specification.
|
|
73
|
+
|
|
74
|
+
**Publish a new version on NPM registry**
|
|
75
|
+
|
|
76
|
+
* Make sure you are logged in NPM
|
|
77
|
+
* Run standard-version:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
yarn release
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Specify a version**
|
|
84
|
+
|
|
85
|
+
If you want to select a version or the update type, you can use the `--release-as` flag:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
yarn release --release-as path
|
|
89
|
+
yarn release --release-as 1.1.0
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
In general, you can pass any flag supported by standard-version, please refer to their [CLI usage](https://github.com/conventional-changelog/standard-version#cli-usage) documentation.
|
|
93
|
+
|
|
94
|
+
**Publish the new release on GitHub**
|
|
95
|
+
|
|
96
|
+
You need to [manually create the GitHub release](https://github.com/ZanichelliEditore/design-system/releases/new) in order to update the Storybook documentation.
|
|
97
|
+
|
|
98
|
+
----
|
|
99
|
+
|
|
100
|
+
## Documentation
|
|
101
|
+
|
|
102
|
+
In order to correctly import Stencil Components into the Storybook, we need to build the library first. Stencil will generate properties documentation and it will store them in the `custom-elements.json` which is loaded by Storybook. At the moment, everytime you edit the library sources, you need to rebuild them to get the Storybook updated.
|
|
103
|
+
|
|
104
|
+
#### Plugins
|
|
105
|
+
|
|
106
|
+
* [@storybook/addon-a11y](https://www.npmjs.com/package/@storybook/addon-a11y)
|
|
107
|
+
* [@storybook/addon-docs](https://www.npmjs.com/package/@storybook/addon-docs)
|
|
108
|
+
* [@storybook/addon-knobs](https://www.npmjs.com/package/@storybook/addon-knobs)
|
|
109
|
+
* [@storybook/addon-viewport](https://www.npmjs.com/package/@storybook/addon-viewport)
|
|
110
|
+
* [storybook-addons-abstract](https://www.npmjs.com/package/storybook-addons-abstract)
|
|
111
|
+
|
|
112
|
+
#### Start Storybook:
|
|
113
|
+
|
|
114
|
+
```sh
|
|
115
|
+
# Build the library
|
|
116
|
+
yarn build
|
|
117
|
+
# Start the Storybook
|
|
118
|
+
yarn start-storybook
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### Build Storybook:
|
|
122
|
+
|
|
123
|
+
```sh
|
|
124
|
+
# Build the library
|
|
125
|
+
yarn build
|
|
126
|
+
# Build the Storybook
|
|
127
|
+
yarn build-storybook
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### Developing with Storybook:
|
|
131
|
+
|
|
132
|
+
Start the Stencil dev server:
|
|
133
|
+
```sh
|
|
134
|
+
yarn start
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
and, in a separate terminal window, run the Storybook:
|
|
138
|
+
|
|
139
|
+
```sh
|
|
140
|
+
yarn start-storybook
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
----
|
|
144
|
+
|
|
145
|
+
## Build Library package
|
|
146
|
+
```
|
|
147
|
+
yarn build
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
# Environment Support
|
|
151
|
+
|
|
152
|
+
- Modern browsers
|
|
153
|
+
- Chromium Edge and Safari 10 with [polyfills](https://stackoverflow.com/questions/57020976/polyfills-in-2019-for-ie11)
|
|
154
|
+
|
|
155
|
+
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br> Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
|
|
156
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
157
|
+
| > 16.16 | > 48 | > 69 | > 10.0 |
|
|
158
|
+
|
|
159
|
+
## Usage
|
|
160
|
+
|
|
161
|
+
### CSS Custom Properties
|
|
162
|
+
|
|
163
|
+
The library provides a global css variables export. You can import the styles by ES6 import:
|
|
164
|
+
|
|
165
|
+
```javascript
|
|
166
|
+
import '@zanichelli/albe-web-components/www/build/web-components-library.css';
|
|
167
|
+
```
|
|
168
|
+
or via link tag:
|
|
169
|
+
|
|
170
|
+
```html
|
|
171
|
+
<link type="text/css" rel="stylesheet" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css" />
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Custom Elements
|
|
176
|
+
|
|
177
|
+
You can use the library by importing the custom elements from npm package:
|
|
178
|
+
|
|
179
|
+
```javascript
|
|
180
|
+
import { defineCustomElements, applyPolyfills } from '@zanichelli/albe-web-components/loader';
|
|
181
|
+
|
|
182
|
+
applyPolyfills().then(() => {
|
|
183
|
+
defineCustomElements(window);
|
|
184
|
+
});
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
or via a script tag:
|
|
188
|
+
|
|
189
|
+
```html
|
|
190
|
+
<script src="https://unpkg.com/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script>
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Then use the relative tag as a usual component in your markup.
|
|
194
|
+
|
|
195
|
+
```html
|
|
196
|
+
<section>
|
|
197
|
+
<z-button label="button" type="primary">Click me!</z-button>
|
|
198
|
+
</section>
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Using React bindings
|
|
202
|
+
|
|
203
|
+
Albe's Web Components come with automatically generated React bindings. This means that you can use Web Components in a React application without the need to wrap component references, with full intellisense support thanks to TypeScript definition files for bindings.
|
|
204
|
+
|
|
205
|
+
You still need to import and run polyfills, then you can import Component references from the React submodule:
|
|
206
|
+
|
|
207
|
+
```javascript
|
|
208
|
+
import React from 'react';
|
|
209
|
+
import ReactDOM from 'react-dom';
|
|
210
|
+
import '@zanichelli/albe-web-components/www/build/web-components-library.css';
|
|
211
|
+
import { defineCustomElements, applyPolyfills } from '@zanichelli/albe-web-components/loader';
|
|
212
|
+
import { ZButton } from '@zanichelli/albe-web-components/react';
|
|
213
|
+
|
|
214
|
+
applyPolyfills().then(() => {
|
|
215
|
+
defineCustomElements(window);
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
ReactDOM.render(<ZButton>Click me</ZButton>, document.getElementById('root'));
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
## Component definition
|
|
222
|
+
|
|
223
|
+
Each component is structured as follows:
|
|
224
|
+
|
|
225
|
+
| File name | Description |
|
|
226
|
+
| --------------- | ------------------------------ |
|
|
227
|
+
| `index-ts` | Component markup and UI logics |
|
|
228
|
+
| `styles.css` | Component styles |
|
|
229
|
+
| `index.spec.ts` | Component tests |
|
|
230
|
+
| `index.stories.mdx` | Component storybook file |
|
|
231
|
+
| `README.md` | Stencil documentation |
|
|
232
|
+
|
|
233
|
+
## Roadmap
|
|
234
|
+
|
|
235
|
+
- 12 6 2020: Publishing repo v 1.0.0
|
|
236
|
+
|
package/www/build/index.esm.js
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './index-08d9a3bf.js';
|
|
3
|
-
import './breakpoints-14432d05.js';
|
|
4
|
-
|
|
5
|
-
const Utils = {
|
|
6
|
-
colorFromId
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export { Utils };
|
|
1
|
+
import{c as o}from"./p-f90dd488.js";import"./p-0e6906af.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,g as t}from"./p-904a85e4.js";const e=class{constructor(o){r(this,o)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return o("slot",null)}get host(){return t(this)}};e.style=".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_registro_table_footer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as a,g as e}from"./p-904a85e4.js";import{C as i}from"./p-0e6906af.js";const r=class{constructor(a){t(this,a),this.cardClicked=o(this,"cardClicked",7),this.clickable=!1}onClick(t){if("action"!==t.target.getAttribute("slot"))return this.clickable?void this.cardClicked.emit():(t.preventDefault(),void t.stopPropagation())}componentWillLoad(){this.hasCoverImage=!!this.host.querySelector('[slot="cover"]')}renderColorCoverCard(){return[a("div",{class:"cover-container"},a("div",{class:"color-cover"},a("div",{class:"cover-content"},a("slot",{name:"metadata"}),a("slot",{name:"title"})))),a("div",{class:"content"},a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))]}render(){return this.variant===i.overlay||this.hasCoverImage?[a("div",{class:"cover-container"},this.hasCoverImage&&[a("slot",{name:"cover"}),this.variant!==i.overlay&&this.coverIcon&&a("z-icon",{name:this.coverIcon})],!this.hasCoverImage&&a("div",{class:"color-cover"})),a("div",{class:"content"},a("slot",{name:"metadata"}),a("slot",{name:"title"}),a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))]:this.renderColorCoverCard()}get host(){return e(this)}};r.style=":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant='overlay'])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot='cover']),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:var(--space-unit)}::slotted([slot='metadata']),::slotted([slot='title']),::slotted([slot='text']){display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}::slotted([slot='title']:not(:last-child)),::slotted([slot='text']:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot='text']),::slotted([slot='actions']){margin:0}::slotted([slot='metadata']:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot='title']){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot='text']){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot='action']:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant='border'])>.content,:host([variant='shadow'])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant='border']) .actions,:host([variant='shadow']) .actions{margin-top:auto}:host([variant='border']){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant='border'][clickable]:hover)>.content{background:var(--color-background)}:host([variant='border'][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant='border'][clickable]:active){border-color:transparent}:host([variant='shadow']){box-shadow:var(--shadow-2)}:host([variant='shadow'][clickable]:hover){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:active){box-shadow:none}:host([variant='overlay']) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";export{r as z_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as r,H as d}from"./p-904a85e4.js";import{t as e,f as s}from"./p-0e6906af.js";const a=class{constructor(r){i(this,r),this.size=e.small,this.color="gray200",this.orientation=s.horizontal}render(){return r(d,{class:`divider-${this.size} divider-${this.orientation}`,style:{backgroundColor:`var(--${this.color})`}})}};a.style=".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";export{a as z_divider}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as s,g as e}from"./p-904a85e4.js";import{q as i}from"./p-0e6906af.js";const n=class{constructor(o){t(this,o),this.newestontop=!0,this.slotChangeHandler=()=>{const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));t&&t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove(),this.hostElement.prepend(o)}))}}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse()),t?this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler):this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}componentWillLoad(){this.newestontop&&this.handleNewestOnTop()}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children),this.hostElement.append(...this.notificationArray.reverse()),this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}render(){return o(s,{class:this.position?this.position:i.topRight},o("slot",{name:"toasts"}))}get hostElement(){return e(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};n.style=":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}}";export{n as z_toast_notification_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t}from"./p-904a85e4.js";import{k as a}from"./p-0e6906af.js";import{g as i,h as n,d as r}from"./p-f90dd488.js";import"./p-d69e14fb.js";const s=class{constructor(t){e(this,t),this.ismenuopen=!1,this.handleToggle=this.handleToggle.bind(this),this.handleFocus=this.handleFocus.bind(this)}componentWillRender(){this.linkarray="string"==typeof this.menucontent?JSON.parse(this.menucontent):this.menucontent}renderMenuOpen(){if(this.ismenuopen)return t("ul",null,this.linkarray.map((e=>t("li",null,t("z-link",{htmlid:e.id,href:e.link,icon:e.icon},e.label)))))}renderButtonMenu(){return t("span",{class:"arrow"},t("z-icon",{name:"caret-down",width:14,height:14}))}retriveMenuClass(){if(this.ismenuopen)return"menu-opened"}handleToggle(){this.ismenuopen=!this.ismenuopen}handleFocus(e){e instanceof KeyboardEvent&&e.keyCode!==a.TAB||i(r()).find((e=>"z-menu-dropdown"===e.nodeName.toLowerCase()))||(document.removeEventListener("click",this.handleFocus),document.removeEventListener("keyup",this.handleFocus),this.ismenuopen=!1)}render(){return t("a",{class:this.retriveMenuClass(),role:"button",tabindex:"0",onFocus:()=>{document.addEventListener("click",this.handleFocus),document.addEventListener("keyup",this.handleFocus)},onKeyUp:e=>n(e,this.handleToggle)},t("div",{class:"container",onClick:()=>this.handleToggle()},t("span",{class:"user-wrapper"},t("z-icon",{name:"user-avatar",width:14,height:14}),t("span",{class:"user"},this.nomeutente)),this.renderButtonMenu()),this.renderMenuOpen())}};s.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:12px;height:32px;width:inherit;letter-spacing:0.17px}a,a:visited,a:active{color:inherit;text-decoration:none}:host>a{display:block;background:var(--bg-grey-050);color:var(--text-grey-800);border-radius:var(--border-radius);border:var(--border-size-small) solid transparent;outline:none}:host>a::-moz-focus-inner{border:0}:host>a:hover,:host>a.menu-opened:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host>a:focus{color:var(--myz-blue);fill:var(--myz-blue);border:var(--border-size-small) solid var(--myz-blue);box-shadow:0px 0px 2px 2px var(--myz-blue-light)}:host>a:active{color:var(--myz-blue-light);fill:var(--myz-blue-light);border:var(--border-size-small) solid var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}div.container{display:flex;align-items:center;justify-content:space-between;height:32px;position:relative;padding:0 var(--basex1)}div.container>span.user-wrapper{display:flex}div.container>span.user-wrapper>span.user{padding:0 var(--basex1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer;width:30px}div.container>span.arrow{display:flex;justify-content:center;align-items:center}div.container>span.arrow>z-icon{transform:rotate(360deg);transition:all 200ms linear}ul{list-style:none;padding:0 calc(var(--space-unit) * 2);margin:0px}li{height:var(--basex3);display:flex;align-items:center;padding:calc(var(--space-unit) / 4) 0;width:max-content}.menu-opened{padding-bottom:calc(var(--space-unit) * 2);width:auto !important;min-width:147px;position:inherit}.menu-opened a,.menu-opened a:active,.menu-opened a:visited{color:var(--myz-blue);fill:var(--myz-blue)}.menu-opened a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.menu-opened>div.container{margin-bottom:var(--basex1)}.menu-opened>div.container>span.user-wrapper>span.user{width:auto}.menu-opened>div.container>span.arrow>z-icon{transform:rotate(180deg);transition:all 200ms linear}@media only screen and (min-width: 1152px){:host>a{width:147px;padding:0 calc(var(--space-unit) / 4)}:host>a.menu-opened{width:147px;padding-bottom:calc(var(--space-unit) * 2)}div.container>span.user-wrapper>span.user{width:80px}}";const o=class{constructor(t){e(this,t)}componentWillLoad(){this.inputrawdata&&this.parseinputrawdata(this.inputrawdata)}parseinputrawdata(e){this.list=[...JSON.parse(e)]}oninputrawdataChange(e){this.parseinputrawdata(e)}render(){const e=this.list?this.list.length-1:-1;return t("ul",null,this.list&&this.list.map(((a,i)=>t("z-myz-list-item",{listitemid:a.listitemid,text:a.text,link:a.link,linktarget:a.linktarget,icon:a.icon,underlined:e!=i}))))}static get watchers(){return{inputrawdata:["oninputrawdataChange"]}}};o.style="ul{margin:0;padding:0}";export{s as z_menu_dropdown,o as z_myz_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as i}from"./p-904a85e4.js";const r=class{constructor(i){t(this,i),this.infoBoxClose=o(this,"infoBoxClose",7),this.isclosable=!0}emitInfoBoxClose(){this.infoBoxClose.emit({boxid:this.boxid})}render(){return i("div",{id:this.boxid},i("slot",{name:"content"}),this.isclosable&&i("z-icon",{name:"multiply","data-action":"infoBoxClose",onClick:()=>this.emitInfoBoxClose()}))}};r.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--accent-lighter);padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);display:flex;width:inherit}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{fill:var(--myz-blue);cursor:pointer;margin-left:calc(var(--space-unit) * 2)}";export{r as z_info_box}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n,e,t,o,a,s,i,r,c,l,u,f,d,m,g,b,h,w,p,E,v,A,x,k,_,C,R,S,y,D,P,T,B,N,O;!function(n){n.real="reale",n.virtual="virtuale",n.trial="saggio"}(n||(n={})),function(n){n.border="border",n.shadow="shadow",n.overlay="overlay"}(e||(e={})),function(n){n.horizontal="horizontal",n.vertical="vertical"}(t||(t={})),function(n){n.big="big",n.small="small"}(o||(o={})),function(n){n.primary="primary",n.secondary="secondary",n.tertiary="tertiary",n["dark-bg"]="dark-bg"}(a||(a={})),function(n){n.submit="submit",n.reset="reset",n.button="button"}(s||(s={})),function(n){n.big="big",n.small="small",n["x-small"]="x-small"}(i||(i={})),function(n){n.text="text",n.password="password",n.number="number",n.email="email",n.textarea="textarea",n.checkbox="checkbox",n.radio="radio",n.select="select"}(r||(r={})),function(n){n.success="success",n.error="error",n.warning="warning",n.selecting="selecting"}(c||(c={})),function(n){n.AUTO="auto",n.TOP="top",n.RIGHT="right",n.BOTTOM="bottom",n.LEFT="left",n.TOP_RIGHT="top_right",n.TOP_LEFT="top_left",n.BOTTOM_RIGHT="bottom_right",n.BOTTOM_LEFT="bottom_left"}(l||(l={})),function(n){n[n.TAB=9]="TAB",n[n.SPACE=32]="SPACE",n[n.ESC=27]="ESC",n[n.ENTER=13]="ENTER",n[n.ARROW_UP=38]="ARROW_UP",n[n.ARROW_DOWN=40]="ARROW_DOWN",n[n.BACKSPACE=8]="BACKSPACE",n[n.DELETE=46]="DELETE"}(u||(u={})),function(n){n.ARROW_DOWN="ArrowDown",n.ARROW_UP="ArrowUp",n.ENTER="Enter",n.ESC="Escape",n.SPACE="Space"}(f||(f={})),function(n){n.dark="dark",n.light="light"}(d||(d={})),function(n){n["after-down"]="after-down",n["after-center"]="after-center",n["after-up"]="after-up",n["below-right"]="below-right",n["below-center"]="below-center",n["below-left"]="below-left",n["before-down"]="before-down",n["before-center"]="before-center",n["before-up"]="before-up",n["above-right"]="above-right",n["above-center"]="above-center",n["above-left"]="above-left"}(m||(m={})),function(n){n.none="none",n.small="small",n.medium="medium"}(g||(g={})),function(n){n["shadow-1"]="shadow-1",n["shadow-2"]="shadow-2",n["shadow-3"]="shadow-3",n["shadow-4"]="shadow-4",n["shadow-6"]="shadow-6",n["shadow-8"]="shadow-8",n["shadow-12"]="shadow-12",n["shadow-16"]="shadow-16",n["shadow-24"]="shadow-24"}(b||(b={})),function(n){n.small="small",n.medium="medium",n.large="large"}(h||(h={})),function(n){n.horizontal="horizontal",n.vertical="vertical"}(w||(w={})),function(n){n.asc="asc",n.desc="desc",n.none="none"}(p||(p={})),function(n){n.small="small",n.medium="medium",n.large="large"}(E||(E={})),function(n){n.warning="warning",n.error="error",n.success="success",n.neutral="neutral",n.default="default"}(v||(v={})),function(n){n.small="small",n.medium="medium",n.large="large",n["x-large"]="x-large"}(A||(A={})),function(n){n["x-small"]="x-small",n.small="small",n.medium="medium",n.large="large",n.special="special"}(x||(x={})),function(n){n.accordion="accordion",n.menu="menu"}(k||(k={})),function(n){n.right="right",n.left="left"}(_||(_={})),function(n){n.none="none",n.header="header",n.element="element"}(C||(C={})),function(n){n.success="success",n.warning="warning",n.error="error"}(R||(R={})),function(n){n.success="success",n.warning="warning",n.error="error"}(S||(S={})),function(n){n.mobile="mobile",n.tablet="tablet",n.desktop="desktop"}(y||(y={})),function(n){n.preview="preview",n.open="open",n.closed="closed"}(D||(D={})),function(n){n.dark="dark",n.light="light",n.accent="accent",n.error="error",n.success="success",n.warning="warning"}(P||(P={})),function(n){n.slideInLeft="slide-in-left",n.slideInRight="slide-in-right",n.slideInDown="slide-in-down",n.slideInUp="slide-in-up",n.slideOutLeft="slide-out-left",n.slideOutRight="slide-out-right",n.slideOutDown="slide-out-down",n.slideOutUp="slide-out-up"}(T||(T={})),function(n){n.topRight="top-right",n.topLeft="top-left",n.topCentre="top-centre",n.bottomRight="bottom-right",n.bottomLeft="bottom-left",n.bottomCentre="bottom-centre"}(B||(B={})),function(n){n.expandable="expandable",n.padding="padding",n.none="none"}(N||(N={})),function(n){n.polite="polite",n.assertive="assertive"}(O||(O={}));export{E as A,s as B,e as C,y as D,_ as E,r as I,f as K,n as L,R as N,m as P,x as S,d as T,N as Z,a,i as b,g as c,b as d,p as e,w as f,O as g,D as h,c as i,S as j,u as k,l,t as m,o as n,v as o,T as p,B as q,A as r,C as s,h as t,k as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t}from"./p-904a85e4.js";const r=class{constructor(t){o(this,t)}render(){return t("td",{colSpan:this.colSpan},t("div",{class:"content-container"},t("slot",null)))}};r.style=":host{background-color:var(--gray50);display:none}:host>td>div.content-container{box-shadow:var(--shadow-2);margin-bottom:calc(var(--space-unit) / 2)}";export{r as z_registro_table_expanded_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as i,H as e,g as r}from"./p-904a85e4.js";import{l as s}from"./p-0e6906af.js";const a=document.documentElement;function n(t,o){const i=t.getBoundingClientRect(),e=i.width,r=i.height;let s,a,n=0,h=0,l=t;for(;l&&l!=o;){if(h+=l.offsetLeft,l===document.body?n+=l.getBoundingClientRect().top+window.scrollY:n+=l.offsetTop,window.DOMMatrix){const t=window.getComputedStyle(l),o=new DOMMatrix(t.transform||t.webkitTransform);o&&(h+=o.m41,l!==document.body&&(n+=o.m42))}if(!l.offsetParent)break;l=l.offsetParent}return l===document.body?(s=window.innerWidth,a=window.innerHeight):(s=l.offsetWidth,a=l.offsetHeight),{top:n,right:s-h-i.width,bottom:a-n-i.height,left:h,width:e,height:r}}const h=class{constructor(i){t(this,i),this.positionChange=o(this,"positionChange",7),this.type=s.AUTO,this.open=!1}validateType(t){t&&Object.values(s).every((o=>t!==o))&&(this.type=s.AUTO)}onPositionChange(){this.positionChange.emit({position:this.position})}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),!this.content)if(this.open){const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};t()}else{const t=this.host.style;t.removeProperty("top"),t.removeProperty("right"),t.removeProperty("bottom"),t.removeProperty("left")}}setPosition(){let t;if(t="string"==typeof this.bindTo?this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.bindTo:this.host.parentElement,!t)return;const o=function(t){let o=t.parentNode;for(;o&&o!==a;){const{overflow:t,overflowX:i,overflowY:e}=window.getComputedStyle(o);if("hidden"===t||"hidden"===e||"hidden"===i)return o;if(o.scrollHeight>o.clientHeight&&"visible"!==t&&"visible"!==e||o.scrollWidth>o.clientWidth&&"visible"!==t&&"visible"!==i)return o;o=o.parentNode}return a}(t),i=o.getBoundingClientRect(),e=this.host.offsetParent,r=e?n(e,o):{top:0,right:0,bottom:0,left:0},h=n(t,o),l=h.top-o.scrollTop,p=i.height-(h.top+h.height)+o.scrollTop,f=h.left-o.scrollLeft,c=i.width-(h.left+h.width)+o.scrollLeft,d=Math.max(0,i.top+i.height-window.innerHeight),g=Math.max(0,i.left+i.width-window.innerWidth),u=Math.min(l,l+i.top),w=Math.min(p,p-d),m=Math.min(f,f+i.left),v=Math.min(c,c-g),b=u+w+h.height,x=m+v+h.width;let y=this.type;if(y===s.AUTO){const t=[];u/b>.9?t.unshift(s.TOP):u/b>.6?t.push(s.TOP):u/b<.1?t.unshift(s.BOTTOM):t.push(s.BOTTOM),m/x>.6?t.push(s.LEFT):m/x<.4&&t.push(s.RIGHT),y=t.join("_")}const z=this.host.style;this.content||(z.position="absolute");const _=h.top-r.top,M=h.right-r.right,$=h.bottom-r.bottom,C=h.left-r.left;y!==s.TOP&&y!==s.TOP_RIGHT&&y!==s.TOP_LEFT||(z.top="auto",z.bottom=`${$+h.height}px`),y!==s.BOTTOM&&y!==s.BOTTOM_RIGHT&&y!==s.BOTTOM_LEFT||(z.top=`${_+h.height}px`,z.bottom="auto"),y!==s.TOP&&y!==s.BOTTOM||(z.left=C+h.width/2-this.host.clientWidth/2+"px"),y!==s.TOP_RIGHT&&y!==s.BOTTOM_RIGHT||(z.right="auto",z.left=`${C+h.width}px`),y!==s.TOP_LEFT&&y!==s.BOTTOM_LEFT||(z.left="auto",z.right=`${M+h.width}px`),y!==s.RIGHT&&y!==s.LEFT||(z.top=_+h.height/2-this.host.clientHeight/2+"px",z.bottom="auto"),y===s.RIGHT&&(z.right="auto",z.left=`${C+h.width}px`),y===s.LEFT&&(z.left="auto",z.right=`${M+h.width}px`),this.position=y}componentWillLoad(){this.content&&(this.open=!0),this.validateType(this.type),this.onOpen()}render(){return this.content?i(e,{class:"legacy",position:this.type},this.content):i(e,{position:this.position},i("slot",null))}get host(){return r(this)}static get watchers(){return{type:["validateType"],position:["onPositionChange"],open:["onOpen"]}}};h.style=":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";export{h as z_tooltip}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r}from"./p-904a85e4.js";const t=class{constructor(r){o(this,r)}render(){return r("div",null,r("footer",null,r("div",{class:"top"},r("slot",{name:"top"})),r("div",{class:"bottom"},r("slot",{name:"bottom"}))))}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{box-sizing:border-box;border-radius:0px 0px var(--radius-base) var(--radius-base);border-top:var(--border-base) solid var(--color-surface03);padding:var(--space-unit) calc(var(--space-unit) * 2) 0;height:128px;color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";export{t as z_myz_card_footer_sections}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as r}from"./p-904a85e4.js";import{j as i}from"./p-0e6906af.js";const o=class{constructor(r){e(this,r),this.undoAction=t(this,"undoAction",7)}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){32!=e.keyCode&&13!=e.keyCode||(e.preventDefault(),this.emitUndoAction())}handleActionButtonClick(e){e.preventDefault(),this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="addAlert";break;case"remove":e="removeAlert";break;default:e=""}return e}getAlertType(){switch(this.type){case"add":return i.success;case"remove":return i.warning;default:return null}}render(){return r("div",{class:"alert-external-wrapper "+this.retrieveClass()},r("z-alert",{type:this.getAlertType()},r("div",{class:"relativeContainer"},r("z-icon",{name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{class:"contentText"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{role:"button",tabindex:"0",class:"contentAction",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};o.style=":host{position:absolute;font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}:host>z-alert{height:calc(var(--space-unit) * 6)}.relativeContainer{position:relative;display:grid;grid-template-columns:18px auto 46px;grid-template-rows:1fr;grid-column-gap:var(--space-unit);align-items:center;padding:0;outline:none}.relativeContainer::-moz-focus-inner{border:0}.alert-external-wrapper.removeAlert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.addAlert{background:var(--color-success-inverse)}:host div.removeAlert{background:var(--color-warning-inverse)}:host div>.contentText{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--color-primary01);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}";export{o as z_myz_card_alert}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r}from"./p-904a85e4.js";const t=class{constructor(r){o(this,r)}render(){return r("div",null,r("z-icon",{name:"exclamation-circle"}),r("div",{class:"content"},r("slot",null)),r("div",{class:"ctaWrapper"},r("slot",{name:"cta"})))}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";export{t as z_pocket_message}
|