@zanichelli/albe-web-components 6.4.0 → 6.5.0-offcanvasTest2
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 +7 -0
- package/dist/cjs/{index-0b49c192.js → index-e3299e0a.js} +227 -213
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/{z-app-header_2.cjs.entry.js → z-app-header_3.cjs.entry.js} +56 -5
- package/dist/cjs/z-app-switcher_2.cjs.entry.js +1 -1
- package/dist/cjs/z-app-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-input_2.cjs.entry.js +2 -2
- package/dist/cjs/z-link.cjs.entry.js +1 -1
- package/dist/cjs/z-list_3.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.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 +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- 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/collection-manifest.json +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +2 -1
- package/dist/collection/components/inputs/z-input/styles.css +2 -2
- package/dist/collection/components/z-offcanvas/index.js +11 -14
- package/dist/collection/components/z-offcanvas/styles.css +10 -1
- package/dist/esm/{index-3517583d.js → index-a2ca4b97.js} +227 -213
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/{z-app-header_2.entry.js → z-app-header_3.entry.js} +56 -6
- package/dist/esm/z-app-switcher_2.entry.js +1 -1
- package/dist/esm/z-app-topbar.entry.js +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-divider.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +3 -2
- package/dist/esm/z-file.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-input_2.entry.js +2 -2
- package/dist/esm/z-link.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +1 -1
- package/dist/esm/z-menu-dropdown.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.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 +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/z-offcanvas/index.d.ts +0 -2
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/web-components-library/{p-82c03635.entry.js → p-009c9f67.entry.js} +1 -1
- package/{www/build/p-b2dc5cee.entry.js → dist/web-components-library/p-01f001fd.entry.js} +1 -1
- package/dist/web-components-library/{p-f2f9134b.entry.js → p-05ced71c.entry.js} +1 -1
- package/dist/web-components-library/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
- package/{www/build/p-852f3031.entry.js → dist/web-components-library/p-07e18572.entry.js} +1 -1
- package/dist/web-components-library/{p-25d2f10b.entry.js → p-0843b0e7.entry.js} +1 -1
- package/dist/web-components-library/{p-d0f719a2.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/dist/web-components-library/{p-11277636.entry.js → p-1b6279a6.entry.js} +1 -1
- package/dist/web-components-library/{p-f6b8bc8d.entry.js → p-1ba8d432.entry.js} +1 -1
- package/{www/build/p-29508ba1.entry.js → dist/web-components-library/p-20a3247c.entry.js} +1 -1
- package/dist/web-components-library/{p-c5056ee2.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/{p-45348cbc.entry.js → p-26f834e5.entry.js} +1 -1
- package/dist/web-components-library/{p-e7990dec.entry.js → p-279655eb.entry.js} +1 -1
- package/dist/web-components-library/{p-146d00a4.entry.js → p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/{p-be4dcede.entry.js → p-2d1b6c3c.entry.js} +1 -1
- package/dist/web-components-library/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
- package/dist/web-components-library/{p-6c63079c.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
- package/dist/web-components-library/{p-98f4fdb5.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/dist/web-components-library/{p-9aeb2e7a.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/dist/web-components-library/{p-33a1112a.entry.js → p-3a468aa9.entry.js} +1 -1
- package/dist/web-components-library/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
- package/dist/web-components-library/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
- package/dist/web-components-library/{p-dee7b19b.entry.js → p-3d9ecc23.entry.js} +1 -1
- package/dist/web-components-library/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
- package/dist/web-components-library/{p-2274996e.entry.js → p-411cbcd6.entry.js} +1 -1
- package/dist/web-components-library/{p-eddaa3ce.entry.js → p-475ca461.entry.js} +1 -1
- package/dist/web-components-library/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
- package/dist/web-components-library/{p-ea140c86.entry.js → p-51e308ca.entry.js} +1 -1
- package/dist/web-components-library/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
- package/dist/web-components-library/{p-481db363.entry.js → p-547d3b1f.entry.js} +1 -1
- package/dist/web-components-library/{p-78ff0efe.entry.js → p-59cfee8d.entry.js} +1 -1
- package/dist/web-components-library/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
- package/dist/web-components-library/{p-a9cf8d5a.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/dist/web-components-library/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
- package/dist/web-components-library/{p-fb45f2b0.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/{p-dcea5be3.entry.js → p-682528b2.entry.js} +1 -1
- package/dist/web-components-library/{p-8db62c1c.entry.js → p-6b1a5309.entry.js} +1 -1
- package/dist/web-components-library/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
- package/dist/web-components-library/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
- package/dist/web-components-library/{p-04e21cfc.entry.js → p-7af991f5.entry.js} +1 -1
- package/dist/web-components-library/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
- package/dist/web-components-library/{p-14088110.entry.js → p-8980398c.entry.js} +1 -1
- package/dist/web-components-library/{p-cb39beff.entry.js → p-8b960526.entry.js} +1 -1
- package/dist/web-components-library/{p-7191be2d.entry.js → p-8bf0844b.entry.js} +1 -1
- package/dist/web-components-library/{p-cc228556.entry.js → p-8c105bd1.entry.js} +1 -1
- package/{www/build/p-cabf67dc.entry.js → dist/web-components-library/p-8ffc17b7.entry.js} +1 -1
- package/dist/web-components-library/{p-309f0d89.entry.js → p-93dc6d51.entry.js} +1 -1
- package/dist/web-components-library/{p-8f8a9683.entry.js → p-95b8f109.entry.js} +1 -1
- package/dist/web-components-library/{p-d4f61a8f.entry.js → p-98c94e81.entry.js} +1 -1
- package/dist/web-components-library/{p-2808b914.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-bc28797e.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/{www/build/p-8a21c30e.entry.js → dist/web-components-library/p-9c338aeb.entry.js} +1 -1
- package/dist/web-components-library/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
- package/dist/web-components-library/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
- package/dist/web-components-library/{p-90f3dc7f.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/{p-23cf5ac4.entry.js → p-a2b67e2d.entry.js} +1 -1
- package/dist/web-components-library/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
- package/dist/web-components-library/{p-7c415bfe.entry.js → p-a82ea410.entry.js} +1 -1
- package/dist/web-components-library/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
- package/dist/web-components-library/{p-ddd1a2f9.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/{p-8709db71.entry.js → p-b33f5e6a.entry.js} +1 -1
- package/dist/web-components-library/{p-de98b941.entry.js → p-b6f36170.entry.js} +1 -1
- package/dist/web-components-library/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
- package/{www/build/p-2bf3dfd8.entry.js → dist/web-components-library/p-bdc6f2e5.entry.js} +1 -1
- package/dist/web-components-library/{p-822a2027.entry.js → p-beba3e67.entry.js} +1 -1
- package/dist/web-components-library/{p-c7fdb1ba.entry.js → p-c25b0b2a.entry.js} +1 -1
- package/dist/web-components-library/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
- package/dist/web-components-library/p-d17ebc2f.js +2 -0
- package/dist/web-components-library/p-e22ddf5e.entry.js +1 -0
- package/dist/web-components-library/{p-0a03d96b.entry.js → p-e40b16fa.entry.js} +1 -1
- package/dist/web-components-library/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/dist/web-components-library/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
- package/dist/web-components-library/{p-3e597061.entry.js → p-f0653e72.entry.js} +1 -1
- package/dist/web-components-library/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
- package/{www/build/p-406d605a.entry.js → dist/web-components-library/p-f20d1242.entry.js} +1 -1
- package/dist/web-components-library/p-f54f63e1.entry.js +1 -0
- package/dist/web-components-library/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/www/build/{p-82c03635.entry.js → p-009c9f67.entry.js} +1 -1
- package/{dist/web-components-library/p-b2dc5cee.entry.js → www/build/p-01f001fd.entry.js} +1 -1
- package/www/build/{p-f2f9134b.entry.js → p-05ced71c.entry.js} +1 -1
- package/www/build/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
- package/{dist/web-components-library/p-852f3031.entry.js → www/build/p-07e18572.entry.js} +1 -1
- package/www/build/{p-25d2f10b.entry.js → p-0843b0e7.entry.js} +1 -1
- package/www/build/{p-d0f719a2.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/www/build/{p-11277636.entry.js → p-1b6279a6.entry.js} +1 -1
- package/www/build/{p-f6b8bc8d.entry.js → p-1ba8d432.entry.js} +1 -1
- package/{dist/web-components-library/p-29508ba1.entry.js → www/build/p-20a3247c.entry.js} +1 -1
- package/www/build/{p-c5056ee2.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/{p-45348cbc.entry.js → p-26f834e5.entry.js} +1 -1
- package/www/build/{p-e7990dec.entry.js → p-279655eb.entry.js} +1 -1
- package/www/build/{p-146d00a4.entry.js → p-2acd6a51.entry.js} +1 -1
- package/www/build/{p-be4dcede.entry.js → p-2d1b6c3c.entry.js} +1 -1
- package/www/build/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
- package/www/build/{p-6c63079c.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
- package/www/build/{p-98f4fdb5.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/www/build/{p-9aeb2e7a.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/www/build/{p-33a1112a.entry.js → p-3a468aa9.entry.js} +1 -1
- package/www/build/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
- package/www/build/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
- package/www/build/{p-dee7b19b.entry.js → p-3d9ecc23.entry.js} +1 -1
- package/www/build/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
- package/www/build/{p-2274996e.entry.js → p-411cbcd6.entry.js} +1 -1
- package/www/build/{p-eddaa3ce.entry.js → p-475ca461.entry.js} +1 -1
- package/www/build/p-4b159cbd.css +1 -0
- package/www/build/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
- package/www/build/{p-ea140c86.entry.js → p-51e308ca.entry.js} +1 -1
- package/www/build/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
- package/www/build/{p-481db363.entry.js → p-547d3b1f.entry.js} +1 -1
- package/www/build/{p-78ff0efe.entry.js → p-59cfee8d.entry.js} +1 -1
- package/www/build/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
- package/www/build/{p-a9cf8d5a.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/www/build/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
- package/www/build/{p-fb45f2b0.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/{p-dcea5be3.entry.js → p-682528b2.entry.js} +1 -1
- package/www/build/{p-8db62c1c.entry.js → p-6b1a5309.entry.js} +1 -1
- package/www/build/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
- package/www/build/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
- package/www/build/{p-04e21cfc.entry.js → p-7af991f5.entry.js} +1 -1
- package/www/build/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
- package/www/build/{p-14088110.entry.js → p-8980398c.entry.js} +1 -1
- package/www/build/{p-cb39beff.entry.js → p-8b960526.entry.js} +1 -1
- package/www/build/{p-7191be2d.entry.js → p-8bf0844b.entry.js} +1 -1
- package/www/build/{p-cc228556.entry.js → p-8c105bd1.entry.js} +1 -1
- package/{dist/web-components-library/p-cabf67dc.entry.js → www/build/p-8ffc17b7.entry.js} +1 -1
- package/www/build/{p-309f0d89.entry.js → p-93dc6d51.entry.js} +1 -1
- package/www/build/{p-8f8a9683.entry.js → p-95b8f109.entry.js} +1 -1
- package/www/build/{p-d4f61a8f.entry.js → p-98c94e81.entry.js} +1 -1
- package/www/build/{p-2808b914.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-bc28797e.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/{dist/web-components-library/p-8a21c30e.entry.js → www/build/p-9c338aeb.entry.js} +1 -1
- package/www/build/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
- package/www/build/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
- package/www/build/{p-90f3dc7f.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/{p-23cf5ac4.entry.js → p-a2b67e2d.entry.js} +1 -1
- package/www/build/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
- package/www/build/{p-7c415bfe.entry.js → p-a82ea410.entry.js} +1 -1
- package/www/build/p-adb88e08.js +1 -0
- package/www/build/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
- package/www/build/{p-ddd1a2f9.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/{p-8709db71.entry.js → p-b33f5e6a.entry.js} +1 -1
- package/www/build/{p-de98b941.entry.js → p-b6f36170.entry.js} +1 -1
- package/www/build/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
- package/{dist/web-components-library/p-2bf3dfd8.entry.js → www/build/p-bdc6f2e5.entry.js} +1 -1
- package/www/build/{p-822a2027.entry.js → p-beba3e67.entry.js} +1 -1
- package/www/build/{p-c7fdb1ba.entry.js → p-c25b0b2a.entry.js} +1 -1
- package/www/build/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
- package/www/build/p-d17ebc2f.js +2 -0
- package/www/build/p-e22ddf5e.entry.js +1 -0
- package/www/build/{p-0a03d96b.entry.js → p-e40b16fa.entry.js} +1 -1
- package/www/build/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/www/build/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
- package/www/build/{p-3e597061.entry.js → p-f0653e72.entry.js} +1 -1
- package/www/build/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
- package/{dist/web-components-library/p-406d605a.entry.js → www/build/p-f20d1242.entry.js} +1 -1
- package/www/build/p-f54f63e1.entry.js +1 -0
- package/www/build/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +6 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +0 -60
- package/dist/esm/z-offcanvas.entry.js +0 -56
- package/dist/web-components-library/p-87942fb9.entry.js +0 -1
- package/dist/web-components-library/p-b366ef8e.js +0 -2
- package/dist/web-components-library/p-bffce318.entry.js +0 -1
- package/dist/web-components-library/p-e137a17f.entry.js +0 -1
- package/dist/web-components-library/p-e589999c.entry.js +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-87942fb9.entry.js +0 -1
- package/www/build/p-b366ef8e.js +0 -2
- package/www/build/p-bffce318.entry.js +0 -1
- package/www/build/p-e137a17f.entry.js +0 -1
- package/www/build/p-e2c6535b.js +0 -1
- package/www/build/p-e589999c.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
6
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{display:flex;width:100%;flex-direction:column;padding:0;border:none;margin:0;background-color:var(--gray900);cursor:pointer;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;max-width:200px;align-items:center;justify-content:flex-end}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{position:absolute;left:0;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:20px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;padding:calc(var(--space-unit) * 1.5 - 1px) 0;border-bottom:var(--border-base) solid var(--gray700);margin:0;white-space:nowrap}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{flex-direction:column;align-items:end;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);border-top:none}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{display:inline-flex;width:100%;min-width:32px;height:32px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;padding:0 calc(var(--space-unit) * 2);border-width:var(--border-size-medium);border-style:solid;border-color:var(--color-white);background-color:var(--color-white);border-radius:var(--border-radius);color:var(--gray800);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle}#guestbutton.inverse{border-color:var(--gray800);background-color:var(--gray800);color:var(--color-white)}.userfullname{overflow:hidden;width:100%;max-width:250px;padding:0;color:var(--color-white);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-sb);letter-spacing:0;line-height:24px;text-align:right;text-overflow:ellipsis}.userfullname.inverse{color:var(--gray800)}.useremail{overflow:hidden;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:16px;text-align:right;text-overflow:ellipsis}.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);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);margin-top:calc(var(--space-unit) / 2);background-color:var(--color-white);box-shadow:0 2px calc(var(--space-unit) * 0.5) 0 rgb(0 0 0 / 50%);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-flow:row nowrap;align-content:center;align-items:end;justify-content:flex-end}button.open{max-width:initial;padding-right:var(--space-unit);border-top:var(--border-size-small) solid var(--color-white);margin-left:var(--space-unit);background-color:var(--color-white);border-top-left-radius:calc(var(--space-unit) * 0.5);border-top-right-radius:calc(var(--space-unit) * 0.5)}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{width:auto;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:20px}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{max-width:none;color:var(--gray800);text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{box-sizing:border-box;padding-right:calc(var(--space-unit) * 3 - 2px)}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;width:100%;padding:0;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit);color:var(--gray800)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px);border-top:var(--border-base) solid var(--gray400)}}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ textarea,
|
|
|
21
21
|
border: var(--border-size-small) solid var(--color-surface04);
|
|
22
22
|
background: var(--color-input-field01);
|
|
23
23
|
border-radius: var(--border-radius-small);
|
|
24
|
-
color: var(--color-
|
|
24
|
+
color: var(--color-text01);
|
|
25
25
|
fill: var(--color-icon02);
|
|
26
26
|
font-family: var(--font-family-sans);
|
|
27
27
|
font-size: var(--font-size-3);
|
|
@@ -37,7 +37,7 @@ input:focus:focus-visible,
|
|
|
37
37
|
|
|
38
38
|
input:focus:focus-visible,
|
|
39
39
|
textarea:focus:focus-visible {
|
|
40
|
-
color: var(--color-
|
|
40
|
+
color: var(--color-primary02);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* FILLED */
|
|
@@ -16,22 +16,17 @@ export class ZOffcanvas {
|
|
|
16
16
|
/** open content transitioning in a specified direction left | right. Default: left */
|
|
17
17
|
this.transitiondirection = TransitionDirection.LEFT;
|
|
18
18
|
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
this.handleOpenStatus();
|
|
21
|
-
}
|
|
22
19
|
onOpenChanged() {
|
|
23
|
-
this.handleOpenStatus();
|
|
24
20
|
this.canvasOpenStatusChanged.emit(this.open);
|
|
25
21
|
}
|
|
26
|
-
handleOpenStatus() {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
22
|
+
// private handleOpenStatus(): void {
|
|
23
|
+
// if (this.open) {
|
|
24
|
+
// this.hostElement.style.display = "flex";
|
|
25
|
+
// } else if (this.variant === OffCanvasVariant.PUSHCONTENT) {
|
|
26
|
+
// this.hostElement.style.display = "none";
|
|
27
|
+
// document.body.style.overflowX = "hidden";
|
|
28
|
+
// }
|
|
29
|
+
// }
|
|
35
30
|
handleAnimationEnd() {
|
|
36
31
|
if (this.hostElement.hasAttribute("open")) {
|
|
37
32
|
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
@@ -42,7 +37,9 @@ export class ZOffcanvas {
|
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
render() {
|
|
45
|
-
return (h(Host,
|
|
40
|
+
return (h(Host, { class: {
|
|
41
|
+
"display-flex": this.open,
|
|
42
|
+
} }, h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content" }, h("slot", { name: "canvasContent" }))), h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => (this.open = false) })));
|
|
46
43
|
}
|
|
47
44
|
static get is() { return "z-offcanvas"; }
|
|
48
45
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,6 +8,15 @@
|
|
|
8
8
|
justify-content: end;
|
|
9
9
|
font-family: var(--font-family-sans);
|
|
10
10
|
font-weight: var(--font-rg);
|
|
11
|
+
background-color: green;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host.display-flex {
|
|
15
|
+
display: flex;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host .canvas-container .canvas-content:focus {
|
|
19
|
+
background-color: aqua;
|
|
11
20
|
}
|
|
12
21
|
|
|
13
22
|
.canvas-container {
|
|
@@ -17,7 +26,7 @@
|
|
|
17
26
|
min-width: 100%;
|
|
18
27
|
height: 100%;
|
|
19
28
|
flex-direction: column;
|
|
20
|
-
background:
|
|
29
|
+
background: red;
|
|
21
30
|
transform: translateX(100%);
|
|
22
31
|
}
|
|
23
32
|
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'web-components-library';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -8,67 +16,6 @@ let checkSlotFallbackVisibility = false;
|
|
|
8
16
|
let checkSlotRelocate = false;
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let queuePending = false;
|
|
11
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
12
|
-
const doc = win.document || { head: {} };
|
|
13
|
-
const plt = {
|
|
14
|
-
$flags$: 0,
|
|
15
|
-
$resourcesUrl$: '',
|
|
16
|
-
jmp: (h) => h(),
|
|
17
|
-
raf: (h) => requestAnimationFrame(h),
|
|
18
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
|
-
};
|
|
22
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
|
-
try {
|
|
25
|
-
new CSSStyleSheet();
|
|
26
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
return false;
|
|
30
|
-
})()
|
|
31
|
-
;
|
|
32
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
33
|
-
if (listeners) {
|
|
34
|
-
listeners.map(([flags, name, method]) => {
|
|
35
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
36
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
37
|
-
const opts = hostListenerOpts(flags);
|
|
38
|
-
plt.ael(target, name, handler, opts);
|
|
39
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
44
|
-
try {
|
|
45
|
-
{
|
|
46
|
-
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
47
|
-
// instance is ready, let's call it's member method for this event
|
|
48
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (e) {
|
|
56
|
-
consoleError(e);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
60
|
-
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
61
|
-
return doc;
|
|
62
|
-
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
63
|
-
return win;
|
|
64
|
-
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
65
|
-
return doc.body;
|
|
66
|
-
return elm;
|
|
67
|
-
};
|
|
68
|
-
// prettier-ignore
|
|
69
|
-
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
70
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
71
|
-
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
72
19
|
const createTime = (fnName, tagName = '') => {
|
|
73
20
|
{
|
|
74
21
|
return () => {
|
|
@@ -83,79 +30,8 @@ const uniqueTime = (key, measureText) => {
|
|
|
83
30
|
};
|
|
84
31
|
}
|
|
85
32
|
};
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
let style = styles.get(scopeId);
|
|
89
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
90
|
-
style = (style || new CSSStyleSheet());
|
|
91
|
-
if (typeof style === 'string') {
|
|
92
|
-
style = cssText;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
style.replaceSync(cssText);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
style = cssText;
|
|
100
|
-
}
|
|
101
|
-
styles.set(scopeId, style);
|
|
102
|
-
};
|
|
103
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
104
|
-
let scopeId = getScopeId(cmpMeta);
|
|
105
|
-
const style = styles.get(scopeId);
|
|
106
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
107
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
108
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
109
|
-
if (style) {
|
|
110
|
-
if (typeof style === 'string') {
|
|
111
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
112
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
113
|
-
let styleElm;
|
|
114
|
-
if (!appliedStyles) {
|
|
115
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
116
|
-
}
|
|
117
|
-
if (!appliedStyles.has(scopeId)) {
|
|
118
|
-
{
|
|
119
|
-
{
|
|
120
|
-
styleElm = doc.createElement('style');
|
|
121
|
-
styleElm.innerHTML = style;
|
|
122
|
-
}
|
|
123
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
124
|
-
}
|
|
125
|
-
if (appliedStyles) {
|
|
126
|
-
appliedStyles.add(scopeId);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
131
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return scopeId;
|
|
135
|
-
};
|
|
136
|
-
const attachStyles = (hostRef) => {
|
|
137
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
138
|
-
const elm = hostRef.$hostElement$;
|
|
139
|
-
const flags = cmpMeta.$flags$;
|
|
140
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
141
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
142
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
143
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
144
|
-
// or this browser doesn't support native shadow dom
|
|
145
|
-
// and this host element was NOT created with SSR
|
|
146
|
-
// let's pick out the inner content for slot projection
|
|
147
|
-
// create a node to represent where the original
|
|
148
|
-
// content was first placed, which is useful later on
|
|
149
|
-
// DOM WRITE!!
|
|
150
|
-
elm['s-sc'] = scopeId;
|
|
151
|
-
elm.classList.add(scopeId + '-h');
|
|
152
|
-
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
153
|
-
elm.classList.add(scopeId + '-s');
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
endAttachStyles();
|
|
157
|
-
};
|
|
158
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
33
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
34
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
159
35
|
/**
|
|
160
36
|
* Default style mode id
|
|
161
37
|
*/
|
|
@@ -270,6 +146,152 @@ const newVNode = (tag, text) => {
|
|
|
270
146
|
};
|
|
271
147
|
const Host = {};
|
|
272
148
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
149
|
+
/**
|
|
150
|
+
* Parse a new property value for a given property type.
|
|
151
|
+
*
|
|
152
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
153
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
154
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
155
|
+
* 2. the type stored from `propType`.
|
|
156
|
+
*
|
|
157
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
158
|
+
*
|
|
159
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
160
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
161
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
162
|
+
* ```tsx
|
|
163
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* HTML prop values on the other hand, will always a string
|
|
167
|
+
*
|
|
168
|
+
* @param propValue the new value to coerce to some type
|
|
169
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
170
|
+
* @returns the parsed/coerced value
|
|
171
|
+
*/
|
|
172
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
173
|
+
// ensure this value is of the correct prop type
|
|
174
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
175
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
176
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
177
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
178
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
179
|
+
}
|
|
180
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
181
|
+
// force it to be a number
|
|
182
|
+
return parseFloat(propValue);
|
|
183
|
+
}
|
|
184
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
185
|
+
// could have been passed as a number or boolean
|
|
186
|
+
// but we still want it as a string
|
|
187
|
+
return String(propValue);
|
|
188
|
+
}
|
|
189
|
+
// redundant return here for better minification
|
|
190
|
+
return propValue;
|
|
191
|
+
}
|
|
192
|
+
// not sure exactly what type we want
|
|
193
|
+
// so no need to change to a different type
|
|
194
|
+
return propValue;
|
|
195
|
+
};
|
|
196
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
197
|
+
const createEvent = (ref, name, flags) => {
|
|
198
|
+
const elm = getElement(ref);
|
|
199
|
+
return {
|
|
200
|
+
emit: (detail) => {
|
|
201
|
+
return emitEvent(elm, name, {
|
|
202
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
203
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
204
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
205
|
+
detail,
|
|
206
|
+
});
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
212
|
+
* @param elm the target of the Event
|
|
213
|
+
* @param name the name to give the custom Event
|
|
214
|
+
* @param opts options for configuring a custom Event
|
|
215
|
+
* @returns the custom Event
|
|
216
|
+
*/
|
|
217
|
+
const emitEvent = (elm, name, opts) => {
|
|
218
|
+
const ev = plt.ce(name, opts);
|
|
219
|
+
elm.dispatchEvent(ev);
|
|
220
|
+
return ev;
|
|
221
|
+
};
|
|
222
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
223
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
224
|
+
let style = styles.get(scopeId);
|
|
225
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
226
|
+
style = (style || new CSSStyleSheet());
|
|
227
|
+
if (typeof style === 'string') {
|
|
228
|
+
style = cssText;
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
style.replaceSync(cssText);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
style = cssText;
|
|
236
|
+
}
|
|
237
|
+
styles.set(scopeId, style);
|
|
238
|
+
};
|
|
239
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
240
|
+
let scopeId = getScopeId(cmpMeta);
|
|
241
|
+
const style = styles.get(scopeId);
|
|
242
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
243
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
244
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
245
|
+
if (style) {
|
|
246
|
+
if (typeof style === 'string') {
|
|
247
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
248
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
249
|
+
let styleElm;
|
|
250
|
+
if (!appliedStyles) {
|
|
251
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
252
|
+
}
|
|
253
|
+
if (!appliedStyles.has(scopeId)) {
|
|
254
|
+
{
|
|
255
|
+
{
|
|
256
|
+
styleElm = doc.createElement('style');
|
|
257
|
+
styleElm.innerHTML = style;
|
|
258
|
+
}
|
|
259
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
260
|
+
}
|
|
261
|
+
if (appliedStyles) {
|
|
262
|
+
appliedStyles.add(scopeId);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
267
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return scopeId;
|
|
271
|
+
};
|
|
272
|
+
const attachStyles = (hostRef) => {
|
|
273
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
274
|
+
const elm = hostRef.$hostElement$;
|
|
275
|
+
const flags = cmpMeta.$flags$;
|
|
276
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
277
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
278
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
279
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
280
|
+
// or this browser doesn't support native shadow dom
|
|
281
|
+
// and this host element was NOT created with SSR
|
|
282
|
+
// let's pick out the inner content for slot projection
|
|
283
|
+
// create a node to represent where the original
|
|
284
|
+
// content was first placed, which is useful later on
|
|
285
|
+
// DOM WRITE!!
|
|
286
|
+
elm['s-sc'] = scopeId;
|
|
287
|
+
elm.classList.add(scopeId + '-h');
|
|
288
|
+
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
289
|
+
elm.classList.add(scopeId + '-s');
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
endAttachStyles();
|
|
293
|
+
};
|
|
294
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
273
295
|
/**
|
|
274
296
|
* Production setAccessor() function based on Preact by
|
|
275
297
|
* Jason Miller (@developit)
|
|
@@ -1194,32 +1216,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1194
1216
|
relocateNodes.length = 0;
|
|
1195
1217
|
}
|
|
1196
1218
|
};
|
|
1197
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1198
|
-
const createEvent = (ref, name, flags) => {
|
|
1199
|
-
const elm = getElement(ref);
|
|
1200
|
-
return {
|
|
1201
|
-
emit: (detail) => {
|
|
1202
|
-
return emitEvent(elm, name, {
|
|
1203
|
-
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1204
|
-
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1205
|
-
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1206
|
-
detail,
|
|
1207
|
-
});
|
|
1208
|
-
},
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
/**
|
|
1212
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1213
|
-
* @param elm the target of the Event
|
|
1214
|
-
* @param name the name to give the custom Event
|
|
1215
|
-
* @param opts options for configuring a custom Event
|
|
1216
|
-
* @returns the custom Event
|
|
1217
|
-
*/
|
|
1218
|
-
const emitEvent = (elm, name, opts) => {
|
|
1219
|
-
const ev = plt.ce(name, opts);
|
|
1220
|
-
elm.dispatchEvent(ev);
|
|
1221
|
-
return ev;
|
|
1222
|
-
};
|
|
1223
1219
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1224
1220
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1225
1221
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1402,53 +1398,6 @@ const then = (promise, thenFn) => {
|
|
|
1402
1398
|
};
|
|
1403
1399
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1404
1400
|
;
|
|
1405
|
-
/**
|
|
1406
|
-
* Parse a new property value for a given property type.
|
|
1407
|
-
*
|
|
1408
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1409
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1410
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1411
|
-
* 2. the type stored from `propType`.
|
|
1412
|
-
*
|
|
1413
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1414
|
-
*
|
|
1415
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1416
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1417
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1418
|
-
* ```tsx
|
|
1419
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1420
|
-
* ```
|
|
1421
|
-
*
|
|
1422
|
-
* HTML prop values on the other hand, will always a string
|
|
1423
|
-
*
|
|
1424
|
-
* @param propValue the new value to coerce to some type
|
|
1425
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1426
|
-
* @returns the parsed/coerced value
|
|
1427
|
-
*/
|
|
1428
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1429
|
-
// ensure this value is of the correct prop type
|
|
1430
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1431
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1432
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1433
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1434
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1435
|
-
}
|
|
1436
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1437
|
-
// force it to be a number
|
|
1438
|
-
return parseFloat(propValue);
|
|
1439
|
-
}
|
|
1440
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1441
|
-
// could have been passed as a number or boolean
|
|
1442
|
-
// but we still want it as a string
|
|
1443
|
-
return String(propValue);
|
|
1444
|
-
}
|
|
1445
|
-
// redundant return here for better minification
|
|
1446
|
-
return propValue;
|
|
1447
|
-
}
|
|
1448
|
-
// not sure exactly what type we want
|
|
1449
|
-
// so no need to change to a different type
|
|
1450
|
-
return propValue;
|
|
1451
|
-
};
|
|
1452
1401
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1453
1402
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1454
1403
|
// check our new property value against our internal value
|
|
@@ -1492,6 +1441,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1492
1441
|
}
|
|
1493
1442
|
}
|
|
1494
1443
|
};
|
|
1444
|
+
/**
|
|
1445
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1446
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1447
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1448
|
+
*
|
|
1449
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1450
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1451
|
+
* @param flags a number used to store a series of bit flags
|
|
1452
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1453
|
+
*/
|
|
1495
1454
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1496
1455
|
if (cmpMeta.$members$) {
|
|
1497
1456
|
if (Cstr.watchers) {
|
|
@@ -1855,6 +1814,44 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1855
1814
|
// Fallback appLoad event
|
|
1856
1815
|
endBootstrap();
|
|
1857
1816
|
};
|
|
1817
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1818
|
+
if (listeners) {
|
|
1819
|
+
listeners.map(([flags, name, method]) => {
|
|
1820
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
1821
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
1822
|
+
const opts = hostListenerOpts(flags);
|
|
1823
|
+
plt.ael(target, name, handler, opts);
|
|
1824
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1825
|
+
});
|
|
1826
|
+
}
|
|
1827
|
+
};
|
|
1828
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1829
|
+
try {
|
|
1830
|
+
{
|
|
1831
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
1832
|
+
// instance is ready, let's call it's member method for this event
|
|
1833
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
1834
|
+
}
|
|
1835
|
+
else {
|
|
1836
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
catch (e) {
|
|
1841
|
+
consoleError(e);
|
|
1842
|
+
}
|
|
1843
|
+
};
|
|
1844
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
1845
|
+
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
1846
|
+
return doc;
|
|
1847
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
1848
|
+
return win;
|
|
1849
|
+
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
1850
|
+
return doc.body;
|
|
1851
|
+
return elm;
|
|
1852
|
+
};
|
|
1853
|
+
// prettier-ignore
|
|
1854
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1858
1855
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1859
1856
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1860
1857
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -1895,10 +1892,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1895
1892
|
}
|
|
1896
1893
|
switch(bundleId) {
|
|
1897
1894
|
|
|
1898
|
-
case 'z-app-
|
|
1895
|
+
case 'z-app-header_3':
|
|
1899
1896
|
return import(
|
|
1900
1897
|
/* webpackMode: "lazy" */
|
|
1901
|
-
'./z-app-
|
|
1898
|
+
'./z-app-header_3.entry.js').then(processMod, consoleError);
|
|
1902
1899
|
case 'z-anchor-navigation':
|
|
1903
1900
|
return import(
|
|
1904
1901
|
/* webpackMode: "lazy" */
|
|
@@ -2031,10 +2028,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2031
2028
|
return import(
|
|
2032
2029
|
/* webpackMode: "lazy" */
|
|
2033
2030
|
'./z-notification.entry.js').then(processMod, consoleError);
|
|
2034
|
-
case 'z-offcanvas':
|
|
2035
|
-
return import(
|
|
2036
|
-
/* webpackMode: "lazy" */
|
|
2037
|
-
'./z-offcanvas.entry.js').then(processMod, consoleError);
|
|
2038
2031
|
case 'z-otp':
|
|
2039
2032
|
return import(
|
|
2040
2033
|
/* webpackMode: "lazy" */
|
|
@@ -2234,6 +2227,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2234
2227
|
}, consoleError);
|
|
2235
2228
|
};
|
|
2236
2229
|
const styles = /*@__PURE__*/ new Map();
|
|
2230
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
2231
|
+
const doc = win.document || { head: {} };
|
|
2232
|
+
const plt = {
|
|
2233
|
+
$flags$: 0,
|
|
2234
|
+
$resourcesUrl$: '',
|
|
2235
|
+
jmp: (h) => h(),
|
|
2236
|
+
raf: (h) => requestAnimationFrame(h),
|
|
2237
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
2238
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2239
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2240
|
+
};
|
|
2241
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
2242
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2243
|
+
try {
|
|
2244
|
+
new CSSStyleSheet();
|
|
2245
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
2246
|
+
}
|
|
2247
|
+
catch (e) { }
|
|
2248
|
+
return false;
|
|
2249
|
+
})()
|
|
2250
|
+
;
|
|
2237
2251
|
const queueDomReads = [];
|
|
2238
2252
|
const queueDomWrites = [];
|
|
2239
2253
|
const queueTask = (queue, write) => (cb) => {
|