@zanichelli/albe-web-components 4.2.0 → 5.1.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/cjs/{index-0e75c8cc.js → index-bc9a5c2b.js} +53 -13
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-97262bbd.js → utils-2fa62b67.js} +1 -1
- package/dist/cjs/{utils-155eec04.js → utils-40bb75b1.js} +1 -2
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +3 -3
- 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-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +97 -303
- 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 +53 -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/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-popover/index.js +30 -32
- package/dist/collection/components/z-table/z-table-header/index.js +1 -1
- package/dist/collection/deprecated/z-popover-deprecated/index.js +173 -368
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +188 -86
- 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-c1ce8cab.js → index-e3640537.js} +54 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-fa9f38ec.js → utils-c1f651ae.js} +1 -2
- package/dist/esm/{utils-99c70c57.js → utils-f3d44cb3.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +3 -3
- 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-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +98 -304
- 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 +50 -13
- package/dist/types/components/buttons/z-button/index.d.ts +2 -3
- 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 +61 -26
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +27 -51
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-78df5dbf.entry.js → dist/web-components-library/p-057981fe.entry.js} +1 -1
- package/dist/web-components-library/p-07949b90.entry.js +1 -0
- package/dist/web-components-library/p-0c37f467.entry.js +1 -0
- package/{www/build/p-cd88cead.entry.js → dist/web-components-library/p-0f185eb0.entry.js} +1 -1
- package/dist/web-components-library/{p-b9cc2dfc.entry.js → p-12125ca9.entry.js} +1 -1
- package/dist/web-components-library/{p-4be52491.entry.js → p-139b5241.entry.js} +1 -1
- package/dist/web-components-library/p-20d02305.js +1 -0
- package/dist/web-components-library/{p-8ddbbe24.entry.js → p-242501d5.entry.js} +1 -1
- package/dist/web-components-library/{p-1b1717c9.entry.js → p-26e314bc.entry.js} +1 -1
- package/dist/web-components-library/{p-b359a3b4.entry.js → p-28ecb1ae.entry.js} +1 -1
- package/{www/build/p-dd0efdbf.entry.js → dist/web-components-library/p-2931f7bc.entry.js} +1 -1
- package/dist/web-components-library/p-2954396f.entry.js +1 -0
- package/dist/web-components-library/{p-0f6edb58.entry.js → p-2c17e016.entry.js} +1 -1
- package/dist/web-components-library/{p-1eb357e8.entry.js → p-3496bd33.entry.js} +1 -1
- package/dist/web-components-library/{p-897f9491.entry.js → p-38716520.entry.js} +1 -1
- package/{www/build/p-870dabdc.entry.js → dist/web-components-library/p-3ab957bb.entry.js} +1 -1
- package/dist/web-components-library/p-3e564afc.entry.js +1 -0
- package/{www/build/p-55f09348.entry.js → dist/web-components-library/p-45810268.entry.js} +1 -1
- package/dist/web-components-library/{p-1d5aa37b.entry.js → p-46f58c91.entry.js} +1 -1
- package/{www/build/p-1a76a57d.entry.js → dist/web-components-library/p-4c857706.entry.js} +1 -1
- package/dist/web-components-library/{p-53dade4b.entry.js → p-5332ba48.entry.js} +1 -1
- package/{www/build/p-91ec5eb4.entry.js → dist/web-components-library/p-57888e02.entry.js} +1 -1
- package/dist/web-components-library/{p-99a562cb.entry.js → p-57f2ceae.entry.js} +1 -1
- package/dist/web-components-library/{p-fdd91263.entry.js → p-5889ec85.entry.js} +1 -1
- package/dist/web-components-library/{p-970bd07c.entry.js → p-598f6761.entry.js} +1 -1
- package/dist/web-components-library/{p-46aecb12.entry.js → p-6f731dfa.entry.js} +1 -1
- package/dist/web-components-library/{p-28e4abc4.entry.js → p-7a3cdf12.entry.js} +1 -1
- package/dist/web-components-library/{p-c042e745.entry.js → p-7aa19a55.entry.js} +1 -1
- package/dist/web-components-library/{p-805af37b.entry.js → p-7dfe73cf.entry.js} +1 -1
- package/dist/web-components-library/{p-d04f3cb6.entry.js → p-83f0796d.entry.js} +1 -1
- package/dist/web-components-library/{p-10be0462.entry.js → p-85bd1ff2.entry.js} +1 -1
- package/dist/web-components-library/{p-7f1cc90f.js → p-8c4c18e1.js} +1 -1
- package/dist/web-components-library/{p-15fa8ca4.entry.js → p-90a4883b.entry.js} +1 -1
- package/dist/web-components-library/p-967401ab.js +1 -0
- package/dist/web-components-library/{p-f78d6123.entry.js → p-969652eb.entry.js} +1 -1
- package/dist/web-components-library/{p-8ce4b2c4.entry.js → p-98298391.entry.js} +1 -1
- package/dist/web-components-library/p-a2e54d19.entry.js +1 -0
- package/dist/web-components-library/{p-bfc78a89.entry.js → p-adbca438.entry.js} +1 -1
- package/dist/web-components-library/{p-659fc25e.entry.js → p-b3e7dfbd.entry.js} +1 -1
- package/dist/web-components-library/{p-6bbd53ec.entry.js → p-b43e7b60.entry.js} +1 -1
- package/{www/build/p-eca4cb15.entry.js → dist/web-components-library/p-b4c75519.entry.js} +1 -1
- package/dist/web-components-library/{p-990b8236.entry.js → p-b8e8220f.entry.js} +1 -1
- package/{www/build/p-4d6f2f01.entry.js → dist/web-components-library/p-c07bcbd3.entry.js} +1 -1
- package/dist/web-components-library/{p-41f33f7b.entry.js → p-c1ebd436.entry.js} +1 -1
- package/{www/build/p-fbfaa699.entry.js → dist/web-components-library/p-c4892336.entry.js} +1 -1
- package/dist/web-components-library/{p-caa21a6f.entry.js → p-d09b89da.entry.js} +1 -1
- package/dist/web-components-library/{p-c8383456.entry.js → p-d5844db1.entry.js} +1 -1
- package/dist/web-components-library/{p-5dcbba4e.entry.js → p-d641ea46.entry.js} +1 -1
- package/dist/web-components-library/{p-6c52ed1b.entry.js → p-dad7bc20.entry.js} +1 -1
- package/dist/web-components-library/{p-e74b3fd9.entry.js → p-e3840215.entry.js} +1 -1
- package/{www/build/p-d6361790.entry.js → dist/web-components-library/p-e768fe51.entry.js} +1 -1
- package/dist/web-components-library/{p-053846df.entry.js → p-e815e82b.entry.js} +1 -1
- package/dist/web-components-library/{p-ff4a0f6f.entry.js → p-fde7105a.entry.js} +1 -1
- package/dist/web-components-library/{p-92895bce.entry.js → p-fed999af.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/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-78df5dbf.entry.js → www/build/p-057981fe.entry.js} +1 -1
- package/www/build/p-07949b90.entry.js +1 -0
- package/www/build/p-0c37f467.entry.js +1 -0
- package/{dist/web-components-library/p-cd88cead.entry.js → www/build/p-0f185eb0.entry.js} +1 -1
- package/www/build/{p-b9cc2dfc.entry.js → p-12125ca9.entry.js} +1 -1
- package/www/build/{p-4be52491.entry.js → p-139b5241.entry.js} +1 -1
- package/www/build/p-20d02305.js +1 -0
- package/www/build/{p-8ddbbe24.entry.js → p-242501d5.entry.js} +1 -1
- package/www/build/{p-1b1717c9.entry.js → p-26e314bc.entry.js} +1 -1
- package/www/build/{p-b359a3b4.entry.js → p-28ecb1ae.entry.js} +1 -1
- package/{dist/web-components-library/p-dd0efdbf.entry.js → www/build/p-2931f7bc.entry.js} +1 -1
- package/www/build/p-2954396f.entry.js +1 -0
- package/www/build/{p-0f6edb58.entry.js → p-2c17e016.entry.js} +1 -1
- package/www/build/{p-1eb357e8.entry.js → p-3496bd33.entry.js} +1 -1
- package/www/build/{p-897f9491.entry.js → p-38716520.entry.js} +1 -1
- package/{dist/web-components-library/p-870dabdc.entry.js → www/build/p-3ab957bb.entry.js} +1 -1
- package/www/build/p-3e564afc.entry.js +1 -0
- package/www/build/p-418e5795.js +1 -0
- package/{dist/web-components-library/p-55f09348.entry.js → www/build/p-45810268.entry.js} +1 -1
- package/www/build/{p-1d5aa37b.entry.js → p-46f58c91.entry.js} +1 -1
- package/{dist/web-components-library/p-1a76a57d.entry.js → www/build/p-4c857706.entry.js} +1 -1
- package/www/build/p-4c9c83c0.css +1 -0
- package/www/build/{p-53dade4b.entry.js → p-5332ba48.entry.js} +1 -1
- package/{dist/web-components-library/p-91ec5eb4.entry.js → www/build/p-57888e02.entry.js} +1 -1
- package/www/build/{p-99a562cb.entry.js → p-57f2ceae.entry.js} +1 -1
- package/www/build/{p-fdd91263.entry.js → p-5889ec85.entry.js} +1 -1
- package/www/build/{p-970bd07c.entry.js → p-598f6761.entry.js} +1 -1
- package/www/build/{p-46aecb12.entry.js → p-6f731dfa.entry.js} +1 -1
- package/www/build/{p-28e4abc4.entry.js → p-7a3cdf12.entry.js} +1 -1
- package/www/build/{p-c042e745.entry.js → p-7aa19a55.entry.js} +1 -1
- package/www/build/{p-805af37b.entry.js → p-7dfe73cf.entry.js} +1 -1
- package/www/build/{p-d04f3cb6.entry.js → p-83f0796d.entry.js} +1 -1
- package/www/build/{p-10be0462.entry.js → p-85bd1ff2.entry.js} +1 -1
- package/www/build/{p-7f1cc90f.js → p-8c4c18e1.js} +1 -1
- package/www/build/{p-15fa8ca4.entry.js → p-90a4883b.entry.js} +1 -1
- package/www/build/p-967401ab.js +1 -0
- package/www/build/{p-f78d6123.entry.js → p-969652eb.entry.js} +1 -1
- package/www/build/{p-8ce4b2c4.entry.js → p-98298391.entry.js} +1 -1
- package/www/build/p-a2e54d19.entry.js +1 -0
- package/www/build/{p-bfc78a89.entry.js → p-adbca438.entry.js} +1 -1
- package/www/build/{p-659fc25e.entry.js → p-b3e7dfbd.entry.js} +1 -1
- package/www/build/{p-6bbd53ec.entry.js → p-b43e7b60.entry.js} +1 -1
- package/{dist/web-components-library/p-eca4cb15.entry.js → www/build/p-b4c75519.entry.js} +1 -1
- package/www/build/{p-990b8236.entry.js → p-b8e8220f.entry.js} +1 -1
- package/{dist/web-components-library/p-4d6f2f01.entry.js → www/build/p-c07bcbd3.entry.js} +1 -1
- package/www/build/{p-41f33f7b.entry.js → p-c1ebd436.entry.js} +1 -1
- package/{dist/web-components-library/p-fbfaa699.entry.js → www/build/p-c4892336.entry.js} +1 -1
- package/www/build/{p-caa21a6f.entry.js → p-d09b89da.entry.js} +1 -1
- package/www/build/{p-c8383456.entry.js → p-d5844db1.entry.js} +1 -1
- package/www/build/{p-5dcbba4e.entry.js → p-d641ea46.entry.js} +1 -1
- package/www/build/{p-6c52ed1b.entry.js → p-dad7bc20.entry.js} +1 -1
- package/www/build/{p-e74b3fd9.entry.js → p-e3840215.entry.js} +1 -1
- package/{dist/web-components-library/p-d6361790.entry.js → www/build/p-e768fe51.entry.js} +1 -1
- package/www/build/{p-053846df.entry.js → p-e815e82b.entry.js} +1 -1
- package/www/build/{p-ff4a0f6f.entry.js → p-fde7105a.entry.js} +1 -1
- package/www/build/{p-92895bce.entry.js → p-fed999af.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -1788
- package/dist/web-components-library/p-514719d2.entry.js +0 -1
- package/dist/web-components-library/p-b6cd034b.js +0 -1
- package/dist/web-components-library/p-e007cd0b.entry.js +0 -1
- package/dist/web-components-library/p-ed1cd6b1.js +0 -1
- package/dist/web-components-library/p-f26251dd.entry.js +0 -1
- package/dist/web-components-library/p-f61fd81e.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-514719d2.entry.js +0 -1
- package/www/build/p-975e9d42.js +0 -129
- package/www/build/p-b6cd034b.js +0 -1
- package/www/build/p-e007cd0b.entry.js +0 -1
- package/www/build/p-ed1cd6b1.js +0 -1
- package/www/build/p-f26251dd.entry.js +0 -1
- package/www/build/p-f61fd81e.entry.js +0 -1
- package/www/build/p-fcff1237.css +0 -812
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as r,g as e}from"./p-98268a57.js";import{P as i,q as s}from"./p-ed1cd6b1.js";import{a as n}from"./p-7f1cc90f.js";import"./p-d69e14fb.js";const a=document.documentElement;function p(t){return t.parentNode.host?t.parentNode.host:t.parentNode}function h(t,o){const r=t.getBoundingClientRect(),e=r.width,i=r.height;let s,n,a=0,p=0,h=t;for(;h&&h!=o;){if(p+=h.offsetLeft,h===document.body?a+=h.getBoundingClientRect().top+window.scrollY:a+=h.offsetTop,window.DOMMatrix){const t=window.getComputedStyle(h),o=new DOMMatrix(t.transform||t.webkitTransform);o&&(p+=o.m41,h!==document.body&&(a+=o.m42))}if(!h.offsetParent)break;h=h.offsetParent}return h===document.body?(s=window.innerWidth,n=window.innerHeight):(s=h.offsetWidth,n=h.offsetHeight),{top:a,right:s-p-r.width,bottom:n-a-r.height,left:p,width:e,height:i}}const c=class{constructor(r){t(this,r),this.positionChange=o(this,"positionChange",7),this.openChange=o(this,"openChange",7),this.position=i.AUTO,this.open=!1,this.showArrow=!1,this.center=!1,this.closable=!0}closePopoverWithKeyboard(t){this.closable&&t.key===s.ESC&&(this.open=!1)}handleOutsideClick(t){this.closable&&(n(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))||(this.open=!1,this.positionChange.emit({position:this.currentPosition})))}validatePosition(t){t&&Object.values(i).every((o=>t!==o))&&(this.position=i.AUTO),this.currentPosition=this.position,this.positionChange.emit({position:this.currentPosition})}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.open){const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};t()}else this.host.hasAttribute("current-position")&&(this.host.removeAttribute("current-position"),this.currentPosition=void 0);this.openChange.emit({open:this.open})}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}setPosition(){let t;if(t="string"==typeof this.bindTo?this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.bindTo:this.host.parentElement,!t)return;const o=function(t){let o=p(t);for(;o&&o!==a;){const{overflow:t,overflowX:r,overflowY:e}=window.getComputedStyle(o);if("hidden"===t||"hidden"===e||"hidden"===r)return o;if(o.scrollHeight>o.clientHeight&&"visible"!==t&&"visible"!==e||o.scrollWidth>o.clientWidth&&"visible"!==t&&"visible"!==r)return o;o=p(o)}return a}(t),r=o.getBoundingClientRect(),e=this.host.offsetParent,s=e?h(e,o):{top:0,right:0,bottom:0,left:0},n=h(t,o),c=n.top-o.scrollTop,f=r.height-(n.top+n.height)+o.scrollTop,u=n.left-o.scrollLeft,l=r.width-(n.left+n.width)+o.scrollLeft,d=Math.max(0,r.top+r.height-window.innerHeight),b=Math.max(0,r.left+r.width-window.innerWidth),v=Math.min(c,c+r.top),w=Math.min(f,f-d),m=Math.min(u,u+r.left),g=Math.min(l,l-b),x=v+w+n.height,$=m+g+n.width;let z=this.currentPosition;const y=[];this.position===i.AUTO&&(m/$>.6?y.push(i.LEFT):m/$<.4&&y.push(i.RIGHT),v/x>.9?y.unshift(i.TOP):v/x>.6?y.push(i.TOP):v/x<.1?y.unshift(i.BOTTOM):y.push(i.BOTTOM),z=y.join("_"));const _=this.host.style;_.position="absolute";const M=n.top-s.top,j=n.right-s.right,k=n.bottom-s.bottom,C=n.left-s.left,O=this.center?.5:0,P=this.center?.5:0;z===i.TOP||z===i.TOP_RIGHT?(_.top="auto",_.right="auto",_.bottom=`${k+n.height}px`,_.left=`${C+n.width*O}px`,_.maxHeight=`${v}px`,z===i.TOP_RIGHT&&(_.maxWidth=`${g+n.width*P}px`)):z===i.TOP_LEFT?(_.top="auto",_.right=`${j+n.width*O}px`,_.bottom=`${k+n.height}px`,_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${v}px`):z===i.BOTTOM||z===i.BOTTOM_RIGHT?(_.top=`${M+n.height}px`,_.right="auto",_.bottom="auto",_.left=`${C+n.width*O}px`,_.maxHeight=`${w}px`,z===i.BOTTOM_RIGHT&&(_.maxWidth=`${g+n.width*P}px`)):z===i.BOTTOM_LEFT?(_.top=`${M+n.height}px`,_.right=`${j+n.width*O}px`,_.bottom="auto",_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${w}px`):z===i.RIGHT||z===i.RIGHT_BOTTOM?(_.top=`${M+n.height*O}px`,_.right="auto",_.bottom="auto",_.left=`${C+n.width}px`,_.maxWidth=`${g}px`,_.maxHeight=`${w+n.height*P}px`):z===i.RIGHT_TOP?(_.top="auto",_.right="auto",_.bottom=`${k+n.height*O}px`,_.left=`${C+n.width}px`,_.maxWidth=`${g}px`,_.maxHeight=`${v+n.height*P}px`):z===i.LEFT||z===i.LEFT_BOTTOM?(_.top=`${M+n.height*O}px`,_.right=`${j+n.width}px`,_.bottom="auto",_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${w+n.height*P}px`):z===i.LEFT_TOP&&(_.top="auto",_.right=`${j+n.width}px`,_.bottom=`${k+n.height*O}px`,_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${v+n.height*P}px`),this.currentPosition=z||this.position,this.host.setAttribute("current-position",this.currentPosition)}componentWillLoad(){this.validatePosition(this.position),this.onOpen()}render(){return r("slot",null)}get host(){return e(this)}static get watchers(){return{position:["validatePosition"],open:["onOpen"]}}};c.style=':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}';export{c as z_popover}
|
package/www/build/p-ed1cd6b1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,n,o,e,a,i,s,r,c,u,l,f,d,m,g,p,b,h,w,E,A,_,x,v,T,D,k,S,y,C,O,R,B,N,P,z,U,W,I,K,L,M;!function(t){t.real="reale",t.virtual="virtuale",t.trial="saggio",t.temp="reale_temp"}(t||(t={})),function(t){t.border="border",t.shadow="shadow",t.overlay="overlay",t.text="text"}(n||(n={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(o||(o={})),function(t){t.big="big",t.small="small"}(e||(e={})),function(t){t.primary="primary",t.secondary="secondary",t.tertiary="tertiary",t["dark-bg"]="dark-bg"}(a||(a={})),function(t){t.submit="submit",t.reset="reset",t.button="button"}(i||(i={})),function(t){t.big="big",t.small="small",t["x-small"]="x-small"}(s||(s={})),function(t){t.text="text",t.password="password",t.number="number",t.email="email",t.textarea="textarea",t.checkbox="checkbox",t.radio="radio"}(r||(r={})),function(t){t.success="success",t.error="error",t.warning="warning"}(c||(c={})),function(t){t.AUTO="auto",t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t.TOP_RIGHT="top_right",t.TOP_LEFT="top_left",t.BOTTOM_RIGHT="bottom_right",t.BOTTOM_LEFT="bottom_left",t.RIGHT_TOP="right_top",t.RIGHT_BOTTOM="right_bottom",t.LEFT_TOP="left_top",t.LEFT_BOTTOM="left_bottom"}(u||(u={})),function(t){t[t.TAB=9]="TAB",t[t.SPACE=32]="SPACE",t[t.ESC=27]="ESC",t[t.ENTER=13]="ENTER",t[t.ARROW_UP=38]="ARROW_UP",t[t.ARROW_DOWN=40]="ARROW_DOWN",t[t.BACKSPACE=8]="BACKSPACE",t[t.DELETE=46]="DELETE"}(l||(l={})),function(t){t.TAB="Tab",t.SPACE="Space",t.ESC="Escape",t.ENTER="Enter",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t.BACKSPACE="Backspace",t.DELETE="Delete"}(f||(f={})),function(t){t.ARROW_DOWN="ArrowDown",t.ARROW_UP="ArrowUp",t.ENTER="Enter",t.ESC="Escape",t.SPACE="Space"}(d||(d={})),function(t){t.dark="dark",t.light="light"}(m||(m={})),function(t){t.small="small",t.medium="medium",t.large="large"}(g||(g={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(p||(p={})),function(t){t.asc="asc",t.desc="desc",t.none="none"}(b||(b={})),function(t){t.small="small",t.medium="medium",t.large="large"}(h||(h={})),function(t){t.small="small",t.medium="medium",t.large="large",t["x-large"]="x-large"}(w||(w={})),function(t){t["x-small"]="x-small",t.small="small",t.medium="medium",t.large="large",t.special="special"}(E||(E={})),function(t){t.accordion="accordion",t.menu="menu"}(A||(A={})),function(t){t.right="right",t.left="left"}(_||(_={})),function(t){t.right="right",t.left="left"}(x||(x={})),function(t){t.none="none",t.header="header",t.element="element"}(v||(v={})),function(t){t.success="success",t.warning="warning",t.error="error"}(T||(T={})),function(t){t.success="success",t.warning="warning",t.error="error"}(D||(D={})),function(t){t.mobile="mobile",t.tablet="tablet",t.desktop="desktop"}(k||(k={})),function(t){t.preview="preview",t.open="open",t.closed="closed"}(S||(S={})),function(t){t.dark="dark",t.light="light",t.accent="accent",t.error="error",t.success="success",t.warning="warning"}(y||(y={})),function(t){t.slideInLeft="slide-in-left",t.slideInRight="slide-in-right",t.slideInDown="slide-in-down",t.slideInUp="slide-in-up",t.slideOutLeft="slide-out-left",t.slideOutRight="slide-out-right",t.slideOutDown="slide-out-down",t.slideOutUp="slide-out-up"}(C||(C={})),function(t){t.topRight="top-right",t.topLeft="top-left",t.topCentre="top-centre",t.bottomRight="bottom-right",t.bottomLeft="bottom-left",t.bottomCentre="bottom-centre"}(O||(O={})),function(t){t.expandable="expandable",t.padding="padding",t.none="none"}(R||(R={})),function(t){t.polite="polite",t.assertive="assertive"}(B||(B={})),function(t){t.left="left",t.right="right"}(N||(N={})),function(t){t.overlay="overlay",t.pushcontent="pushcontent"}(P||(P={})),function(t){t.default="default",t.dragdrop="dragdrop"}(z||(z={})),function(t){t.default="default",t.medium="medium",t.small="small"}(U||(U={})),function(t){t.before="before",t.after="after"}(W||(W={})),function(t){t.date="date",t.dateTime="date-time",t.months="months"}(I||(I={})),function(t){t[t.DATE=401]="DATE",t[t.DATETIME=523]="DATETIME",t[t.MONTHS=288]="MONTHS"}(K||(K={})),function(t){t.top="top",t.bottom="bottom"}(L||(L={})),function(t){t.warning="warning",t.error="error",t.success="success",t.neutral="neutral",t.default="default"}(M||(M={}));export{h as A,i as B,n as C,k as D,_ as E,r as I,f as K,x as L,o as N,P as O,u as P,M as S,m as T,I as Z,p as a,g as b,L as c,K as d,B as e,a as f,s as g,l as h,U as i,z as j,S as k,c as l,D as m,t as n,e as o,N as p,d as q,W as r,R as s,C as t,O as u,v,w,E as x,b as y,A as z}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,g as r}from"./p-98268a57.js";import{P as i,q as s}from"./p-ed1cd6b1.js";import{a as n}from"./p-7f1cc90f.js";import"./p-d69e14fb.js";const a=document.documentElement;function p(t){return t.parentNode.host?t.parentNode.host:t.parentNode}function h(t,o){const e=t.getBoundingClientRect(),r=e.width,i=e.height;let s,n,a=0,p=0,h=t;for(;h&&h!=o;){if(p+=h.offsetLeft,h===document.body?a+=h.getBoundingClientRect().top+window.scrollY:a+=h.offsetTop,window.DOMMatrix){const t=window.getComputedStyle(h),o=new DOMMatrix(t.transform||t.webkitTransform);o&&(p+=o.m41,h!==document.body&&(a+=o.m42))}if(!h.offsetParent)break;h=h.offsetParent}return h===document.body?(s=window.innerWidth,n=window.innerHeight):(s=h.offsetWidth,n=h.offsetHeight),{top:a,right:s-p-e.width,bottom:n-a-e.height,left:p,width:r,height:i}}const c=class{constructor(e){t(this,e),this.positionChange=o(this,"positionChange",7),this.openChange=o(this,"openChange",7),this.position=i.AUTO,this.open=!1,this.showArrow=!1,this.center=!1}closePopoverWithKeyboard(t){t.key===s.ESC&&(this.open=!1)}handleOutsideClick(t){n(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))||(this.open=!1,this.positionChange.emit({position:this.currentPosition}))}validatePosition(t){t&&Object.values(i).every((o=>t!==o))&&(this.position=i.AUTO),this.currentPosition=this.position,this.positionChange.emit({position:this.currentPosition})}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.open){const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};t()}else{const t=this.host.style;t.removeProperty("top"),t.removeProperty("right"),t.removeProperty("bottom"),t.removeProperty("left"),t.removeProperty("max-width"),t.removeProperty("max-height"),this.currentPosition=void 0}this.openChange.emit({open:this.open})}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}setPosition(){let t;if(t="string"==typeof this.bindTo?this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.bindTo:this.host.parentElement,!t)return;const o=function(t){let o=p(t);for(;o&&o!==a;){const{overflow:t,overflowX:e,overflowY:r}=window.getComputedStyle(o);if("hidden"===t||"hidden"===r||"hidden"===e)return o;if(o.scrollHeight>o.clientHeight&&"visible"!==t&&"visible"!==r||o.scrollWidth>o.clientWidth&&"visible"!==t&&"visible"!==e)return o;o=p(o)}return a}(t),e=o.getBoundingClientRect(),r=this.host.offsetParent,s=r?h(r,o):{top:0,right:0,bottom:0,left:0},n=h(t,o),c=n.top-o.scrollTop,f=e.height-(n.top+n.height)+o.scrollTop,l=n.left-o.scrollLeft,u=e.width-(n.left+n.width)+o.scrollLeft,b=Math.max(0,e.top+e.height-window.innerHeight),d=Math.max(0,e.left+e.width-window.innerWidth),v=Math.min(c,c+e.top),w=Math.min(f,f-b),m=Math.min(l,l+e.left),x=Math.min(u,u-d),g=v+w+n.height,$=m+x+n.width;let z=this.currentPosition;const _=[];this.position===i.AUTO&&(m/$>.6?_.push(i.LEFT):m/$<.4&&_.push(i.RIGHT),v/g>.9?_.unshift(i.TOP):v/g>.6?_.push(i.TOP):v/g<.1?_.unshift(i.BOTTOM):_.push(i.BOTTOM),z=_.join("_"));const y=this.host.style;y.position="absolute";const M=n.top-s.top,j=n.right-s.right,k=n.bottom-s.bottom,C=n.left-s.left,O=this.center?.5:0,P=this.center?.5:0;z===i.TOP||z===i.TOP_RIGHT?(y.top="auto",y.right="auto",y.bottom=`${k+n.height}px`,y.left=`${C+n.width*O}px`,y.maxHeight=`${v}px`,z===i.TOP_RIGHT&&(y.maxWidth=`${x+n.width*P}px`)):z===i.TOP_LEFT?(y.top="auto",y.right=`${j+n.width*O}px`,y.bottom=`${k+n.height}px`,y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${v}px`):z===i.BOTTOM||z===i.BOTTOM_RIGHT?(y.top=`${M+n.height}px`,y.right="auto",y.bottom="auto",y.left=`${C+n.width*O}px`,y.maxHeight=`${w}px`,z===i.BOTTOM_RIGHT&&(y.maxWidth=`${x+n.width*P}px`)):z===i.BOTTOM_LEFT?(y.top=`${M+n.height}px`,y.right=`${j+n.width*O}px`,y.bottom="auto",y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${w}px`):z===i.RIGHT||z===i.RIGHT_BOTTOM?(y.top=`${M+n.height*O}px`,y.right="auto",y.bottom="auto",y.left=`${C+n.width}px`,y.maxWidth=`${x}px`,y.maxHeight=`${w+n.height*P}px`):z===i.RIGHT_TOP?(y.top="auto",y.right="auto",y.bottom=`${k+n.height*O}px`,y.left=`${C+n.width}px`,y.maxWidth=`${x}px`,y.maxHeight=`${v+n.height*P}px`):z===i.LEFT||z===i.LEFT_BOTTOM?(y.top=`${M+n.height*O}px`,y.right=`${j+n.width}px`,y.bottom="auto",y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${w+n.height*P}px`):z===i.LEFT_TOP&&(y.top="auto",y.right=`${j+n.width}px`,y.bottom=`${k+n.height*O}px`,y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${v+n.height*P}px`),this.currentPosition=z||this.position,this.host.setAttribute("current-position",this.currentPosition)}componentWillLoad(){this.validatePosition(this.position),this.onOpen()}render(){return e("slot",null)}get host(){return r(this)}static get watchers(){return{position:["validatePosition"],open:["onOpen"]}}};c.style=":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:var(--space-unit);--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:flex;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(:not([open])),:host([open=\"false\"]){display:none}: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])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));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{left:var(--arrow-center-x-offset)}:host([current-position='right'])::before,:host([current-position='left'])::before{top:var(--arrow-center-x-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:calc(var(--arrow-edge-offset) + var(--arrow-size))}:host([current-position='top_right']:not([center]))::before,:host([current-position='bottom_right']:not([center]))::before,:host([current-position='top_right'][center=\"false\"])::before,:host([current-position='bottom_right'][center=\"false\"])::before{right:calc(var(--arrow-edge-offset) - var(--arrow-size) + 1px)}:host([current-position='top_left'])::before,:host([current-position='bottom_left'])::before{left:calc(var(--arrow-edge-offset) + var(--arrow-size))}:host([current-position='top_left']:not([center]))::before,:host([current-position='bottom_left']:not([center]))::before,:host([current-position='top_left'][center=\"false\"])::before,:host([current-position='bottom_left'][center=\"false\"])::before{left:calc(var(--arrow-edge-offset) - var(--arrow-size) + 1px)}:host([current-position='right_top'])::before,:host([current-position='left_top'])::before{bottom:var(--arrow-size)}: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{top:var(--arrow-size)}::slotted(*){flex:1 auto;overflow:auto}";export{c as z_popover_deprecated}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as a}from"./p-98268a57.js";import{N as n,o}from"./p-ed1cd6b1.js";import{i as e}from"./p-42b0972c.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.horizontal,this.size=o.big}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.horizontal?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.disabled||(this.selected=!0)}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("button",{role:"tab",disabled:this.disabled,title:this.htmlTitle,onFocus:this.scrollToTab.bind(this)},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='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}';export{r as z_navigation_tab}
|