@zanichelli/delta_share 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{icons-5006d741.js → icons-6d7ce4fc.js} +81 -0
- package/dist/wc/cjs/{index-c0af2262.js → index-029f1a7e.js} +0 -1
- package/dist/wc/cjs/{index-8da01bc6.js → index-0c6fe5a8.js} +3 -3
- package/dist/wc/cjs/{index-044ebc8a.js → index-1a5d1f46.js} +4 -4
- package/dist/wc/cjs/{index-05a1b9dc.js → index-2bd3ba9a.js} +7 -3
- package/dist/wc/cjs/{index-a9a1f262.js → index-2cac2542.js} +4 -4
- package/dist/wc/cjs/{index-4a04e2aa.js → index-32a6c022.js} +1 -1
- package/dist/wc/cjs/{index-0119322e.js → index-42c0b32c.js} +1 -1
- package/dist/wc/cjs/{index-47449986.js → index-5da586ad.js} +3 -3
- package/dist/wc/cjs/{index-9886a665.js → index-6d707e7c.js} +2 -2
- package/dist/wc/cjs/{index-db42857f.js → index-77820e6c.js} +1 -1
- package/dist/wc/cjs/{index-f4792a6f.js → index-7b42e7ce.js} +1 -1
- package/dist/wc/cjs/{index-f824355b.js → index-903cb132.js} +1 -1
- package/dist/wc/cjs/{index-732ae62f.js → index-9ad9039f.js} +2 -2
- package/dist/wc/cjs/{index-18a2a552.js → index-a8dfd3f3.js} +7 -3
- package/dist/wc/cjs/{index-6d0848b5.js → index-d6d2e8ac.js} +2 -2
- package/dist/wc/cjs/{index-81603b4a.js → index-e5699190.js} +2 -2
- package/dist/wc/cjs/{index-51009bcf.js → index-ef01acde.js} +2 -2
- package/dist/wc/cjs/{index-9ca7d5e5.js → index-fd6e6c28.js} +8 -0
- package/dist/wc/cjs/{license-activation_11.cjs.entry.js → license-activation_10.cjs.entry.js} +58 -119
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/{utils-f2cac0dc.js → utils-1ed1ec98.js} +1 -1
- package/dist/wc/cjs/{utils-8fd01df0.js → utils-43a3deb6.js} +1 -1
- package/dist/wc/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-app-header.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-avatar.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-book-card.cjs.entry.js +21 -6
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-card.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-carousel.cjs.entry.js +7 -3
- package/dist/wc/cjs/z-chip.cjs.entry.js +9 -17
- package/dist/wc/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-file.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-link.cjs.entry.js +74 -0
- package/dist/wc/cjs/z-list_3.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +10 -7
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +137 -106
- package/dist/wc/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-pagination.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +7 -3
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-popover.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +25 -7
- package/dist/wc/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-select.cjs.entry.js +7 -8
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +13 -5
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-body.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +14 -14
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-head.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-header.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-table-row.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-td.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-th.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-tr.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +0 -3
- package/dist/wc/collection/components/license-activation/license-activation.js +14 -13
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +11 -4
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +14 -38
- package/dist/wc/custom-elements/index.js +547 -435
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-0365fad8.entry.js +1 -0
- package/dist/wc/delta_share/{p-6d888c61.js → p-042bd3f6.js} +1 -1
- package/dist/wc/delta_share/{p-699d0efb.entry.js → p-059e9ee0.entry.js} +1 -1
- package/dist/wc/delta_share/p-05c9d96f.entry.js +1 -0
- package/dist/wc/delta_share/{p-578f4d61.entry.js → p-065a8ef6.entry.js} +1 -1
- package/dist/wc/delta_share/{p-fff3f7a2.entry.js → p-08af13db.entry.js} +1 -1
- package/dist/wc/delta_share/{p-a7afd1e8.entry.js → p-09de99b2.entry.js} +1 -1
- package/dist/wc/delta_share/p-0e74cc07.entry.js +1 -0
- package/dist/wc/delta_share/{p-9e5596cd.entry.js → p-105ddd7d.entry.js} +1 -1
- package/dist/wc/delta_share/p-112478b5.js +1 -0
- package/dist/wc/delta_share/p-1553bc63.entry.js +1 -0
- package/dist/wc/delta_share/{p-e849b3b3.entry.js → p-16e61c27.entry.js} +1 -1
- package/dist/wc/delta_share/p-172a32d0.entry.js +1 -0
- package/dist/wc/delta_share/{p-30b524e2.entry.js → p-18ac49f8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e9fa5c23.js → p-18fcc8c7.js} +1 -1
- package/dist/wc/delta_share/p-1c37c8f2.js +1 -0
- package/dist/wc/delta_share/{p-9c3fcef2.entry.js → p-1e9b4693.entry.js} +1 -1
- package/dist/wc/delta_share/{p-bc10cf1a.entry.js → p-2439bd5d.entry.js} +1 -1
- package/dist/wc/delta_share/p-293a7ee2.entry.js +1 -0
- package/dist/wc/delta_share/{p-bcb29c7a.entry.js → p-2a4fe864.entry.js} +1 -1
- package/dist/wc/delta_share/p-2b4c3aab.js +1 -0
- package/dist/wc/delta_share/{p-db957062.entry.js → p-2ca8ccb2.entry.js} +1 -1
- package/dist/wc/delta_share/p-2ed166b8.entry.js +1 -0
- package/dist/wc/delta_share/p-319c1a3e.entry.js +1 -0
- package/dist/wc/delta_share/{p-f6bd0767.js → p-37c5c92e.js} +1 -1
- package/dist/wc/delta_share/p-3984a6c2.entry.js +1 -0
- package/dist/wc/delta_share/p-3b3f83a6.entry.js +1 -0
- package/dist/wc/delta_share/{p-a815651c.entry.js → p-3fac6e84.entry.js} +1 -1
- package/dist/wc/delta_share/p-4018719d.entry.js +1 -0
- package/dist/wc/delta_share/{p-46e4fe9d.entry.js → p-44d6f07c.entry.js} +1 -1
- package/dist/wc/delta_share/{p-74027654.js → p-47ec520c.js} +1 -1
- package/dist/wc/delta_share/p-47f3e677.js +1 -0
- package/dist/wc/delta_share/{p-06fa5b43.entry.js → p-4a51a3c6.entry.js} +1 -1
- package/dist/wc/delta_share/p-4b2719fc.entry.js +1 -0
- package/dist/wc/delta_share/{p-776a9611.entry.js → p-4c9ec16c.entry.js} +1 -1
- package/dist/wc/delta_share/p-4ff6d958.entry.js +1 -0
- package/dist/wc/delta_share/p-536412c7.entry.js +1 -0
- package/dist/wc/delta_share/{p-d91beeb4.js → p-551bf917.js} +1 -1
- package/dist/wc/delta_share/{p-6619cb5a.entry.js → p-57a1a7a3.entry.js} +1 -1
- package/dist/wc/delta_share/{p-5f021095.js → p-58991db7.js} +1 -1
- package/dist/wc/delta_share/p-595c8d39.entry.js +1 -0
- package/dist/wc/delta_share/{p-589b8717.js → p-5989869c.js} +1 -1
- package/dist/wc/delta_share/p-5f97902c.entry.js +1 -0
- package/dist/wc/delta_share/{p-3e66faf7.entry.js → p-6658206d.entry.js} +1 -1
- package/dist/wc/delta_share/p-67f03907.entry.js +1 -0
- package/dist/wc/delta_share/{p-8b3b862c.js → p-69d9835f.js} +1 -1
- package/dist/wc/delta_share/p-6bd46452.entry.js +1 -0
- package/dist/wc/delta_share/p-6be926f4.js +1 -0
- package/dist/wc/delta_share/p-6cb698e0.entry.js +1 -0
- package/dist/wc/delta_share/{p-93504934.entry.js → p-6e8df0ae.entry.js} +1 -1
- package/dist/wc/delta_share/p-6f95cb22.entry.js +1 -0
- package/dist/wc/delta_share/p-7142f1dc.entry.js +1 -0
- package/dist/wc/delta_share/p-7b00c3b1.entry.js +1 -0
- package/dist/wc/delta_share/{p-81a1b7cc.entry.js → p-7b668937.entry.js} +1 -1
- package/dist/wc/delta_share/{p-09fe90e6.entry.js → p-7cb2f788.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8710e686.entry.js → p-82630451.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c86f3f18.entry.js → p-84a8b959.entry.js} +1 -1
- package/dist/wc/delta_share/p-84e4e924.entry.js +1 -0
- package/dist/wc/delta_share/{p-829539a5.entry.js → p-8650dcb7.entry.js} +1 -1
- package/dist/wc/delta_share/p-8a0d51f7.entry.js +1 -0
- package/dist/wc/delta_share/{p-71af40a8.entry.js → p-8f286d70.entry.js} +1 -1
- package/dist/wc/delta_share/p-8f38cd92.entry.js +1 -0
- package/dist/wc/delta_share/{p-31922918.entry.js → p-8f6424ca.entry.js} +1 -1
- package/dist/wc/delta_share/p-9263ba36.entry.js +3 -0
- package/dist/wc/delta_share/p-96f53236.entry.js +1 -0
- package/dist/wc/delta_share/p-9ef9046f.entry.js +1 -0
- package/dist/wc/delta_share/p-9faa9434.entry.js +1 -0
- package/dist/wc/delta_share/{p-627de5ca.entry.js → p-a051e83a.entry.js} +1 -1
- package/dist/wc/delta_share/{p-d57e2650.entry.js → p-a14153cc.entry.js} +1 -1
- package/dist/wc/delta_share/p-a3dc62bb.js +1 -0
- package/dist/wc/delta_share/p-aa8f533e.entry.js +1 -0
- package/dist/wc/delta_share/p-ab6dbdae.entry.js +1 -0
- package/dist/wc/delta_share/p-aeec6792.entry.js +1 -0
- package/dist/wc/delta_share/p-af60173c.entry.js +1 -0
- package/dist/wc/delta_share/p-bb15cf8b.entry.js +1 -0
- package/dist/wc/delta_share/p-c0ccd95c.entry.js +1 -0
- package/dist/wc/delta_share/p-c1b16c6e.entry.js +1 -0
- package/dist/wc/delta_share/p-c5f5fb78.entry.js +1 -0
- package/dist/wc/delta_share/p-c64950a2.entry.js +1 -0
- package/dist/wc/delta_share/p-c7678d37.js +1 -0
- package/dist/wc/delta_share/{p-ca0ad68e.entry.js → p-ce115f77.entry.js} +1 -1
- package/dist/wc/delta_share/{p-86dfdccc.js → p-d1062520.js} +1 -1
- package/dist/wc/delta_share/{p-1b8b3092.entry.js → p-d231964b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-057858cb.entry.js → p-d4fbf66b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c176a537.js → p-d50ea6ea.js} +1 -1
- package/dist/wc/delta_share/p-d52d3e5c.js +1 -0
- package/dist/wc/delta_share/p-d6eef1ed.entry.js +1 -0
- package/dist/wc/delta_share/p-d888ec2a.entry.js +1 -0
- package/dist/wc/delta_share/p-db7371fa.entry.js +1 -0
- package/dist/wc/delta_share/p-dd409bfb.js +1 -0
- package/dist/wc/delta_share/p-df6ae14f.js +1 -0
- package/dist/wc/delta_share/{p-4eb940ca.entry.js → p-e182b6dc.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ce9c796f.entry.js → p-e7f23a1e.entry.js} +1 -1
- package/dist/wc/delta_share/p-ebd0e41d.entry.js +1 -0
- package/dist/wc/delta_share/{p-0bff6d57.entry.js → p-eddfcccc.entry.js} +1 -1
- package/dist/wc/delta_share/{p-55924409.entry.js → p-f77ae63f.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e47768ad.entry.js → p-f8091230.entry.js} +1 -1
- package/dist/wc/delta_share/p-f894f849.entry.js +1 -0
- package/dist/wc/delta_share/p-f903c87f.entry.js +1 -0
- package/dist/wc/delta_share/p-fe486d84.entry.js +1 -0
- package/dist/wc/delta_share/p-fe53cbde.entry.js +1 -0
- package/dist/wc/delta_share/p-ff24a080.js +1 -0
- package/dist/wc/delta_share/p-ff98ef8e.entry.js +1 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/{icons-5cd8a05c.js → icons-6196a79a.js} +81 -0
- package/dist/wc/esm/{index-23578879.js → index-0cf1e7ae.js} +1 -1
- package/dist/wc/esm/{index-474bdeac.js → index-2a8923e8.js} +1 -1
- package/dist/wc/esm/{index-8304b962.js → index-2ae14d02.js} +4 -4
- package/dist/wc/esm/{index-b3a91e19.js → index-396432db.js} +8 -0
- package/dist/wc/esm/index-48b6c0e6.js +15 -0
- package/dist/wc/esm/{index-a4bf756b.js → index-5445c84d.js} +2 -2
- package/dist/wc/esm/{index-7ab3efeb.js → index-6642fa3a.js} +1 -1
- package/dist/wc/esm/{index-4cbd9bd5.js → index-81516a9a.js} +1 -1
- package/dist/wc/esm/{index-6b9f0af9.js → index-9d240d39.js} +1 -2
- package/dist/wc/esm/{index-a4c6be93.js → index-b6d67648.js} +3 -3
- package/dist/wc/esm/{index-01c34720.js → index-be084691.js} +4 -4
- package/dist/wc/esm/{index-a9ad9a02.js → index-c3e3c74b.js} +7 -3
- package/dist/wc/esm/{index-8c51661a.js → index-c74188e2.js} +2 -2
- package/dist/wc/esm/{index-fcff2847.js → index-c8e57c08.js} +2 -2
- package/dist/wc/esm/{index-d0687862.js → index-cbe7ef0a.js} +2 -2
- package/dist/wc/esm/{index-be1fa551.js → index-df217b14.js} +3 -3
- package/dist/wc/esm/{index-2dfebd9d.js → index-e14dd015.js} +1 -1
- package/dist/wc/esm/{index-5ee15750.js → index-ea60f2c2.js} +7 -3
- package/dist/wc/esm/{license-activation_11.entry.js → license-activation_10.entry.js} +59 -119
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/{utils-e64576be.js → utils-5e6dc3fe.js} +1 -1
- package/dist/wc/esm/{utils-90d51f4b.js → utils-bc5ea6f7.js} +1 -1
- package/dist/wc/esm/z-accordion.entry.js +3 -3
- package/dist/wc/esm/z-alert.entry.js +1 -1
- package/dist/wc/esm/z-anchor-navigation.entry.js +2 -2
- package/dist/wc/esm/z-app-header.entry.js +4 -4
- package/dist/wc/esm/z-aria-alert.entry.js +2 -2
- package/dist/wc/esm/z-avatar.entry.js +5 -5
- package/dist/wc/esm/z-book-card.entry.js +21 -6
- package/dist/wc/esm/z-breadcrumb.entry.js +4 -4
- package/dist/wc/esm/z-button-sort.entry.js +3 -3
- package/dist/wc/esm/z-card.entry.js +3 -3
- package/dist/wc/esm/z-carousel.entry.js +7 -3
- package/dist/wc/esm/z-chip.entry.js +9 -17
- package/dist/wc/esm/z-combobox.entry.js +4 -4
- package/dist/wc/esm/z-contextual-menu.entry.js +2 -2
- package/dist/wc/esm/z-cover-hero.entry.js +2 -2
- package/dist/wc/esm/z-date-picker.entry.js +3 -3
- package/dist/wc/esm/z-divider.entry.js +2 -2
- package/dist/wc/esm/z-dragdrop-area.entry.js +1 -1
- package/dist/wc/esm/z-file-upload.entry.js +3 -3
- package/dist/wc/esm/z-file.entry.js +2 -2
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +2 -2
- package/dist/wc/esm/z-link.entry.js +70 -0
- package/dist/wc/esm/z-list_3.entry.js +3 -3
- package/dist/wc/esm/z-logo.entry.js +1 -1
- package/dist/wc/esm/z-menu-section.entry.js +1 -1
- package/dist/wc/esm/z-menu.entry.js +2 -2
- package/dist/wc/esm/z-messages-pocket.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-info.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-list.entry.js +2 -2
- package/dist/wc/esm/z-myz-card_4.entry.js +4 -4
- package/dist/wc/esm/z-myz-list-item.entry.js +4 -4
- package/dist/wc/esm/z-myz-list.entry.js +1 -1
- package/dist/wc/esm/z-navigation-tab-link.entry.js +10 -7
- package/dist/wc/esm/z-navigation-tab.entry.js +7 -7
- package/dist/wc/esm/z-navigation-tabs.entry.js +137 -106
- package/dist/wc/esm/z-notification.entry.js +1 -1
- package/dist/wc/esm/z-offcanvas_2.entry.js +4 -4
- package/dist/wc/esm/z-otp.entry.js +2 -2
- package/dist/wc/esm/z-pagination.entry.js +3 -3
- package/dist/wc/esm/z-panel-elem.entry.js +7 -3
- package/dist/wc/esm/z-pocket-message.entry.js +1 -1
- package/dist/wc/esm/z-pocket_3.entry.js +3 -3
- package/dist/wc/esm/z-popover.entry.js +4 -4
- package/dist/wc/esm/z-range-picker.entry.js +25 -7
- package/dist/wc/esm/z-section-title.entry.js +2 -2
- package/dist/wc/esm/z-select.entry.js +7 -8
- package/dist/wc/esm/z-skip-to-content.entry.js +13 -5
- package/dist/wc/esm/z-slideshow.entry.js +4 -4
- package/dist/wc/esm/z-stepper-item.entry.js +2 -2
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table-body.entry.js +2 -2
- package/dist/wc/esm/z-table-cell.entry.js +3 -3
- package/dist/wc/esm/z-table-deprecated.entry.js +14 -14
- package/dist/wc/esm/z-table-empty-box.entry.js +2 -2
- package/dist/wc/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/wc/esm/z-table-footer.entry.js +2 -2
- package/dist/wc/esm/z-table-head.entry.js +2 -2
- package/dist/wc/esm/z-table-header-row.entry.js +2 -2
- package/dist/wc/esm/z-table-header.entry.js +4 -4
- package/dist/wc/esm/z-table-row.entry.js +3 -3
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +9 -9
- package/dist/wc/esm/z-tag.entry.js +1 -1
- package/dist/wc/esm/z-tbody.entry.js +2 -2
- package/dist/wc/esm/z-td.entry.js +3 -3
- package/dist/wc/esm/z-tfoot.entry.js +2 -2
- package/dist/wc/esm/z-th.entry.js +3 -3
- package/dist/wc/esm/z-thead.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification.entry.js +2 -2
- package/dist/wc/esm/z-toggle-button.entry.js +2 -2
- package/dist/wc/esm/z-toggle-switch.entry.js +3 -3
- package/dist/wc/esm/z-tooltip.entry.js +2 -2
- package/dist/wc/esm/z-tr.entry.js +6 -6
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -2
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -5
- package/dist/wc/types/components.d.ts +0 -2
- package/package.json +1 -1
- package/dist/wc/cjs/z-body.cjs.entry.js +0 -18
- package/dist/wc/cjs/z-heading.cjs.entry.js +0 -18
- package/dist/wc/cjs/z-typography.cjs.entry.js +0 -30
- package/dist/wc/delta_share/p-0667e9cd.entry.js +0 -1
- package/dist/wc/delta_share/p-06aacfed.entry.js +0 -1
- package/dist/wc/delta_share/p-0acc73cd.entry.js +0 -1
- package/dist/wc/delta_share/p-0f55558e.js +0 -1
- package/dist/wc/delta_share/p-0fe7f1ad.entry.js +0 -1
- package/dist/wc/delta_share/p-171202cb.js +0 -1
- package/dist/wc/delta_share/p-1c4015c7.entry.js +0 -1
- package/dist/wc/delta_share/p-27537f0b.js +0 -1
- package/dist/wc/delta_share/p-2d1b1197.entry.js +0 -1
- package/dist/wc/delta_share/p-2e12c305.entry.js +0 -1
- package/dist/wc/delta_share/p-2eed13ce.entry.js +0 -1
- package/dist/wc/delta_share/p-3605faee.entry.js +0 -1
- package/dist/wc/delta_share/p-3b4879bc.js +0 -1
- package/dist/wc/delta_share/p-3b7aeb99.entry.js +0 -1
- package/dist/wc/delta_share/p-3de56f4a.entry.js +0 -1
- package/dist/wc/delta_share/p-4bcbac62.entry.js +0 -1
- package/dist/wc/delta_share/p-5588386c.entry.js +0 -1
- package/dist/wc/delta_share/p-5d29a5a7.entry.js +0 -1
- package/dist/wc/delta_share/p-63f5644d.js +0 -1
- package/dist/wc/delta_share/p-6776c695.entry.js +0 -1
- package/dist/wc/delta_share/p-6d1c4af9.js +0 -1
- package/dist/wc/delta_share/p-75b9448a.entry.js +0 -1
- package/dist/wc/delta_share/p-78b1d100.js +0 -1
- package/dist/wc/delta_share/p-7966c7e6.entry.js +0 -1
- package/dist/wc/delta_share/p-7ae04b31.entry.js +0 -1
- package/dist/wc/delta_share/p-83156f0c.entry.js +0 -1
- package/dist/wc/delta_share/p-858613c0.entry.js +0 -1
- package/dist/wc/delta_share/p-8649f025.entry.js +0 -1
- package/dist/wc/delta_share/p-86683a1d.entry.js +0 -1
- package/dist/wc/delta_share/p-963f64a8.entry.js +0 -1
- package/dist/wc/delta_share/p-967acc0e.entry.js +0 -1
- package/dist/wc/delta_share/p-974d6235.entry.js +0 -1
- package/dist/wc/delta_share/p-9cc6b2ff.entry.js +0 -1
- package/dist/wc/delta_share/p-9d3e6cff.entry.js +0 -1
- package/dist/wc/delta_share/p-a54c1c69.entry.js +0 -1
- package/dist/wc/delta_share/p-a6252f41.entry.js +0 -1
- package/dist/wc/delta_share/p-a64544de.entry.js +0 -1
- package/dist/wc/delta_share/p-a6b403f9.entry.js +0 -1
- package/dist/wc/delta_share/p-ade21d10.entry.js +0 -1
- package/dist/wc/delta_share/p-b0dc0f33.entry.js +0 -1
- package/dist/wc/delta_share/p-bcac4e8a.entry.js +0 -1
- package/dist/wc/delta_share/p-bd5862be.js +0 -1
- package/dist/wc/delta_share/p-bdbd52af.entry.js +0 -1
- package/dist/wc/delta_share/p-be7f8da0.entry.js +0 -1
- package/dist/wc/delta_share/p-c16ef2ed.js +0 -1
- package/dist/wc/delta_share/p-cf49d91e.entry.js +0 -1
- package/dist/wc/delta_share/p-cf520177.entry.js +0 -1
- package/dist/wc/delta_share/p-cfd5d8d9.entry.js +0 -1
- package/dist/wc/delta_share/p-d586adfc.entry.js +0 -1
- package/dist/wc/delta_share/p-d736e782.js +0 -1
- package/dist/wc/delta_share/p-d85af2d2.entry.js +0 -1
- package/dist/wc/delta_share/p-df19c0b3.entry.js +0 -3
- package/dist/wc/delta_share/p-df665c83.entry.js +0 -1
- package/dist/wc/delta_share/p-e27aa743.entry.js +0 -1
- package/dist/wc/delta_share/p-e533db54.entry.js +0 -1
- package/dist/wc/delta_share/p-ecb09670.js +0 -1
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +0 -1
- package/dist/wc/delta_share/p-f366927f.entry.js +0 -1
- package/dist/wc/delta_share/p-f8604cd3.entry.js +0 -1
- package/dist/wc/delta_share/p-fe94390e.entry.js +0 -1
- package/dist/wc/esm/index-eb1fc2a8.js +0 -15
- package/dist/wc/esm/z-body.entry.js +0 -14
- package/dist/wc/esm/z-heading.entry.js +0 -14
- package/dist/wc/esm/z-typography.entry.js +0 -26
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { N as NavigationTabsOrientation, y as NavigationTabsSize } from './index-
|
|
3
|
-
import { I as ICONS } from './icons-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-396432db.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, y as NavigationTabsSize } from './index-9d240d39.js';
|
|
3
|
+
import { I as ICONS } from './icons-6196a79a.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--
|
|
5
|
+
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*,z-navigation-tab-link[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTabLink = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -29,12 +29,15 @@ const ZNavigationTabLink = class {
|
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
32
|
+
const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
33
|
? { block: "nearest", inline: "center" }
|
|
34
|
-
: { block: "center", inline: "nearest" };
|
|
34
|
+
: { block: "center", inline: "nearest" });
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
38
|
+
if (this.disabled) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
38
41
|
this.selected = true;
|
|
39
42
|
}
|
|
40
43
|
onSelected() {
|
|
@@ -56,7 +59,7 @@ const ZNavigationTabLink = class {
|
|
|
56
59
|
return h("z-icon", { name: icon });
|
|
57
60
|
}
|
|
58
61
|
render() {
|
|
59
|
-
return (h(
|
|
62
|
+
return (h(Host, { role: "tab", id: this.tabId, "aria-selected": this.selected ? "true" : "false", "aria-controls": this.ariaControls }, h("a", { tabIndex: this.selected ? 0 : -1, onFocus: this.scrollToTab.bind(this), href: this.disabled ? null : this.href, title: this.htmlTitle, target: this.target }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label)));
|
|
60
63
|
}
|
|
61
64
|
static get watchers() { return {
|
|
62
65
|
"selected": ["onSelected"]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { N as NavigationTabsOrientation, y as NavigationTabsSize } from './index-
|
|
3
|
-
import { I as ICONS } from './icons-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-396432db.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, y as NavigationTabsSize } from './index-9d240d39.js';
|
|
3
|
+
import { I as ICONS } from './icons-6196a79a.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--
|
|
5
|
+
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*,z-navigation-tab-link[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTab = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -29,9 +29,9 @@ const ZNavigationTab = class {
|
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
32
|
+
const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
33
|
? { block: "nearest", inline: "center" }
|
|
34
|
-
: { block: "center", inline: "nearest" };
|
|
34
|
+
: { block: "center", inline: "nearest" });
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
@@ -58,7 +58,7 @@ const ZNavigationTab = class {
|
|
|
58
58
|
return h("z-icon", { name: icon });
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(
|
|
61
|
+
return (h(Host, { role: "tab", id: this.tabId, "aria-selected": this.selected ? "true" : "false", "aria-controls": this.ariaControls }, h("button", { tabIndex: this.selected ? 0 : -1, onFocus: this.scrollToTab.bind(this), disabled: this.disabled, title: this.htmlTitle }, this.icon && this.renderIcon(), this.orientation === NavigationTabsOrientation.HORIZONTAL && this.label)));
|
|
62
62
|
}
|
|
63
63
|
static get watchers() { return {
|
|
64
64
|
"selected": ["onSelected"]
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { N as NavigationTabsOrientation, y as NavigationTabsSize,
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, y as NavigationTabsSize, z as NavigationTabsKeyboardEvents } from './index-9d240d39.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = "
|
|
4
|
+
const stylesCss = "z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation=\"horizontal\"]>nav{width:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation=\"vertical\"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation=\"vertical\"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation=\"vertical\"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-surface02)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected=\"true\"]{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected=\"true\"]::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tabs[orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{height:var(--border-size-medium)}z-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation=\"vertical\"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation=\"vertical\"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation=\"vertical\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"vertical\"]>nav>[aria-selected=\"true\"]::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
5
5
|
|
|
6
6
|
const ZNavigationTabs = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
this.selected = createEvent(this, "selected", 7);
|
|
9
10
|
/**
|
|
10
11
|
* Navigation tabs orientation.
|
|
11
12
|
*/
|
|
@@ -14,6 +15,16 @@ const ZNavigationTabs = class {
|
|
|
14
15
|
* Navigation tabs size.
|
|
15
16
|
*/
|
|
16
17
|
this.size = NavigationTabsSize.BIG;
|
|
18
|
+
/**
|
|
19
|
+
* Index of the selected tab.
|
|
20
|
+
* Useful to programmatically select a tab.
|
|
21
|
+
* The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.
|
|
22
|
+
*/
|
|
23
|
+
this.selectedTab = undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Index of the last tab that held focus.
|
|
26
|
+
*/
|
|
27
|
+
this.focusedTab = undefined;
|
|
17
28
|
}
|
|
18
29
|
/**
|
|
19
30
|
* Getter for the direction to check based on current orientation.
|
|
@@ -27,166 +38,186 @@ const ZNavigationTabs = class {
|
|
|
27
38
|
get dimension() {
|
|
28
39
|
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
|
|
29
40
|
}
|
|
41
|
+
get tabs() {
|
|
42
|
+
return Array.from(this.nav.children);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Scroll into view to center the tab.
|
|
46
|
+
*/
|
|
47
|
+
scrollToTab(tabElement) {
|
|
48
|
+
const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
49
|
+
? { block: "nearest", inline: "center" }
|
|
50
|
+
: { block: "center", inline: "nearest" });
|
|
51
|
+
tabElement.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
52
|
+
}
|
|
30
53
|
/**
|
|
31
|
-
*
|
|
54
|
+
* Scroll the navigation bar half of its size backward.
|
|
32
55
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
56
|
+
navigateBackwards() {
|
|
57
|
+
this.nav.scrollBy({
|
|
58
|
+
[this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,
|
|
59
|
+
behavior: "smooth",
|
|
37
60
|
});
|
|
38
61
|
}
|
|
39
62
|
/**
|
|
40
|
-
*
|
|
63
|
+
* Scroll the navigation bar half of its size forward.
|
|
41
64
|
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
65
|
+
navigateForward() {
|
|
66
|
+
this.nav.scrollBy({
|
|
67
|
+
[this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,
|
|
68
|
+
behavior: "smooth",
|
|
46
69
|
});
|
|
47
70
|
}
|
|
48
71
|
/**
|
|
49
|
-
* Check if
|
|
72
|
+
* Check if a keyboard event was triggered by an arrow key.
|
|
73
|
+
*/
|
|
74
|
+
isArrowNavigation(e) {
|
|
75
|
+
return Object.values(NavigationTabsKeyboardEvents).includes(e.key);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if the navigation buttons are needed.
|
|
50
79
|
*/
|
|
51
80
|
checkScrollVisible() {
|
|
52
|
-
if (!this.
|
|
81
|
+
if (!this.nav) {
|
|
53
82
|
return;
|
|
54
83
|
}
|
|
55
|
-
this.canNavigate = this.
|
|
84
|
+
this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];
|
|
56
85
|
}
|
|
57
86
|
/**
|
|
58
87
|
* Check if navigation buttons can be enabled for each direction.
|
|
59
88
|
*/
|
|
60
89
|
checkScrollEnabled() {
|
|
61
|
-
if (!this.
|
|
90
|
+
if (!this.nav) {
|
|
62
91
|
return;
|
|
63
92
|
}
|
|
64
93
|
this.canNavigateNext =
|
|
65
|
-
this.
|
|
66
|
-
|
|
67
|
-
this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
|
|
94
|
+
this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];
|
|
95
|
+
this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;
|
|
68
96
|
}
|
|
69
97
|
/**
|
|
70
|
-
*
|
|
71
|
-
* Deselect all other previously selected tabs,
|
|
72
|
-
* then scroll to the new selected tab and center it.
|
|
73
|
-
* @param {CustomEvent} event `selected` event triggered by a child tab
|
|
98
|
+
* When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.
|
|
74
99
|
*/
|
|
75
|
-
onTabSelected(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
if (
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
100
|
+
onTabSelected() {
|
|
101
|
+
this.tabs.forEach((tab, i) => {
|
|
102
|
+
const zicon = tab.querySelector("z-icon");
|
|
103
|
+
const strokeIcon = zicon === null || zicon === void 0 ? void 0 : zicon.getAttribute("name").replace("-filled", "");
|
|
104
|
+
if (i !== this.selectedTab) {
|
|
105
|
+
tab.setAttribute("aria-selected", "false");
|
|
106
|
+
tab.tabIndex = -1;
|
|
107
|
+
zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", strokeIcon);
|
|
108
|
+
return;
|
|
84
109
|
}
|
|
110
|
+
zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", `${strokeIcon}-filled`);
|
|
111
|
+
tab.setAttribute("aria-selected", "true");
|
|
85
112
|
});
|
|
113
|
+
this.selected.emit(this.selectedTab);
|
|
114
|
+
if (this.selectedTab !== undefined) {
|
|
115
|
+
this.scrollToTab(this.tabs[this.selectedTab]);
|
|
116
|
+
}
|
|
86
117
|
}
|
|
87
118
|
/**
|
|
88
|
-
*
|
|
119
|
+
* Handle click on the tabs.
|
|
120
|
+
* @param event `click` event triggered by a child tab
|
|
89
121
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
122
|
+
handleTabClick(event) {
|
|
123
|
+
const clickedTab = event.target.closest("[role='tab']");
|
|
124
|
+
if (!this.tabs.some((child) => child.contains(clickedTab))) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
this.selectedTab = this.tabs.indexOf(clickedTab);
|
|
95
128
|
}
|
|
96
129
|
/**
|
|
97
|
-
*
|
|
130
|
+
* When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.
|
|
98
131
|
*/
|
|
99
|
-
|
|
100
|
-
this.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
132
|
+
onTabFocusIn(event) {
|
|
133
|
+
const focused = this.tabs.findIndex((tab) => tab.contains(event.target));
|
|
134
|
+
if (focused === -1) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (this.selectedTab !== undefined) {
|
|
138
|
+
this.tabs[this.selectedTab].tabIndex = -1;
|
|
139
|
+
}
|
|
140
|
+
this.focusedTab = focused;
|
|
141
|
+
this.tabs[this.focusedTab].tabIndex = -1;
|
|
142
|
+
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
104
143
|
}
|
|
105
144
|
/**
|
|
106
|
-
*
|
|
145
|
+
* Handle keyboard navigation through tabs with arrow keys.
|
|
107
146
|
*/
|
|
108
|
-
navigateThroughTabs(
|
|
109
|
-
|
|
110
|
-
if (e.key === KeyboardCode.TAB) {
|
|
111
|
-
children.forEach((child, i) => {
|
|
112
|
-
var _a, _b;
|
|
113
|
-
if (child.hasAttribute("selected") &&
|
|
114
|
-
((_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.offsetParent) === null || _b === void 0 ? void 0 : _b.nodeName) === "Z-NAVIGATION-TABS") {
|
|
115
|
-
this.tabFocus = i;
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
if (!this.isArrowNavigation(e)) {
|
|
147
|
+
navigateThroughTabs(event) {
|
|
148
|
+
if (!this.tabs.some((tab) => tab.contains(event.target)) || !this.isArrowNavigation(event)) {
|
|
121
149
|
return true;
|
|
122
150
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
this.
|
|
129
|
-
|
|
130
|
-
this.tabFocus = 0;
|
|
151
|
+
event.preventDefault();
|
|
152
|
+
if ((event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
|
|
153
|
+
(event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)) {
|
|
154
|
+
// Move forward
|
|
155
|
+
this.focusedTab++;
|
|
156
|
+
if (this.focusedTab >= this.tabs.length) {
|
|
157
|
+
this.focusedTab = 0;
|
|
131
158
|
}
|
|
132
|
-
// Move backward
|
|
133
159
|
}
|
|
134
|
-
else if ((
|
|
135
|
-
(
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
160
|
+
else if ((event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
|
|
161
|
+
(event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)) {
|
|
162
|
+
// Move backward
|
|
163
|
+
this.focusedTab--;
|
|
164
|
+
if (this.focusedTab < 0) {
|
|
165
|
+
this.focusedTab = this.tabs.length - 1;
|
|
139
166
|
}
|
|
140
167
|
}
|
|
141
|
-
//
|
|
142
|
-
if (
|
|
143
|
-
this.
|
|
144
|
-
|
|
145
|
-
else {
|
|
146
|
-
children[this.tabFocus].querySelector('[role="tab"]').setAttribute("tabindex", "0");
|
|
147
|
-
children[this.tabFocus].querySelector('[role="tab"]').focus();
|
|
168
|
+
// Ignore disabled tabs
|
|
169
|
+
if (this.tabs[this.focusedTab].hasAttribute("disabled") &&
|
|
170
|
+
this.tabs[this.focusedTab].getAttribute("disabled") !== "false") {
|
|
171
|
+
return this.navigateThroughTabs(event);
|
|
148
172
|
}
|
|
173
|
+
this.tabs[this.focusedTab].focus();
|
|
174
|
+
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
149
175
|
}
|
|
150
176
|
/**
|
|
151
|
-
*
|
|
177
|
+
* If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.
|
|
152
178
|
*/
|
|
153
|
-
|
|
154
|
-
return !!Object.keys(NavigationTabsKeyboardEvents).find((key) => NavigationTabsKeyboardEvents[key] === e.key);
|
|
155
|
-
}
|
|
156
|
-
setTabindex() {
|
|
179
|
+
onTabFocusOut(event) {
|
|
157
180
|
var _a;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
var _a;
|
|
162
|
-
child.hasAttribute("aria-selected") && (this.tabFocus = i);
|
|
163
|
-
(_a = child.querySelector('[role="tab"]')) === null || _a === void 0 ? void 0 : _a.setAttribute("tabindex", "-1");
|
|
164
|
-
});
|
|
165
|
-
(_a = children[this.tabFocus].querySelector('[role="tab"]')) === null || _a === void 0 ? void 0 : _a.setAttribute("tabindex", "0");
|
|
181
|
+
if (!this.tabs.some((tab) => tab.contains(event.relatedTarget))) {
|
|
182
|
+
this.tabs[(_a = this.selectedTab) !== null && _a !== void 0 ? _a : 0].tabIndex = 0;
|
|
183
|
+
this.focusedTab = undefined;
|
|
166
184
|
}
|
|
167
185
|
}
|
|
168
|
-
|
|
169
|
-
this.
|
|
186
|
+
connectedCallback() {
|
|
187
|
+
this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());
|
|
188
|
+
}
|
|
189
|
+
componentDidLoad() {
|
|
190
|
+
var _a;
|
|
191
|
+
// Set role and tabindex to each slotted tab
|
|
192
|
+
this.tabs.forEach((tab) => {
|
|
193
|
+
tab.setAttribute("role", "tab");
|
|
194
|
+
tab.tabIndex = -1;
|
|
195
|
+
});
|
|
196
|
+
const preselectedTab = (_a = this.selectedTab) !== null && _a !== void 0 ? _a : this.tabs.findIndex((tab) => tab.ariaSelected === "true");
|
|
197
|
+
if (preselectedTab !== -1) {
|
|
198
|
+
this.selectedTab = preselectedTab;
|
|
199
|
+
this.tabs[preselectedTab].tabIndex = 0;
|
|
200
|
+
this.onTabSelected();
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
this.tabs[0].tabIndex = 0;
|
|
204
|
+
}
|
|
205
|
+
this.resizeObserver.observe(this.nav);
|
|
170
206
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
this.
|
|
174
|
-
this.checkScrollVisible();
|
|
175
|
-
this.setTabindex();
|
|
207
|
+
disconnectedCallback() {
|
|
208
|
+
var _a;
|
|
209
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
176
210
|
}
|
|
177
211
|
render() {
|
|
178
212
|
return (h(Host, { class: {
|
|
179
213
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
180
214
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
181
|
-
}, scrollable: this.canNavigate },
|
|
182
|
-
this.navigateThroughTabs(e);
|
|
183
|
-
}, tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
|
|
215
|
+
}, scrollable: this.canNavigate }, h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", null)), h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
184
216
|
}
|
|
185
217
|
get host() { return getElement(this); }
|
|
186
218
|
static get watchers() { return {
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"canNavigate": ["checkScrollEnabled"]
|
|
219
|
+
"canNavigate": ["checkScrollEnabled"],
|
|
220
|
+
"selectedTab": ["onTabSelected"]
|
|
190
221
|
}; }
|
|
191
222
|
};
|
|
192
223
|
ZNavigationTabs.style = stylesCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-396432db.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { O as OffCanvasVariant, T as TransitionDirection, C as ControlSize, B as ButtonVariant,
|
|
3
|
-
import { r as randomId, e as handleEnterKeydSubmit } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-396432db.js';
|
|
2
|
+
import { O as OffCanvasVariant, T as TransitionDirection, C as ControlSize, B as ButtonVariant, k as ListDividerType } from './index-9d240d39.js';
|
|
3
|
+
import { r as randomId, e as handleEnterKeydSubmit } from './utils-bc5ea6f7.js';
|
|
4
4
|
import './breakpoints-3c3dbb8c.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss$1 = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;min-width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg);visibility:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01)}[variant=\"pushcontent\"].sc-z-offcanvas-h{display:none}[open].sc-z-offcanvas-h{display:flex;visibility:visible}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;display:flex;height:calc(100% - var(--z-offcanvas--top-space))}[variant=\"overlay\"][transitiondirection=\"left\"].sc-z-offcanvas-h{justify-content:end}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (max-width: 768px){[open][transitiondirection=\"left\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection=\"right\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]:not(.skip-animation){width:auto;animation:grow 0.4s ease-out}}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open][variant=\"overlay\"][transitiondirection=\"left\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection=\"right\"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{transform:translateX(-100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"left\"]>.canvas-container.sc-z-offcanvas{transform:translateX(100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"] .canvas-background.sc-z-offcanvas{transition:visibility 0.4s ease-out;visibility:hidden}";
|
|
@@ -47,7 +47,7 @@ const ZOffcanvas = class {
|
|
|
47
47
|
};
|
|
48
48
|
ZOffcanvas.style = stylesCss$1;
|
|
49
49
|
|
|
50
|
-
const stylesCss = ":host{z-index:
|
|
50
|
+
const stylesCss = ":host{z-index:15;display:flex;column-gap:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}.input-container{position:relative;display:flex;width:100%;flex-direction:column}.results-wrapper{position:absolute;top:calc(100% - 1px);left:0;width:100%;padding:calc(var(--space-unit) / 4);border:var(--border-size-small) solid var(--color-surface03);border-top:none;background:var(--color-surface01)}.results{overflow:auto;max-height:var(--z-searchbar-results-height, 540px);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}.results::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.results::-webkit-scrollbar-track{background-color:transparent}.results::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.results .category-heading{display:block;font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:var(--font-size-3)}.results .category-heading>*{display:block}.results .category-heading>.category{color:var(--color-text05);font-style:italic}.results .category-heading>.subcategory{margin-top:var(--space-unit);color:var(--color-text01);text-transform:uppercase}.results z-list-element{display:block}.results .item{--z-icon-height:12px;--z-icon-width:12px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;color:var(--color-text01);column-gap:calc(var(--space-unit) * 1.5);fill:var(--color-icon02);font-size:var(--font-size-2);line-height:var(--font-size-3)}.results .item.ellipsis>.item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .item>.item-label mark{background:var(--color-primary03)}.results .item.has-category{padding-left:calc(var(--space-unit) * 3)}.results .item.item-search{--z-icon-height:16px;--z-icon-width:16px}.results .item-show-all{text-align:center}.results .item-no-results{display:block;font-size:var(--font-size-2);font-style:italic;line-height:var(--font-size-5)}.results .item-no-results>ul{padding-left:calc(var(--space-unit) * 2);margin:var(--space-unit)}@media (min-width: 768px){.results .category-heading{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item.item-search{--z-icon-height:18px;--z-icon-width:18px}.results .item.ellipsis>.item-label{height:24px}}@media (min-width: 1152px){.results .item{cursor:pointer}.results .item-no-results{cursor:default;font-size:var(--font-size-3);line-height:var(--font-size-6)}}:host([size=\"small\"]) .results :is(.item,.category-heading),:host([size=\"x-small\"]) .results :is(.item,.category-heading){font-size:var(--font-size-2)}:host([size=\"small\"]) .results .item:not(.has-category),:host([size=\"x-small\"]) .results .item:not(.has-category){--z-icon-height:16px;--z-icon-width:16px}:host([size=\"small\"])::part(list-item-container){min-height:calc(var(--space-unit) * 4.5);padding:0}:host([size=\"x-small\"])::part(list-item-container){min-height:calc(var(--space-unit) * 4);padding:0}";
|
|
51
51
|
|
|
52
52
|
const ZSearchbar = class {
|
|
53
53
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { E as InputStatus } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-396432db.js';
|
|
2
|
+
import { E as InputStatus } from './index-9d240d39.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { I as InputType } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { I as InputType } from './index-9d240d39.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
5
5
|
|
|
@@ -198,7 +198,7 @@ const ZPagination = class {
|
|
|
198
198
|
this.setVisiblePages();
|
|
199
199
|
}
|
|
200
200
|
componentDidRender() {
|
|
201
|
-
if (this.split
|
|
201
|
+
if (this.split) {
|
|
202
202
|
this.edges = false;
|
|
203
203
|
}
|
|
204
204
|
this.setPagesContainerWidth();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-396432db.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = "
|
|
3
|
+
const stylesCss = ".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";
|
|
4
4
|
|
|
5
5
|
const ZPanelElem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -18,7 +18,11 @@ const ZPanelElem = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const elemId = this.elemid ? this.elemid : "";
|
|
21
|
-
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { "aria-hidden": "true", class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("
|
|
21
|
+
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { "aria-hidden": "true", class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("a", { class: {
|
|
22
|
+
"z-link": true,
|
|
23
|
+
"z-link-disabled": this.isdisabled,
|
|
24
|
+
"z-link-icon": true,
|
|
25
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { class: "panel-elem-desc" }, h("slot", { name: this.descrSlotName })))));
|
|
22
26
|
}
|
|
23
27
|
};
|
|
24
28
|
ZPanelElem.style = stylesCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-396432db.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:grid;padding-top:calc(var(--space-unit) * 1.5);border-bottom:var(--border-size-small) solid var(--color-surface03);color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;grid-template-columns:36px auto;grid-template-rows:auto auto}:host>div>z-icon{grid-column:1 / 2;grid-row:1 / 2}:host>div>div.content{margin-bottom:var(--space-unit);grid-column:2 / 3;grid-row:1 / 2}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-items:center;justify-content:flex-start;margin-bottom:var(--space-unit);grid-column:1 / 3;grid-row:2 / 3}@media only screen and (min-width: 768px){:host>div>div.cta-wrapper{flex-direction:row;grid-column:2 / 3}}";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
2
|
-
import {
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { u as PocketStatus } from './index-9d240d39.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-bc5ea6f7.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './breakpoints-3c3dbb8c.js';
|
|
6
6
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
2
|
-
import { P as PopoverPosition, K as KeyboardCode } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { P as PopoverPosition, K as KeyboardCode } from './index-9d240d39.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open=\"true\"][current-position]){display:flex}:host([center][current-position=\"top\"]),:host([center][current-position=\"bottom\"]){transform:translateX(-50%)}:host([center][current-position=\"right\"]),:host([center][current-position=\"left\"]){transform:translateY(-50%)}:host([current-position^=\"top\"]){margin:0 0 var(--space-unit)}:host([current-position^=\"bottom\"]){margin:var(--space-unit) 0 0}:host([current-position^=\"left\"]){margin:0 var(--space-unit) 0 0}:host([current-position^=\"right\"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:\"\";transform:rotate(45deg)}:host([show-arrow=\"false\"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([current-position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position=\"top\"])::before,:host([current-position=\"bottom\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before,:host([current-position=\"left\"])::before{bottom:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"top_right\"])::before,:host([current-position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"top_left\"])::before,:host([current-position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"left_top\"])::before{top:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"right_bottom\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left_top\"])::before,:host([current-position=\"left_bottom\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"right_bottom\"])::before,:host([current-position=\"left_bottom\"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position=\"top\"])::before,:host([center][current-position=\"bottom\"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position=\"right\"])::before,:host([center][current-position=\"left\"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}";
|
|
5
5
|
|
|
@@ -126,7 +126,7 @@ const ZPopover = class {
|
|
|
126
126
|
}
|
|
127
127
|
if (!e.composedPath().includes(this.host)) {
|
|
128
128
|
const target = e.target;
|
|
129
|
-
const triggerElemClicked = this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(this.bindTo);
|
|
129
|
+
const triggerElemClicked = this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(CSS.escape(this.bindTo));
|
|
130
130
|
if (triggerElemClicked) {
|
|
131
131
|
e.stopPropagation();
|
|
132
132
|
}
|
|
@@ -170,7 +170,7 @@ const ZPopover = class {
|
|
|
170
170
|
setPosition() {
|
|
171
171
|
let element;
|
|
172
172
|
if (typeof this.bindTo === "string") {
|
|
173
|
-
element = this.host.ownerDocument.querySelector(this.bindTo);
|
|
173
|
+
element = this.host.ownerDocument.querySelector(CSS.escape(this.bindTo));
|
|
174
174
|
}
|
|
175
175
|
else if (this.bindTo) {
|
|
176
176
|
element = this.bindTo;
|