@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 +0,0 @@
|
|
|
1
|
-
import{r as i,c,h,g as s}from"./p-98268a57.js";import{j as t,D as o}from"./p-9f5d707a.js";import{g as r,h as e}from"./p-b9da171f.js";import"./p-d69e14fb.js";const a=class{constructor(h){i(this,h),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=t.default,this.disabled=!1}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return r()!==o.desktop?22:14}render(){return this.interactiveIcon?h("button",{class:this.type,disabled:this.disabled,tabindex:"0"},this.icon&&h("z-icon",{class:"iconSx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null),h("z-icon",{tabIndex:this.disabled?-1:0,onClick:()=>this.emitinteractiveIconClick(),onKeyUp:i=>e(i,this.emitinteractiveIconClick.bind(this)),name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()})):h("div",{class:`${this.type}`,tabindex:"0"},this.icon&&h("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null))}get el(){return s(this)}};a.style=".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--gray400);border-radius:14px;color:var(--color-primary01);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled),.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:last-child{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{cursor:pointer}.sc-z-chip-h>button.sc-z-chip>z-icon.iconSx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active{background-color:var(--gray50);text-decoration:underline}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active:hover,.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;align-items:center;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;line-height:44px;border-radius:22px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;line-height:40px;border-radius:22px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;line-height:36px;border-radius:22px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;line-height:32px;border-radius:16px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;line-height:28px;border-radius:16px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;line-height:24px;border-radius:16px}}";export{a as z_chip}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as o}from"./p-98268a57.js";import{c as r}from"./p-286363e2.js";import{x as e,y as n,P as l,b as c,c as p}from"./p-9f5d707a.js";import{a as d}from"./p-b9da171f.js";import"./p-112455b1.js";import"./p-d69e14fb.js";const h=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding=e.medium,this.defaultSortDirection=n.asc,this.sortDirection=n.none,this.isMenuOpened=!1,this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case n.asc:return n.desc;case n.desc:return n.asc;case n.none:return this.defaultSortDirection;default:return n.none}})(),this.emitOnSort())}handleMenuClick(){this.isMenuOpened=!this.isMenuOpened}handleOutsideClick(t){d(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))||(this.isMenuOpened=!1)}handleClickHeaders(t){const{target:s}=t,i=d(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection=n.none)}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(a,{class:r({sortable:this.sortable}),onClick:()=>this.handleSort()},i("div",{class:r("container")},i("slot",null),this.sortable&&this.sortDirection!==n.none&&i("z-icon",{name:this.sortDirection===n.asc?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:r("popover-container",{visible:this.isMenuOpened})},i("z-popover",{position:l["below-center"],"background-color":"gray200"},i("z-button",{icon:"contextual-menu",variant:c.tertiary,size:p["x-small"],slot:"trigger",onClick:()=>this.handleMenuClick()}),i("div",{slot:"popover"},i("slot",{name:"contextual-menu"})))))}get host(){return o(this)}};h.style=':host{display:table-cell;background-color:var(--gray50);border-bottom:var(--border-size-medium) solid var(--gray200);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start;position:relative}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{opacity:1;padding-left:var(--space-unit)}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{h as z_table_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,g as r}from"./p-98268a57.js";import{w as e,v as o,d as a}from"./p-9f5d707a.js";const h=class{constructor(i){t(this,i),this.size=e.medium,this.dividerType=o.none,this.dividerSize=a.small,this.dividerColor="gray200"}componentDidLoad(){const t=this.host.children;for(let i=0;i<t.length;i++)t.length-1>i&&(t[i].setAttribute("divider-type",this.dividerType),t[i].setAttribute("divider-size",this.dividerSize),t[i].setAttribute("divider-color",this.dividerColor)),t[i].setAttribute("size",this.size)}componentWillLoad(){this.hasHeader=!!this.host.querySelector('[slot="header-title"]')}render(){return i(s,{role:"group"},i("div",{class:{"z-list-group-header-container":!0,"has-header":this.hasHeader}},i("slot",{name:"header-title"}),this.dividerType===o.header&&i("z-divider",{color:this.dividerColor,size:this.dividerSize})),i("slot",null))}get host(){return r(this)}};h.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;line-height:1.4;letter-spacing:0.16px}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";export{h as z_list_group}
|
|
@@ -1,388 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Stencil Client Platform v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @license
|
|
6
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
7
|
-
*
|
|
8
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
9
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10
|
-
*
|
|
11
|
-
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
|
12
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
13
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
14
|
-
*/
|
|
15
|
-
const safeSelector = (selector) => {
|
|
16
|
-
const placeholders = [];
|
|
17
|
-
let index = 0;
|
|
18
|
-
let content;
|
|
19
|
-
// Replaces attribute selectors with placeholders.
|
|
20
|
-
// The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
|
|
21
|
-
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
22
|
-
const replaceBy = `__ph-${index}__`;
|
|
23
|
-
placeholders.push(keep);
|
|
24
|
-
index++;
|
|
25
|
-
return replaceBy;
|
|
26
|
-
});
|
|
27
|
-
// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
|
|
28
|
-
// WS and "+" would otherwise be interpreted as selector separators.
|
|
29
|
-
content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
30
|
-
const replaceBy = `__ph-${index}__`;
|
|
31
|
-
placeholders.push(exp);
|
|
32
|
-
index++;
|
|
33
|
-
return pseudo + replaceBy;
|
|
34
|
-
});
|
|
35
|
-
const ss = {
|
|
36
|
-
content,
|
|
37
|
-
placeholders,
|
|
38
|
-
};
|
|
39
|
-
return ss;
|
|
40
|
-
};
|
|
41
|
-
const restoreSafeSelector = (placeholders, content) => {
|
|
42
|
-
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
43
|
-
};
|
|
44
|
-
const _polyfillHost = '-shadowcsshost';
|
|
45
|
-
const _polyfillSlotted = '-shadowcssslotted';
|
|
46
|
-
// note: :host-context pre-processed to -shadowcsshostcontext.
|
|
47
|
-
const _polyfillHostContext = '-shadowcsscontext';
|
|
48
|
-
const _parenSuffix = ')(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
|
|
49
|
-
const _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');
|
|
50
|
-
const _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');
|
|
51
|
-
const _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');
|
|
52
|
-
const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
|
|
53
|
-
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
54
|
-
const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
55
|
-
const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
|
|
56
|
-
const _polyfillHostRe = /-shadowcsshost/gim;
|
|
57
|
-
const _colonHostRe = /:host/gim;
|
|
58
|
-
const _colonSlottedRe = /::slotted/gim;
|
|
59
|
-
const _colonHostContextRe = /:host-context/gim;
|
|
60
|
-
const _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
61
|
-
const stripComments = (input) => {
|
|
62
|
-
return input.replace(_commentRe, '');
|
|
63
|
-
};
|
|
64
|
-
const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
65
|
-
const extractCommentsWithHash = (input) => {
|
|
66
|
-
return input.match(_commentWithHashRe) || [];
|
|
67
|
-
};
|
|
68
|
-
const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
69
|
-
const _curlyRe = /([{}])/g;
|
|
70
|
-
const _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
71
|
-
const OPEN_CURLY = '{';
|
|
72
|
-
const CLOSE_CURLY = '}';
|
|
73
|
-
const BLOCK_PLACEHOLDER = '%BLOCK%';
|
|
74
|
-
const processRules = (input, ruleCallback) => {
|
|
75
|
-
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
76
|
-
let nextBlockIndex = 0;
|
|
77
|
-
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
78
|
-
const selector = m[2];
|
|
79
|
-
let content = '';
|
|
80
|
-
let suffix = m[4];
|
|
81
|
-
let contentPrefix = '';
|
|
82
|
-
if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
|
|
83
|
-
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
84
|
-
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
85
|
-
contentPrefix = '{';
|
|
86
|
-
}
|
|
87
|
-
const cssRule = {
|
|
88
|
-
selector,
|
|
89
|
-
content,
|
|
90
|
-
};
|
|
91
|
-
const rule = ruleCallback(cssRule);
|
|
92
|
-
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
93
|
-
});
|
|
94
|
-
};
|
|
95
|
-
const escapeBlocks = (input) => {
|
|
96
|
-
const inputParts = input.split(_curlyRe);
|
|
97
|
-
const resultParts = [];
|
|
98
|
-
const escapedBlocks = [];
|
|
99
|
-
let bracketCount = 0;
|
|
100
|
-
let currentBlockParts = [];
|
|
101
|
-
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
102
|
-
const part = inputParts[partIndex];
|
|
103
|
-
if (part === CLOSE_CURLY) {
|
|
104
|
-
bracketCount--;
|
|
105
|
-
}
|
|
106
|
-
if (bracketCount > 0) {
|
|
107
|
-
currentBlockParts.push(part);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
if (currentBlockParts.length > 0) {
|
|
111
|
-
escapedBlocks.push(currentBlockParts.join(''));
|
|
112
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
113
|
-
currentBlockParts = [];
|
|
114
|
-
}
|
|
115
|
-
resultParts.push(part);
|
|
116
|
-
}
|
|
117
|
-
if (part === OPEN_CURLY) {
|
|
118
|
-
bracketCount++;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
if (currentBlockParts.length > 0) {
|
|
122
|
-
escapedBlocks.push(currentBlockParts.join(''));
|
|
123
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
124
|
-
}
|
|
125
|
-
const strEscapedBlocks = {
|
|
126
|
-
escapedString: resultParts.join(''),
|
|
127
|
-
blocks: escapedBlocks,
|
|
128
|
-
};
|
|
129
|
-
return strEscapedBlocks;
|
|
130
|
-
};
|
|
131
|
-
const insertPolyfillHostInCssText = (selector) => {
|
|
132
|
-
selector = selector
|
|
133
|
-
.replace(_colonHostContextRe, _polyfillHostContext)
|
|
134
|
-
.replace(_colonHostRe, _polyfillHost)
|
|
135
|
-
.replace(_colonSlottedRe, _polyfillSlotted);
|
|
136
|
-
return selector;
|
|
137
|
-
};
|
|
138
|
-
const convertColonRule = (cssText, regExp, partReplacer) => {
|
|
139
|
-
// m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule
|
|
140
|
-
return cssText.replace(regExp, (...m) => {
|
|
141
|
-
if (m[2]) {
|
|
142
|
-
const parts = m[2].split(',');
|
|
143
|
-
const r = [];
|
|
144
|
-
for (let i = 0; i < parts.length; i++) {
|
|
145
|
-
const p = parts[i].trim();
|
|
146
|
-
if (!p)
|
|
147
|
-
break;
|
|
148
|
-
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
149
|
-
}
|
|
150
|
-
return r.join(',');
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return _polyfillHostNoCombinator + m[3];
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
};
|
|
157
|
-
const colonHostPartReplacer = (host, part, suffix) => {
|
|
158
|
-
return host + part.replace(_polyfillHost, '') + suffix;
|
|
159
|
-
};
|
|
160
|
-
const convertColonHost = (cssText) => {
|
|
161
|
-
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
162
|
-
};
|
|
163
|
-
const colonHostContextPartReplacer = (host, part, suffix) => {
|
|
164
|
-
if (part.indexOf(_polyfillHost) > -1) {
|
|
165
|
-
return colonHostPartReplacer(host, part, suffix);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return host + part + suffix + ', ' + part + ' ' + host + suffix;
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
const convertColonSlotted = (cssText, slotScopeId) => {
|
|
172
|
-
const slotClass = '.' + slotScopeId + ' > ';
|
|
173
|
-
const selectors = [];
|
|
174
|
-
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
175
|
-
if (m[2]) {
|
|
176
|
-
const compound = m[2].trim();
|
|
177
|
-
const suffix = m[3];
|
|
178
|
-
const slottedSelector = slotClass + compound + suffix;
|
|
179
|
-
let prefixSelector = '';
|
|
180
|
-
for (let i = m[4] - 1; i >= 0; i--) {
|
|
181
|
-
const char = m[5][i];
|
|
182
|
-
if (char === '}' || char === ',') {
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
prefixSelector = char + prefixSelector;
|
|
186
|
-
}
|
|
187
|
-
const orgSelector = prefixSelector + slottedSelector;
|
|
188
|
-
const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;
|
|
189
|
-
if (orgSelector.trim() !== addedSelector.trim()) {
|
|
190
|
-
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
191
|
-
selectors.push({
|
|
192
|
-
orgSelector,
|
|
193
|
-
updatedSelector,
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
return slottedSelector;
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
return _polyfillHostNoCombinator + m[3];
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
return {
|
|
203
|
-
selectors,
|
|
204
|
-
cssText,
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
const convertColonHostContext = (cssText) => {
|
|
208
|
-
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
209
|
-
};
|
|
210
|
-
const convertShadowDOMSelectors = (cssText) => {
|
|
211
|
-
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
|
|
212
|
-
};
|
|
213
|
-
const makeScopeMatcher = (scopeSelector) => {
|
|
214
|
-
const lre = /\[/g;
|
|
215
|
-
const rre = /\]/g;
|
|
216
|
-
scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
|
|
217
|
-
return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
|
|
218
|
-
};
|
|
219
|
-
const selectorNeedsScoping = (selector, scopeSelector) => {
|
|
220
|
-
const re = makeScopeMatcher(scopeSelector);
|
|
221
|
-
return !re.test(selector);
|
|
222
|
-
};
|
|
223
|
-
const injectScopingSelector = (selector, scopingSelector) => {
|
|
224
|
-
return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {
|
|
225
|
-
return before + scopingSelector + colon + after;
|
|
226
|
-
});
|
|
227
|
-
};
|
|
228
|
-
const applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
229
|
-
// In Android browser, the lastIndex is not reset when the regex is used in String.replace()
|
|
230
|
-
_polyfillHostRe.lastIndex = 0;
|
|
231
|
-
if (_polyfillHostRe.test(selector)) {
|
|
232
|
-
const replaceBy = `.${hostSelector}`;
|
|
233
|
-
return selector
|
|
234
|
-
.replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))
|
|
235
|
-
.replace(_polyfillHostRe, replaceBy + ' ');
|
|
236
|
-
}
|
|
237
|
-
return scopeSelector + ' ' + selector;
|
|
238
|
-
};
|
|
239
|
-
const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
240
|
-
const isRe = /\[is=([^\]]*)\]/g;
|
|
241
|
-
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
242
|
-
const className = '.' + scopeSelector;
|
|
243
|
-
const _scopeSelectorPart = (p) => {
|
|
244
|
-
let scopedP = p.trim();
|
|
245
|
-
if (!scopedP) {
|
|
246
|
-
return '';
|
|
247
|
-
}
|
|
248
|
-
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
249
|
-
scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
// remove :host since it should be unnecessary
|
|
253
|
-
const t = p.replace(_polyfillHostRe, '');
|
|
254
|
-
if (t.length > 0) {
|
|
255
|
-
scopedP = injectScopingSelector(t, className);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
return scopedP;
|
|
259
|
-
};
|
|
260
|
-
const safeContent = safeSelector(selector);
|
|
261
|
-
selector = safeContent.content;
|
|
262
|
-
let scopedSelector = '';
|
|
263
|
-
let startIndex = 0;
|
|
264
|
-
let res;
|
|
265
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
266
|
-
// If a selector appears before :host it should not be shimmed as it
|
|
267
|
-
// matches on ancestor elements and not on elements in the host's shadow
|
|
268
|
-
// `:host-context(div)` is transformed to
|
|
269
|
-
// `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
|
|
270
|
-
// the `div` is not part of the component in the 2nd selectors and should not be scoped.
|
|
271
|
-
// Historically `component-tag:host` was matching the component so we also want to preserve
|
|
272
|
-
// this behavior to avoid breaking legacy apps (it should not match).
|
|
273
|
-
// The behavior should be:
|
|
274
|
-
// - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
|
|
275
|
-
// - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
|
|
276
|
-
// `:host-context(tag)`)
|
|
277
|
-
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
278
|
-
// Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
|
|
279
|
-
let shouldScope = !hasHost;
|
|
280
|
-
while ((res = sep.exec(selector)) !== null) {
|
|
281
|
-
const separator = res[1];
|
|
282
|
-
const part = selector.slice(startIndex, res.index).trim();
|
|
283
|
-
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
284
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
|
|
285
|
-
scopedSelector += `${scopedPart} ${separator} `;
|
|
286
|
-
startIndex = sep.lastIndex;
|
|
287
|
-
}
|
|
288
|
-
const part = selector.substring(startIndex);
|
|
289
|
-
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
290
|
-
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
291
|
-
// replace the placeholders with their original values
|
|
292
|
-
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
293
|
-
};
|
|
294
|
-
const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
295
|
-
return selector
|
|
296
|
-
.split(',')
|
|
297
|
-
.map((shallowPart) => {
|
|
298
|
-
if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
|
|
299
|
-
return shallowPart.trim();
|
|
300
|
-
}
|
|
301
|
-
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
302
|
-
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
return shallowPart.trim();
|
|
306
|
-
}
|
|
307
|
-
})
|
|
308
|
-
.join(', ');
|
|
309
|
-
};
|
|
310
|
-
const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
311
|
-
return processRules(cssText, (rule) => {
|
|
312
|
-
let selector = rule.selector;
|
|
313
|
-
let content = rule.content;
|
|
314
|
-
if (rule.selector[0] !== '@') {
|
|
315
|
-
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
316
|
-
}
|
|
317
|
-
else if (rule.selector.startsWith('@media') ||
|
|
318
|
-
rule.selector.startsWith('@supports') ||
|
|
319
|
-
rule.selector.startsWith('@page') ||
|
|
320
|
-
rule.selector.startsWith('@document')) {
|
|
321
|
-
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
322
|
-
}
|
|
323
|
-
const cssRule = {
|
|
324
|
-
selector: selector.replace(/\s{2,}/g, ' ').trim(),
|
|
325
|
-
content,
|
|
326
|
-
};
|
|
327
|
-
return cssRule;
|
|
328
|
-
});
|
|
329
|
-
};
|
|
330
|
-
const scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
331
|
-
cssText = insertPolyfillHostInCssText(cssText);
|
|
332
|
-
cssText = convertColonHost(cssText);
|
|
333
|
-
cssText = convertColonHostContext(cssText);
|
|
334
|
-
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
335
|
-
cssText = slotted.cssText;
|
|
336
|
-
cssText = convertShadowDOMSelectors(cssText);
|
|
337
|
-
if (scopeId) {
|
|
338
|
-
cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);
|
|
339
|
-
}
|
|
340
|
-
cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
341
|
-
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, ' $1 ');
|
|
342
|
-
return {
|
|
343
|
-
cssText: cssText.trim(),
|
|
344
|
-
slottedSelectors: slotted.selectors,
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
348
|
-
const hostScopeId = scopeId + '-h';
|
|
349
|
-
const slotScopeId = scopeId + '-s';
|
|
350
|
-
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
351
|
-
cssText = stripComments(cssText);
|
|
352
|
-
const orgSelectors = [];
|
|
353
|
-
if (commentOriginalSelector) {
|
|
354
|
-
const processCommentedSelector = (rule) => {
|
|
355
|
-
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
356
|
-
const comment = `/*!@${rule.selector}*/`;
|
|
357
|
-
orgSelectors.push({ placeholder, comment });
|
|
358
|
-
rule.selector = placeholder + rule.selector;
|
|
359
|
-
return rule;
|
|
360
|
-
};
|
|
361
|
-
cssText = processRules(cssText, (rule) => {
|
|
362
|
-
if (rule.selector[0] !== '@') {
|
|
363
|
-
return processCommentedSelector(rule);
|
|
364
|
-
}
|
|
365
|
-
else if (rule.selector.startsWith('@media') ||
|
|
366
|
-
rule.selector.startsWith('@supports') ||
|
|
367
|
-
rule.selector.startsWith('@page') ||
|
|
368
|
-
rule.selector.startsWith('@document')) {
|
|
369
|
-
rule.content = processRules(rule.content, processCommentedSelector);
|
|
370
|
-
return rule;
|
|
371
|
-
}
|
|
372
|
-
return rule;
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);
|
|
376
|
-
cssText = [scoped.cssText, ...commentsWithHash].join('\n');
|
|
377
|
-
if (commentOriginalSelector) {
|
|
378
|
-
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
379
|
-
cssText = cssText.replace(placeholder, comment);
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
383
|
-
cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
|
|
384
|
-
});
|
|
385
|
-
return cssText;
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
export { scopeCss };
|