@zanichelli/albe-web-components 18.7.6-RC2 → 18.7.7

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.
Files changed (403) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/web-components-library.cjs.js +1 -1
  4. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/z-app-header_12.cjs.entry.js +15 -10
  6. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  7. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  10. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  11. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  13. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  14. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -4
  15. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  16. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  17. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  18. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  19. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  20. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  21. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  22. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  23. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  24. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  26. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  27. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  28. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  30. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  31. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  32. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  33. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  34. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  35. package/dist/cjs/z-select.cjs.entry.js +1 -1
  36. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  37. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  38. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  39. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  40. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  41. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  42. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  43. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  44. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  45. package/dist/collection/components/list/z-list-element/index.js +4 -1
  46. package/dist/collection/components/list/z-list-element/index.js.map +1 -1
  47. package/dist/collection/components/list/z-list-element/index.stories.js +9 -9
  48. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -1
  49. package/dist/collection/components/list/z-list-element/styles.css +5 -0
  50. package/dist/collection/components/z-app-header/index.js +2 -1
  51. package/dist/collection/components/z-app-header/index.js.map +1 -1
  52. package/dist/collection/components/z-app-header/index.stories.js +16 -0
  53. package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
  54. package/dist/collection/components/z-app-header/styles.css +2 -1
  55. package/dist/collection/components/z-aria-alert/index.js +1 -1
  56. package/dist/collection/components/z-avatar/index.js +2 -2
  57. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  58. package/dist/collection/components/z-button-sort/index.js +1 -1
  59. package/dist/collection/components/z-chip/index.js +2 -2
  60. package/dist/collection/components/z-combobox/index.js +1 -1
  61. package/dist/collection/components/z-cover-hero/index.js +2 -2
  62. package/dist/collection/components/z-divider/index.js +1 -1
  63. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  64. package/dist/collection/components/z-info-box/index.js +1 -1
  65. package/dist/collection/components/z-info-reveal/index.js +1 -1
  66. package/dist/collection/components/z-input/index.js +1 -1
  67. package/dist/collection/components/z-input-message/index.js +1 -1
  68. package/dist/collection/components/z-logo/index.js +1 -1
  69. package/dist/collection/components/z-menu-section/index.js +1 -1
  70. package/dist/collection/components/z-modal/index.js +4 -4
  71. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  72. package/dist/collection/components/z-notification/index.js +1 -1
  73. package/dist/collection/components/z-offcanvas/index.js +21 -1
  74. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  75. package/dist/collection/components/z-offcanvas/index.stories.js +12 -0
  76. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -1
  77. package/dist/collection/components/z-offcanvas/styles.css +5 -4
  78. package/dist/collection/components/z-panel-elem/index.js +2 -2
  79. package/dist/collection/components/z-popover/index.js +1 -1
  80. package/dist/collection/components/z-searchbar/index.js +1 -1
  81. package/dist/collection/components/z-select/index.js +1 -1
  82. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  83. package/dist/collection/components/z-stepper/index.js +1 -1
  84. package/dist/collection/components/z-stepper-item/index.js +1 -1
  85. package/dist/collection/components/z-toast-notification/index.js +1 -1
  86. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  87. package/dist/collection/components/z-toggle-button/index.js +2 -2
  88. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  89. package/dist/collection/components/z-tooltip/index.js +1 -1
  90. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  91. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  92. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  93. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  94. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  95. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  96. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  97. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  98. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  99. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  100. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  101. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  102. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  103. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  104. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  105. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  106. package/dist/components/index10.js +1 -1
  107. package/dist/components/index11.js +1 -1
  108. package/dist/components/index12.js +1 -1
  109. package/dist/components/index14.js +5 -2
  110. package/dist/components/index14.js.map +1 -1
  111. package/dist/components/index16.js +4 -4
  112. package/dist/components/index17.js +1 -1
  113. package/dist/components/index18.js +1 -1
  114. package/dist/components/index19.js +1 -1
  115. package/dist/components/index20.js +1 -1
  116. package/dist/components/index21.js +1 -1
  117. package/dist/components/index22.js +5 -2
  118. package/dist/components/index22.js.map +1 -1
  119. package/dist/components/index23.js +1 -1
  120. package/dist/components/index24.js +1 -1
  121. package/dist/components/index3.js +1 -1
  122. package/dist/components/index5.js +2 -2
  123. package/dist/components/index6.js +1 -1
  124. package/dist/components/index8.js +1 -1
  125. package/dist/components/z-app-header.js +2 -2
  126. package/dist/components/z-app-header.js.map +1 -1
  127. package/dist/components/z-aria-alert.js +1 -1
  128. package/dist/components/z-avatar.js +2 -2
  129. package/dist/components/z-breadcrumb.js +2 -2
  130. package/dist/components/z-button-sort.js +1 -1
  131. package/dist/components/z-combobox.js +1 -1
  132. package/dist/components/z-cover-hero.js +2 -2
  133. package/dist/components/z-info-box.js +1 -1
  134. package/dist/components/z-logo.js +1 -1
  135. package/dist/components/z-menu-section.js +1 -1
  136. package/dist/components/z-myz-card-alert.js +1 -1
  137. package/dist/components/z-myz-card-dictionary.js +1 -1
  138. package/dist/components/z-myz-card-footer-sections.js +1 -1
  139. package/dist/components/z-myz-card-footer.js +1 -1
  140. package/dist/components/z-myz-card-icon.js +1 -1
  141. package/dist/components/z-myz-card-info.js +1 -1
  142. package/dist/components/z-myz-card-list.js +1 -1
  143. package/dist/components/z-myz-list.js +1 -1
  144. package/dist/components/z-navigation-tabs.js +2 -2
  145. package/dist/components/z-notification.js +1 -1
  146. package/dist/components/z-otp.js +2 -2
  147. package/dist/components/z-panel-elem.js +2 -2
  148. package/dist/components/z-select.js +1 -1
  149. package/dist/components/z-skip-to-content.js +1 -1
  150. package/dist/components/z-stepper-item.js +1 -1
  151. package/dist/components/z-stepper.js +1 -1
  152. package/dist/components/z-toast-notification-list.js +1 -1
  153. package/dist/components/z-toast-notification.js +1 -1
  154. package/dist/components/z-toggle-button.js +2 -2
  155. package/dist/components/z-toggle-switch.js +3 -3
  156. package/dist/components/z-tooltip.js +1 -1
  157. package/dist/components/z-visually-hidden.js +1 -1
  158. package/dist/esm/loader.js +1 -1
  159. package/dist/esm/web-components-library.js +1 -1
  160. package/dist/esm/z-alert.entry.js +1 -1
  161. package/dist/esm/z-app-header_12.entry.js +15 -10
  162. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  163. package/dist/esm/z-aria-alert.entry.js +1 -1
  164. package/dist/esm/z-avatar.entry.js +2 -2
  165. package/dist/esm/z-breadcrumb.entry.js +2 -2
  166. package/dist/esm/z-button-sort.entry.js +1 -1
  167. package/dist/esm/z-chip.entry.js +2 -2
  168. package/dist/esm/z-combobox.entry.js +1 -1
  169. package/dist/esm/z-cover-hero.entry.js +2 -2
  170. package/dist/esm/z-dragdrop-area_2.entry.js +4 -4
  171. package/dist/esm/z-ghost-loading.entry.js +1 -1
  172. package/dist/esm/z-info-box.entry.js +1 -1
  173. package/dist/esm/z-info-reveal.entry.js +1 -1
  174. package/dist/esm/z-logo.entry.js +1 -1
  175. package/dist/esm/z-menu-section.entry.js +1 -1
  176. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  177. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  178. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  179. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  180. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  181. package/dist/esm/z-myz-card-info.entry.js +1 -1
  182. package/dist/esm/z-myz-card-list.entry.js +1 -1
  183. package/dist/esm/z-myz-card_4.entry.js +4 -4
  184. package/dist/esm/z-myz-list-item.entry.js +1 -1
  185. package/dist/esm/z-myz-list.entry.js +1 -1
  186. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  187. package/dist/esm/z-notification.entry.js +1 -1
  188. package/dist/esm/z-otp.entry.js +2 -2
  189. package/dist/esm/z-panel-elem.entry.js +2 -2
  190. package/dist/esm/z-popover.entry.js +1 -1
  191. package/dist/esm/z-select.entry.js +1 -1
  192. package/dist/esm/z-skip-to-content.entry.js +1 -1
  193. package/dist/esm/z-stepper-item.entry.js +1 -1
  194. package/dist/esm/z-stepper.entry.js +1 -1
  195. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  196. package/dist/esm/z-toast-notification.entry.js +1 -1
  197. package/dist/esm/z-toggle-button.entry.js +2 -2
  198. package/dist/esm/z-toggle-switch.entry.js +3 -3
  199. package/dist/esm/z-tooltip.entry.js +1 -1
  200. package/dist/esm/z-visually-hidden.entry.js +1 -1
  201. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +3 -3
  202. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +2 -2
  203. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +1 -1
  204. package/dist/types/components/list/z-list-group/index.stories.d.ts +1 -1
  205. package/dist/types/components/z-app-header/index.d.ts +1 -0
  206. package/dist/types/components/z-app-header/index.stories.d.ts +10 -2
  207. package/dist/types/components/z-carousel/index.stories.d.ts +1 -1
  208. package/dist/types/components/z-cover-hero/index.stories.d.ts +1 -1
  209. package/dist/types/components/z-modal/index.stories.d.ts +1 -1
  210. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +2 -2
  211. package/dist/types/components/z-offcanvas/index.d.ts +2 -0
  212. package/dist/types/components/z-offcanvas/index.stories.d.ts +9 -0
  213. package/dist/types/components/z-pagination/index.stories.d.ts +2 -2
  214. package/dist/types/components/z-popover/index.stories.d.ts +5 -5
  215. package/dist/types/components/z-stepper/index.stories.d.ts +1 -1
  216. package/dist/types/components/z-tag/index.stories.d.ts +2 -2
  217. package/dist/types/components/z-tooltip/index.stories.d.ts +1 -1
  218. package/dist/types/components.d.ts +8 -0
  219. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -1
  220. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +2 -2
  221. package/dist/web-components-library/{p-e8419614.entry.js → p-04f578d3.entry.js} +2 -2
  222. package/{www/build/p-8117a929.entry.js → dist/web-components-library/p-17259f80.entry.js} +2 -2
  223. package/dist/web-components-library/{p-d8aa6afa.entry.js → p-1775f79b.entry.js} +2 -2
  224. package/dist/web-components-library/{p-63c1bde5.entry.js → p-2105d5ec.entry.js} +2 -2
  225. package/dist/web-components-library/{p-d6d3a92a.entry.js → p-22056263.entry.js} +2 -2
  226. package/dist/web-components-library/{p-cb1de7b4.entry.js → p-2264883d.entry.js} +2 -2
  227. package/dist/web-components-library/{p-cbab66f7.entry.js → p-2bdac94e.entry.js} +2 -2
  228. package/dist/web-components-library/{p-8c52635e.entry.js → p-4551b0df.entry.js} +2 -2
  229. package/dist/web-components-library/{p-4c730d4a.entry.js → p-50b800e6.entry.js} +2 -2
  230. package/{www/build/p-ac585bcd.entry.js → dist/web-components-library/p-5f231799.entry.js} +2 -2
  231. package/{www/build/p-dc5ba112.entry.js → dist/web-components-library/p-6d2a6434.entry.js} +2 -2
  232. package/dist/web-components-library/p-6ebaa41d.entry.js +2 -0
  233. package/dist/web-components-library/p-6ebaa41d.entry.js.map +1 -0
  234. package/dist/web-components-library/{p-5cf3a797.entry.js → p-70aa0b22.entry.js} +2 -2
  235. package/dist/web-components-library/{p-966cbf03.entry.js → p-755e5bb3.entry.js} +2 -2
  236. package/dist/web-components-library/p-75d50d5f.entry.js +2 -0
  237. package/dist/web-components-library/{p-e231e811.entry.js → p-7eb0e121.entry.js} +2 -2
  238. package/dist/web-components-library/{p-09ba466b.entry.js → p-7faf6680.entry.js} +2 -2
  239. package/dist/web-components-library/p-8e5bc362.entry.js +2 -0
  240. package/dist/web-components-library/{p-6793061a.entry.js → p-945928ff.entry.js} +2 -2
  241. package/dist/web-components-library/p-970de597.entry.js +2 -0
  242. package/dist/web-components-library/{p-2b8eb0c2.entry.js → p-9de4915b.entry.js} +2 -2
  243. package/dist/web-components-library/{p-1ad8810a.entry.js → p-9e3116b0.entry.js} +2 -2
  244. package/dist/web-components-library/{p-caa491ca.entry.js → p-9f516be2.entry.js} +2 -2
  245. package/{www/build/p-d0d54d42.entry.js → dist/web-components-library/p-a25c7fdb.entry.js} +2 -2
  246. package/dist/web-components-library/{p-0756fe6f.entry.js → p-a4e26cad.entry.js} +2 -2
  247. package/dist/web-components-library/{p-01302e57.entry.js → p-a80faa78.entry.js} +2 -2
  248. package/{www/build/p-689b0280.entry.js → dist/web-components-library/p-add09050.entry.js} +2 -2
  249. package/dist/web-components-library/{p-22c755d5.entry.js → p-b0f80e50.entry.js} +2 -2
  250. package/dist/web-components-library/{p-0eab3c09.entry.js → p-bfa7b528.entry.js} +3 -3
  251. package/{www/build/p-962c7f6b.entry.js → dist/web-components-library/p-ceeb3e2a.entry.js} +2 -2
  252. package/dist/web-components-library/{p-8dec332e.entry.js → p-d3a51980.entry.js} +2 -2
  253. package/dist/web-components-library/{p-e639e1bc.entry.js → p-da6ba08a.entry.js} +2 -2
  254. package/dist/web-components-library/p-deb7f8d7.entry.js +2 -0
  255. package/dist/web-components-library/p-e0320349.entry.js +2 -0
  256. package/dist/web-components-library/{p-97608d16.entry.js.map → p-e0320349.entry.js.map} +1 -1
  257. package/dist/web-components-library/{p-6273db7f.entry.js → p-f3287280.entry.js} +2 -2
  258. package/dist/web-components-library/{p-4fbcf534.entry.js → p-f39f6ee8.entry.js} +2 -2
  259. package/dist/web-components-library/{p-6ca0ee2f.entry.js → p-fa9c35b7.entry.js} +2 -2
  260. package/dist/web-components-library/{p-7916e0f7.entry.js → p-fb78c343.entry.js} +2 -2
  261. package/dist/web-components-library/{p-badd98ad.entry.js → p-fe663393.entry.js} +2 -2
  262. package/{www/build/p-24474394.entry.js → dist/web-components-library/p-fef12692.entry.js} +2 -2
  263. package/dist/web-components-library/web-components-library.esm.js +1 -1
  264. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  265. package/package.json +10 -9
  266. package/www/build/{p-e8419614.entry.js → p-04f578d3.entry.js} +2 -2
  267. package/{dist/web-components-library/p-8117a929.entry.js → www/build/p-17259f80.entry.js} +2 -2
  268. package/www/build/{p-d8aa6afa.entry.js → p-1775f79b.entry.js} +2 -2
  269. package/www/build/{p-63c1bde5.entry.js → p-2105d5ec.entry.js} +2 -2
  270. package/www/build/{p-d6d3a92a.entry.js → p-22056263.entry.js} +2 -2
  271. package/www/build/{p-cb1de7b4.entry.js → p-2264883d.entry.js} +2 -2
  272. package/www/build/p-29dcbeae.js +2 -0
  273. package/www/build/{p-cbab66f7.entry.js → p-2bdac94e.entry.js} +2 -2
  274. package/www/build/{p-8c52635e.entry.js → p-4551b0df.entry.js} +2 -2
  275. package/www/build/{p-4c730d4a.entry.js → p-50b800e6.entry.js} +2 -2
  276. package/{dist/web-components-library/p-ac585bcd.entry.js → www/build/p-5f231799.entry.js} +2 -2
  277. package/{dist/web-components-library/p-dc5ba112.entry.js → www/build/p-6d2a6434.entry.js} +2 -2
  278. package/www/build/p-6ebaa41d.entry.js +2 -0
  279. package/www/build/p-6ebaa41d.entry.js.map +1 -0
  280. package/www/build/{p-5cf3a797.entry.js → p-70aa0b22.entry.js} +2 -2
  281. package/www/build/{p-966cbf03.entry.js → p-755e5bb3.entry.js} +2 -2
  282. package/www/build/p-75d50d5f.entry.js +2 -0
  283. package/www/build/{p-e231e811.entry.js → p-7eb0e121.entry.js} +2 -2
  284. package/www/build/{p-09ba466b.entry.js → p-7faf6680.entry.js} +2 -2
  285. package/www/build/p-8e5bc362.entry.js +2 -0
  286. package/www/build/{p-6793061a.entry.js → p-945928ff.entry.js} +2 -2
  287. package/www/build/p-970de597.entry.js +2 -0
  288. package/www/build/{p-2b8eb0c2.entry.js → p-9de4915b.entry.js} +2 -2
  289. package/www/build/{p-1ad8810a.entry.js → p-9e3116b0.entry.js} +2 -2
  290. package/www/build/{p-caa491ca.entry.js → p-9f516be2.entry.js} +2 -2
  291. package/{dist/web-components-library/p-d0d54d42.entry.js → www/build/p-a25c7fdb.entry.js} +2 -2
  292. package/www/build/{p-0756fe6f.entry.js → p-a4e26cad.entry.js} +2 -2
  293. package/www/build/{p-01302e57.entry.js → p-a80faa78.entry.js} +2 -2
  294. package/{dist/web-components-library/p-689b0280.entry.js → www/build/p-add09050.entry.js} +2 -2
  295. package/www/build/{p-22c755d5.entry.js → p-b0f80e50.entry.js} +2 -2
  296. package/www/build/{p-0eab3c09.entry.js → p-bfa7b528.entry.js} +3 -3
  297. package/{dist/web-components-library/p-962c7f6b.entry.js → www/build/p-ceeb3e2a.entry.js} +2 -2
  298. package/www/build/{p-8dec332e.entry.js → p-d3a51980.entry.js} +2 -2
  299. package/www/build/{p-e639e1bc.entry.js → p-da6ba08a.entry.js} +2 -2
  300. package/www/build/p-deb7f8d7.entry.js +2 -0
  301. package/www/build/p-e0320349.entry.js +2 -0
  302. package/www/build/{p-97608d16.entry.js.map → p-e0320349.entry.js.map} +1 -1
  303. package/www/build/{p-6273db7f.entry.js → p-f3287280.entry.js} +2 -2
  304. package/www/build/{p-4fbcf534.entry.js → p-f39f6ee8.entry.js} +2 -2
  305. package/www/build/{p-6ca0ee2f.entry.js → p-fa9c35b7.entry.js} +2 -2
  306. package/www/build/{p-7916e0f7.entry.js → p-fb78c343.entry.js} +2 -2
  307. package/www/build/{p-badd98ad.entry.js → p-fe663393.entry.js} +2 -2
  308. package/{dist/web-components-library/p-24474394.entry.js → www/build/p-fef12692.entry.js} +2 -2
  309. package/www/build/web-components-library.esm.js +1 -1
  310. package/www/build/web-components-library.esm.js.map +1 -1
  311. package/www/index.html +1 -1
  312. package/dist/web-components-library/p-3ed25564.entry.js +0 -2
  313. package/dist/web-components-library/p-67edb420.entry.js +0 -2
  314. package/dist/web-components-library/p-6d0fa7c1.entry.js +0 -2
  315. package/dist/web-components-library/p-6d0fa7c1.entry.js.map +0 -1
  316. package/dist/web-components-library/p-74819cbe.entry.js +0 -2
  317. package/dist/web-components-library/p-97608d16.entry.js +0 -2
  318. package/dist/web-components-library/p-f1c55eda.entry.js +0 -2
  319. package/src-react/index.ts +0 -1
  320. package/www/build/p-3ed25564.entry.js +0 -2
  321. package/www/build/p-67edb420.entry.js +0 -2
  322. package/www/build/p-6d0fa7c1.entry.js +0 -2
  323. package/www/build/p-6d0fa7c1.entry.js.map +0 -1
  324. package/www/build/p-74819cbe.entry.js +0 -2
  325. package/www/build/p-97608d16.entry.js +0 -2
  326. package/www/build/p-e75f7d70.js +0 -2
  327. package/www/build/p-f1c55eda.entry.js +0 -2
  328. /package/dist/web-components-library/{p-e8419614.entry.js.map → p-04f578d3.entry.js.map} +0 -0
  329. /package/dist/web-components-library/{p-8117a929.entry.js.map → p-17259f80.entry.js.map} +0 -0
  330. /package/dist/web-components-library/{p-d8aa6afa.entry.js.map → p-1775f79b.entry.js.map} +0 -0
  331. /package/dist/web-components-library/{p-63c1bde5.entry.js.map → p-2105d5ec.entry.js.map} +0 -0
  332. /package/dist/web-components-library/{p-d6d3a92a.entry.js.map → p-22056263.entry.js.map} +0 -0
  333. /package/dist/web-components-library/{p-cb1de7b4.entry.js.map → p-2264883d.entry.js.map} +0 -0
  334. /package/dist/web-components-library/{p-cbab66f7.entry.js.map → p-2bdac94e.entry.js.map} +0 -0
  335. /package/dist/web-components-library/{p-8c52635e.entry.js.map → p-4551b0df.entry.js.map} +0 -0
  336. /package/dist/web-components-library/{p-4c730d4a.entry.js.map → p-50b800e6.entry.js.map} +0 -0
  337. /package/dist/web-components-library/{p-ac585bcd.entry.js.map → p-5f231799.entry.js.map} +0 -0
  338. /package/dist/web-components-library/{p-dc5ba112.entry.js.map → p-6d2a6434.entry.js.map} +0 -0
  339. /package/dist/web-components-library/{p-5cf3a797.entry.js.map → p-70aa0b22.entry.js.map} +0 -0
  340. /package/dist/web-components-library/{p-966cbf03.entry.js.map → p-755e5bb3.entry.js.map} +0 -0
  341. /package/dist/web-components-library/{p-3ed25564.entry.js.map → p-75d50d5f.entry.js.map} +0 -0
  342. /package/dist/web-components-library/{p-e231e811.entry.js.map → p-7eb0e121.entry.js.map} +0 -0
  343. /package/dist/web-components-library/{p-09ba466b.entry.js.map → p-7faf6680.entry.js.map} +0 -0
  344. /package/dist/web-components-library/{p-67edb420.entry.js.map → p-8e5bc362.entry.js.map} +0 -0
  345. /package/dist/web-components-library/{p-6793061a.entry.js.map → p-945928ff.entry.js.map} +0 -0
  346. /package/dist/web-components-library/{p-f1c55eda.entry.js.map → p-970de597.entry.js.map} +0 -0
  347. /package/dist/web-components-library/{p-2b8eb0c2.entry.js.map → p-9de4915b.entry.js.map} +0 -0
  348. /package/dist/web-components-library/{p-1ad8810a.entry.js.map → p-9e3116b0.entry.js.map} +0 -0
  349. /package/dist/web-components-library/{p-caa491ca.entry.js.map → p-9f516be2.entry.js.map} +0 -0
  350. /package/dist/web-components-library/{p-d0d54d42.entry.js.map → p-a25c7fdb.entry.js.map} +0 -0
  351. /package/dist/web-components-library/{p-0756fe6f.entry.js.map → p-a4e26cad.entry.js.map} +0 -0
  352. /package/dist/web-components-library/{p-01302e57.entry.js.map → p-a80faa78.entry.js.map} +0 -0
  353. /package/dist/web-components-library/{p-689b0280.entry.js.map → p-add09050.entry.js.map} +0 -0
  354. /package/dist/web-components-library/{p-22c755d5.entry.js.map → p-b0f80e50.entry.js.map} +0 -0
  355. /package/dist/web-components-library/{p-0eab3c09.entry.js.map → p-bfa7b528.entry.js.map} +0 -0
  356. /package/dist/web-components-library/{p-962c7f6b.entry.js.map → p-ceeb3e2a.entry.js.map} +0 -0
  357. /package/dist/web-components-library/{p-8dec332e.entry.js.map → p-d3a51980.entry.js.map} +0 -0
  358. /package/dist/web-components-library/{p-e639e1bc.entry.js.map → p-da6ba08a.entry.js.map} +0 -0
  359. /package/dist/web-components-library/{p-74819cbe.entry.js.map → p-deb7f8d7.entry.js.map} +0 -0
  360. /package/dist/web-components-library/{p-6273db7f.entry.js.map → p-f3287280.entry.js.map} +0 -0
  361. /package/dist/web-components-library/{p-4fbcf534.entry.js.map → p-f39f6ee8.entry.js.map} +0 -0
  362. /package/dist/web-components-library/{p-6ca0ee2f.entry.js.map → p-fa9c35b7.entry.js.map} +0 -0
  363. /package/dist/web-components-library/{p-7916e0f7.entry.js.map → p-fb78c343.entry.js.map} +0 -0
  364. /package/dist/web-components-library/{p-badd98ad.entry.js.map → p-fe663393.entry.js.map} +0 -0
  365. /package/dist/web-components-library/{p-24474394.entry.js.map → p-fef12692.entry.js.map} +0 -0
  366. /package/www/build/{p-e8419614.entry.js.map → p-04f578d3.entry.js.map} +0 -0
  367. /package/www/build/{p-8117a929.entry.js.map → p-17259f80.entry.js.map} +0 -0
  368. /package/www/build/{p-d8aa6afa.entry.js.map → p-1775f79b.entry.js.map} +0 -0
  369. /package/www/build/{p-63c1bde5.entry.js.map → p-2105d5ec.entry.js.map} +0 -0
  370. /package/www/build/{p-d6d3a92a.entry.js.map → p-22056263.entry.js.map} +0 -0
  371. /package/www/build/{p-cb1de7b4.entry.js.map → p-2264883d.entry.js.map} +0 -0
  372. /package/www/build/{p-cbab66f7.entry.js.map → p-2bdac94e.entry.js.map} +0 -0
  373. /package/www/build/{p-8c52635e.entry.js.map → p-4551b0df.entry.js.map} +0 -0
  374. /package/www/build/{p-4c730d4a.entry.js.map → p-50b800e6.entry.js.map} +0 -0
  375. /package/www/build/{p-ac585bcd.entry.js.map → p-5f231799.entry.js.map} +0 -0
  376. /package/www/build/{p-dc5ba112.entry.js.map → p-6d2a6434.entry.js.map} +0 -0
  377. /package/www/build/{p-5cf3a797.entry.js.map → p-70aa0b22.entry.js.map} +0 -0
  378. /package/www/build/{p-966cbf03.entry.js.map → p-755e5bb3.entry.js.map} +0 -0
  379. /package/www/build/{p-3ed25564.entry.js.map → p-75d50d5f.entry.js.map} +0 -0
  380. /package/www/build/{p-e231e811.entry.js.map → p-7eb0e121.entry.js.map} +0 -0
  381. /package/www/build/{p-09ba466b.entry.js.map → p-7faf6680.entry.js.map} +0 -0
  382. /package/www/build/{p-67edb420.entry.js.map → p-8e5bc362.entry.js.map} +0 -0
  383. /package/www/build/{p-6793061a.entry.js.map → p-945928ff.entry.js.map} +0 -0
  384. /package/www/build/{p-f1c55eda.entry.js.map → p-970de597.entry.js.map} +0 -0
  385. /package/www/build/{p-2b8eb0c2.entry.js.map → p-9de4915b.entry.js.map} +0 -0
  386. /package/www/build/{p-1ad8810a.entry.js.map → p-9e3116b0.entry.js.map} +0 -0
  387. /package/www/build/{p-caa491ca.entry.js.map → p-9f516be2.entry.js.map} +0 -0
  388. /package/www/build/{p-d0d54d42.entry.js.map → p-a25c7fdb.entry.js.map} +0 -0
  389. /package/www/build/{p-0756fe6f.entry.js.map → p-a4e26cad.entry.js.map} +0 -0
  390. /package/www/build/{p-01302e57.entry.js.map → p-a80faa78.entry.js.map} +0 -0
  391. /package/www/build/{p-689b0280.entry.js.map → p-add09050.entry.js.map} +0 -0
  392. /package/www/build/{p-22c755d5.entry.js.map → p-b0f80e50.entry.js.map} +0 -0
  393. /package/www/build/{p-0eab3c09.entry.js.map → p-bfa7b528.entry.js.map} +0 -0
  394. /package/www/build/{p-962c7f6b.entry.js.map → p-ceeb3e2a.entry.js.map} +0 -0
  395. /package/www/build/{p-8dec332e.entry.js.map → p-d3a51980.entry.js.map} +0 -0
  396. /package/www/build/{p-e639e1bc.entry.js.map → p-da6ba08a.entry.js.map} +0 -0
  397. /package/www/build/{p-74819cbe.entry.js.map → p-deb7f8d7.entry.js.map} +0 -0
  398. /package/www/build/{p-6273db7f.entry.js.map → p-f3287280.entry.js.map} +0 -0
  399. /package/www/build/{p-4fbcf534.entry.js.map → p-f39f6ee8.entry.js.map} +0 -0
  400. /package/www/build/{p-6ca0ee2f.entry.js.map → p-fa9c35b7.entry.js.map} +0 -0
  401. /package/www/build/{p-7916e0f7.entry.js.map → p-fb78c343.entry.js.map} +0 -0
  402. /package/www/build/{p-badd98ad.entry.js.map → p-fe663393.entry.js.map} +0 -0
  403. /package/www/build/{p-24474394.entry.js.map → p-fef12692.entry.js.map} +0 -0
