@zanichelli/albe-web-components 2.30.0-rc1 → 2.30.0-rc5
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/dist/cjs/breakpoints-88c4fd6c.js +7 -0
- package/{www/build/hammer-52e2c4fe.js → dist/cjs/hammer-6e321f0b.js} +18 -4
- package/dist/cjs/index-8f4b351d.js +251 -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-6d6841cc.js +75 -0
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/cjs/z-alert_66.cjs.entry.js +3667 -0
- package/dist/cjs/z-app-header.cjs.entry.js +143 -0
- package/{www/build/z-candybar.entry.js → dist/cjs/z-candybar.cjs.entry.js} +8 -4
- package/dist/{web-components-library/z-cookiebar.entry.js → cjs/z-cookiebar.cjs.entry.js} +11 -7
- package/dist/cjs/z-heading.cjs.entry.js +17 -0
- package/dist/{web-components-library/z-messages-pocket.entry.js → cjs/z-messages-pocket.cjs.entry.js} +17 -13
- package/dist/cjs/z-modal-login.cjs.entry.js +81 -0
- package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +10 -6
- package/{www/build/z-myz-card-footer-sections.entry.js → dist/cjs/z-myz-card-footer-sections.cjs.entry.js} +8 -4
- package/dist/{web-components-library/z-myz-card-info.entry.js → cjs/z-myz-card-info.cjs.entry.js} +23 -19
- package/dist/{web-components-library/z-myz-topbar.entry.js → cjs/z-myz-topbar.cjs.entry.js} +33 -29
- package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +10 -6
- package/{www/build/z-navigation-tabs.entry.js → dist/cjs/z-navigation-tabs.cjs.entry.js} +15 -11
- package/dist/{web-components-library/z-otp.entry.js → cjs/z-otp.cjs.entry.js} +12 -8
- package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +8 -4
- package/dist/cjs/z-pocket_3.cjs.entry.js +124 -0
- package/dist/{web-components-library/z-registro-table-footer.entry.js → cjs/z-registro-table-footer.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-slideshow.entry.js → cjs/z-slideshow.cjs.entry.js} +23 -19
- package/{www/build/z-toast-notification-list.entry.js → dist/cjs/z-toast-notification-list.cjs.entry.js} +11 -7
- package/{www/build/z-toast-notification.entry.js → dist/cjs/z-toast-notification.cjs.entry.js} +34 -31
- package/{www/build/index-020789bb.js → dist/collection/beans/index.js} +34 -36
- package/dist/collection/collection-manifest.json +98 -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 +144 -0
- package/dist/collection/components/footer/z-footer/styles.css +180 -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 +164 -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/{web-components-library/icons-8f642f81.js → collection/components/icons/icons.js} +1 -3
- 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 +111 -0
- package/dist/collection/components/logo/z-logo/styles.css +31 -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 +441 -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 +163 -0
- package/dist/collection/components/navigation/z-app-topbar/styles.css +80 -0
- package/dist/collection/components/navigation/z-link/index.js +309 -0
- package/dist/collection/components/navigation/z-link/styles.css +160 -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 +310 -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/{web-components-library/z-tooltip.entry.js → collection/components/notification/z-tooltip/index.js} +128 -19
- 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-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 +274 -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/{www/build/breakpoints-c386984e.js → dist/collection/constants/breakpoints.js} +1 -2
- 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 +360 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +167 -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 +58 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +39 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +64 -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 +36 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +16 -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 +240 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +67 -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-cb1be595.js → dist/collection/utils/utils.js} +12 -15
- package/dist/{web-components-library → esm}/breakpoints-c386984e.js +0 -0
- package/dist/{web-components-library/hammer-52e2c4fe.js → esm/hammer-c807d0b5.js} +15 -4
- package/dist/{web-components-library/index-020789bb.js → esm/index-0258069c.js} +1 -1
- 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-cb1be595.js → esm/utils-0345e333.js} +2 -20
- package/dist/esm/web-components-library.js +17 -0
- package/dist/esm/z-alert_66.entry.js +3598 -0
- package/dist/esm/z-app-header.entry.js +139 -0
- package/dist/{web-components-library → esm}/z-candybar.entry.js +1 -1
- package/{www/build → dist/esm}/z-cookiebar.entry.js +2 -2
- package/{www/build → dist/esm}/z-heading.entry.js +1 -1
- package/{www/build → dist/esm}/z-messages-pocket.entry.js +2 -2
- package/{www/build → dist/esm}/z-modal-login.entry.js +2 -2
- package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-myz-card-footer-sections.entry.js +1 -1
- package/{www/build → dist/esm}/z-myz-card-info.entry.js +3 -3
- package/{www/build → dist/esm}/z-myz-topbar.entry.js +2 -2
- package/{www/build → dist/esm}/z-navigation-tab.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-navigation-tabs.entry.js +2 -2
- package/{www/build → dist/esm}/z-otp.entry.js +2 -2
- package/{www/build → dist/esm}/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +118 -0
- package/{www/build → dist/esm}/z-registro-table-footer.entry.js +1 -1
- package/{www/build → dist/esm}/z-slideshow.entry.js +3 -3
- package/dist/{web-components-library → esm}/z-toast-notification-list.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-toast-notification.entry.js +3 -4
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +14 -11
- package/dist/types/components.d.ts +28 -12
- 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-02e55441.entry.js +1 -0
- package/dist/web-components-library/p-140cc18f.entry.js +1 -0
- package/dist/web-components-library/p-14543c46.entry.js +1 -0
- package/dist/web-components-library/p-18f6f866.entry.js +1 -0
- package/dist/web-components-library/p-1c72783c.entry.js +1 -0
- package/dist/web-components-library/p-231e7797.entry.js +1 -0
- package/dist/web-components-library/p-2f354863.entry.js +1 -0
- package/dist/web-components-library/p-35b1f338.entry.js +1 -0
- package/dist/web-components-library/p-3cdefa38.entry.js +1 -0
- package/dist/web-components-library/p-4a6ec3df.entry.js +1 -0
- package/dist/web-components-library/p-5cdcaa8c.entry.js +1 -0
- package/dist/web-components-library/p-6c3a77ef.entry.js +1 -0
- package/dist/web-components-library/p-904a85e4.js +1 -0
- package/dist/web-components-library/p-96e3aec6.entry.js +1 -0
- package/dist/web-components-library/p-9912e411.js +7 -0
- package/dist/web-components-library/p-b80081c9.entry.js +1 -0
- package/dist/web-components-library/p-c7af96eb.entry.js +1 -0
- package/dist/web-components-library/p-d4830f32.entry.js +1 -0
- package/dist/web-components-library/p-d63b9ed3.js +1 -0
- package/dist/web-components-library/p-d69e14fb.js +1 -0
- package/dist/web-components-library/p-e7304c42.js +1 -0
- package/dist/web-components-library/p-f113a03a.entry.js +1 -0
- package/dist/web-components-library/p-fd4b12aa.entry.js +7 -0
- package/dist/web-components-library/p-ff6b02d1.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 +1 -1
- package/www/build/index.esm.js +1 -9
- package/www/build/p-017370c7.entry.js +1 -0
- package/www/build/p-02e55441.entry.js +1 -0
- package/www/build/p-140cc18f.entry.js +1 -0
- package/www/build/p-14543c46.entry.js +1 -0
- package/www/build/p-18f6f866.entry.js +1 -0
- package/www/build/p-1c72783c.entry.js +1 -0
- package/www/build/p-231e7797.entry.js +1 -0
- package/www/build/p-2f354863.entry.js +1 -0
- package/www/build/p-35b1f338.entry.js +1 -0
- package/www/build/p-3cdefa38.entry.js +1 -0
- package/www/build/p-4a6ec3df.entry.js +1 -0
- package/www/build/p-5cdcaa8c.entry.js +1 -0
- package/www/build/p-6c3a77ef.entry.js +1 -0
- package/www/build/p-904a85e4.js +1 -0
- package/www/build/p-96e3aec6.entry.js +1 -0
- package/www/build/p-97a11655.css +789 -0
- package/www/build/p-9912e411.js +7 -0
- package/www/build/p-b80081c9.entry.js +1 -0
- package/www/build/p-c7af96eb.entry.js +1 -0
- package/www/build/p-ca4507e5.js +122 -0
- package/www/build/p-d4830f32.entry.js +1 -0
- package/www/build/p-d63b9ed3.js +1 -0
- package/www/build/p-d69e14fb.js +1 -0
- package/www/build/p-e7304c42.js +1 -0
- package/www/build/p-f113a03a.entry.js +1 -0
- package/www/build/p-fd4b12aa.entry.js +7 -0
- package/www/build/p-ff6b02d1.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 +5 -14
- 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/index-8067f807.js +0 -64
- package/dist/web-components-library/shadow-css-c1ad5fdc.js +0 -383
- package/dist/web-components-library/z-alert.entry.js +0 -15
- package/dist/web-components-library/z-app-header.entry.js +0 -139
- package/dist/web-components-library/z-app-switcher.entry.js +0 -25
- package/dist/web-components-library/z-app-topbar.entry.js +0 -50
- package/dist/web-components-library/z-avatar.entry.js +0 -39
- 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-sort.entry.js +0 -50
- package/dist/web-components-library/z-button.entry.js +0 -35
- package/dist/web-components-library/z-card.entry.js +0 -54
- package/dist/web-components-library/z-chip.entry.js +0 -20
- package/dist/web-components-library/z-combobox.entry.js +0 -166
- package/dist/web-components-library/z-contextual-menu.entry.js +0 -36
- package/dist/web-components-library/z-divider.entry.js +0 -22
- 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-footer.entry.js +0 -76
- package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
- package/dist/web-components-library/z-heading.entry.js +0 -13
- 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-info-box.entry.js +0 -21
- 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-link.entry.js +0 -67
- 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-logo.entry.js +0 -24
- package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
- package/dist/web-components-library/z-menu-section.entry.js +0 -42
- package/dist/web-components-library/z-menu.entry.js +0 -106
- 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-alert.entry.js +0 -59
- 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-footer.entry.js +0 -48
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -34
- package/dist/web-components-library/z-myz-card-icon.entry.js +0 -17
- package/dist/web-components-library/z-myz-card-list.entry.js +0 -33
- package/dist/web-components-library/z-myz-card.entry.js +0 -37
- package/dist/web-components-library/z-myz-list-item.entry.js +0 -33
- package/dist/web-components-library/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/z-notification.entry.js +0 -38
- package/dist/web-components-library/z-pagination-bar.entry.js +0 -126
- package/dist/web-components-library/z-pagination-page.entry.js +0 -21
- 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 -124
- 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 -30
- package/dist/web-components-library/z-registro-table-empty-box.entry.js +0 -19
- 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 -80
- 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 -73
- package/dist/web-components-library/z-select.entry.js +0 -281
- package/dist/web-components-library/z-status-tag.entry.js +0 -25
- package/dist/web-components-library/z-stepper-item.entry.js +0 -18
- package/dist/web-components-library/z-stepper.entry.js +0 -15
- package/dist/web-components-library/z-toggle-button.entry.js +0 -32
- package/dist/web-components-library/z-typography.entry.js +0 -25
- package/dist/web-components-library/z-user-dropdown.entry.js +0 -91
- 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/icons-8f642f81.js +0 -437
- package/www/build/index-44936066.js +0 -2832
- package/www/build/index-8067f807.js +0 -64
- package/www/build/shadow-css-c1ad5fdc.js +0 -383
- package/www/build/z-alert.entry.js +0 -15
- package/www/build/z-app-header.entry.js +0 -139
- package/www/build/z-app-switcher.entry.js +0 -25
- package/www/build/z-app-topbar.entry.js +0 -50
- package/www/build/z-avatar.entry.js +0 -39
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-filter.entry.js +0 -45
- package/www/build/z-button-sort.entry.js +0 -50
- package/www/build/z-button.entry.js +0 -35
- package/www/build/z-card.entry.js +0 -54
- package/www/build/z-chip.entry.js +0 -20
- package/www/build/z-combobox.entry.js +0 -166
- package/www/build/z-contextual-menu.entry.js +0 -36
- package/www/build/z-divider.entry.js +0 -22
- 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-footer.entry.js +0 -76
- package/www/build/z-ghost-loading.entry.js +0 -15
- package/www/build/z-icon-package.entry.js +0 -19
- package/www/build/z-icon.entry.js +0 -24
- package/www/build/z-info-box.entry.js +0 -21
- 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-link.entry.js +0 -67
- 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-logo.entry.js +0 -24
- package/www/build/z-menu-dropdown.entry.js +0 -56
- package/www/build/z-menu-section.entry.js +0 -42
- package/www/build/z-menu.entry.js +0 -106
- package/www/build/z-modal.entry.js +0 -32
- package/www/build/z-myz-card-alert.entry.js +0 -59
- 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-icon.entry.js +0 -17
- package/www/build/z-myz-card-list.entry.js +0 -33
- package/www/build/z-myz-card.entry.js +0 -37
- package/www/build/z-myz-list-item.entry.js +0 -33
- package/www/build/z-myz-list.entry.js +0 -31
- package/www/build/z-notification.entry.js +0 -38
- package/www/build/z-pagination-bar.entry.js +0 -126
- package/www/build/z-pagination-page.entry.js +0 -21
- package/www/build/z-panel-elem.entry.js +0 -26
- 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 -124
- package/www/build/z-registro-table-body.entry.js +0 -20
- package/www/build/z-registro-table-cell.entry.js +0 -30
- package/www/build/z-registro-table-empty-box.entry.js +0 -19
- package/www/build/z-registro-table-expanded-row.entry.js +0 -15
- 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 -80
- 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 -73
- package/www/build/z-select.entry.js +0 -281
- package/www/build/z-status-tag.entry.js +0 -25
- package/www/build/z-stepper-item.entry.js +0 -18
- package/www/build/z-stepper.entry.js +0 -15
- package/www/build/z-toggle-button.entry.js +0 -32
- package/www/build/z-tooltip.entry.js +0 -270
- package/www/build/z-typography.entry.js +0 -25
- package/www/build/z-user-dropdown.entry.js +0 -91
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, Prop, h } from "@stencil/core";
|
|
2
|
+
export class ZMyzCardList {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.renderList = this.renderList.bind(this);
|
|
5
|
+
}
|
|
6
|
+
handleSpaceKeyPress(e, url) {
|
|
7
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
8
|
+
e.preventDefault();
|
|
9
|
+
window.open(url, "_blank");
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
formatListContent(data) {
|
|
13
|
+
const { value, isLink, url } = data;
|
|
14
|
+
if (!isLink)
|
|
15
|
+
return h("span", null, value);
|
|
16
|
+
return (h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
17
|
+
}
|
|
18
|
+
renderList(dataArray) {
|
|
19
|
+
return dataArray.map((data) => {
|
|
20
|
+
return h("li", null, this.formatListContent(data));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "z-myz-card-list"; }
|
|
27
|
+
static get encapsulation() { return "shadow"; }
|
|
28
|
+
static get originalStyleUrls() { return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
}; }
|
|
31
|
+
static get styleUrls() { return {
|
|
32
|
+
"$": ["styles.css"]
|
|
33
|
+
}; }
|
|
34
|
+
static get properties() { return {
|
|
35
|
+
"listdata": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": "list data stringified array"
|
|
48
|
+
},
|
|
49
|
+
"attribute": "listdata",
|
|
50
|
+
"reflect": false
|
|
51
|
+
}
|
|
52
|
+
}; }
|
|
53
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
ul {
|
|
2
|
+
font-family: var(--font-family-sans);
|
|
3
|
+
color: var(--color-primary02);
|
|
4
|
+
margin: 0 calc(var(--space-unit) * 2);
|
|
5
|
+
padding: 0px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
list-style: none;
|
|
8
|
+
width: auto;
|
|
9
|
+
height: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ul > li {
|
|
13
|
+
padding-left: 10px;
|
|
14
|
+
text-indent: -10px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
ul > li > a {
|
|
18
|
+
display: block;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
font-weight: var(--font-sb);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
color: var(--color-primary01);
|
|
23
|
+
letter-spacing: 0.16px;
|
|
24
|
+
line-height: calc(var(--space-unit) * 2.5);
|
|
25
|
+
padding-top: calc(var(--space-unit) * .5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ul > li > a:before {
|
|
29
|
+
content: "•";
|
|
30
|
+
padding-right: 5px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ul > li > span {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
font-weight: var(--font-rg);
|
|
36
|
+
text-decoration: none;
|
|
37
|
+
color: var(--color-surface04);
|
|
38
|
+
padding: 0 calc(var(--space-unit) * 2);
|
|
39
|
+
letter-spacing: 0.16px;
|
|
40
|
+
line-height: calc(var(--space-unit) * 2.5);
|
|
41
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Component, Prop, h, Watch } from "@stencil/core";
|
|
2
|
+
export class ZMyzList {
|
|
3
|
+
componentWillLoad() {
|
|
4
|
+
if (this.inputrawdata) {
|
|
5
|
+
this.parseinputrawdata(this.inputrawdata);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
parseinputrawdata(inputrawdata) {
|
|
9
|
+
this.list = [...JSON.parse(inputrawdata)];
|
|
10
|
+
}
|
|
11
|
+
oninputrawdataChange(newValue) {
|
|
12
|
+
this.parseinputrawdata(newValue);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
16
|
+
return (h("ul", null, this.list &&
|
|
17
|
+
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 })))));
|
|
18
|
+
}
|
|
19
|
+
static get is() { return "z-myz-list"; }
|
|
20
|
+
static get encapsulation() { return "shadow"; }
|
|
21
|
+
static get originalStyleUrls() { return {
|
|
22
|
+
"$": ["styles.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get styleUrls() { return {
|
|
25
|
+
"$": ["styles.css"]
|
|
26
|
+
}; }
|
|
27
|
+
static get properties() { return {
|
|
28
|
+
"inputrawdata": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": true,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "string",
|
|
33
|
+
"resolved": "string",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": true,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": "json stringified list data (mutable, optional)"
|
|
41
|
+
},
|
|
42
|
+
"attribute": "inputrawdata",
|
|
43
|
+
"reflect": false
|
|
44
|
+
},
|
|
45
|
+
"list": {
|
|
46
|
+
"type": "unknown",
|
|
47
|
+
"mutable": true,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "ListItemBean[]",
|
|
50
|
+
"resolved": "ListItemBean[]",
|
|
51
|
+
"references": {
|
|
52
|
+
"ListItemBean": {
|
|
53
|
+
"location": "import",
|
|
54
|
+
"path": "../../../../beans/index.js"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": true,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "list item data (mutable, optional)"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}; }
|
|
66
|
+
static get watchers() { return [{
|
|
67
|
+
"propName": "inputrawdata",
|
|
68
|
+
"methodName": "oninputrawdataChange"
|
|
69
|
+
}]; }
|
|
70
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { Component, Prop, h, Event } from "@stencil/core";
|
|
2
|
+
import { handleKeyboardSubmit } from "../../../../utils/utils";
|
|
3
|
+
export class ZMyzListItem {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** link target (optional) */
|
|
6
|
+
this.linktarget = "_self";
|
|
7
|
+
/** underlined style flag */
|
|
8
|
+
this.underlined = true;
|
|
9
|
+
this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);
|
|
10
|
+
this.emitZListItemClick = this.emitZListItemClick.bind(this);
|
|
11
|
+
}
|
|
12
|
+
emitZListItemLinkClick(e, linkId) {
|
|
13
|
+
this.zListItemLinkClick.emit({ e, linkId });
|
|
14
|
+
}
|
|
15
|
+
emitZListItemClick(e, listitemid) {
|
|
16
|
+
this.zListItemClick.emit({ e, listitemid });
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const linkId = this.listitemid ? `link_${this.listitemid}` : "";
|
|
20
|
+
return (h("li", { role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) },
|
|
21
|
+
h("span", { class: this.underlined && "border" },
|
|
22
|
+
this.icon && h("z-icon", { name: this.icon }),
|
|
23
|
+
this.link ? (h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (h("span", { innerHTML: this.text })),
|
|
24
|
+
h("slot", null))));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "z-myz-list-item"; }
|
|
27
|
+
static get encapsulation() { return "shadow"; }
|
|
28
|
+
static get originalStyleUrls() { return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
}; }
|
|
31
|
+
static get styleUrls() { return {
|
|
32
|
+
"$": ["styles.css"]
|
|
33
|
+
}; }
|
|
34
|
+
static get properties() { return {
|
|
35
|
+
"text": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": "content text"
|
|
48
|
+
},
|
|
49
|
+
"attribute": "text",
|
|
50
|
+
"reflect": false
|
|
51
|
+
},
|
|
52
|
+
"link": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": true,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "link url (optional)"
|
|
65
|
+
},
|
|
66
|
+
"attribute": "link",
|
|
67
|
+
"reflect": false
|
|
68
|
+
},
|
|
69
|
+
"linktarget": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": true,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "link target (optional)"
|
|
82
|
+
},
|
|
83
|
+
"attribute": "linktarget",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "\"_self\""
|
|
86
|
+
},
|
|
87
|
+
"icon": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string",
|
|
92
|
+
"resolved": "string",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": true,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "icon name (optional)"
|
|
100
|
+
},
|
|
101
|
+
"attribute": "icon",
|
|
102
|
+
"reflect": false
|
|
103
|
+
},
|
|
104
|
+
"listitemid": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "string",
|
|
109
|
+
"resolved": "string",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": true,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "id (optional)"
|
|
117
|
+
},
|
|
118
|
+
"attribute": "listitemid",
|
|
119
|
+
"reflect": false
|
|
120
|
+
},
|
|
121
|
+
"action": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "string",
|
|
126
|
+
"resolved": "string",
|
|
127
|
+
"references": {}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": "data-action attribute (optional)"
|
|
134
|
+
},
|
|
135
|
+
"attribute": "action",
|
|
136
|
+
"reflect": false
|
|
137
|
+
},
|
|
138
|
+
"underlined": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "boolean",
|
|
143
|
+
"resolved": "boolean",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "underlined style flag"
|
|
151
|
+
},
|
|
152
|
+
"attribute": "underlined",
|
|
153
|
+
"reflect": false,
|
|
154
|
+
"defaultValue": "true"
|
|
155
|
+
}
|
|
156
|
+
}; }
|
|
157
|
+
static get events() { return [{
|
|
158
|
+
"method": "zListItemLinkClick",
|
|
159
|
+
"name": "zListItemLinkClick",
|
|
160
|
+
"bubbles": true,
|
|
161
|
+
"cancelable": true,
|
|
162
|
+
"composed": true,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "emitted on list item link click, returns linkId"
|
|
166
|
+
},
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "any",
|
|
169
|
+
"resolved": "any",
|
|
170
|
+
"references": {}
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
"method": "zListItemClick",
|
|
174
|
+
"name": "zListItemClick",
|
|
175
|
+
"bubbles": true,
|
|
176
|
+
"cancelable": true,
|
|
177
|
+
"composed": true,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "emitted on list item click, returns listitemid"
|
|
181
|
+
},
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "any",
|
|
184
|
+
"resolved": "any",
|
|
185
|
+
"references": {}
|
|
186
|
+
}
|
|
187
|
+
}]; }
|
|
188
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
:host li {
|
|
2
|
+
all: unset;
|
|
3
|
+
all: reset;
|
|
4
|
+
width:100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
:host li {
|
|
9
|
+
list-style-type: none;
|
|
10
|
+
line-height: 14px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host li > span {
|
|
14
|
+
line-height: 14px;
|
|
15
|
+
padding: calc(var(--space-unit) * 2) 0;
|
|
16
|
+
display: flex;
|
|
17
|
+
font-family: var(--dashboard-font);
|
|
18
|
+
font-weight: var(--font-rg);
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
letter-spacing: 0.23px;
|
|
21
|
+
color: var(--text-grey-800);
|
|
22
|
+
fill: var(--text-grey-800);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host li > span.border{
|
|
26
|
+
border-bottom: 2px solid var(--bg-grey-200);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host li span:hover, a:hover{
|
|
30
|
+
color: var(--myz-blue);
|
|
31
|
+
fill: var(--myz-blue);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
a, a:visited, a:active {
|
|
35
|
+
color: inherit;
|
|
36
|
+
fill: inherit;
|
|
37
|
+
text-decoration:none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host li span z-icon {
|
|
41
|
+
color: var(--myz-blue);
|
|
42
|
+
fill: var(--myz-blue);
|
|
43
|
+
height: calc(var(--space-unit) * 2);
|
|
44
|
+
width: calc(var(--space-unit) * 2);
|
|
45
|
+
padding: 0 calc(var(--space-unit) * 1.5) 0 0;
|
|
46
|
+
background-size: contain;
|
|
47
|
+
background-repeat: no-repeat;
|
|
48
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Component, Prop, h, Listen /* , State */ } from "@stencil/core";
|
|
2
|
+
import { PocketStatusEnum } from "../../../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - pocket body content
|
|
5
|
+
*/
|
|
6
|
+
export class ZMessagesPocket {
|
|
7
|
+
constructor() {
|
|
8
|
+
/** pocket status */
|
|
9
|
+
this.status = PocketStatusEnum.preview;
|
|
10
|
+
}
|
|
11
|
+
handlePocketToggle(e) {
|
|
12
|
+
if (e.detail.id === this.pocketid) {
|
|
13
|
+
this.status = e.detail.status;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
renderHeader() {
|
|
17
|
+
let message;
|
|
18
|
+
let icon;
|
|
19
|
+
switch (this.status) {
|
|
20
|
+
case PocketStatusEnum.preview:
|
|
21
|
+
case PocketStatusEnum.closed:
|
|
22
|
+
message = (h("span", null,
|
|
23
|
+
"Messaggi ",
|
|
24
|
+
h("span", { class: "badge" }, this.messages)));
|
|
25
|
+
icon = "chevron-up";
|
|
26
|
+
break;
|
|
27
|
+
case PocketStatusEnum.open:
|
|
28
|
+
message = h("span", null, "Riduci");
|
|
29
|
+
icon = "chevron-down";
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
return (h("z-pocket-header", { pocketid: this.pocketid },
|
|
33
|
+
message,
|
|
34
|
+
h("z-icon", { name: icon, width: 14, height: 14 })));
|
|
35
|
+
}
|
|
36
|
+
renderBody() {
|
|
37
|
+
return (h("z-pocket-body", { pocketid: this.pocketid },
|
|
38
|
+
h("div", { class: "body" },
|
|
39
|
+
h("slot", null)),
|
|
40
|
+
h("div", { class: "gradient" })));
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h("z-pocket", { pocketid: this.pocketid, status: this.status, class: this.status },
|
|
44
|
+
this.renderHeader(),
|
|
45
|
+
this.renderBody()));
|
|
46
|
+
}
|
|
47
|
+
static get is() { return "z-messages-pocket"; }
|
|
48
|
+
static get encapsulation() { return "shadow"; }
|
|
49
|
+
static get originalStyleUrls() { return {
|
|
50
|
+
"$": ["styles.css"]
|
|
51
|
+
}; }
|
|
52
|
+
static get styleUrls() { return {
|
|
53
|
+
"$": ["styles.css"]
|
|
54
|
+
}; }
|
|
55
|
+
static get properties() { return {
|
|
56
|
+
"pocketid": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "pocket id"
|
|
69
|
+
},
|
|
70
|
+
"attribute": "pocketid",
|
|
71
|
+
"reflect": false
|
|
72
|
+
},
|
|
73
|
+
"messages": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "number",
|
|
78
|
+
"resolved": "number",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": "number of messages"
|
|
86
|
+
},
|
|
87
|
+
"attribute": "messages",
|
|
88
|
+
"reflect": false
|
|
89
|
+
},
|
|
90
|
+
"status": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": true,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "PocketStatus",
|
|
95
|
+
"resolved": "PocketStatusEnum.closed | PocketStatusEnum.open | PocketStatusEnum.preview",
|
|
96
|
+
"references": {
|
|
97
|
+
"PocketStatus": {
|
|
98
|
+
"location": "import",
|
|
99
|
+
"path": "../../../../beans"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": "pocket status"
|
|
108
|
+
},
|
|
109
|
+
"attribute": "status",
|
|
110
|
+
"reflect": false,
|
|
111
|
+
"defaultValue": "PocketStatusEnum.preview"
|
|
112
|
+
}
|
|
113
|
+
}; }
|
|
114
|
+
static get listeners() { return [{
|
|
115
|
+
"name": "pocketToggle",
|
|
116
|
+
"method": "handlePocketToggle",
|
|
117
|
+
"target": "body",
|
|
118
|
+
"capture": false,
|
|
119
|
+
"passive": false
|
|
120
|
+
}]; }
|
|
121
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--font-family-sans);
|
|
3
|
+
font-weight: var(--font-rg);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:host > z-pocket {
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host > z-pocket.closed {
|
|
11
|
+
width: 158px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host > z-pocket > z-pocket-header {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
font-weight: var(--font-sb);
|
|
17
|
+
color: var(--color-primary01);
|
|
18
|
+
fill: var(--color-primary01);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host > z-pocket > z-pocket-header span.badge {
|
|
22
|
+
background: var(--color-secondary02);
|
|
23
|
+
color: var(--color-surface01);
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
padding: 0 calc(var(--space-unit)* 0.5);
|
|
26
|
+
display: inline-block;
|
|
27
|
+
margin-left: var(--space-unit);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host > z-pocket > z-pocket-header > z-icon {
|
|
31
|
+
margin-left: var(--space-unit);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host > z-pocket > z-pocket-body > div.body {
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
margin: 0 var(--space-unit);
|
|
37
|
+
padding: var(--space-unit);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host > z-pocket.preview > z-pocket-body {
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host > z-pocket.preview > z-pocket-body > div.gradient {
|
|
45
|
+
background-image: linear-gradient(rgba(255, 0, 0, 0), white);
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host > z-pocket.open > z-pocket-body > div.body {
|
|
54
|
+
max-height: calc(100vh - 166px);
|
|
55
|
+
overflow: auto;
|
|
56
|
+
scrollbar-width: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host ::-webkit-scrollbar {
|
|
60
|
+
width: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Tablet breakpoint */
|
|
64
|
+
@media only screen and (min-width: 768px) {
|
|
65
|
+
:host > z-pocket {
|
|
66
|
+
width: 768px;
|
|
67
|
+
margin: 0 calc((100% - 768px) / 2);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host > z-pocket.closed {
|
|
71
|
+
margin: 0 calc((100% - 158px) / 2);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:host > z-pocket.open > z-pocket-body > div.body {
|
|
75
|
+
max-height: 326px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Desktop breakpoint */
|
|
80
|
+
@media only screen and (min-width: 1152px) {
|
|
81
|
+
:host > z-pocket.open > z-pocket-body > div.body {
|
|
82
|
+
scrollbar-width: thin;
|
|
83
|
+
scrollbar-color: var(--color-primary01) var(--color-surface03);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host ::-webkit-scrollbar {
|
|
87
|
+
background: linear-gradient(
|
|
88
|
+
90deg,
|
|
89
|
+
var(--color-surface01) 2px,
|
|
90
|
+
var(--color-surface03) 4px,
|
|
91
|
+
var(--color-surface01) 8px
|
|
92
|
+
);
|
|
93
|
+
border-radius: var(--radius-base);
|
|
94
|
+
width: 10px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host ::-webkit-scrollbar-thumb {
|
|
98
|
+
background-color: var(--color-primary01);
|
|
99
|
+
border-radius: var(--radius-base);
|
|
100
|
+
width: var(--space-unit);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Wide breakpoint */
|
|
105
|
+
@media only screen and (min-width: 1366px) {
|
|
106
|
+
}
|