@zanichelli/albe-web-components 5.5.1-rc.1 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/cjs/_commonjsHelpers-10109b76.js +48 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-f1391d35.js +6 -0
- package/dist/cjs/dom-5345ed9a.js +75 -0
- package/dist/cjs/hammer-0741ba49.js +2651 -0
- package/dist/cjs/index-438f76bc.js +334 -0
- package/dist/cjs/index-545547ad.js +66 -0
- package/dist/cjs/index-6b6a3299.js +315 -0
- package/dist/cjs/index-fcbe2d6e.js +3093 -0
- package/dist/cjs/index.cjs.js +284 -2
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/shadow-css-42acdd0e.js +390 -0
- package/dist/cjs/utils-0a978fe0.js +118 -0
- package/dist/cjs/utils-56c20ead.js +118 -0
- package/dist/cjs/utils-69e42a14.js +2742 -0
- package/dist/cjs/{utils-eca6932d.js → utils-8cc414c9.js} +1 -1
- package/dist/cjs/{utils-21d41d92.js → utils-aca0a0b6.js} +25 -3
- package/dist/cjs/web-components-library.cjs.js +116 -4
- 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-app-switcher.cjs.entry.js +29 -0
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +377 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- 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-body.cjs.entry.js +17 -0
- 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 +3 -3
- 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-date-picker.cjs.entry.js +14 -8
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area.cjs.entry.js +37 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +12 -26
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link.cjs.entry.js +19 -0
- package/dist/cjs/z-footer-section.cjs.entry.js +23 -0
- package/dist/cjs/z-footer-social.cjs.entry.js +19 -0
- 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-heading.cjs.entry.js +17 -0
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-icon.cjs.entry.js +28 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-input-label.cjs.entry.js +21 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-input-message.cjs.entry.js +24 -0
- package/dist/cjs/z-input.cjs.entry.js +235 -0
- package/dist/cjs/z-input_2.cjs.entry.js +228 -0
- package/dist/cjs/z-link.cjs.entry.js +71 -0
- package/dist/cjs/z-list-element.cjs.entry.js +154 -0
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list.cjs.entry.js +34 -0
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +28 -0
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +60 -0
- 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-body.cjs.entry.js +19 -0
- package/dist/cjs/z-myz-card-cover.cjs.entry.js +22 -0
- 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-header.cjs.entry.js +39 -0
- 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.cjs.entry.js +43 -0
- 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-list.cjs.entry.js +35 -0
- 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 +7 -5
- 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-body.cjs.entry.js +27 -0
- package/dist/cjs/z-pocket-header.cjs.entry.js +40 -0
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket.cjs.entry.js +72 -0
- 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-app-switcher_9.cjs.entry.js → z-range-picker.cjs.entry.js} +14 -443
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +257 -0
- 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-typography.cjs.entry.js +29 -0
- 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/components/buttons/z-chip/index.js +1 -1
- package/dist/collection/components/buttons/z-chip/styles.css +9 -2
- package/dist/collection/components/file-upload/z-file/index.js +3 -19
- package/dist/collection/components/file-upload/z-file-upload/index.js +11 -46
- package/dist/collection/components/z-date-picker/index.js +284 -0
- package/dist/collection/components/z-date-picker/styles.css +525 -0
- package/dist/collection/index.js +1 -0
- package/dist/esm/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-10e6e2ae.js +4 -0
- package/dist/esm/dom-7cd9cf71.js +73 -0
- package/dist/esm/hammer-782a2043.js +2649 -0
- package/dist/esm/{index-e5e2b27f.js → index-3b53c63e.js} +1 -1
- package/dist/esm/index-3ee81524.js +334 -0
- package/dist/esm/index-46ca649a.js +315 -0
- package/dist/esm/index-51f075dd.js +64 -0
- package/dist/esm/index-81176684.js +3057 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +18 -2
- package/dist/esm/shadow-css-38a1326b.js +388 -0
- package/dist/esm/{utils-34c0d609.js → utils-1e801ac0.js} +26 -4
- package/dist/esm/utils-43f2cad8.js +2736 -0
- package/dist/esm/{utils-9fa9c37c.js → utils-5d5963ef.js} +2 -2
- package/dist/esm/utils-a3134cfb.js +109 -0
- package/dist/esm/utils-e5940345.js +109 -0
- package/dist/esm/web-components-library.js +116 -4
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher.entry.js +25 -0
- package/dist/esm/z-app-switcher_11.entry.js +363 -0
- package/dist/esm/z-app-topbar.entry.js +37 -0
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body.entry.js +13 -0
- 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 +3 -3
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js +14 -8
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area.entry.js +33 -0
- package/dist/esm/z-file-upload.entry.js +12 -26
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link.entry.js +15 -0
- package/dist/esm/z-footer-section.entry.js +19 -0
- package/dist/esm/z-footer-social.entry.js +15 -0
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-heading.entry.js +13 -0
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-icon.entry.js +24 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-input-deprecated.entry.js +3 -3
- package/dist/esm/z-input-label.entry.js +17 -0
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-input-message.entry.js +20 -0
- package/dist/esm/z-input.entry.js +231 -0
- package/dist/esm/z-input_2.entry.js +223 -0
- package/dist/esm/z-link.entry.js +67 -0
- package/dist/esm/z-list-element.entry.js +150 -0
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list.entry.js +30 -0
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +24 -0
- package/dist/esm/z-menu-dropdown.entry.js +56 -0
- 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-body.entry.js +15 -0
- package/dist/esm/z-myz-card-cover.entry.js +18 -0
- 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-header.entry.js +35 -0
- 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.entry.js +39 -0
- 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-list.entry.js +31 -0
- 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 +7 -5
- 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-body.entry.js +23 -0
- package/dist/esm/z-pocket-header.entry.js +36 -0
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket.entry.js +68 -0
- 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-app-switcher_9.entry.js → z-range-picker.entry.js} +5 -426
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +253 -0
- 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-typography.entry.js +25 -0
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +3 -5
- package/dist/types/components/z-date-picker/index.d.ts +30 -0
- package/dist/types/components.d.ts +0 -12
- package/dist/types/index.d.ts +1 -0
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/web-components-library/breakpoints-c386984e.js +4 -0
- package/dist/web-components-library/css-shim-10e6e2ae.js +4 -0
- package/dist/web-components-library/dom-7cd9cf71.js +73 -0
- package/dist/web-components-library/hammer-782a2043.js +2649 -0
- package/dist/web-components-library/icons-92a7dcde.js +511 -0
- package/dist/web-components-library/index-3b53c63e.js +334 -0
- package/dist/web-components-library/index-3ee81524.js +334 -0
- package/dist/web-components-library/index-51f075dd.js +64 -0
- package/dist/web-components-library/index-81176684.js +3057 -0
- package/dist/web-components-library/index.esm.js +9 -1
- package/{www/build/p-3ade68ff.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
- package/dist/web-components-library/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/dist/web-components-library/p-0d29d851.entry.js +1 -0
- package/dist/web-components-library/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/dist/web-components-library/p-0e408871.entry.js +1 -0
- package/dist/web-components-library/p-0ef6c549.entry.js +1 -0
- package/dist/web-components-library/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/dist/web-components-library/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/dist/web-components-library/p-1f73a6d8.entry.js +1 -0
- package/dist/web-components-library/p-20d62443.entry.js +1 -0
- package/dist/web-components-library/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/dist/web-components-library/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{www/build/p-9504d075.entry.js → dist/web-components-library/p-3edbd35c.entry.js} +1 -1
- package/dist/web-components-library/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{www/build/p-96bf5b15.entry.js → dist/web-components-library/p-4af112a7.entry.js} +1 -1
- package/dist/web-components-library/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/dist/web-components-library/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/dist/web-components-library/p-562e2d52.entry.js +1 -0
- package/dist/web-components-library/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/dist/web-components-library/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +1 -0
- package/dist/web-components-library/p-6218514a.entry.js +1 -0
- package/dist/web-components-library/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{www/build/p-ba76f52b.entry.js → dist/web-components-library/p-69ef6ddc.entry.js} +1 -1
- package/dist/web-components-library/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/dist/web-components-library/p-71accd8e.entry.js +1 -0
- package/dist/web-components-library/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/dist/web-components-library/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/dist/web-components-library/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
- package/dist/web-components-library/p-9a5ee6c2.entry.js +1 -0
- package/dist/web-components-library/p-9f5d707a.js +1 -0
- package/dist/web-components-library/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/dist/web-components-library/p-a8875b97.entry.js +16 -0
- package/dist/web-components-library/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/dist/web-components-library/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/dist/web-components-library/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/dist/web-components-library/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/dist/web-components-library/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/dist/web-components-library/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/dist/web-components-library/p-d39c0372.entry.js +1 -0
- package/{www/build/p-e5eb1fa4.entry.js → dist/web-components-library/p-d97a2db9.entry.js} +1 -1
- package/dist/web-components-library/p-d995d9dc.entry.js +1 -0
- package/dist/web-components-library/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{www/build/p-818c073b.entry.js → dist/web-components-library/p-df4e963b.entry.js} +1 -1
- package/dist/web-components-library/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{www/build/p-878e62e2.entry.js → dist/web-components-library/p-e2102da3.entry.js} +1 -1
- package/dist/web-components-library/p-e2431b92.entry.js +1 -0
- package/dist/web-components-library/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/dist/web-components-library/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/dist/web-components-library/shadow-css-38a1326b.js +388 -0
- package/dist/web-components-library/utils-1e801ac0.js +2736 -0
- package/dist/web-components-library/utils-43f2cad8.js +2736 -0
- package/dist/web-components-library/utils-a3134cfb.js +109 -0
- package/dist/web-components-library/utils-e5940345.js +109 -0
- package/dist/web-components-library/web-components-library.css +812 -1
- package/dist/web-components-library/web-components-library.esm.js +129 -1
- package/dist/web-components-library/z-alert.entry.js +15 -0
- package/dist/web-components-library/z-app-header.entry.js +127 -0
- package/dist/web-components-library/z-app-switcher.entry.js +25 -0
- package/dist/web-components-library/z-app-topbar.entry.js +37 -0
- package/dist/web-components-library/z-aria-alert.entry.js +14 -0
- package/dist/web-components-library/z-avatar.entry.js +39 -0
- package/dist/web-components-library/z-body.entry.js +13 -0
- package/dist/web-components-library/z-button-deprecated.entry.js +34 -0
- package/dist/web-components-library/z-button-filter.entry.js +45 -0
- package/dist/web-components-library/z-button-sort.entry.js +50 -0
- package/dist/web-components-library/z-button.entry.js +38 -0
- package/dist/web-components-library/z-candybar.entry.js +15 -0
- package/dist/web-components-library/z-card.entry.js +65 -0
- package/dist/web-components-library/z-carousel.entry.js +20 -0
- package/dist/web-components-library/z-chip-deprecated.entry.js +20 -0
- package/dist/web-components-library/z-chip.entry.js +33 -0
- package/dist/web-components-library/z-combobox.entry.js +166 -0
- package/dist/web-components-library/z-contextual-menu.entry.js +47 -0
- package/dist/web-components-library/z-cookiebar.entry.js +38 -0
- package/dist/web-components-library/z-date-picker.entry.js +484 -0
- package/dist/web-components-library/z-divider.entry.js +22 -0
- package/dist/web-components-library/z-dragdrop-area.entry.js +33 -0
- package/dist/web-components-library/z-file-upload.entry.js +168 -0
- package/dist/web-components-library/z-file.entry.js +44 -0
- package/dist/web-components-library/z-footer-link.entry.js +15 -0
- package/dist/web-components-library/z-footer-section.entry.js +19 -0
- package/dist/web-components-library/z-footer-social.entry.js +15 -0
- package/dist/web-components-library/z-footer.entry.js +103 -0
- package/dist/web-components-library/z-ghost-loading.entry.js +15 -0
- package/dist/web-components-library/z-heading.entry.js +13 -0
- package/dist/web-components-library/z-icon-package.entry.js +19 -0
- package/dist/web-components-library/z-icon.entry.js +24 -0
- package/dist/web-components-library/z-info-box.entry.js +21 -0
- package/dist/web-components-library/z-info-reveal.entry.js +60 -0
- package/dist/web-components-library/z-input-deprecated.entry.js +267 -0
- package/dist/web-components-library/z-input-label.entry.js +17 -0
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +231 -0
- package/dist/web-components-library/z-link.entry.js +67 -0
- package/dist/web-components-library/z-list-element.entry.js +150 -0
- package/dist/web-components-library/z-list-group.entry.js +50 -0
- package/dist/web-components-library/z-list.entry.js +30 -0
- package/dist/web-components-library/z-logo.entry.js +24 -0
- package/dist/web-components-library/z-menu-dropdown.entry.js +56 -0
- package/dist/web-components-library/z-menu-section.entry.js +42 -0
- package/dist/web-components-library/z-menu.entry.js +106 -0
- package/dist/web-components-library/z-messages-pocket.entry.js +42 -0
- package/dist/web-components-library/z-modal-login.entry.js +78 -0
- package/dist/web-components-library/z-modal.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-alert.entry.js +59 -0
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/web-components-library/z-myz-card-dictionary.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-footer-sections.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-footer.entry.js +52 -0
- package/dist/web-components-library/z-myz-card-header.entry.js +35 -0
- package/dist/web-components-library/z-myz-card-icon.entry.js +17 -0
- package/dist/web-components-library/z-myz-card-info.entry.js +115 -0
- package/dist/web-components-library/z-myz-card-list.entry.js +33 -0
- package/dist/web-components-library/z-myz-card.entry.js +39 -0
- package/dist/web-components-library/z-myz-list-item.entry.js +33 -0
- package/dist/web-components-library/z-myz-list.entry.js +31 -0
- package/dist/web-components-library/z-myz-topbar.entry.js +190 -0
- package/dist/web-components-library/z-navigation-tab-link.entry.js +67 -0
- package/dist/web-components-library/z-navigation-tab.entry.js +69 -0
- package/dist/web-components-library/z-navigation-tabs.entry.js +122 -0
- package/dist/web-components-library/z-notification.entry.js +42 -0
- package/dist/web-components-library/z-offcanvas.entry.js +59 -0
- package/dist/web-components-library/z-otp.entry.js +37 -0
- package/dist/web-components-library/z-pagination-bar.entry.js +126 -0
- package/dist/web-components-library/z-pagination-page.entry.js +21 -0
- package/dist/web-components-library/z-pagination.entry.js +228 -0
- package/dist/web-components-library/z-panel-elem.entry.js +26 -0
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/web-components-library/z-pocket-message.entry.js +15 -0
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/web-components-library/z-popover-deprecated.entry.js +128 -0
- package/dist/web-components-library/z-popover.entry.js +332 -0
- package/dist/web-components-library/z-range-picker.entry.js +354 -0
- package/dist/web-components-library/z-section-title.entry.js +38 -0
- package/dist/web-components-library/z-select.entry.js +253 -0
- package/dist/web-components-library/z-skip-to-content.entry.js +64 -0
- package/dist/web-components-library/z-slideshow.entry.js +108 -0
- package/dist/web-components-library/z-status-tag.entry.js +25 -0
- package/dist/web-components-library/z-stepper-item.entry.js +18 -0
- package/dist/web-components-library/z-stepper.entry.js +15 -0
- package/dist/web-components-library/z-table-body.entry.js +20 -0
- package/dist/web-components-library/z-table-cell.entry.js +32 -0
- package/dist/web-components-library/z-table-empty-box.entry.js +28 -0
- package/dist/web-components-library/z-table-expanded-row.entry.js +15 -0
- package/dist/web-components-library/z-table-footer.entry.js +19 -0
- package/dist/web-components-library/z-table-head.entry.js +19 -0
- package/dist/web-components-library/z-table-header-row.entry.js +18 -0
- package/dist/web-components-library/z-table-header.entry.js +81 -0
- package/dist/web-components-library/z-table-row.entry.js +39 -0
- package/dist/web-components-library/z-table-sticky-footer.entry.js +15 -0
- package/dist/web-components-library/z-table.entry.js +78 -0
- package/dist/web-components-library/z-tag.entry.js +18 -0
- package/dist/web-components-library/z-toast-notification-list.entry.js +52 -0
- package/dist/web-components-library/z-toast-notification.entry.js +199 -0
- package/dist/web-components-library/z-toggle-button.entry.js +32 -0
- package/dist/web-components-library/z-toggle-switch.entry.js +45 -0
- package/dist/web-components-library/z-tooltip-deprecated.entry.js +270 -0
- package/dist/web-components-library/z-tooltip.entry.js +27 -0
- package/dist/web-components-library/z-typography.entry.js +25 -0
- package/dist/web-components-library/z-user-dropdown.entry.js +91 -0
- package/dist/web-components-library/z-visually-hidden.entry.js +15 -0
- package/package.json +1 -2
- package/react/components.d.ts +0 -4
- package/react/components.js +3 -7
- package/react/components.js.map +1 -1
- package/readme.md +0 -8
- package/www/build/_commonjsHelpers-8fe71198.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/www/build/breakpoints-c386984e.js +4 -0
- package/www/build/css-shim-10e6e2ae.js +4 -0
- package/www/build/dom-7cd9cf71.js +73 -0
- package/www/build/hammer-782a2043.js +2649 -0
- package/www/build/icons-92a7dcde.js +511 -0
- package/www/build/index-3b53c63e.js +334 -0
- package/www/build/index-3ee81524.js +334 -0
- package/www/build/index-51f075dd.js +64 -0
- package/www/build/index-81176684.js +3057 -0
- package/www/build/index.esm.js +9 -1
- package/{dist/web-components-library/p-3ade68ff.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
- package/www/build/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/www/build/p-0d29d851.entry.js +1 -0
- package/www/build/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/www/build/p-0e408871.entry.js +1 -0
- package/www/build/p-0ef6c549.entry.js +1 -0
- package/www/build/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/www/build/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/www/build/p-1f73a6d8.entry.js +1 -0
- package/www/build/p-20d62443.entry.js +1 -0
- package/www/build/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/www/build/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{dist/web-components-library/p-9504d075.entry.js → www/build/p-3edbd35c.entry.js} +1 -1
- package/www/build/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{dist/web-components-library/p-96bf5b15.entry.js → www/build/p-4af112a7.entry.js} +1 -1
- package/www/build/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/www/build/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/www/build/p-562e2d52.entry.js +1 -0
- package/www/build/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/www/build/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/www/build/p-5eacbfc7.entry.js +1 -0
- package/www/build/p-6218514a.entry.js +1 -0
- package/www/build/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{dist/web-components-library/p-ba76f52b.entry.js → www/build/p-69ef6ddc.entry.js} +1 -1
- package/www/build/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/www/build/p-71accd8e.entry.js +1 -0
- package/www/build/p-7a92487a.js +1 -0
- package/www/build/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/www/build/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/www/build/p-99d7ab2f.entry.js +1 -0
- package/www/build/p-9a5ee6c2.entry.js +1 -0
- package/www/build/p-9f5d707a.js +1 -0
- package/www/build/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/www/build/p-a8875b97.entry.js +16 -0
- package/www/build/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/www/build/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/www/build/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/www/build/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/www/build/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/www/build/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/www/build/p-d39c0372.entry.js +1 -0
- package/{dist/web-components-library/p-e5eb1fa4.entry.js → www/build/p-d97a2db9.entry.js} +1 -1
- package/www/build/p-d995d9dc.entry.js +1 -0
- package/www/build/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{dist/web-components-library/p-818c073b.entry.js → www/build/p-df4e963b.entry.js} +1 -1
- package/www/build/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{dist/web-components-library/p-878e62e2.entry.js → www/build/p-e2102da3.entry.js} +1 -1
- package/www/build/p-e2431b92.entry.js +1 -0
- package/www/build/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/www/build/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/www/build/shadow-css-38a1326b.js +388 -0
- package/www/build/utils-1e801ac0.js +2736 -0
- package/www/build/utils-43f2cad8.js +2736 -0
- package/www/build/utils-a3134cfb.js +109 -0
- package/www/build/utils-e5940345.js +109 -0
- package/www/build/web-components-library.css +812 -1
- package/www/build/web-components-library.esm.js +129 -1
- package/www/build/z-alert.entry.js +15 -0
- package/www/build/z-app-header.entry.js +127 -0
- package/www/build/z-app-switcher.entry.js +25 -0
- package/www/build/z-app-topbar.entry.js +37 -0
- package/www/build/z-aria-alert.entry.js +14 -0
- package/www/build/z-avatar.entry.js +39 -0
- package/www/build/z-body.entry.js +13 -0
- package/www/build/z-button-deprecated.entry.js +34 -0
- package/www/build/z-button-filter.entry.js +45 -0
- package/www/build/z-button-sort.entry.js +50 -0
- package/www/build/z-button.entry.js +38 -0
- package/www/build/z-candybar.entry.js +15 -0
- package/www/build/z-card.entry.js +65 -0
- package/www/build/z-carousel.entry.js +20 -0
- package/www/build/z-chip-deprecated.entry.js +20 -0
- package/www/build/z-chip.entry.js +33 -0
- package/www/build/z-combobox.entry.js +166 -0
- package/www/build/z-contextual-menu.entry.js +47 -0
- package/www/build/z-cookiebar.entry.js +38 -0
- package/www/build/z-date-picker.entry.js +484 -0
- package/www/build/z-divider.entry.js +22 -0
- package/www/build/z-dragdrop-area.entry.js +33 -0
- package/www/build/z-file-upload.entry.js +168 -0
- package/www/build/z-file.entry.js +44 -0
- package/www/build/z-footer-link.entry.js +15 -0
- package/www/build/z-footer-section.entry.js +19 -0
- package/www/build/z-footer-social.entry.js +15 -0
- package/www/build/z-footer.entry.js +103 -0
- package/www/build/z-ghost-loading.entry.js +15 -0
- package/www/build/z-heading.entry.js +13 -0
- package/www/build/z-icon-package.entry.js +19 -0
- package/www/build/z-icon.entry.js +24 -0
- package/www/build/z-info-box.entry.js +21 -0
- package/www/build/z-info-reveal.entry.js +60 -0
- package/www/build/z-input-deprecated.entry.js +267 -0
- package/www/build/z-input-label.entry.js +17 -0
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +231 -0
- package/www/build/z-link.entry.js +67 -0
- package/www/build/z-list-element.entry.js +150 -0
- package/www/build/z-list-group.entry.js +50 -0
- package/www/build/z-list.entry.js +30 -0
- package/www/build/z-logo.entry.js +24 -0
- package/www/build/z-menu-dropdown.entry.js +56 -0
- package/www/build/z-menu-section.entry.js +42 -0
- package/www/build/z-menu.entry.js +106 -0
- package/www/build/z-messages-pocket.entry.js +42 -0
- package/www/build/z-modal-login.entry.js +78 -0
- package/www/build/z-modal.entry.js +32 -0
- package/www/build/z-myz-card-alert.entry.js +59 -0
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/www/build/z-myz-card-dictionary.entry.js +32 -0
- package/www/build/z-myz-card-footer-sections.entry.js +15 -0
- package/www/build/z-myz-card-footer.entry.js +52 -0
- package/www/build/z-myz-card-header.entry.js +35 -0
- package/www/build/z-myz-card-icon.entry.js +17 -0
- package/www/build/z-myz-card-info.entry.js +115 -0
- package/www/build/z-myz-card-list.entry.js +33 -0
- package/www/build/z-myz-card.entry.js +39 -0
- package/www/build/z-myz-list-item.entry.js +33 -0
- package/www/build/z-myz-list.entry.js +31 -0
- package/www/build/z-myz-topbar.entry.js +190 -0
- package/www/build/z-navigation-tab-link.entry.js +67 -0
- package/www/build/z-navigation-tab.entry.js +69 -0
- package/www/build/z-navigation-tabs.entry.js +122 -0
- package/www/build/z-notification.entry.js +42 -0
- package/www/build/z-offcanvas.entry.js +59 -0
- package/www/build/z-otp.entry.js +37 -0
- package/www/build/z-pagination-bar.entry.js +126 -0
- package/www/build/z-pagination-page.entry.js +21 -0
- package/www/build/z-pagination.entry.js +228 -0
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/www/build/z-pocket-message.entry.js +15 -0
- package/www/build/z-pocket.entry.js +68 -0
- package/www/build/z-popover-deprecated.entry.js +128 -0
- package/www/build/z-popover.entry.js +332 -0
- package/www/build/z-range-picker.entry.js +354 -0
- package/www/build/z-section-title.entry.js +38 -0
- package/www/build/z-select.entry.js +253 -0
- package/www/build/z-skip-to-content.entry.js +64 -0
- package/www/build/z-slideshow.entry.js +108 -0
- package/www/build/z-status-tag.entry.js +25 -0
- package/www/build/z-stepper-item.entry.js +18 -0
- package/www/build/z-stepper.entry.js +15 -0
- package/www/build/z-table-body.entry.js +20 -0
- package/www/build/z-table-cell.entry.js +32 -0
- package/www/build/z-table-empty-box.entry.js +28 -0
- package/www/build/z-table-expanded-row.entry.js +15 -0
- package/www/build/z-table-footer.entry.js +19 -0
- package/www/build/z-table-head.entry.js +19 -0
- package/www/build/z-table-header-row.entry.js +18 -0
- package/www/build/z-table-header.entry.js +81 -0
- package/www/build/z-table-row.entry.js +39 -0
- package/www/build/z-table-sticky-footer.entry.js +15 -0
- package/www/build/z-table.entry.js +78 -0
- package/www/build/z-tag.entry.js +18 -0
- package/www/build/z-toast-notification-list.entry.js +52 -0
- package/www/build/z-toast-notification.entry.js +199 -0
- package/www/build/z-toggle-button.entry.js +32 -0
- package/www/build/z-toggle-switch.entry.js +45 -0
- package/www/build/z-tooltip-deprecated.entry.js +270 -0
- package/www/build/z-tooltip.entry.js +27 -0
- package/www/build/z-typography.entry.js +25 -0
- package/www/build/z-user-dropdown.entry.js +91 -0
- package/www/build/z-visually-hidden.entry.js +15 -0
- package/www/index.html +11 -2
- package/www/pages/file-upload.html +54 -97
- package/dist/web-components-library/p-0146081c.entry.js +0 -16
- package/dist/web-components-library/p-040ea013.entry.js +0 -1
- package/dist/web-components-library/p-0c3e7bc3.js +0 -1
- package/dist/web-components-library/p-0f6229b2.entry.js +0 -1
- package/dist/web-components-library/p-1356eb90.entry.js +0 -1
- package/dist/web-components-library/p-1d4545e8.entry.js +0 -1
- package/dist/web-components-library/p-223566d6.entry.js +0 -1
- package/dist/web-components-library/p-35573e0e.entry.js +0 -1
- package/dist/web-components-library/p-3a991f9c.entry.js +0 -1
- package/dist/web-components-library/p-47a55354.entry.js +0 -1
- package/dist/web-components-library/p-4965b6db.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-5e3b8207.entry.js +0 -1
- package/dist/web-components-library/p-79408b00.entry.js +0 -1
- package/dist/web-components-library/p-7a5ecafb.js +0 -1
- package/dist/web-components-library/p-8712d63f.entry.js +0 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
- package/dist/web-components-library/p-96ed1e2f.entry.js +0 -1
- package/dist/web-components-library/p-97d62d2a.entry.js +0 -1
- package/dist/web-components-library/p-aba00527.entry.js +0 -1
- package/dist/web-components-library/p-b369bf2f.entry.js +0 -1
- package/dist/web-components-library/p-e4a2811a.entry.js +0 -1
- package/dist/web-components-library/p-e82cee27.entry.js +0 -1
- package/dist/web-components-library/p-f5f15b8e.entry.js +0 -1
- package/www/build/p-0146081c.entry.js +0 -16
- package/www/build/p-040ea013.entry.js +0 -1
- package/www/build/p-0c3e7bc3.js +0 -1
- package/www/build/p-0f6229b2.entry.js +0 -1
- package/www/build/p-1356eb90.entry.js +0 -1
- package/www/build/p-1d4545e8.entry.js +0 -1
- package/www/build/p-223566d6.entry.js +0 -1
- package/www/build/p-3224e0d3.js +0 -129
- package/www/build/p-35573e0e.entry.js +0 -1
- package/www/build/p-3a991f9c.entry.js +0 -1
- package/www/build/p-47a55354.entry.js +0 -1
- package/www/build/p-4965b6db.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-5e3b8207.entry.js +0 -1
- package/www/build/p-79408b00.entry.js +0 -1
- package/www/build/p-7a5ecafb.js +0 -1
- package/www/build/p-8712d63f.entry.js +0 -1
- package/www/build/p-8cf3798f.entry.js +0 -1
- package/www/build/p-96ed1e2f.entry.js +0 -1
- package/www/build/p-97d62d2a.entry.js +0 -1
- package/www/build/p-9ec1421c.css +0 -816
- package/www/build/p-aba00527.entry.js +0 -1
- package/www/build/p-b369bf2f.entry.js +0 -1
- package/www/build/p-e4a2811a.entry.js +0 -1
- package/www/build/p-e82cee27.entry.js +0 -1
- package/www/build/p-f5f15b8e.entry.js +0 -1
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-81176684.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
5
|
+
|
|
6
|
+
const documentElement = document.documentElement;
|
|
7
|
+
/**
|
|
8
|
+
* Find the closest scrollable parent of a node.
|
|
9
|
+
*
|
|
10
|
+
* @param {Element} element The node
|
|
11
|
+
*/
|
|
12
|
+
function findScrollableParent(element) {
|
|
13
|
+
let parent = element.parentNode;
|
|
14
|
+
while (parent && parent !== documentElement) {
|
|
15
|
+
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
16
|
+
if (overflow === 'hidden' ||
|
|
17
|
+
overflowY === 'hidden' ||
|
|
18
|
+
overflowX === 'hidden') {
|
|
19
|
+
return parent;
|
|
20
|
+
}
|
|
21
|
+
if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
|
|
22
|
+
(parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
|
|
23
|
+
return parent;
|
|
24
|
+
}
|
|
25
|
+
parent = parent.parentNode;
|
|
26
|
+
}
|
|
27
|
+
return documentElement;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Calculate computed offset.
|
|
31
|
+
* It includes matrix transformations.
|
|
32
|
+
* @param element The target element.
|
|
33
|
+
* @param targetParentOffset The relative offset parent.
|
|
34
|
+
* @return A client rect object.
|
|
35
|
+
*/
|
|
36
|
+
function computeOffset(element, targetParentOffset) {
|
|
37
|
+
const rect = element.getBoundingClientRect();
|
|
38
|
+
const width = rect.width;
|
|
39
|
+
const height = rect.height;
|
|
40
|
+
let top = 0;
|
|
41
|
+
let left = 0;
|
|
42
|
+
let offsetParent = element;
|
|
43
|
+
while (offsetParent && offsetParent != targetParentOffset) {
|
|
44
|
+
left += offsetParent.offsetLeft;
|
|
45
|
+
// document.body sometimes has offsetTop == 0 but still has an
|
|
46
|
+
// offset because of children margins!
|
|
47
|
+
if (offsetParent === document.body) {
|
|
48
|
+
top += offsetParent.getBoundingClientRect().top + window.scrollY;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
top += offsetParent.offsetTop;
|
|
52
|
+
}
|
|
53
|
+
if (window.DOMMatrix) {
|
|
54
|
+
const style = window.getComputedStyle(offsetParent);
|
|
55
|
+
const transform = style.transform || style.webkitTransform;
|
|
56
|
+
const domMatrix = new DOMMatrix(transform);
|
|
57
|
+
if (domMatrix) {
|
|
58
|
+
left += domMatrix.m41;
|
|
59
|
+
if (offsetParent !== document.body) {
|
|
60
|
+
top += domMatrix.m42;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (!offsetParent.offsetParent) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
offsetParent = offsetParent.offsetParent;
|
|
68
|
+
}
|
|
69
|
+
let parentWidth;
|
|
70
|
+
let parentHeight;
|
|
71
|
+
if (offsetParent === document.body) {
|
|
72
|
+
parentWidth = window.innerWidth;
|
|
73
|
+
parentHeight = window.innerHeight;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
parentWidth = offsetParent.offsetWidth;
|
|
77
|
+
parentHeight = offsetParent.offsetHeight;
|
|
78
|
+
}
|
|
79
|
+
const right = parentWidth - left - rect.width;
|
|
80
|
+
const bottom = parentHeight - top - rect.height;
|
|
81
|
+
return { top, right, bottom, left, width, height };
|
|
82
|
+
}
|
|
83
|
+
const ZTooltipDeprecated = class {
|
|
84
|
+
constructor(hostRef) {
|
|
85
|
+
registerInstance(this, hostRef);
|
|
86
|
+
this.positionChange = createEvent(this, "positionChange", 7);
|
|
87
|
+
/** Tooltip position. */
|
|
88
|
+
this.type = PopoverPositions.auto;
|
|
89
|
+
/**
|
|
90
|
+
* The open state of the tooltip.
|
|
91
|
+
*/
|
|
92
|
+
this.open = false;
|
|
93
|
+
}
|
|
94
|
+
validateType(newValue) {
|
|
95
|
+
if (newValue &&
|
|
96
|
+
Object
|
|
97
|
+
.values(PopoverPositions)
|
|
98
|
+
.every((position) => newValue !== position)) {
|
|
99
|
+
this.type = PopoverPositions.auto;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
onPositionChange() {
|
|
103
|
+
this.positionChange.emit({ position: this.position });
|
|
104
|
+
}
|
|
105
|
+
disconnectedCallback() {
|
|
106
|
+
cancelAnimationFrame(this.animationFrameRequestId);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Setup tooltip behaviors on opening.
|
|
110
|
+
*/
|
|
111
|
+
onOpen() {
|
|
112
|
+
cancelAnimationFrame(this.animationFrameRequestId);
|
|
113
|
+
if (this.content) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (this.open) {
|
|
117
|
+
const setPosition = () => {
|
|
118
|
+
if (this.open) {
|
|
119
|
+
this.setPosition();
|
|
120
|
+
this.animationFrameRequestId = requestAnimationFrame(setPosition);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
setPosition();
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
const style = this.host.style;
|
|
127
|
+
style.removeProperty("top");
|
|
128
|
+
style.removeProperty("right");
|
|
129
|
+
style.removeProperty("bottom");
|
|
130
|
+
style.removeProperty("left");
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Set the position of the tooltip.
|
|
135
|
+
*/
|
|
136
|
+
setPosition() {
|
|
137
|
+
let element;
|
|
138
|
+
if (typeof this.bindTo === "string") {
|
|
139
|
+
element = this.host.ownerDocument.querySelector(this.bindTo);
|
|
140
|
+
}
|
|
141
|
+
else if (this.bindTo) {
|
|
142
|
+
element = this.bindTo;
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
element = this.host.parentElement;
|
|
146
|
+
}
|
|
147
|
+
if (!element) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const scrollContainer = findScrollableParent(element);
|
|
151
|
+
const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
|
|
152
|
+
const offsetContainer = this.host.offsetParent;
|
|
153
|
+
const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
|
|
154
|
+
const boundingRect = computeOffset(element, scrollContainer);
|
|
155
|
+
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
156
|
+
const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
|
|
157
|
+
const left = boundingRect.left - scrollContainer.scrollLeft;
|
|
158
|
+
const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
|
|
159
|
+
const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
|
|
160
|
+
const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
|
|
161
|
+
const availableTop = Math.min(top, top + scrollingBoundingRect.top);
|
|
162
|
+
const availableBottom = Math.min(bottom, bottom - overflowBottom);
|
|
163
|
+
const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
|
|
164
|
+
const availableRight = Math.min(right, right - overflowRight);
|
|
165
|
+
const availableHeight = availableTop + availableBottom + boundingRect.height;
|
|
166
|
+
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
167
|
+
let position = this.type;
|
|
168
|
+
if (position === PopoverPositions.auto) {
|
|
169
|
+
/**
|
|
170
|
+
* The `AUTO` position tries to place the tooltip in the "safest" area,
|
|
171
|
+
* where there's more space available.
|
|
172
|
+
*/
|
|
173
|
+
const positions = [];
|
|
174
|
+
if (availableTop / availableHeight > 0.9) {
|
|
175
|
+
positions.unshift(PopoverPositions.top);
|
|
176
|
+
}
|
|
177
|
+
else if (availableTop / availableHeight > 0.6) {
|
|
178
|
+
positions.push(PopoverPositions.top);
|
|
179
|
+
}
|
|
180
|
+
else if (availableTop / availableHeight < 0.1) {
|
|
181
|
+
positions.unshift(PopoverPositions.bottom);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
positions.push(PopoverPositions.bottom);
|
|
185
|
+
}
|
|
186
|
+
if (availableLeft / availableWidth > 0.6) {
|
|
187
|
+
positions.push(PopoverPositions.left);
|
|
188
|
+
}
|
|
189
|
+
else if (availableLeft / availableWidth < 0.4) {
|
|
190
|
+
positions.push(PopoverPositions.right);
|
|
191
|
+
}
|
|
192
|
+
position = positions.join("_");
|
|
193
|
+
}
|
|
194
|
+
const style = this.host.style;
|
|
195
|
+
if (!this.content) {
|
|
196
|
+
style.position = "absolute";
|
|
197
|
+
}
|
|
198
|
+
const offsetTop = boundingRect.top - relativeBoundingRect.top;
|
|
199
|
+
const offsetRight = boundingRect.right - relativeBoundingRect.right;
|
|
200
|
+
const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
|
|
201
|
+
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
202
|
+
if (position === PopoverPositions.top ||
|
|
203
|
+
position === PopoverPositions.top_right ||
|
|
204
|
+
position === PopoverPositions.top_left) {
|
|
205
|
+
style.top = "auto";
|
|
206
|
+
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
207
|
+
}
|
|
208
|
+
if (position === PopoverPositions.bottom ||
|
|
209
|
+
position === PopoverPositions.bottom_right ||
|
|
210
|
+
position === PopoverPositions.bottom_left) {
|
|
211
|
+
style.top = `${offsetTop + boundingRect.height}px`;
|
|
212
|
+
style.bottom = "auto";
|
|
213
|
+
}
|
|
214
|
+
if (position === PopoverPositions.top ||
|
|
215
|
+
position === PopoverPositions.bottom) {
|
|
216
|
+
style.left = `${offsetLeft +
|
|
217
|
+
(boundingRect.width / 2) -
|
|
218
|
+
(this.host.clientWidth / 2)}px`;
|
|
219
|
+
}
|
|
220
|
+
if (position === PopoverPositions.top_right ||
|
|
221
|
+
position === PopoverPositions.bottom_right) {
|
|
222
|
+
style.right = "auto";
|
|
223
|
+
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
224
|
+
}
|
|
225
|
+
if (position === PopoverPositions.top_left ||
|
|
226
|
+
position === PopoverPositions.bottom_left) {
|
|
227
|
+
style.left = "auto";
|
|
228
|
+
style.right = `${offsetRight + boundingRect.width}px`;
|
|
229
|
+
}
|
|
230
|
+
if (position === PopoverPositions.right ||
|
|
231
|
+
position === PopoverPositions.left) {
|
|
232
|
+
style.top = `${offsetTop +
|
|
233
|
+
(boundingRect.height / 2) -
|
|
234
|
+
(this.host.clientHeight / 2)}px`;
|
|
235
|
+
style.bottom = "auto";
|
|
236
|
+
}
|
|
237
|
+
if (position === PopoverPositions.right) {
|
|
238
|
+
style.right = "auto";
|
|
239
|
+
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
240
|
+
}
|
|
241
|
+
if (position === PopoverPositions.left) {
|
|
242
|
+
style.left = "auto";
|
|
243
|
+
style.right = `${offsetRight + boundingRect.width}px`;
|
|
244
|
+
}
|
|
245
|
+
this.position = position;
|
|
246
|
+
}
|
|
247
|
+
componentWillLoad() {
|
|
248
|
+
// Keep backward compatibility
|
|
249
|
+
if (this.content) {
|
|
250
|
+
this.open = true;
|
|
251
|
+
}
|
|
252
|
+
this.validateType(this.type);
|
|
253
|
+
this.onOpen();
|
|
254
|
+
}
|
|
255
|
+
render() {
|
|
256
|
+
if (this.content) {
|
|
257
|
+
return (h(Host, { class: "legacy", position: this.type }, this.content));
|
|
258
|
+
}
|
|
259
|
+
return (h(Host, { position: this.position }, h("slot", null)));
|
|
260
|
+
}
|
|
261
|
+
get host() { return getElement(this); }
|
|
262
|
+
static get watchers() { return {
|
|
263
|
+
"type": ["validateType"],
|
|
264
|
+
"position": ["onPositionChange"],
|
|
265
|
+
"open": ["onOpen"]
|
|
266
|
+
}; }
|
|
267
|
+
};
|
|
268
|
+
ZTooltipDeprecated.style = stylesCss;
|
|
269
|
+
|
|
270
|
+
export { ZTooltipDeprecated as z_tooltip_deprecated };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
5
|
+
|
|
6
|
+
const ZTooltip = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** Tooltip position. */
|
|
10
|
+
this.position = PopoverPositions.auto;
|
|
11
|
+
/** Enable tooltip dark mode. */
|
|
12
|
+
this.dark = false;
|
|
13
|
+
/**
|
|
14
|
+
* The open state of the tooltip.
|
|
15
|
+
*/
|
|
16
|
+
this.open = false;
|
|
17
|
+
}
|
|
18
|
+
onPopoverOpenChange() {
|
|
19
|
+
this.open = this.popover.open;
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return h("z-popover", { ref: (el) => (this.popover = el), bindTo: this.bindTo, open: this.open, position: this.position, center: true, showArrow: true }, h("slot", null));
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
ZTooltip.style = stylesCss;
|
|
26
|
+
|
|
27
|
+
export { ZTooltip as z_tooltip };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as registerInstance, h, f as Host, g as getElement } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}:host(:focus-visible){outline:none}";
|
|
4
|
+
|
|
5
|
+
const ZTypography = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.variant = "regular";
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const el = document.createElement(this.component || "span");
|
|
12
|
+
el.innerHTML = `<slot />`;
|
|
13
|
+
this.hostElement.shadowRoot.appendChild(el);
|
|
14
|
+
return (h(Host, { class: {
|
|
15
|
+
[this.level]: Boolean(this.level),
|
|
16
|
+
regular: this.variant === "regular",
|
|
17
|
+
semibold: this.variant === "semibold",
|
|
18
|
+
light: this.variant === "light"
|
|
19
|
+
} }));
|
|
20
|
+
}
|
|
21
|
+
get hostElement() { return getElement(this); }
|
|
22
|
+
};
|
|
23
|
+
ZTypography.style = stylesCss;
|
|
24
|
+
|
|
25
|
+
export { ZTypography as z_typography };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, f as Host } from './index-81176684.js';
|
|
2
|
+
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
|
|
5
|
+
|
|
6
|
+
const ZUserDropdown = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.userButtonClick = createEvent(this, "userButtonClick", 7);
|
|
10
|
+
this.dropdownMenuLinkClick = createEvent(this, "dropdownMenuLinkClick", 7);
|
|
11
|
+
/** if inner components colors are inverted, or not, default false */
|
|
12
|
+
this.useInverseColors = false;
|
|
13
|
+
this.isMenuOpen = false;
|
|
14
|
+
this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
|
|
15
|
+
this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
|
|
16
|
+
}
|
|
17
|
+
componentDidLoad() {
|
|
18
|
+
this.setMobileAndDivToResizeWidth();
|
|
19
|
+
}
|
|
20
|
+
componentWillUpdate() {
|
|
21
|
+
this.setMobileAndDivToResizeWidth();
|
|
22
|
+
}
|
|
23
|
+
componentWillRender() {
|
|
24
|
+
if (this.menuContent) {
|
|
25
|
+
this.linkArray = typeof this.menuContent === "string" ? JSON.parse(this.menuContent) : this.menuContent;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
setMobileAndDivToResizeWidth() {
|
|
29
|
+
var _a;
|
|
30
|
+
if (this.divToResize) {
|
|
31
|
+
this.isMobile = window.screen.width <= mobileBreakpoint || window.innerWidth <= mobileBreakpoint;
|
|
32
|
+
if (this.logged && !this.isMobile && this.isMenuOpen) {
|
|
33
|
+
this.divToResize.style.width = `${(_a = this.userButton) === null || _a === void 0 ? void 0 : _a.offsetWidth}px`;
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.divToResize.removeAttribute('style');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
emitUserButtonClick() {
|
|
41
|
+
this.userButtonClick.emit(this.isMenuOpen);
|
|
42
|
+
}
|
|
43
|
+
emitDropdownMenuLinkClick(e) {
|
|
44
|
+
this.isMenuOpen = false;
|
|
45
|
+
this.dropdownMenuLinkClick.emit({ e, linkId: e.detail.linkId });
|
|
46
|
+
}
|
|
47
|
+
handleResize() {
|
|
48
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
49
|
+
}
|
|
50
|
+
handleOrientationChange() {
|
|
51
|
+
this.isMobile = screen.width <= mobileBreakpoint;
|
|
52
|
+
}
|
|
53
|
+
handleClickOutside(e) {
|
|
54
|
+
if (e.target.nodeName !== "Z-USER-DROPDOWN") {
|
|
55
|
+
this.isMenuOpen = false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
handleLoggedButtonClick() {
|
|
59
|
+
this.isMenuOpen = !this.isMenuOpen;
|
|
60
|
+
this.emitUserButtonClick();
|
|
61
|
+
}
|
|
62
|
+
renderGuestButton() {
|
|
63
|
+
return (h("button", { id: "guestbutton", class: this.useInverseColors ? "inverse" : "", onClick: () => this.emitUserButtonClick() }, "ENTRA"));
|
|
64
|
+
}
|
|
65
|
+
renderLoggedButton() {
|
|
66
|
+
const direction = this.isMenuOpen ? "up" : "down";
|
|
67
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
68
|
+
return (h("button", { ref: (el) => (this.userButton = el), title: this.userFullName, class: `${colorClass} ${this.isMenuOpen ? "open" : ""}`, onClick: this.handleLoggedButtonClick }, h("div", null, h("div", { class: "firstline" }, h("z-icon", { class: colorClass, name: "user-avatar-filled", height: 16, width: 16 }), !this.isMobile && h("div", { class: `userfullname ${colorClass}` }, this.userFullName), h("z-icon", { class: colorClass, name: `caret-${direction}-filled`, height: 16, width: 16 })), !this.isMobile && this.isMenuOpen && h("div", { class: `useremail ${colorClass}` }, this.userEmail))));
|
|
69
|
+
}
|
|
70
|
+
getZLinkTextcolor() {
|
|
71
|
+
if (this.isMobile) {
|
|
72
|
+
return this.useInverseColors ? "black" : "white";
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
return this.useInverseColors ? "white" : "black";
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
renderDropdownMenu() {
|
|
79
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
80
|
+
return (this.isMenuOpen && (h("ul", { class: colorClass }, this.isMobile &&
|
|
81
|
+
h("li", { class: colorClass }, h("div", { class: `userfullname ${colorClass}` }, this.userFullName), h("div", { class: `useremail ${colorClass}` }, this.userEmail)), this.linkArray && this.linkArray.map((link) => h("li", { id: link.id, class: colorClass }, h("z-link", { textcolor: this.getZLinkTextcolor(), href: link.link, htmlid: link.id, target: link.target, icon: link.icon, onZLinkClick: this.emitDropdownMenuLinkClick }, link.label))))));
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
const openClass = `${this.logged && this.isMenuOpen ? "open" : ""}`;
|
|
85
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
86
|
+
return (h(Host, { class: colorClass }, h("div", { ref: (el) => (this.divToResize = el), class: openClass }, h("div", { class: `${colorClass} ${openClass}` }, this.logged ? this.renderLoggedButton() : this.renderGuestButton(), this.logged && this.renderDropdownMenu()))));
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
ZUserDropdown.style = stylesCss;
|
|
90
|
+
|
|
91
|
+
export { ZUserDropdown as z_user_dropdown };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
4
|
+
|
|
5
|
+
const ZVisuallyHidden = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return h("slot", null);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZVisuallyHidden.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZVisuallyHidden as z_visually_hidden };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zanichelli/albe-web-components",
|
|
3
|
-
"version": "5.5.1
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "The Web Components implementation of Albe, the Zanichelli's design system.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
11
|
"collection:main": "dist/collection/index.js",
|
|
12
12
|
"unpkg": "dist/web-components-library/web-components-library.esm.js",
|
|
13
|
-
"jsdelivr": "dist/web-components-library/web-components-library.esm.js",
|
|
14
13
|
"files": [
|
|
15
14
|
"dist/",
|
|
16
15
|
"loader/",
|
package/react/components.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export declare const ZHeading: import("react").ForwardRefExoticComponent<JSX.ZHe
|
|
|
33
33
|
export declare const ZIcon: import("react").ForwardRefExoticComponent<JSX.ZIcon & Omit<import("react").HTMLAttributes<HTMLZIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZIconElement>>;
|
|
34
34
|
export declare const ZIconPackage: import("react").ForwardRefExoticComponent<JSX.ZIconPackage & Omit<import("react").HTMLAttributes<HTMLZIconPackageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZIconPackageElement>>;
|
|
35
35
|
export declare const ZInfoBox: import("react").ForwardRefExoticComponent<JSX.ZInfoBox & Omit<import("react").HTMLAttributes<HTMLZInfoBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZInfoBoxElement>>;
|
|
36
|
-
export declare const ZInfoReveal: import("react").ForwardRefExoticComponent<JSX.ZInfoReveal & Omit<import("react").HTMLAttributes<HTMLZInfoRevealElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZInfoRevealElement>>;
|
|
37
36
|
export declare const ZInput: import("react").ForwardRefExoticComponent<JSX.ZInput & Omit<import("react").HTMLAttributes<HTMLZInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZInputElement>>;
|
|
38
37
|
export declare const ZInputDeprecated: import("react").ForwardRefExoticComponent<JSX.ZInputDeprecated & Omit<import("react").HTMLAttributes<HTMLZInputDeprecatedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZInputDeprecatedElement>>;
|
|
39
38
|
export declare const ZInputLabel: import("react").ForwardRefExoticComponent<JSX.ZInputLabel & Omit<import("react").HTMLAttributes<HTMLZInputLabelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZInputLabelElement>>;
|
|
@@ -78,8 +77,6 @@ export declare const ZPocketBody: import("react").ForwardRefExoticComponent<JSX.
|
|
|
78
77
|
export declare const ZPocketHeader: import("react").ForwardRefExoticComponent<JSX.ZPocketHeader & Omit<import("react").HTMLAttributes<HTMLZPocketHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZPocketHeaderElement>>;
|
|
79
78
|
export declare const ZPocketMessage: import("react").ForwardRefExoticComponent<JSX.ZPocketMessage & Omit<import("react").HTMLAttributes<HTMLZPocketMessageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZPocketMessageElement>>;
|
|
80
79
|
export declare const ZPopover: import("react").ForwardRefExoticComponent<JSX.ZPopover & Omit<import("react").HTMLAttributes<HTMLZPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZPopoverElement>>;
|
|
81
|
-
export declare const ZPopoverDeprecated: import("react").ForwardRefExoticComponent<JSX.ZPopoverDeprecated & Omit<import("react").HTMLAttributes<HTMLZPopoverDeprecatedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZPopoverDeprecatedElement>>;
|
|
82
|
-
export declare const ZRangePicker: import("react").ForwardRefExoticComponent<JSX.ZRangePicker & Omit<import("react").HTMLAttributes<HTMLZRangePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZRangePickerElement>>;
|
|
83
80
|
export declare const ZSectionTitle: import("react").ForwardRefExoticComponent<JSX.ZSectionTitle & Omit<import("react").HTMLAttributes<HTMLZSectionTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZSectionTitleElement>>;
|
|
84
81
|
export declare const ZSelect: import("react").ForwardRefExoticComponent<JSX.ZSelect & Omit<import("react").HTMLAttributes<HTMLZSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZSelectElement>>;
|
|
85
82
|
export declare const ZSkipToContent: import("react").ForwardRefExoticComponent<JSX.ZSkipToContent & Omit<import("react").HTMLAttributes<HTMLZSkipToContentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZSkipToContentElement>>;
|
|
@@ -104,7 +101,6 @@ export declare const ZToastNotificationList: import("react").ForwardRefExoticCom
|
|
|
104
101
|
export declare const ZToggleButton: import("react").ForwardRefExoticComponent<JSX.ZToggleButton & Omit<import("react").HTMLAttributes<HTMLZToggleButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZToggleButtonElement>>;
|
|
105
102
|
export declare const ZToggleSwitch: import("react").ForwardRefExoticComponent<JSX.ZToggleSwitch & Omit<import("react").HTMLAttributes<HTMLZToggleSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZToggleSwitchElement>>;
|
|
106
103
|
export declare const ZTooltip: import("react").ForwardRefExoticComponent<JSX.ZTooltip & Omit<import("react").HTMLAttributes<HTMLZTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZTooltipElement>>;
|
|
107
|
-
export declare const ZTooltipDeprecated: import("react").ForwardRefExoticComponent<JSX.ZTooltipDeprecated & Omit<import("react").HTMLAttributes<HTMLZTooltipDeprecatedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZTooltipDeprecatedElement>>;
|
|
108
104
|
export declare const ZTypography: import("react").ForwardRefExoticComponent<JSX.ZTypography & Omit<import("react").HTMLAttributes<HTMLZTypographyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZTypographyElement>>;
|
|
109
105
|
export declare const ZUserDropdown: import("react").ForwardRefExoticComponent<JSX.ZUserDropdown & Omit<import("react").HTMLAttributes<HTMLZUserDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZUserDropdownElement>>;
|
|
110
106
|
export declare const ZVisuallyHidden: import("react").ForwardRefExoticComponent<JSX.ZVisuallyHidden & Omit<import("react").HTMLAttributes<HTMLZVisuallyHiddenElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLZVisuallyHiddenElement>>;
|
package/react/components.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZMyzCard = exports.ZModalLogin = exports.ZModal = exports.ZMessagesPocket = exports.ZMenuSection = exports.ZMenuDropdown = exports.ZMenu = exports.ZLogo = exports.ZListGroup = exports.ZListElement = exports.ZList = exports.ZLink = exports.ZInputMessage = exports.ZInputLabel = exports.ZInputDeprecated = exports.ZInput = exports.
|
|
4
|
-
exports.ZToastNotification = exports.ZTag = exports.ZTableStickyFooter = exports.ZTableRow = exports.ZTableHeaderRow = exports.ZTableHeader = exports.ZTableHead = exports.ZTableFooter = exports.ZTableExpandedRow = exports.ZTableEmptyBox = exports.ZTableCell = exports.ZTableBody = exports.ZTable = exports.ZStepperItem = exports.ZStepper = exports.ZStatusTag = exports.ZSlideshow = exports.ZSkipToContent = exports.ZSelect = exports.ZSectionTitle = exports.
|
|
5
|
-
exports.ZVisuallyHidden = exports.ZUserDropdown = exports.ZTypography = exports.
|
|
3
|
+
exports.ZMyzCardAlert = exports.ZMyzCard = exports.ZModalLogin = exports.ZModal = exports.ZMessagesPocket = exports.ZMenuSection = exports.ZMenuDropdown = exports.ZMenu = exports.ZLogo = exports.ZListGroup = exports.ZListElement = exports.ZList = exports.ZLink = exports.ZInputMessage = exports.ZInputLabel = exports.ZInputDeprecated = exports.ZInput = exports.ZInfoBox = exports.ZIconPackage = exports.ZIcon = exports.ZHeading = exports.ZGhostLoading = exports.ZFooterSocial = exports.ZFooterSection = exports.ZFooterLink = exports.ZFooter = exports.ZFileUpload = exports.ZFile = exports.ZDragdropArea = exports.ZDivider = exports.ZDatePicker = exports.ZCookiebar = exports.ZContextualMenu = exports.ZCombobox = exports.ZChipDeprecated = exports.ZChip = exports.ZCarousel = exports.ZCard = exports.ZCandybar = exports.ZButtonSort = exports.ZButtonFilter = exports.ZButtonDeprecated = exports.ZButton = exports.ZBody = exports.ZAvatar = exports.ZAriaAlert = exports.ZAppTopbar = exports.ZAppSwitcher = exports.ZAppHeader = exports.ZAlert = void 0;
|
|
4
|
+
exports.ZToggleSwitch = exports.ZToggleButton = exports.ZToastNotificationList = exports.ZToastNotification = exports.ZTag = exports.ZTableStickyFooter = exports.ZTableRow = exports.ZTableHeaderRow = exports.ZTableHeader = exports.ZTableHead = exports.ZTableFooter = exports.ZTableExpandedRow = exports.ZTableEmptyBox = exports.ZTableCell = exports.ZTableBody = exports.ZTable = exports.ZStepperItem = exports.ZStepper = exports.ZStatusTag = exports.ZSlideshow = exports.ZSkipToContent = exports.ZSelect = exports.ZSectionTitle = exports.ZPopover = exports.ZPocketMessage = exports.ZPocketHeader = exports.ZPocketBody = exports.ZPocket = exports.ZPanelElem = exports.ZPaginationPage = exports.ZPaginationBar = exports.ZPagination = exports.ZOtp = exports.ZOffcanvas = exports.ZNotification = exports.ZNavigationTabs = exports.ZNavigationTabLink = exports.ZNavigationTab = exports.ZMyzTopbar = exports.ZMyzListItem = exports.ZMyzList = exports.ZMyzCardList = exports.ZMyzCardInfo = exports.ZMyzCardIcon = exports.ZMyzCardHeader = exports.ZMyzCardFooterSections = exports.ZMyzCardFooter = exports.ZMyzCardDictionary = exports.ZMyzCardCover = exports.ZMyzCardBody = void 0;
|
|
5
|
+
exports.ZVisuallyHidden = exports.ZUserDropdown = exports.ZTypography = exports.ZTooltip = void 0;
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
/* tslint:disable */
|
|
8
8
|
/* auto-generated react proxies */
|
|
@@ -40,7 +40,6 @@ exports.ZHeading = react_component_lib_1.createReactComponent('z-heading');
|
|
|
40
40
|
exports.ZIcon = react_component_lib_1.createReactComponent('z-icon');
|
|
41
41
|
exports.ZIconPackage = react_component_lib_1.createReactComponent('z-icon-package');
|
|
42
42
|
exports.ZInfoBox = react_component_lib_1.createReactComponent('z-info-box');
|
|
43
|
-
exports.ZInfoReveal = react_component_lib_1.createReactComponent('z-info-reveal');
|
|
44
43
|
exports.ZInput = react_component_lib_1.createReactComponent('z-input');
|
|
45
44
|
exports.ZInputDeprecated = react_component_lib_1.createReactComponent('z-input-deprecated');
|
|
46
45
|
exports.ZInputLabel = react_component_lib_1.createReactComponent('z-input-label');
|
|
@@ -85,8 +84,6 @@ exports.ZPocketBody = react_component_lib_1.createReactComponent('z-pocket-body'
|
|
|
85
84
|
exports.ZPocketHeader = react_component_lib_1.createReactComponent('z-pocket-header');
|
|
86
85
|
exports.ZPocketMessage = react_component_lib_1.createReactComponent('z-pocket-message');
|
|
87
86
|
exports.ZPopover = react_component_lib_1.createReactComponent('z-popover');
|
|
88
|
-
exports.ZPopoverDeprecated = react_component_lib_1.createReactComponent('z-popover-deprecated');
|
|
89
|
-
exports.ZRangePicker = react_component_lib_1.createReactComponent('z-range-picker');
|
|
90
87
|
exports.ZSectionTitle = react_component_lib_1.createReactComponent('z-section-title');
|
|
91
88
|
exports.ZSelect = react_component_lib_1.createReactComponent('z-select');
|
|
92
89
|
exports.ZSkipToContent = react_component_lib_1.createReactComponent('z-skip-to-content');
|
|
@@ -111,7 +108,6 @@ exports.ZToastNotificationList = react_component_lib_1.createReactComponent('z-t
|
|
|
111
108
|
exports.ZToggleButton = react_component_lib_1.createReactComponent('z-toggle-button');
|
|
112
109
|
exports.ZToggleSwitch = react_component_lib_1.createReactComponent('z-toggle-switch');
|
|
113
110
|
exports.ZTooltip = react_component_lib_1.createReactComponent('z-tooltip');
|
|
114
|
-
exports.ZTooltipDeprecated = react_component_lib_1.createReactComponent('z-tooltip-deprecated');
|
|
115
111
|
exports.ZTypography = react_component_lib_1.createReactComponent('z-typography');
|
|
116
112
|
exports.ZUserDropdown = react_component_lib_1.createReactComponent('z-user-dropdown');
|
|
117
113
|
exports.ZVisuallyHidden = react_component_lib_1.createReactComponent('z-visually-hidden');
|
package/react/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src-react/components.ts"],"names":[],"mappings":";;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,+DAA6D;AAMhD,QAAA,MAAM,GAAgB,0CAAoB,CAAgC,SAAS,CAAC,CAAC;AACrF,QAAA,UAAU,GAAgB,0CAAoB,CAAwC,cAAc,CAAC,CAAC;AACtG,QAAA,YAAY,GAAgB,0CAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC9G,QAAA,UAAU,GAAgB,0CAAoB,CAAwC,cAAc,CAAC,CAAC;AACtG,QAAA,UAAU,GAAgB,0CAAoB,CAAwC,cAAc,CAAC,CAAC;AACtG,QAAA,OAAO,GAAgB,0CAAoB,CAAkC,UAAU,CAAC,CAAC;AACzF,QAAA,KAAK,GAAgB,0CAAoB,CAA8B,QAAQ,CAAC,CAAC;AACjF,QAAA,OAAO,GAAg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AAoB,CAAsC,aAAa,CAAC,CAAC;AAClG,QAAA,kBAAkB,GAAgB,0CAAoB,CAAwD,uBAAuB,CAAC,CAAC;AACvI,QAAA,IAAI,GAAgB,0CAAoB,CAA4B,OAAO,CAAC,CAAC;AAC7E,QAAA,kBAAkB,GAAgB,0CAAoB,CAAwD,sBAAsB,CAAC,CAAC;AACtI,QAAA,sBAAsB,GAAgB,0CAAoB,CAAgE,2BAA2B,CAAC,CAAC;AACvJ,QAAA,aAAa,GAAgB,0CAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAClH,QAAA,aAAa,GAAgB,0CAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAClH,QAAA,QAAQ,GAAgB,0CAAoB,CAAoC,WAAW,CAAC,CAAC;AAC7F,QAAA,WAAW,GAAgB,0CAAoB,CAA0C,cAAc,CAAC,CAAC;AACzG,QAAA,aAAa,GAAgB,0CAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAClH,QAAA,eAAe,GAAgB,0CAAoB,CAAkD,mBAAmB,CAAC,CAAC"}
|
package/readme.md
CHANGED
|
@@ -152,10 +152,6 @@ import '@zanichelli/albe-web-components/www/build/web-components-library.css';
|
|
|
152
152
|
or via link tag:
|
|
153
153
|
|
|
154
154
|
```html
|
|
155
|
-
// using jsDelivr
|
|
156
|
-
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zanichelli/albe-web-components/www/build/web-components-library.css" />
|
|
157
|
-
|
|
158
|
-
// using unpkg
|
|
159
155
|
<link type="text/css" rel="stylesheet" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css" />
|
|
160
156
|
```
|
|
161
157
|
|
|
@@ -175,10 +171,6 @@ applyPolyfills().then(() => {
|
|
|
175
171
|
or via a script tag:
|
|
176
172
|
|
|
177
173
|
```html
|
|
178
|
-
// using jsDelivr
|
|
179
|
-
<script src="https://cdn.jsdelivr.net/npm/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script>
|
|
180
|
-
|
|
181
|
-
// using unpkg
|
|
182
174
|
<script src="https://unpkg.com/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script>
|
|
183
175
|
```
|
|
184
176
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
8
|
+
return module = {
|
|
9
|
+
path: basedir,
|
|
10
|
+
exports: {},
|
|
11
|
+
require: function (path, base) {
|
|
12
|
+
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
|
|
13
|
+
}
|
|
14
|
+
}, fn(module, module.exports), module.exports;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
18
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
22
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function getAugmentedNamespace(n) {
|
|
26
|
+
if (n.__esModule) return n;
|
|
27
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
28
|
+
Object.keys(n).forEach(function (k) {
|
|
29
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
30
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return n[k];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
return a;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function commonjsRequire () {
|
|
41
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { commonjsGlobal as a, createCommonjsModule as c, getDefaultExportFromCjs as g };
|