@@ -17,7 +17,7 @@ declare const StoryMeta: {
17
17
  type: "inline-radio";
18
18
  };
19
19
  };
20
- "--z-section-title--divider-color": import("@storybook/csf").Args;
20
+ "--z-section-title--divider-color": import("@storybook/web-components").Args;
21
21
  };
22
22
  args: {
23
23
  uppercase: true;
@@ -24,7 +24,7 @@ declare const StoryMeta: {
24
24
  };
25
25
  options: DividerSize[];
26
26
  };
27
- dividerColor: import("@storybook/csf").Args;
27
+ dividerColor: import("@storybook/web-components").Args;
28
28
  listType: {
29
29
  control: {
30
30
  type: "inline-radio";
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  /**
3
+ * @slot menu-button - Slot for a custom menu button. It will replace the default burger icon.
3
4
  * @slot title - Slot for the main title
4
5
  * @slot top-subtitle - Slot for the top subtitle. It will not appear in stuck header.
5
6
  * @slot stucked-title - Title for the stuck header. By default it uses the text from the `title` slot.
@@ -49,6 +49,14 @@ export declare const TopTitle: {
49
49
  };
50
50
  render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
51
51
  };
52
+ export declare const CustomMenuButton: {
53
+ parameters: {
54
+ controls: {
55
+ exclude: string[];
56
+ };
57
+ };
58
+ render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
59
+ };
52
60
  export declare const MenuWithTopTitle: {
53
61
  parameters: {
54
62
  controls: {
@@ -72,7 +80,7 @@ export declare const OffcanvasMenu: {
72
80
  render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
73
81
  };
74
82
  export declare const Stuck: {
75
- decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZAppHeaderStoriesArgs>) => TemplateResult<1>)[];
83
+ decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZAppHeaderStoriesArgs>) => TemplateResult<1>)[];
76
84
  parameters: {
77
85
  docs: {
78
86
  story: {
@@ -92,6 +100,6 @@ export declare const SearchPageButton: {
92
100
  exclude: string[];
93
101
  };
94
102
  };
95
- decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZAppHeaderStoriesArgs>) => TemplateResult<1>)[];
103
+ decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZAppHeaderStoriesArgs>) => TemplateResult<1>)[];
96
104
  render: (args: ZAppHeaderStoriesArgs) => TemplateResult<1>;
97
105
  };
@@ -27,7 +27,7 @@ type ZCarouselStoriesArgs = ZCarousel & {
27
27
  declare const StoryMeta: {
28
28
  title: string;
29
29
  component: string;
30
- decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZCarouselStoriesArgs>) => import("lit-html").TemplateResult<1>)[];
30
+ decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZCarouselStoriesArgs>) => import("lit-html").TemplateResult<1>)[];
31
31
  };
32
32
  export default StoryMeta;
33
33
  export declare const SlideshowWithArrowsOver: {
@@ -26,7 +26,7 @@ declare const StoryMeta: {
26
26
  };
27
27
  options: CoverHeroContentPosition[];
28
28
  };
29
- "--cover-hero-text-color": import("@storybook/csf").Args;
29
+ "--cover-hero-text-color": import("@storybook/web-components").Args;
30
30
  "--cover-hero-overlay": {
31
31
  if: {
32
32
  arg: string;
@@ -20,7 +20,7 @@ declare const StoryMeta: {
20
20
  lockPageScroll: true;
21
21
  "--z-modal-content-padding": string;
22
22
  };
23
- decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZSearchbarStoriesArgs>) => import("lit-html").TemplateResult<1>)[];
23
+ decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, ZSearchbarStoriesArgs>) => import("lit-html").TemplateResult<1>)[];
24
24
  };
25
25
  export default StoryMeta;
26
26
  export declare const ShortText: {
@@ -16,8 +16,8 @@ declare const StoryMeta: {
16
16
  type: "inline-radio";
17
17
  };
18
18
  };
19
- "--z-navigation-tabs-nav-buttons-bg": import("@storybook/csf").Args;
20
- "--z-navigation-tabs-nav-buttons-fg": import("@storybook/csf").Args;
19
+ "--z-navigation-tabs-nav-buttons-bg": import("@storybook/web-components").Args;
20
+ "--z-navigation-tabs-nav-buttons-fg": import("@storybook/web-components").Args;
21
21
  };
22
22
  args: {
23
23
  "--z-navigation-tabs-nav-buttons-bg": any;
@@ -28,6 +28,8 @@ export declare class ZOffcanvas {
28
28
  * when it starts with `open` set to `true`. Only exists for Typescript backward compatibility.
29
29
  */
30
30
  skipLoadAnimation: boolean;
31
+ /** Whether to show the backdrop when the offcanvas is open. Default: true */
32
+ showBackdrop: boolean;
31
33
  /** emitted when `open` prop changes */
32
34
  canvasOpenStatusChanged: EventEmitter;
33
35
  /** Used to skip the opening transition when the offcanvas is already open at the first render. */
@@ -29,9 +29,18 @@ declare const StoryMeta: {
29
29
  };
30
30
  options: TransitionDirection[];
31
31
  };
32
+ showBackdrop: {
33
+ control: {
34
+ if: {
35
+ arg: string;
36
+ eq: OffCanvasVariant;
37
+ };
38
+ };
39
+ };
32
40
  };
