@zanichelli/albe-web-components 12.1.4-rc → 12.2.0
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/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/breakpoints-ebe1a437.js +9 -0
- package/dist/cjs/hammer-4f20813e.js +2650 -0
- package/dist/cjs/icons-d385b990.js +862 -0
- package/dist/cjs/index-00b6f6ba.js +20 -0
- package/dist/cjs/index-115387e6.js +17 -0
- package/dist/cjs/index-195ca522.js +2326 -0
- package/dist/cjs/index-20f305f7.js +17 -0
- package/dist/cjs/index-23ca3837.js +53 -0
- package/dist/cjs/index-270a4cf7.js +22 -0
- package/dist/cjs/index-2b0eb1f0.js +34 -0
- package/dist/cjs/index-4e41767c.js +21 -0
- package/dist/cjs/index-53c72420.js +79 -0
- package/dist/cjs/index-544902f0.js +21 -0
- package/dist/cjs/index-bb84dc1c.js +21 -0
- package/dist/cjs/index-cf9497bc.js +344 -0
- package/dist/cjs/index-d30158ef.js +67 -0
- package/dist/cjs/index-df08bc63.js +29 -0
- package/dist/cjs/index-e3bf75bc.js +41 -0
- package/dist/cjs/index-e78caf11.js +74 -0
- package/dist/cjs/index-f64e5dfe.js +17 -0
- package/dist/cjs/index-f6910e7f.js +21 -0
- package/dist/cjs/index.cjs.js +331 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-8335dca3.js +2706 -0
- package/dist/cjs/utils-ee86db4f.js +110 -0
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/cjs/z-accordion.cjs.entry.js +67 -0
- package/dist/cjs/z-alert.cjs.entry.js +19 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
- package/dist/cjs/z-app-header_11.cjs.entry.js +1077 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
- package/dist/cjs/z-avatar.cjs.entry.js +44 -0
- package/dist/cjs/z-book-card.cjs.entry.js +126 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +232 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +53 -0
- package/dist/cjs/z-card.cjs.entry.js +53 -0
- package/dist/cjs/z-carousel.cjs.entry.js +150 -0
- package/dist/cjs/z-chip.cjs.entry.js +32 -0
- package/dist/cjs/z-combobox.cjs.entry.js +201 -0
- package/dist/cjs/z-contextual-menu.cjs.entry.js +46 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +57 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +477 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1016 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +185 -0
- package/dist/cjs/z-file.cjs.entry.js +48 -0
- package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
- package/dist/cjs/z-info-box.cjs.entry.js +25 -0
- package/dist/cjs/z-info-reveal.cjs.entry.js +65 -0
- package/dist/cjs/z-link.cjs.entry.js +74 -0
- package/dist/cjs/z-logo.cjs.entry.js +26 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +54 -0
- package/dist/cjs/z-menu.cjs.entry.js +119 -0
- package/dist/cjs/z-messages-pocket.cjs.entry.js +46 -0
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +63 -0
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +36 -0
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +19 -0
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +69 -0
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +23 -0
- package/dist/cjs/z-myz-card-info.cjs.entry.js +129 -0
- package/dist/cjs/z-myz-card-list.cjs.entry.js +38 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +108 -0
- package/dist/cjs/z-myz-list-item.cjs.entry.js +37 -0
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +74 -0
- package/dist/cjs/z-navigation-tab.cjs.entry.js +73 -0
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +229 -0
- package/dist/cjs/z-notification.cjs.entry.js +41 -0
- package/dist/cjs/z-otp.cjs.entry.js +41 -0
- package/dist/cjs/z-pagination.cjs.entry.js +229 -0
- package/dist/cjs/z-panel-elem.cjs.entry.js +34 -0
- package/dist/cjs/z-pocket-message.cjs.entry.js +19 -0
- package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
- package/dist/cjs/z-popover.cjs.entry.js +328 -0
- package/dist/cjs/z-range-picker.cjs.entry.js +361 -0
- package/dist/cjs/z-section-title.cjs.entry.js +33 -0
- package/dist/cjs/z-select.cjs.entry.js +336 -0
- package/dist/cjs/z-skip-to-content.cjs.entry.js +74 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +129 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +22 -0
- package/dist/cjs/z-stepper.cjs.entry.js +19 -0
- package/dist/cjs/z-table-body.cjs.entry.js +10 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -0
- package/dist/cjs/z-table-deprecated.cjs.entry.js +91 -0
- package/dist/cjs/z-table-empty-box.cjs.entry.js +10 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +10 -0
- package/dist/cjs/z-table-footer.cjs.entry.js +10 -0
- package/dist/cjs/z-table-head.cjs.entry.js +10 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +10 -0
- package/dist/cjs/z-table-header.cjs.entry.js +13 -0
- package/dist/cjs/z-table-row.cjs.entry.js +11 -0
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +10 -0
- package/dist/cjs/z-table.cjs.entry.js +58 -0
- package/dist/cjs/z-tag.cjs.entry.js +22 -0
- package/dist/cjs/z-tbody.cjs.entry.js +10 -0
- package/dist/cjs/z-td.cjs.entry.js +11 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +10 -0
- package/dist/cjs/z-th.cjs.entry.js +11 -0
- package/dist/cjs/z-thead.cjs.entry.js +10 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +56 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +200 -0
- package/dist/cjs/z-toggle-button.cjs.entry.js +36 -0
- package/dist/cjs/z-toggle-switch.cjs.entry.js +51 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +37 -0
- package/dist/cjs/z-tr.cjs.entry.js +15 -0
- package/dist/cjs/z-visually-hidden.cjs.entry.js +19 -0
- package/dist/collection/beans/index.js +342 -0
- package/dist/collection/collection-manifest.json +106 -0
- package/dist/collection/components/buttons/z-button/index.js +262 -0
- package/dist/collection/components/buttons/z-button/styles.css +149 -0
- package/dist/collection/components/buttons/z-button-sort/index.js +220 -0
- package/dist/collection/components/buttons/z-button-sort/styles.css +84 -0
- package/dist/collection/components/buttons/z-chip/index.js +147 -0
- package/dist/collection/components/buttons/z-chip/styles.css +122 -0
- package/dist/collection/components/buttons/z-toggle-button/index.js +146 -0
- package/dist/collection/components/buttons/z-toggle-button/styles.css +60 -0
- package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -0
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -0
- package/dist/collection/components/date-picker/styles.css +565 -0
- package/dist/collection/components/date-picker/utils.js +76 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +295 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +593 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -0
- package/dist/collection/components/file-upload/z-file/index.js +131 -0
- package/dist/collection/components/file-upload/z-file/styles.css +23 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +363 -0
- package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -0
- package/dist/collection/components/icons/icons.js +858 -0
- package/dist/collection/components/icons/z-icon/index.js +114 -0
- package/dist/collection/components/icons/z-icon/styles.css +14 -0
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/indicators/z-stepper/index.js +21 -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 +114 -0
- package/dist/collection/components/inputs/z-combobox/index.js +570 -0
- package/dist/collection/components/inputs/z-combobox/styles.css +194 -0
- package/dist/collection/components/inputs/z-input/index.js +899 -0
- package/dist/collection/components/inputs/z-input/styles.css +397 -0
- package/dist/collection/components/inputs/z-input-message/index.js +89 -0
- package/dist/collection/components/inputs/z-input-message/styles.css +48 -0
- package/dist/collection/components/inputs/z-searchbar/index.js +599 -0
- package/dist/collection/components/inputs/z-searchbar/styles.css +185 -0
- package/dist/collection/components/inputs/z-select/index.js +767 -0
- package/dist/collection/components/inputs/z-select/styles.css +123 -0
- package/dist/collection/components/list/z-list/index.js +113 -0
- package/dist/collection/components/list/z-list/styles.css +6 -0
- package/dist/collection/components/list/z-list-element/index.js +545 -0
- package/dist/collection/components/list/z-list-element/styles.css +121 -0
- package/dist/collection/components/list/z-list-group/index.js +175 -0
- package/dist/collection/components/list/z-list-group/styles.css +21 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +105 -0
- package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -0
- package/dist/collection/components/logo/z-logo/index.js +131 -0
- package/dist/collection/components/logo/z-logo/styles.css +29 -0
- package/dist/collection/components/modal/z-modal/index.js +351 -0
- package/dist/collection/components/modal/z-modal/styles.css +251 -0
- package/dist/collection/components/navigation/z-app-header/index.js +449 -0
- package/dist/collection/components/navigation/z-app-header/index.stories.js +393 -0
- package/dist/collection/components/navigation/z-app-header/styles.css +441 -0
- package/dist/collection/components/navigation/z-menu/index.js +250 -0
- package/dist/collection/components/navigation/z-menu/styles.css +217 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +125 -0
- package/dist/collection/components/navigation/z-menu-section/styles.css +123 -0
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +367 -0
- package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +12 -0
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +212 -0
- package/dist/collection/components/notification/z-info-box/index.js +85 -0
- package/dist/collection/components/notification/z-info-box/styles.css +23 -0
- package/dist/collection/components/notification/z-notification/index.js +195 -0
- package/dist/collection/components/notification/z-notification/styles.css +114 -0
- package/dist/collection/components/notification/z-toast-notification/index.js +399 -0
- package/dist/collection/components/notification/z-toast-notification/styles.css +254 -0
- package/dist/collection/components/notification/z-tooltip/index.js +157 -0
- package/dist/collection/components/notification/z-tooltip/styles.css +17 -0
- package/dist/collection/components/panel/z-panel-elem/index.js +197 -0
- package/dist/collection/components/panel/z-panel-elem/styles.css +46 -0
- package/dist/collection/components/table/cells/z-td/index.js +147 -0
- package/dist/collection/components/table/cells/z-td/styles.css +59 -0
- package/dist/collection/components/table/cells/z-th/index.js +209 -0
- package/dist/collection/components/table/cells/z-th/styles.css +88 -0
- package/dist/collection/components/table/z-table/index.js +86 -0
- package/dist/collection/components/table/z-table/styles.css +22 -0
- package/dist/collection/components/table/z-tbody/index.js +22 -0
- package/dist/collection/components/table/z-tbody/styles.css +4 -0
- package/dist/collection/components/table/z-tfoot/index.js +50 -0
- package/dist/collection/components/table/z-tfoot/styles.css +13 -0
- package/dist/collection/components/table/z-thead/index.js +50 -0
- package/dist/collection/components/table/z-thead/styles.css +19 -0
- package/dist/collection/components/table/z-tr/index.js +133 -0
- package/dist/collection/components/table/z-tr/styles.css +87 -0
- package/dist/collection/components/z-accordion/index.js +255 -0
- package/dist/collection/components/z-accordion/styles.css +255 -0
- package/dist/collection/components/z-anchor-navigation/index.js +95 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +128 -0
- package/dist/collection/components/z-aria-alert/index.js +39 -0
- package/dist/collection/components/z-avatar/index.js +142 -0
- package/dist/collection/components/z-avatar/styles.css +32 -0
- package/dist/collection/components/z-book-card/index.js +392 -0
- package/dist/collection/components/z-book-card/styles.css +476 -0
- package/dist/collection/components/z-breadcrumb/index.js +392 -0
- package/dist/collection/components/z-breadcrumb/styles.css +146 -0
- package/dist/collection/components/z-card/index.js +148 -0
- package/dist/collection/components/z-card/styles.css +213 -0
- package/dist/collection/components/z-carousel/index.js +304 -0
- package/dist/collection/components/z-carousel/styles.css +129 -0
- package/dist/collection/components/z-contextual-menu/index.js +126 -0
- package/dist/collection/components/z-contextual-menu/styles.css +60 -0
- package/dist/collection/components/z-cover-hero/index.js +146 -0
- package/dist/collection/components/z-cover-hero/styles.css +93 -0
- package/dist/collection/components/z-divider/index.js +95 -0
- package/dist/collection/components/z-divider/styles.css +37 -0
- package/dist/collection/components/z-ghost-loading/index.js +18 -0
- package/dist/collection/components/z-ghost-loading/styles.css +34 -0
- package/dist/collection/components/z-info-reveal/index.js +147 -0
- package/dist/collection/components/z-info-reveal/styles.css +103 -0
- package/dist/collection/components/z-offcanvas/index.js +162 -0
- package/dist/collection/components/z-offcanvas/styles.css +182 -0
- package/dist/collection/components/z-pagination/index.js +435 -0
- package/dist/collection/components/z-pagination/styles.css +199 -0
- package/dist/collection/components/z-popover/index.js +513 -0
- package/dist/collection/components/z-popover/styles.css +147 -0
- package/dist/collection/components/z-section-title/index.js +88 -0
- package/dist/collection/components/z-section-title/styles.css +45 -0
- package/dist/collection/components/z-skip-to-content/index.js +147 -0
- package/dist/collection/components/z-skip-to-content/styles.css +81 -0
- package/dist/collection/components/z-tag/index.js +65 -0
- package/dist/collection/components/z-tag/styles.css +46 -0
- package/dist/collection/components/z-visually-hidden/index.js +18 -0
- package/dist/collection/components/z-visually-hidden/styles.css +12 -0
- package/dist/collection/constants/breakpoints.js +4 -0
- package/dist/collection/constants/icons.js +6 -0
- package/dist/collection/deprecated/navigation-tab.css +138 -0
- package/dist/collection/deprecated/z-link/index.js +318 -0
- package/dist/collection/deprecated/z-link/styles.css +167 -0
- package/dist/collection/deprecated/z-navigation-tab/index.js +290 -0
- package/dist/collection/deprecated/z-navigation-tab-link/index.js +313 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +26 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +9 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +84 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +58 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +363 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +115 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +75 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +38 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +42 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +9 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +25 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +5 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +25 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +5 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +226 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +71 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +44 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +13 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +95 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +45 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +22 -0
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +11 -0
- package/dist/collection/index.js +7 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -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 +22 -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 +93 -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 +72 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +219 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +181 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -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 +78 -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 +192 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +47 -0
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +120 -0
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -0
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -0
- package/dist/collection/utils/storybook-utils.js +76 -0
- package/dist/collection/utils/utils.js +115 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/breakpoints-9b81eb1b.js +5 -0
- package/dist/esm/hammer-c3266b17.js +2648 -0
- package/dist/esm/icons-e3232103.js +860 -0
- package/dist/esm/index-0a587f24.js +51 -0
- package/dist/esm/index-0cdc998f.js +19 -0
- package/dist/esm/index-361b27f9.js +15 -0
- package/dist/esm/index-47f23745.js +344 -0
- package/dist/esm/index-4968ce56.js +2298 -0
- package/dist/esm/index-4d1853ea.js +77 -0
- package/dist/esm/index-531501d7.js +15 -0
- package/dist/esm/index-6161978d.js +27 -0
- package/dist/esm/index-772a7413.js +20 -0
- package/dist/esm/index-816801e5.js +18 -0
- package/dist/esm/index-85dc8bc0.js +32 -0
- package/dist/esm/index-88a23895.js +19 -0
- package/dist/esm/index-8f7fd43f.js +19 -0
- package/dist/esm/index-af5c6b4c.js +15 -0
- package/dist/esm/index-dc50a9ae.js +72 -0
- package/dist/esm/index-e6ee76f0.js +39 -0
- package/dist/esm/index-fac1fe6c.js +19 -0
- package/dist/esm/index-fb19ca57.js +65 -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/esm/utils-2a4ef29d.js +100 -0
- package/dist/esm/utils-8e0bd81d.js +2700 -0
- package/dist/esm/web-components-library.js +17 -0
- package/dist/esm/z-accordion.entry.js +63 -0
- package/dist/esm/z-alert.entry.js +15 -0
- package/dist/esm/z-anchor-navigation.entry.js +49 -0
- package/dist/esm/z-app-header_11.entry.js +1063 -0
- package/dist/esm/z-aria-alert.entry.js +15 -0
- package/dist/esm/z-avatar.entry.js +40 -0
- package/dist/esm/z-book-card.entry.js +122 -0
- package/dist/esm/z-breadcrumb.entry.js +228 -0
- package/dist/esm/z-button-sort.entry.js +49 -0
- package/dist/esm/z-card.entry.js +49 -0
- package/dist/esm/z-carousel.entry.js +146 -0
- package/dist/esm/z-chip.entry.js +28 -0
- package/dist/esm/z-combobox.entry.js +197 -0
- package/dist/esm/z-contextual-menu.entry.js +42 -0
- package/dist/esm/z-cover-hero.entry.js +53 -0
- package/dist/esm/z-date-picker.entry.js +473 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +1011 -0
- package/dist/esm/z-file-upload.entry.js +181 -0
- package/dist/esm/z-file.entry.js +44 -0
- package/dist/esm/z-ghost-loading.entry.js +15 -0
- package/dist/esm/z-info-box.entry.js +21 -0
- package/dist/esm/z-info-reveal.entry.js +61 -0
- package/dist/esm/z-link.entry.js +70 -0
- package/dist/esm/z-logo.entry.js +22 -0
- package/dist/esm/z-menu-section.entry.js +50 -0
- package/dist/esm/z-menu.entry.js +115 -0
- package/dist/esm/z-messages-pocket.entry.js +42 -0
- package/dist/esm/z-myz-card-alert.entry.js +59 -0
- package/dist/esm/z-myz-card-dictionary.entry.js +32 -0
- package/dist/esm/z-myz-card-footer-sections.entry.js +15 -0
- package/dist/esm/z-myz-card-footer.entry.js +65 -0
- package/dist/esm/z-myz-card-icon.entry.js +19 -0
- package/dist/esm/z-myz-card-info.entry.js +125 -0
- package/dist/esm/z-myz-card-list.entry.js +34 -0
- package/dist/esm/z-myz-card_4.entry.js +101 -0
- package/dist/esm/z-myz-list-item.entry.js +33 -0
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +70 -0
- package/dist/esm/z-navigation-tab.entry.js +69 -0
- package/dist/esm/z-navigation-tabs.entry.js +225 -0
- package/dist/esm/z-notification.entry.js +37 -0
- package/dist/esm/z-otp.entry.js +37 -0
- package/dist/esm/z-pagination.entry.js +225 -0
- package/dist/esm/z-panel-elem.entry.js +30 -0
- package/dist/esm/z-pocket-message.entry.js +15 -0
- package/dist/esm/z-pocket_3.entry.js +119 -0
- package/dist/esm/z-popover.entry.js +324 -0
- package/dist/esm/z-range-picker.entry.js +357 -0
- package/dist/esm/z-section-title.entry.js +29 -0
- package/dist/esm/z-select.entry.js +332 -0
- package/dist/esm/z-skip-to-content.entry.js +70 -0
- package/dist/esm/z-slideshow.entry.js +125 -0
- package/dist/esm/z-stepper-item.entry.js +18 -0
- package/dist/esm/z-stepper.entry.js +15 -0
- package/dist/esm/z-table-body.entry.js +2 -0
- package/dist/esm/z-table-cell.entry.js +3 -0
- package/dist/esm/z-table-deprecated.entry.js +87 -0
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +2 -0
- package/dist/esm/z-table-footer.entry.js +2 -0
- package/dist/esm/z-table-head.entry.js +2 -0
- package/dist/esm/z-table-header-row.entry.js +2 -0
- package/dist/esm/z-table-header.entry.js +5 -0
- package/dist/esm/z-table-row.entry.js +3 -0
- package/dist/esm/z-table-sticky-footer.entry.js +2 -0
- package/dist/esm/z-table.entry.js +54 -0
- package/dist/esm/z-tag.entry.js +18 -0
- package/dist/esm/z-tbody.entry.js +2 -0
- package/dist/esm/z-td.entry.js +3 -0
- package/dist/esm/z-tfoot.entry.js +2 -0
- package/dist/esm/z-th.entry.js +3 -0
- package/dist/esm/z-thead.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +52 -0
- package/dist/esm/z-toast-notification.entry.js +196 -0
- package/dist/esm/z-toggle-button.entry.js +32 -0
- package/dist/esm/z-toggle-switch.entry.js +47 -0
- package/dist/esm/z-tooltip.entry.js +33 -0
- package/dist/esm/z-tr.entry.js +7 -0
- package/dist/esm/z-visually-hidden.entry.js +15 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/beans/index.d.ts +398 -0
- package/dist/types/components/buttons/z-button/index.d.ts +31 -0
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -0
- package/dist/types/components/buttons/z-chip/index.d.ts +18 -0
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +17 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +17 -0
- package/dist/types/components/date-picker/utils.d.ts +4 -0
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +29 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +52 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +22 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +52 -0
- package/dist/types/components/icons/icons.d.ts +1549 -0
- package/dist/types/components/icons/z-icon/index.d.ts +14 -0
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +6 -0
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -0
- package/dist/types/components/inputs/z-combobox/index.d.ts +71 -0
- package/dist/types/components/inputs/z-input/index.d.ts +103 -0
- package/dist/types/components/inputs/z-input-message/index.d.ts +12 -0
- package/dist/types/components/inputs/z-searchbar/index.d.ts +73 -0
- package/dist/types/components/inputs/z-select/index.d.ts +84 -0
- package/dist/types/components/list/z-list/index.d.ts +19 -0
- package/dist/types/components/list/z-list-element/index.d.ts +101 -0
- package/dist/types/components/list/z-list-group/index.d.ts +28 -0
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -0
- package/dist/types/components/logo/z-logo/index.d.ts +15 -0
- package/dist/types/components/modal/z-modal/index.d.ts +49 -0
- package/dist/types/components/navigation/z-app-header/index.d.ts +149 -0
- package/dist/types/components/navigation/z-menu/index.d.ts +61 -0
- package/dist/types/components/navigation/z-menu-section/index.d.ts +31 -0
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +114 -0
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -0
- package/dist/types/components/notification/z-notification/index.d.ts +32 -0
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +32 -0
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -0
- package/dist/types/components/table/cells/z-td/index.d.ts +37 -0
- package/dist/types/components/table/cells/z-th/index.d.ts +56 -0
- package/dist/types/components/table/z-table/index.d.ts +28 -0
- package/dist/types/components/table/z-tbody/index.d.ts +7 -0
- package/dist/types/components/table/z-tfoot/index.d.ts +11 -0
- package/dist/types/components/table/z-thead/index.d.ts +11 -0
- package/dist/types/components/table/z-tr/index.d.ts +41 -0
- package/dist/types/components/z-accordion/index.d.ts +65 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +39 -0
- package/dist/types/components/z-aria-alert/index.d.ts +6 -0
- package/dist/types/components/z-avatar/index.d.ts +16 -0
- package/dist/types/components/z-book-card/index.d.ts +95 -0
- package/dist/types/components/z-breadcrumb/index.d.ts +56 -0
- package/dist/types/components/z-card/index.d.ts +38 -0
- package/dist/types/components/z-carousel/index.d.ts +63 -0
- package/dist/types/components/z-contextual-menu/index.d.ts +26 -0
- package/dist/types/components/z-cover-hero/index.d.ts +41 -0
- package/dist/types/components/z-divider/index.d.ts +10 -0
- package/dist/types/components/z-ghost-loading/index.d.ts +3 -0
- package/dist/types/components/z-info-reveal/index.d.ts +29 -0
- package/dist/types/components/z-offcanvas/index.d.ts +27 -0
- package/dist/types/components/z-pagination/index.d.ts +109 -0
- package/dist/types/components/z-popover/index.d.ts +69 -0
- package/dist/types/components/z-section-title/index.d.ts +25 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +21 -0
- package/dist/types/components/z-tag/index.d.ts +13 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -0
- package/dist/types/components.d.ts +5258 -0
- package/dist/types/constants/breakpoints.d.ts +4 -0
- package/dist/types/constants/icons.d.ts +6 -0
- package/dist/types/deprecated/z-link/index.d.ts +41 -0
- package/dist/types/deprecated/z-navigation-tab/index.d.ts +69 -0
- package/dist/types/deprecated/z-navigation-tab-link/index.d.ts +77 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +8 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +14 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +59 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +15 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +8 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +8 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +8 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +31 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +9 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +16 -0
- package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +7 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +19 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +19 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +9 -0
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -0
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -0
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -0
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -0
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +17 -0
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -0
- package/dist/types/stencil-public-runtime.d.ts +1576 -0
- package/dist/types/utils/storybook-utils.d.ts +50 -0
- package/dist/types/utils/utils.d.ts +24 -0
- package/dist/web-components-library/index.esm.js +1 -0
- package/dist/web-components-library/p-01e2e8d4.entry.js +1 -0
- package/dist/web-components-library/p-035fbb3e.entry.js +1 -0
- package/dist/web-components-library/p-03b13390.entry.js +1 -0
- package/dist/web-components-library/p-04b2ab0d.entry.js +1 -0
- package/dist/web-components-library/p-05ba9739.entry.js +1 -0
- package/dist/web-components-library/p-06c94384.entry.js +1 -0
- package/dist/web-components-library/p-100207d8.entry.js +1 -0
- package/dist/web-components-library/p-1086a0fa.entry.js +1 -0
- package/dist/web-components-library/p-112455b1.js +1 -0
- package/dist/web-components-library/p-138bc87e.entry.js +1 -0
- package/dist/web-components-library/p-13fc4378.js +1 -0
- package/dist/web-components-library/p-15a606ce.entry.js +1 -0
- package/dist/web-components-library/p-19876b0d.entry.js +1 -0
- package/dist/web-components-library/p-1d805413.entry.js +1 -0
- package/dist/web-components-library/p-29fa362c.entry.js +1 -0
- package/dist/web-components-library/p-2cb45213.entry.js +1 -0
- package/dist/web-components-library/p-3327e5f0.entry.js +1 -0
- package/dist/web-components-library/p-33305cc8.entry.js +1 -0
- package/dist/web-components-library/p-3636078a.entry.js +1 -0
- package/dist/web-components-library/p-376f2928.entry.js +1 -0
- package/dist/web-components-library/p-392899e9.entry.js +1 -0
- package/dist/web-components-library/p-39b7ad4f.entry.js +1 -0
- package/dist/web-components-library/p-3bb2d909.entry.js +1 -0
- package/dist/web-components-library/p-485fd3db.entry.js +1 -0
- package/dist/web-components-library/p-49f4e9a0.entry.js +1 -0
- package/dist/web-components-library/p-4d0d5d93.entry.js +1 -0
- package/dist/web-components-library/p-50f78a81.entry.js +1 -0
- package/dist/web-components-library/p-51bfa8ba.entry.js +1 -0
- package/dist/web-components-library/p-5338cc37.entry.js +1 -0
- package/dist/web-components-library/p-571b55dc.js +1 -0
- package/dist/web-components-library/p-57c6d414.entry.js +1 -0
- package/dist/web-components-library/p-5944a8f2.entry.js +1 -0
- package/dist/web-components-library/p-5c177ba5.entry.js +1 -0
- package/dist/web-components-library/p-5d274fcc.entry.js +1 -0
- package/dist/web-components-library/p-5f202970.entry.js +1 -0
- package/dist/web-components-library/p-5fd3ed9c.entry.js +1 -0
- package/dist/web-components-library/p-61c00383.entry.js +1 -0
- package/dist/web-components-library/p-68410ea2.js +1 -0
- package/dist/web-components-library/p-6a4403c6.entry.js +1 -0
- package/dist/web-components-library/p-6ed0aaab.entry.js +1 -0
- package/dist/web-components-library/p-7426f322.js +1 -0
- package/dist/web-components-library/p-7588fbf0.js +1 -0
- package/dist/web-components-library/p-7907bdf7.entry.js +1 -0
- package/dist/web-components-library/p-7b990086.js +1 -0
- package/dist/web-components-library/p-7c5ddeb0.entry.js +1 -0
- package/dist/web-components-library/p-80e52459.js +1 -0
- package/dist/web-components-library/p-81006561.js +2 -0
- package/dist/web-components-library/p-86758f78.entry.js +1 -0
- package/dist/web-components-library/p-8a45ae2a.entry.js +1 -0
- package/dist/web-components-library/p-8c31e60b.entry.js +1 -0
- package/dist/web-components-library/p-9021c92a.js +1 -0
- package/dist/web-components-library/p-94afe4dd.entry.js +1 -0
- package/dist/web-components-library/p-9508cd3e.js +1 -0
- package/dist/web-components-library/p-95370f75.js +1 -0
- package/dist/web-components-library/p-96fc8078.entry.js +1 -0
- package/dist/web-components-library/p-98204840.entry.js +1 -0
- package/dist/web-components-library/p-98badafc.js +1 -0
- package/dist/web-components-library/p-9b0bcd43.entry.js +1 -0
- package/dist/web-components-library/p-9c1ed1e8.entry.js +1 -0
- package/dist/web-components-library/p-9ff2fc8e.entry.js +1 -0
- package/dist/web-components-library/p-a01baa71.js +1 -0
- package/dist/web-components-library/p-a1663ab1.entry.js +1 -0
- package/dist/web-components-library/p-a3587fd6.entry.js +16 -0
- package/dist/web-components-library/p-a4502b1e.entry.js +1 -0
- package/dist/web-components-library/p-a48e5c46.entry.js +1 -0
- package/dist/web-components-library/p-a50262e8.entry.js +1 -0
- package/dist/web-components-library/p-a862a070.entry.js +1 -0
- package/dist/web-components-library/p-a9d2edee.entry.js +1 -0
- package/dist/web-components-library/p-acb89afa.entry.js +1 -0
- package/dist/web-components-library/p-b2527ca1.entry.js +1 -0
- package/dist/web-components-library/p-b497e33e.js +1 -0
- package/dist/web-components-library/p-b99039ed.js +1 -0
- package/dist/web-components-library/p-c298cb2f.js +1 -0
- package/dist/web-components-library/p-c44d87bd.entry.js +1 -0
- package/dist/web-components-library/p-c6e7991f.entry.js +1 -0
- package/dist/web-components-library/p-c9bc5148.js +1 -0
- package/dist/web-components-library/p-ca472d1c.entry.js +1 -0
- package/dist/web-components-library/p-cbb670c5.js +1 -0
- package/dist/web-components-library/p-cc009af8.entry.js +1 -0
- package/dist/web-components-library/p-cd561d69.js +1 -0
- package/dist/web-components-library/p-d2946762.entry.js +1 -0
- package/dist/web-components-library/p-db0a64af.js +1 -0
- package/dist/web-components-library/p-dd4fc386.entry.js +1 -0
- package/dist/web-components-library/p-de5688e9.entry.js +1 -0
- package/dist/web-components-library/p-decbd59d.entry.js +1 -0
- package/dist/web-components-library/p-e43e61ac.js +7 -0
- package/dist/web-components-library/p-e54d4ef9.entry.js +1 -0
- package/dist/web-components-library/p-e7c6d651.entry.js +1 -0
- package/dist/web-components-library/p-ed42ceca.entry.js +1 -0
- package/dist/web-components-library/p-f058316f.entry.js +1 -0
- package/dist/web-components-library/p-f14105c6.entry.js +1 -0
- package/dist/web-components-library/p-f3cc3f27.entry.js +1 -0
- package/dist/web-components-library/p-f46fa177.entry.js +1 -0
- package/dist/web-components-library/p-f4e2e76b.entry.js +1 -0
- package/dist/web-components-library/p-f5ae1514.entry.js +1 -0
- package/dist/web-components-library/p-f5bc7dda.entry.js +1 -0
- package/dist/web-components-library/p-f8383e14.entry.js +1 -0
- package/dist/web-components-library/p-f976f29f.js +1 -0
- package/dist/web-components-library/p-f9873cb9.entry.js +1 -0
- package/dist/web-components-library/p-fd58b7a2.entry.js +1 -0
- package/dist/web-components-library/p-fde82dc3.js +1 -0
- package/dist/web-components-library/p-ff5a6e34.entry.js +1 -0
- package/dist/web-components-library/p-ffde06d1.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +3 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +2 -2
- package/react/components.d.ts +97 -0
- package/react/components.js +104 -0
- package/react/components.js.map +1 -0
- package/react/index.js +14 -0
- package/react/index.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +98 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/react/react-component-lib/createOverlayComponent.js +116 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +8 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +3 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +105 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +12 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +18 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +10 -0
- package/react/react-component-lib/utils/index.js +54 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/www/assets/favicon.png +0 -0
- package/www/assets/images/png/arrowDown.png +0 -0
- package/www/assets/images/png/arrowUp.png +0 -0
- package/www/assets/images/png/back-button.png +0 -0
- package/www/assets/images/png/bovolenta-logo.png +0 -0
- package/www/assets/images/png/cart-icon.png +0 -0
- package/www/assets/images/png/cea-logo.png +0 -0
- package/www/assets/images/png/clitt-logo.png +0 -0
- package/www/assets/images/png/down-arrow.png +0 -0
- package/www/assets/images/png/download.png +0 -0
- package/www/assets/images/png/facebook.png +0 -0
- package/www/assets/images/png/gruoss.png +0 -0
- package/www/assets/images/png/instagram.png +0 -0
- package/www/assets/images/png/lucisano-logo.png +0 -0
- package/www/assets/images/png/myzanichelli-logo.png +0 -0
- package/www/assets/images/png/question-mark.png +0 -0
- package/www/assets/images/png/suitcase-icon.png +0 -0
- package/www/assets/images/png/twitter.png +0 -0
- package/www/assets/images/png/up-arrow.png +0 -0
- package/www/assets/images/png/user.png +0 -0
- package/www/assets/images/png/user_transparent.png +0 -0
- package/www/assets/images/png/youtube.png +0 -0
- package/www/assets/images/png/zanichelli-add-book-gray@8x.png +0 -0
- package/www/assets/images/png/zanichelli-book-remove-gray@8x.png +0 -0
- package/www/assets/images/png/zanichelli-error-image.png +0 -0
- package/www/assets/images/png/zanichelli-external-link-2@8x.png +0 -0
- package/www/assets/images/png/zanichelli-external-link-3@8x.png +0 -0
- package/www/assets/images/png/zanichelli-external-link@8x.png +0 -0
- package/www/assets/images/png/zanichelli-logo-2.png +0 -0
- package/www/assets/images/png/zanichelli-logo-footer.png +0 -0
- package/www/assets/images/png/zanichelli-logo.png +0 -0
- package/www/build/index.esm.js +1 -0
- package/www/build/p-01e2e8d4.entry.js +1 -0
- package/www/build/p-035fbb3e.entry.js +1 -0
- package/www/build/p-03b13390.entry.js +1 -0
- package/www/build/p-04b2ab0d.entry.js +1 -0
- package/www/build/p-05ba9739.entry.js +1 -0
- package/www/build/p-06c94384.entry.js +1 -0
- package/www/build/p-100207d8.entry.js +1 -0
- package/www/build/p-1086a0fa.entry.js +1 -0
- package/www/build/p-112455b1.js +1 -0
- package/www/build/p-138bc87e.entry.js +1 -0
- package/www/build/p-13fc4378.js +1 -0
- package/www/build/p-15a606ce.entry.js +1 -0
- package/www/build/p-19876b0d.entry.js +1 -0
- package/www/build/p-1d805413.entry.js +1 -0
- package/www/build/p-21a94605.css +3 -0
- package/www/build/p-29fa362c.entry.js +1 -0
- package/www/build/p-2cb45213.entry.js +1 -0
- package/www/build/p-3327e5f0.entry.js +1 -0
- package/www/build/p-33305cc8.entry.js +1 -0
- package/www/build/p-3636078a.entry.js +1 -0
- package/www/build/p-376f2928.entry.js +1 -0
- package/www/build/p-392899e9.entry.js +1 -0
- package/www/build/p-39b7ad4f.entry.js +1 -0
- package/www/build/p-3bb2d909.entry.js +1 -0
- package/www/build/p-485fd3db.entry.js +1 -0
- package/www/build/p-49f4e9a0.entry.js +1 -0
- package/www/build/p-4acb5cef.js +1 -0
- package/www/build/p-4d0d5d93.entry.js +1 -0
- package/www/build/p-50f78a81.entry.js +1 -0
- package/www/build/p-51bfa8ba.entry.js +1 -0
- package/www/build/p-5338cc37.entry.js +1 -0
- package/www/build/p-571b55dc.js +1 -0
- package/www/build/p-57c6d414.entry.js +1 -0
- package/www/build/p-5944a8f2.entry.js +1 -0
- package/www/build/p-5c177ba5.entry.js +1 -0
- package/www/build/p-5d274fcc.entry.js +1 -0
- package/www/build/p-5f202970.entry.js +1 -0
- package/www/build/p-5fd3ed9c.entry.js +1 -0
- package/www/build/p-61c00383.entry.js +1 -0
- package/www/build/p-68410ea2.js +1 -0
- package/www/build/p-6a4403c6.entry.js +1 -0
- package/www/build/p-6ed0aaab.entry.js +1 -0
- package/www/build/p-7426f322.js +1 -0
- package/www/build/p-7588fbf0.js +1 -0
- package/www/build/p-7907bdf7.entry.js +1 -0
- package/www/build/p-7b990086.js +1 -0
- package/www/build/p-7c5ddeb0.entry.js +1 -0
- package/www/build/p-80e52459.js +1 -0
- package/www/build/p-81006561.js +2 -0
- package/www/build/p-86758f78.entry.js +1 -0
- package/www/build/p-8a45ae2a.entry.js +1 -0
- package/www/build/p-8c31e60b.entry.js +1 -0
- package/www/build/p-9021c92a.js +1 -0
- package/www/build/p-94afe4dd.entry.js +1 -0
- package/www/build/p-9508cd3e.js +1 -0
- package/www/build/p-95370f75.js +1 -0
- package/www/build/p-96fc8078.entry.js +1 -0
- package/www/build/p-98204840.entry.js +1 -0
- package/www/build/p-98badafc.js +1 -0
- package/www/build/p-9b0bcd43.entry.js +1 -0
- package/www/build/p-9c1ed1e8.entry.js +1 -0
- package/www/build/p-9ff2fc8e.entry.js +1 -0
- package/www/build/p-a01baa71.js +1 -0
- package/www/build/p-a1663ab1.entry.js +1 -0
- package/www/build/p-a3587fd6.entry.js +16 -0
- package/www/build/p-a4502b1e.entry.js +1 -0
- package/www/build/p-a48e5c46.entry.js +1 -0
- package/www/build/p-a50262e8.entry.js +1 -0
- package/www/build/p-a862a070.entry.js +1 -0
- package/www/build/p-a9d2edee.entry.js +1 -0
- package/www/build/p-acb89afa.entry.js +1 -0
- package/www/build/p-b2527ca1.entry.js +1 -0
- package/www/build/p-b497e33e.js +1 -0
- package/www/build/p-b99039ed.js +1 -0
- package/www/build/p-c298cb2f.js +1 -0
- package/www/build/p-c44d87bd.entry.js +1 -0
- package/www/build/p-c6e7991f.entry.js +1 -0
- package/www/build/p-c9bc5148.js +1 -0
- package/www/build/p-ca472d1c.entry.js +1 -0
- package/www/build/p-cbb670c5.js +1 -0
- package/www/build/p-cc009af8.entry.js +1 -0
- package/www/build/p-cd561d69.js +1 -0
- package/www/build/p-d2946762.entry.js +1 -0
- package/www/build/p-db0a64af.js +1 -0
- package/www/build/p-dd4fc386.entry.js +1 -0
- package/www/build/p-de5688e9.entry.js +1 -0
- package/www/build/p-decbd59d.entry.js +1 -0
- package/www/build/p-e43e61ac.js +7 -0
- package/www/build/p-e54d4ef9.entry.js +1 -0
- package/www/build/p-e7c6d651.entry.js +1 -0
- package/www/build/p-ed42ceca.entry.js +1 -0
- package/www/build/p-f058316f.entry.js +1 -0
- package/www/build/p-f14105c6.entry.js +1 -0
- package/www/build/p-f3cc3f27.entry.js +1 -0
- package/www/build/p-f46fa177.entry.js +1 -0
- package/www/build/p-f4e2e76b.entry.js +1 -0
- package/www/build/p-f5ae1514.entry.js +1 -0
- package/www/build/p-f5bc7dda.entry.js +1 -0
- package/www/build/p-f8383e14.entry.js +1 -0
- package/www/build/p-f976f29f.js +1 -0
- package/www/build/p-f9873cb9.entry.js +1 -0
- package/www/build/p-fd58b7a2.entry.js +1 -0
- package/www/build/p-fde82dc3.js +1 -0
- package/www/build/p-ff5a6e34.entry.js +1 -0
- package/www/build/p-ffde06d1.entry.js +1 -0
- package/www/build/web-components-library.css +3 -0
- package/www/build/web-components-library.esm.js +1 -0
- package/www/build/web-components-library.js +33 -0
- package/www/host.config.json +15 -0
- package/www/index.html +1 -0
- package/www/pages/book-cards.html +595 -0
- package/www/pages/file-upload.html +258 -0
- package/www/pages/notification.html +299 -0
- package/CHANGELOG.md +0 -2844
- /package/{src-react/index.ts → react/index.d.ts} +0 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
|
|
2
|
+
import { e as ControlSize, g as KeyboardCode, l as ListDividerType, i as ListSize } from './index-47f23745.js';
|
|
3
|
+
import { r as randomId, b as boolean, d as getElementTree, a as handleKeyboardSubmit, e as getClickedElement } from './utils-2a4ef29d.js';
|
|
4
|
+
import './breakpoints-9b81eb1b.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ".sc-z-select-h{display:inline-block;width:inherit;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}[size=\"small\"].sc-z-select-h,[size=\"x-small\"].sc-z-select-h{font-size:var(--font-size-2)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;background:var(--color-surface01);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.fixed.sc-z-select{position:static}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:calc(var(--space-unit) * 0.5);outline:none;scrollbar-color:var(--color-primary01) transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-content.sc-z-select{display:block;padding:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 1.5)}[size=\"x-small\"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-content.sc-z-select{padding:0 calc(var(--space-unit) * 1.5)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-content.selected.sc-z-select{font-weight:bold}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--gray800)}.reset-item.sc-z-select{color:var(--color-primary01);fill:var(--color-primary01)}.reset-item-content.sc-z-select{display:flex;align-items:center}.reset-item.reset-item-margin.sc-z-select .reset-item-content.sc-z-select{margin-left:calc(var(--space-unit))}.reset-item.sc-z-select .reset-item-content.sc-z-select>z-icon.sc-z-select{margin-right:var(--space-unit)}.reset-item.hide.sc-z-select{display:none}";
|
|
7
|
+
|
|
8
|
+
const ZSelect = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
12
|
+
this.resetSelect = createEvent(this, "resetSelect", 7);
|
|
13
|
+
/** the id of the input element */
|
|
14
|
+
this.htmlid = `id-${randomId()}`;
|
|
15
|
+
/** the input aria-label */
|
|
16
|
+
this.ariaLabel = "";
|
|
17
|
+
/** the input is disabled */
|
|
18
|
+
this.disabled = false;
|
|
19
|
+
/** the input is readonly */
|
|
20
|
+
this.readonly = false;
|
|
21
|
+
/** input helper message (optional) - if set to `false` message won't be displayed */
|
|
22
|
+
this.message = true;
|
|
23
|
+
/** the input has autocomplete option */
|
|
24
|
+
this.autocomplete = false;
|
|
25
|
+
/** no result text message */
|
|
26
|
+
this.noresultslabel = "Nessun risultato";
|
|
27
|
+
/** When fixed, it occupies space and pushes down next elements. */
|
|
28
|
+
this.isfixed = false;
|
|
29
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
30
|
+
this.size = ControlSize.BIG;
|
|
31
|
+
this.isOpen = false;
|
|
32
|
+
this.selectedItem = null;
|
|
33
|
+
this.itemsList = [];
|
|
34
|
+
this.toggleSelectUl = this.toggleSelectUl.bind(this);
|
|
35
|
+
this.selectItem = this.selectItem.bind(this);
|
|
36
|
+
this.handleSelectFocus = this.handleSelectFocus.bind(this);
|
|
37
|
+
}
|
|
38
|
+
watchItems() {
|
|
39
|
+
this.itemsList = this.getInitialItemsArray();
|
|
40
|
+
this.selectedItem = this.itemsList.find((item) => item.selected);
|
|
41
|
+
}
|
|
42
|
+
getFocusedItemHandler(e) {
|
|
43
|
+
this.focusedItemId = e.target.id;
|
|
44
|
+
}
|
|
45
|
+
/** get the input selected options */
|
|
46
|
+
async getSelectedItem() {
|
|
47
|
+
return this.selectedItem;
|
|
48
|
+
}
|
|
49
|
+
/** get the input value */
|
|
50
|
+
async getValue() {
|
|
51
|
+
return this.getSelectedValue();
|
|
52
|
+
}
|
|
53
|
+
/** set the input value */
|
|
54
|
+
async setValue(value) {
|
|
55
|
+
let values = [];
|
|
56
|
+
if (typeof value === "string") {
|
|
57
|
+
values.push(value);
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
values = value;
|
|
61
|
+
}
|
|
62
|
+
this.selectedItem = this.itemsList.find((item) => values.includes(item.id));
|
|
63
|
+
}
|
|
64
|
+
emitOptionSelect() {
|
|
65
|
+
this.optionSelect.emit({
|
|
66
|
+
id: this.htmlid,
|
|
67
|
+
selected: this.getSelectedValue(),
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
emitResetSelect() {
|
|
71
|
+
this.resetSelect.emit({
|
|
72
|
+
id: this.htmlid,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
componentWillLoad() {
|
|
76
|
+
this.watchItems();
|
|
77
|
+
}
|
|
78
|
+
componentWillRender() {
|
|
79
|
+
this.filterItems(this.searchString);
|
|
80
|
+
}
|
|
81
|
+
getInitialItemsArray() {
|
|
82
|
+
return typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
83
|
+
}
|
|
84
|
+
mapSelectedItemToItemsArray() {
|
|
85
|
+
const initialItemsList = this.getInitialItemsArray();
|
|
86
|
+
return initialItemsList.map((item) => {
|
|
87
|
+
var _a;
|
|
88
|
+
item.selected = item.id === ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id);
|
|
89
|
+
return item;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
getSelectedValue() {
|
|
93
|
+
var _a;
|
|
94
|
+
return (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id;
|
|
95
|
+
}
|
|
96
|
+
filterItems(searchString) {
|
|
97
|
+
const prevList = this.mapSelectedItemToItemsArray();
|
|
98
|
+
if (!(searchString === null || searchString === void 0 ? void 0 : searchString.length)) {
|
|
99
|
+
this.itemsList = prevList;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.itemsList = prevList
|
|
103
|
+
.filter((item) => {
|
|
104
|
+
return item.name.toUpperCase().includes(searchString.toUpperCase());
|
|
105
|
+
})
|
|
106
|
+
.map((item) => {
|
|
107
|
+
const start = item.name.toUpperCase().indexOf(searchString.toUpperCase());
|
|
108
|
+
const end = start + searchString.length;
|
|
109
|
+
const newName = item.name.substring(0, start) +
|
|
110
|
+
`<strong>${item.name.substring(start, end)}</strong>` +
|
|
111
|
+
item.name.substring(end, item.name.length);
|
|
112
|
+
item.name = newName;
|
|
113
|
+
return item;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
hasAutocomplete() {
|
|
118
|
+
return boolean(this.autocomplete) === true;
|
|
119
|
+
}
|
|
120
|
+
handleInputChange(e) {
|
|
121
|
+
this.searchString = e.detail.value;
|
|
122
|
+
if (!this.isOpen) {
|
|
123
|
+
this.toggleSelectUl();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
selectItem(item, selected) {
|
|
127
|
+
if (item && item.disabled) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
this.itemsList = this.mapSelectedItemToItemsArray();
|
|
131
|
+
this.itemsList = this.itemsList.map((i) => {
|
|
132
|
+
i.selected = false;
|
|
133
|
+
if (i.id === (item === null || item === void 0 ? void 0 : item.id)) {
|
|
134
|
+
i.selected = selected;
|
|
135
|
+
}
|
|
136
|
+
return i;
|
|
137
|
+
});
|
|
138
|
+
this.selectedItem = this.itemsList.find((item) => item.selected);
|
|
139
|
+
this.emitOptionSelect();
|
|
140
|
+
if (this.searchString) {
|
|
141
|
+
this.searchString = null;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
arrowsSelectNav(e, key) {
|
|
145
|
+
const showResetIcon = this.resetItem && !!this.selectedItem;
|
|
146
|
+
const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];
|
|
147
|
+
if (!arrows.includes(e.key)) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
e.preventDefault();
|
|
151
|
+
e.stopPropagation();
|
|
152
|
+
if (!this.isOpen) {
|
|
153
|
+
this.toggleSelectUl();
|
|
154
|
+
}
|
|
155
|
+
let index;
|
|
156
|
+
if (this.resetItem) {
|
|
157
|
+
if (e.key === KeyboardCode.ARROW_DOWN) {
|
|
158
|
+
index = key + 1 === this.itemsList.length + 1 ? +!showResetIcon : key + 1;
|
|
159
|
+
}
|
|
160
|
+
else if (e.key === KeyboardCode.ARROW_UP) {
|
|
161
|
+
index = key <= +!showResetIcon ? this.itemsList.length : key - 1;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
if (!this.resetItem) {
|
|
165
|
+
if (e.key === KeyboardCode.ARROW_DOWN) {
|
|
166
|
+
index = key + 1 === this.itemsList.length ? 0 : key + 1;
|
|
167
|
+
}
|
|
168
|
+
else if (e.key === KeyboardCode.ARROW_UP) {
|
|
169
|
+
index = key <= 0 ? this.itemsList.length - 1 : key - 1;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
this.focusSelectItem(index);
|
|
173
|
+
}
|
|
174
|
+
focusSelectItem(index) {
|
|
175
|
+
const focusElem = this.element.querySelector(`#${this.htmlid}_${index}`);
|
|
176
|
+
if (focusElem) {
|
|
177
|
+
focusElem.focus();
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
toggleSelectUl(selfFocusOnClose = false) {
|
|
181
|
+
if (this.disabled || this.readonly) {
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
if (!this.isOpen) {
|
|
185
|
+
document.addEventListener("click", this.handleSelectFocus);
|
|
186
|
+
document.addEventListener("keyup", this.handleSelectFocus);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
document.removeEventListener("click", this.handleSelectFocus);
|
|
190
|
+
document.removeEventListener("keyup", this.handleSelectFocus);
|
|
191
|
+
if (selfFocusOnClose) {
|
|
192
|
+
this.element.querySelector(`#${this.htmlid}_input`).focus();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
this.focusedItemId = "";
|
|
196
|
+
this.isOpen = !this.isOpen;
|
|
197
|
+
}
|
|
198
|
+
handleInputClick(e) {
|
|
199
|
+
const cp = e.composedPath();
|
|
200
|
+
const clearIcon = cp.find((item) => item.classList && item.classList.contains("reset-icon"));
|
|
201
|
+
if (clearIcon) {
|
|
202
|
+
e.stopPropagation();
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
this.toggleSelectUl();
|
|
206
|
+
}
|
|
207
|
+
handleSelectFocus(e) {
|
|
208
|
+
if (e instanceof KeyboardEvent && e.key === KeyboardCode.ESC) {
|
|
209
|
+
e.stopPropagation();
|
|
210
|
+
return this.toggleSelectUl(true);
|
|
211
|
+
}
|
|
212
|
+
if (e instanceof KeyboardEvent && e.key !== KeyboardCode.TAB && e.key !== KeyboardCode.ENTER) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
const tree = getElementTree(getClickedElement());
|
|
216
|
+
const parent = tree.find((elem) => {
|
|
217
|
+
return elem.nodeName.toLowerCase() === "z-input" && elem.id === `${this.htmlid}_input`;
|
|
218
|
+
});
|
|
219
|
+
if (!parent) {
|
|
220
|
+
this.toggleSelectUl(e instanceof MouseEvent ? true : false);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
scrollToLetter(letter) {
|
|
224
|
+
const foundItem = this.itemsList.find((item) => item.name.charAt(0) === letter);
|
|
225
|
+
if (foundItem) {
|
|
226
|
+
this.focusSelectItem(this.itemsList.indexOf(foundItem));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
renderInput() {
|
|
230
|
+
return (h("z-input", { class: {
|
|
231
|
+
"active-select": this.isOpen,
|
|
232
|
+
"cursor-select": !this.autocomplete,
|
|
233
|
+
}, id: `${this.htmlid}_input`, htmlid: `${this.htmlid}_select_input`, placeholder: this.placeholder, value: !this.isOpen && this.selectedItem ? this.selectedItem.name.replace(/<[^>]+>/g, "") : null, label: this.label, "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.ariaLabel, "aria-controls": `${this.htmlid}_list`, "aria-autocomplete": this.hasAutocomplete() ? "list" : "none", "aria-activedescendant": this.isOpen ? this.focusedItemId : "", icon: this.isOpen ? "caret-up" : "caret-down", hasclearicon: this.hasAutocomplete(), message: false, disabled: this.disabled, readonly: this.readonly || (!this.hasAutocomplete() && this.isOpen), status: this.isOpen ? undefined : this.status, role: "combobox", size: this.size, onClick: (e) => {
|
|
234
|
+
this.handleInputClick(e);
|
|
235
|
+
}, onKeyUp: (e) => {
|
|
236
|
+
if (e.keyCode !== 13) {
|
|
237
|
+
e.preventDefault();
|
|
238
|
+
}
|
|
239
|
+
handleKeyboardSubmit(e, this.toggleSelectUl);
|
|
240
|
+
}, onKeyDown: (e) => {
|
|
241
|
+
return this.arrowsSelectNav(e, this.selectedItem ? this.itemsList.indexOf(this.selectedItem) : this.resetItem ? 0 : -1);
|
|
242
|
+
}, onInputChange: (e) => {
|
|
243
|
+
this.handleInputChange(e);
|
|
244
|
+
}, onKeyPress: (e) => {
|
|
245
|
+
if (!this.hasAutocomplete()) {
|
|
246
|
+
e.preventDefault();
|
|
247
|
+
this.scrollToLetter(String.fromCharCode(e.keyCode));
|
|
248
|
+
}
|
|
249
|
+
} }));
|
|
250
|
+
}
|
|
251
|
+
renderSelectUl() {
|
|
252
|
+
return (h("div", { class: this.isOpen ? "open" : "closed", tabindex: "-1" }, h("div", { class: {
|
|
253
|
+
"ul-scroll-wrapper": true,
|
|
254
|
+
"fixed": this.isfixed,
|
|
255
|
+
}, tabindex: "-1" }, h("z-list", { role: "listbox", "aria-label": this.ariaLabel || this.label, tabindex: this.disabled || this.readonly || !this.isOpen ? -1 : 0, id: `${this.htmlid}_list`, "aria-multiselectable": false, size: this.listSizeType(), class: {
|
|
256
|
+
disabled: this.disabled,
|
|
257
|
+
readonly: this.readonly,
|
|
258
|
+
filled: !!this.selectedItem,
|
|
259
|
+
[`input-${this.status}`]: !this.isOpen && !!this.status,
|
|
260
|
+
} }, this.resetItem && this.renderResetItem(), this.renderSelectUlItems()))));
|
|
261
|
+
}
|
|
262
|
+
renderResetItem() {
|
|
263
|
+
return (h("z-list-element", { class: {
|
|
264
|
+
"hide": !this.selectedItem || !this.resetItem,
|
|
265
|
+
"reset-item": true,
|
|
266
|
+
"reset-item-margin": !this.hasGroupItems,
|
|
267
|
+
}, clickable: true, disabled: false, dividerType: ListDividerType.ELEMENT, role: "option", tabindex: "0", "aria-selected": "false", id: `${this.htmlid}_${this.resetItem ? "0" : "none"}`, size: this.listSizeType(), onClickItem: () => {
|
|
268
|
+
this.selectedItem = null;
|
|
269
|
+
this.searchString = null;
|
|
270
|
+
this.emitResetSelect();
|
|
271
|
+
}, onKeyDown: (e) => this.arrowsSelectNav(e, 0) }, h("div", { class: "reset-item-content" }, h("z-icon", { name: "multiply-circled" }), h("span", null, this.resetItem))));
|
|
272
|
+
}
|
|
273
|
+
renderItem(item, key, lastItem) {
|
|
274
|
+
return (h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: lastItem ? ListDividerType.HEADER : ListDividerType.ELEMENT, role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": item.selected ? "true" : "false", id: `${this.htmlid}_${key}`, size: this.listSizeType(), onClickItem: () => this.selectItem(item, true), onKeyDown: (e) => this.arrowsSelectNav(e, key) }, h("span", { class: {
|
|
275
|
+
"selected": !!item.selected,
|
|
276
|
+
"list-element-content": true,
|
|
277
|
+
}, innerHTML: item.name })));
|
|
278
|
+
}
|
|
279
|
+
listSizeType() {
|
|
280
|
+
if (this.size === ControlSize.SMALL || this.size === ControlSize.X_SMALL) {
|
|
281
|
+
return ListSize.SMALL;
|
|
282
|
+
}
|
|
283
|
+
return ListSize.MEDIUM;
|
|
284
|
+
}
|
|
285
|
+
renderSelectUlItems() {
|
|
286
|
+
if (!this.itemsList.length) {
|
|
287
|
+
return this.renderNoSearchResults();
|
|
288
|
+
}
|
|
289
|
+
if (this.hasGroupItems) {
|
|
290
|
+
return this.renderSelectGroupItems();
|
|
291
|
+
}
|
|
292
|
+
return this.itemsList.map((item, key, array) => {
|
|
293
|
+
const lastItem = array.length === key + 1;
|
|
294
|
+
const itemKey = this.resetItem ? key + 1 : key;
|
|
295
|
+
return this.renderItem(item, itemKey, lastItem);
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
renderSelectGroupItems() {
|
|
299
|
+
const newData = this.itemsList.reduce((group, item, index, array) => {
|
|
300
|
+
var _a;
|
|
301
|
+
const { category } = item;
|
|
302
|
+
const lastItem = array.length === index + 1;
|
|
303
|
+
const itemKey = this.resetItem ? index + 1 : index;
|
|
304
|
+
const zListItem = this.renderItem(item, itemKey, lastItem);
|
|
305
|
+
group[category] = (_a = group[category]) !== null && _a !== void 0 ? _a : [];
|
|
306
|
+
group[category].push(zListItem);
|
|
307
|
+
return group;
|
|
308
|
+
}, {});
|
|
309
|
+
return Object.entries(newData).map(([key, value]) => {
|
|
310
|
+
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("span", { class: "body-3-sb z-list-group-title", slot: "header-title" }, key), value.map((item) => item)));
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
renderNoSearchResults() {
|
|
314
|
+
return (h("z-list-element", { color: "blue500", class: "no-results", size: this.listSizeType() }, h("z-icon", { name: "multiply-circle", fill: "blue500" }), this.noresultslabel));
|
|
315
|
+
}
|
|
316
|
+
renderMessage() {
|
|
317
|
+
if (boolean(this.message) === false) {
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size }));
|
|
321
|
+
}
|
|
322
|
+
render() {
|
|
323
|
+
return (h("div", { class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
|
|
324
|
+
}
|
|
325
|
+
get element() { return getElement(this); }
|
|
326
|
+
static get watchers() { return {
|
|
327
|
+
"items": ["watchItems"]
|
|
328
|
+
}; }
|
|
329
|
+
};
|
|
330
|
+
ZSelect.style = stylesCss;
|
|
331
|
+
|
|
332
|
+
export { ZSelect as z_select };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
|
+
import { d as getElementTree, a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
|
|
3
|
+
import { T as ThemeVariant } from './index-47f23745.js';
|
|
4
|
+
import './breakpoints-9b81eb1b.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-text01)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";
|
|
7
|
+
|
|
8
|
+
const ZSkipToContent = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
/** Array to fill link into skip-content */
|
|
12
|
+
this.links = [];
|
|
13
|
+
this.visible = false;
|
|
14
|
+
this.visibleLink = "";
|
|
15
|
+
}
|
|
16
|
+
handleFocusOutSkipToContent(e) {
|
|
17
|
+
if (this.isInSkipToContent(e.target)) {
|
|
18
|
+
this.visible = false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
handleFocusSkipToContent(e) {
|
|
22
|
+
if (this.isInSkipToContent(e.target)) {
|
|
23
|
+
this.visible = true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
componentDidLoad() {
|
|
27
|
+
this.showFirstChild();
|
|
28
|
+
}
|
|
29
|
+
componentWillRender() {
|
|
30
|
+
if (this.links) {
|
|
31
|
+
this.links = typeof this.links === "string" ? JSON.parse(this.links) : this.links;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
isInSkipToContent(elem) {
|
|
35
|
+
const tree = getElementTree(elem);
|
|
36
|
+
const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
|
|
37
|
+
return !!menuParent;
|
|
38
|
+
}
|
|
39
|
+
showFirstChild() {
|
|
40
|
+
var _a;
|
|
41
|
+
const firstChild = (_a = this.hostElement.children) === null || _a === void 0 ? void 0 : _a[0];
|
|
42
|
+
if (firstChild) {
|
|
43
|
+
this.visibleLink = firstChild.id;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
handleLinkClick() {
|
|
47
|
+
this.visible = false;
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
return (h(Host, { class: {
|
|
51
|
+
[this.variant]: true,
|
|
52
|
+
"skip-to-content-visible": this.visible,
|
|
53
|
+
} }, this.links.map((link, i) => {
|
|
54
|
+
const id = `skip-to-content-${i}`;
|
|
55
|
+
return (h("div", { class: "link-container" }, h("a", { id: id, class: {
|
|
56
|
+
"body-1-sb": true,
|
|
57
|
+
"z-link": true,
|
|
58
|
+
"z-link-underline": true,
|
|
59
|
+
"z-link-white": this.variant === ThemeVariant.DARK,
|
|
60
|
+
"z-link-black": this.variant !== ThemeVariant.DARK,
|
|
61
|
+
"link-visible": id == this.visibleLink,
|
|
62
|
+
"link-invisible": id != this.visibleLink,
|
|
63
|
+
}, "aria-label": link.ariaLabel || link.label, href: link.href, onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label)));
|
|
64
|
+
})));
|
|
65
|
+
}
|
|
66
|
+
get hostElement() { return getElement(this); }
|
|
67
|
+
};
|
|
68
|
+
ZSkipToContent.style = stylesCss;
|
|
69
|
+
|
|
70
|
+
export { ZSkipToContent as z_skip_to_content };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-4968ce56.js';
|
|
2
|
+
import { p as Device } from './index-47f23745.js';
|
|
3
|
+
import { f as convertJson, g as getDevice, a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
|
|
4
|
+
import './breakpoints-9b81eb1b.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:\"center center\" \"left right\"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:\"left center right\"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Check if data is an array of strings.
|
|
10
|
+
* @param {unknown} data Data to check
|
|
11
|
+
* @returns {boolean}
|
|
12
|
+
*/
|
|
13
|
+
function isStringArray(data) {
|
|
14
|
+
return Array.isArray(data) && data.every((datum) => typeof datum === "string");
|
|
15
|
+
}
|
|
16
|
+
const ZSlideshow = class {
|
|
17
|
+
constructor(hostRef) {
|
|
18
|
+
registerInstance(this, hostRef);
|
|
19
|
+
this.currentSlide = 0;
|
|
20
|
+
}
|
|
21
|
+
watchData() {
|
|
22
|
+
this.parseLinks();
|
|
23
|
+
}
|
|
24
|
+
componentWillLoad() {
|
|
25
|
+
this.parseLinks();
|
|
26
|
+
this.setDevice();
|
|
27
|
+
window.addEventListener("resize", this.handleResize.bind(this));
|
|
28
|
+
}
|
|
29
|
+
componentDidRender() {
|
|
30
|
+
this.setStyle();
|
|
31
|
+
}
|
|
32
|
+
handleResize() {
|
|
33
|
+
this.setDevice();
|
|
34
|
+
this.setStyle();
|
|
35
|
+
}
|
|
36
|
+
parseLinks() {
|
|
37
|
+
var _a;
|
|
38
|
+
switch (typeof this.data) {
|
|
39
|
+
case "string": {
|
|
40
|
+
const parsed = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : [];
|
|
41
|
+
if (!isStringArray(parsed)) {
|
|
42
|
+
throw new Error("Passed data is invalid");
|
|
43
|
+
}
|
|
44
|
+
this.links = parsed;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
default:
|
|
48
|
+
this.links = this.data;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
setStyle() {
|
|
53
|
+
const refSlides = this.el.shadowRoot.querySelector("#slides");
|
|
54
|
+
if (!refSlides) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const allImages = this.el.shadowRoot.querySelectorAll(".slide");
|
|
58
|
+
const width = this.el.offsetWidth;
|
|
59
|
+
const fullwidth = width * this.links.length;
|
|
60
|
+
refSlides.style.width = `${fullwidth}px`;
|
|
61
|
+
refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;
|
|
62
|
+
allImages.forEach((item) => {
|
|
63
|
+
const img = item.querySelector("img");
|
|
64
|
+
img.style.width = `${width}px`;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
setDevice() {
|
|
68
|
+
this.device = getDevice();
|
|
69
|
+
}
|
|
70
|
+
setCurrentSlide(index) {
|
|
71
|
+
this.currentSlide = index;
|
|
72
|
+
}
|
|
73
|
+
getBulletDimension() {
|
|
74
|
+
switch (this.device) {
|
|
75
|
+
case Device.MOBILE:
|
|
76
|
+
return 24;
|
|
77
|
+
case Device.TABLET:
|
|
78
|
+
return 32;
|
|
79
|
+
default:
|
|
80
|
+
return 40;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
renderSlides(items) {
|
|
84
|
+
return (h("div", { id: "slides" }, items.map((item, i) => (h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, h("img", { src: item }))))));
|
|
85
|
+
}
|
|
86
|
+
renderScroll(direction) {
|
|
87
|
+
let disabled = false, nextSlide = this.currentSlide;
|
|
88
|
+
if (direction === "left") {
|
|
89
|
+
disabled = this.currentSlide === 0;
|
|
90
|
+
nextSlide--;
|
|
91
|
+
}
|
|
92
|
+
else if (direction === "right") {
|
|
93
|
+
disabled = this.currentSlide === this.links.length - 1;
|
|
94
|
+
nextSlide++;
|
|
95
|
+
}
|
|
96
|
+
return (h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
|
|
97
|
+
!disabled && this.setCurrentSlide(nextSlide);
|
|
98
|
+
}, onKeyUp: (e) => !disabled &&
|
|
99
|
+
handleKeyboardSubmit(e, () => {
|
|
100
|
+
this.setCurrentSlide(nextSlide);
|
|
101
|
+
}), tabindex: 0, role: "button" }));
|
|
102
|
+
}
|
|
103
|
+
renderSlideshowMain() {
|
|
104
|
+
return (h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
|
|
105
|
+
}
|
|
106
|
+
renderBullet(i) {
|
|
107
|
+
return (h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
108
|
+
}
|
|
109
|
+
renderSlideshowFooter() {
|
|
110
|
+
return (h("footer", null, h("div", { class: "footer-left" }, h("slot", { name: "footer-left" })), h("div", { class: "footer-center" }, h("div", { class: "bullet-container" }, Object.keys(this.links).map((i) => this.renderBullet(parseInt(i))))), h("div", { class: "footer-right" }, h("slot", { name: "footer-right" }))));
|
|
111
|
+
}
|
|
112
|
+
render() {
|
|
113
|
+
if (!this.links || !this.links.length) {
|
|
114
|
+
return h("div", null);
|
|
115
|
+
}
|
|
116
|
+
return (h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
117
|
+
}
|
|
118
|
+
get el() { return getElement(this); }
|
|
119
|
+
static get watchers() { return {
|
|
120
|
+
"data": ["watchData"]
|
|
121
|
+
}; }
|
|
122
|
+
};
|
|
123
|
+
ZSlideshow.style = stylesCss;
|
|
124
|
+
|
|
125
|
+
export { ZSlideshow as z_slideshow };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled02);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-active-primary);background:var(--color-active-primary);color:var(--color-text-inverse)}:host(:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}@media (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
|
|
4
|
+
|
|
5
|
+
const ZStepperItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
if (this.href) {
|
|
11
|
+
return (h("a", { href: !this.disabled && this.href, class: "stepper-item" }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
|
|
12
|
+
}
|
|
13
|
+
return (h("button", { class: "stepper-item", disabled: this.disabled }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
ZStepperItem.style = stylesCss;
|
|
17
|
+
|
|
18
|
+
export { ZStepperItem as z_stepper_item };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
|
|
4
|
+
|
|
5
|
+
const ZStepper = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return h("slot", null);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZStepper.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZStepper as z_stepper };
|