@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
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";
|
|
4
4
|
|
|
5
|
-
const ZLink = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.zLinkClick = createEvent(this, "zLinkClick", 7);
|
|
9
|
-
/** link target (optional) */
|
|
10
|
-
this.target = "_self";
|
|
11
|
-
/** tabindex link attribute (optional) */
|
|
12
|
-
this.htmltabindex = 0;
|
|
13
|
-
/** disable link flag (optional) */
|
|
14
|
-
this.isdisabled = false;
|
|
15
|
-
/** active link flag (optional) */
|
|
16
|
-
this.isactive = false;
|
|
17
|
-
/** white variant flag (optional) */
|
|
18
|
-
this.iswhite = false;
|
|
19
|
-
/** link text variant (optional) */
|
|
20
|
-
this.textcolor = "primary";
|
|
21
|
-
/** big link version */
|
|
22
|
-
this.big = false;
|
|
23
|
-
/** link icon position (optional) */
|
|
24
|
-
this.iconposition = "left";
|
|
25
|
-
/** draw underline on text (optional) */
|
|
26
|
-
this.underline = false;
|
|
27
|
-
this.iconSize = 18;
|
|
28
|
-
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
29
|
-
this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
|
|
30
|
-
}
|
|
31
|
-
componentWillRender() {
|
|
32
|
-
if (this.iswhite) {
|
|
33
|
-
console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
|
|
34
|
-
}
|
|
35
|
-
if (this.big) {
|
|
36
|
-
console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
emitZLinkClick(e, linkId) {
|
|
40
|
-
this.emitZLinkInteraction(e, linkId);
|
|
41
|
-
}
|
|
42
|
-
emitZLinkInteraction(e, linkId) {
|
|
43
|
-
this.zLinkClick.emit({ e, linkId });
|
|
44
|
-
}
|
|
45
|
-
componentDidRender() {
|
|
46
|
-
if (this.icon) {
|
|
47
|
-
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
|
|
48
|
-
const currentSize = this.big ? 18 : Math.round(height * 1.125);
|
|
49
|
-
if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
|
|
50
|
-
this.iconSize = currentSize;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
render() {
|
|
55
|
-
const style = this.big ? { "--font-size-link": "16px", "--font-weight-link": "600" } : {};
|
|
56
|
-
return (h(Host, { style: style }, h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled ? "disabled" : ""}
|
|
57
|
-
${this.isactive ? "active" : ""}
|
|
58
|
-
${this.textcolor}
|
|
59
|
-
${this.iswhite ? "white" : ""}
|
|
60
|
-
${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon &&
|
|
61
|
-
h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && h("slot", null))));
|
|
62
|
-
}
|
|
63
|
-
get hostElement() { return getElement(this); }
|
|
64
|
-
};
|
|
5
|
+
const ZLink = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.zLinkClick = createEvent(this, "zLinkClick", 7);
|
|
9
|
+
/** link target (optional) */
|
|
10
|
+
this.target = "_self";
|
|
11
|
+
/** tabindex link attribute (optional) */
|
|
12
|
+
this.htmltabindex = 0;
|
|
13
|
+
/** disable link flag (optional) */
|
|
14
|
+
this.isdisabled = false;
|
|
15
|
+
/** active link flag (optional) */
|
|
16
|
+
this.isactive = false;
|
|
17
|
+
/** white variant flag (optional) */
|
|
18
|
+
this.iswhite = false;
|
|
19
|
+
/** link text variant (optional) */
|
|
20
|
+
this.textcolor = "primary";
|
|
21
|
+
/** big link version */
|
|
22
|
+
this.big = false;
|
|
23
|
+
/** link icon position (optional) */
|
|
24
|
+
this.iconposition = "left";
|
|
25
|
+
/** draw underline on text (optional) */
|
|
26
|
+
this.underline = false;
|
|
27
|
+
this.iconSize = 18;
|
|
28
|
+
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
29
|
+
this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
|
|
30
|
+
}
|
|
31
|
+
componentWillRender() {
|
|
32
|
+
if (this.iswhite) {
|
|
33
|
+
console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
|
|
34
|
+
}
|
|
35
|
+
if (this.big) {
|
|
36
|
+
console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
emitZLinkClick(e, linkId) {
|
|
40
|
+
this.emitZLinkInteraction(e, linkId);
|
|
41
|
+
}
|
|
42
|
+
emitZLinkInteraction(e, linkId) {
|
|
43
|
+
this.zLinkClick.emit({ e, linkId });
|
|
44
|
+
}
|
|
45
|
+
componentDidRender() {
|
|
46
|
+
if (this.icon) {
|
|
47
|
+
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
|
|
48
|
+
const currentSize = this.big ? 18 : Math.round(height * 1.125);
|
|
49
|
+
if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
|
|
50
|
+
this.iconSize = currentSize;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
const style = this.big ? { "--font-size-link": "16px", "--font-weight-link": "600" } : {};
|
|
56
|
+
return (h(Host, { style: style }, h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled ? "disabled" : ""}
|
|
57
|
+
${this.isactive ? "active" : ""}
|
|
58
|
+
${this.textcolor}
|
|
59
|
+
${this.iswhite ? "white" : ""}
|
|
60
|
+
${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon &&
|
|
61
|
+
h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && h("slot", null))));
|
|
62
|
+
}
|
|
63
|
+
get hostElement() { return getElement(this); }
|
|
64
|
+
};
|
|
65
65
|
ZLink.style = stylesCss;
|
|
66
66
|
|
|
67
67
|
export { ZLink as z_link };
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-fa9e549c.js';
|
|
2
|
+
import { r as ListSize, E as ExpandableListButtonAlign, s as ListDividerType, t as DividerSize, u as ExpandableListStyle, K as KeyboardKeys } from './index-09b57d95.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:flex;flex-direction:column}";
|
|
5
|
+
|
|
6
|
+
const ZList = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* [optional] Sets size of inside elements.
|
|
11
|
+
*/
|
|
12
|
+
this.size = ListSize.medium;
|
|
13
|
+
}
|
|
14
|
+
setChildrenSizeType() {
|
|
15
|
+
const children = this.host.children;
|
|
16
|
+
for (let i = 0; i < children.length - 1; i++) {
|
|
17
|
+
children[i].setAttribute("size", this.size);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
this.setChildrenSizeType();
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return (h(Host, { role: "list" }, h("slot", null)));
|
|
25
|
+
}
|
|
26
|
+
get host() { return getElement(this); }
|
|
27
|
+
};
|
|
28
|
+
ZList.style = stylesCss$2;
|
|
29
|
+
|
|
30
|
+
const stylesCss$1 = ":host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}:host([size=\"small\"])>.container{padding:calc(var(--space-unit) / 2) 0;min-height:calc(var(--space-unit) * 4)}:host([size=\"medium\"])>.container{padding:var(--space-unit) 0;min-height:calc(var(--space-unit) * 5)}:host([size=\"large\"])>.container{padding:calc(var(--space-unit) * 2) 0;min-height:calc(var(--space-unit) * 7)}:host([size=\"x-large\"])>.container{padding:calc(var(--space-unit) * 3) 0;min-height:calc(var(--space-unit) * 9)}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}";
|
|
31
|
+
|
|
32
|
+
const ZListElement = class {
|
|
33
|
+
/**
|
|
34
|
+
* Constructor.
|
|
35
|
+
*/
|
|
36
|
+
constructor(hostRef) {
|
|
37
|
+
registerInstance(this, hostRef);
|
|
38
|
+
this.accessibleFocus = createEvent(this, "accessibleFocus", 7);
|
|
39
|
+
this.clickItem = createEvent(this, "clickItem", 7);
|
|
40
|
+
/**
|
|
41
|
+
* [optional] Align expandable button left or right.
|
|
42
|
+
*/
|
|
43
|
+
this.alignButton = ExpandableListButtonAlign.left;
|
|
44
|
+
/**
|
|
45
|
+
* [optional] Sets element clickable.
|
|
46
|
+
*/
|
|
47
|
+
this.clickable = false;
|
|
48
|
+
/**
|
|
49
|
+
* [optional] Sets the divider color.
|
|
50
|
+
*/
|
|
51
|
+
this.dividerColor = "color-surface03";
|
|
52
|
+
/**
|
|
53
|
+
* [optional] Sets the position where to insert the divider.
|
|
54
|
+
*/
|
|
55
|
+
this.dividerType = ListDividerType.none;
|
|
56
|
+
/**
|
|
57
|
+
* [optional] Sets the divider size.
|
|
58
|
+
*/
|
|
59
|
+
this.dividerSize = DividerSize.small;
|
|
60
|
+
/**
|
|
61
|
+
* [optional] Sets element as expandable.
|
|
62
|
+
*/
|
|
63
|
+
this.expandable = false;
|
|
64
|
+
/**
|
|
65
|
+
* [optional] Sets expandable style to element.
|
|
66
|
+
*/
|
|
67
|
+
this.expandableStyle = ExpandableListStyle.accordion;
|
|
68
|
+
/**
|
|
69
|
+
* [optional] Sets size of inside elements.
|
|
70
|
+
*/
|
|
71
|
+
this.size = ListSize.medium;
|
|
72
|
+
/**
|
|
73
|
+
* [optional] Sets text color of the element.
|
|
74
|
+
*/
|
|
75
|
+
this.color = "none";
|
|
76
|
+
/**
|
|
77
|
+
* [optional] Sets disabled style of the element.
|
|
78
|
+
*/
|
|
79
|
+
this.disabled = false;
|
|
80
|
+
/**
|
|
81
|
+
* [optional] If is used in ZContextualMenu component
|
|
82
|
+
*/
|
|
83
|
+
this.isContextualMenu = false;
|
|
84
|
+
this.showInnerContent = false;
|
|
85
|
+
this.openElementConfig = {
|
|
86
|
+
accordion: {
|
|
87
|
+
open: "minus-circled",
|
|
88
|
+
close: "plus-circled",
|
|
89
|
+
},
|
|
90
|
+
menu: {
|
|
91
|
+
open: "chevron-up",
|
|
92
|
+
close: "chevron-down",
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
this.handleClick = this.handleClick.bind(this);
|
|
96
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
97
|
+
}
|
|
98
|
+
accessibleFocusHandler(e) {
|
|
99
|
+
if (this.listElementId === e.detail) {
|
|
100
|
+
const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);
|
|
101
|
+
toFocus.focus();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Handler for click on element. If element is expandable, change state.
|
|
106
|
+
* @returns void
|
|
107
|
+
*/
|
|
108
|
+
handleClick() {
|
|
109
|
+
this.clickItem.emit(this.listElementId);
|
|
110
|
+
if (!this.expandable) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
this.showInnerContent = !this.showInnerContent;
|
|
114
|
+
}
|
|
115
|
+
calculateClass() {
|
|
116
|
+
if (this.isContextualMenu) {
|
|
117
|
+
return "container-contextual-menu";
|
|
118
|
+
}
|
|
119
|
+
return "container";
|
|
120
|
+
}
|
|
121
|
+
handleKeyDown(event) {
|
|
122
|
+
const expandByKey = event.code === KeyboardKeys.ENTER;
|
|
123
|
+
switch (event.code) {
|
|
124
|
+
case KeyboardKeys.ARROW_DOWN:
|
|
125
|
+
event.preventDefault();
|
|
126
|
+
this.accessibleFocus.emit(this.listElementId + 1);
|
|
127
|
+
break;
|
|
128
|
+
case KeyboardKeys.ARROW_UP:
|
|
129
|
+
event.preventDefault();
|
|
130
|
+
this.accessibleFocus.emit(this.listElementId - 1);
|
|
131
|
+
break;
|
|
132
|
+
case KeyboardKeys.ENTER:
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
this.clickItem.emit(this.listElementId);
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
if (!this.expandable || !expandByKey) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
this.showInnerContent = !this.showInnerContent;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Renders button to expand element.
|
|
144
|
+
* @returns expadable button
|
|
145
|
+
*/
|
|
146
|
+
renderExpandableButton() {
|
|
147
|
+
if (!this.expandable) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
return (h("z-icon", { name: this.showInnerContent
|
|
151
|
+
? this.openElementConfig[this.expandableStyle].open
|
|
152
|
+
: this.openElementConfig[this.expandableStyle].close }));
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Renders expanded content if element is expandable.
|
|
156
|
+
* @returns expanded content
|
|
157
|
+
*/
|
|
158
|
+
renderExpandedContent() {
|
|
159
|
+
if (!this.expandable) {
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
return (h("div", { class: {
|
|
163
|
+
"z-list-element-inner-container": true,
|
|
164
|
+
expanded: this.showInnerContent,
|
|
165
|
+
} }, h("slot", { name: "inner-content" })));
|
|
166
|
+
}
|
|
167
|
+
render() {
|
|
168
|
+
return (h(Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}` }, h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), h("slot", null)), this.renderExpandedContent()), this.dividerType === ListDividerType.element && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
169
|
+
}
|
|
170
|
+
get host() { return getElement(this); }
|
|
171
|
+
};
|
|
172
|
+
ZListElement.style = stylesCss$1;
|
|
173
|
+
|
|
174
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;line-height:1.4;letter-spacing:0.16px}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";
|
|
175
|
+
|
|
176
|
+
const ZListGroup = class {
|
|
177
|
+
constructor(hostRef) {
|
|
178
|
+
registerInstance(this, hostRef);
|
|
179
|
+
/**
|
|
180
|
+
* [optional] Sets size of inside elements.
|
|
181
|
+
*/
|
|
182
|
+
this.size = ListSize.medium;
|
|
183
|
+
/**
|
|
184
|
+
* [optional] Sets the position where to insert the divider.
|
|
185
|
+
*/
|
|
186
|
+
this.dividerType = ListDividerType.none;
|
|
187
|
+
/**
|
|
188
|
+
* [optional] Sets the divider size.
|
|
189
|
+
*/
|
|
190
|
+
this.dividerSize = DividerSize.small;
|
|
191
|
+
/**
|
|
192
|
+
* [optional] Sets the divider color.
|
|
193
|
+
*/
|
|
194
|
+
this.dividerColor = "gray200";
|
|
195
|
+
}
|
|
196
|
+
componentDidLoad() {
|
|
197
|
+
const children = this.host.children;
|
|
198
|
+
for (let i = 0; i < children.length; i++) {
|
|
199
|
+
if (children.length - 1 > i) {
|
|
200
|
+
children[i].setAttribute("divider-type", this.dividerType);
|
|
201
|
+
children[i].setAttribute("divider-size", this.dividerSize);
|
|
202
|
+
children[i].setAttribute("divider-color", this.dividerColor);
|
|
203
|
+
}
|
|
204
|
+
children[i].setAttribute("size", this.size);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
componentWillLoad() {
|
|
208
|
+
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
209
|
+
}
|
|
210
|
+
render() {
|
|
211
|
+
return (h(Host, { role: "group" }, h("div", { class: {
|
|
212
|
+
"z-list-group-header-container": true,
|
|
213
|
+
"has-header": this.hasHeader,
|
|
214
|
+
} }, h("slot", { name: "header-title" }), this.dividerType === ListDividerType.header && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))), h("slot", null)));
|
|
215
|
+
}
|
|
216
|
+
get host() { return getElement(this); }
|
|
217
|
+
};
|
|
218
|
+
ZListGroup.style = stylesCss;
|
|
219
|
+
|
|
220
|
+
export { ZList as z_list, ZListElement as z_list_element, ZListGroup as z_list_group };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-fa9e549c.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{display:inline-block;vertical-align:top;width:255px;height:64px}img{display:block;margin:auto;width:100%;height:100%;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";
|
|
4
4
|
|
|
5
|
-
const ZLogo = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
const style = {};
|
|
11
|
-
if (this.width) {
|
|
12
|
-
style["width"] = style["max-width"] = `${this.width}px`;
|
|
13
|
-
}
|
|
14
|
-
if (this.height) {
|
|
15
|
-
style["height"] = style["max-height"] = `${this.height}px`;
|
|
16
|
-
}
|
|
17
|
-
return (h(Host, { style: style, class: { "mobile": !!this.mobileLogo } }, this.link ?
|
|
18
|
-
h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt })) :
|
|
19
|
-
h("img", { alt: this.imageAlt })));
|
|
20
|
-
}
|
|
21
|
-
};
|
|
5
|
+
const ZLogo = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const style = {};
|
|
11
|
+
if (this.width) {
|
|
12
|
+
style["width"] = style["max-width"] = `${this.width}px`;
|
|
13
|
+
}
|
|
14
|
+
if (this.height) {
|
|
15
|
+
style["height"] = style["max-height"] = `${this.height}px`;
|
|
16
|
+
}
|
|
17
|
+
return (h(Host, { style: style, class: { "mobile": !!this.mobileLogo } }, this.link ?
|
|
18
|
+
h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt })) :
|
|
19
|
+
h("img", { alt: this.imageAlt })));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
22
|
ZLogo.style = stylesCss;
|
|
23
23
|
|
|
24
24
|
export { ZLogo as z_logo };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-fa9e549c.js';
|
|
2
|
+
import { k as keybordKeyCodeEnum } from './index-09b57d95.js';
|
|
3
|
+
import { g as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-f0067254.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss$1 = ":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}}";
|
|
7
|
+
|
|
8
|
+
const ZMenuDropdown = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.ismenuopen = false;
|
|
12
|
+
this.handleToggle = this.handleToggle.bind(this);
|
|
13
|
+
this.handleFocus = this.handleFocus.bind(this);
|
|
14
|
+
}
|
|
15
|
+
componentWillRender() {
|
|
16
|
+
this.linkarray =
|
|
17
|
+
typeof this.menucontent === "string"
|
|
18
|
+
? JSON.parse(this.menucontent)
|
|
19
|
+
: this.menucontent;
|
|
20
|
+
}
|
|
21
|
+
renderMenuOpen() {
|
|
22
|
+
if (this.ismenuopen) {
|
|
23
|
+
return (h("ul", null, this.linkarray.map(bean => (h("li", null, h("z-link", { htmlid: bean.id, href: bean.link, icon: bean.icon }, bean.label))))));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
renderButtonMenu() {
|
|
27
|
+
return (h("span", { class: "arrow" }, h("z-icon", { name: "caret-down", width: 14, height: 14 })));
|
|
28
|
+
}
|
|
29
|
+
retriveMenuClass() {
|
|
30
|
+
if (this.ismenuopen)
|
|
31
|
+
return "menu-opened";
|
|
32
|
+
}
|
|
33
|
+
handleToggle() {
|
|
34
|
+
this.ismenuopen = !this.ismenuopen;
|
|
35
|
+
}
|
|
36
|
+
handleFocus(e) {
|
|
37
|
+
if (e instanceof KeyboardEvent && e.keyCode !== keybordKeyCodeEnum.TAB)
|
|
38
|
+
return;
|
|
39
|
+
const tree = getElementTree(getClickedElement());
|
|
40
|
+
const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-menu-dropdown");
|
|
41
|
+
if (!menuParent) {
|
|
42
|
+
document.removeEventListener("click", this.handleFocus);
|
|
43
|
+
document.removeEventListener("keyup", this.handleFocus);
|
|
44
|
+
this.ismenuopen = false;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return (h("a", { class: this.retriveMenuClass(), role: "button", tabindex: "0", onFocus: () => {
|
|
49
|
+
document.addEventListener("click", this.handleFocus);
|
|
50
|
+
document.addEventListener("keyup", this.handleFocus);
|
|
51
|
+
}, onKeyUp: (e) => handleKeyboardSubmit(e, this.handleToggle) }, h("div", { class: "container", onClick: () => this.handleToggle() }, h("span", { class: "user-wrapper" }, h("z-icon", { name: "user-avatar", width: 14, height: 14 }), h("span", { class: "user" }, this.nomeutente)), this.renderButtonMenu()), this.renderMenuOpen()));
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
ZMenuDropdown.style = stylesCss$1;
|
|
55
|
+
|
|
56
|
+
const stylesCss = "ul{margin:0;padding:0}";
|
|
57
|
+
|
|
58
|
+
const ZMyzList = class {
|
|
59
|
+
constructor(hostRef) {
|
|
60
|
+
registerInstance(this, hostRef);
|
|
61
|
+
}
|
|
62
|
+
componentWillLoad() {
|
|
63
|
+
if (this.inputrawdata) {
|
|
64
|
+
this.parseinputrawdata(this.inputrawdata);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
parseinputrawdata(inputrawdata) {
|
|
68
|
+
this.list = [...JSON.parse(inputrawdata)];
|
|
69
|
+
}
|
|
70
|
+
oninputrawdataChange(newValue) {
|
|
71
|
+
this.parseinputrawdata(newValue);
|
|
72
|
+
}
|
|
73
|
+
render() {
|
|
74
|
+
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
75
|
+
return (h("ul", null, this.list &&
|
|
76
|
+
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
77
|
+
}
|
|
78
|
+
static get watchers() { return {
|
|
79
|
+
"inputrawdata": ["oninputrawdataChange"]
|
|
80
|
+
}; }
|
|
81
|
+
};
|
|
82
|
+
ZMyzList.style = stylesCss;
|
|
83
|
+
|
|
84
|
+
export { ZMenuDropdown as z_menu_dropdown, ZMyzList as z_myz_list };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-text01)}:host([active]) .label,:host([open]) .label,.label:hover{border-color:var(--color-secondary01)}.label{display:flex;align-items:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left;background:transparent;border-radius:0;border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);cursor:pointer}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{outline:none;box-shadow:var(--shadow-focus-primary)}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:currentColor}.items{display:flex;flex-direction:column;width:100%;padding:calc(var(--space-unit) * 0.5);padding-bottom:calc(var(--space-unit) * 2)}.items>::slotted([slot='item']){display:inline-flex;margin:0;padding:calc(var(--space-unit) * 0.5);font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot='item']:last-child){padding-bottom:0}.items>::slotted([slot='item']:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot='item']:hover){color:var(--color-secondary01)}";
|
|
4
4
|
|
|
5
|
-
const ZMenuSection = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.opened = createEvent(this, "opened", 7);
|
|
9
|
-
this.closed = createEvent(this, "closed", 7);
|
|
10
|
-
}
|
|
11
|
-
toggle() {
|
|
12
|
-
if (!this.hasContent) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
this.open = !this.open;
|
|
16
|
-
this.open ? this.opened.emit() : this.closed.emit();
|
|
17
|
-
}
|
|
18
|
-
/** Close the list when a click is performed outside of this Element. */
|
|
19
|
-
handleClick(ev) {
|
|
20
|
-
if (!this.open || this.hostElement.contains(ev.target)) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
this.open = false;
|
|
24
|
-
this.closed.emit();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if some content slot is set.
|
|
28
|
-
*/
|
|
29
|
-
checkContent() {
|
|
30
|
-
this.hasContent = !!this.hostElement.querySelectorAll('[slot="item"]').length;
|
|
31
|
-
}
|
|
32
|
-
componentWillLoad() {
|
|
33
|
-
this.checkContent();
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
return h(Host, { role: "menu", open: this.open }, h("button", { class: "label", "aria-pressed": this.open ? 'true' : 'false', onClick: this.toggle.bind(this) }, h("slot", null), this.hasContent && h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })), this.open && h("div", { class: "items" }, h("slot", { name: "item", onSlotchange: this.checkContent.bind(this) })));
|
|
37
|
-
}
|
|
38
|
-
get hostElement() { return getElement(this); }
|
|
39
|
-
};
|
|
5
|
+
const ZMenuSection = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.opened = createEvent(this, "opened", 7);
|
|
9
|
+
this.closed = createEvent(this, "closed", 7);
|
|
10
|
+
}
|
|
11
|
+
toggle() {
|
|
12
|
+
if (!this.hasContent) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.open = !this.open;
|
|
16
|
+
this.open ? this.opened.emit() : this.closed.emit();
|
|
17
|
+
}
|
|
18
|
+
/** Close the list when a click is performed outside of this Element. */
|
|
19
|
+
handleClick(ev) {
|
|
20
|
+
if (!this.open || this.hostElement.contains(ev.target)) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
this.open = false;
|
|
24
|
+
this.closed.emit();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if some content slot is set.
|
|
28
|
+
*/
|
|
29
|
+
checkContent() {
|
|
30
|
+
this.hasContent = !!this.hostElement.querySelectorAll('[slot="item"]').length;
|
|
31
|
+
}
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
this.checkContent();
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
return h(Host, { role: "menu", open: this.open }, h("button", { class: "label", "aria-pressed": this.open ? 'true' : 'false', onClick: this.toggle.bind(this) }, h("slot", null), this.hasContent && h("z-icon", { name: this.open ? 'chevron-up' : 'chevron-down' })), this.open && h("div", { class: "items" }, h("slot", { name: "item", onSlotchange: this.checkContent.bind(this) })));
|
|
37
|
+
}
|
|
38
|
+
get hostElement() { return getElement(this); }
|
|
39
|
+
};
|
|
40
40
|
ZMenuSection.style = stylesCss;
|
|
41
41
|
|
|
42
42
|
export { ZMenuSection as z_menu_section };
|