33
41
  args: {
34
42
  open: true;
43
+ showBackdrop: true;
35
44
  "--z-offcanvas--top-space": string;
36
45
  "--z-offcanvas--container-width": string;
37
46
  };
@@ -46,8 +46,8 @@ declare const StoryMeta: {
46
46
  min: number;
47
47
  };
48
48
  };
49
- "--z-pagination-background-color": import("@storybook/csf").Args;
50
- "--z-pagination-background-color-hover": import("@storybook/csf").Args;
49
+ "--z-pagination-background-color": import("@storybook/web-components").Args;
50
+ "--z-pagination-background-color-hover": import("@storybook/web-components").Args;
51
51
  };
52
52
  args: {
53
53
  label: string;
@@ -20,8 +20,8 @@ declare const StoryMeta: {
20
20
  };
21
21
  };
22
22
  };
23
- "--z-popover-theme--surface": import("@storybook/csf").Args;
24
- "--z-popover-theme--text": import("@storybook/csf").Args;
23
+ "--z-popover-theme--surface": import("@storybook/web-components").Args;
24
+ "--z-popover-theme--text": import("@storybook/web-components").Args;
25
25
  };
26
26
  args: {
27
27
  position: any;
@@ -56,19 +56,19 @@ export declare const ContextualMenuLike: {
56
56
  "--z-popover-padding": string;
57
57
  position: PopoverPosition.RIGHT_BOTTOM;
58
58
  };
59
- render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
59
+ render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/core/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
60
60
  };
