@zanichelli/albe-web-components 5.5.1 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{index-438f76bc.js → index-3dd0f9bd.js} +10 -0
- package/dist/cjs/index.cjs.js +14 -2
- package/dist/cjs/loader.cjs.js +2 -18
- package/dist/cjs/{utils-69e42a14.js → utils-29f9ccf5.js} +4 -26
- package/dist/cjs/{utils-8cc414c9.js → utils-4a419726.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +4 -116
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/{z-range-picker.cjs.entry.js → z-app-switcher_9.cjs.entry.js} +443 -14
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +4 -4
- package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +2 -2
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +2 -2
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +5 -5
- package/dist/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +39 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +8 -14
- package/dist/cjs/z-file-upload.cjs.entry.js +26 -12
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +3 -3
- package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -7
- package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +5 -5
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +4 -4
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -3
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +5 -5
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +10 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buttons/z-chip/index.js +1 -1
- package/dist/collection/components/buttons/z-chip/styles.css +2 -9
- package/dist/collection/components/file-upload/z-file/index.js +19 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +46 -11
- package/dist/collection/components/inputs/z-combobox/styles.css +1 -2
- package/dist/collection/components/z-cover-hero/index.js +103 -0
- package/dist/collection/components/z-cover-hero/styles.css +77 -0
- package/dist/collection/components/z-info-reveal/styles.css +5 -0
- package/dist/{web-components-library/index-3ee81524.js → esm/index-3c2d757b.js} +11 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -18
- package/dist/esm/{utils-5d5963ef.js → utils-57be09c8.js} +2 -2
- package/dist/esm/{utils-1e801ac0.js → utils-729724da.js} +4 -26
- package/dist/esm/web-components-library.js +4 -116
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/{web-components-library/z-range-picker.entry.js → esm/z-app-switcher_9.entry.js} +426 -5
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-button-deprecated.entry.js +4 -4
- package/dist/esm/z-button-filter.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button.entry.js +2 -2
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-card.entry.js +2 -2
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip-deprecated.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +5 -5
- package/dist/esm/z-combobox.entry.js +4 -4
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +35 -0
- package/dist/esm/z-date-picker.entry.js +8 -14
- package/dist/esm/z-file-upload.entry.js +26 -12
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +3 -3
- package/dist/esm/z-input-deprecated.entry.js +3 -3
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-modal-login.entry.js +2 -2
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-topbar.entry.js +2 -2
- package/dist/esm/z-navigation-tab-link.entry.js +2 -2
- package/dist/esm/z-navigation-tab.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +5 -7
- package/dist/esm/z-pagination-page.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +5 -5
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +4 -4
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +4 -4
- package/dist/esm/z-table-empty-box.entry.js +3 -3
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +5 -5
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +4 -4
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +8 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +2 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +5 -3
- package/dist/types/components/z-cover-hero/index.d.ts +29 -0
- package/dist/types/components.d.ts +42 -1
- package/dist/web-components-library/index.esm.js +1 -9
- package/dist/web-components-library/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
- package/dist/web-components-library/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
- package/dist/web-components-library/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
- package/dist/web-components-library/p-0ab1b40f.entry.js +1 -0
- package/dist/web-components-library/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
- package/dist/web-components-library/p-1906915c.entry.js +1 -0
- package/dist/web-components-library/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
- package/dist/web-components-library/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
- package/dist/web-components-library/p-1ff7bde5.entry.js +1 -0
- package/dist/web-components-library/p-223566d6.entry.js +1 -0
- package/dist/web-components-library/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
- package/{www/build/p-9074e1a5.entry.js → dist/web-components-library/p-46a6341a.entry.js} +1 -1
- package/dist/web-components-library/p-51130281.entry.js +1 -0
- package/dist/web-components-library/p-5789bbe7.entry.js +1 -0
- package/{www/build/p-7c6d4440.entry.js → dist/web-components-library/p-596da333.entry.js} +1 -1
- package/{www/build/p-0a0aee35.entry.js → dist/web-components-library/p-71034a6f.entry.js} +1 -1
- package/dist/web-components-library/p-710cec6d.entry.js +1 -0
- package/dist/web-components-library/p-7171717f.entry.js +1 -0
- package/dist/web-components-library/p-79408b00.entry.js +1 -0
- package/dist/web-components-library/p-7b054eb2.entry.js +1 -0
- package/dist/web-components-library/p-7d37e4a8.entry.js +16 -0
- package/{www/build/p-dffdf60a.entry.js → dist/web-components-library/p-8468d87e.entry.js} +1 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +1 -0
- package/{www/build/p-43329b81.entry.js → dist/web-components-library/p-8e4d7f5d.entry.js} +1 -1
- package/dist/web-components-library/p-8f030e78.entry.js +1 -0
- package/dist/web-components-library/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
- package/{www/build/p-5be162d5.entry.js → dist/web-components-library/p-953a07d5.entry.js} +1 -1
- package/dist/web-components-library/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
- package/{www/build/p-57d1acdc.entry.js → dist/web-components-library/p-a5232d04.entry.js} +1 -1
- package/dist/web-components-library/p-a54ef821.entry.js +1 -0
- package/{www/build/p-8fbc2ce9.entry.js → dist/web-components-library/p-a93d5b8c.entry.js} +1 -1
- package/dist/web-components-library/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
- package/dist/web-components-library/p-ae784c71.entry.js +1 -0
- package/dist/web-components-library/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
- package/{www/build/p-e2102da3.entry.js → dist/web-components-library/p-aed2a8cf.entry.js} +1 -1
- package/{www/build/p-3edbd35c.entry.js → dist/web-components-library/p-b543005a.entry.js} +1 -1
- package/dist/web-components-library/p-bb20020b.entry.js +1 -0
- package/dist/web-components-library/p-bbeb6b3c.entry.js +1 -0
- package/dist/web-components-library/p-bd772b8a.entry.js +1 -0
- package/dist/web-components-library/{p-b9da171f.js → p-bfa3593e.js} +1 -1
- package/{www/build/p-9a5ee6c2.entry.js → dist/web-components-library/p-c066ddf1.entry.js} +1 -1
- package/dist/web-components-library/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
- package/dist/web-components-library/p-c730a93d.entry.js +1 -0
- package/dist/web-components-library/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
- package/dist/web-components-library/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
- package/dist/web-components-library/p-cf35d3cd.entry.js +1 -0
- package/dist/web-components-library/p-cf73af9a.entry.js +1 -0
- package/dist/web-components-library/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
- package/dist/web-components-library/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
- package/dist/web-components-library/p-d79f69f2.js +1 -0
- package/dist/web-components-library/p-e293f91e.entry.js +1 -0
- package/{www/build/p-55ddbfe9.entry.js → dist/web-components-library/p-e6ac4dc4.entry.js} +1 -1
- package/dist/web-components-library/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
- package/dist/web-components-library/p-ed05dc6b.entry.js +1 -0
- package/dist/web-components-library/p-f0d90cc2.entry.js +1 -0
- package/dist/web-components-library/p-f31b8e83.js +1 -0
- package/{www/build/p-df4e963b.entry.js → dist/web-components-library/p-f6da32c4.entry.js} +1 -1
- package/{www/build/p-bfe5693d.entry.js → dist/web-components-library/p-fd2338b2.entry.js} +1 -1
- package/{www/build/p-4af112a7.entry.js → dist/web-components-library/p-fea2c39a.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -812
- package/dist/web-components-library/web-components-library.esm.js +1 -129
- package/package.json +1 -1
- package/react/components.d.ts +5 -0
- package/react/components.js +8 -3
- package/react/components.js.map +1 -1
- package/readme.md +8 -0
- package/www/build/index.esm.js +1 -9
- package/www/build/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
- package/www/build/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
- package/www/build/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
- package/www/build/p-0ab1b40f.entry.js +1 -0
- package/www/build/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
- package/www/build/p-1906915c.entry.js +1 -0
- package/www/build/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
- package/www/build/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
- package/www/build/p-1ff7bde5.entry.js +1 -0
- package/www/build/p-223566d6.entry.js +1 -0
- package/www/build/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
- package/www/build/p-36091078.js +1 -0
- package/{dist/web-components-library/p-9074e1a5.entry.js → www/build/p-46a6341a.entry.js} +1 -1
- package/www/build/{p-88b56b6e.css → p-4c9c83c0.css} +1 -1
- package/www/build/p-51130281.entry.js +1 -0
- package/www/build/p-5789bbe7.entry.js +1 -0
- package/{dist/web-components-library/p-7c6d4440.entry.js → www/build/p-596da333.entry.js} +1 -1
- package/{dist/web-components-library/p-0a0aee35.entry.js → www/build/p-71034a6f.entry.js} +1 -1
- package/www/build/p-710cec6d.entry.js +1 -0
- package/www/build/p-7171717f.entry.js +1 -0
- package/www/build/p-79408b00.entry.js +1 -0
- package/www/build/p-7b054eb2.entry.js +1 -0
- package/www/build/p-7d37e4a8.entry.js +16 -0
- package/{dist/web-components-library/p-dffdf60a.entry.js → www/build/p-8468d87e.entry.js} +1 -1
- package/www/build/p-8cf3798f.entry.js +1 -0
- package/{dist/web-components-library/p-43329b81.entry.js → www/build/p-8e4d7f5d.entry.js} +1 -1
- package/www/build/p-8f030e78.entry.js +1 -0
- package/www/build/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
- package/{dist/web-components-library/p-5be162d5.entry.js → www/build/p-953a07d5.entry.js} +1 -1
- package/www/build/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
- package/{dist/web-components-library/p-57d1acdc.entry.js → www/build/p-a5232d04.entry.js} +1 -1
- package/www/build/p-a54ef821.entry.js +1 -0
- package/{dist/web-components-library/p-8fbc2ce9.entry.js → www/build/p-a93d5b8c.entry.js} +1 -1
- package/www/build/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
- package/www/build/p-ae784c71.entry.js +1 -0
- package/www/build/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
- package/{dist/web-components-library/p-e2102da3.entry.js → www/build/p-aed2a8cf.entry.js} +1 -1
- package/{dist/web-components-library/p-3edbd35c.entry.js → www/build/p-b543005a.entry.js} +1 -1
- package/www/build/p-bb20020b.entry.js +1 -0
- package/www/build/p-bbeb6b3c.entry.js +1 -0
- package/www/build/p-bd772b8a.entry.js +1 -0
- package/www/build/{p-b9da171f.js → p-bfa3593e.js} +1 -1
- package/{dist/web-components-library/p-9a5ee6c2.entry.js → www/build/p-c066ddf1.entry.js} +1 -1
- package/www/build/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
- package/www/build/p-c730a93d.entry.js +1 -0
- package/www/build/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
- package/www/build/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
- package/www/build/p-cf35d3cd.entry.js +1 -0
- package/www/build/p-cf73af9a.entry.js +1 -0
- package/www/build/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
- package/www/build/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
- package/www/build/p-d79f69f2.js +1 -0
- package/www/build/p-e293f91e.entry.js +1 -0
- package/{dist/web-components-library/p-55ddbfe9.entry.js → www/build/p-e6ac4dc4.entry.js} +1 -1
- package/www/build/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
- package/www/build/p-ed05dc6b.entry.js +1 -0
- package/www/build/p-f0d90cc2.entry.js +1 -0
- package/www/build/p-f31b8e83.js +1 -0
- package/{dist/web-components-library/p-df4e963b.entry.js → www/build/p-f6da32c4.entry.js} +1 -1
- package/{dist/web-components-library/p-bfe5693d.entry.js → www/build/p-fd2338b2.entry.js} +1 -1
- package/{dist/web-components-library/p-4af112a7.entry.js → www/build/p-fea2c39a.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -812
- package/www/build/web-components-library.esm.js +1 -129
- package/www/index.html +2 -11
- package/www/pages/file-upload.html +97 -54
- package/dist/cjs/_commonjsHelpers-10109b76.js +0 -48
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-f1391d35.js +0 -6
- package/dist/cjs/dom-5345ed9a.js +0 -75
- package/dist/cjs/hammer-0741ba49.js +0 -2651
- package/dist/cjs/index-545547ad.js +0 -66
- package/dist/cjs/index-6b6a3299.js +0 -315
- package/dist/cjs/index-a8bdcb9c.js +0 -334
- package/dist/cjs/index-fcbe2d6e.js +0 -3093
- package/dist/cjs/shadow-css-42acdd0e.js +0 -390
- package/dist/cjs/utils-0a978fe0.js +0 -118
- package/dist/cjs/utils-56c20ead.js +0 -118
- package/dist/cjs/utils-aca0a0b6.js +0 -2742
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +0 -377
- package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/cjs/z-body.cjs.entry.js +0 -17
- package/dist/cjs/z-divider.cjs.entry.js +0 -26
- package/dist/cjs/z-dragdrop-area.cjs.entry.js +0 -37
- package/dist/cjs/z-footer-link.cjs.entry.js +0 -19
- package/dist/cjs/z-footer-section.cjs.entry.js +0 -23
- package/dist/cjs/z-footer-social.cjs.entry.js +0 -19
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/cjs/z-icon.cjs.entry.js +0 -28
- package/dist/cjs/z-input-label.cjs.entry.js +0 -21
- package/dist/cjs/z-input-message.cjs.entry.js +0 -24
- package/dist/cjs/z-input.cjs.entry.js +0 -235
- package/dist/cjs/z-input_2.cjs.entry.js +0 -228
- package/dist/cjs/z-link.cjs.entry.js +0 -71
- package/dist/cjs/z-list-element.cjs.entry.js +0 -154
- package/dist/cjs/z-list.cjs.entry.js +0 -34
- package/dist/cjs/z-logo.cjs.entry.js +0 -28
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -60
- package/dist/cjs/z-myz-card-body.cjs.entry.js +0 -19
- package/dist/cjs/z-myz-card-cover.cjs.entry.js +0 -22
- package/dist/cjs/z-myz-card-header.cjs.entry.js +0 -39
- package/dist/cjs/z-myz-card.cjs.entry.js +0 -43
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/cjs/z-pocket-body.cjs.entry.js +0 -27
- package/dist/cjs/z-pocket-header.cjs.entry.js +0 -40
- package/dist/cjs/z-pocket.cjs.entry.js +0 -72
- package/dist/cjs/z-select.cjs.entry.js +0 -257
- package/dist/cjs/z-typography.cjs.entry.js +0 -29
- package/dist/collection/components/z-date-picker/index.js +0 -284
- package/dist/collection/components/z-date-picker/styles.css +0 -525
- package/dist/esm/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-10e6e2ae.js +0 -4
- package/dist/esm/dom-7cd9cf71.js +0 -73
- package/dist/esm/hammer-782a2043.js +0 -2649
- package/dist/esm/index-3b53c63e.js +0 -334
- package/dist/esm/index-3ee81524.js +0 -334
- package/dist/esm/index-46ca649a.js +0 -315
- package/dist/esm/index-51f075dd.js +0 -64
- package/dist/esm/index-81176684.js +0 -3057
- package/dist/esm/shadow-css-38a1326b.js +0 -388
- package/dist/esm/utils-43f2cad8.js +0 -2736
- package/dist/esm/utils-a3134cfb.js +0 -109
- package/dist/esm/utils-e5940345.js +0 -109
- package/dist/esm/z-app-switcher.entry.js +0 -25
- package/dist/esm/z-app-switcher_11.entry.js +0 -363
- package/dist/esm/z-app-topbar.entry.js +0 -37
- package/dist/esm/z-body.entry.js +0 -13
- package/dist/esm/z-divider.entry.js +0 -22
- package/dist/esm/z-dragdrop-area.entry.js +0 -33
- package/dist/esm/z-footer-link.entry.js +0 -15
- package/dist/esm/z-footer-section.entry.js +0 -19
- package/dist/esm/z-footer-social.entry.js +0 -15
- package/dist/esm/z-heading.entry.js +0 -13
- package/dist/esm/z-icon.entry.js +0 -24
- package/dist/esm/z-input-label.entry.js +0 -17
- package/dist/esm/z-input-message.entry.js +0 -20
- package/dist/esm/z-input.entry.js +0 -231
- package/dist/esm/z-input_2.entry.js +0 -223
- package/dist/esm/z-link.entry.js +0 -67
- package/dist/esm/z-list-element.entry.js +0 -150
- package/dist/esm/z-list.entry.js +0 -30
- package/dist/esm/z-logo.entry.js +0 -24
- package/dist/esm/z-menu-dropdown.entry.js +0 -56
- package/dist/esm/z-myz-card-body.entry.js +0 -15
- package/dist/esm/z-myz-card-cover.entry.js +0 -18
- package/dist/esm/z-myz-card-header.entry.js +0 -35
- package/dist/esm/z-myz-card.entry.js +0 -39
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/esm/z-pocket-body.entry.js +0 -23
- package/dist/esm/z-pocket-header.entry.js +0 -36
- package/dist/esm/z-pocket.entry.js +0 -68
- package/dist/esm/z-range-picker.entry.js +0 -354
- package/dist/esm/z-select.entry.js +0 -253
- package/dist/esm/z-typography.entry.js +0 -25
- package/dist/types/components/z-date-picker/index.d.ts +0 -30
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
- package/dist/web-components-library/breakpoints-c386984e.js +0 -4
- package/dist/web-components-library/css-shim-10e6e2ae.js +0 -4
- package/dist/web-components-library/dom-7cd9cf71.js +0 -73
- package/dist/web-components-library/hammer-782a2043.js +0 -2649
- package/dist/web-components-library/icons-92a7dcde.js +0 -511
- package/dist/web-components-library/index-3b53c63e.js +0 -334
- package/dist/web-components-library/index-51f075dd.js +0 -64
- package/dist/web-components-library/index-81176684.js +0 -3057
- package/dist/web-components-library/p-0d29d851.entry.js +0 -1
- package/dist/web-components-library/p-0e408871.entry.js +0 -1
- package/dist/web-components-library/p-0ef6c549.entry.js +0 -1
- package/dist/web-components-library/p-1f73a6d8.entry.js +0 -1
- package/dist/web-components-library/p-20d62443.entry.js +0 -1
- package/dist/web-components-library/p-3c111c2a.entry.js +0 -1
- package/dist/web-components-library/p-562e2d52.entry.js +0 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +0 -1
- package/dist/web-components-library/p-6218514a.entry.js +0 -1
- package/dist/web-components-library/p-71accd8e.entry.js +0 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
- package/dist/web-components-library/p-9f5d707a.js +0 -1
- package/dist/web-components-library/p-a8875b97.entry.js +0 -16
- package/dist/web-components-library/p-d39c0372.entry.js +0 -1
- package/dist/web-components-library/p-d995d9dc.entry.js +0 -1
- package/dist/web-components-library/p-e2431b92.entry.js +0 -1
- package/dist/web-components-library/p-edb8d2ab.entry.js +0 -1
- package/dist/web-components-library/shadow-css-38a1326b.js +0 -388
- package/dist/web-components-library/utils-1e801ac0.js +0 -2736
- package/dist/web-components-library/utils-43f2cad8.js +0 -2736
- package/dist/web-components-library/utils-a3134cfb.js +0 -109
- package/dist/web-components-library/utils-e5940345.js +0 -109
- package/dist/web-components-library/z-alert.entry.js +0 -15
- package/dist/web-components-library/z-app-header.entry.js +0 -127
- package/dist/web-components-library/z-app-switcher.entry.js +0 -25
- package/dist/web-components-library/z-app-topbar.entry.js +0 -37
- package/dist/web-components-library/z-aria-alert.entry.js +0 -14
- 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-deprecated.entry.js +0 -34
- 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 -38
- package/dist/web-components-library/z-candybar.entry.js +0 -15
- package/dist/web-components-library/z-card.entry.js +0 -65
- package/dist/web-components-library/z-carousel.entry.js +0 -20
- package/dist/web-components-library/z-chip-deprecated.entry.js +0 -20
- package/dist/web-components-library/z-chip.entry.js +0 -33
- package/dist/web-components-library/z-combobox.entry.js +0 -166
- package/dist/web-components-library/z-contextual-menu.entry.js +0 -47
- package/dist/web-components-library/z-cookiebar.entry.js +0 -38
- package/dist/web-components-library/z-date-picker.entry.js +0 -484
- package/dist/web-components-library/z-divider.entry.js +0 -22
- package/dist/web-components-library/z-dragdrop-area.entry.js +0 -33
- package/dist/web-components-library/z-file-upload.entry.js +0 -168
- package/dist/web-components-library/z-file.entry.js +0 -44
- 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 -103
- 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-info-reveal.entry.js +0 -60
- package/dist/web-components-library/z-input-deprecated.entry.js +0 -267
- 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 -231
- 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-messages-pocket.entry.js +0 -42
- package/dist/web-components-library/z-modal-login.entry.js +0 -78
- 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-dictionary.entry.js +0 -32
- package/dist/web-components-library/z-myz-card-footer-sections.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-footer.entry.js +0 -52
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -35
- package/dist/web-components-library/z-myz-card-icon.entry.js +0 -17
- package/dist/web-components-library/z-myz-card-info.entry.js +0 -115
- package/dist/web-components-library/z-myz-card-list.entry.js +0 -33
- package/dist/web-components-library/z-myz-card.entry.js +0 -39
- 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-myz-topbar.entry.js +0 -190
- package/dist/web-components-library/z-navigation-tab-link.entry.js +0 -67
- package/dist/web-components-library/z-navigation-tab.entry.js +0 -69
- package/dist/web-components-library/z-navigation-tabs.entry.js +0 -122
- package/dist/web-components-library/z-notification.entry.js +0 -42
- package/dist/web-components-library/z-offcanvas.entry.js +0 -59
- package/dist/web-components-library/z-otp.entry.js +0 -37
- 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-pagination.entry.js +0 -228
- 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-message.entry.js +0 -15
- package/dist/web-components-library/z-pocket.entry.js +0 -68
- package/dist/web-components-library/z-popover-deprecated.entry.js +0 -128
- package/dist/web-components-library/z-popover.entry.js +0 -332
- package/dist/web-components-library/z-section-title.entry.js +0 -38
- package/dist/web-components-library/z-select.entry.js +0 -253
- package/dist/web-components-library/z-skip-to-content.entry.js +0 -64
- package/dist/web-components-library/z-slideshow.entry.js +0 -108
- 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-table-body.entry.js +0 -20
- package/dist/web-components-library/z-table-cell.entry.js +0 -32
- package/dist/web-components-library/z-table-empty-box.entry.js +0 -28
- package/dist/web-components-library/z-table-expanded-row.entry.js +0 -15
- package/dist/web-components-library/z-table-footer.entry.js +0 -19
- package/dist/web-components-library/z-table-head.entry.js +0 -19
- package/dist/web-components-library/z-table-header-row.entry.js +0 -18
- package/dist/web-components-library/z-table-header.entry.js +0 -81
- package/dist/web-components-library/z-table-row.entry.js +0 -39
- package/dist/web-components-library/z-table-sticky-footer.entry.js +0 -15
- package/dist/web-components-library/z-table.entry.js +0 -78
- package/dist/web-components-library/z-tag.entry.js +0 -18
- package/dist/web-components-library/z-toast-notification-list.entry.js +0 -52
- package/dist/web-components-library/z-toast-notification.entry.js +0 -199
- package/dist/web-components-library/z-toggle-button.entry.js +0 -32
- package/dist/web-components-library/z-toggle-switch.entry.js +0 -45
- package/dist/web-components-library/z-tooltip-deprecated.entry.js +0 -270
- package/dist/web-components-library/z-tooltip.entry.js +0 -27
- package/dist/web-components-library/z-typography.entry.js +0 -25
- package/dist/web-components-library/z-user-dropdown.entry.js +0 -91
- package/dist/web-components-library/z-visually-hidden.entry.js +0 -15
- package/www/build/_commonjsHelpers-8fe71198.js +0 -44
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/breakpoints-c386984e.js +0 -4
- package/www/build/css-shim-10e6e2ae.js +0 -4
- package/www/build/dom-7cd9cf71.js +0 -73
- package/www/build/hammer-782a2043.js +0 -2649
- package/www/build/icons-92a7dcde.js +0 -511
- package/www/build/index-3b53c63e.js +0 -334
- package/www/build/index-3ee81524.js +0 -334
- package/www/build/index-51f075dd.js +0 -64
- package/www/build/index-81176684.js +0 -3057
- package/www/build/p-0d29d851.entry.js +0 -1
- package/www/build/p-0e408871.entry.js +0 -1
- package/www/build/p-0ef6c549.entry.js +0 -1
- package/www/build/p-1f73a6d8.entry.js +0 -1
- package/www/build/p-20d62443.entry.js +0 -1
- package/www/build/p-3c111c2a.entry.js +0 -1
- package/www/build/p-562e2d52.entry.js +0 -1
- package/www/build/p-5eacbfc7.entry.js +0 -1
- package/www/build/p-6218514a.entry.js +0 -1
- package/www/build/p-71accd8e.entry.js +0 -1
- package/www/build/p-7a92487a.js +0 -1
- package/www/build/p-99d7ab2f.entry.js +0 -1
- package/www/build/p-9f5d707a.js +0 -1
- package/www/build/p-a8875b97.entry.js +0 -16
- package/www/build/p-d39c0372.entry.js +0 -1
- package/www/build/p-d995d9dc.entry.js +0 -1
- package/www/build/p-e2431b92.entry.js +0 -1
- package/www/build/p-edb8d2ab.entry.js +0 -1
- package/www/build/shadow-css-38a1326b.js +0 -388
- package/www/build/utils-1e801ac0.js +0 -2736
- package/www/build/utils-43f2cad8.js +0 -2736
- package/www/build/utils-a3134cfb.js +0 -109
- package/www/build/utils-e5940345.js +0 -109
- package/www/build/z-alert.entry.js +0 -15
- package/www/build/z-app-header.entry.js +0 -127
- package/www/build/z-app-switcher.entry.js +0 -25
- package/www/build/z-app-topbar.entry.js +0 -37
- package/www/build/z-aria-alert.entry.js +0 -14
- package/www/build/z-avatar.entry.js +0 -39
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-deprecated.entry.js +0 -34
- 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 -38
- package/www/build/z-candybar.entry.js +0 -15
- package/www/build/z-card.entry.js +0 -65
- package/www/build/z-carousel.entry.js +0 -20
- package/www/build/z-chip-deprecated.entry.js +0 -20
- package/www/build/z-chip.entry.js +0 -33
- package/www/build/z-combobox.entry.js +0 -166
- package/www/build/z-contextual-menu.entry.js +0 -47
- package/www/build/z-cookiebar.entry.js +0 -38
- package/www/build/z-date-picker.entry.js +0 -484
- package/www/build/z-divider.entry.js +0 -22
- package/www/build/z-dragdrop-area.entry.js +0 -33
- package/www/build/z-file-upload.entry.js +0 -168
- package/www/build/z-file.entry.js +0 -44
- 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 -103
- package/www/build/z-ghost-loading.entry.js +0 -15
- package/www/build/z-heading.entry.js +0 -13
- 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-info-reveal.entry.js +0 -60
- package/www/build/z-input-deprecated.entry.js +0 -267
- 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 -231
- 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-messages-pocket.entry.js +0 -42
- package/www/build/z-modal-login.entry.js +0 -78
- 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-dictionary.entry.js +0 -32
- package/www/build/z-myz-card-footer-sections.entry.js +0 -15
- package/www/build/z-myz-card-footer.entry.js +0 -52
- package/www/build/z-myz-card-header.entry.js +0 -35
- package/www/build/z-myz-card-icon.entry.js +0 -17
- package/www/build/z-myz-card-info.entry.js +0 -115
- package/www/build/z-myz-card-list.entry.js +0 -33
- package/www/build/z-myz-card.entry.js +0 -39
- 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-myz-topbar.entry.js +0 -190
- package/www/build/z-navigation-tab-link.entry.js +0 -67
- package/www/build/z-navigation-tab.entry.js +0 -69
- package/www/build/z-navigation-tabs.entry.js +0 -122
- package/www/build/z-notification.entry.js +0 -42
- package/www/build/z-offcanvas.entry.js +0 -59
- package/www/build/z-otp.entry.js +0 -37
- package/www/build/z-pagination-bar.entry.js +0 -126
- package/www/build/z-pagination-page.entry.js +0 -21
- package/www/build/z-pagination.entry.js +0 -228
- 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-message.entry.js +0 -15
- package/www/build/z-pocket.entry.js +0 -68
- package/www/build/z-popover-deprecated.entry.js +0 -128
- package/www/build/z-popover.entry.js +0 -332
- package/www/build/z-range-picker.entry.js +0 -354
- package/www/build/z-section-title.entry.js +0 -38
- package/www/build/z-select.entry.js +0 -253
- package/www/build/z-skip-to-content.entry.js +0 -64
- package/www/build/z-slideshow.entry.js +0 -108
- 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-table-body.entry.js +0 -20
- package/www/build/z-table-cell.entry.js +0 -32
- package/www/build/z-table-empty-box.entry.js +0 -28
- package/www/build/z-table-expanded-row.entry.js +0 -15
- package/www/build/z-table-footer.entry.js +0 -19
- package/www/build/z-table-head.entry.js +0 -19
- package/www/build/z-table-header-row.entry.js +0 -18
- package/www/build/z-table-header.entry.js +0 -81
- package/www/build/z-table-row.entry.js +0 -39
- package/www/build/z-table-sticky-footer.entry.js +0 -15
- package/www/build/z-table.entry.js +0 -78
- package/www/build/z-tag.entry.js +0 -18
- package/www/build/z-toast-notification-list.entry.js +0 -52
- package/www/build/z-toast-notification.entry.js +0 -199
- package/www/build/z-toggle-button.entry.js +0 -32
- package/www/build/z-toggle-switch.entry.js +0 -45
- package/www/build/z-tooltip-deprecated.entry.js +0 -270
- package/www/build/z-tooltip.entry.js +0 -27
- package/www/build/z-typography.entry.js +0 -25
- package/www/build/z-user-dropdown.entry.js +0 -91
- package/www/build/z-visually-hidden.entry.js +0 -15
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
import { T as ThemeVariant, j as DividerOrientation } from './index-3ee81524.js';
|
|
3
|
-
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
|
-
|
|
5
|
-
const stylesCss = ":host{display:block;position:sticky;box-sizing:border-box;top:0;height:calc(var(--space-unit) * 6);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);border-radius:var(--border-no-radius);background-color:var(--gray900);z-index:99}:host(.light){background-color:var(--color-white)}:host>div{display:flex;justify-content:space-between;align-items:center}:host(.limited-width) #content-container{margin:auto;max-width:var(--mw)}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";
|
|
6
|
-
|
|
7
|
-
const ZAppTopbar = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
/** theme variant, default 'dark' */
|
|
11
|
-
this.theme = ThemeVariant.dark;
|
|
12
|
-
this.topbarLinks = [];
|
|
13
|
-
}
|
|
14
|
-
handleResize() {
|
|
15
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
16
|
-
}
|
|
17
|
-
componentWillLoad() {
|
|
18
|
-
this.isMobile = window.screen.width <= mobileBreakpoint || window.innerWidth <= mobileBreakpoint;
|
|
19
|
-
}
|
|
20
|
-
componentWillRender() {
|
|
21
|
-
if (this.topbarContent) {
|
|
22
|
-
this.topbarLinks = typeof this.topbarContent === "string" ? JSON.parse(this.topbarContent) : this.topbarContent;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
renderTopbarLinks() {
|
|
26
|
-
return this.topbarLinks.map((link) => h("z-link", { htmlid: link.id, textcolor: this.theme === ThemeVariant.light ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label));
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return (h(Host, { class: {
|
|
30
|
-
[this.theme]: true,
|
|
31
|
-
"limited-width": !!this.contentMaxWidth
|
|
32
|
-
} }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: DividerOrientation.vertical, color: this.theme === ThemeVariant.light ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
ZAppTopbar.style = stylesCss;
|
|
36
|
-
|
|
37
|
-
export { ZAppTopbar as z_app_topbar };
|
package/dist/esm/z-body.entry.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const ZBody = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.variant = "regular";
|
|
7
|
-
}
|
|
8
|
-
render() {
|
|
9
|
-
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { ZBody as z_body };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
import { D as DividerSize, j as DividerOrientation } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
5
|
-
|
|
6
|
-
const ZDivider = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/** [optional] Divider size */
|
|
10
|
-
this.size = DividerSize.small;
|
|
11
|
-
/** [optional] Divider color */
|
|
12
|
-
this.color = "gray200";
|
|
13
|
-
/** [optional] Divider orintation */
|
|
14
|
-
this.orientation = DividerOrientation.horizontal;
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h(Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
ZDivider.style = stylesCss;
|
|
21
|
-
|
|
22
|
-
export { ZDivider as z_divider };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ".sc-z-dragdrop-area-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);margin-top:calc(var(--space-unit) * 3)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area{display:flex;color:var(--color-text01);flex-direction:column;position:relative;background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;border-color:var(--color-surface04);height:228px;background-color:var(--color-surface02)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area *.sc-z-dragdrop-area{pointer-events:none}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;display:none;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area .dragover-message.sc-z-dragdrop-area{background-color:var(--color-link-primary);color:var(--color-text04);padding:10px 28px}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{display:flex;justify-content:center;align-items:center}";
|
|
4
|
-
|
|
5
|
-
const ZDragdropArea = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.fileDropped = createEvent(this, "fileDropped", 7);
|
|
9
|
-
}
|
|
10
|
-
fileDroppedHandler(files) {
|
|
11
|
-
this.fileDropped.emit(files);
|
|
12
|
-
}
|
|
13
|
-
renderOnDragOverMessage() {
|
|
14
|
-
return (h("div", { class: "dragover-container" }, h("div", { class: "dragover-message" }, h("z-body", { variant: "semibold", level: 2 }, "Rilascia i file in questa area per allegarli."))));
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
|
|
18
|
-
e.preventDefault();
|
|
19
|
-
this.dragDropContainer.classList.add("dragover");
|
|
20
|
-
}, onDragLeave: () => {
|
|
21
|
-
this.dragDropContainer.classList.remove("dragover");
|
|
22
|
-
}, onDragEnd: () => { }, onDrop: (e) => {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
if (e.dataTransfer.files.length) {
|
|
25
|
-
this.dragDropContainer.classList.remove("dragover");
|
|
26
|
-
this.fileDroppedHandler(e.dataTransfer.files);
|
|
27
|
-
}
|
|
28
|
-
} }, this.renderOnDragOverMessage(), h("slot", null)));
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
ZDragdropArea.style = stylesCss;
|
|
32
|
-
|
|
33
|
-
export { ZDragdropArea as z_dragdrop_area };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>a{display:inline-block;color:var(--color-white);padding:calc(var(--space-unit) / 2 * 3) 0;border-bottom:1px solid var(--gray50);text-decoration:none;font-size:14px;width:100%}@media only screen and (min-width: 768px){:host a{font-size:12px;border-bottom:none;text-decoration:underline;padding:0;width:initial}}";
|
|
4
|
-
|
|
5
|
-
const ZFooterLink = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h("a", { href: this.href, target: "_blank" }, h("slot", null)));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
ZFooterLink.style = stylesCss;
|
|
14
|
-
|
|
15
|
-
export { ZFooterLink as z_footer_link };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>nav{background-color:var(--gray900);display:flex;flex-direction:column;justify-items:flex-start;overflow:hidden;margin:calc(var(--space-unit) / 2) 0;padding:0}:host>nav>.header{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;height:calc(var(--space-unit) * 4);border-bottom:1px solid var(--gray50);line-height:1}:host>nav>.header>h2{color:var(--color-white);font-size:16px;margin:var(--space-unit) 0}:host>nav>.header{fill:var(--color-white)}:host>nav>.header>button{position:absolute;top:var(--space-unit);right:0;margin:0;padding:0;background:transparent;border:0;appearance:none;cursor:pointer}:host>nav>.header>z-icon{display:block}:host>nav>.content{background-color:var(--gray800);display:none;height:0;transition:0.3s ease;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host>nav>.content.show{display:block;height:auto;transition:0.3s ease}@media only screen and (min-width: 768px){:host>nav{display:grid;grid-template-columns:repeat(4, 1fr);grid-template-rows:1fr;grid-column-gap:var(--grid-tablet-margin);padding:calc(var(--space-unit) * 2) 0;border-bottom:1px solid var(--color-white);margin:0;background-color:var(--gray800)}:host>nav>.header>button.toggleButton{display:none}:host>nav>.header{border-bottom:none;padding:0;margin:0}:host>nav>.header>h2{border:none}:host>nav>.content,:host>nav>.content.show{grid-column:span 3;width:100%;padding:0;margin:0;display:grid;grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-tablet-margin);grid-row-gap:var(--space-unit);height:auto;align-items:stretch;align-content:stretch;margin:0}}@media only screen and (min-width: 1152px){:host>nav{display:grid;grid-template-columns:1fr;grid-template-rows:40px 4fr;padding:0;border-bottom:none}:host>nav>.header{position:relative;display:inline-flex;height:24px}:host>nav>.header>h2{width:auto;font-size:16px;line-height:1;font-weight:600;color:var(--gray50);padding:0 0 var(--space-unit);margin:0}:host>nav>.header::after{content:\"\";display:block;position:absolute;top:100%;left:0;width:120px;border-bottom:1px solid var(--gray50)}:host>nav>.content,:host>nav>.content.show{grid-column:auto;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:flex-start}}";
|
|
4
|
-
|
|
5
|
-
const ZFooterSection = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.isOpen = false;
|
|
9
|
-
}
|
|
10
|
-
renderToggleButton() {
|
|
11
|
-
return (h("button", { class: "toggleButton", onClick: () => (this.isOpen = !this.isOpen) }, h("z-icon", { name: this.isOpen ? "chevron-up" : "chevron-down", width: 16, height: 16 })));
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h("nav", null, h("div", { class: "header" }, h("h2", null, this.name), this.renderToggleButton()), h("div", { class: `content ${this.isOpen ? "show" : ""}` }, h("slot", null))));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
ZFooterSection.style = stylesCss;
|
|
18
|
-
|
|
19
|
-
export { ZFooterSection as z_footer_section };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>a>img{width:calc(var(--space-unit) * 3)}@media only screen and (min-width: 1152px){:host>a>img{width:16px}}";
|
|
4
|
-
|
|
5
|
-
const ZFooterSocial = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h("a", { href: this.href, target: "_blank" }, h("img", { src: this.icon, alt: this.description })));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
ZFooterSocial.style = stylesCss;
|
|
14
|
-
|
|
15
|
-
export { ZFooterSocial as z_footer_social };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const ZHeading = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.variant = "regular";
|
|
7
|
-
}
|
|
8
|
-
render() {
|
|
9
|
-
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { ZHeading as z_heading };
|
package/dist/esm/z-icon.entry.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
import { i as icons } from './icons-92a7dcde.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
|
|
5
|
-
|
|
6
|
-
const ZIcon = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
}
|
|
10
|
-
selectPathOrPolygon(iconName) {
|
|
11
|
-
if (iconName && iconName.startsWith("M")) {
|
|
12
|
-
return h("path", { d: icons[this.name] });
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return h("polygon", { points: icons[this.name] });
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(icons[this.name])));
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
ZIcon.style = stylesCss;
|
|
23
|
-
|
|
24
|
-
export { ZIcon as z_icon };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = "label{display:block;margin:var(--space-unit) 0;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);line-height:1.33;letter-spacing:0.32px;text-transform:uppercase;text-align:left}label.disabled{color:var(--color-disabled02)}";
|
|
4
|
-
|
|
5
|
-
const ZInputLabel = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
/** the label is disabled */
|
|
9
|
-
this.disabled = false;
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return h("label", { htmlFor: this.htmlfor, class: { disabled: this.disabled } }, this.value);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
ZInputLabel.style = stylesCss;
|
|
16
|
-
|
|
17
|
-
export { ZInputLabel as z_input_label };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{display:flex;align-items:start;min-height:calc(var(--space-unit) * 2);margin-top:var(--space-unit);color:var(--color-text05);fill:currentColor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status='success']){color:var(--color-text-success)}:host([status='error']){color:var(--color-text-error)}:host([status='warning']){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:calc(var(--space-unit) / 3) var(--space-unit) 0 0}";
|
|
4
|
-
|
|
5
|
-
const ZInputMessage = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.statusIcons = {
|
|
9
|
-
success: "checkmark-circle",
|
|
10
|
-
error: "multiply-circled",
|
|
11
|
-
warning: "exclamation-circle",
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (h(Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && (h("z-icon", { name: this.statusIcons[this.status] })), h("span", { innerHTML: this.message })));
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
ZInputMessage.style = stylesCss;
|
|
19
|
-
|
|
20
|
-
export { ZInputMessage as z_input_message };
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
-
import { n as LabelPositions, I as InputTypeEnum } from './index-3ee81524.js';
|
|
3
|
-
import { r as randomId, e as boolean } from './utils-a3134cfb.js';
|
|
4
|
-
import './breakpoints-c386984e.js';
|
|
5
|
-
|
|
6
|
-
const stylesCss = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
|
|
7
|
-
|
|
8
|
-
const ZInput = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.inputChange = createEvent(this, "inputChange", 7);
|
|
12
|
-
this.startTyping = createEvent(this, "startTyping", 7);
|
|
13
|
-
this.stopTyping = createEvent(this, "stopTyping", 7);
|
|
14
|
-
this.inputCheck = createEvent(this, "inputCheck", 7);
|
|
15
|
-
/** the id of the input element */
|
|
16
|
-
this.htmlid = `id-${randomId()}`;
|
|
17
|
-
/** the input is disabled */
|
|
18
|
-
this.disabled = false;
|
|
19
|
-
/** the input is readonly */
|
|
20
|
-
this.readonly = false;
|
|
21
|
-
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
22
|
-
this.required = false;
|
|
23
|
-
/** checked: available for checkbox, radio */
|
|
24
|
-
this.checked = false;
|
|
25
|
-
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
26
|
-
this.message = true;
|
|
27
|
-
/** the input label position: available for checkbox, radio */
|
|
28
|
-
this.labelPosition = LabelPositions.right;
|
|
29
|
-
/** render clear icon when typing (optional): available for text */
|
|
30
|
-
this.hasclearicon = true;
|
|
31
|
-
this.isTyping = false;
|
|
32
|
-
this.passwordHidden = true;
|
|
33
|
-
this.typingtimeout = 300;
|
|
34
|
-
}
|
|
35
|
-
inputCheckListener(e) {
|
|
36
|
-
const data = e.detail;
|
|
37
|
-
switch (this.type) {
|
|
38
|
-
case InputTypeEnum.radio:
|
|
39
|
-
if (data.type === InputTypeEnum.radio &&
|
|
40
|
-
data.name === this.name &&
|
|
41
|
-
data.id !== this.htmlid) {
|
|
42
|
-
this.checked = false;
|
|
43
|
-
}
|
|
44
|
-
default:
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/** get checked status */
|
|
49
|
-
async isChecked() {
|
|
50
|
-
switch (this.type) {
|
|
51
|
-
case InputTypeEnum.checkbox:
|
|
52
|
-
case InputTypeEnum.radio:
|
|
53
|
-
return this.checked;
|
|
54
|
-
default:
|
|
55
|
-
console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
emitInputChange(value) {
|
|
60
|
-
if (!this.isTyping)
|
|
61
|
-
this.emitStartTyping();
|
|
62
|
-
let validity = {};
|
|
63
|
-
if (this.type === InputTypeEnum.textarea) {
|
|
64
|
-
validity = this.getValidity("textarea");
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
validity = this.getValidity("input");
|
|
68
|
-
}
|
|
69
|
-
this.value = value;
|
|
70
|
-
this.inputChange.emit({ value, validity });
|
|
71
|
-
clearTimeout(this.timer);
|
|
72
|
-
this.timer = setTimeout(() => {
|
|
73
|
-
this.emitStopTyping(this.value, validity);
|
|
74
|
-
}, this.typingtimeout);
|
|
75
|
-
}
|
|
76
|
-
emitStartTyping() {
|
|
77
|
-
this.isTyping = true;
|
|
78
|
-
this.startTyping.emit();
|
|
79
|
-
}
|
|
80
|
-
emitStopTyping(value, validity) {
|
|
81
|
-
this.isTyping = false;
|
|
82
|
-
this.stopTyping.emit({
|
|
83
|
-
value: value,
|
|
84
|
-
validity: validity,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
emitInputCheck(checked) {
|
|
88
|
-
this.inputCheck.emit({
|
|
89
|
-
id: this.htmlid,
|
|
90
|
-
checked: checked,
|
|
91
|
-
type: this.type,
|
|
92
|
-
name: this.name,
|
|
93
|
-
value: this.value,
|
|
94
|
-
validity: this.getValidity("input"),
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
getValidity(type) {
|
|
98
|
-
const input = this.hostElement.querySelector(type);
|
|
99
|
-
return input.validity;
|
|
100
|
-
}
|
|
101
|
-
/* START text/password/email/number */
|
|
102
|
-
getTextAttributes() {
|
|
103
|
-
return {
|
|
104
|
-
id: this.htmlid,
|
|
105
|
-
name: this.name,
|
|
106
|
-
placeholder: this.placeholder,
|
|
107
|
-
value: this.value,
|
|
108
|
-
disabled: this.disabled,
|
|
109
|
-
readonly: this.readonly,
|
|
110
|
-
required: this.required,
|
|
111
|
-
title: this.htmltitle,
|
|
112
|
-
class: {
|
|
113
|
-
[`input_${this.status || "default"}`]: true,
|
|
114
|
-
filled: !!this.value,
|
|
115
|
-
},
|
|
116
|
-
autocomplete: this.autocomplete,
|
|
117
|
-
onInput: (e) => this.emitInputChange(e.target.value),
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
getNumberAttributes(type) {
|
|
121
|
-
if (type != InputTypeEnum.number)
|
|
122
|
-
return;
|
|
123
|
-
return {
|
|
124
|
-
min: this.min,
|
|
125
|
-
max: this.max,
|
|
126
|
-
step: this.step,
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
getPatternAttribute(type) {
|
|
130
|
-
if (type != InputTypeEnum.password &&
|
|
131
|
-
type != InputTypeEnum.text &&
|
|
132
|
-
type != InputTypeEnum.tel &&
|
|
133
|
-
type != InputTypeEnum.search &&
|
|
134
|
-
type != InputTypeEnum.url &&
|
|
135
|
-
type != InputTypeEnum.email)
|
|
136
|
-
return;
|
|
137
|
-
return {
|
|
138
|
-
pattern: this.pattern,
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
renderInputText(type = InputTypeEnum.text) {
|
|
142
|
-
const attr = Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type));
|
|
143
|
-
if (this.icon || type === InputTypeEnum.password) {
|
|
144
|
-
attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
|
|
145
|
-
}
|
|
146
|
-
if (this.hasclearicon && type != InputTypeEnum.number) {
|
|
147
|
-
attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
|
|
148
|
-
}
|
|
149
|
-
return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputTypeEnum.password && !this.passwordHidden
|
|
150
|
-
? InputTypeEnum.text
|
|
151
|
-
: type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
152
|
-
}
|
|
153
|
-
renderLabel() {
|
|
154
|
-
if (!this.label)
|
|
155
|
-
return;
|
|
156
|
-
return (h("label", { class: "inputLabel body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid, "aria-label": this.label }, this.label));
|
|
157
|
-
}
|
|
158
|
-
renderIcons() {
|
|
159
|
-
return (h("span", { class: "iconsWrapper" }, this.renderResetIcon(), this.renderIcon()));
|
|
160
|
-
}
|
|
161
|
-
renderIcon() {
|
|
162
|
-
if (this.type === InputTypeEnum.password) {
|
|
163
|
-
return this.renderShowHidePassword();
|
|
164
|
-
}
|
|
165
|
-
if (!this.icon)
|
|
166
|
-
return;
|
|
167
|
-
return (h("button", { type: "button", class: "iconButton inputIcon", tabIndex: -1 }, h("z-icon", { name: this.icon })));
|
|
168
|
-
}
|
|
169
|
-
renderResetIcon() {
|
|
170
|
-
if (!this.hasclearicon ||
|
|
171
|
-
!this.value ||
|
|
172
|
-
this.disabled ||
|
|
173
|
-
this.readonly ||
|
|
174
|
-
this.type == InputTypeEnum.number)
|
|
175
|
-
return;
|
|
176
|
-
return (h("button", { type: "button", class: "iconButton resetIcon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, h("z-icon", { name: "multiply" })));
|
|
177
|
-
}
|
|
178
|
-
renderShowHidePassword() {
|
|
179
|
-
return (h("button", { type: "button", class: "iconButton showHidePasswordIcon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
|
|
180
|
-
}
|
|
181
|
-
renderMessage() {
|
|
182
|
-
if (boolean(this.message) === false)
|
|
183
|
-
return;
|
|
184
|
-
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status }));
|
|
185
|
-
}
|
|
186
|
-
/* END text/password/email/number */
|
|
187
|
-
/* START textarea */
|
|
188
|
-
renderTextarea() {
|
|
189
|
-
const attributes = this.getTextAttributes();
|
|
190
|
-
return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { textareaWrapper: true, readonly: attributes.readonly }) }, h("textarea", Object.assign({}, attributes, { "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
|
|
191
|
-
}
|
|
192
|
-
/* END textarea */
|
|
193
|
-
handleCheck(ev) {
|
|
194
|
-
this.checked = ev.target.checked;
|
|
195
|
-
this.emitInputCheck(this.checked);
|
|
196
|
-
}
|
|
197
|
-
/* START checkbox */
|
|
198
|
-
renderCheckbox() {
|
|
199
|
-
return (h("div", { class: "checkboxWrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
200
|
-
checkboxLabel: true,
|
|
201
|
-
after: this.labelPosition === LabelPositions.right,
|
|
202
|
-
before: this.labelPosition === LabelPositions.left,
|
|
203
|
-
} }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
204
|
-
}
|
|
205
|
-
/* END checkbox */
|
|
206
|
-
/* START radio */
|
|
207
|
-
renderRadio() {
|
|
208
|
-
return (h("div", { class: "radioWrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
209
|
-
radioLabel: true,
|
|
210
|
-
after: this.labelPosition === LabelPositions.right,
|
|
211
|
-
before: this.labelPosition === LabelPositions.left,
|
|
212
|
-
} }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
213
|
-
}
|
|
214
|
-
/* END radio */
|
|
215
|
-
render() {
|
|
216
|
-
switch (this.type) {
|
|
217
|
-
case InputTypeEnum.textarea:
|
|
218
|
-
return this.renderTextarea();
|
|
219
|
-
case InputTypeEnum.checkbox:
|
|
220
|
-
return this.renderCheckbox();
|
|
221
|
-
case InputTypeEnum.radio:
|
|
222
|
-
return this.renderRadio();
|
|
223
|
-
default:
|
|
224
|
-
return this.renderInputText(this.type);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
get hostElement() { return getElement(this); }
|
|
228
|
-
};
|
|
229
|
-
ZInput.style = stylesCss;
|
|
230
|
-
|
|
231
|
-
export { ZInput as z_input };
|