@zanichelli/albe-web-components 16.3.6 → 16.4.0-rc-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -2
- package/dist/cjs/{index-0335126f.js → index-1bcf6013.js} +2 -2
- package/dist/cjs/{index-0335126f.js.map → index-1bcf6013.js.map} +1 -1
- package/dist/cjs/{index-30387c1f.js → index-59c3bcbe.js} +4 -4
- package/dist/cjs/{index-30387c1f.js.map → index-59c3bcbe.js.map} +1 -1
- package/dist/cjs/{index-b504fdc8.js → index-97f9a3a0.js} +2 -2
- package/dist/cjs/{index-b504fdc8.js.map → index-97f9a3a0.js.map} +1 -1
- package/dist/cjs/{index-bab7a651.js → index-daad5eae.js} +2 -1
- package/dist/cjs/index-daad5eae.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-257558ff.js → utils-24df887f.js} +2 -2
- package/dist/cjs/{utils-257558ff.js.map → utils-24df887f.js.map} +1 -1
- package/dist/cjs/{utils-311316ce.js → utils-4a30b263.js} +2 -2
- package/dist/cjs/{utils-311316ce.js.map → utils-4a30b263.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-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 +40 -12
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- 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.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +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 +2 -2
- 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-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +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 +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- 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 +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.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/collection/beans/index.js +1 -0
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +4 -2
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -1
- package/dist/collection/components/z-app-header/index.stories.js +4 -2
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.js +57 -14
- package/dist/collection/components/z-offcanvas/index.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.stories.js +104 -134
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -1
- package/dist/collection/components/z-offcanvas/styles.css +82 -123
- package/dist/collection/constants/iconset.js +0 -2
- package/dist/collection/constants/iconset.js.map +1 -1
- package/dist/components/iconset.js +0 -2
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index2.js +1 -0
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index21.js +41 -9
- package/dist/components/index21.js.map +1 -1
- package/dist/esm/{index-81b223e5.js → index-19b24f63.js} +2 -2
- package/dist/esm/{index-81b223e5.js.map → index-19b24f63.js.map} +1 -1
- package/dist/esm/{index-ea820724.js → index-2b5c2515.js} +4 -4
- package/dist/esm/{index-ea820724.js.map → index-2b5c2515.js.map} +1 -1
- package/dist/esm/{index-b7dbacb4.js → index-a63060e9.js} +2 -1
- package/dist/esm/index-a63060e9.js.map +1 -0
- package/dist/esm/{index-7a486f3d.js → index-fcf764b5.js} +2 -2
- package/dist/esm/{index-7a486f3d.js.map → index-fcf764b5.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-acc8bdd0.js → utils-305762b5.js} +2 -2
- package/dist/esm/{utils-acc8bdd0.js.map → utils-305762b5.js.map} +1 -1
- package/dist/esm/{utils-54e02183.js → utils-5e595d4f.js} +2 -2
- package/dist/esm/{utils-54e02183.js.map → utils-5e595d4f.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-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 +40 -12
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- 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.entry.js +2 -2
- 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 +2 -2
- 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 +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 +2 -2
- 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-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +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 +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- 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 +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.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/types/beans/index.d.ts +2 -1
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +4 -2
- package/dist/types/components/z-app-header/index.stories.d.ts +4 -2
- package/dist/types/components/z-offcanvas/index.d.ts +25 -7
- package/dist/types/components/z-offcanvas/index.stories.d.ts +33 -13
- package/dist/types/components.d.ts +28 -6
- package/dist/types/constants/iconset.d.ts +0 -4
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-f410f295.entry.js → dist/web-components-library/p-03cd1ead.entry.js} +2 -2
- package/dist/web-components-library/{p-608c35ba.entry.js → p-03e85eac.entry.js} +2 -2
- package/dist/web-components-library/p-06b8521b.entry.js +2 -0
- package/{www/build/p-c38833ea.entry.js → dist/web-components-library/p-0778e75d.entry.js} +2 -2
- package/dist/web-components-library/{p-f26b2e47.entry.js → p-09552f18.entry.js} +2 -2
- package/dist/web-components-library/p-0c813477.entry.js +2 -0
- package/dist/web-components-library/p-0c813477.entry.js.map +1 -0
- package/dist/web-components-library/{p-6037cdf3.js → p-1c24255c.js} +2 -2
- package/{www/build/p-6037cdf3.js.map → dist/web-components-library/p-1c24255c.js.map} +1 -1
- package/{www/build/p-f87bcdc3.entry.js → dist/web-components-library/p-228db53f.entry.js} +2 -2
- package/{www/build/p-9fc6961e.entry.js → dist/web-components-library/p-26ac8973.entry.js} +2 -2
- package/{www/build/p-0ca0265f.entry.js → dist/web-components-library/p-350f84c5.entry.js} +2 -2
- package/dist/web-components-library/{p-67e48546.entry.js → p-3618e227.entry.js} +2 -2
- package/dist/web-components-library/{p-296924ea.entry.js → p-417ed850.entry.js} +2 -2
- package/{www/build/p-30f09188.entry.js → dist/web-components-library/p-47137e39.entry.js} +2 -2
- package/dist/web-components-library/{p-17fea974.js → p-47bf778e.js} +2 -2
- package/dist/web-components-library/{p-1cc37aa7.entry.js → p-51f5e5e6.entry.js} +2 -2
- package/dist/web-components-library/{p-b7af7424.entry.js → p-571f1e1d.entry.js} +2 -2
- package/{www/build/p-ffccfe63.entry.js → dist/web-components-library/p-63488a2b.entry.js} +2 -2
- package/dist/web-components-library/{p-73a58288.entry.js → p-6531d14a.entry.js} +2 -2
- package/dist/web-components-library/p-67896876.entry.js +2 -0
- package/dist/web-components-library/{p-c39ca8e7.entry.js → p-6b759395.entry.js} +2 -2
- package/{www/build/p-4704cece.entry.js → dist/web-components-library/p-6ed39f10.entry.js} +2 -2
- package/dist/web-components-library/{p-a45e72f0.entry.js → p-7c20b8f6.entry.js} +2 -2
- package/dist/web-components-library/p-822a2097.entry.js +2 -0
- package/dist/web-components-library/{p-da7200c2.entry.js → p-8b24d801.entry.js} +2 -2
- package/dist/web-components-library/{p-67e5e8ed.js → p-90908f36.js} +2 -2
- package/dist/web-components-library/{p-00f7e0da.entry.js → p-910fd48c.entry.js} +2 -2
- package/{www/build/p-89b1e0ce.entry.js → dist/web-components-library/p-985e61f5.entry.js} +2 -2
- package/{www/build/p-62b75a18.entry.js → dist/web-components-library/p-a4aaffd3.entry.js} +2 -2
- package/{www/build/p-a56fa2f2.entry.js → dist/web-components-library/p-a9805b32.entry.js} +2 -2
- package/{www/build/p-78e52a02.js → dist/web-components-library/p-ab45ba6d.js} +2 -2
- package/{www/build/p-eb93aa0b.entry.js → dist/web-components-library/p-b1039f3d.entry.js} +2 -2
- package/{www/build/p-64ba80da.entry.js → dist/web-components-library/p-b222df41.entry.js} +2 -2
- package/dist/web-components-library/{p-acd911aa.entry.js → p-b3272516.entry.js} +2 -2
- package/dist/web-components-library/{p-587aa850.entry.js → p-b72a4b5e.entry.js} +2 -2
- package/{www/build/p-ca7634bf.entry.js → dist/web-components-library/p-b7af7fa4.entry.js} +2 -2
- package/{www/build/p-2e432a39.entry.js → dist/web-components-library/p-be2405e2.entry.js} +2 -2
- package/{www/build/p-155c52f7.js → dist/web-components-library/p-c62825e1.js} +2 -2
- package/dist/web-components-library/{p-27bfe123.js → p-cce46031.js} +2 -2
- package/dist/web-components-library/{p-e770ed95.entry.js → p-d13520c2.entry.js} +2 -2
- package/dist/web-components-library/{p-a16ed530.entry.js → p-db04ba75.entry.js} +2 -2
- package/dist/web-components-library/{p-b387e877.entry.js → p-db340bc6.entry.js} +2 -2
- package/dist/web-components-library/{p-6f9fc850.entry.js → p-e0a0bfb2.entry.js} +2 -2
- package/dist/web-components-library/{p-ee430669.entry.js → p-e38df1a4.entry.js} +2 -2
- package/dist/web-components-library/{p-64364cbf.entry.js → p-eb3985d0.entry.js} +2 -2
- package/{www/build/p-1896cc54.entry.js → dist/web-components-library/p-eb5a148f.entry.js} +2 -2
- package/dist/web-components-library/{p-956ece11.entry.js → p-ec740313.entry.js} +2 -2
- package/dist/web-components-library/{p-2cab65f7.entry.js → p-f3037ac9.entry.js} +2 -2
- package/dist/web-components-library/{p-d94c5857.entry.js → p-f7ef289b.entry.js} +2 -2
- package/dist/web-components-library/{p-9bf06eb5.entry.js → p-fb2eb3c0.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 +2 -2
- package/www/build/index.esm.js +1 -1
- package/{dist/web-components-library/p-f410f295.entry.js → www/build/p-03cd1ead.entry.js} +2 -2
- package/www/build/{p-608c35ba.entry.js → p-03e85eac.entry.js} +2 -2
- package/www/build/p-06b8521b.entry.js +2 -0
- package/{dist/web-components-library/p-c38833ea.entry.js → www/build/p-0778e75d.entry.js} +2 -2
- package/www/build/{p-f26b2e47.entry.js → p-09552f18.entry.js} +2 -2
- package/www/build/p-0c813477.entry.js +2 -0
- package/www/build/p-0c813477.entry.js.map +1 -0
- package/www/build/{p-6037cdf3.js → p-1c24255c.js} +2 -2
- package/{dist/web-components-library/p-6037cdf3.js.map → www/build/p-1c24255c.js.map} +1 -1
- package/{dist/web-components-library/p-f87bcdc3.entry.js → www/build/p-228db53f.entry.js} +2 -2
- package/{dist/web-components-library/p-9fc6961e.entry.js → www/build/p-26ac8973.entry.js} +2 -2
- package/{dist/web-components-library/p-0ca0265f.entry.js → www/build/p-350f84c5.entry.js} +2 -2
- package/www/build/{p-67e48546.entry.js → p-3618e227.entry.js} +2 -2
- package/www/build/{p-296924ea.entry.js → p-417ed850.entry.js} +2 -2
- package/{dist/web-components-library/p-30f09188.entry.js → www/build/p-47137e39.entry.js} +2 -2
- package/www/build/{p-17fea974.js → p-47bf778e.js} +2 -2
- package/www/build/{p-1cc37aa7.entry.js → p-51f5e5e6.entry.js} +2 -2
- package/www/build/{p-b7af7424.entry.js → p-571f1e1d.entry.js} +2 -2
- package/{dist/web-components-library/p-ffccfe63.entry.js → www/build/p-63488a2b.entry.js} +2 -2
- package/www/build/{p-73a58288.entry.js → p-6531d14a.entry.js} +2 -2
- package/www/build/p-67896876.entry.js +2 -0
- package/www/build/{p-c39ca8e7.entry.js → p-6b759395.entry.js} +2 -2
- package/{dist/web-components-library/p-4704cece.entry.js → www/build/p-6ed39f10.entry.js} +2 -2
- package/www/build/{p-a45e72f0.entry.js → p-7c20b8f6.entry.js} +2 -2
- package/www/build/p-822a2097.entry.js +2 -0
- package/www/build/p-88640e60.js +2 -0
- package/www/build/{p-da7200c2.entry.js → p-8b24d801.entry.js} +2 -2
- package/www/build/{p-67e5e8ed.js → p-90908f36.js} +2 -2
- package/www/build/{p-00f7e0da.entry.js → p-910fd48c.entry.js} +2 -2
- package/{dist/web-components-library/p-89b1e0ce.entry.js → www/build/p-985e61f5.entry.js} +2 -2
- package/{dist/web-components-library/p-62b75a18.entry.js → www/build/p-a4aaffd3.entry.js} +2 -2
- package/{dist/web-components-library/p-a56fa2f2.entry.js → www/build/p-a9805b32.entry.js} +2 -2
- package/{dist/web-components-library/p-78e52a02.js → www/build/p-ab45ba6d.js} +2 -2
- package/{dist/web-components-library/p-eb93aa0b.entry.js → www/build/p-b1039f3d.entry.js} +2 -2
- package/{dist/web-components-library/p-64ba80da.entry.js → www/build/p-b222df41.entry.js} +2 -2
- package/www/build/{p-acd911aa.entry.js → p-b3272516.entry.js} +2 -2
- package/www/build/{p-587aa850.entry.js → p-b72a4b5e.entry.js} +2 -2
- package/{dist/web-components-library/p-ca7634bf.entry.js → www/build/p-b7af7fa4.entry.js} +2 -2
- package/{dist/web-components-library/p-2e432a39.entry.js → www/build/p-be2405e2.entry.js} +2 -2
- package/{dist/web-components-library/p-155c52f7.js → www/build/p-c62825e1.js} +2 -2
- package/www/build/{p-27bfe123.js → p-cce46031.js} +2 -2
- package/www/build/{p-e770ed95.entry.js → p-d13520c2.entry.js} +2 -2
- package/www/build/{p-a16ed530.entry.js → p-db04ba75.entry.js} +2 -2
- package/www/build/{p-b387e877.entry.js → p-db340bc6.entry.js} +2 -2
- package/www/build/{p-6f9fc850.entry.js → p-e0a0bfb2.entry.js} +2 -2
- package/www/build/{p-ee430669.entry.js → p-e38df1a4.entry.js} +2 -2
- package/www/build/{p-64364cbf.entry.js → p-eb3985d0.entry.js} +2 -2
- package/{dist/web-components-library/p-1896cc54.entry.js → www/build/p-eb5a148f.entry.js} +2 -2
- package/www/build/{p-956ece11.entry.js → p-ec740313.entry.js} +2 -2
- package/www/build/{p-2cab65f7.entry.js → p-f3037ac9.entry.js} +2 -2
- package/www/build/{p-d94c5857.entry.js → p-f7ef289b.entry.js} +2 -2
- package/www/build/{p-9bf06eb5.entry.js → p-fb2eb3c0.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-bab7a651.js.map +0 -1
- package/dist/esm/index-b7dbacb4.js.map +0 -1
- package/dist/web-components-library/p-2b15df8e.entry.js +0 -2
- package/dist/web-components-library/p-3b26bd7b.entry.js +0 -2
- package/dist/web-components-library/p-7a674e6c.entry.js +0 -2
- package/dist/web-components-library/p-9d857607.entry.js +0 -2
- package/dist/web-components-library/p-9d857607.entry.js.map +0 -1
- package/www/build/p-2b15df8e.entry.js +0 -2
- package/www/build/p-3b26bd7b.entry.js +0 -2
- package/www/build/p-7a674e6c.entry.js +0 -2
- package/www/build/p-9d857607.entry.js +0 -2
- package/www/build/p-9d857607.entry.js.map +0 -1
- package/www/build/p-ca107e5c.js +0 -2
- /package/dist/web-components-library/{p-f410f295.entry.js.map → p-03cd1ead.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-608c35ba.entry.js.map → p-03e85eac.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2b15df8e.entry.js.map → p-06b8521b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c38833ea.entry.js.map → p-0778e75d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f26b2e47.entry.js.map → p-09552f18.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f87bcdc3.entry.js.map → p-228db53f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9fc6961e.entry.js.map → p-26ac8973.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0ca0265f.entry.js.map → p-350f84c5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-67e48546.entry.js.map → p-3618e227.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-296924ea.entry.js.map → p-417ed850.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30f09188.entry.js.map → p-47137e39.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-17fea974.js.map → p-47bf778e.js.map} +0 -0
- /package/dist/web-components-library/{p-1cc37aa7.entry.js.map → p-51f5e5e6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7af7424.entry.js.map → p-571f1e1d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ffccfe63.entry.js.map → p-63488a2b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-73a58288.entry.js.map → p-6531d14a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-3b26bd7b.entry.js.map → p-67896876.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c39ca8e7.entry.js.map → p-6b759395.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4704cece.entry.js.map → p-6ed39f10.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a45e72f0.entry.js.map → p-7c20b8f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7a674e6c.entry.js.map → p-822a2097.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-da7200c2.entry.js.map → p-8b24d801.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-67e5e8ed.js.map → p-90908f36.js.map} +0 -0
- /package/dist/web-components-library/{p-00f7e0da.entry.js.map → p-910fd48c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-89b1e0ce.entry.js.map → p-985e61f5.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-62b75a18.entry.js.map → p-a4aaffd3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a56fa2f2.entry.js.map → p-a9805b32.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-78e52a02.js.map → p-ab45ba6d.js.map} +0 -0
- /package/dist/web-components-library/{p-eb93aa0b.entry.js.map → p-b1039f3d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-64ba80da.entry.js.map → p-b222df41.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-acd911aa.entry.js.map → p-b3272516.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-587aa850.entry.js.map → p-b72a4b5e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ca7634bf.entry.js.map → p-b7af7fa4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2e432a39.entry.js.map → p-be2405e2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-155c52f7.js.map → p-c62825e1.js.map} +0 -0
- /package/dist/web-components-library/{p-27bfe123.js.map → p-cce46031.js.map} +0 -0
- /package/dist/web-components-library/{p-e770ed95.entry.js.map → p-d13520c2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a16ed530.entry.js.map → p-db04ba75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b387e877.entry.js.map → p-db340bc6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6f9fc850.entry.js.map → p-e0a0bfb2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ee430669.entry.js.map → p-e38df1a4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-64364cbf.entry.js.map → p-eb3985d0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1896cc54.entry.js.map → p-eb5a148f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-956ece11.entry.js.map → p-ec740313.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2cab65f7.entry.js.map → p-f3037ac9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d94c5857.entry.js.map → p-f7ef289b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9bf06eb5.entry.js.map → p-fb2eb3c0.entry.js.map} +0 -0
- /package/www/build/{p-f410f295.entry.js.map → p-03cd1ead.entry.js.map} +0 -0
- /package/www/build/{p-608c35ba.entry.js.map → p-03e85eac.entry.js.map} +0 -0
- /package/www/build/{p-2b15df8e.entry.js.map → p-06b8521b.entry.js.map} +0 -0
- /package/www/build/{p-c38833ea.entry.js.map → p-0778e75d.entry.js.map} +0 -0
- /package/www/build/{p-f26b2e47.entry.js.map → p-09552f18.entry.js.map} +0 -0
- /package/www/build/{p-f87bcdc3.entry.js.map → p-228db53f.entry.js.map} +0 -0
- /package/www/build/{p-9fc6961e.entry.js.map → p-26ac8973.entry.js.map} +0 -0
- /package/www/build/{p-0ca0265f.entry.js.map → p-350f84c5.entry.js.map} +0 -0
- /package/www/build/{p-67e48546.entry.js.map → p-3618e227.entry.js.map} +0 -0
- /package/www/build/{p-296924ea.entry.js.map → p-417ed850.entry.js.map} +0 -0
- /package/www/build/{p-30f09188.entry.js.map → p-47137e39.entry.js.map} +0 -0
- /package/www/build/{p-17fea974.js.map → p-47bf778e.js.map} +0 -0
- /package/www/build/{p-1cc37aa7.entry.js.map → p-51f5e5e6.entry.js.map} +0 -0
- /package/www/build/{p-b7af7424.entry.js.map → p-571f1e1d.entry.js.map} +0 -0
- /package/www/build/{p-ffccfe63.entry.js.map → p-63488a2b.entry.js.map} +0 -0
- /package/www/build/{p-73a58288.entry.js.map → p-6531d14a.entry.js.map} +0 -0
- /package/www/build/{p-3b26bd7b.entry.js.map → p-67896876.entry.js.map} +0 -0
- /package/www/build/{p-c39ca8e7.entry.js.map → p-6b759395.entry.js.map} +0 -0
- /package/www/build/{p-4704cece.entry.js.map → p-6ed39f10.entry.js.map} +0 -0
- /package/www/build/{p-a45e72f0.entry.js.map → p-7c20b8f6.entry.js.map} +0 -0
- /package/www/build/{p-7a674e6c.entry.js.map → p-822a2097.entry.js.map} +0 -0
- /package/www/build/{p-da7200c2.entry.js.map → p-8b24d801.entry.js.map} +0 -0
- /package/www/build/{p-67e5e8ed.js.map → p-90908f36.js.map} +0 -0
- /package/www/build/{p-00f7e0da.entry.js.map → p-910fd48c.entry.js.map} +0 -0
- /package/www/build/{p-89b1e0ce.entry.js.map → p-985e61f5.entry.js.map} +0 -0
- /package/www/build/{p-62b75a18.entry.js.map → p-a4aaffd3.entry.js.map} +0 -0
- /package/www/build/{p-a56fa2f2.entry.js.map → p-a9805b32.entry.js.map} +0 -0
- /package/www/build/{p-78e52a02.js.map → p-ab45ba6d.js.map} +0 -0
- /package/www/build/{p-eb93aa0b.entry.js.map → p-b1039f3d.entry.js.map} +0 -0
- /package/www/build/{p-64ba80da.entry.js.map → p-b222df41.entry.js.map} +0 -0
- /package/www/build/{p-acd911aa.entry.js.map → p-b3272516.entry.js.map} +0 -0
- /package/www/build/{p-587aa850.entry.js.map → p-b72a4b5e.entry.js.map} +0 -0
- /package/www/build/{p-ca7634bf.entry.js.map → p-b7af7fa4.entry.js.map} +0 -0
- /package/www/build/{p-2e432a39.entry.js.map → p-be2405e2.entry.js.map} +0 -0
- /package/www/build/{p-155c52f7.js.map → p-c62825e1.js.map} +0 -0
- /package/www/build/{p-27bfe123.js.map → p-cce46031.js.map} +0 -0
- /package/www/build/{p-e770ed95.entry.js.map → p-d13520c2.entry.js.map} +0 -0
- /package/www/build/{p-a16ed530.entry.js.map → p-db04ba75.entry.js.map} +0 -0
- /package/www/build/{p-b387e877.entry.js.map → p-db340bc6.entry.js.map} +0 -0
- /package/www/build/{p-6f9fc850.entry.js.map → p-e0a0bfb2.entry.js.map} +0 -0
- /package/www/build/{p-ee430669.entry.js.map → p-e38df1a4.entry.js.map} +0 -0
- /package/www/build/{p-64364cbf.entry.js.map → p-eb3985d0.entry.js.map} +0 -0
- /package/www/build/{p-1896cc54.entry.js.map → p-eb5a148f.entry.js.map} +0 -0
- /package/www/build/{p-956ece11.entry.js.map → p-ec740313.entry.js.map} +0 -0
- /package/www/build/{p-2cab65f7.entry.js.map → p-f3037ac9.entry.js.map} +0 -0
- /package/www/build/{p-d94c5857.entry.js.map → p-f7ef289b.entry.js.map} +0 -0
- /package/www/build/{p-9bf06eb5.entry.js.map → p-fb2eb3c0.entry.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zanichelli/albe-web-components",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0-rc-2",
|
|
4
4
|
"description": "The Web Components implementation of Albe, the Zanichelli's design system.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"stylelint-config-prettier": "^9.0.3",
|
|
82
82
|
"stylelint-config-standard": "^26.0.0",
|
|
83
83
|
"stylelint-value-no-unknown-custom-properties": "^4.0.0",
|
|
84
|
-
"typescript": "
|
|
84
|
+
"typescript": "~5.4.0",
|
|
85
85
|
"vite": "^5.2.11"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
package/www/build/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as $}from"./p-
|
|
1
|
+
import{c as $}from"./p-90908f36.js";export{Y as AccordionVariant,o as AlertType,A as AvatarSize,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,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-1c24255c.js";import"./p-5145a606.js";const _={colorFromId:$};export{_ as Utils};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as o,g as s}from"./p-75c4a726.js";import{s as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as o,g as s}from"./p-75c4a726.js";import{s as i}from"./p-1c24255c.js";const e=':host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}';const n=e;const a=class{constructor(o){t(this,o);this.position=i.TOP_RIGHT;this.newestontop=true}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse());if(t){this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}else{this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}}componentWillLoad(){if(this.newestontop){this.handleNewestOnTop()}}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children);this.hostElement.append(...this.notificationArray.reverse());this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler.bind(this))}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));if(t){t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove();this.hostElement.prepend(o)}))}}render(){return o("slot",{key:"92d1e3eb3d27b178014dec77a61efcf6de185933",name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};a.style=n;export{a as z_toast_notification_list};
|
|
2
|
+
//# sourceMappingURL=p-03cd1ead.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as a,h as t,a as i,g as r}from"./p-75c4a726.js";import{O as n,u as h,B as o,e as s}from"./p-6037cdf3.js";const p=':host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-default-text);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-default-text);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot="title"]),.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-weight:var(--font-bd)}::slotted([slot="title"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot="top-subtitle"]),::slotted([slot="subtitle"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;line-height:26px}::slotted([slot="subtitle"]){font-weight:500}::slotted([slot="top-subtitle"]){font-weight:400}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}:host([menu-length="0"]:not([enable-search])) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title{overflow:hidden}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:none}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow="offcanvas"],[menu-length="0"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length="0"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow="offcanvas"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow="stack"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow="stack"]) .menu-container{width:100%}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';const d=p;const c=typeof IntersectionObserver!=="undefined";const l=class{constructor(t){e(this,t);this.sticking=a(this,"sticking",7);this.observer=c&&new IntersectionObserver((([e])=>{this._stuck=!e.isIntersecting}),{threshold:.5});this.stuck=false;this.hero=undefined;this.overlay=false;this.flow="auto";this.drawerOpen=false;this.enableSearch=false;this.searchPlaceholder="Cerca";this.searchString="";this.searchPageUrl=undefined;this._stuck=false;this.currentViewport="mobile";this.menuLength=undefined;this.openDrawer=this.openDrawer.bind(this);this.closeDrawer=this.closeDrawer.bind(this);this.collectMenuElements=this.collectMenuElements.bind(this)}evaluateViewport(){if(window.innerWidth<768){this.currentViewport="mobile"}else if(window.innerWidth>=768&&window.innerWidth<1152){this.currentViewport="tablet"}else{this.currentViewport="desktop"}}onStuck(){const e=this.scrollParent;if(!e){return}this.sticking.emit(this._stuck)}setMenuFloatingMode(){if(this.menuElements.length===0){return}const e=this.menuElements;e.forEach((e=>{e.open=false;e.floating=!this.drawerOpen;e.verticalContext=this.drawerOpen}))}get title(){const e=this.hostElement.querySelector('[slot="title"]');if(e===null){return""}return e.textContent.trim()}get scrollParent(){const e=this.hostElement.offsetParent;if(e===document.body||e===document.documentElement){return window}return e}get canShowMenu(){return this.flow!=="offcanvas"&&this.currentViewport!=="mobile"&&!this.drawerOpen}get canShowSearchbar(){if(!this.enableSearch){return false}if(this.searchPageUrl){return this.currentViewport==="desktop"}return true}get hasHero(){return!!this.hero||this.hostElement.querySelector("[slot=hero]")!==null}openDrawer(){this.drawerOpen=true}closeDrawer(){this.drawerOpen=false}collectMenuElements(){const e=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=e.length;this.setMenuFloatingMode()}enableStuckObserver(){if(this.observer){this.observer.observe(this.container)}}disableStuckMode(){this._stuck=false;if(this.observer){this.observer.unobserve(this.container)}}onStuckMode(){if(this.stuck){this.enableStuckObserver()}else{this.disableStuckMode()}}renderSearchLinkButton(){if(!this.enableSearch||!this.searchPageUrl||this.currentViewport==="desktop"){return null}return t("z-button",{class:"search-page-button",variant:o.SECONDARY,href:this.searchPageUrl,icon:"search",size:s.X_SMALL})}renderSeachbar(e){return t("z-searchbar",{value:this.searchString,placeholder:this.searchPlaceholder,showSearchButton:true,searchButtonIconOnly:e,size:s.X_SMALL,variant:o.SECONDARY,preventSubmit:this.searchString.length<3,onSearchTyping:e=>this.searchString=e.detail})}componentDidLoad(){this.collectMenuElements();this.onStuckMode();this.evaluateViewport()}render(){return t(i,{key:"248c788e09761ea940575f856285bd48df83efbf","menu-length":this.menuLength},this.hasHero&&t("div",{key:"834d8da46e3fcd43f1e6f082eae1b82a0114df7d",class:"hero-container"},t("slot",{key:"89f3a1034411572bdf4dbe4b1e02c7ea78b7972f",name:"hero"},this.hero&&t("img",{key:"8ba742bf809c529e7a56d85457c544e79d347b8c",alt:"",src:this.hero}))),t("div",{key:"3b6e06d3ea80fae0adfbbf81566d4c26087e4f61",class:"heading-panel",ref:e=>this.container=e},t("div",{key:"f0e9e6c8e652227cfed385e2fc90b67d0cf56af1",class:"heading-container"},t("div",{key:"38e541c297c3925bd2bb1e2bced92f14b92f2642",class:"heading-subtitle"},t("slot",{key:"bcf70e94c3bcaafb22114de70f8f7eef47d3d23d",name:"top-subtitle"})),t("div",{key:"bc4944c4819e423c9e18461dd92ba3c29421cf1a",class:"heading-title"},this.menuLength>0&&t("button",{key:"e9dab16f601d16c4efa08d1bb670a624d900753e",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"ed29253cc6327a76387d29c811e2e5a533f39766",name:"burger-menu"})),t("slot",{key:"edbd5ef824affe20c9d2df7046e836040206adb1",name:"title"}),this.renderSearchLinkButton()),t("div",{key:"5786332ce6b9969686592e1be7785009c613dda6",class:"heading-subtitle"},t("slot",{key:"8b66f6d034492d96276ed97e71c5e0450ad2b22a",name:"subtitle"}))),(this.canShowMenu||this.canShowSearchbar)&&t("div",{key:"1b9e781b2d706d3ef48c43251198739453e59918",class:"menu-container"},this.canShowMenu&&t("slot",{key:"d0138f4d3f480a28962e1bccf1f60456feb76a82",name:"menu",onSlotchange:this.collectMenuElements}),this.canShowSearchbar&&this.renderSeachbar(this.currentViewport!=="desktop"))),t("z-offcanvas",{key:"bd233aac91c1ae4018b65dc40e1b6b23f64b3257",variant:n.OVERLAY,transitiondirection:h.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:e=>this.drawerOpen=e.detail},t("button",{key:"7072dd5083f928b3f85ec1c67cdd116699455f75",class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`,disabled:!this.drawerOpen},t("z-icon",{key:"b0eaedd3f7b480d207e2f59d28d9fca7b716f6a1",name:"close"})),t("div",{key:"5338f6b648e465eda415f6c2df6042e4fed4afc7",class:"drawer-content",slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`},t("slot",{key:"6bc7914138ff4accd2a7181b309267a652e8ec9f",name:"menu",onSlotchange:this.collectMenuElements}))),this._stuck&&t("div",{key:"52111f4a943e3bb0aeb2b598c691b0a0dba7cad6",class:"heading-stuck"},t("div",{key:"7b83fe01b6d813ec488cd047b110651bcf68a842",class:"heading-stuck-content"},this.menuLength>0&&t("button",{key:"980a5644ad87b850a3617a7647cf91112e0269d3",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"fa1eb36c53f6984510f4c4e25d6a99c4d0a30bcc",name:"burger-menu"})),t("div",{key:"3888a5e1305a386756a307630d8435ff8cf2ef89",class:"heading-title"},t("slot",{key:"6f7e6d23496af75d2a5f36540fa6a8928d391848",name:"stucked-title"},this.title)),this.renderSearchLinkButton(),this.canShowSearchbar&&this.currentViewport==="desktop"&&this.renderSeachbar(false))))}get hostElement(){return r(this)}static get watchers(){return{_stuck:["onStuck"],drawerOpen:["setMenuFloatingMode"],stuck:["onStuckMode"]}}};l.style=d;export{l as z_app_header_deprecated};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as a,h as t,a as i,g as r}from"./p-75c4a726.js";import{O as n,u as h,B as o,e as s}from"./p-1c24255c.js";const p=':host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-default-text);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-default-text);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot="title"]),.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-weight:var(--font-bd)}::slotted([slot="title"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot="top-subtitle"]),::slotted([slot="subtitle"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;line-height:26px}::slotted([slot="subtitle"]){font-weight:500}::slotted([slot="top-subtitle"]){font-weight:400}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}:host([menu-length="0"]:not([enable-search])) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title{overflow:hidden}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:none}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow="offcanvas"],[menu-length="0"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length="0"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow="offcanvas"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow="stack"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow="stack"]) .menu-container{width:100%}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';const d=p;const c=typeof IntersectionObserver!=="undefined";const l=class{constructor(t){e(this,t);this.sticking=a(this,"sticking",7);this.observer=c&&new IntersectionObserver((([e])=>{this._stuck=!e.isIntersecting}),{threshold:.5});this.stuck=false;this.hero=undefined;this.overlay=false;this.flow="auto";this.drawerOpen=false;this.enableSearch=false;this.searchPlaceholder="Cerca";this.searchString="";this.searchPageUrl=undefined;this._stuck=false;this.currentViewport="mobile";this.menuLength=undefined;this.openDrawer=this.openDrawer.bind(this);this.closeDrawer=this.closeDrawer.bind(this);this.collectMenuElements=this.collectMenuElements.bind(this)}evaluateViewport(){if(window.innerWidth<768){this.currentViewport="mobile"}else if(window.innerWidth>=768&&window.innerWidth<1152){this.currentViewport="tablet"}else{this.currentViewport="desktop"}}onStuck(){const e=this.scrollParent;if(!e){return}this.sticking.emit(this._stuck)}setMenuFloatingMode(){if(this.menuElements.length===0){return}const e=this.menuElements;e.forEach((e=>{e.open=false;e.floating=!this.drawerOpen;e.verticalContext=this.drawerOpen}))}get title(){const e=this.hostElement.querySelector('[slot="title"]');if(e===null){return""}return e.textContent.trim()}get scrollParent(){const e=this.hostElement.offsetParent;if(e===document.body||e===document.documentElement){return window}return e}get canShowMenu(){return this.flow!=="offcanvas"&&this.currentViewport!=="mobile"&&!this.drawerOpen}get canShowSearchbar(){if(!this.enableSearch){return false}if(this.searchPageUrl){return this.currentViewport==="desktop"}return true}get hasHero(){return!!this.hero||this.hostElement.querySelector("[slot=hero]")!==null}openDrawer(){this.drawerOpen=true}closeDrawer(){this.drawerOpen=false}collectMenuElements(){const e=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=e.length;this.setMenuFloatingMode()}enableStuckObserver(){if(this.observer){this.observer.observe(this.container)}}disableStuckMode(){this._stuck=false;if(this.observer){this.observer.unobserve(this.container)}}onStuckMode(){if(this.stuck){this.enableStuckObserver()}else{this.disableStuckMode()}}renderSearchLinkButton(){if(!this.enableSearch||!this.searchPageUrl||this.currentViewport==="desktop"){return null}return t("z-button",{class:"search-page-button",variant:o.SECONDARY,href:this.searchPageUrl,icon:"search",size:s.X_SMALL})}renderSeachbar(e){return t("z-searchbar",{value:this.searchString,placeholder:this.searchPlaceholder,showSearchButton:true,searchButtonIconOnly:e,size:s.X_SMALL,variant:o.SECONDARY,preventSubmit:this.searchString.length<3,onSearchTyping:e=>this.searchString=e.detail})}componentDidLoad(){this.collectMenuElements();this.onStuckMode();this.evaluateViewport()}render(){return t(i,{key:"248c788e09761ea940575f856285bd48df83efbf","menu-length":this.menuLength},this.hasHero&&t("div",{key:"834d8da46e3fcd43f1e6f082eae1b82a0114df7d",class:"hero-container"},t("slot",{key:"89f3a1034411572bdf4dbe4b1e02c7ea78b7972f",name:"hero"},this.hero&&t("img",{key:"8ba742bf809c529e7a56d85457c544e79d347b8c",alt:"",src:this.hero}))),t("div",{key:"3b6e06d3ea80fae0adfbbf81566d4c26087e4f61",class:"heading-panel",ref:e=>this.container=e},t("div",{key:"f0e9e6c8e652227cfed385e2fc90b67d0cf56af1",class:"heading-container"},t("div",{key:"38e541c297c3925bd2bb1e2bced92f14b92f2642",class:"heading-subtitle"},t("slot",{key:"bcf70e94c3bcaafb22114de70f8f7eef47d3d23d",name:"top-subtitle"})),t("div",{key:"bc4944c4819e423c9e18461dd92ba3c29421cf1a",class:"heading-title"},this.menuLength>0&&t("button",{key:"e9dab16f601d16c4efa08d1bb670a624d900753e",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"ed29253cc6327a76387d29c811e2e5a533f39766",name:"burger-menu"})),t("slot",{key:"edbd5ef824affe20c9d2df7046e836040206adb1",name:"title"}),this.renderSearchLinkButton()),t("div",{key:"5786332ce6b9969686592e1be7785009c613dda6",class:"heading-subtitle"},t("slot",{key:"8b66f6d034492d96276ed97e71c5e0450ad2b22a",name:"subtitle"}))),(this.canShowMenu||this.canShowSearchbar)&&t("div",{key:"1b9e781b2d706d3ef48c43251198739453e59918",class:"menu-container"},this.canShowMenu&&t("slot",{key:"d0138f4d3f480a28962e1bccf1f60456feb76a82",name:"menu",onSlotchange:this.collectMenuElements}),this.canShowSearchbar&&this.renderSeachbar(this.currentViewport!=="desktop"))),t("z-offcanvas",{key:"bd233aac91c1ae4018b65dc40e1b6b23f64b3257",variant:n.OVERLAY,transitiondirection:h.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:e=>this.drawerOpen=e.detail},t("button",{key:"7072dd5083f928b3f85ec1c67cdd116699455f75",class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`,disabled:!this.drawerOpen},t("z-icon",{key:"b0eaedd3f7b480d207e2f59d28d9fca7b716f6a1",name:"close"})),t("div",{key:"5338f6b648e465eda415f6c2df6042e4fed4afc7",class:"drawer-content",slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`},t("slot",{key:"6bc7914138ff4accd2a7181b309267a652e8ec9f",name:"menu",onSlotchange:this.collectMenuElements}))),this._stuck&&t("div",{key:"52111f4a943e3bb0aeb2b598c691b0a0dba7cad6",class:"heading-stuck"},t("div",{key:"7b83fe01b6d813ec488cd047b110651bcf68a842",class:"heading-stuck-content"},this.menuLength>0&&t("button",{key:"980a5644ad87b850a3617a7647cf91112e0269d3",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"fa1eb36c53f6984510f4c4e25d6a99c4d0a30bcc",name:"burger-menu"})),t("div",{key:"3888a5e1305a386756a307630d8435ff8cf2ef89",class:"heading-title"},t("slot",{key:"6f7e6d23496af75d2a5f36540fa6a8928d391848",name:"stucked-title"},this.title)),this.renderSearchLinkButton(),this.canShowSearchbar&&this.currentViewport==="desktop"&&this.renderSeachbar(false))))}get hostElement(){return r(this)}static get watchers(){return{_stuck:["onStuck"],drawerOpen:["setMenuFloatingMode"],stuck:["onStuckMode"]}}};l.style=d;export{l as z_app_header_deprecated};
|
|
2
|
+
//# sourceMappingURL=p-03e85eac.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as a,e as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as a,e as r}from"./p-1c24255c.js";const n=':host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:18px}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:16px}.z-info-reveal-panel{position:absolute;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{position:fixed;top:auto !important;bottom:auto !important;left:var(--grid-margin) !important;width:calc(100% - (var(--grid-margin) * 2)) !important;max-width:none !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=a.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=r.BIG;this.open=false}adjustPanelPosition(){if(!this.open||!this.panel){return}const e=this.host.getBoundingClientRect();const i=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--grid-margin"),10);const t=document.documentElement.offsetWidth;const o=Math.round((this.position.includes("left")?t-e.left:e.right)-i);this.panel.style.maxWidth=`${o}px`}togglePanel(){this.open=!this.open}closePanel(){this.open=false}handleEscapeKey(e){if(e.key==="Escape"&&this.open){this.closePanel()}}render(){return i(t,{key:"0cd6457cdde5047f859f7e11feee92fb9dd0eb31",open:this.open},i("button",{key:"63fd527be4c6d7de36aa8546dc47874ad571de01",class:"z-info-reveal-trigger",type:"button",onClick:this.togglePanel.bind(this),"aria-label":!this.label?this.ariaLabel:undefined,"aria-expanded":this.open?"true":"false","aria-controls":"z-info-reveal-panel"},this.icon&&i("z-icon",{key:"0297eed1694a18d08b9290568a503afb441127ea",name:this.icon}),this.label&&i("span",{key:"0fa5ff78efe186486b6991fec0edbcd560a2f302",class:"z-info-reveal-label"},this.label)),i("div",{key:"6d1125e73e361aee556994e3e311196dfa288dee",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"fe7b4a62cb6306418f935254139cfc4b0048a821"}),i("button",{key:"789d137466ede751579c4c64eddd04269eda3c12",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"267e312def7799ab52a9fac1923d33538c8e9218",name:"multiply"}))))}get host(){return o(this)}static get watchers(){return{position:["adjustPanelPosition"],open:["adjustPanelPosition"]}}};l.style=s;export{l as z_info_reveal};
|
|
2
|
+
//# sourceMappingURL=p-0778e75d.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,a as i,g as o}from"./p-75c4a726.js";import{x as s,D as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,a as i,g as o}from"./p-75c4a726.js";import{x as s,D as r}from"./p-1c24255c.js";const a=':host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);font-weight:var(--font-sb);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}';const c=a;const l=class{constructor(e){t(this,e);this.dividerPosition=s.BEFORE;this.uppercase=true}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,{key:"15127467ec57c592822cc1d146f19716fb9bf15b"},e("slot",{key:"e240b4d2c2a26687b87e3b54044bb663e5fdab4b",name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{key:"b80bcb9779af5325cc6d2cc57babd89e71856be3",size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{key:"843fe164ad735fd60834f011988b4c9995250a2c",name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{key:"ba37a4bd53fa715e765dcfe58ccc2a5c1d77051d",size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};l.style=c;export{l as z_section_title};
|
|
2
|
+
//# sourceMappingURL=p-09552f18.entry.js.map
|