61
61
  export declare const Tooltip: {
62
62
  args: {
63
63
  position: PopoverPosition.RIGHT;
64
64
  "--z-popover-padding": string;
65
65
  };
66
- render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
66
+ render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/core/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
67
67
  };
68
68
  export declare const TooltipWithNestedContainer: {
69
69
  args: {
70
70
  position: PopoverPosition.TOP;
71
71
  "--z-popover-padding": string;
72
72
  };
73
- render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
73
+ render: (args: ZPopoverStoriesArgs, { parameters }: import("@storybook/core/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, ZPopoverStoriesArgs>) => import("lit-html").TemplateResult<1>;
74
74
  };
@@ -3,7 +3,7 @@ import "./index";
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: string;
6
- decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, {
6
+ decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/web-components").WebComponentsRenderer, {
7
7
  render: () => HTMLSlotElement;
8
8
  }>) => import("lit-html").TemplateResult<1>)[];
9
9
  subcomponents: {
@@ -9,8 +9,8 @@ declare const StoryMeta: {
9
9
  };
10
10
  options: string[];
11
11
  };
12
- "--z-tag-text-color": import("@storybook/csf").Args;
13
- "--z-tag-bg": import("@storybook/csf").Args;
12
+ "--z-tag-text-color": import("@storybook/web-components").Args;
13
+ "--z-tag-bg": import("@storybook/web-components").Args;
14
14
  };
