@zanichelli/delta_share 3.0.2 → 3.2.0
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/{breakpoints-a55736d0.js → breakpoints-e7c8838e.js} +3 -1
- package/dist/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/{icons-9d7fe21e.js → icons-5006d741.js} +30 -0
- package/dist/wc/cjs/index-0119322e.js +20 -0
- package/dist/wc/cjs/index-044ebc8a.js +67 -0
- package/dist/wc/cjs/index-05a1b9dc.js +70 -0
- package/dist/wc/cjs/index-18a2a552.js +49 -0
- package/dist/wc/cjs/index-47449986.js +41 -0
- package/dist/wc/cjs/index-4a04e2aa.js +21 -0
- package/dist/wc/cjs/index-51009bcf.js +29 -0
- package/dist/wc/cjs/index-6d0848b5.js +21 -0
- package/dist/wc/cjs/index-732ae62f.js +22 -0
- package/dist/wc/cjs/index-81603b4a.js +17 -0
- package/dist/wc/cjs/index-8da01bc6.js +34 -0
- package/dist/wc/cjs/index-9886a665.js +21 -0
- package/dist/wc/cjs/index-a9a1f262.js +79 -0
- package/dist/wc/cjs/{index-1112cdb1.js → index-c0af2262.js} +43 -9
- package/dist/wc/cjs/index-db42857f.js +17 -0
- package/dist/wc/cjs/index-f4792a6f.js +21 -0
- package/dist/wc/cjs/index-f824355b.js +17 -0
- package/dist/wc/cjs/license-activation_11.cjs.entry.js +940 -52
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/{utils-3ac19501.js → utils-8fd01df0.js} +13 -3
- package/dist/wc/cjs/{utils-2bfaab77.js → utils-f2cac0dc.js} +1 -1
- package/dist/wc/cjs/z-accordion.cjs.entry.js +67 -0
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-app-header.cjs.entry.js +91 -39
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-book-card.cjs.entry.js +111 -0
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +232 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-card.cjs.entry.js +5 -18
- package/dist/wc/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-chip.cjs.entry.js +10 -7
- package/dist/wc/cjs/z-combobox.cjs.entry.js +11 -9
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +24 -7
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-file.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-list_3.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +11 -3
- package/dist/wc/cjs/z-menu.cjs.entry.js +26 -14
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +14 -2
- 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_4.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +75 -3
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +281 -0
- package/dist/wc/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pagination.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 +3 -2
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-select.cjs.entry.js +18 -10
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-table-body.cjs.entry.js +3 -17
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +4 -29
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +91 -0
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +3 -24
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-head.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -15
- package/dist/wc/cjs/z-table-header.cjs.entry.js +6 -75
- package/dist/wc/cjs/z-table-row.cjs.entry.js +4 -36
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table.cjs.entry.js +36 -58
- package/dist/wc/cjs/z-tbody.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-td.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-th.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-thead.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +4 -2
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +10 -4
- package/dist/wc/cjs/z-tr.cjs.entry.js +15 -0
- package/dist/wc/collection/collection-manifest.json +10 -1
- package/dist/wc/collection/components/license-activation/license-activation.js +16 -25
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +11 -12
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +1 -1
- package/dist/wc/custom-elements/index.js +2415 -640
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-057858cb.entry.js +1 -0
- package/dist/wc/delta_share/p-06aacfed.entry.js +1 -0
- package/dist/wc/delta_share/{p-42dd4f36.entry.js → p-06fa5b43.entry.js} +1 -1
- package/dist/wc/delta_share/p-09fe90e6.entry.js +1 -0
- package/dist/wc/delta_share/p-0acc73cd.entry.js +1 -0
- package/dist/wc/delta_share/{p-c51ebb01.entry.js → p-0fe7f1ad.entry.js} +1 -1
- package/dist/wc/delta_share/{p-99ffd017.entry.js → p-171202cb.js} +1 -1
- package/dist/wc/delta_share/p-1b8b3092.entry.js +1 -0
- package/dist/wc/delta_share/p-1c4015c7.entry.js +1 -0
- package/dist/wc/delta_share/p-27537f0b.js +1 -0
- package/dist/wc/delta_share/p-2d1b1197.entry.js +1 -0
- package/dist/wc/delta_share/{p-a2b564ef.entry.js → p-2e12c305.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3fa29874.entry.js → p-2eed13ce.entry.js} +1 -1
- package/dist/wc/delta_share/p-30b524e2.entry.js +1 -0
- package/dist/wc/delta_share/{p-81ddcb87.entry.js → p-31922918.entry.js} +1 -1
- package/dist/wc/delta_share/p-3605faee.entry.js +1 -0
- package/dist/wc/delta_share/p-3b4879bc.js +1 -0
- package/dist/wc/delta_share/p-3b7aeb99.entry.js +1 -0
- package/dist/wc/delta_share/p-3de56f4a.entry.js +1 -0
- package/dist/wc/delta_share/{p-950aa417.entry.js → p-3e66faf7.entry.js} +1 -1
- package/dist/wc/delta_share/{p-57f2b8d8.entry.js → p-46e4fe9d.entry.js} +1 -1
- package/dist/wc/delta_share/p-4bcbac62.entry.js +1 -0
- package/dist/wc/delta_share/p-5588386c.entry.js +1 -0
- package/dist/wc/delta_share/p-55924409.entry.js +1 -0
- package/dist/wc/delta_share/p-589b8717.js +1 -0
- package/dist/wc/delta_share/p-5d29a5a7.entry.js +1 -0
- package/dist/wc/delta_share/p-5f021095.js +1 -0
- package/dist/wc/delta_share/{p-b38b27f2.entry.js → p-627de5ca.entry.js} +1 -1
- package/dist/wc/delta_share/p-63f5644d.js +1 -0
- package/dist/wc/delta_share/{p-8876b438.entry.js → p-6619cb5a.entry.js} +1 -1
- package/dist/wc/delta_share/p-6776c695.entry.js +1 -0
- package/dist/wc/delta_share/{p-9ad5616e.entry.js → p-699d0efb.entry.js} +1 -1
- package/dist/wc/delta_share/p-6d1c4af9.js +1 -0
- package/dist/wc/delta_share/p-6d888c61.js +1 -0
- package/dist/wc/delta_share/{p-2f289949.entry.js → p-71af40a8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8d532866.entry.js → p-74027654.js} +1 -1
- package/dist/wc/delta_share/{p-6d853df0.entry.js → p-75b9448a.entry.js} +1 -1
- package/dist/wc/delta_share/p-776a9611.entry.js +1 -0
- package/dist/wc/delta_share/p-78b1d100.js +1 -0
- package/dist/wc/delta_share/p-7966c7e6.entry.js +1 -0
- package/dist/wc/delta_share/p-7ae04b31.entry.js +1 -0
- package/dist/wc/delta_share/{p-963999a8.entry.js → p-81a1b7cc.entry.js} +1 -1
- package/dist/wc/delta_share/p-83156f0c.entry.js +1 -0
- package/dist/wc/delta_share/{p-8825d8e4.entry.js → p-858613c0.entry.js} +1 -1
- package/dist/wc/delta_share/p-8649f025.entry.js +1 -0
- package/dist/wc/delta_share/{p-c885d25c.entry.js → p-86683a1d.entry.js} +1 -1
- package/dist/wc/delta_share/{p-7546c464.entry.js → p-86dfdccc.js} +1 -1
- package/dist/wc/delta_share/{p-d8e80ee8.entry.js → p-8b3b862c.js} +1 -1
- package/dist/wc/delta_share/p-93504934.entry.js +1 -0
- package/dist/wc/delta_share/p-967acc0e.entry.js +1 -0
- package/dist/wc/delta_share/{p-c436e1af.entry.js → p-974d6235.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3cf0c6a5.entry.js → p-9c3fcef2.entry.js} +1 -1
- package/dist/wc/delta_share/{p-cb16715b.entry.js → p-9cc6b2ff.entry.js} +1 -1
- package/dist/wc/delta_share/p-9d3e6cff.entry.js +1 -0
- package/dist/wc/delta_share/p-a54c1c69.entry.js +1 -0
- package/dist/wc/delta_share/p-a6252f41.entry.js +1 -0
- package/dist/wc/delta_share/{p-c31b160e.entry.js → p-a7afd1e8.entry.js} +1 -1
- package/dist/wc/delta_share/p-ade21d10.entry.js +1 -0
- package/dist/wc/delta_share/p-b0dc0f33.entry.js +1 -0
- package/dist/wc/delta_share/p-bcac4e8a.entry.js +1 -0
- package/dist/wc/delta_share/p-bd5862be.js +1 -0
- package/dist/wc/delta_share/{p-925fc6c3.entry.js → p-bdbd52af.entry.js} +1 -1
- package/dist/wc/delta_share/p-c16ef2ed.js +1 -0
- package/dist/wc/delta_share/{p-0bb97b61.js → p-c176a537.js} +1 -1
- package/dist/wc/delta_share/p-c86f3f18.entry.js +1 -0
- package/dist/wc/delta_share/{p-1009b417.entry.js → p-ca0ad68e.entry.js} +1 -1
- package/dist/wc/delta_share/p-ce9c796f.entry.js +1 -0
- package/dist/wc/delta_share/p-cf49d91e.entry.js +1 -0
- package/dist/wc/delta_share/p-cf520177.entry.js +1 -0
- package/dist/wc/delta_share/p-cfd5d8d9.entry.js +1 -0
- package/dist/wc/delta_share/{p-45dcece4.entry.js → p-d57e2650.entry.js} +1 -1
- package/dist/wc/delta_share/p-d736e782.js +1 -0
- package/dist/wc/delta_share/p-d8592d42.js +1 -0
- package/dist/wc/delta_share/p-d85af2d2.entry.js +1 -0
- package/dist/wc/delta_share/p-d91beeb4.js +1 -0
- package/dist/wc/delta_share/{p-6c54d53f.entry.js → p-db957062.entry.js} +1 -1
- package/dist/wc/delta_share/p-df19c0b3.entry.js +3 -0
- package/dist/wc/delta_share/p-df665c83.entry.js +1 -0
- package/dist/wc/delta_share/p-e27aa743.entry.js +1 -0
- package/dist/wc/delta_share/p-e47768ad.entry.js +1 -0
- package/dist/wc/delta_share/p-e533db54.entry.js +1 -0
- package/dist/wc/delta_share/{p-0aa553ea.entry.js → p-e849b3b3.entry.js} +1 -1
- package/dist/wc/delta_share/p-e9fa5c23.js +1 -0
- package/dist/wc/delta_share/p-ecb09670.js +1 -0
- package/dist/wc/delta_share/p-f366927f.entry.js +1 -0
- package/dist/wc/delta_share/{p-badf3f24.entry.js → p-f6bd0767.js} +1 -1
- package/dist/wc/delta_share/p-f8604cd3.entry.js +1 -0
- package/dist/wc/delta_share/p-fe94390e.entry.js +1 -0
- package/dist/wc/delta_share/{p-5e503d5f.entry.js → p-fff3f7a2.entry.js} +1 -1
- package/dist/wc/esm/breakpoints-3c3dbb8c.js +5 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/{icons-7a34b033.js → icons-5cd8a05c.js} +30 -0
- package/dist/wc/esm/index-01c34720.js +77 -0
- package/dist/wc/esm/index-23578879.js +19 -0
- package/dist/wc/esm/index-2dfebd9d.js +15 -0
- package/dist/wc/esm/index-474bdeac.js +18 -0
- package/dist/wc/esm/index-4cbd9bd5.js +19 -0
- package/dist/wc/esm/index-5ee15750.js +68 -0
- package/dist/wc/esm/{index-4f1e2705.js → index-6b9f0af9.js} +44 -10
- package/dist/wc/esm/index-7ab3efeb.js +15 -0
- package/dist/wc/esm/index-8304b962.js +65 -0
- package/dist/wc/esm/index-8c51661a.js +19 -0
- package/dist/wc/esm/index-a4bf756b.js +19 -0
- package/dist/wc/esm/index-a4c6be93.js +39 -0
- package/dist/wc/esm/index-a9ad9a02.js +47 -0
- package/dist/wc/esm/index-be1fa551.js +32 -0
- package/dist/wc/esm/index-d0687862.js +27 -0
- package/dist/wc/esm/index-eb1fc2a8.js +15 -0
- package/dist/wc/esm/index-fcff2847.js +20 -0
- package/dist/wc/esm/license-activation_11.entry.js +940 -52
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/{utils-5a24a17b.js → utils-90d51f4b.js} +13 -4
- package/dist/wc/esm/{utils-711517a4.js → utils-e64576be.js} +1 -1
- package/dist/wc/esm/z-accordion.entry.js +63 -0
- package/dist/wc/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/wc/esm/z-app-header.entry.js +91 -39
- package/dist/wc/esm/z-aria-alert.entry.js +1 -1
- package/dist/wc/esm/z-avatar.entry.js +1 -1
- package/dist/wc/esm/z-book-card.entry.js +107 -0
- package/dist/wc/esm/z-breadcrumb.entry.js +228 -0
- package/dist/wc/esm/z-button-sort.entry.js +2 -2
- package/dist/wc/esm/z-card.entry.js +6 -19
- package/dist/wc/esm/z-carousel.entry.js +2 -2
- package/dist/wc/esm/z-chip.entry.js +10 -7
- package/dist/wc/esm/z-combobox.entry.js +11 -9
- package/dist/wc/esm/z-contextual-menu.entry.js +5 -5
- package/dist/wc/esm/z-cover-hero.entry.js +24 -7
- package/dist/wc/esm/z-date-picker.entry.js +2 -2
- package/dist/wc/esm/z-divider.entry.js +1 -1
- package/dist/wc/esm/z-file-upload.entry.js +4 -4
- package/dist/wc/esm/z-file.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +1 -1
- package/dist/wc/esm/z-list_3.entry.js +2 -2
- package/dist/wc/esm/z-menu-section.entry.js +11 -3
- package/dist/wc/esm/z-menu.entry.js +26 -14
- package/dist/wc/esm/z-messages-pocket.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-footer.entry.js +15 -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_4.entry.js +3 -3
- package/dist/wc/esm/z-myz-list-item.entry.js +4 -4
- package/dist/wc/esm/z-navigation-tab-link.entry.js +3 -3
- package/dist/wc/esm/z-navigation-tab.entry.js +3 -3
- package/dist/wc/esm/z-navigation-tabs.entry.js +75 -3
- package/dist/wc/esm/z-offcanvas_2.entry.js +276 -0
- package/dist/wc/esm/z-otp.entry.js +1 -1
- package/dist/wc/esm/z-pagination.entry.js +1 -1
- package/dist/wc/esm/z-pocket_3.entry.js +3 -3
- package/dist/wc/esm/z-popover.entry.js +3 -2
- package/dist/wc/esm/z-range-picker.entry.js +2 -2
- package/dist/wc/esm/z-section-title.entry.js +2 -2
- package/dist/wc/esm/z-select.entry.js +18 -10
- package/dist/wc/esm/z-skip-to-content.entry.js +3 -3
- package/dist/wc/esm/z-slideshow.entry.js +3 -3
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-table-body.entry.js +2 -20
- package/dist/wc/esm/z-table-cell.entry.js +3 -32
- package/dist/wc/esm/z-table-deprecated.entry.js +87 -0
- package/dist/wc/esm/z-table-empty-box.entry.js +2 -27
- package/dist/wc/esm/z-table-expanded-row.entry.js +2 -15
- package/dist/wc/esm/z-table-footer.entry.js +2 -19
- package/dist/wc/esm/z-table-head.entry.js +2 -19
- package/dist/wc/esm/z-table-header-row.entry.js +2 -18
- package/dist/wc/esm/z-table-header.entry.js +5 -78
- package/dist/wc/esm/z-table-row.entry.js +3 -39
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -15
- package/dist/wc/esm/z-table.entry.js +37 -59
- package/dist/wc/esm/z-tbody.entry.js +2 -0
- package/dist/wc/esm/z-td.entry.js +3 -0
- package/dist/wc/esm/z-tfoot.entry.js +2 -0
- package/dist/wc/esm/z-th.entry.js +3 -0
- package/dist/wc/esm/z-thead.entry.js +2 -0
- package/dist/wc/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/wc/esm/z-toast-notification.entry.js +2 -2
- package/dist/wc/esm/z-toggle-button.entry.js +4 -2
- package/dist/wc/esm/z-toggle-switch.entry.js +3 -3
- package/dist/wc/esm/z-tooltip.entry.js +10 -4
- package/dist/wc/esm/z-tr.entry.js +7 -0
- package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
- package/package.json +1 -1
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +0 -70
- package/dist/wc/cjs/z-searchbar.cjs.entry.js +0 -235
- package/dist/wc/delta_share/p-0434c900.entry.js +0 -1
- package/dist/wc/delta_share/p-063881e2.entry.js +0 -1
- package/dist/wc/delta_share/p-11cc4828.entry.js +0 -3
- package/dist/wc/delta_share/p-1c2d7c30.entry.js +0 -1
- package/dist/wc/delta_share/p-1d2cb6f9.entry.js +0 -1
- package/dist/wc/delta_share/p-23905d08.entry.js +0 -1
- package/dist/wc/delta_share/p-29310a24.entry.js +0 -1
- package/dist/wc/delta_share/p-42e9c740.entry.js +0 -1
- package/dist/wc/delta_share/p-500ff0dd.entry.js +0 -1
- package/dist/wc/delta_share/p-51431ace.js +0 -1
- package/dist/wc/delta_share/p-5530ca81.entry.js +0 -1
- package/dist/wc/delta_share/p-5d88112c.entry.js +0 -1
- package/dist/wc/delta_share/p-61264c72.entry.js +0 -1
- package/dist/wc/delta_share/p-64decd7d.entry.js +0 -1
- package/dist/wc/delta_share/p-65be6de6.entry.js +0 -1
- package/dist/wc/delta_share/p-6cb8def6.entry.js +0 -1
- package/dist/wc/delta_share/p-702dd7b4.entry.js +0 -1
- package/dist/wc/delta_share/p-74b71f61.entry.js +0 -1
- package/dist/wc/delta_share/p-78d71789.js +0 -1
- package/dist/wc/delta_share/p-7ae0c21f.js +0 -1
- package/dist/wc/delta_share/p-8794c0c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8cc7c2c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8d91a5b7.entry.js +0 -1
- package/dist/wc/delta_share/p-90fdd23f.entry.js +0 -1
- package/dist/wc/delta_share/p-a150a778.entry.js +0 -1
- package/dist/wc/delta_share/p-afb5bfe5.entry.js +0 -1
- package/dist/wc/delta_share/p-b16fd965.entry.js +0 -1
- package/dist/wc/delta_share/p-c229c90e.entry.js +0 -1
- package/dist/wc/delta_share/p-c9df8e5d.entry.js +0 -1
- package/dist/wc/delta_share/p-cf58d833.js +0 -1
- package/dist/wc/delta_share/p-d69c3b08.entry.js +0 -1
- package/dist/wc/delta_share/p-ddab353c.entry.js +0 -1
- package/dist/wc/delta_share/p-ea6c67f2.entry.js +0 -1
- package/dist/wc/delta_share/p-fc49c455.entry.js +0 -1
- package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
- package/dist/wc/esm/z-app-switcher.entry.js +0 -25
- package/dist/wc/esm/z-offcanvas.entry.js +0 -66
- package/dist/wc/esm/z-searchbar.entry.js +0 -231
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
9
9
|
|
|
@@ -26,19 +26,19 @@ const ZContextualMenu = class {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
componentDidLoad() {
|
|
29
|
-
this.
|
|
29
|
+
this.popoverEl.bindTo = this.triggerButton;
|
|
30
30
|
}
|
|
31
31
|
showIcon() {
|
|
32
32
|
return !this.jsonElements.some((element) => !element.icon);
|
|
33
33
|
}
|
|
34
34
|
togglePopover() {
|
|
35
|
-
if (!this.
|
|
36
|
-
this.
|
|
35
|
+
if (!this.popoverEl.open) {
|
|
36
|
+
this.popoverEl.open = true;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
var _a, _b;
|
|
41
|
-
return (index.h(index.Host, null, index.h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.
|
|
41
|
+
return (index.h(index.Host, null, index.h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, index.h("z-icon", { name: "contextual-menu", fill: this.color })), index.h("z-popover", { ref: (el) => (this.popoverEl = el), position: this.popoverPosition }, index.h("div", { class: "popover-content-container" }, index.h("z-list", null, index.h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index$1) => (index.h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index$1, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, index.h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (index.h("div", { class: "element-icon" }, index.h("z-icon", { name: element.icon, width: 16, height: 16 }))), index.h("div", { class: "element-text" }, index.h("span", null, element.text))))))))))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
ZContextualMenu.style = stylesCss;
|
|
@@ -3,22 +3,39 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--cover-hero-
|
|
8
|
+
const stylesCss = ":host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot=\"cover\"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]:not([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container{height:100%}:host([variant=\"overlay\"]:not([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant=\"overlay\"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]:is([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container .content-container{position:absolute;inset:0}:host([variant=\"overlay\"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-text01)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
|
|
9
9
|
|
|
10
10
|
const ZCoverHero = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
/**
|
|
14
|
-
* Cover hero variant.
|
|
15
|
-
* Can be one of "OVERLAY", "STACKED".
|
|
14
|
+
* Cover hero variant. Can be `OVERLAY` or `STACKED`.
|
|
16
15
|
*/
|
|
17
16
|
this.variant = index$1.CoverHeroVariant.OVERLAY;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
18
|
+
* Vertical content position (for `STACKED` variant).
|
|
20
19
|
*/
|
|
21
20
|
this.contentPosition = index$1.CoverHeroContentPosition.TOP;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to keep the image aspect ratio.
|
|
23
|
+
* If set to `false`, the cssprop `--cover-hero-aspect-ratio` will not affect the component's size;
|
|
24
|
+
* instead, the height of the component follows the content's one.
|
|
25
|
+
* Note: it may be necessary to set a min and/or max height to the component.
|
|
26
|
+
*/
|
|
27
|
+
this.preserveAspectRatio = true;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Store the intrinsic aspect ratio of the slotted image when loaded,
|
|
31
|
+
* to have a default when `--cover-hero-aspect-ratio` is not set.
|
|
32
|
+
* @param target The event target
|
|
33
|
+
*/
|
|
34
|
+
onImgLoad({ target }) {
|
|
35
|
+
if (target instanceof Image && target.closest("[slot=cover]")) {
|
|
36
|
+
const ratio = target.naturalWidth / target.naturalHeight;
|
|
37
|
+
this.host.style.setProperty("--image-aspect-ratio", ratio.toString());
|
|
38
|
+
}
|
|
22
39
|
}
|
|
23
40
|
/**
|
|
24
41
|
* Template for the content.
|
|
@@ -29,11 +46,11 @@ const ZCoverHero = class {
|
|
|
29
46
|
render() {
|
|
30
47
|
return (index.h(index.Host, null, this.variant === index$1.CoverHeroVariant.STACKED &&
|
|
31
48
|
this.contentPosition === index$1.CoverHeroContentPosition.TOP &&
|
|
32
|
-
this.renderContent(), index.h("div", { class: "
|
|
49
|
+
this.renderContent(), index.h("div", { class: "main-container" }, index.h("div", { class: "cover-container" }, index.h("slot", { name: "cover" })), index.h("slot", { name: "info-reveal" }), this.variant === index$1.CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === index$1.CoverHeroVariant.STACKED &&
|
|
33
50
|
this.contentPosition === index$1.CoverHeroContentPosition.BOTTOM &&
|
|
34
51
|
this.renderContent()));
|
|
35
52
|
}
|
|
36
|
-
get
|
|
53
|
+
get host() { return index.getElement(this); }
|
|
37
54
|
};
|
|
38
55
|
ZCoverHero.style = stylesCss;
|
|
39
56
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-f2cac0dc.js');
|
|
7
7
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-c0af2262.js');
|
|
9
9
|
|
|
10
10
|
var monthSelect = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
11
|
(function (global, factory) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
9
9
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
require('./breakpoints-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const utils = require('./utils-8fd01df0.js');
|
|
8
|
+
require('./breakpoints-e7c8838e.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss = ":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container .body-1{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>.heading-4-sb{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";
|
|
11
11
|
|
|
@@ -57,7 +57,7 @@ const ZFileUpload = class {
|
|
|
57
57
|
return this.files;
|
|
58
58
|
}
|
|
59
59
|
getType() {
|
|
60
|
-
if (utils.getDevice() !== index$1.Device.DESKTOP) {
|
|
60
|
+
if (utils.getDevice() !== index$1.Device.DESKTOP && utils.getDevice() !== index$1.Device.DESKTOP_WIDE) {
|
|
61
61
|
return index$1.ZFileUploadType.DEFAULT;
|
|
62
62
|
}
|
|
63
63
|
return this.type;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const breakpoints = require('./breakpoints-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const breakpoints = require('./breakpoints-e7c8838e.js');
|
|
8
8
|
|
|
9
9
|
const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position=\"top_left\"]) .z-info-reveal-trigger,:host([position=\"bottom_left\"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position=\"bottom_left\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{bottom:0}:host([position=\"top_right\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{right:0}:host([position=\"top_left\"]) .info-box,:host([position=\"bottom_left\"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position=\"top_left\"]) .z-info-reveal-close,:host([position=\"top_right\"]) .z-info-reveal-close{align-self:flex-start}:host([position=\"bottom_left\"]) .z-info-reveal-close,:host([position=\"bottom_right\"]) .z-info-reveal-close{align-self:flex-end}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss$2 = ":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
9
9
|
|
|
@@ -198,7 +198,7 @@ const ZListElement = class {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
render() {
|
|
201
|
-
return (index.h(index.Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, index.h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}
|
|
201
|
+
return (index.h(index.Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, index.h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, index.h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === index$1.ListDividerType.ELEMENT && (index.h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
202
202
|
}
|
|
203
203
|
get host() { return index.getElement(this); }
|
|
204
204
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([active]) .label
|
|
7
|
+
const stylesCss = ":host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-secondary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / \"\";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-icon02)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot=\"item\"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:focus:focus-visible),.items>::slotted([slot=\"item\"][active]){color:var(--color-secondary01);font-weight:var(--font-bd)}";
|
|
8
8
|
|
|
9
9
|
const ZMenuSection = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -31,13 +31,21 @@ const ZMenuSection = class {
|
|
|
31
31
|
* Check if some content slot is set.
|
|
32
32
|
*/
|
|
33
33
|
checkContent() {
|
|
34
|
-
this.hasContent =
|
|
34
|
+
this.hasContent = this.hostElement.querySelectorAll('[slot="item"]').length > 0;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.
|
|
38
|
+
* @param ev Slotchange event
|
|
39
|
+
*/
|
|
40
|
+
onLabelSlotChange(ev) {
|
|
41
|
+
const labelElement = ev.target.assignedElements()[0];
|
|
42
|
+
labelElement.dataset.text = (labelElement === null || labelElement === void 0 ? void 0 : labelElement.innerText) || null;
|
|
35
43
|
}
|
|
36
44
|
componentWillLoad() {
|
|
37
45
|
this.checkContent();
|
|
38
46
|
}
|
|
39
47
|
render() {
|
|
40
|
-
return (index.h(index.Host, { role: "menu", open: this.open }, index.h("button", { class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, index.h("slot",
|
|
48
|
+
return (index.h(index.Host, { role: "menu", open: this.open }, index.h("button", { class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, index.h("slot", { onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && index.h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" })), this.open && (index.h("div", { class: "items" }, index.h("slot", { name: "item", onSlotchange: this.checkContent.bind(this) })))));
|
|
41
49
|
}
|
|
42
50
|
get hostElement() { return index.getElement(this); }
|
|
43
51
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column
|
|
7
|
+
const stylesCss = ":host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column;--z-menu-label-color:var(--color-text01)}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{position:relative;display:flex;align-items:center}:host(:is([active],[open])) .menu-label-content,.menu-label:focus-within .menu-label-content{font-weight:var(--font-bd)}:host(:is([active],[open])) .menu-label-content ::slotted(*),.menu-label:focus-within .menu-label-content ::slotted(*){letter-spacing:normal}:host(:is([active],[open],[vertical-context])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{position:absolute;bottom:0;left:0;width:100%;content:\"\";pointer-events:none}:host([vertical-context]) .menu-label-content::after{height:var(--border-size-small);background-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label .menu-label-content::after,.menu-label .menu-label-content:hover::after,.menu-label:focus-within .menu-label-content::after{height:var(--border-size-large);background-color:var(--color-secondary01)}::slotted([data-text])::after{height:0;content:attr(data-text);content:attr(data-text) / \"\";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}::slotted([data-text]){display:inline-flex;flex-direction:column}.menu-label .menu-label-content ::slotted(*){display:inline-flex;width:100%;margin:0;appearance:none;color:var(--z-menu-label-color);font-family:var(--font-family-sans);font-size:var(--font-size-5);font-weight:inherit;letter-spacing:0.36px;line-height:1.2;outline:none}.menu-label .menu-label-content ::slotted(*),.menu-label .menu-label-content z-icon{padding:var(--space-unit) 0}.menu-label .menu-label-content z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:currentcolor}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot=\"header\"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot=\"header\"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot=\"item\"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot=\"item\"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:focus:focus-visible),.items>::slotted([slot=\"item\"]:active){border-color:var(--color-secondary01);font-weight:var(--font-bd)}";
|
|
8
8
|
|
|
9
9
|
const ZMenu = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -15,16 +15,18 @@ const ZMenu = class {
|
|
|
15
15
|
* Flag to set the display mode of the list.
|
|
16
16
|
* If true, the list will be absolutely positioned under the menu label,
|
|
17
17
|
* stacked beneath it otherwise.
|
|
18
|
-
* @default false
|
|
19
18
|
*/
|
|
20
19
|
this.floating = false;
|
|
20
|
+
/** The opening state of the menu. */
|
|
21
|
+
this.open = false;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
23
|
+
* Tells the component that it's placed in a vertical context with other `ZMenu`s (e.g. in the ZAppHeader's offcanvas).
|
|
24
|
+
* A small border is placed under it as a separator from other elements.
|
|
24
25
|
*/
|
|
25
|
-
this.
|
|
26
|
+
this.verticalContext = false;
|
|
26
27
|
this.toggle = this.toggle.bind(this);
|
|
27
28
|
this.checkContent = this.checkContent.bind(this);
|
|
29
|
+
this.onLabelSlotChange = this.onLabelSlotChange.bind(this);
|
|
28
30
|
this.onItemsChange = this.onItemsChange.bind(this);
|
|
29
31
|
}
|
|
30
32
|
toggle() {
|
|
@@ -54,6 +56,14 @@ const ZMenu = class {
|
|
|
54
56
|
componentWillLoad() {
|
|
55
57
|
this.checkContent();
|
|
56
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.
|
|
61
|
+
* @param ev Slotchange event
|
|
62
|
+
*/
|
|
63
|
+
onLabelSlotChange(ev) {
|
|
64
|
+
const labelElement = ev.target.assignedElements()[0];
|
|
65
|
+
labelElement.dataset.text = labelElement === null || labelElement === void 0 ? void 0 : labelElement.textContent;
|
|
66
|
+
}
|
|
57
67
|
/**
|
|
58
68
|
* Correctly set position of the floating menu in order to prevent overflow.
|
|
59
69
|
* @param live Should run the method on every refresh frame.
|
|
@@ -75,27 +85,29 @@ const ZMenu = class {
|
|
|
75
85
|
* Check if some content slot is set.
|
|
76
86
|
*/
|
|
77
87
|
checkContent() {
|
|
78
|
-
this.hasHeader = !!this.hostElement.querySelectorAll(
|
|
79
|
-
this.hasContent = !!this.hostElement.querySelectorAll(
|
|
88
|
+
this.hasHeader = !!this.hostElement.querySelectorAll("[slot=header]").length;
|
|
89
|
+
this.hasContent = !!this.hostElement.querySelectorAll("[slot=item]").length || this.hasHeader;
|
|
80
90
|
}
|
|
81
91
|
/**
|
|
82
92
|
* Set `menuitem` role to all menu items.
|
|
93
|
+
* Set the item's inner text to the `data-text` attribute (this is for using bold text avoiding layout shifts).
|
|
83
94
|
*/
|
|
84
95
|
onItemsChange() {
|
|
85
96
|
this.checkContent();
|
|
86
|
-
const items = this.hostElement.querySelectorAll(
|
|
87
|
-
items
|
|
97
|
+
const items = this.hostElement.querySelectorAll("[slot=item]");
|
|
98
|
+
items.forEach((item) => {
|
|
99
|
+
item.setAttribute("role", "menuitem");
|
|
100
|
+
item.dataset.text = item.textContent;
|
|
101
|
+
});
|
|
88
102
|
}
|
|
89
103
|
renderMenuLabel() {
|
|
90
104
|
if (this.hasContent) {
|
|
91
|
-
return (index.h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle }, index.h("div", { class: "menu-label-content" }, index.h("slot",
|
|
105
|
+
return (index.h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle }, index.h("div", { class: "menu-label-content" }, index.h("slot", { onSlotchange: this.onLabelSlotChange }), index.h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" }))));
|
|
92
106
|
}
|
|
93
|
-
return (index.h("div", { class: "menu-label" }, index.h("div", { class: "menu-label-content" }, index.h("slot",
|
|
107
|
+
return (index.h("div", { class: "menu-label" }, index.h("div", { class: "menu-label-content" }, index.h("slot", { onSlotchange: this.onLabelSlotChange }))));
|
|
94
108
|
}
|
|
95
109
|
render() {
|
|
96
|
-
return (index.h(index.Host, null, this.renderMenuLabel(), index.h("div", { class: "content", ref: (el) => {
|
|
97
|
-
this.content = el;
|
|
98
|
-
}, hidden: !this.open }, this.hasHeader && (index.h("header", { class: "header" }, index.h("slot", { name: "header", onSlotchange: this.checkContent }))), index.h("div", { class: "items", role: "menu" }, index.h("slot", { name: "item", onSlotchange: this.onItemsChange })))));
|
|
110
|
+
return (index.h(index.Host, null, this.renderMenuLabel(), this.hasContent && (index.h("div", { class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (index.h("header", { class: "header" }, index.h("slot", { name: "header", onSlotchange: this.checkContent }))), index.h("div", { class: "items", role: "menu" }, index.h("slot", { name: "item", onSlotchange: this.onItemsChange }))))));
|
|
99
111
|
}
|
|
100
112
|
get hostElement() { return index.getElement(this); }
|
|
101
113
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.add-alert{background:var(--color-success-inverse)}:host div.remove-alert{background:var(--color-warning-inverse)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = "footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--bg-neutral-200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot=\"content\"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot=\"content\"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent)}";
|
|
9
9
|
|
|
@@ -19,6 +19,14 @@ const ZMyzCardFooter = class {
|
|
|
19
19
|
}
|
|
20
20
|
handleToggle() {
|
|
21
21
|
this.isOpen = !this.isOpen;
|
|
22
|
+
if (this.isOpen) {
|
|
23
|
+
const firstElem = this.getFirstListItem();
|
|
24
|
+
if (firstElem) {
|
|
25
|
+
requestAnimationFrame(() => {
|
|
26
|
+
firstElem.focus();
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
22
30
|
}
|
|
23
31
|
getTitleAuthors() {
|
|
24
32
|
return this.allowTooltipAuthors ? this.autori : "";
|
|
@@ -48,9 +56,13 @@ const ZMyzCardFooter = class {
|
|
|
48
56
|
this.elementsEllipsis();
|
|
49
57
|
}
|
|
50
58
|
}
|
|
59
|
+
getFirstListItem() {
|
|
60
|
+
return this.host.querySelector("[slot=list] > li a");
|
|
61
|
+
}
|
|
51
62
|
render() {
|
|
52
|
-
return (index.h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && index.h("p", { class: { "custom-content": this.customContent } }, this.titolo), index.h("div", { class: { "content": true, "custom-content": this.customContent } }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { class: "bold" }, this.autori))), index.h("p", { class: "year-isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" })))), this.customContent && index.h("slot", { name: "content" })));
|
|
63
|
+
return (index.h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && index.h("p", { class: { "custom-content": this.customContent } }, this.titolo), index.h("div", { class: { "content": true, "custom-content": this.customContent } }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { "aria-description": "Autori", class: "bold" }, this.autori))), index.h("p", { class: "year-isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" })))), this.customContent && index.h("slot", { name: "content" })));
|
|
53
64
|
}
|
|
65
|
+
get host() { return index.getElement(this); }
|
|
54
66
|
};
|
|
55
67
|
ZMyzCardFooter.style = stylesCss;
|
|
56
68
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:
|
|
7
|
+
const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
|
|
8
8
|
|
|
9
9
|
const ZMyzCardIcon = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
require('./breakpoints-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const utils = require('./utils-8fd01df0.js');
|
|
8
|
+
require('./breakpoints-e7c8838e.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss = ":host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:\"\";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}";
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss$3 = ":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
|
|
9
9
|
|
|
@@ -70,7 +70,7 @@ const ZMyzCardCover = class {
|
|
|
70
70
|
};
|
|
71
71
|
ZMyzCardCover.style = stylesCss$1;
|
|
72
72
|
|
|
73
|
-
const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
|
|
73
|
+
const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name=\"aria-heading\"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
|
|
74
74
|
|
|
75
75
|
const ZMyzCardHeader = class {
|
|
76
76
|
constructor(hostRef) {
|
|
@@ -97,7 +97,7 @@ const ZMyzCardHeader = class {
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (index.h("header", { class: this.retrieveClass() }, index.h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
|
|
100
|
+
return (index.h("header", { class: this.retrieveClass() }, index.h("slot", { name: "aria-heading" }), index.h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
ZMyzCardHeader.style = stylesCss;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
require('./index-
|
|
8
|
-
require('./breakpoints-
|
|
6
|
+
const utils = require('./utils-8fd01df0.js');
|
|
7
|
+
require('./index-c0af2262.js');
|
|
8
|
+
require('./breakpoints-e7c8838e.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";
|
|
10
|
+
const stylesCss = ":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";
|
|
11
11
|
|
|
12
12
|
const ZMyzListItem = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const icons = require('./icons-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const icons = require('./icons-5006d741.js');
|
|
8
8
|
|
|
9
9
|
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(--shadow-focus-primary)}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]>*{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\"]: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\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
10
10
|
|
|
@@ -60,7 +60,7 @@ const ZNavigationTabLink = class {
|
|
|
60
60
|
return index.h("z-icon", { name: icon });
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (index.h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
63
|
+
return (index.h("a", { role: "tab", id: this.tabId, href: !this.disabled && this.href, title: this.htmlTitle, target: this.target, onFocus: this.scrollToTab.bind(this), "aria-selected": this.selected ? "true" : "false", "aria-controls": this.ariaControls, tabindex: this.selected ? "0" : "-1" }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
64
64
|
}
|
|
65
65
|
static get watchers() { return {
|
|
66
66
|
"selected": ["onSelected"]
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const icons = require('./icons-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const icons = require('./icons-5006d741.js');
|
|
8
8
|
|
|
9
9
|
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(--shadow-focus-primary)}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]>*{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\"]: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\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
10
10
|
|
|
@@ -62,7 +62,7 @@ const ZNavigationTab = class {
|
|
|
62
62
|
return index.h("z-icon", { name: icon });
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (index.h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === index$1.NavigationTabsOrientation.HORIZONTAL && this.label));
|
|
65
|
+
return (index.h("button", { role: "tab", id: this.tabId, disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this), "aria-selected": this.selected ? "true" : "false", "aria-controls": this.ariaControls, tabindex: this.selected ? "0" : "-1" }, this.icon && this.renderIcon(), this.orientation === index$1.NavigationTabsOrientation.HORIZONTAL && this.label));
|
|
66
66
|
}
|
|
67
67
|
static get watchers() { return {
|
|
68
68
|
"selected": ["onSelected"]
|