@zanichelli/albe-web-components 5.0.0 → 5.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/CHANGELOG.md +48 -0
- package/dist/cjs/{index-5c16dc2b.js → index-69339d64.js} +23 -13
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-15c8b978.js → utils-98ed20af.js} +1 -1
- package/dist/cjs/{utils-58afb908.js → utils-bfd07a33.js} +1 -2
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +31 -6
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +4 -6
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -3
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +64 -0
- package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +1 -1
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +9 -6
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +26 -29
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +26 -26
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +23 -13
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buttons/z-button/index.js +5 -7
- package/dist/collection/components/buttons/z-button/styles.css +23 -23
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/inputs/z-input/index.js +97 -4
- package/dist/collection/components/notification/z-tooltip/index.js +3 -3
- package/dist/collection/components/z-contextual-menu/index.js +3 -3
- package/dist/collection/components/z-contextual-menu/styles.css +5 -1
- package/dist/collection/components/z-info-reveal/index.js +143 -0
- package/dist/collection/components/z-info-reveal/styles.css +97 -0
- package/dist/collection/components/z-pagination/index.js +9 -6
- package/dist/collection/components/z-popover/index.js +30 -32
- package/dist/collection/components/z-table/z-table-header/index.js +1 -1
- package/dist/collection/deprecated/z-input-deprecated/index.js +1 -1
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/esm/{index-3786a7ff.js → index-0944317b.js} +24 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-d49ae9f0.js → utils-0d95f520.js} +1 -1
- package/dist/esm/{utils-14da09de.js → utils-20383a26.js} +1 -2
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +31 -6
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-deprecated.entry.js +1 -1
- package/dist/esm/z-button.entry.js +4 -6
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +3 -3
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +60 -0
- package/dist/esm/z-input-deprecated.entry.js +2 -2
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +1 -1
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +9 -6
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +26 -29
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +26 -26
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/types/beans/index.d.ts +24 -14
- package/dist/types/components/buttons/z-button/index.d.ts +2 -3
- package/dist/types/components/inputs/z-input/index.d.ts +16 -0
- package/dist/types/components/z-info-reveal/index.d.ts +28 -0
- package/dist/types/components/z-popover/index.d.ts +3 -3
- package/dist/types/components.d.ts +66 -3
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-5c20338f.entry.js → dist/web-components-library/p-0818a02f.entry.js} +1 -1
- package/{www/build/p-82217c76.entry.js → dist/web-components-library/p-095a0982.entry.js} +1 -1
- package/dist/web-components-library/p-0a7ebd31.entry.js +1 -0
- package/{www/build/p-49602979.entry.js → dist/web-components-library/p-0be8daa3.entry.js} +1 -1
- package/dist/web-components-library/{p-d41ca4c3.js → p-122f0f28.js} +1 -1
- package/dist/web-components-library/{p-3dc21b58.entry.js → p-1fae466d.entry.js} +1 -1
- package/dist/web-components-library/p-223566d6.entry.js +1 -0
- package/{www/build/p-9b563575.entry.js → dist/web-components-library/p-2275728f.entry.js} +1 -1
- package/{www/build/p-ec0c7a06.entry.js → dist/web-components-library/p-251fce3e.entry.js} +1 -1
- package/{www/build/p-f9f5ab0b.entry.js → dist/web-components-library/p-269a9ec5.entry.js} +1 -1
- package/dist/web-components-library/{p-248e6c7d.entry.js → p-275bebf2.entry.js} +1 -1
- package/dist/web-components-library/{p-a98ccf36.entry.js → p-37e06523.entry.js} +1 -1
- package/dist/web-components-library/{p-18c0f701.entry.js → p-3a57ff32.entry.js} +1 -1
- package/{www/build/p-95414290.entry.js → dist/web-components-library/p-546616a7.entry.js} +1 -1
- package/dist/web-components-library/p-5cbe4445.entry.js +1 -0
- package/dist/web-components-library/{p-9c81ed70.entry.js → p-687ba257.entry.js} +1 -1
- package/dist/web-components-library/{p-49f8c86b.entry.js → p-6aa8b260.entry.js} +1 -1
- package/dist/web-components-library/{p-287678e2.entry.js → p-6f18a0fc.entry.js} +1 -1
- package/dist/web-components-library/{p-5a2dd46c.entry.js → p-6ff49230.entry.js} +1 -1
- package/dist/web-components-library/p-717c5e20.entry.js +1 -0
- package/dist/web-components-library/{p-0bcc78d4.entry.js → p-721d1645.entry.js} +1 -1
- package/dist/web-components-library/{p-80044bc0.entry.js → p-84d7a0ed.entry.js} +1 -1
- package/dist/web-components-library/{p-35f7cac2.entry.js → p-854f5b2e.entry.js} +1 -1
- package/dist/web-components-library/{p-25b1a634.entry.js → p-8d50bfa9.entry.js} +1 -1
- package/dist/web-components-library/{p-2c86d1ea.entry.js → p-919cdfbf.entry.js} +1 -1
- package/dist/web-components-library/p-9247f214.js +1 -0
- package/dist/web-components-library/{p-0487d5f1.entry.js → p-939662fa.entry.js} +1 -1
- package/{www/build/p-6d79baec.entry.js → dist/web-components-library/p-955942fc.entry.js} +1 -1
- package/dist/web-components-library/{p-33120ebd.entry.js → p-98350ea9.entry.js} +1 -1
- package/dist/web-components-library/{p-044edef0.entry.js → p-9ac122ea.entry.js} +1 -1
- package/{www/build/p-5553f117.entry.js → dist/web-components-library/p-9b873fe5.entry.js} +1 -1
- package/dist/web-components-library/{p-0ccda54f.entry.js → p-a72503d2.entry.js} +1 -1
- package/dist/web-components-library/{p-1c2331a4.entry.js → p-ac41dd18.entry.js} +1 -1
- package/dist/web-components-library/p-ac4f1a90.entry.js +1 -0
- package/dist/web-components-library/{p-60e042a0.entry.js → p-adb293aa.entry.js} +1 -1
- package/{www/build/p-7ce57dfd.entry.js → dist/web-components-library/p-af353020.entry.js} +1 -1
- package/dist/web-components-library/p-b40d8313.entry.js +1 -0
- package/dist/web-components-library/{p-a88f4e49.entry.js → p-b5b5e5e3.entry.js} +1 -1
- package/dist/web-components-library/{p-24ec049a.entry.js → p-bdf5ab5b.entry.js} +1 -1
- package/dist/web-components-library/{p-4a8fe1e0.entry.js → p-bfa1813d.entry.js} +1 -1
- package/dist/web-components-library/{p-0610360b.entry.js → p-bfccbf81.entry.js} +1 -1
- package/{www/build/p-6db40dac.entry.js → dist/web-components-library/p-c36ad471.entry.js} +1 -1
- package/dist/web-components-library/{p-4906f5a6.entry.js → p-cd6ec70f.entry.js} +1 -1
- package/dist/web-components-library/{p-2d93e9e9.entry.js → p-cdabcb55.entry.js} +1 -1
- package/{www/build/p-71f19680.entry.js → dist/web-components-library/p-ce351931.entry.js} +1 -1
- package/{www/build/p-99a76b4d.entry.js → dist/web-components-library/p-d3ce433b.entry.js} +1 -1
- package/dist/web-components-library/{p-286c4c99.entry.js → p-db7dbb44.entry.js} +1 -1
- package/dist/web-components-library/p-de2b2858.entry.js +1 -0
- package/dist/web-components-library/{p-987f1f8a.entry.js → p-e150820d.entry.js} +1 -1
- package/dist/web-components-library/{p-24f3a39e.entry.js → p-ea4a063a.entry.js} +1 -1
- package/dist/web-components-library/{p-bf3ea7b5.entry.js → p-ebcda09e.entry.js} +1 -1
- package/dist/web-components-library/{p-a4245c8a.entry.js → p-ed40ca4d.entry.js} +1 -1
- package/{www/build/p-e30a093f.entry.js → dist/web-components-library/p-f1eee91e.entry.js} +1 -1
- package/dist/web-components-library/{p-fd404599.entry.js → p-f24e569d.entry.js} +1 -1
- package/dist/web-components-library/p-fb7d64f2.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +1 -0
- package/react/components.js +4 -3
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/{dist/web-components-library/p-5c20338f.entry.js → www/build/p-0818a02f.entry.js} +1 -1
- package/{dist/web-components-library/p-82217c76.entry.js → www/build/p-095a0982.entry.js} +1 -1
- package/www/build/p-0a7ebd31.entry.js +1 -0
- package/{dist/web-components-library/p-49602979.entry.js → www/build/p-0be8daa3.entry.js} +1 -1
- package/www/build/{p-d41ca4c3.js → p-122f0f28.js} +1 -1
- package/www/build/{p-3dc21b58.entry.js → p-1fae466d.entry.js} +1 -1
- package/www/build/p-223566d6.entry.js +1 -0
- package/{dist/web-components-library/p-9b563575.entry.js → www/build/p-2275728f.entry.js} +1 -1
- package/{dist/web-components-library/p-ec0c7a06.entry.js → www/build/p-251fce3e.entry.js} +1 -1
- package/{dist/web-components-library/p-f9f5ab0b.entry.js → www/build/p-269a9ec5.entry.js} +1 -1
- package/www/build/{p-248e6c7d.entry.js → p-275bebf2.entry.js} +1 -1
- package/www/build/{p-a98ccf36.entry.js → p-37e06523.entry.js} +1 -1
- package/www/build/{p-18c0f701.entry.js → p-3a57ff32.entry.js} +1 -1
- package/{dist/web-components-library/p-95414290.entry.js → www/build/p-546616a7.entry.js} +1 -1
- package/www/build/p-5cbe4445.entry.js +1 -0
- package/www/build/{p-9c81ed70.entry.js → p-687ba257.entry.js} +1 -1
- package/www/build/{p-49f8c86b.entry.js → p-6aa8b260.entry.js} +1 -1
- package/www/build/{p-287678e2.entry.js → p-6f18a0fc.entry.js} +1 -1
- package/www/build/{p-5a2dd46c.entry.js → p-6ff49230.entry.js} +1 -1
- package/www/build/p-717c5e20.entry.js +1 -0
- package/www/build/{p-0bcc78d4.entry.js → p-721d1645.entry.js} +1 -1
- package/www/build/p-7ed835e0.js +1 -0
- package/www/build/{p-80044bc0.entry.js → p-84d7a0ed.entry.js} +1 -1
- package/www/build/{p-35f7cac2.entry.js → p-854f5b2e.entry.js} +1 -1
- package/www/build/{p-25b1a634.entry.js → p-8d50bfa9.entry.js} +1 -1
- package/www/build/{p-2c86d1ea.entry.js → p-919cdfbf.entry.js} +1 -1
- package/www/build/p-9247f214.js +1 -0
- package/www/build/{p-0487d5f1.entry.js → p-939662fa.entry.js} +1 -1
- package/{dist/web-components-library/p-6d79baec.entry.js → www/build/p-955942fc.entry.js} +1 -1
- package/www/build/{p-33120ebd.entry.js → p-98350ea9.entry.js} +1 -1
- package/www/build/{p-044edef0.entry.js → p-9ac122ea.entry.js} +1 -1
- package/{dist/web-components-library/p-5553f117.entry.js → www/build/p-9b873fe5.entry.js} +1 -1
- package/www/build/{p-0ccda54f.entry.js → p-a72503d2.entry.js} +1 -1
- package/www/build/{p-1c2331a4.entry.js → p-ac41dd18.entry.js} +1 -1
- package/www/build/p-ac4f1a90.entry.js +1 -0
- package/www/build/{p-60e042a0.entry.js → p-adb293aa.entry.js} +1 -1
- package/{dist/web-components-library/p-7ce57dfd.entry.js → www/build/p-af353020.entry.js} +1 -1
- package/www/build/p-b40d8313.entry.js +1 -0
- package/www/build/{p-a88f4e49.entry.js → p-b5b5e5e3.entry.js} +1 -1
- package/www/build/{p-24ec049a.entry.js → p-bdf5ab5b.entry.js} +1 -1
- package/www/build/{p-4a8fe1e0.entry.js → p-bfa1813d.entry.js} +1 -1
- package/www/build/{p-0610360b.entry.js → p-bfccbf81.entry.js} +1 -1
- package/{dist/web-components-library/p-6db40dac.entry.js → www/build/p-c36ad471.entry.js} +1 -1
- package/www/build/{p-4906f5a6.entry.js → p-cd6ec70f.entry.js} +1 -1
- package/www/build/{p-2d93e9e9.entry.js → p-cdabcb55.entry.js} +1 -1
- package/{dist/web-components-library/p-71f19680.entry.js → www/build/p-ce351931.entry.js} +1 -1
- package/{dist/web-components-library/p-99a76b4d.entry.js → www/build/p-d3ce433b.entry.js} +1 -1
- package/www/build/{p-286c4c99.entry.js → p-db7dbb44.entry.js} +1 -1
- package/www/build/p-de2b2858.entry.js +1 -0
- package/www/build/{p-987f1f8a.entry.js → p-e150820d.entry.js} +1 -1
- package/www/build/{p-24f3a39e.entry.js → p-ea4a063a.entry.js} +1 -1
- package/www/build/{p-bf3ea7b5.entry.js → p-ebcda09e.entry.js} +1 -1
- package/www/build/{p-a4245c8a.entry.js → p-ed40ca4d.entry.js} +1 -1
- package/{dist/web-components-library/p-e30a093f.entry.js → www/build/p-f1eee91e.entry.js} +1 -1
- package/www/build/{p-fd404599.entry.js → p-f24e569d.entry.js} +1 -1
- package/www/build/p-fb7d64f2.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-0b222589.js +0 -1
- package/dist/web-components-library/p-10c3285d.entry.js +0 -1
- package/dist/web-components-library/p-13174553.entry.js +0 -1
- package/dist/web-components-library/p-206e5b31.entry.js +0 -1
- package/dist/web-components-library/p-286a2d0e.entry.js +0 -1
- package/dist/web-components-library/p-6897ca8c.js +0 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
- package/dist/web-components-library/p-e9628876.entry.js +0 -1
- package/www/build/p-0b222589.js +0 -1
- package/www/build/p-10c3285d.entry.js +0 -1
- package/www/build/p-13174553.entry.js +0 -1
- package/www/build/p-206e5b31.entry.js +0 -1
- package/www/build/p-286a2d0e.entry.js +0 -1
- package/www/build/p-6897ca8c.js +0 -1
- package/www/build/p-99d7ab2f.entry.js +0 -1
- package/www/build/p-ae4eff83.js +0 -1
- package/www/build/p-e9628876.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { o as LicenseTypeEnum } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "footer{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-surface05);background-color:var(--color-surface01);margin:0px;padding:0px;position:relative;z-index:5;height:calc(var(--space-unit) * 6);width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--color-surface03)}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{font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)\n var(--space-unit) calc(var(--space-unit) * 2);overflow:hidden;background-color:var(--color-surface01);transition:all 200ms linear}footer.isopen>p{font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear;background-color:var(--bg-neutral-200)}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{height:60px;overflow:hidden}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{font-size:14px;height:20px;line-height:20px;margin:0px;padding:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div.content>div>p.year_isbn{padding-top:var(--space-unit);display:flex;flex-direction:row;justify-content:space-between}footer>div.content>div>p.year_isbn>span.isbn{text-overflow:ellipsis;overflow:hidden}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;white-space:initial;text-overflow:initial}footer.isopen>div.content>div>p.year_isbn{flex-direction:column;height:50px;padding-left:0px}footer.isopen>div.content>div>p.year_isbn>span.isbn{display:inline-grid;padding-left:0px}footer.isopen{height:295px;top:-212px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.customContent{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.customContent>div.content{height:230px}.toggle{position:absolute;top:-24px;left:16px;z-index:10}.faded{opacity:0.3;pointer-events:none}footer>p.customContent,footer .content.customContent{display:none}footer.isopen>p.customContent,footer.isopen .content.customContent{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot=\"content\"]){display:block;height:112px;width:100%;padding:0 calc(var(--space-unit) * 2);box-sizing:border-box;border-top:var(--border-size-medium) solid transparent;position:absolute;top:calc(var(--space-unit) * 2);z-index:10;background:var(--color-white)}div.wrapper.isopen ::slotted([slot=\"content\"]){height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent);top:0;bottom:0}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { P as PopoverPositions } from './index-0944317b.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}: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{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}: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:0px;left:calc(var(--space-unit) * 4)}";
|
|
@@ -82,7 +82,7 @@ const ZMyzCardInfo = class {
|
|
|
82
82
|
if (!this.cardData)
|
|
83
83
|
return;
|
|
84
84
|
const { title, year, author, description } = this.cardData;
|
|
85
|
-
return (h("z-popover", { position: PopoverPositions.
|
|
85
|
+
return (h("z-popover", { position: PopoverPositions.right, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
86
86
|
}
|
|
87
87
|
setExpirationLicenseMessage(type) {
|
|
88
88
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { o as LicenseTypeEnum } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss$3 = ":host{--card-overflow:hidden}div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius);overflow:var(--card-overflow)}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}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import './index-
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
3
|
+
import './index-0944317b.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host li{all:unset;all:reset;width:100%}:host li{list-style-type:none;line-height:14px}:host li>span{line-height:14px;padding:calc(var(--space-unit) * 2) 0;display:flex;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;letter-spacing:0.23px;color:var(--text-grey-800);fill:var(--text-grey-800)}: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{color:var(--myz-blue);fill:var(--myz-blue);height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-size:contain;background-repeat:no-repeat}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { f as ButtonVariantEnum, g as ButtonSizeEnum } from './index-
|
|
2
|
+
import { f as ButtonVariantEnum, g as ButtonSizeEnum } from './index-0944317b.js';
|
|
3
3
|
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
5
|
const stylesCss = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * 0.5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * 0.5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * 0.5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * 0.5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * 0.5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { N as NavigationTabsOrientations,
|
|
2
|
+
import { N as NavigationTabsOrientations, p as NavigationTabsSizes } from './index-0944317b.js';
|
|
3
3
|
import { i as icons } from './icons-92a7dcde.js';
|
|
4
4
|
|
|
5
5
|
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}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{content:\"\";position:absolute;background-color:var(--color-hover-secondary)}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]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}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{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { N as NavigationTabsOrientations,
|
|
2
|
+
import { N as NavigationTabsOrientations, p as NavigationTabsSizes } from './index-0944317b.js';
|
|
3
3
|
import { i as icons } from './icons-92a7dcde.js';
|
|
4
4
|
|
|
5
5
|
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}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{content:\"\";position:absolute;background-color:var(--color-hover-secondary)}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]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}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{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { N as NavigationTabsOrientations,
|
|
2
|
+
import { N as NavigationTabsOrientations, p as NavigationTabsSizes } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{position:relative;display:flex;flex-direction:row;z-index:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1;box-shadow:0px 0px 4px 1px rgb(66, 69, 72, 0.40)}.navigation-button:focus:focus-visible{fill:var(--color-primary01);box-shadow:inset var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;scroll-behavior:smooth;scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc(var(--space-unit) * 4)}:host([orientation='horizontal']) .navigation-button:first-child{left:0}:host([orientation='horizontal']) .navigation-button:last-child{right:0}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation='vertical']) .navigation-button:first-child{top:0}:host([orientation='vertical']) .navigation-button:last-child{bottom:0}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { O as OffCanvasVariantsEnum,
|
|
2
|
+
import { O as OffCanvasVariantsEnum, q as TransitionDirectionEnum } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0px;z-index:1000;display:none;justify-content:end;height:100%;min-width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;flex-direction:column;z-index:1010;min-width:100%;height:100%;overflow:-moz-scrollbars-none;overflow:hidden;background:var(--color-surface01);transform:translateX(100%)}@keyframes enterRight{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitRight{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-name:exitRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;height:calc(100% - var(--z-offcanvas--top-space));top:var(--z-offcanvas--top-space);left:0;right:0;bottom:0}[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}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enterLeft{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitLeft{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-name:exitLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{flex:1 auto;overflow:auto;overflow-x:hidden;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width: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{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.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 (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;height:auto;min-width:max(var(--z-offcanvas--container-width), 375px);min-height:calc(var(--space-unit) * 40);max-width:max(var(--z-offcanvas--container-width), 375px)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{animation-name:grow;animation-duration:0.4s;animation-timing-function:ease-out;width:auto}}";
|
|
5
5
|
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as InputStatusEnum } from './index-0944317b.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{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}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,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
2
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-0944317b.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);fill:var(--color-primary01)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--color-disabled01);fill:var(--color-disabled01)}";
|
|
@@ -157,7 +157,8 @@ const ZPagination = class {
|
|
|
157
157
|
this.renderPage(this.totalPages),
|
|
158
158
|
];
|
|
159
159
|
}
|
|
160
|
-
if (this.currentPage > this.split * 2 + 2 &&
|
|
160
|
+
if (this.currentPage > this.split * 2 + 2 &&
|
|
161
|
+
this.currentPage < this.totalPages - this.split * 2 - 1) {
|
|
161
162
|
// Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
|
|
162
163
|
return [
|
|
163
164
|
this.renderPage(1),
|
|
@@ -188,7 +189,9 @@ const ZPagination = class {
|
|
|
188
189
|
pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
189
190
|
ev.preventDefault();
|
|
190
191
|
this.selectPage(this.goToPageValue);
|
|
191
|
-
} }, h("z-input", { class: "go-to-page-input", type: "number",
|
|
192
|
+
} }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
193
|
+
this.goToPageValue = ev.target.value;
|
|
194
|
+
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
192
195
|
];
|
|
193
196
|
}
|
|
194
197
|
componentDidLoad() {
|
|
@@ -206,10 +209,10 @@ const ZPagination = class {
|
|
|
206
209
|
return this.renderMobile();
|
|
207
210
|
}
|
|
208
211
|
return [
|
|
209
|
-
h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ?
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
212
|
+
h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
|
|
213
|
+
this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
214
|
+
this.goToPageValue = ev.target.value;
|
|
215
|
+
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
|
|
213
216
|
];
|
|
214
217
|
}
|
|
215
218
|
get host() { return getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { l as PocketStatusEnum } from './index-0944317b.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './breakpoints-c386984e.js';
|
|
6
6
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-90e18641.js';
|
|
2
2
|
import { c as classnames } from './index-abb47b30.js';
|
|
3
|
-
import {
|
|
4
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { r as PopoverPosition, s as PopoverBorderRadius, t as PopoverShadow, u as KeyboardKeys } from './index-0944317b.js';
|
|
4
|
+
import { a as getElementTree } from './utils-0d95f520.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { P as PopoverPositions,
|
|
3
|
-
import { a as getElementTree } from './utils-d49ae9f0.js';
|
|
4
|
-
import './breakpoints-c386984e.js';
|
|
2
|
+
import { P as PopoverPositions, u as KeyboardKeys } from './index-0944317b.js';
|
|
5
3
|
|
|
6
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;align-items:center;justify-content:center;padding:var(--z-popover-padding);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-popover-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-popover-theme--surface);filter:var(--z-popover-shadow-filter)}: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));display:block;content:\"\";position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);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(*){flex:1 auto;overflow:auto}";
|
|
7
5
|
|
|
@@ -98,7 +96,7 @@ const ZPopover = class {
|
|
|
98
96
|
this.positionChange = createEvent(this, "positionChange", 7);
|
|
99
97
|
this.openChange = createEvent(this, "openChange", 7);
|
|
100
98
|
/** Popover position. */
|
|
101
|
-
this.position = PopoverPositions.
|
|
99
|
+
this.position = PopoverPositions.auto;
|
|
102
100
|
/**
|
|
103
101
|
* The open state of the popover.
|
|
104
102
|
*/
|
|
@@ -125,8 +123,7 @@ const ZPopover = class {
|
|
|
125
123
|
if (!this.closable) {
|
|
126
124
|
return;
|
|
127
125
|
}
|
|
128
|
-
const
|
|
129
|
-
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
|
|
126
|
+
const parent = e.path.find((elem) => elem === this.host);
|
|
130
127
|
if (!parent) {
|
|
131
128
|
this.open = false;
|
|
132
129
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -134,8 +131,8 @@ const ZPopover = class {
|
|
|
134
131
|
}
|
|
135
132
|
validatePosition(newValue) {
|
|
136
133
|
if (newValue &&
|
|
137
|
-
Object.values(PopoverPositions).
|
|
138
|
-
this.position = PopoverPositions.
|
|
134
|
+
!Object.values(PopoverPositions).includes(newValue)) {
|
|
135
|
+
this.position = PopoverPositions.auto;
|
|
139
136
|
}
|
|
140
137
|
this.currentPosition = this.position;
|
|
141
138
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -209,28 +206,28 @@ const ZPopover = class {
|
|
|
209
206
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
210
207
|
let position = this.currentPosition;
|
|
211
208
|
const positions = [];
|
|
212
|
-
if (this.position === PopoverPositions.
|
|
209
|
+
if (this.position === PopoverPositions.auto) {
|
|
213
210
|
/**
|
|
214
211
|
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
215
212
|
* where there's more space available.
|
|
216
213
|
*/
|
|
217
214
|
if (availableLeft / availableWidth > 0.6) {
|
|
218
|
-
positions.push(PopoverPositions.
|
|
215
|
+
positions.push(PopoverPositions.left);
|
|
219
216
|
}
|
|
220
217
|
else if (availableLeft / availableWidth < 0.4) {
|
|
221
|
-
positions.push(PopoverPositions.
|
|
218
|
+
positions.push(PopoverPositions.right);
|
|
222
219
|
}
|
|
223
220
|
if (availableTop / availableHeight > 0.9) {
|
|
224
|
-
positions.unshift(PopoverPositions.
|
|
221
|
+
positions.unshift(PopoverPositions.top);
|
|
225
222
|
}
|
|
226
223
|
else if (availableTop / availableHeight > 0.6) {
|
|
227
|
-
positions.push(PopoverPositions.
|
|
224
|
+
positions.push(PopoverPositions.top);
|
|
228
225
|
}
|
|
229
226
|
else if (availableTop / availableHeight < 0.1) {
|
|
230
|
-
positions.unshift(PopoverPositions.
|
|
227
|
+
positions.unshift(PopoverPositions.bottom);
|
|
231
228
|
}
|
|
232
229
|
else {
|
|
233
|
-
positions.push(PopoverPositions.
|
|
230
|
+
positions.push(PopoverPositions.bottom);
|
|
234
231
|
}
|
|
235
232
|
position = positions.join("_");
|
|
236
233
|
}
|
|
@@ -242,18 +239,18 @@ const ZPopover = class {
|
|
|
242
239
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
243
240
|
const offsetModifier = this.center ? 0.5 : 0;
|
|
244
241
|
const sizeModifier = this.center ? 0.5 : 0;
|
|
245
|
-
if (position === PopoverPositions.
|
|
246
|
-
position === PopoverPositions.
|
|
242
|
+
if (position === PopoverPositions.top ||
|
|
243
|
+
position === PopoverPositions.top_right) {
|
|
247
244
|
style.top = "auto";
|
|
248
245
|
style.right = "auto";
|
|
249
246
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
250
247
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
251
248
|
style.maxHeight = `${availableTop}px`;
|
|
252
|
-
if (position === PopoverPositions.
|
|
249
|
+
if (position === PopoverPositions.top_right) {
|
|
253
250
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
254
251
|
}
|
|
255
252
|
}
|
|
256
|
-
else if (position === PopoverPositions.
|
|
253
|
+
else if (position === PopoverPositions.top_left) {
|
|
257
254
|
style.top = "auto";
|
|
258
255
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
259
256
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
@@ -261,18 +258,18 @@ const ZPopover = class {
|
|
|
261
258
|
style.maxWidth = `${availableLeft}px`;
|
|
262
259
|
style.maxHeight = `${availableTop}px`;
|
|
263
260
|
}
|
|
264
|
-
else if (position === PopoverPositions.
|
|
265
|
-
position === PopoverPositions.
|
|
261
|
+
else if (position === PopoverPositions.bottom ||
|
|
262
|
+
position === PopoverPositions.bottom_right) {
|
|
266
263
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
267
264
|
style.right = "auto";
|
|
268
265
|
style.bottom = "auto";
|
|
269
266
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
270
267
|
style.maxHeight = `${availableBottom}px`;
|
|
271
|
-
if (position === PopoverPositions.
|
|
268
|
+
if (position === PopoverPositions.bottom_right) {
|
|
272
269
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
273
270
|
}
|
|
274
271
|
}
|
|
275
|
-
else if (position === PopoverPositions.
|
|
272
|
+
else if (position === PopoverPositions.bottom_left) {
|
|
276
273
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
277
274
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
278
275
|
style.bottom = "auto";
|
|
@@ -280,8 +277,8 @@ const ZPopover = class {
|
|
|
280
277
|
style.maxWidth = `${availableLeft}px`;
|
|
281
278
|
style.maxHeight = `${availableBottom}px`;
|
|
282
279
|
}
|
|
283
|
-
else if (position === PopoverPositions.
|
|
284
|
-
position === PopoverPositions.
|
|
280
|
+
else if (position === PopoverPositions.right ||
|
|
281
|
+
position === PopoverPositions.right_bottom) {
|
|
285
282
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
286
283
|
style.right = "auto";
|
|
287
284
|
style.bottom = "auto";
|
|
@@ -289,7 +286,7 @@ const ZPopover = class {
|
|
|
289
286
|
style.maxWidth = `${availableRight}px`;
|
|
290
287
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
291
288
|
}
|
|
292
|
-
else if (position === PopoverPositions.
|
|
289
|
+
else if (position === PopoverPositions.right_top) {
|
|
293
290
|
style.top = "auto";
|
|
294
291
|
style.right = "auto";
|
|
295
292
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -297,8 +294,8 @@ const ZPopover = class {
|
|
|
297
294
|
style.maxWidth = `${availableRight}px`;
|
|
298
295
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
299
296
|
}
|
|
300
|
-
else if (position === PopoverPositions.
|
|
301
|
-
position === PopoverPositions.
|
|
297
|
+
else if (position === PopoverPositions.left ||
|
|
298
|
+
position === PopoverPositions.left_bottom) {
|
|
302
299
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
303
300
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
304
301
|
style.bottom = "auto";
|
|
@@ -306,7 +303,7 @@ const ZPopover = class {
|
|
|
306
303
|
style.maxWidth = `${availableLeft}px`;
|
|
307
304
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
308
305
|
}
|
|
309
|
-
else if (position === PopoverPositions.
|
|
306
|
+
else if (position === PopoverPositions.left_top) {
|
|
310
307
|
style.top = "auto";
|
|
311
308
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
312
309
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { v as ZSectionTitleDividerPositions, b as DividerSize } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;flex-direction:column;align-items:flex-start;width:fit-content;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);text-transform:uppercase;font-size:var(--font-size-3);line-height:1.5rem}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import { T as ThemeVariant } from './index-
|
|
2
|
+
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
3
|
+
import { T as ThemeVariant } from './index-0944317b.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-skip-to-content-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:absolute;left:-100%;background-color:#24f4ff;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);height:60px;box-sizing:border-box}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:0;width:0;overflow:hidden}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{height:initial;width:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{background-color:var(--bg-white);color:var(--text-grey-800);border:2px solid var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:initial;width:initial;overflow:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{border-right:none;padding-right:0}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { D as DeviceEnum } from './index-
|
|
3
|
-
import { d as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { D as DeviceEnum } from './index-0944317b.js';
|
|
3
|
+
import { d as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-0d95f520.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-90e18641.js';
|
|
2
|
-
import { S as StatusTagStatus } from './index-
|
|
2
|
+
import { S as StatusTagStatus } from './index-0944317b.js';
|
|
3
3
|
import { c as classnames } from './index-abb47b30.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { F as Size, f as ButtonVariantEnum, g as ButtonSizeEnum } from './index-0944317b.js';
|
|
3
3
|
import { c as classnames } from './index-abb47b30.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
2
|
import { c as classnames } from './index-abb47b30.js';
|
|
3
|
-
import {
|
|
4
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { F as Size, G as SortDirectionEnum, f as ButtonVariantEnum, g as ButtonSizeEnum, P as PopoverPositions } from './index-0944317b.js';
|
|
4
|
+
import { a as getElementTree } from './utils-0d95f520.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
@@ -72,7 +72,7 @@ const ZTableHeader = class {
|
|
|
72
72
|
sortable: this.sortable,
|
|
73
73
|
}), onClick: () => this.handleSort() }, h("div", { class: 'container' }, h("slot", null), this.sortable && this.sortDirection !== SortDirectionEnum.none && (h("z-icon", { name: this.sortDirection === SortDirectionEnum.asc
|
|
74
74
|
? "arrow-up"
|
|
75
|
-
: "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: 'popover-container' }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariantEnum["tertiary"], size: ButtonSizeEnum["x-small"], onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPositions.
|
|
75
|
+
: "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: 'popover-container' }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariantEnum["tertiary"], size: ButtonSizeEnum["x-small"], onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPositions.bottom, center: true, bindTo: this.triggerButton }, h("div", null, h("slot", { name: "contextual-menu" })))))));
|
|
76
76
|
}
|
|
77
77
|
get host() { return getElement(this); }
|
|
78
78
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { w as ZTableRowExpandedType } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { f as ButtonVariantEnum, g as ButtonSizeEnum } from './index-
|
|
2
|
+
import { f as ButtonVariantEnum, g as ButtonSizeEnum } from './index-0944317b.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
5
|
const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { y as ToastNotificationPositionsEnum } from './index-0944317b.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { x as ToastNotificationTransitionsEnum } from './index-0944317b.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { r as randomId } from './utils-
|
|
3
|
-
import { L as LabelPositions } from './index-
|
|
2
|
+
import { r as randomId } from './utils-0d95f520.js';
|
|
3
|
+
import { L as LabelPositions } from './index-0944317b.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
|