15
15
  args: {
16
16
  text: string;
@@ -19,7 +19,7 @@ declare const StoryMeta: {
19
19
  type: "select";
20
20
  };
21
21
  };
22
- "--z-tooltip-theme--surface": import("@storybook/csf").Args;
22
+ "--z-tooltip-theme--surface": import("@storybook/web-components").Args;
23
23
  };
24
24
  args: {
25
25
  dark: false;
@@ -1568,6 +1568,10 @@ export namespace Components {
1568
1568
  * Whether the offcanvas is open. Default: false
1569
1569
  */
1570
1570
  "open": boolean;
1571
+ /**
1572
+ * Whether to show the backdrop when the offcanvas is open. Default: true
1573
+ */
1574
+ "showBackdrop": boolean;
1571
1575
  /**
1572
1576
  * Skip the opening transition when the offcanvas is already open at the first render.
1573
1577
  * @deprecated This prop is not needed anymore, the component will automatically skip the transition when it starts with `open` set to `true`. Only exists for Typescript backward compatibility.
@@ -5437,6 +5441,10 @@ declare namespace LocalJSX {
5437
5441
  * Whether the offcanvas is open. Default: false
5438
5442
  */
5439
5443
  "open"?: boolean;
5444
+ /**
5445
+ * Whether to show the backdrop when the offcanvas is open. Default: true
5446
+ */
5447
+ "showBackdrop"?: boolean;
5440
5448
  /**
5441
5449
  * Skip the opening transition when the offcanvas is already open at the first render.
5442
5450
  * @deprecated This prop is not needed anymore, the component will automatically skip the transition when it starts with `open` set to `true`. Only exists for Typescript backward compatibility.
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  };
10
10
  export default _default;
11
11
  export declare const Themes: {
12
- render: (_: import("@storybook/csf").Args, context: import("@storybook/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/csf").Args>) => import("lit-html").TemplateResult<1>;
12
+ render: (_: import("@storybook/web-components").Args, context: import("@storybook/core/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components").Args>) => import("lit-html").TemplateResult<1>;
13
13
  };
14
14
  export declare const Palettes: {
15
15
  render: () => import("lit-html").TemplateResult<1>;
@@ -41,7 +41,7 @@ export declare const TypeScale: {
41
41
  args: {
42
42
  fontWeight: string;
43
43
  };
44
- render: (args: import("@storybook/csf").Args) => import("lit-html").TemplateResult<1>;
44
+ render: (args: import("@storybook/web-components").Args) => import("lit-html").TemplateResult<1>;
45
45
  };
46
46
  /**
47
47
  * `.heading-1` and `.heading-2` classes automatically scale in size starting from desktop viewport.
@@ -92,5 +92,5 @@ export declare const TypographyClasses: {
92
92
  headingWeight: any;
93
93
  fontWeight: any;
94
94
  };
95
- render: (args: import("@storybook/csf").Args) => import("lit-html").TemplateResult<1>;
95
+ render: (args: import("@storybook/web-components").Args) => import("lit-html").TemplateResult<1>;
96
96
  };
@@ -1,2 +1,2 @@
1
- import{r,h as o}from"./p-75c4a726.js";const c=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=c;const e=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"cec03fbd664959d6e8f40dc4df14fe2308d0f43b",class:this.type},o("slot",{key:"a34ffee3e9c99c492ccdd72e42546abd57368456"}))}};e.style=s;export{e as z_alert};
2
- //# sourceMappingURL=p-e8419614.entry.js.map
1
+ import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const c=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"914e9a0c0f097e47797271695105ea18a0359487",class:this.type},o("slot",{key:"5267c9b021ac889805d3ee83a3fdcdc244b98ca2"}))}};c.style=s;export{c as z_alert};
2
+ //# sourceMappingURL=p-04f578d3.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a,a as n,g as e}from"./p-75c4a726.js";import{N as o,a as s,b as r}from"./p-17af7fb2.js";const l='z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation="horizontal"]>nav{width:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation="horizontal"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation="vertical"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation="vertical"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation="vertical"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation="vertical"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation="vertical"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size="small"][orientation="vertical"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 2px 2px var(--shadow-color-base)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-background)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected="true"]{color:var(--color-hover-primary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected="true"]::after{position:absolute;background-color:var(--color-hover-primary);content:""}z-navigation-tabs[orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="horizontal"]>nav>[aria-selected="true"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size="small"][orientation="horizontal"]>nav>[aria-selected="true"]::after{height:var(--border-size-medium)}z-navigation-tabs[size="small"]:not([orientation="vertical"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation="vertical"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation="vertical"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation="vertical"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="vertical"]>nav>[aria-selected="true"]::after{top:0;right:0;width:var(--border-size-large);height:100%}';const c=l;const h=class{constructor(a){t(this,a);this.selected=i(this,"selected",7);this.focusedTab=undefined;this.ariaLabel="";this.orientation=o.HORIZONTAL;this.size=s.BIG;this.selectedTab=undefined;this.canNavigate=undefined;this.canNavigatePrev=undefined;this.canNavigateNext=undefined}get direction(){return this.orientation==o.HORIZONTAL?"Left":"Top"}get dimension(){return this.orientation==o.HORIZONTAL?"Width":"Height"}get tabs(){return Array.from(this.nav.children)}scrollToTab(t){const i=t.parentElement;if(!i){return}setTimeout((()=>{const a=this.orientation===o.HORIZONTAL;const n=i.getBoundingClientRect();const e=t.getBoundingClientRect();const s=a?e.left-n.left:e.top-n.top;const r=a?i.clientWidth:i.clientHeight;const l=a?t.clientWidth:t.clientHeight;const c=s-r/2+l/2;i.scrollTo({[a?"left":"top"]:i[a?"scrollLeft":"scrollTop"]+c,behavior:"smooth"})}),100)}navigateBackwards(){this.nav.scrollBy({[this.direction.toLowerCase()]:0-this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateForward(){this.nav.scrollBy({[this.direction.toLowerCase()]:this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}isArrowNavigation(t){return Object.values(r).includes(t.key)}checkScrollVisible(){if(!this.nav){return}this.canNavigate=this.nav[`scroll${this.dimension}`]>this.nav[`client${this.dimension}`]}checkScrollEnabled(){if(!this.nav){return}this.canNavigateNext=this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]<this.nav[`scroll${this.dimension}`];this.canNavigatePrev=this.nav[`scroll${this.direction}`]>0}onTabSelected(){this.tabs.forEach(((t,i)=>{const a=t.querySelector("z-icon");const n=a===null||a===void 0?void 0:a.name.replace("-filled","");if(i!==this.selectedTab){t.setAttribute("aria-selected","false");t.tabIndex=-1;if(a){a.name=n}return}if(a){a.name=`${n}-filled`}t.setAttribute("aria-selected","true")}));this.selected.emit(this.selectedTab);if(this.selectedTab!==undefined){this.scrollToTab(this.tabs[this.selectedTab])}}handleTabClick(t){const i=t.target.closest("[role='tab']");if(!this.tabs.some((t=>t.contains(i)))){return}this.selectedTab=this.tabs.indexOf(i)}onTabFocusIn(t){const i=this.tabs.findIndex((i=>i.contains(t.target)));if(i===-1){return}if(this.selectedTab!==undefined){this.tabs[this.selectedTab].tabIndex=-1}this.focusedTab=i;this.tabs[this.focusedTab].tabIndex=-1;this.scrollToTab(this.tabs[this.focusedTab])}navigateThroughTabs(t){if(!this.tabs.some((i=>i.contains(t.target)))||!this.isArrowNavigation(t)){return true}t.preventDefault();if(t.key===r.RIGHT&&this.orientation==o.HORIZONTAL||t.key===r.DOWN&&this.orientation==o.VERTICAL){this.focusedTab++;if(this.focusedTab>=this.tabs.length){this.focusedTab=0}}else if(t.key===r.LEFT&&this.orientation==o.HORIZONTAL||t.key===r.UP&&this.orientation==o.VERTICAL){this.focusedTab--;if(this.focusedTab<0){this.focusedTab=this.tabs.length-1}}if(this.tabs[this.focusedTab].hasAttribute("disabled")&&this.tabs[this.focusedTab].getAttribute("disabled")!=="false"){return this.navigateThroughTabs(t)}this.tabs[this.focusedTab].focus();this.scrollToTab(this.tabs[this.focusedTab])}onTabFocusOut(t){var i;if(!this.tabs.some((i=>i.contains(t.relatedTarget)))){this.tabs[(i=this.selectedTab)!==null&&i!==void 0?i:0].tabIndex=0;this.focusedTab=undefined}}connectedCallback(){this.resizeObserver=new ResizeObserver((()=>this.checkScrollVisible()))}componentDidLoad(){var t;this.tabs.forEach((t=>{t.setAttribute("role","tab");t.tabIndex=-1}));const i=(t=this.selectedTab)!==null&&t!==void 0?t:this.tabs.findIndex((t=>t.ariaSelected==="true"));if(i!==-1){this.selectedTab=i;this.tabs[i].tabIndex=0;this.onTabSelected()}else{this.tabs[0].tabIndex=0}this.resizeObserver.observe(this.nav)}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){return a(n,{key:"5216c71c53d3263870b4d64749554c36dadfdb8c",class:{"interactive-2":this.size===s.SMALL,"interactive-1":this.size!==s.SMALL},scrollable:this.canNavigate},a("button",{key:"b59fcef70ff51453d679678caabae7f69a3a91d9",class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabIndex:-1,disabled:!this.canNavigatePrev,"aria-label":"Mostra elementi precedenti",hidden:!this.canNavigate},a("z-icon",{key:"2f2a9f0630c6f7c340132bfde3c90c2392ea3f07",name:this.orientation===o.HORIZONTAL?"chevron-left":"chevron-up",width:16,height:16})),a("nav",{key:"f8e06aaadd56dfd9e1ab068a4a0d5633083b2ca9",role:"tablist","aria-label":this.ariaLabel,ref:t=>this.nav=t!==null&&t!==void 0?t:this.nav,onScroll:this.checkScrollEnabled.bind(this),"aria-orientation":this.orientation},a("slot",{key:"8f1062acbb5616c395cac371d8737660f69c5326"})),a("button",{key:"28342d0ad1c43119862b148b550c57c352d6a07c",class:"navigation-button",onClick:this.navigateForward.bind(this),tabIndex:-1,disabled:!this.canNavigateNext,"aria-label":"Mostra elementi successivi",hidden:!this.canNavigate},a("z-icon",{key:"e975d966cdc0f0f52345bca3cb842cd0672783b8",name:this.orientation===o.HORIZONTAL?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return e(this)}static get watchers(){return{canNavigate:["checkScrollEnabled"],selectedTab:["onTabSelected"]}}};h.style=c;export{h as z_navigation_tabs};
2
- //# sourceMappingURL=p-8117a929.entry.js.map
1
+ import{r as t,c as i,h as a,a as n,g as e}from"./p-75c4a726.js";import{N as o,a as s,b as r}from"./p-17af7fb2.js";const l='z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation="horizontal"]>nav{width:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation="horizontal"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation="vertical"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation="vertical"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation="vertical"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation="vertical"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation="vertical"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size="small"][orientation="vertical"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 2px 2px var(--shadow-color-base)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-background)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected="true"]{color:var(--color-hover-primary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected="true"]::after{position:absolute;background-color:var(--color-hover-primary);content:""}z-navigation-tabs[orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="horizontal"]>nav>[aria-selected="true"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size="small"][orientation="horizontal"]>nav>[aria-selected="true"]::after{height:var(--border-size-medium)}z-navigation-tabs[size="small"]:not([orientation="vertical"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation="vertical"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation="vertical"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation="vertical"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="vertical"]>nav>[aria-selected="true"]::after{top:0;right:0;width:var(--border-size-large);height:100%}';const h=l;const c=class{constructor(a){t(this,a);this.selected=i(this,"selected",7);this.focusedTab=undefined;this.ariaLabel="";this.orientation=o.HORIZONTAL;this.size=s.BIG;this.selectedTab=undefined;this.canNavigate=undefined;this.canNavigatePrev=undefined;this.canNavigateNext=undefined}get direction(){return this.orientation==o.HORIZONTAL?"Left":"Top"}get dimension(){return this.orientation==o.HORIZONTAL?"Width":"Height"}get tabs(){return Array.from(this.nav.children)}scrollToTab(t){const i=t.parentElement;if(!i){return}setTimeout((()=>{const a=this.orientation===o.HORIZONTAL;const n=i.getBoundingClientRect();const e=t.getBoundingClientRect();const s=a?e.left-n.left:e.top-n.top;const r=a?i.clientWidth:i.clientHeight;const l=a?t.clientWidth:t.clientHeight;const h=s-r/2+l/2;i.scrollTo({[a?"left":"top"]:i[a?"scrollLeft":"scrollTop"]+h,behavior:"smooth"})}),100)}navigateBackwards(){this.nav.scrollBy({[this.direction.toLowerCase()]:0-this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateForward(){this.nav.scrollBy({[this.direction.toLowerCase()]:this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}isArrowNavigation(t){return Object.values(r).includes(t.key)}checkScrollVisible(){if(!this.nav){return}this.canNavigate=this.nav[`scroll${this.dimension}`]>this.nav[`client${this.dimension}`]}checkScrollEnabled(){if(!this.nav){return}this.canNavigateNext=this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]<this.nav[`scroll${this.dimension}`];this.canNavigatePrev=this.nav[`scroll${this.direction}`]>0}onTabSelected(){this.tabs.forEach(((t,i)=>{const a=t.querySelector("z-icon");const n=a===null||a===void 0?void 0:a.name.replace("-filled","");if(i!==this.selectedTab){t.setAttribute("aria-selected","false");t.tabIndex=-1;if(a){a.name=n}return}if(a){a.name=`${n}-filled`}t.setAttribute("aria-selected","true")}));this.selected.emit(this.selectedTab);if(this.selectedTab!==undefined){this.scrollToTab(this.tabs[this.selectedTab])}}handleTabClick(t){const i=t.target.closest("[role='tab']");if(!this.tabs.some((t=>t.contains(i)))){return}this.selectedTab=this.tabs.indexOf(i)}onTabFocusIn(t){const i=this.tabs.findIndex((i=>i.contains(t.target)));if(i===-1){return}if(this.selectedTab!==undefined){this.tabs[this.selectedTab].tabIndex=-1}this.focusedTab=i;this.tabs[this.focusedTab].tabIndex=-1;this.scrollToTab(this.tabs[this.focusedTab])}navigateThroughTabs(t){if(!this.tabs.some((i=>i.contains(t.target)))||!this.isArrowNavigation(t)){return true}t.preventDefault();if(t.key===r.RIGHT&&this.orientation==o.HORIZONTAL||t.key===r.DOWN&&this.orientation==o.VERTICAL){this.focusedTab++;if(this.focusedTab>=this.tabs.length){this.focusedTab=0}}else if(t.key===r.LEFT&&this.orientation==o.HORIZONTAL||t.key===r.UP&&this.orientation==o.VERTICAL){this.focusedTab--;if(this.focusedTab<0){this.focusedTab=this.tabs.length-1}}if(this.tabs[this.focusedTab].hasAttribute("disabled")&&this.tabs[this.focusedTab].getAttribute("disabled")!=="false"){return this.navigateThroughTabs(t)}this.tabs[this.focusedTab].focus();this.scrollToTab(this.tabs[this.focusedTab])}onTabFocusOut(t){var i;if(!this.tabs.some((i=>i.contains(t.relatedTarget)))){this.tabs[(i=this.selectedTab)!==null&&i!==void 0?i:0].tabIndex=0;this.focusedTab=undefined}}connectedCallback(){this.resizeObserver=new ResizeObserver((()=>this.checkScrollVisible()))}componentDidLoad(){var t;this.tabs.forEach((t=>{t.setAttribute("role","tab");t.tabIndex=-1}));const i=(t=this.selectedTab)!==null&&t!==void 0?t:this.tabs.findIndex((t=>t.ariaSelected==="true"));if(i!==-1){this.selectedTab=i;this.tabs[i].tabIndex=0;this.onTabSelected()}else{this.tabs[0].tabIndex=0}this.resizeObserver.observe(this.nav)}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){return a(n,{key:"4077ef000c364e2356716f630a114ef12f87503c",class:{"interactive-2":this.size===s.SMALL,"interactive-1":this.size!==s.SMALL},scrollable:this.canNavigate},a("button",{key:"836020e039138b16064efce71faf41ef4c22e644",class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabIndex:-1,disabled:!this.canNavigatePrev,"aria-label":"Mostra elementi precedenti",hidden:!this.canNavigate},a("z-icon",{key:"d29f82ac396250b0533d964d72716811ae05ae05",name:this.orientation===o.HORIZONTAL?"chevron-left":"chevron-up",width:16,height:16})),a("nav",{key:"735a409ad889a701a4a37b3c30d9de445522215d",role:"tablist","aria-label":this.ariaLabel,ref:t=>this.nav=t!==null&&t!==void 0?t:this.nav,onScroll:this.checkScrollEnabled.bind(this),"aria-orientation":this.orientation},a("slot",{key:"f2208fd694382c9c0472c7a1ed57e130dc9238b9"})),a("button",{key:"f89b222d39aaff6448a5a42a96f62d7899cb02ce",class:"navigation-button",onClick:this.navigateForward.bind(this),tabIndex:-1,disabled:!this.canNavigateNext,"aria-label":"Mostra elementi successivi",hidden:!this.canNavigate},a("z-icon",{key:"3ec84b37d472f4d5848b0ce4be1f95883553cebe",name:this.orientation===o.HORIZONTAL?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return e(this)}static get watchers(){return{canNavigate:["checkScrollEnabled"],selectedTab:["onTabSelected"]}}};c.style=h;export{c as z_navigation_tabs};
2
+ //# sourceMappingURL=p-17259f80.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c,h,g as r}from"./p-75c4a726.js";import{w as e}from"./p-17af7fb2.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=e.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"4b4a07ba069a0392343f826702b9d221fe76f0be",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"1adeb5f9343cfd12208342e2028ba802f5aa6dd6",name:this.icon}),h("slot",{key:"ea3d86af473a049622e6de91dc6dafee0499da05"}),this.interactiveIcon&&h("button",{key:"d4d2eb2c77d2a1224e0582500fc329a381e07a20",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"7d4d4743ac1c87882732f9b5145afc70889dcac2",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return r(this)}};o.style=s;export{o as z_chip};
2
- //# sourceMappingURL=p-d8aa6afa.entry.js.map
1
+ import{r as i,c,h,g as e}from"./p-75c4a726.js";import{w as r}from"./p-17af7fb2.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=r.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"16d991ea189e31748702a55ffcf879fdacb8f6ba",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"b828e61a0563401e4df70d59097a2c2435095cf8",name:this.icon}),h("slot",{key:"bdb1b95e2889c32031d2598fe34dddeab2ef4dcd"}),this.interactiveIcon&&h("button",{key:"3e582772c08ecbb1e497394d9bfe8be178256407",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"3ae442b49b846d3fadbf7547ba4574de5a2fd6fc",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return e(this)}};o.style=s;export{o as z_chip};
2
+ //# sourceMappingURL=p-1775f79b.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as r}from"./p-75c4a726.js";import{o as a}from"./p-17af7fb2.js";const i=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-background);border-top:none}:host div.add-alert{background:var(--color-inverse-success)}:host div.remove-alert{background:var(--color-inverse-warning)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";const n=i;const s=class{constructor(r){e(this,r);this.undoAction=t(this,"undoAction",7);this.iconname=undefined;this.contenttext=undefined;this.actiontext=undefined;this.type=undefined}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){if(e.keyCode==32||e.keyCode==13){e.preventDefault();this.emitUndoAction()}}handleActionButtonClick(e){e.preventDefault();this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="add-alert";break;case"remove":e="remove-alert";break;default:e="";break}return e}getAlertType(){switch(this.type){case"add":return a.SUCCESS;case"remove":return a.WARNING;default:return null}}render(){return r("div",{key:"63d701e49601d639a3d6ec3f773addccf5c8d4d3",class:"alert-external-wrapper "+this.retrieveClass()},r("z-alert",{key:"dbcc09866b669944137bac22d0b4115bcf55671e",type:this.getAlertType()},r("div",{key:"79bc1dca9cf1b6b3b818db44d7cd068efdca4a53",class:"relative-container"},r("z-icon",{key:"8152513be95ed01b8eb429eb14414ceba72b27ad",name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{key:"0b5e824a6a1ce755ace52d54d447d6494704faec",class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{key:"2cb35bb6069ac2c40de97bb250561add1f6ae4b9",role:"button",tabindex:"0",class:"content-action",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};s.style=n;export{s as z_myz_card_alert};
2
- //# sourceMappingURL=p-63c1bde5.entry.js.map
1
+ import{r as e,c as t,h as a}from"./p-75c4a726.js";import{o as r}from"./p-17af7fb2.js";const i=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-background);border-top:none}:host div.add-alert{background:var(--color-inverse-success)}:host div.remove-alert{background:var(--color-inverse-warning)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";const n=i;const s=class{constructor(a){e(this,a);this.undoAction=t(this,"undoAction",7);this.iconname=undefined;this.contenttext=undefined;this.actiontext=undefined;this.type=undefined}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){if(e.keyCode==32||e.keyCode==13){e.preventDefault();this.emitUndoAction()}}handleActionButtonClick(e){e.preventDefault();this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="add-alert";break;case"remove":e="remove-alert";break;default:e="";break}return e}getAlertType(){switch(this.type){case"add":return r.SUCCESS;case"remove":return r.WARNING;default:return null}}render(){return a("div",{key:"f3d80789347d05fc1b90dc6db977342d81545fe8",class:"alert-external-wrapper "+this.retrieveClass()},a("z-alert",{key:"83b3dc97fe503d2e65c41d59792b128fc2c323ae",type:this.getAlertType()},a("div",{key:"23629aac155751ab3415789fc52c9abbfc4a4a97",class:"relative-container"},a("z-icon",{key:"23baf72474884ae3afe8468333b3d2dadf092118",name:this.iconname,width:18,height:18,class:this.retrieveClass()}),a("span",{key:"b55734f6d602afd08cd6c79e22cbd7528ab72af3",class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&a("span",{key:"4819eda387de059a804ca90a781f298be0101e9a",role:"button",tabindex:"0",class:"content-action",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};s.style=n;export{s as z_myz_card_alert};
2
+ //# sourceMappingURL=p-2105d5ec.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,h as a,a as o}from"./p-75c4a726.js";const s=':host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--color-surface02);border-radius:var(--border-radius);transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient(\n 90deg,\n var(--color-surface02) 0%,\n var(--color-surface03) 95%,\n var(--color-surface02) 100%\n );content:"";filter:blur(6px)}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}';const e=s;const t=class{constructor(a){r(this,a)}render(){return a(o,{key:"92040be77ff2741acd6f13352ff13c550524c78b"})}};t.style=e;export{t as z_ghost_loading};
2
- //# sourceMappingURL=p-d6d3a92a.entry.js.map
1
+ import{r,h as a,a as o}from"./p-75c4a726.js";const e=':host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--color-surface02);border-radius:var(--border-radius);transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient(\n 90deg,\n var(--color-surface02) 0%,\n var(--color-surface03) 95%,\n var(--color-surface02) 100%\n );content:"";filter:blur(6px)}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}';const s=e;const t=class{constructor(a){r(this,a)}render(){return a(o,{key:"f794f62d8361b2eb96d740cd0f331cebc9029011"})}};t.style=s;export{t as z_ghost_loading};
2
+ //# sourceMappingURL=p-22056263.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a}from"./p-75c4a726.js";import{f as e}from"./p-17af7fb2.js";const n="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const r=n;const o=class{constructor(a){t(this,a);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return a("div",{key:"fbc28e800a7fb7fe81b836869f44d24797c09922",class:"otp-container"},a("div",{key:"547c8f308045f1f4d5a463404f2ec494ef67421b",class:"digits-container"},this.otp.map(((t,i)=>a("input",{class:this.status==e.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),a("z-input-message",{key:"51eacbd4b0a7ec9e1ac0fa55a132cd43aa6b7ecf",message:this.message,status:this.status}))}};o.style=r;export{o as z_otp};
2
- //# sourceMappingURL=p-cb1de7b4.entry.js.map
1
+ import{r as t,c as i,h as a}from"./p-75c4a726.js";import{f as n}from"./p-17af7fb2.js";const e="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const r=e;const o=class{constructor(a){t(this,a);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return a("div",{key:"fda767d67b4f56013242705290e13b622359c5de",class:"otp-container"},a("div",{key:"970b70db5db8b635a4d6b9bd7eaa4dee3c4002da",class:"digits-container"},this.otp.map(((t,i)=>a("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),a("z-input-message",{key:"27cfcc5a59ce18104b04210a8383caf6d0de2f2b",message:this.message,status:this.status}))}};o.style=r;export{o as z_otp};
2
+ //# sourceMappingURL=p-2264883d.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as s,a as i}from"./p-75c4a726.js";import{A as e}from"./p-17af7fb2.js";const a=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";const r=a;const c=class{constructor(s){t(this,s);var i,a;this.size=e.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((i=this.text)===null||i===void 0?void 0:i.length)===0&&((a=this.image)===null||a===void 0?void 0:a.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===e.SMALL){return"5"}else if(this.size===e.MEDIUM){return"4"}else if(this.size===e.LARGE){return"2"}}render(){return s(i,{key:"8ce8c6ffe56b55036f9f47146041fcb91051ad36",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",{key:"b989378860518c05074dcf3cf445df062679f3c1"},this.text.substring(0,2)),this.image&&s("img",{key:"56a3a248fe3f88b2ed285f6a7c133b542ca21940",src:this.image,onError:()=>this.image=""}))}};c.style=r;export{c as z_avatar};
2
- //# sourceMappingURL=p-cbab66f7.entry.js.map
1
+ import{r as t,h as e,a as s}from"./p-75c4a726.js";import{A as i}from"./p-17af7fb2.js";const a=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";const r=a;const o=class{constructor(e){t(this,e);var s,a;this.size=i.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((s=this.text)===null||s===void 0?void 0:s.length)===0&&((a=this.image)===null||a===void 0?void 0:a.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===i.SMALL){return"5"}else if(this.size===i.MEDIUM){return"4"}else if(this.size===i.LARGE){return"2"}}render(){return e(s,{key:"c9fa1bc24b529c058fe1bfa8f8b2f60ca8feccad",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&e("span",{key:"7815e5074a69ed166710241d778c7bf12658a5f4"},this.text.substring(0,2)),this.image&&e("img",{key:"e998f6c8b5686488f23d627e13bf3f7b125917b6",src:this.image,onError:()=>this.image=""}))}};o.style=r;export{o as z_avatar};
2
+ //# sourceMappingURL=p-2bdac94e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./p-75c4a726.js";const o=":host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";const s=o;const r=class{constructor(t){e(this,t)}render(){return t("slot",{key:"b76451842cf32ab957ee81e9b689e94e35256524"})}};r.style=s;export{r as z_visually_hidden};
2
- //# sourceMappingURL=p-8c52635e.entry.js.map
1
+ import{r as e,h as t}from"./p-75c4a726.js";const o=":host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";const s=o;const r=class{constructor(t){e(this,t)}render(){return t("slot",{key:"85eaf1a304d4100796ce8fcccdeeb768387db00b"})}};r.style=s;export{r as z_visually_hidden};
2
+ //# sourceMappingURL=p-4551b0df.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,c as o,h as t}from"./p-75c4a726.js";import{B as i}from"./p-5145a606.js";const a="button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-active-primary-icon)}button.selected{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";const s=a;const e=class{constructor(t){r(this,t);this.buttonSortClick=o(this,"buttonSortClick",7);this.buttonid=undefined;this.label=undefined;this.desclabel=undefined;this.counter=undefined;this.sortlabelasc="A-Z";this.sortlabeldesc="Z-A";this.isselected=false;this.sortasc=true;this.allowTooltip=false}emitButtonSortClick(){if(!this.isselected){this.isselected=true}else{this.sortasc=!this.sortasc}this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){if(this.elementHasEllipsis()&&window.innerWidth>i.TABLET){this.allowTooltip=true}}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t("button",{key:"48135e022855d78da6ea11bf643bb6f3165a5ffc",title:this.setButtonTitle(),id:this.buttonid,class:{selected:this.isselected},onClick:()=>this.emitButtonSortClick()},t("span",{key:"211cf02c4ecf6558030ca0ad16bc12a657a5ad99",ref:r=>this.ellipsis=r,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),t("span",{key:"93e81849c1aa11be20b258b7c6156fa006d411c9",class:"counter"},this.counter&&` (${this.counter})`),t("span",{key:"f3a1e05c2fb37fc36f724d1760a691c45c8397e9",class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),t("z-icon",{key:"34fb2d58e925c18101f17e337332faf1cf55eecb",name:"caret-up-down",width:16,height:16}))}};e.style=s;export{e as z_button_sort};
2
- //# sourceMappingURL=p-4c730d4a.entry.js.map
1
+ import{r,c as o,h as t}from"./p-75c4a726.js";import{B as i}from"./p-5145a606.js";const a="button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-active-primary-icon)}button.selected{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";const s=a;const e=class{constructor(t){r(this,t);this.buttonSortClick=o(this,"buttonSortClick",7);this.buttonid=undefined;this.label=undefined;this.desclabel=undefined;this.counter=undefined;this.sortlabelasc="A-Z";this.sortlabeldesc="Z-A";this.isselected=false;this.sortasc=true;this.allowTooltip=false}emitButtonSortClick(){if(!this.isselected){this.isselected=true}else{this.sortasc=!this.sortasc}this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){if(this.elementHasEllipsis()&&window.innerWidth>i.TABLET){this.allowTooltip=true}}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t("button",{key:"6dd4d7f96cf0c8f77f50350113a078ef90ab6a58",title:this.setButtonTitle(),id:this.buttonid,class:{selected:this.isselected},onClick:()=>this.emitButtonSortClick()},t("span",{key:"3307af9351e08954162418cef02cd5ec68d46703",ref:r=>this.ellipsis=r,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),t("span",{key:"9754930a0995c2107c57e52daa99085261a7179f",class:"counter"},this.counter&&` (${this.counter})`),t("span",{key:"f1b86456276efc6fe453b236f786ad60f51f90b0",class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),t("z-icon",{key:"a90a31db7a10fa68a6ffbfbace297f9204af661c",name:"caret-up-down",width:16,height:16}))}};e.style=s;export{e as z_button_sort};
2
+ //# sourceMappingURL=p-50b800e6.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as o,h as e,a as n}from"./p-75c4a726.js";const i=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-inverse-success)}:host([type="warning"]){background:var(--color-inverse-warning)}:host([type="error"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-default-success)}:host([type="warning"]) .status-icon{fill:var(--color-default-warning)}:host([type="error"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';const a=i;const s=class{handleActionButtonClick(t){t.preventDefault();this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault();this.notificationClose.emit()}constructor(e){t(this,e);this.notificationAction=o(this,"notificationAction",7);this.notificationClose=o(this,"notificationClose",7);this.contenticonname=undefined;this.actiontext=undefined;this.type=undefined;this.showclose=false;this.showshadow=false;this.sticky=false;this.handleActionButtonClick=this.handleActionButtonClick.bind(this);this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}render(){var t;return e(n,{key:"1476969ad9cd71af738c1032fa1b426a31faef9f"},this.contenticonname&&e("z-icon",{key:"449b25859ae4f501b42d4c4cd0c26cd9dcb1935e",class:"status-icon",name:this.contenticonname,width:16,height:16}),e("div",{key:"5b8feced4f05c6e14e6ac7e9a06096db6fd93997",class:"content-container"},e("div",{key:"ec6a27aebcc0d60efdb5fd3cb29cc7fddc441331",class:"content-text"},e("slot",{key:"d66a3fbf761e5460f0d52c5111b07166c59fa7f4"})),!!((t=this.actiontext)===null||t===void 0?void 0:t.trim())&&e("button",{key:"73f5c71a14294c230342ef7382f9ae3fa2b330ce",class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&e("button",{key:"a0be489166ad16faa182adac379ce08ca06317ed",class:"close-button",type:"button",onClick:this.handleCloseButtonClick},e("z-icon",{key:"254d0f36a6ee1a356506db703658053959020070",name:"multiply-circle",width:16,height:16})))}};s.style=a;export{s as z_notification};
2
- //# sourceMappingURL=p-ac585bcd.entry.js.map
1
+ import{r as t,c as o,h as e,a as n}from"./p-75c4a726.js";const a=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-inverse-success)}:host([type="warning"]){background:var(--color-inverse-warning)}:host([type="error"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-default-success)}:host([type="warning"]) .status-icon{fill:var(--color-default-warning)}:host([type="error"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';const i=a;const s=class{handleActionButtonClick(t){t.preventDefault();this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault();this.notificationClose.emit()}constructor(e){t(this,e);this.notificationAction=o(this,"notificationAction",7);this.notificationClose=o(this,"notificationClose",7);this.contenticonname=undefined;this.actiontext=undefined;this.type=undefined;this.showclose=false;this.showshadow=false;this.sticky=false;this.handleActionButtonClick=this.handleActionButtonClick.bind(this);this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}render(){var t;return e(n,{key:"91f3faaa63f6d3a7560dfc17fcb782cc9a87b3ca"},this.contenticonname&&e("z-icon",{key:"2d7d6a800e8cf6c2ff83a0e45d1617e584aab21e",class:"status-icon",name:this.contenticonname,width:16,height:16}),e("div",{key:"fd2703a619f218ef7cb6177cce8e0ff45a6d0ed4",class:"content-container"},e("div",{key:"cd300fae9835a693b9c96935e993d4d78cd11e4c",class:"content-text"},e("slot",{key:"1563c59943a57d20b94d7d4df037a78ee3970d42"})),!!((t=this.actiontext)===null||t===void 0?void 0:t.trim())&&e("button",{key:"4221817bd30a88b22f9c4a01882d4c7aed6cfce3",class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&e("button",{key:"ac74dd0caa8a62e1aece02748a04a60036ba0b91",class:"close-button",type:"button",onClick:this.handleCloseButtonClick},e("z-icon",{key:"218ba32889b29b07f4d90b7c3d0072a2f5c2854e",name:"multiply-circle",width:16,height:16})))}};s.style=i;export{s as z_notification};
2
+ //# sourceMappingURL=p-5f231799.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 r,e as a}from"./p-17af7fb2.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:var(--trigger-icon-size-small, 18px)}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-x-small, 16px)}.z-info-reveal-panel{position:absolute;z-index:19;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{top:auto !important;bottom:auto !important;width:calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=r.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=a.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:"b139ec62ca6dd929c5f26621bd2ef1fa64b4a653",open:this.open},i("button",{key:"1ed8f8db4144375b4f56d95981993affc17639a3",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:"166d7bef728bb7bf91ea593bcc9e0b6786f15b41",name:this.icon}),this.label&&i("span",{key:"3e5f4b7ca4bedfcd533e2cd4270eda603905f18a",class:"z-info-reveal-label"},this.label)),i("div",{key:"bd09825f3606ff127d069d23ec68834985d1373e",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"85051148d2c53c1ae0592ed158c84362ad006098"}),i("button",{key:"9dc246c07b8ed8022c9e56605e94cb1fe1afc1ec",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"4bbcd8dc12f435dba963ed49f2529db8cbf03339",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-dc5ba112.entry.js.map
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-17af7fb2.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:var(--trigger-icon-size-small, 18px)}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-x-small, 16px)}.z-info-reveal-panel{position:absolute;z-index:19;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{top:auto !important;bottom:auto !important;width:calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !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:"56c05c5fae8da4a2260905997379c4606a25527f",open:this.open},i("button",{key:"f2b0f69b9e7f39e8b488e7af05c5833181a4b905",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:"f26d18b089849931ca497f45d027b34933517f22",name:this.icon}),this.label&&i("span",{key:"3f56e1db47e5da352b9ee94d81eadb0927a93a14",class:"z-info-reveal-label"},this.label)),i("div",{key:"addb88ebac5145798b0fb3ac324bd2c174997f72",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"e296f4322cd7d4bf26e46290e8038aeca01c073e"}),i("button",{key:"529579c67957586b99ff35e83e14fd55186c4a04",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"dd5971ecab9a3b88933b03d9b7a46731de2dbeeb",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-6d2a6434.entry.js.map