@zanichelli/albe-web-components 18.5.3 → 18.5.4-RC1
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-6ba31c6e.js → index-10fe85fc.js} +2 -2
- package/dist/cjs/{index-6ba31c6e.js.map → index-10fe85fc.js.map} +1 -1
- package/dist/cjs/{index-339004f9.js → index-152c983a.js} +4 -4
- package/dist/cjs/{index-339004f9.js.map → index-152c983a.js.map} +1 -1
- package/dist/cjs/{index-97a4c18d.js → index-2d4fb043.js} +1 -6
- package/dist/cjs/index-2d4fb043.js.map +1 -0
- package/dist/cjs/{index-aeea3159.js → index-6b856bc1.js} +2 -2
- package/dist/cjs/{index-aeea3159.js.map → index-6b856bc1.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-7f9d5a78.js → utils-7bfaaf8c.js} +2 -2
- package/dist/cjs/{utils-7f9d5a78.js.map → utils-7bfaaf8c.js.map} +1 -1
- package/dist/cjs/{utils-93961cb6.js → utils-ecc8ba50.js} +2 -2
- package/dist/cjs/{utils-93961cb6.js.map → utils-ecc8ba50.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.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-book-card-app.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +153 -307
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +5 -5
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +0 -5
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
- package/dist/collection/components/z-popover/index.js +156 -316
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/index.stories.js +41 -124
- package/dist/collection/components/z-popover/index.stories.js.map +1 -1
- package/dist/collection/components/z-popover/styles.css +10 -16
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index2.js +0 -5
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index23.js +154 -308
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +0 -1
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +0 -1
- package/dist/components/z-tr.js.map +1 -1
- package/dist/esm/{index-eb99d165.js → index-6b637355.js} +2 -2
- package/dist/esm/{index-eb99d165.js.map → index-6b637355.js.map} +1 -1
- package/dist/esm/{index-2a6324f8.js → index-cb76b648.js} +1 -6
- package/dist/esm/index-cb76b648.js.map +1 -0
- package/dist/esm/{index-5e18fc4b.js → index-d02d53b4.js} +2 -2
- package/dist/esm/{index-5e18fc4b.js.map → index-d02d53b4.js.map} +1 -1
- package/dist/esm/{index-3e140e28.js → index-d0f93a38.js} +4 -4
- package/dist/esm/{index-3e140e28.js.map → index-d0f93a38.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-227ef1c0.js → utils-26154cbf.js} +2 -2
- package/dist/esm/{utils-227ef1c0.js.map → utils-26154cbf.js.map} +1 -1
- package/dist/esm/{utils-c8abef2f.js → utils-f6ae5714.js} +2 -2
- package/dist/esm/{utils-c8abef2f.js.map → utils-f6ae5714.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js +1 -1
- package/dist/esm/z-app-header_12.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-book-card-app.entry.js +1 -1
- package/dist/esm/z-book-card-deprecated.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +154 -308
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +5 -5
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/esm/z-tree-list.entry.js +1 -1
- package/dist/types/beans/index.d.ts +0 -5
- package/dist/types/components/z-popover/index.d.ts +4 -50
- package/dist/types/components/z-popover/index.stories.d.ts +6 -26
- package/dist/types/components.d.ts +3 -23
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-a06fbbc0.js → p-02c55ed9.js} +2 -2
- package/{www/build/p-ac888c48.entry.js → dist/web-components-library/p-064c29b7.entry.js} +2 -2
- package/dist/web-components-library/{p-8f4a90dc.entry.js → p-0c61db99.entry.js} +2 -2
- package/{www/build/p-c4b78535.entry.js → dist/web-components-library/p-10345a6d.entry.js} +2 -2
- package/dist/web-components-library/{p-12900bf7.js → p-171ee634.js} +2 -2
- package/dist/web-components-library/{p-7c69b70a.entry.js → p-173b1867.entry.js} +2 -2
- package/dist/web-components-library/{p-a35c1fab.js → p-2174d968.js} +2 -2
- package/dist/web-components-library/p-22a8071a.entry.js +2 -0
- package/dist/web-components-library/{p-97294823.entry.js.map → p-22a8071a.entry.js.map} +1 -1
- package/dist/web-components-library/{p-afea8173.entry.js → p-22aab9d2.entry.js} +2 -2
- package/dist/web-components-library/{p-817689d5.entry.js → p-23d669a8.entry.js} +2 -2
- package/dist/web-components-library/p-28b41569.entry.js +2 -0
- package/dist/web-components-library/p-2aa75dee.entry.js +2 -0
- package/dist/web-components-library/p-2aa75dee.entry.js.map +1 -0
- package/dist/web-components-library/{p-fb232d07.entry.js → p-2afe6219.entry.js} +2 -2
- package/dist/web-components-library/{p-e3b82454.entry.js → p-2fd165a0.entry.js} +2 -2
- package/dist/web-components-library/p-305d294a.entry.js +2 -0
- package/dist/web-components-library/p-3315c3e1.entry.js +2 -0
- package/{www/build/p-2fb52cd0.entry.js → dist/web-components-library/p-333e3cef.entry.js} +2 -2
- package/{www/build/p-252ef047.entry.js → dist/web-components-library/p-33c8d043.entry.js} +2 -2
- package/dist/web-components-library/{p-98fdc6b5.entry.js → p-35b5c549.entry.js} +2 -2
- package/{www/build/p-def1bcc7.entry.js → dist/web-components-library/p-38ffeac0.entry.js} +2 -2
- package/dist/web-components-library/{p-cebc9451.entry.js → p-40ac080b.entry.js} +2 -2
- package/dist/web-components-library/{p-342b0eb0.entry.js → p-411e98ab.entry.js} +2 -2
- package/dist/web-components-library/{p-4cfe0f87.entry.js → p-440db280.entry.js} +2 -2
- package/dist/web-components-library/{p-57b8bd19.entry.js → p-49f5ad13.entry.js} +2 -2
- package/dist/web-components-library/p-56156e0e.entry.js +2 -0
- package/{www/build/p-7fbdf8f9.entry.js → dist/web-components-library/p-59c1d10c.entry.js} +2 -2
- package/dist/web-components-library/{p-0df112c4.entry.js → p-5cca3cf8.entry.js} +2 -2
- package/dist/web-components-library/{p-9047fe2a.entry.js → p-60ea979a.entry.js} +2 -2
- package/dist/web-components-library/{p-1477f263.entry.js → p-62aaee7a.entry.js} +2 -2
- package/dist/web-components-library/{p-b63c8e8b.entry.js → p-634b9589.entry.js} +2 -2
- package/dist/web-components-library/{p-ca525798.js → p-6a5bf3df.js} +2 -2
- package/dist/web-components-library/{p-c2ba8a6c.entry.js → p-6ba6ed17.entry.js} +2 -2
- package/dist/web-components-library/{p-3a9405b3.entry.js → p-6efc0b32.entry.js} +2 -2
- package/dist/web-components-library/{p-afc9e99e.entry.js → p-76102f08.entry.js} +2 -2
- package/dist/web-components-library/{p-ee08aec0.entry.js → p-800bd543.entry.js} +2 -2
- package/{www/build/p-956d977d.entry.js → dist/web-components-library/p-892f03fc.entry.js} +2 -2
- package/dist/web-components-library/{p-c6ae7dfa.entry.js → p-8ec302f8.entry.js} +2 -2
- package/{www/build/p-eb6f59a8.entry.js → dist/web-components-library/p-9425d3d1.entry.js} +2 -2
- package/dist/web-components-library/{p-ae8b17a1.entry.js → p-98148b01.entry.js} +2 -2
- package/dist/web-components-library/{p-757415e9.entry.js → p-99e3d7f4.entry.js} +2 -2
- package/dist/web-components-library/{p-f5efb3fc.entry.js → p-9c6fc3a6.entry.js} +2 -2
- package/dist/web-components-library/{p-a3aef2c0.entry.js → p-a1d45a8b.entry.js} +2 -2
- package/dist/web-components-library/p-a2217ed8.entry.js +2 -0
- package/dist/web-components-library/{p-d0a18050.entry.js → p-a372e8cb.entry.js} +2 -2
- package/dist/web-components-library/{p-f36d7044.entry.js → p-a61cb9dc.entry.js} +2 -2
- package/dist/web-components-library/{p-a905df88.entry.js → p-a840eb59.entry.js} +2 -2
- package/dist/web-components-library/p-a9d05a92.entry.js +2 -0
- package/{www/build/p-4cec3345.entry.js → dist/web-components-library/p-b2bb23bb.entry.js} +2 -2
- package/{www/build/p-17af7fb2.js → dist/web-components-library/p-b49aeff4.js} +1 -1
- package/dist/web-components-library/p-b49aeff4.js.map +1 -0
- package/{www/build/p-8c164e0d.entry.js → dist/web-components-library/p-c96b2352.entry.js} +2 -2
- package/{www/build/p-8b0c8e6d.entry.js → dist/web-components-library/p-cbc1f955.entry.js} +2 -2
- package/dist/web-components-library/{p-30e42fb1.js → p-d67e2f1b.js} +2 -2
- package/dist/web-components-library/{p-3cc02ff9.entry.js → p-dc46730d.entry.js} +2 -2
- package/{www/build/p-512033d3.entry.js → dist/web-components-library/p-dd350f70.entry.js} +4 -4
- package/dist/web-components-library/{p-1174942e.entry.js → p-dd66d76e.entry.js} +2 -2
- package/dist/web-components-library/p-e2f36e53.entry.js +2 -0
- package/dist/web-components-library/p-e2f36e53.entry.js.map +1 -0
- package/dist/web-components-library/{p-c231ed32.entry.js → p-e853ccde.entry.js} +2 -2
- package/dist/web-components-library/{p-dc566d6d.entry.js → p-edceccad.entry.js} +2 -2
- package/dist/web-components-library/{p-b2313d3c.entry.js → p-ee7185cf.entry.js} +2 -2
- package/{www/build/p-914f9d32.entry.js → dist/web-components-library/p-fa9fdeb5.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-a06fbbc0.js → p-02c55ed9.js} +2 -2
- package/{dist/web-components-library/p-ac888c48.entry.js → www/build/p-064c29b7.entry.js} +2 -2
- package/www/build/{p-8f4a90dc.entry.js → p-0c61db99.entry.js} +2 -2
- package/{dist/web-components-library/p-c4b78535.entry.js → www/build/p-10345a6d.entry.js} +2 -2
- package/www/build/{p-12900bf7.js → p-171ee634.js} +2 -2
- package/www/build/{p-7c69b70a.entry.js → p-173b1867.entry.js} +2 -2
- package/www/build/{p-a35c1fab.js → p-2174d968.js} +2 -2
- package/www/build/p-22a8071a.entry.js +2 -0
- package/www/build/{p-97294823.entry.js.map → p-22a8071a.entry.js.map} +1 -1
- package/www/build/{p-afea8173.entry.js → p-22aab9d2.entry.js} +2 -2
- package/www/build/{p-817689d5.entry.js → p-23d669a8.entry.js} +2 -2
- package/www/build/p-28b41569.entry.js +2 -0
- package/www/build/p-2aa75dee.entry.js +2 -0
- package/www/build/p-2aa75dee.entry.js.map +1 -0
- package/www/build/{p-fb232d07.entry.js → p-2afe6219.entry.js} +2 -2
- package/www/build/{p-e3b82454.entry.js → p-2fd165a0.entry.js} +2 -2
- package/www/build/p-305d294a.entry.js +2 -0
- package/www/build/p-3315c3e1.entry.js +2 -0
- package/{dist/web-components-library/p-2fb52cd0.entry.js → www/build/p-333e3cef.entry.js} +2 -2
- package/{dist/web-components-library/p-252ef047.entry.js → www/build/p-33c8d043.entry.js} +2 -2
- package/www/build/{p-98fdc6b5.entry.js → p-35b5c549.entry.js} +2 -2
- package/{dist/web-components-library/p-def1bcc7.entry.js → www/build/p-38ffeac0.entry.js} +2 -2
- package/www/build/{p-cebc9451.entry.js → p-40ac080b.entry.js} +2 -2
- package/www/build/{p-342b0eb0.entry.js → p-411e98ab.entry.js} +2 -2
- package/www/build/{p-4cfe0f87.entry.js → p-440db280.entry.js} +2 -2
- package/www/build/{p-57b8bd19.entry.js → p-49f5ad13.entry.js} +2 -2
- package/www/build/p-56156e0e.entry.js +2 -0
- package/{dist/web-components-library/p-7fbdf8f9.entry.js → www/build/p-59c1d10c.entry.js} +2 -2
- package/www/build/{p-0df112c4.entry.js → p-5cca3cf8.entry.js} +2 -2
- package/www/build/{p-9047fe2a.entry.js → p-60ea979a.entry.js} +2 -2
- package/www/build/{p-1477f263.entry.js → p-62aaee7a.entry.js} +2 -2
- package/www/build/{p-23b6a1e1.js → p-62dcf5d1.js} +1 -1
- package/www/build/{p-b63c8e8b.entry.js → p-634b9589.entry.js} +2 -2
- package/www/build/{p-ca525798.js → p-6a5bf3df.js} +2 -2
- package/www/build/{p-c2ba8a6c.entry.js → p-6ba6ed17.entry.js} +2 -2
- package/www/build/{p-3a9405b3.entry.js → p-6efc0b32.entry.js} +2 -2
- package/www/build/{p-afc9e99e.entry.js → p-76102f08.entry.js} +2 -2
- package/www/build/{p-ee08aec0.entry.js → p-800bd543.entry.js} +2 -2
- package/{dist/web-components-library/p-956d977d.entry.js → www/build/p-892f03fc.entry.js} +2 -2
- package/www/build/{p-c6ae7dfa.entry.js → p-8ec302f8.entry.js} +2 -2
- package/{dist/web-components-library/p-eb6f59a8.entry.js → www/build/p-9425d3d1.entry.js} +2 -2
- package/www/build/{p-ae8b17a1.entry.js → p-98148b01.entry.js} +2 -2
- package/www/build/{p-757415e9.entry.js → p-99e3d7f4.entry.js} +2 -2
- package/www/build/{p-f5efb3fc.entry.js → p-9c6fc3a6.entry.js} +2 -2
- package/www/build/{p-a3aef2c0.entry.js → p-a1d45a8b.entry.js} +2 -2
- package/www/build/p-a2217ed8.entry.js +2 -0
- package/www/build/{p-d0a18050.entry.js → p-a372e8cb.entry.js} +2 -2
- package/www/build/{p-f36d7044.entry.js → p-a61cb9dc.entry.js} +2 -2
- package/www/build/{p-a905df88.entry.js → p-a840eb59.entry.js} +2 -2
- package/www/build/p-a9d05a92.entry.js +2 -0
- package/{dist/web-components-library/p-4cec3345.entry.js → www/build/p-b2bb23bb.entry.js} +2 -2
- package/{dist/web-components-library/p-17af7fb2.js → www/build/p-b49aeff4.js} +1 -1
- package/www/build/p-b49aeff4.js.map +1 -0
- package/{dist/web-components-library/p-8c164e0d.entry.js → www/build/p-c96b2352.entry.js} +2 -2
- package/{dist/web-components-library/p-8b0c8e6d.entry.js → www/build/p-cbc1f955.entry.js} +2 -2
- package/www/build/{p-30e42fb1.js → p-d67e2f1b.js} +2 -2
- package/www/build/{p-3cc02ff9.entry.js → p-dc46730d.entry.js} +2 -2
- package/{dist/web-components-library/p-512033d3.entry.js → www/build/p-dd350f70.entry.js} +4 -4
- package/www/build/{p-1174942e.entry.js → p-dd66d76e.entry.js} +2 -2
- package/www/build/p-e2f36e53.entry.js +2 -0
- package/www/build/p-e2f36e53.entry.js.map +1 -0
- package/www/build/{p-c231ed32.entry.js → p-e853ccde.entry.js} +2 -2
- package/www/build/{p-dc566d6d.entry.js → p-edceccad.entry.js} +2 -2
- package/www/build/{p-b2313d3c.entry.js → p-ee7185cf.entry.js} +2 -2
- package/{dist/web-components-library/p-914f9d32.entry.js → www/build/p-fa9fdeb5.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-97a4c18d.js.map +0 -1
- package/dist/esm/index-2a6324f8.js.map +0 -1
- package/dist/web-components-library/p-05348da8.entry.js +0 -2
- package/dist/web-components-library/p-17af7fb2.js.map +0 -1
- package/dist/web-components-library/p-42819df4.entry.js +0 -2
- package/dist/web-components-library/p-42819df4.entry.js.map +0 -1
- package/dist/web-components-library/p-651250c2.entry.js +0 -2
- package/dist/web-components-library/p-76ee5c89.entry.js +0 -2
- package/dist/web-components-library/p-7ad751e7.entry.js +0 -2
- package/dist/web-components-library/p-92cc912e.entry.js +0 -2
- package/dist/web-components-library/p-97294823.entry.js +0 -2
- package/dist/web-components-library/p-ae82ba49.entry.js +0 -2
- package/dist/web-components-library/p-ae82ba49.entry.js.map +0 -1
- package/dist/web-components-library/p-e1687f75.entry.js +0 -2
- package/www/build/p-05348da8.entry.js +0 -2
- package/www/build/p-17af7fb2.js.map +0 -1
- package/www/build/p-42819df4.entry.js +0 -2
- package/www/build/p-42819df4.entry.js.map +0 -1
- package/www/build/p-651250c2.entry.js +0 -2
- package/www/build/p-76ee5c89.entry.js +0 -2
- package/www/build/p-7ad751e7.entry.js +0 -2
- package/www/build/p-92cc912e.entry.js +0 -2
- package/www/build/p-97294823.entry.js +0 -2
- package/www/build/p-ae82ba49.entry.js +0 -2
- package/www/build/p-ae82ba49.entry.js.map +0 -1
- package/www/build/p-e1687f75.entry.js +0 -2
- /package/dist/web-components-library/{p-a06fbbc0.js.map → p-02c55ed9.js.map} +0 -0
- /package/dist/web-components-library/{p-ac888c48.entry.js.map → p-064c29b7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8f4a90dc.entry.js.map → p-0c61db99.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c4b78535.entry.js.map → p-10345a6d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-12900bf7.js.map → p-171ee634.js.map} +0 -0
- /package/dist/web-components-library/{p-7c69b70a.entry.js.map → p-173b1867.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a35c1fab.js.map → p-2174d968.js.map} +0 -0
- /package/dist/web-components-library/{p-afea8173.entry.js.map → p-22aab9d2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-817689d5.entry.js.map → p-23d669a8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-05348da8.entry.js.map → p-28b41569.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fb232d07.entry.js.map → p-2afe6219.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e3b82454.entry.js.map → p-2fd165a0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7ad751e7.entry.js.map → p-305d294a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e1687f75.entry.js.map → p-3315c3e1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2fb52cd0.entry.js.map → p-333e3cef.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-252ef047.entry.js.map → p-33c8d043.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-98fdc6b5.entry.js.map → p-35b5c549.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-def1bcc7.entry.js.map → p-38ffeac0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cebc9451.entry.js.map → p-40ac080b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-342b0eb0.entry.js.map → p-411e98ab.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4cfe0f87.entry.js.map → p-440db280.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-57b8bd19.entry.js.map → p-49f5ad13.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-92cc912e.entry.js.map → p-56156e0e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7fbdf8f9.entry.js.map → p-59c1d10c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0df112c4.entry.js.map → p-5cca3cf8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9047fe2a.entry.js.map → p-60ea979a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1477f263.entry.js.map → p-62aaee7a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b63c8e8b.entry.js.map → p-634b9589.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ca525798.js.map → p-6a5bf3df.js.map} +0 -0
- /package/dist/web-components-library/{p-c2ba8a6c.entry.js.map → p-6ba6ed17.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3a9405b3.entry.js.map → p-6efc0b32.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-afc9e99e.entry.js.map → p-76102f08.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ee08aec0.entry.js.map → p-800bd543.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-956d977d.entry.js.map → p-892f03fc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c6ae7dfa.entry.js.map → p-8ec302f8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-eb6f59a8.entry.js.map → p-9425d3d1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae8b17a1.entry.js.map → p-98148b01.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-757415e9.entry.js.map → p-99e3d7f4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f5efb3fc.entry.js.map → p-9c6fc3a6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a3aef2c0.entry.js.map → p-a1d45a8b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-651250c2.entry.js.map → p-a2217ed8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d0a18050.entry.js.map → p-a372e8cb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f36d7044.entry.js.map → p-a61cb9dc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a905df88.entry.js.map → p-a840eb59.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-76ee5c89.entry.js.map → p-a9d05a92.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4cec3345.entry.js.map → p-b2bb23bb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c164e0d.entry.js.map → p-c96b2352.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8b0c8e6d.entry.js.map → p-cbc1f955.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30e42fb1.js.map → p-d67e2f1b.js.map} +0 -0
- /package/dist/web-components-library/{p-3cc02ff9.entry.js.map → p-dc46730d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-512033d3.entry.js.map → p-dd350f70.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1174942e.entry.js.map → p-dd66d76e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c231ed32.entry.js.map → p-e853ccde.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dc566d6d.entry.js.map → p-edceccad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b2313d3c.entry.js.map → p-ee7185cf.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-914f9d32.entry.js.map → p-fa9fdeb5.entry.js.map} +0 -0
- /package/www/build/{p-a06fbbc0.js.map → p-02c55ed9.js.map} +0 -0
- /package/www/build/{p-ac888c48.entry.js.map → p-064c29b7.entry.js.map} +0 -0
- /package/www/build/{p-8f4a90dc.entry.js.map → p-0c61db99.entry.js.map} +0 -0
- /package/www/build/{p-c4b78535.entry.js.map → p-10345a6d.entry.js.map} +0 -0
- /package/www/build/{p-12900bf7.js.map → p-171ee634.js.map} +0 -0
- /package/www/build/{p-7c69b70a.entry.js.map → p-173b1867.entry.js.map} +0 -0
- /package/www/build/{p-a35c1fab.js.map → p-2174d968.js.map} +0 -0
- /package/www/build/{p-afea8173.entry.js.map → p-22aab9d2.entry.js.map} +0 -0
- /package/www/build/{p-817689d5.entry.js.map → p-23d669a8.entry.js.map} +0 -0
- /package/www/build/{p-05348da8.entry.js.map → p-28b41569.entry.js.map} +0 -0
- /package/www/build/{p-fb232d07.entry.js.map → p-2afe6219.entry.js.map} +0 -0
- /package/www/build/{p-e3b82454.entry.js.map → p-2fd165a0.entry.js.map} +0 -0
- /package/www/build/{p-7ad751e7.entry.js.map → p-305d294a.entry.js.map} +0 -0
- /package/www/build/{p-e1687f75.entry.js.map → p-3315c3e1.entry.js.map} +0 -0
- /package/www/build/{p-2fb52cd0.entry.js.map → p-333e3cef.entry.js.map} +0 -0
- /package/www/build/{p-252ef047.entry.js.map → p-33c8d043.entry.js.map} +0 -0
- /package/www/build/{p-98fdc6b5.entry.js.map → p-35b5c549.entry.js.map} +0 -0
- /package/www/build/{p-def1bcc7.entry.js.map → p-38ffeac0.entry.js.map} +0 -0
- /package/www/build/{p-cebc9451.entry.js.map → p-40ac080b.entry.js.map} +0 -0
- /package/www/build/{p-342b0eb0.entry.js.map → p-411e98ab.entry.js.map} +0 -0
- /package/www/build/{p-4cfe0f87.entry.js.map → p-440db280.entry.js.map} +0 -0
- /package/www/build/{p-57b8bd19.entry.js.map → p-49f5ad13.entry.js.map} +0 -0
- /package/www/build/{p-92cc912e.entry.js.map → p-56156e0e.entry.js.map} +0 -0
- /package/www/build/{p-7fbdf8f9.entry.js.map → p-59c1d10c.entry.js.map} +0 -0
- /package/www/build/{p-0df112c4.entry.js.map → p-5cca3cf8.entry.js.map} +0 -0
- /package/www/build/{p-9047fe2a.entry.js.map → p-60ea979a.entry.js.map} +0 -0
- /package/www/build/{p-1477f263.entry.js.map → p-62aaee7a.entry.js.map} +0 -0
- /package/www/build/{p-b63c8e8b.entry.js.map → p-634b9589.entry.js.map} +0 -0
- /package/www/build/{p-ca525798.js.map → p-6a5bf3df.js.map} +0 -0
- /package/www/build/{p-c2ba8a6c.entry.js.map → p-6ba6ed17.entry.js.map} +0 -0
- /package/www/build/{p-3a9405b3.entry.js.map → p-6efc0b32.entry.js.map} +0 -0
- /package/www/build/{p-afc9e99e.entry.js.map → p-76102f08.entry.js.map} +0 -0
- /package/www/build/{p-ee08aec0.entry.js.map → p-800bd543.entry.js.map} +0 -0
- /package/www/build/{p-956d977d.entry.js.map → p-892f03fc.entry.js.map} +0 -0
- /package/www/build/{p-c6ae7dfa.entry.js.map → p-8ec302f8.entry.js.map} +0 -0
- /package/www/build/{p-eb6f59a8.entry.js.map → p-9425d3d1.entry.js.map} +0 -0
- /package/www/build/{p-ae8b17a1.entry.js.map → p-98148b01.entry.js.map} +0 -0
- /package/www/build/{p-757415e9.entry.js.map → p-99e3d7f4.entry.js.map} +0 -0
- /package/www/build/{p-f5efb3fc.entry.js.map → p-9c6fc3a6.entry.js.map} +0 -0
- /package/www/build/{p-a3aef2c0.entry.js.map → p-a1d45a8b.entry.js.map} +0 -0
- /package/www/build/{p-651250c2.entry.js.map → p-a2217ed8.entry.js.map} +0 -0
- /package/www/build/{p-d0a18050.entry.js.map → p-a372e8cb.entry.js.map} +0 -0
- /package/www/build/{p-f36d7044.entry.js.map → p-a61cb9dc.entry.js.map} +0 -0
- /package/www/build/{p-a905df88.entry.js.map → p-a840eb59.entry.js.map} +0 -0
- /package/www/build/{p-76ee5c89.entry.js.map → p-a9d05a92.entry.js.map} +0 -0
- /package/www/build/{p-4cec3345.entry.js.map → p-b2bb23bb.entry.js.map} +0 -0
- /package/www/build/{p-8c164e0d.entry.js.map → p-c96b2352.entry.js.map} +0 -0
- /package/www/build/{p-8b0c8e6d.entry.js.map → p-cbc1f955.entry.js.map} +0 -0
- /package/www/build/{p-30e42fb1.js.map → p-d67e2f1b.js.map} +0 -0
- /package/www/build/{p-3cc02ff9.entry.js.map → p-dc46730d.entry.js.map} +0 -0
- /package/www/build/{p-512033d3.entry.js.map → p-dd350f70.entry.js.map} +0 -0
- /package/www/build/{p-1174942e.entry.js.map → p-dd66d76e.entry.js.map} +0 -0
- /package/www/build/{p-c231ed32.entry.js.map → p-e853ccde.entry.js.map} +0 -0
- /package/www/build/{p-dc566d6d.entry.js.map → p-edceccad.entry.js.map} +0 -0
- /package/www/build/{p-b2313d3c.entry.js.map → p-ee7185cf.entry.js.map} +0 -0
- /package/www/build/{p-914f9d32.entry.js.map → p-fa9fdeb5.entry.js.map} +0 -0
|
@@ -2,12 +2,6 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { PopoverPosition } from "../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* Popover component.
|
|
5
|
-
* This component displays a popover that can be bound to an element.
|
|
6
|
-
* It supports various positions and can automatically adjust its position based on available space.
|
|
7
|
-
*
|
|
8
|
-
* Notes:
|
|
9
|
-
* - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.
|
|
10
|
-
* - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is "fluid" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).
|
|
11
5
|
*
|
|
12
6
|
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
13
7
|
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
@@ -15,12 +9,8 @@ import { PopoverPosition } from "../../beans";
|
|
|
15
9
|
* @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.
|
|
16
10
|
*/
|
|
17
11
|
export declare class ZPopover {
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
* The popover will automatically search another position if not enough space is available for the preferred position.
|
|
21
|
-
* If the preferred position is not available, it will try to find the best position starting from `TOP` and going clockwise.
|
|
22
|
-
*/
|
|
23
|
-
position?: PopoverPosition;
|
|
12
|
+
/** Popover position. */
|
|
13
|
+
position: PopoverPosition;
|
|
24
14
|
/**
|
|
25
15
|
* The open state of the popover.
|
|
26
16
|
*/
|
|
@@ -45,7 +35,6 @@ export declare class ZPopover {
|
|
|
45
35
|
closable: boolean;
|
|
46
36
|
/**
|
|
47
37
|
* The current position of the popover.
|
|
48
|
-
* It differs from `position` only when calculated automatically (position=auto) or when the position is recalculated for space reasons.
|
|
49
38
|
*/
|
|
50
39
|
currentPosition?: PopoverPosition;
|
|
51
40
|
/**
|
|
@@ -58,7 +47,6 @@ export declare class ZPopover {
|
|
|
58
47
|
openChange: EventEmitter;
|
|
59
48
|
host: HTMLZPopoverElement;
|
|
60
49
|
private animationFrameRequestId?;
|
|
61
|
-
private readonly spaceTolerance;
|
|
62
50
|
closePopoverWithKeyboard(e: KeyboardEvent): void;
|
|
63
51
|
/**
|
|
64
52
|
* Close the popover when clicking outside of its content.
|
|
@@ -72,45 +60,11 @@ export declare class ZPopover {
|
|
|
72
60
|
* Setup popover behaviors on opening.
|
|
73
61
|
*/
|
|
74
62
|
onOpen(): void;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Helper functions for space calculation
|
|
78
|
-
*/
|
|
79
|
-
private hasCenteredHorizontalSpace;
|
|
80
|
-
private hasCenteredVerticalSpace;
|
|
81
|
-
private hasOffsetSpace;
|
|
82
|
-
/**
|
|
83
|
-
* Given a desired position and available space around the bound element, returns the best position
|
|
84
|
-
* that fits the popover, trying all positions if needed.
|
|
85
|
-
* Takes into account offsetModifier for centering.
|
|
86
|
-
* @param desiredPosition The desired position of the popover.
|
|
87
|
-
* @param availableSpace The available space around the bound element.
|
|
88
|
-
* @param boundElemSizes The sizes of the bound element.
|
|
89
|
-
* @param offsetModifier The modifier to apply to the offset for centering.
|
|
90
|
-
*/
|
|
91
|
-
private getOptimalPopoverPosition;
|
|
92
|
-
/**
|
|
93
|
-
* Find the best fallback position based on available space when no position fits perfectly
|
|
94
|
-
*/
|
|
95
|
-
private findBestFallbackPosition;
|
|
96
|
-
/**
|
|
97
|
-
* Calculate available space around the bound element
|
|
98
|
-
*/
|
|
99
|
-
private calculateAvailableSpace;
|
|
100
|
-
/**
|
|
101
|
-
* Calculate relative offsets for positioning
|
|
102
|
-
*/
|
|
103
|
-
private calculateRelativeOffsets;
|
|
104
|
-
/**
|
|
105
|
-
* Apply positioning styles based on position
|
|
106
|
-
*/
|
|
107
|
-
private applyPositionStyles;
|
|
63
|
+
disconnectedCallback(): void;
|
|
108
64
|
/**
|
|
109
65
|
* Set the position of the popover.
|
|
110
66
|
*/
|
|
111
67
|
private setPosition;
|
|
112
68
|
componentWillLoad(): void;
|
|
113
|
-
|
|
114
|
-
disconnectedCallback(): void;
|
|
115
|
-
render(): HTMLZPopoverElement;
|
|
69
|
+
render(): HTMLSlotElement;
|
|
116
70
|
}
|
|
@@ -1,63 +1,43 @@
|
|
|
1
1
|
import { type ZPopover } from ".";
|
|
2
2
|
import { PopoverPosition } from "../../beans";
|
|
3
3
|
import { CSSVarsArguments } from "../../utils/storybook-utils";
|
|
4
|
-
import "../list/z-list-element/index";
|
|
5
|
-
import "../list/z-list/index";
|
|
6
4
|
import "../z-button/index";
|
|
5
|
+
import "../z-icon/index";
|
|
7
6
|
import "./index";
|
|
8
7
|
import "./index.stories.css";
|
|
9
|
-
type ZPopoverStoriesArgs = ZPopover & CSSVarsArguments<"--z-popover-theme--surface" | "--z-popover-theme--text"
|
|
8
|
+
type ZPopoverStoriesArgs = ZPopover & CSSVarsArguments<"--z-popover-theme--surface" | "--z-popover-theme--text">;
|
|
10
9
|
/**
|
|
11
|
-
* To
|
|
10
|
+
* To be sure the AUTO algorithm finds the right container when calculating the position, set its container's position to `position: relative;`
|
|
12
11
|
*/
|
|
13
12
|
declare const StoryMeta: {
|
|
14
13
|
title: string;
|
|
15
14
|
component: string;
|
|
16
15
|
argTypes: {
|
|
17
16
|
position: {
|
|
18
|
-
options:
|
|
17
|
+
options: PopoverPosition[];
|
|
19
18
|
control: {
|
|
20
19
|
type: "select";
|
|
21
|
-
labels: {
|
|
22
|
-
null: string;
|
|
23
|
-
};
|
|
24
20
|
};
|
|
25
21
|
};
|
|
26
22
|
"--z-popover-theme--surface": import("@storybook/csf").Args;
|
|
27
23
|
"--z-popover-theme--text": import("@storybook/csf").Args;
|
|
28
24
|
};
|
|
29
25
|
args: {
|
|
30
|
-
position: any;
|
|
31
26
|
"--z-popover-theme--surface": string;
|
|
32
27
|
"--z-popover-theme--text": string;
|
|
33
|
-
"--z-popover-padding": string;
|
|
34
|
-
};
|
|
35
|
-
parameters: {
|
|
36
|
-
onTriggerClick: () => void;
|
|
37
28
|
};
|
|
38
29
|
};
|
|
39
30
|
export default StoryMeta;
|
|
40
|
-
export declare const Demo: {
|
|
41
|
-
args: {
|
|
42
|
-
"--z-popover-padding": string;
|
|
43
|
-
"--z-popover-shadow-filter": string;
|
|
44
|
-
center: false;
|
|
45
|
-
showArrow: false;
|
|
46
|
-
};
|
|
47
|
-
render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
|
|
48
|
-
};
|
|
49
31
|
export declare const ContextualMenuLike: {
|
|
50
32
|
args: {
|
|
51
33
|
"--z-popover-theme--surface": string;
|
|
52
|
-
"--z-popover-padding": string;
|
|
53
34
|
position: PopoverPosition.RIGHT_BOTTOM;
|
|
54
35
|
};
|
|
55
|
-
render: (args: ZPopoverStoriesArgs
|
|
36
|
+
render: (args: ZPopoverStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
56
37
|
};
|
|
57
38
|
export declare const TooltipLike: {
|
|
58
39
|
args: {
|
|
59
40
|
position: PopoverPosition.RIGHT;
|
|
60
|
-
"--z-popover-padding": string;
|
|
61
41
|
};
|
|
62
|
-
render: (args: ZPopoverStoriesArgs
|
|
42
|
+
render: (args: ZPopoverStoriesArgs) => import("lit-html").TemplateResult<1>;
|
|
63
43
|
};
|
|
@@ -1674,11 +1674,6 @@ export namespace Components {
|
|
|
1674
1674
|
}
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Popover component.
|
|
1677
|
-
* This component displays a popover that can be bound to an element.
|
|
1678
|
-
* It supports various positions and can automatically adjust its position based on available space.
|
|
1679
|
-
* Notes:
|
|
1680
|
-
* - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.
|
|
1681
|
-
* - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is "fluid" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).
|
|
1682
1677
|
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
1683
1678
|
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
1684
1679
|
* @cssprop --z-popover-padding - padding of the popover.
|
|
@@ -1702,9 +1697,9 @@ export namespace Components {
|
|
|
1702
1697
|
*/
|
|
1703
1698
|
"open": boolean;
|
|
1704
1699
|
/**
|
|
1705
|
-
*
|
|
1700
|
+
* Popover position.
|
|
1706
1701
|
*/
|
|
1707
|
-
"position"
|
|
1702
|
+
"position": PopoverPosition;
|
|
1708
1703
|
/**
|
|
1709
1704
|
* Whether to show popover's arrow.
|
|
1710
1705
|
*/
|
|
@@ -3293,11 +3288,6 @@ declare global {
|
|
|
3293
3288
|
}
|
|
3294
3289
|
/**
|
|
3295
3290
|
* Popover component.
|
|
3296
|
-
* This component displays a popover that can be bound to an element.
|
|
3297
|
-
* It supports various positions and can automatically adjust its position based on available space.
|
|
3298
|
-
* Notes:
|
|
3299
|
-
* - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.
|
|
3300
|
-
* - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is "fluid" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).
|
|
3301
3291
|
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
3302
3292
|
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
3303
3293
|
* @cssprop --z-popover-padding - padding of the popover.
|
|
@@ -5525,11 +5515,6 @@ declare namespace LocalJSX {
|
|
|
5525
5515
|
}
|
|
5526
5516
|
/**
|
|
5527
5517
|
* Popover component.
|
|
5528
|
-
* This component displays a popover that can be bound to an element.
|
|
5529
|
-
* It supports various positions and can automatically adjust its position based on available space.
|
|
5530
|
-
* Notes:
|
|
5531
|
-
* - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.
|
|
5532
|
-
* - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is "fluid" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).
|
|
5533
5518
|
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
5534
5519
|
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
5535
5520
|
* @cssprop --z-popover-padding - padding of the popover.
|
|
@@ -5561,7 +5546,7 @@ declare namespace LocalJSX {
|
|
|
5561
5546
|
*/
|
|
5562
5547
|
"open"?: boolean;
|
|
5563
5548
|
/**
|
|
5564
|
-
*
|
|
5549
|
+
* Popover position.
|
|
5565
5550
|
*/
|
|
5566
5551
|
"position"?: PopoverPosition;
|
|
5567
5552
|
/**
|
|
@@ -6450,11 +6435,6 @@ declare module "@stencil/core" {
|
|
|
6450
6435
|
"z-panel-elem": LocalJSX.ZPanelElem & JSXBase.HTMLAttributes<HTMLZPanelElemElement>;
|
|
6451
6436
|
/**
|
|
6452
6437
|
* Popover component.
|
|
6453
|
-
* This component displays a popover that can be bound to an element.
|
|
6454
|
-
* It supports various positions and can automatically adjust its position based on available space.
|
|
6455
|
-
* Notes:
|
|
6456
|
-
* - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.
|
|
6457
|
-
* - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is "fluid" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).
|
|
6458
6438
|
* @cssprop --z-popover-theme--surface - background color of the popover.
|
|
6459
6439
|
* @cssprop --z-popover-theme--text - foreground color of the popover.
|
|
6460
6440
|
* @cssprop --z-popover-padding - padding of the popover.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as aa}from"./p-
|
|
1
|
+
import{c as aa}from"./p-02c55ed9.js";export{_ as AccordionVariant,o as AlertType,A as AvatarSize,Y as BookCardDeprecatedVariant,X as BookCardVariant,V as BreadcrumbHomepageVariant,U as BreadcrumbPathStyle,d as ButtonSize,c as ButtonType,B as ButtonVariant,C as CardVariant,Q as CarouselArrowsPosition,R as CarouselProgressMode,e as ControlSize,M as CoverHeroContentPosition,J as CoverHeroVariant,p as Device,h as DividerOrientation,D as DividerSize,j as ExpandableListButtonAlign,E as ExpandableListStyle,$ as IconPosition,H as InfoRevealPosition,f as InputStatus,I as InputType,g as KeyboardCode,K as KeyboardKeyCode,k as LabelPosition,L as LicenseType,l as ListDividerType,i as ListSize,m as ListType,b as NavigationTabsKeyboardEvents,N as NavigationTabsOrientation,a as NavigationTabsSize,n as NotificationType,O as OffCanvasVariant,P as PopoverPosition,S as SortDirection,T as ThemeVariant,q as ToastNotification,s as ToastNotificationPosition,r as ToastNotificationTransition,u as TransitionDirection,W as VisibilityCondition,t as ZAriaAlertMode,w as ZChipType,y as ZDatePickerMode,z as ZDatePickerModeValue,F as ZDatePickerPosition,v as ZFileUploadType,G as ZRangePickerMode,x as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-b49aeff4.js";import"./p-5145a606.js";const ia={colorFromId:aa};export{ia as Utils};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{g as e,p as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{g as e,p as t}from"./p-b49aeff4.js";import{B as n}from"./p-5145a606.js";function r(e){switch(e){case true:case"true":case 1:case"1":case"on":case"yes":return true;case false:case"false":case 0:case"0":case"off":case"no":return false;default:return e}}function a(){return Math.random().toString(36).replace("0.","")}function s(t,n,...r){if(t.code===e.ENTER||t.code===e.SPACE){t.preventDefault();n(...r)}}function u(t,n,...r){if(t.code===e.ENTER){t.preventDefault();n(...r)}}function c(e=null){if(!e){e=document.activeElement}if(e&&e.shadowRoot&&e.shadowRoot.activeElement){e=e.shadowRoot.activeElement;return c(e)}return e}function f(e,t=[]){t.push(e);if(e.parentElement){e=e.parentElement;return f(e,t)}else if(e.parentNode&&e.parentNode.host){e=e.parentNode.host;return f(e,t)}return t}function o(){switch(true){case window.innerWidth<=n.MOBILE:return t.MOBILE;case window.innerWidth<=n.TABLET:return t.TABLET;case window.innerWidth<=n.DESKTOP:return t.DESKTOP;default:return t.DESKTOP_WIDE}}function i(e){try{return JSON.parse(e)}catch(e){return false}}function l(e){const t="avatar-C";const n=19;const r=Math.ceil(2**31-1)*parseFloat(`0.${e}`);let a=Math.ceil(n*(r%1));if(a===0){a=1}return`${t}${a.toString().padStart(2,"0")}`}function d(e,t){var n;return e.contains(t)||!!((n=e.shadowRoot)===null||n===void 0?void 0:n.contains(t))}export{d as a,r as b,l as c,s as d,f as e,c as f,o as g,u as h,i,a as r};
|
|
2
|
+
//# sourceMappingURL=p-02c55ed9.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,a as i,g as o}from"./p-75c4a726.js";import{g as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,h as s,a as i,g as o}from"./p-75c4a726.js";import{g as a}from"./p-b49aeff4.js";const n=':host{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.label{display:flex;width:100%;align-items:center;padding:var(--space-unit) 0;border:0;border-bottom:var(--border-size-small) solid var(--color-surface03);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}:host(:last-child:not([open])) .label{border-bottom:none}:host(:is([active],[open])) .label,.label:focus:focus-visible,.label:hover{border-color:var(--color-primary01)}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items[hidden]{display:none}::slotted([slot="section"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-1);line-height:1.333;outline:none}::slotted([slot="section"]:last-of-type){border:none}::slotted([slot="section"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-primary01)}::slotted([slot="section"]:hover),::slotted([slot="section"]:focus:focus-visible),::slotted([slot="section"]:active),::slotted([slot="section"][active]),::slotted([slot="section"][data-active]){color:var(--color-primary01);font-weight:var(--font-bd)}';const h=n;const l=class{get focusableItem(){return this.items.find((({tabIndex:t})=>t===0))}toggle(){if(!this.hasItems){return}this.open=!this.open}setItemsA11yAttrs(){if(!this.hasItems){return}this.items.forEach((t=>{t.setAttribute("role","menuitem");t.tabIndex=-1}))}onItemsChange(){this.items=Array.from(this.host.querySelectorAll('[slot="section"]'));this.hasItems=this.items.length>0;this.setItemsA11yAttrs()}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=e===null||e===void 0?void 0:e.textContent}onLabelClick(){this.toggle();this.setFocus()}onLabelKeydown(t){if(t.key===a.ENTER||t.key===a.SPACE){t.preventDefault();t.stopPropagation();this.toggle();if(this.open){this.focustFirstItem()}}}moveFocus(t,e){t.tabIndex=0;setTimeout((()=>{t.focus()}),100);if(e){e.tabIndex=-1}}focustFirstItem(){this.moveFocus(this.items[0])}async focusLastItem(){this.moveFocus(this.items[this.items.length-1])}async setFocus(){this.htmlTabindex=0;setTimeout((()=>{this.label.focus()}),100)}onOpenChange(){if(!this.open){this.setItemsA11yAttrs();this.closed.emit()}else{this.opened.emit()}}onTabindexChange(){if(!this.label){return}this.label.tabIndex=this.htmlTabindex}onItemsKeydown(t){switch(t.key){case a.ESC:case a.ARROW_LEFT:if(!this.open){break}t.preventDefault();t.stopPropagation();this.moveFocus(this.label,this.focusableItem);this.open=false;break;case a.ARROW_RIGHT:if(this.open){break}t.preventDefault();t.stopPropagation();this.open=true;this.focustFirstItem();break;case a.ARROW_DOWN:{if(!this.open){break}if(document.activeElement===this.host){t.preventDefault();t.stopPropagation();this.focustFirstItem();break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e+1];if(s){t.preventDefault();t.stopPropagation();this.moveFocus(s,this.focusableItem)}else{this.htmlTabindex=0;this.focusableItem.tabIndex=-1}break}case a.ARROW_UP:{if(!this.open||document.activeElement===this.host){break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e-1];t.preventDefault();t.stopPropagation();if(s){this.moveFocus(s,this.focusableItem)}else{this.focusableItem.tabIndex=-1;this.setFocus()}break}}}constructor(s){t(this,s);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.htmlTabindex=-1;this.open=undefined;this.hasItems=undefined;this.items=undefined;this.toggle=this.toggle.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelClick=this.onLabelClick.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this);this.onItemsKeydown=this.onItemsKeydown.bind(this)}connectedCallback(){this.onItemsChange()}render(){return s(i,{key:"b308fce3890a3094dca7d5de4f5837b47d6f2796",open:this.open},s("button",{key:"dd6eaa241e2f26c79b7fa0e6f7e14049c20b3ed6",ref:t=>this.label=t,class:"label","aria-haspopup":`${!!this.hasItems}`,"aria-expanded":`${!!this.open}`,role:"menuitem",tabindex:this.htmlTabindex,onClick:this.onLabelClick,onKeyDown:this.onLabelKeydown},s("slot",{key:"74f5c61fcf32df69b0b5d17ff0f06b5b62f940fa",onSlotchange:this.onLabelSlotChange}),this.hasItems&&s("z-icon",{key:"8338d8b57893c110475fe980320310236abb3446",name:this.open?"chevron-up":"chevron-down"})),s("div",{key:"4df11f5eaa5226c24930527caba7f0bfa048946a",class:"items",role:"menu",hidden:!this.open},s("slot",{key:"8393b22b945ec02e32e78248090505a012529253",name:"section",onSlotchange:this.onItemsChange})))}get host(){return o(this)}static get watchers(){return{open:["onOpenChange"],htmlTabindex:["onTabindexChange"]}}};l.style=h;export{l as z_menu_section};
|
|
2
|
+
//# sourceMappingURL=p-064c29b7.entry.js.map
|