@zanichelli/albe-web-components 19.1.3 → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (835) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/cjs/iconset-5d47610c.js +1016 -0
  3. package/dist/cjs/iconset-5d47610c.js.map +1 -0
  4. package/dist/cjs/{index-f011b2e3.js → index-1ee051ca.js} +2 -2
  5. package/dist/cjs/{index-f011b2e3.js.map → index-1ee051ca.js.map} +1 -1
  6. package/dist/cjs/{index-09238e31.js → index-43dfc8b2.js} +3 -3
  7. package/dist/cjs/{index-09238e31.js.map → index-43dfc8b2.js.map} +1 -1
  8. package/dist/cjs/{index-1c7cd5df.js → index-5eb95b44.js} +2 -2
  9. package/dist/cjs/{index-1c7cd5df.js.map → index-5eb95b44.js.map} +1 -1
  10. package/dist/cjs/{index-805390c8.js → index-844c7a99.js} +5 -5
  11. package/dist/cjs/{index-805390c8.js.map → index-844c7a99.js.map} +1 -1
  12. package/dist/cjs/{index-62712250.js → index-8770e71a.js} +2 -2
  13. package/dist/cjs/{index-62712250.js.map → index-8770e71a.js.map} +1 -1
  14. package/dist/cjs/index-96af6326.js +14 -2
  15. package/dist/cjs/{index-66928615.js → index-d214a119.js} +3 -3
  16. package/dist/cjs/{index-66928615.js.map → index-d214a119.js.map} +1 -1
  17. package/dist/cjs/{index-97a4c18d.js → index-e30d0503.js} +51 -1
  18. package/dist/cjs/index-e30d0503.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +5 -2
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/{utils-7f9d5a78.js → utils-4f7b4830.js} +2 -2
  23. package/dist/cjs/{utils-7f9d5a78.js.map → utils-4f7b4830.js.map} +1 -1
  24. package/dist/cjs/{utils-5148245a.js → utils-e8b453d5.js} +35 -6
  25. package/dist/cjs/utils-e8b453d5.js.map +1 -0
  26. package/dist/cjs/web-components-library.cjs.js +1 -1
  27. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  28. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  31. package/dist/cjs/z-app-header_12.cjs.entry.js +139 -1051
  32. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  34. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  35. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  37. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  38. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  39. package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
  40. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  41. package/dist/cjs/z-card.cjs.entry.js +1 -1
  42. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  43. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  44. package/dist/cjs/z-color-picker.cjs.entry.js +212 -0
  45. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  47. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  48. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  49. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  50. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  51. package/dist/cjs/z-file.cjs.entry.js +2 -2
  52. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  53. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  54. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  55. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  56. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  57. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  58. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  59. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  60. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  61. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  62. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  63. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  64. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  65. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  66. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  67. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  68. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  69. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  70. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  71. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  72. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  73. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  75. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  76. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  77. package/dist/cjs/z-popover.cjs.entry.js +20 -16
  78. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  79. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  80. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  81. package/dist/cjs/z-select.cjs.entry.js +3 -3
  82. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  83. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  84. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  85. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  86. package/dist/cjs/z-table.cjs.entry.js +9 -9
  87. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  88. package/dist/cjs/z-td.cjs.entry.js +2 -2
  89. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  90. package/dist/cjs/z-th.cjs.entry.js +2 -2
  91. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  92. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  93. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  94. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  95. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  96. package/dist/cjs/z-tool.cjs.entry.js +210 -0
  97. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-toolbar.cjs.entry.js +148 -0
  99. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-tooltip.cjs.entry.js +3 -2
  101. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
  102. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  103. package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
  104. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  105. package/dist/collection/beans/index.js +48 -0
  106. package/dist/collection/beans/index.js.map +1 -1
  107. package/dist/collection/collection-manifest.json +3 -0
  108. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  109. package/dist/collection/components/css-components/z-label/styles.css +10 -0
  110. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  111. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  112. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  113. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  114. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  115. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  116. package/dist/collection/components/deprecated/z-section-title/index.js +1 -1
  117. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  118. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  119. package/dist/collection/components/list/z-list/index.js +1 -1
  120. package/dist/collection/components/list/z-list-element/index.js +1 -1
  121. package/dist/collection/components/list/z-list-group/index.js +2 -2
  122. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  123. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  124. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  125. package/dist/collection/components/table/z-table/index.js +1 -1
  126. package/dist/collection/components/table/z-tbody/index.js +1 -1
  127. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  128. package/dist/collection/components/table/z-thead/index.js +1 -1
  129. package/dist/collection/components/table/z-tr/index.js +1 -1
  130. package/dist/collection/components/z-accordion/index.js +1 -1
  131. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  132. package/dist/collection/components/z-app-header/index.js +1 -1
  133. package/dist/collection/components/z-app-header/index.js.map +1 -1
  134. package/dist/collection/components/z-app-header/index.stories.js +42 -0
  135. package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
  136. package/dist/collection/components/z-app-header/styles.css +8 -0
  137. package/dist/collection/components/z-aria-alert/index.js +1 -1
  138. package/dist/collection/components/z-avatar/index.js +2 -2
  139. package/dist/collection/components/z-book-cover/index.js +1 -1
  140. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  141. package/dist/collection/components/z-button-sort/index.js +1 -1
  142. package/dist/collection/components/z-chip/index.js +2 -2
  143. package/dist/collection/components/z-color-picker/index.js +367 -0
  144. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  145. package/dist/collection/components/z-color-picker/index.stories.js +34 -0
  146. package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
  147. package/dist/collection/components/z-color-picker/styles.css +74 -0
  148. package/dist/collection/components/z-combobox/index.js +1 -1
  149. package/dist/collection/components/z-cover-hero/index.js +2 -2
  150. package/dist/collection/components/z-divider/index.js +1 -1
  151. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  152. package/dist/collection/components/z-icon/index.js +40 -9
  153. package/dist/collection/components/z-icon/index.js.map +1 -1
  154. package/dist/collection/components/z-icon/index.stories.js +34 -18
  155. package/dist/collection/components/z-icon/index.stories.js.map +1 -1
  156. package/dist/collection/components/z-icon/styles.css +15 -2
  157. package/dist/collection/components/z-info-box/index.js +1 -1
  158. package/dist/collection/components/z-info-reveal/index.js +1 -1
  159. package/dist/collection/components/z-input/index.js +1 -1
  160. package/dist/collection/components/z-input-message/index.js +1 -1
  161. package/dist/collection/components/z-logo/index.js +1 -1
  162. package/dist/collection/components/z-menu/index.js +1 -1
  163. package/dist/collection/components/z-menu/index.js.map +1 -1
  164. package/dist/collection/components/z-menu-section/index.js +1 -1
  165. package/dist/collection/components/z-modal/index.js +4 -4
  166. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  167. package/dist/collection/components/z-notification/index.js +1 -1
  168. package/dist/collection/components/z-notification/styles.css +2 -2
  169. package/dist/collection/components/z-offcanvas/index.js +89 -10
  170. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  171. package/dist/collection/components/z-panel-elem/index.js +2 -2
  172. package/dist/collection/components/z-popover/index.js +31 -21
  173. package/dist/collection/components/z-popover/index.js.map +1 -1
  174. package/dist/collection/components/z-popover/styles.css +18 -3
  175. package/dist/collection/components/z-searchbar/index.js +41 -5
  176. package/dist/collection/components/z-searchbar/index.js.map +1 -1
  177. package/dist/collection/components/z-searchbar/index.stories.js +13 -1
  178. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -1
  179. package/dist/collection/components/z-select/index.js +1 -1
  180. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  181. package/dist/collection/components/z-stepper/index.js +1 -1
  182. package/dist/collection/components/z-stepper-item/index.js +1 -1
  183. package/dist/collection/components/z-tag/index.js +2 -2
  184. package/dist/collection/components/z-toast-notification/index.js +1 -1
  185. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  186. package/dist/collection/components/z-toggle-button/index.js +2 -2
  187. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  188. package/dist/collection/components/z-tool/index.js +501 -0
  189. package/dist/collection/components/z-tool/index.js.map +1 -0
  190. package/dist/collection/components/z-tool/index.stories.js +147 -0
  191. package/dist/collection/components/z-tool/index.stories.js.map +1 -0
  192. package/dist/collection/components/z-tool/styles.css +90 -0
  193. package/dist/collection/components/z-toolbar/index.js +208 -0
  194. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  195. package/dist/collection/components/z-toolbar/index.stories.js +318 -0
  196. package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
  197. package/dist/collection/components/z-toolbar/styles.css +46 -0
  198. package/dist/collection/components/z-tooltip/index.js +19 -1
  199. package/dist/collection/components/z-tooltip/index.js.map +1 -1
  200. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  201. package/dist/collection/constants/iconset.js +152 -142
  202. package/dist/collection/constants/iconset.js.map +1 -1
  203. package/dist/collection/index.js +1 -0
  204. package/dist/collection/index.js.map +1 -1
  205. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  206. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  207. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  208. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  209. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  210. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  211. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  212. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  213. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  214. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  215. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  216. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  217. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  218. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  219. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  220. package/dist/collection/utils/utils.js +33 -4
  221. package/dist/collection/utils/utils.js.map +1 -1
  222. package/dist/components/iconset.js +152 -143
  223. package/dist/components/iconset.js.map +1 -1
  224. package/dist/components/index.d.ts +6 -0
  225. package/dist/components/index.js +5 -1
  226. package/dist/components/index.js.map +1 -1
  227. package/dist/components/index10.js +17 -6
  228. package/dist/components/index10.js.map +1 -1
  229. package/dist/components/index11.js +1 -1
  230. package/dist/components/index12.js +1 -1
  231. package/dist/components/index13.js +1 -1
  232. package/dist/components/index14.js +1 -1
  233. package/dist/components/index15.js +1 -1
  234. package/dist/components/index16.js +2 -2
  235. package/dist/components/index17.js +4 -4
  236. package/dist/components/index18.js +1 -1
  237. package/dist/components/index19.js +1 -1
  238. package/dist/components/index2.js +49 -1
  239. package/dist/components/index2.js.map +1 -1
  240. package/dist/components/index20.js +1 -1
  241. package/dist/components/index21.js +1 -1
  242. package/dist/components/index22.js +1 -1
  243. package/dist/components/index23.js +84 -11
  244. package/dist/components/index23.js.map +1 -1
  245. package/dist/components/index24.js +19 -15
  246. package/dist/components/index24.js.map +1 -1
  247. package/dist/components/index25.js +13 -6
  248. package/dist/components/index25.js.map +1 -1
  249. package/dist/components/index26.js +2 -2
  250. package/dist/components/index27.js +55 -0
  251. package/dist/components/index27.js.map +1 -0
  252. package/dist/components/index3.js +1 -1
  253. package/dist/components/index4.js +1 -1
  254. package/dist/components/index6.js +2 -2
  255. package/dist/components/index7.js +1 -1
  256. package/dist/components/index8.js +2 -2
  257. package/dist/components/index9.js +1 -1
  258. package/dist/components/utils.js +33 -4
  259. package/dist/components/utils.js.map +1 -1
  260. package/dist/components/z-accordion.js +1 -1
  261. package/dist/components/z-anchor-navigation.js +1 -1
  262. package/dist/components/z-app-header-deprecated.js +1 -1
  263. package/dist/components/z-app-header.js +2 -2
  264. package/dist/components/z-app-header.js.map +1 -1
  265. package/dist/components/z-aria-alert.js +1 -1
  266. package/dist/components/z-avatar.js +2 -2
  267. package/dist/components/z-book-card-app.js +1 -1
  268. package/dist/components/z-book-card-deprecated.js +1 -1
  269. package/dist/components/z-breadcrumb.js +2 -2
  270. package/dist/components/z-button-sort.js +1 -1
  271. package/dist/components/z-color-picker.d.ts +11 -0
  272. package/dist/components/z-color-picker.js +234 -0
  273. package/dist/components/z-color-picker.js.map +1 -0
  274. package/dist/components/z-combobox.js +1 -1
  275. package/dist/components/z-cover-hero.js +2 -2
  276. package/dist/components/z-date-picker.js +1 -1
  277. package/dist/components/z-file.js +1 -1
  278. package/dist/components/z-info-box.js +1 -1
  279. package/dist/components/z-logo.js +1 -1
  280. package/dist/components/z-menu-deprecated.js +1 -1
  281. package/dist/components/z-menu-section-deprecated.js +1 -1
  282. package/dist/components/z-menu-section.js +1 -1
  283. package/dist/components/z-menu.js +1 -1
  284. package/dist/components/z-menu.js.map +1 -1
  285. package/dist/components/z-myz-card-alert.js +1 -1
  286. package/dist/components/z-myz-card-dictionary.js +1 -1
  287. package/dist/components/z-myz-card-footer-sections.js +1 -1
  288. package/dist/components/z-myz-card-footer.js +1 -1
  289. package/dist/components/z-myz-card-icon.js +1 -1
  290. package/dist/components/z-myz-card-info.js +1 -1
  291. package/dist/components/z-myz-card-list.js +1 -1
  292. package/dist/components/z-myz-list.js +1 -1
  293. package/dist/components/z-navigation-tabs.js +2 -2
  294. package/dist/components/z-notification.js +2 -2
  295. package/dist/components/z-notification.js.map +1 -1
  296. package/dist/components/z-otp.js +2 -2
  297. package/dist/components/z-panel-elem.js +2 -2
  298. package/dist/components/z-range-picker.js +3 -3
  299. package/dist/components/z-section-title.js +1 -1
  300. package/dist/components/z-select.js +1 -1
  301. package/dist/components/z-skip-to-content.js +1 -1
  302. package/dist/components/z-stepper-item.js +1 -1
  303. package/dist/components/z-stepper.js +1 -1
  304. package/dist/components/z-table.js +1 -1
  305. package/dist/components/z-tbody.js +1 -1
  306. package/dist/components/z-td.js +1 -1
  307. package/dist/components/z-tfoot.js +1 -1
  308. package/dist/components/z-th.js +1 -1
  309. package/dist/components/z-thead.js +1 -1
  310. package/dist/components/z-toast-notification-list.js +1 -1
  311. package/dist/components/z-toast-notification.js +1 -1
  312. package/dist/components/z-toggle-button.js +2 -2
  313. package/dist/components/z-toggle-switch.js +3 -3
  314. package/dist/components/z-tool.d.ts +11 -0
  315. package/dist/components/z-tool.js +260 -0
  316. package/dist/components/z-tool.js.map +1 -0
  317. package/dist/components/z-toolbar.d.ts +11 -0
  318. package/dist/components/z-toolbar.js +165 -0
  319. package/dist/components/z-toolbar.js.map +1 -0
  320. package/dist/components/z-tooltip.js +1 -50
  321. package/dist/components/z-tooltip.js.map +1 -1
  322. package/dist/components/z-tr.js +1 -1
  323. package/dist/components/z-tree-list.js +1 -1
  324. package/dist/components/z-visually-hidden.js +1 -1
  325. package/dist/esm/iconset-d7823b13.js +1013 -0
  326. package/dist/esm/iconset-d7823b13.js.map +1 -0
  327. package/dist/esm/{index-2a6324f8.js → index-106473a8.js} +50 -2
  328. package/dist/esm/index-106473a8.js.map +1 -0
  329. package/dist/esm/{index-0bcacbd3.js → index-21176e80.js} +2 -2
  330. package/dist/esm/{index-0bcacbd3.js.map → index-21176e80.js.map} +1 -1
  331. package/dist/esm/{index-b64ced16.js → index-39a920c4.js} +3 -3
  332. package/dist/esm/{index-b64ced16.js.map → index-39a920c4.js.map} +1 -1
  333. package/dist/esm/{index-36122d8f.js → index-41934729.js} +2 -2
  334. package/dist/esm/{index-36122d8f.js.map → index-41934729.js.map} +1 -1
  335. package/dist/esm/{index-f20179ad.js → index-4845b32f.js} +3 -3
  336. package/dist/esm/{index-f20179ad.js.map → index-4845b32f.js.map} +1 -1
  337. package/dist/esm/{index-0ea3c7c8.js → index-599cd05a.js} +2 -2
  338. package/dist/esm/{index-0ea3c7c8.js.map → index-599cd05a.js.map} +1 -1
  339. package/dist/esm/index-c8ceadeb.js +14 -2
  340. package/dist/esm/{index-8a9f6d27.js → index-d003e5d7.js} +5 -5
  341. package/dist/esm/{index-8a9f6d27.js.map → index-d003e5d7.js.map} +1 -1
  342. package/dist/esm/index.js +3 -2
  343. package/dist/esm/index.js.map +1 -1
  344. package/dist/esm/loader.js +1 -1
  345. package/dist/esm/{utils-e66d94c3.js → utils-1b64bcd9.js} +35 -6
  346. package/dist/esm/utils-1b64bcd9.js.map +1 -0
  347. package/dist/esm/{utils-227ef1c0.js → utils-93ac0e6c.js} +2 -2
  348. package/dist/esm/{utils-227ef1c0.js.map → utils-93ac0e6c.js.map} +1 -1
  349. package/dist/esm/web-components-library.js +1 -1
  350. package/dist/esm/z-accordion.entry.js +2 -2
  351. package/dist/esm/z-alert.entry.js +1 -1
  352. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  353. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  354. package/dist/esm/z-app-header_12.entry.js +139 -1051
  355. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  356. package/dist/esm/z-aria-alert.entry.js +2 -2
  357. package/dist/esm/z-avatar.entry.js +3 -3
  358. package/dist/esm/z-book-card-app.entry.js +2 -2
  359. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  360. package/dist/esm/z-book-card.entry.js +1 -1
  361. package/dist/esm/z-book-cover.entry.js +1 -1
  362. package/dist/esm/z-breadcrumb.entry.js +4 -4
  363. package/dist/esm/z-button-sort.entry.js +1 -1
  364. package/dist/esm/z-card.entry.js +1 -1
  365. package/dist/esm/z-carousel.entry.js +1 -1
  366. package/dist/esm/z-chip.entry.js +3 -3
  367. package/dist/esm/z-color-picker.entry.js +208 -0
  368. package/dist/esm/z-color-picker.entry.js.map +1 -0
  369. package/dist/esm/z-combobox.entry.js +3 -3
  370. package/dist/esm/z-cover-hero.entry.js +3 -3
  371. package/dist/esm/z-date-picker.entry.js +3 -3
  372. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  373. package/dist/esm/z-file-upload.entry.js +1 -1
  374. package/dist/esm/z-file.entry.js +2 -2
  375. package/dist/esm/z-ghost-loading.entry.js +1 -1
  376. package/dist/esm/z-info-box.entry.js +1 -1
  377. package/dist/esm/z-info-reveal.entry.js +2 -2
  378. package/dist/esm/z-logo.entry.js +1 -1
  379. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  380. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  381. package/dist/esm/z-menu-section.entry.js +2 -2
  382. package/dist/esm/z-menu.entry.js +2 -2
  383. package/dist/esm/z-menu.entry.js.map +1 -1
  384. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  385. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  386. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  387. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  388. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  389. package/dist/esm/z-myz-card-info.entry.js +3 -3
  390. package/dist/esm/z-myz-card-list.entry.js +1 -1
  391. package/dist/esm/z-myz-card_4.entry.js +5 -5
  392. package/dist/esm/z-myz-list-item.entry.js +3 -3
  393. package/dist/esm/z-myz-list.entry.js +1 -1
  394. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  395. package/dist/esm/z-notification.entry.js +2 -2
  396. package/dist/esm/z-notification.entry.js.map +1 -1
  397. package/dist/esm/z-otp.entry.js +3 -3
  398. package/dist/esm/z-pagination.entry.js +1 -1
  399. package/dist/esm/z-panel-elem.entry.js +2 -2
  400. package/dist/esm/z-popover.entry.js +20 -16
  401. package/dist/esm/z-popover.entry.js.map +1 -1
  402. package/dist/esm/z-range-picker.entry.js +5 -5
  403. package/dist/esm/z-section-title.entry.js +2 -2
  404. package/dist/esm/z-select.entry.js +3 -3
  405. package/dist/esm/z-skip-to-content.entry.js +3 -3
  406. package/dist/esm/z-slideshow.entry.js +2 -2
  407. package/dist/esm/z-stepper-item.entry.js +1 -1
  408. package/dist/esm/z-stepper.entry.js +1 -1
  409. package/dist/esm/z-table.entry.js +9 -9
  410. package/dist/esm/z-tbody.entry.js +1 -1
  411. package/dist/esm/z-td.entry.js +2 -2
  412. package/dist/esm/z-tfoot.entry.js +1 -1
  413. package/dist/esm/z-th.entry.js +2 -2
  414. package/dist/esm/z-thead.entry.js +1 -1
  415. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  416. package/dist/esm/z-toast-notification.entry.js +2 -2
  417. package/dist/esm/z-toggle-button.entry.js +2 -2
  418. package/dist/esm/z-toggle-switch.entry.js +5 -5
  419. package/dist/esm/z-tool.entry.js +206 -0
  420. package/dist/esm/z-tool.entry.js.map +1 -0
  421. package/dist/esm/z-toolbar.entry.js +144 -0
  422. package/dist/esm/z-toolbar.entry.js.map +1 -0
  423. package/dist/esm/z-tooltip.entry.js +4 -3
  424. package/dist/esm/z-tooltip.entry.js.map +1 -1
  425. package/dist/esm/z-tr.entry.js +5 -5
  426. package/dist/esm/z-tree-list.entry.js +2 -2
  427. package/dist/esm/z-visually-hidden.entry.js +1 -1
  428. package/dist/types/beans/index.d.ts +184 -0
  429. package/dist/types/components/z-app-header/index.stories.d.ts +16 -0
  430. package/dist/types/components/z-color-picker/index.d.ts +64 -0
  431. package/dist/types/components/z-color-picker/index.stories.d.ts +33 -0
  432. package/dist/types/components/z-icon/index.d.ts +19 -5
  433. package/dist/types/components/z-icon/index.stories.d.ts +23 -10
  434. package/dist/types/components/z-offcanvas/index.d.ts +24 -0
  435. package/dist/types/components/z-popover/index.d.ts +9 -4
  436. package/dist/types/components/z-searchbar/index.d.ts +4 -0
  437. package/dist/types/components/z-searchbar/index.stories.d.ts +2 -0
  438. package/dist/types/components/z-tool/index.d.ts +103 -0
  439. package/dist/types/components/z-tool/index.stories.d.ts +70 -0
  440. package/dist/types/components/z-toolbar/index.d.ts +46 -0
  441. package/dist/types/components/z-toolbar/index.stories.d.ts +52 -0
  442. package/dist/types/components/z-tooltip/index.d.ts +8 -0
  443. package/dist/types/components.d.ts +338 -19
  444. package/dist/types/constants/iconset.d.ts +281 -141
  445. package/dist/types/index.d.ts +1 -0
  446. package/dist/types/utils/utils.d.ts +3 -2
  447. package/dist/web-components-library/index.esm.js +1 -1
  448. package/dist/web-components-library/index.esm.js.map +1 -1
  449. package/{www/build/p-5a24e268.entry.js → dist/web-components-library/p-03a558ef.entry.js} +2 -2
  450. package/dist/web-components-library/p-0989655c.entry.js +2 -0
  451. package/dist/web-components-library/p-0989655c.entry.js.map +1 -0
  452. package/dist/web-components-library/p-0a192ddf.entry.js +2 -0
  453. package/dist/web-components-library/p-0a192ddf.entry.js.map +1 -0
  454. package/dist/web-components-library/{p-460b2068.entry.js → p-15951fc6.entry.js} +2 -2
  455. package/dist/web-components-library/p-17e2fed2.entry.js +2 -0
  456. package/dist/web-components-library/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
  457. package/{www/build/p-94916bdf.entry.js → dist/web-components-library/p-1939116a.entry.js} +2 -2
  458. package/dist/web-components-library/p-1a0c206d.js +2 -0
  459. package/dist/web-components-library/p-1a0c206d.js.map +1 -0
  460. package/dist/web-components-library/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
  461. package/dist/web-components-library/{p-2ffdfbb1.entry.js → p-215b1fa5.entry.js} +2 -2
  462. package/dist/web-components-library/{p-99210133.entry.js → p-2501dd29.entry.js} +2 -2
  463. package/dist/web-components-library/p-2a04c00e.entry.js +2 -0
  464. package/{www/build/p-816fd6dc.entry.js.map → dist/web-components-library/p-2a04c00e.entry.js.map} +1 -1
  465. package/{www/build/p-1fd1cf02.entry.js → dist/web-components-library/p-2bba665d.entry.js} +2 -2
  466. package/dist/web-components-library/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
  467. package/dist/web-components-library/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
  468. package/{www/build/p-4cec3345.entry.js → dist/web-components-library/p-3d02ad75.entry.js} +2 -2
  469. package/dist/web-components-library/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
  470. package/{www/build/p-8c164e0d.entry.js → dist/web-components-library/p-41891d34.entry.js} +2 -2
  471. package/dist/web-components-library/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
  472. package/dist/web-components-library/{p-748fa3ae.js → p-54cd104c.js} +2 -2
  473. package/dist/web-components-library/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
  474. package/{www/build/p-b96900bb.entry.js → dist/web-components-library/p-59baa7f5.entry.js} +2 -2
  475. package/dist/web-components-library/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
  476. package/dist/web-components-library/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
  477. package/{www/build/p-c778bf87.entry.js → dist/web-components-library/p-5fda8769.entry.js} +3 -3
  478. package/dist/web-components-library/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
  479. package/dist/web-components-library/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
  480. package/dist/web-components-library/{p-e9e2ceb4.entry.js → p-684142d7.entry.js} +2 -2
  481. package/dist/web-components-library/p-6af67a60.entry.js +2 -0
  482. package/dist/web-components-library/p-6af67a60.entry.js.map +1 -0
  483. package/dist/web-components-library/p-6c3d141b.entry.js +2 -0
  484. package/dist/web-components-library/{p-22ba2a17.entry.js → p-6d11da08.entry.js} +2 -2
  485. package/dist/web-components-library/{p-b7b972c0.entry.js → p-6d61933f.entry.js} +2 -2
  486. package/dist/web-components-library/{p-dc086eb5.entry.js → p-6ef58a14.entry.js} +2 -2
  487. package/dist/web-components-library/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
  488. package/dist/web-components-library/p-76003048.entry.js +2 -0
  489. package/dist/web-components-library/p-76003048.entry.js.map +1 -0
  490. package/dist/web-components-library/{p-0a49dd1c.entry.js → p-7b199026.entry.js} +2 -2
  491. package/dist/web-components-library/p-7d6c4b21.entry.js +2 -0
  492. package/dist/web-components-library/p-7d6c4b21.entry.js.map +1 -0
  493. package/dist/web-components-library/{p-d7f12672.js → p-80285500.js} +2 -2
  494. package/dist/web-components-library/{p-a2e87cec.entry.js → p-80ddecaf.entry.js} +2 -2
  495. package/dist/web-components-library/p-839e2478.entry.js +2 -0
  496. package/{www/build/p-daa1ffe9.entry.js → dist/web-components-library/p-84ed6163.entry.js} +2 -2
  497. package/dist/web-components-library/p-86618221.js +2 -0
  498. package/dist/web-components-library/p-86618221.js.map +1 -0
  499. package/dist/web-components-library/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
  500. package/{www/build/p-1844a4f4.entry.js → dist/web-components-library/p-8a53fefb.entry.js} +2 -2
  501. package/dist/web-components-library/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
  502. package/dist/web-components-library/{p-28534fb5.entry.js → p-90690d4d.entry.js} +2 -2
  503. package/dist/web-components-library/{p-307c9c33.entry.js → p-9a63ec80.entry.js} +2 -2
  504. package/dist/web-components-library/p-9af837bb.entry.js +2 -0
  505. package/dist/web-components-library/p-a32ebcc3.entry.js +2 -0
  506. package/dist/web-components-library/p-a7bb5e87.js +2 -0
  507. package/{www/build/p-030257b3.js.map → dist/web-components-library/p-a7bb5e87.js.map} +1 -1
  508. package/dist/web-components-library/p-b06af2fc.js +2 -0
  509. package/{www/build/p-817689d5.entry.js → dist/web-components-library/p-b1f2388a.entry.js} +3 -3
  510. package/{www/build/p-342b0eb0.entry.js → dist/web-components-library/p-b421424f.entry.js} +2 -2
  511. package/dist/web-components-library/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
  512. package/dist/web-components-library/{p-cc18a2b7.entry.js → p-b8211903.entry.js} +2 -2
  513. package/{www/build/p-b63c8e8b.entry.js → dist/web-components-library/p-b854cc3d.entry.js} +2 -2
  514. package/dist/web-components-library/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
  515. package/dist/web-components-library/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
  516. package/dist/web-components-library/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
  517. package/{www/build/p-3f5aa623.entry.js → dist/web-components-library/p-c5d52872.entry.js} +2 -2
  518. package/dist/web-components-library/p-c5d52872.entry.js.map +1 -0
  519. package/dist/web-components-library/p-c5e032de.entry.js +2 -0
  520. package/dist/web-components-library/p-c5e032de.entry.js.map +1 -0
  521. package/{www/build/p-028dd72a.entry.js → dist/web-components-library/p-c645dc11.entry.js} +2 -2
  522. package/dist/web-components-library/p-c93c6135.entry.js +2 -0
  523. package/dist/web-components-library/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
  524. package/dist/web-components-library/{p-30e42fb1.js → p-cb395500.js} +2 -2
  525. package/dist/web-components-library/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
  526. package/dist/web-components-library/{p-1c7550f9.entry.js → p-d1a04722.entry.js} +2 -2
  527. package/{www/build/p-e3b82454.entry.js → dist/web-components-library/p-d1fe7960.entry.js} +2 -2
  528. package/dist/web-components-library/{p-863fd1c4.entry.js → p-d5ebbfdf.entry.js} +2 -2
  529. package/dist/web-components-library/p-d65aeb54.entry.js +2 -0
  530. package/dist/web-components-library/{p-2612e3a2.entry.js → p-daa442e6.entry.js} +2 -2
  531. package/dist/web-components-library/p-db2c3235.entry.js +2 -0
  532. package/dist/web-components-library/p-db2c3235.entry.js.map +1 -0
  533. package/dist/web-components-library/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
  534. package/dist/web-components-library/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
  535. package/dist/web-components-library/p-de313d96.entry.js +2 -0
  536. package/dist/web-components-library/{p-5c5882c6.entry.js → p-e38a5dd2.entry.js} +2 -2
  537. package/dist/web-components-library/p-eb15536d.js +2 -0
  538. package/dist/web-components-library/p-eb15536d.js.map +1 -0
  539. package/{www/build/p-f4bac89b.entry.js → dist/web-components-library/p-eb9161bc.entry.js} +2 -2
  540. package/dist/web-components-library/{p-f487290e.entry.js → p-f0f53bb2.entry.js} +2 -2
  541. package/dist/web-components-library/p-f79010de.js +2 -0
  542. package/{www/build/p-19f5b6a9.entry.js → dist/web-components-library/p-f9e41b2e.entry.js} +2 -2
  543. package/dist/web-components-library/web-components-library.esm.js +1 -1
  544. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  545. package/package.json +1 -1
  546. package/react/components.d.ts +3 -0
  547. package/react/components.js +5 -2
  548. package/react/components.js.map +1 -1
  549. package/www/build/index.esm.js +1 -1
  550. package/www/build/index.esm.js.map +1 -1
  551. package/{dist/web-components-library/p-5a24e268.entry.js → www/build/p-03a558ef.entry.js} +2 -2
  552. package/www/build/p-0989655c.entry.js +2 -0
  553. package/www/build/p-0989655c.entry.js.map +1 -0
  554. package/www/build/p-0a192ddf.entry.js +2 -0
  555. package/www/build/p-0a192ddf.entry.js.map +1 -0
  556. package/www/build/{p-460b2068.entry.js → p-15951fc6.entry.js} +2 -2
  557. package/www/build/p-17e2fed2.entry.js +2 -0
  558. package/www/build/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
  559. package/{dist/web-components-library/p-94916bdf.entry.js → www/build/p-1939116a.entry.js} +2 -2
  560. package/www/build/p-1a0c206d.js +2 -0
  561. package/www/build/p-1a0c206d.js.map +1 -0
  562. package/www/build/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
  563. package/www/build/{p-2ffdfbb1.entry.js → p-215b1fa5.entry.js} +2 -2
  564. package/www/build/{p-99210133.entry.js → p-2501dd29.entry.js} +2 -2
  565. package/www/build/p-2a04c00e.entry.js +2 -0
  566. package/{dist/web-components-library/p-816fd6dc.entry.js.map → www/build/p-2a04c00e.entry.js.map} +1 -1
  567. package/{dist/web-components-library/p-1fd1cf02.entry.js → www/build/p-2bba665d.entry.js} +2 -2
  568. package/www/build/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
  569. package/www/build/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
  570. package/www/build/p-385363df.js +2 -0
  571. package/{dist/web-components-library/p-4cec3345.entry.js → www/build/p-3d02ad75.entry.js} +2 -2
  572. package/www/build/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
  573. package/{dist/web-components-library/p-8c164e0d.entry.js → www/build/p-41891d34.entry.js} +2 -2
  574. package/www/build/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
  575. package/www/build/{p-748fa3ae.js → p-54cd104c.js} +2 -2
  576. package/www/build/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
  577. package/{dist/web-components-library/p-b96900bb.entry.js → www/build/p-59baa7f5.entry.js} +2 -2
  578. package/www/build/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
  579. package/www/build/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
  580. package/{dist/web-components-library/p-c778bf87.entry.js → www/build/p-5fda8769.entry.js} +3 -3
  581. package/www/build/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
  582. package/www/build/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
  583. package/www/build/{p-e9e2ceb4.entry.js → p-684142d7.entry.js} +2 -2
  584. package/www/build/p-6af67a60.entry.js +2 -0
  585. package/www/build/p-6af67a60.entry.js.map +1 -0
  586. package/www/build/p-6c3d141b.entry.js +2 -0
  587. package/www/build/{p-22ba2a17.entry.js → p-6d11da08.entry.js} +2 -2
  588. package/www/build/{p-b7b972c0.entry.js → p-6d61933f.entry.js} +2 -2
  589. package/www/build/{p-dc086eb5.entry.js → p-6ef58a14.entry.js} +2 -2
  590. package/www/build/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
  591. package/www/build/p-76003048.entry.js +2 -0
  592. package/www/build/p-76003048.entry.js.map +1 -0
  593. package/www/build/{p-0a49dd1c.entry.js → p-7b199026.entry.js} +2 -2
  594. package/www/build/p-7d6c4b21.entry.js +2 -0
  595. package/www/build/p-7d6c4b21.entry.js.map +1 -0
  596. package/www/build/{p-d7f12672.js → p-80285500.js} +2 -2
  597. package/www/build/{p-a2e87cec.entry.js → p-80ddecaf.entry.js} +2 -2
  598. package/www/build/p-839e2478.entry.js +2 -0
  599. package/{dist/web-components-library/p-daa1ffe9.entry.js → www/build/p-84ed6163.entry.js} +2 -2
  600. package/www/build/p-86618221.js +2 -0
  601. package/www/build/p-86618221.js.map +1 -0
  602. package/www/build/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
  603. package/{dist/web-components-library/p-1844a4f4.entry.js → www/build/p-8a53fefb.entry.js} +2 -2
  604. package/www/build/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
  605. package/www/build/{p-28534fb5.entry.js → p-90690d4d.entry.js} +2 -2
  606. package/www/build/{p-307c9c33.entry.js → p-9a63ec80.entry.js} +2 -2
  607. package/www/build/p-9af837bb.entry.js +2 -0
  608. package/www/build/p-a32ebcc3.entry.js +2 -0
  609. package/www/build/p-a7bb5e87.js +2 -0
  610. package/{dist/web-components-library/p-030257b3.js.map → www/build/p-a7bb5e87.js.map} +1 -1
  611. package/www/build/p-b06af2fc.js +2 -0
  612. package/{dist/web-components-library/p-817689d5.entry.js → www/build/p-b1f2388a.entry.js} +3 -3
  613. package/{dist/web-components-library/p-342b0eb0.entry.js → www/build/p-b421424f.entry.js} +2 -2
  614. package/www/build/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
  615. package/www/build/{p-cc18a2b7.entry.js → p-b8211903.entry.js} +2 -2
  616. package/{dist/web-components-library/p-b63c8e8b.entry.js → www/build/p-b854cc3d.entry.js} +2 -2
  617. package/www/build/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
  618. package/www/build/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
  619. package/www/build/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
  620. package/{dist/web-components-library/p-3f5aa623.entry.js → www/build/p-c5d52872.entry.js} +2 -2
  621. package/www/build/p-c5d52872.entry.js.map +1 -0
  622. package/www/build/p-c5e032de.entry.js +2 -0
  623. package/www/build/p-c5e032de.entry.js.map +1 -0
  624. package/{dist/web-components-library/p-028dd72a.entry.js → www/build/p-c645dc11.entry.js} +2 -2
  625. package/www/build/p-c93c6135.entry.js +2 -0
  626. package/www/build/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
  627. package/www/build/{p-30e42fb1.js → p-cb395500.js} +2 -2
  628. package/www/build/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
  629. package/www/build/{p-1c7550f9.entry.js → p-d1a04722.entry.js} +2 -2
  630. package/{dist/web-components-library/p-e3b82454.entry.js → www/build/p-d1fe7960.entry.js} +2 -2
  631. package/www/build/{p-863fd1c4.entry.js → p-d5ebbfdf.entry.js} +2 -2
  632. package/www/build/p-d65aeb54.entry.js +2 -0
  633. package/www/build/{p-2612e3a2.entry.js → p-daa442e6.entry.js} +2 -2
  634. package/www/build/p-db2c3235.entry.js +2 -0
  635. package/www/build/p-db2c3235.entry.js.map +1 -0
  636. package/www/build/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
  637. package/www/build/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
  638. package/www/build/p-de313d96.entry.js +2 -0
  639. package/www/build/{p-5c5882c6.entry.js → p-e38a5dd2.entry.js} +2 -2
  640. package/www/build/p-eb15536d.js +2 -0
  641. package/www/build/p-eb15536d.js.map +1 -0
  642. package/{dist/web-components-library/p-f4bac89b.entry.js → www/build/p-eb9161bc.entry.js} +2 -2
  643. package/www/build/{p-f487290e.entry.js → p-f0f53bb2.entry.js} +2 -2
  644. package/www/build/p-f79010de.js +2 -0
  645. package/{dist/web-components-library/p-19f5b6a9.entry.js → www/build/p-f9e41b2e.entry.js} +2 -2
  646. package/www/build/web-components-library.esm.js +1 -1
  647. package/www/build/web-components-library.esm.js.map +1 -1
  648. package/www/index.html +1 -1
  649. package/dist/cjs/index-97a4c18d.js.map +0 -1
  650. package/dist/cjs/utils-5148245a.js.map +0 -1
  651. package/dist/esm/index-2a6324f8.js.map +0 -1
  652. package/dist/esm/utils-e66d94c3.js.map +0 -1
  653. package/dist/web-components-library/p-030257b3.js +0 -2
  654. package/dist/web-components-library/p-1170826b.js +0 -2
  655. package/dist/web-components-library/p-17af7fb2.js +0 -2
  656. package/dist/web-components-library/p-17af7fb2.js.map +0 -1
  657. package/dist/web-components-library/p-237fcaa9.entry.js +0 -2
  658. package/dist/web-components-library/p-334cba5d.entry.js +0 -2
  659. package/dist/web-components-library/p-334cba5d.entry.js.map +0 -1
  660. package/dist/web-components-library/p-33d2a5db.entry.js +0 -2
  661. package/dist/web-components-library/p-33d2a5db.entry.js.map +0 -1
  662. package/dist/web-components-library/p-3f5aa623.entry.js.map +0 -1
  663. package/dist/web-components-library/p-4c9bf42d.js +0 -2
  664. package/dist/web-components-library/p-6cffbabc.entry.js +0 -2
  665. package/dist/web-components-library/p-6cffbabc.entry.js.map +0 -1
  666. package/dist/web-components-library/p-75e47ecf.entry.js +0 -2
  667. package/dist/web-components-library/p-75e47ecf.entry.js.map +0 -1
  668. package/dist/web-components-library/p-816fd6dc.entry.js +0 -2
  669. package/dist/web-components-library/p-9e3da0b7.entry.js +0 -2
  670. package/dist/web-components-library/p-af5e8524.entry.js +0 -2
  671. package/dist/web-components-library/p-d2035d26.entry.js +0 -2
  672. package/dist/web-components-library/p-d75f8bbb.entry.js +0 -2
  673. package/dist/web-components-library/p-d90d2698.entry.js +0 -2
  674. package/dist/web-components-library/p-deb7f8d7.entry.js +0 -2
  675. package/dist/web-components-library/p-e5407cc1.entry.js +0 -2
  676. package/dist/web-components-library/p-e6778114.js +0 -2
  677. package/dist/web-components-library/p-e6778114.js.map +0 -1
  678. package/www/build/p-030257b3.js +0 -2
  679. package/www/build/p-1170826b.js +0 -2
  680. package/www/build/p-17af7fb2.js +0 -2
  681. package/www/build/p-17af7fb2.js.map +0 -1
  682. package/www/build/p-237fcaa9.entry.js +0 -2
  683. package/www/build/p-334cba5d.entry.js +0 -2
  684. package/www/build/p-334cba5d.entry.js.map +0 -1
  685. package/www/build/p-33d2a5db.entry.js +0 -2
  686. package/www/build/p-33d2a5db.entry.js.map +0 -1
  687. package/www/build/p-3f5aa623.entry.js.map +0 -1
  688. package/www/build/p-4c9bf42d.js +0 -2
  689. package/www/build/p-6cffbabc.entry.js +0 -2
  690. package/www/build/p-6cffbabc.entry.js.map +0 -1
  691. package/www/build/p-75e47ecf.entry.js +0 -2
  692. package/www/build/p-75e47ecf.entry.js.map +0 -1
  693. package/www/build/p-7646bea0.js +0 -2
  694. package/www/build/p-816fd6dc.entry.js +0 -2
  695. package/www/build/p-9e3da0b7.entry.js +0 -2
  696. package/www/build/p-af5e8524.entry.js +0 -2
  697. package/www/build/p-d2035d26.entry.js +0 -2
  698. package/www/build/p-d75f8bbb.entry.js +0 -2
  699. package/www/build/p-d90d2698.entry.js +0 -2
  700. package/www/build/p-deb7f8d7.entry.js +0 -2
  701. package/www/build/p-e5407cc1.entry.js +0 -2
  702. package/www/build/p-e6778114.js +0 -2
  703. package/www/build/p-e6778114.js.map +0 -1
  704. /package/dist/web-components-library/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
  705. /package/dist/web-components-library/{p-460b2068.entry.js.map → p-15951fc6.entry.js.map} +0 -0
  706. /package/dist/web-components-library/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
  707. /package/dist/web-components-library/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
  708. /package/dist/web-components-library/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
  709. /package/dist/web-components-library/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
  710. /package/dist/web-components-library/{p-2ffdfbb1.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
  711. /package/dist/web-components-library/{p-99210133.entry.js.map → p-2501dd29.entry.js.map} +0 -0
  712. /package/dist/web-components-library/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
  713. /package/dist/web-components-library/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
  714. /package/dist/web-components-library/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
  715. /package/dist/web-components-library/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
  716. /package/dist/web-components-library/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
  717. /package/dist/web-components-library/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
  718. /package/dist/web-components-library/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
  719. /package/dist/web-components-library/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
  720. /package/dist/web-components-library/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
  721. /package/dist/web-components-library/{p-b96900bb.entry.js.map → p-59baa7f5.entry.js.map} +0 -0
  722. /package/dist/web-components-library/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
  723. /package/dist/web-components-library/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
  724. /package/dist/web-components-library/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
  725. /package/dist/web-components-library/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
  726. /package/dist/web-components-library/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
  727. /package/dist/web-components-library/{p-e9e2ceb4.entry.js.map → p-684142d7.entry.js.map} +0 -0
  728. /package/dist/web-components-library/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
  729. /package/dist/web-components-library/{p-22ba2a17.entry.js.map → p-6d11da08.entry.js.map} +0 -0
  730. /package/dist/web-components-library/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
  731. /package/dist/web-components-library/{p-dc086eb5.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
  732. /package/dist/web-components-library/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
  733. /package/dist/web-components-library/{p-0a49dd1c.entry.js.map → p-7b199026.entry.js.map} +0 -0
  734. /package/dist/web-components-library/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
  735. /package/dist/web-components-library/{p-a2e87cec.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
  736. /package/dist/web-components-library/{p-d2035d26.entry.js.map → p-839e2478.entry.js.map} +0 -0
  737. /package/dist/web-components-library/{p-daa1ffe9.entry.js.map → p-84ed6163.entry.js.map} +0 -0
  738. /package/dist/web-components-library/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
  739. /package/dist/web-components-library/{p-1844a4f4.entry.js.map → p-8a53fefb.entry.js.map} +0 -0
  740. /package/dist/web-components-library/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
  741. /package/dist/web-components-library/{p-28534fb5.entry.js.map → p-90690d4d.entry.js.map} +0 -0
  742. /package/dist/web-components-library/{p-307c9c33.entry.js.map → p-9a63ec80.entry.js.map} +0 -0
  743. /package/dist/web-components-library/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
  744. /package/dist/web-components-library/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
  745. /package/dist/web-components-library/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
  746. /package/dist/web-components-library/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
  747. /package/dist/web-components-library/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
  748. /package/dist/web-components-library/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
  749. /package/dist/web-components-library/{p-cc18a2b7.entry.js.map → p-b8211903.entry.js.map} +0 -0
  750. /package/dist/web-components-library/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
  751. /package/dist/web-components-library/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
  752. /package/dist/web-components-library/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
  753. /package/dist/web-components-library/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
  754. /package/dist/web-components-library/{p-028dd72a.entry.js.map → p-c645dc11.entry.js.map} +0 -0
  755. /package/dist/web-components-library/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
  756. /package/dist/web-components-library/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
  757. /package/dist/web-components-library/{p-1c7550f9.entry.js.map → p-d1a04722.entry.js.map} +0 -0
  758. /package/dist/web-components-library/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
  759. /package/dist/web-components-library/{p-863fd1c4.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
  760. /package/dist/web-components-library/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
  761. /package/dist/web-components-library/{p-2612e3a2.entry.js.map → p-daa442e6.entry.js.map} +0 -0
  762. /package/dist/web-components-library/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
  763. /package/dist/web-components-library/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
  764. /package/dist/web-components-library/{p-af5e8524.entry.js.map → p-de313d96.entry.js.map} +0 -0
  765. /package/dist/web-components-library/{p-5c5882c6.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
  766. /package/dist/web-components-library/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
  767. /package/dist/web-components-library/{p-f487290e.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
  768. /package/dist/web-components-library/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
  769. /package/dist/web-components-library/{p-19f5b6a9.entry.js.map → p-f9e41b2e.entry.js.map} +0 -0
  770. /package/www/build/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
  771. /package/www/build/{p-460b2068.entry.js.map → p-15951fc6.entry.js.map} +0 -0
  772. /package/www/build/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
  773. /package/www/build/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
  774. /package/www/build/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
  775. /package/www/build/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
  776. /package/www/build/{p-2ffdfbb1.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
  777. /package/www/build/{p-99210133.entry.js.map → p-2501dd29.entry.js.map} +0 -0
  778. /package/www/build/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
  779. /package/www/build/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
  780. /package/www/build/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
  781. /package/www/build/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
  782. /package/www/build/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
  783. /package/www/build/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
  784. /package/www/build/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
  785. /package/www/build/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
  786. /package/www/build/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
  787. /package/www/build/{p-b96900bb.entry.js.map → p-59baa7f5.entry.js.map} +0 -0
  788. /package/www/build/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
  789. /package/www/build/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
  790. /package/www/build/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
  791. /package/www/build/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
  792. /package/www/build/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
  793. /package/www/build/{p-e9e2ceb4.entry.js.map → p-684142d7.entry.js.map} +0 -0
  794. /package/www/build/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
  795. /package/www/build/{p-22ba2a17.entry.js.map → p-6d11da08.entry.js.map} +0 -0
  796. /package/www/build/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
  797. /package/www/build/{p-dc086eb5.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
  798. /package/www/build/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
  799. /package/www/build/{p-0a49dd1c.entry.js.map → p-7b199026.entry.js.map} +0 -0
  800. /package/www/build/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
  801. /package/www/build/{p-a2e87cec.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
  802. /package/www/build/{p-d2035d26.entry.js.map → p-839e2478.entry.js.map} +0 -0
  803. /package/www/build/{p-daa1ffe9.entry.js.map → p-84ed6163.entry.js.map} +0 -0
  804. /package/www/build/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
  805. /package/www/build/{p-1844a4f4.entry.js.map → p-8a53fefb.entry.js.map} +0 -0
  806. /package/www/build/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
  807. /package/www/build/{p-28534fb5.entry.js.map → p-90690d4d.entry.js.map} +0 -0
  808. /package/www/build/{p-307c9c33.entry.js.map → p-9a63ec80.entry.js.map} +0 -0
  809. /package/www/build/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
  810. /package/www/build/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
  811. /package/www/build/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
  812. /package/www/build/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
  813. /package/www/build/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
  814. /package/www/build/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
  815. /package/www/build/{p-cc18a2b7.entry.js.map → p-b8211903.entry.js.map} +0 -0
  816. /package/www/build/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
  817. /package/www/build/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
  818. /package/www/build/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
  819. /package/www/build/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
  820. /package/www/build/{p-028dd72a.entry.js.map → p-c645dc11.entry.js.map} +0 -0
  821. /package/www/build/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
  822. /package/www/build/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
  823. /package/www/build/{p-1c7550f9.entry.js.map → p-d1a04722.entry.js.map} +0 -0
  824. /package/www/build/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
  825. /package/www/build/{p-863fd1c4.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
  826. /package/www/build/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
  827. /package/www/build/{p-2612e3a2.entry.js.map → p-daa442e6.entry.js.map} +0 -0
  828. /package/www/build/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
  829. /package/www/build/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
  830. /package/www/build/{p-af5e8524.entry.js.map → p-de313d96.entry.js.map} +0 -0
  831. /package/www/build/{p-5c5882c6.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
  832. /package/www/build/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
  833. /package/www/build/{p-f487290e.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
  834. /package/www/build/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
  835. /package/www/build/{p-19f5b6a9.entry.js.map → p-f9e41b2e.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"file":"z-color-picker.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,ozCAAozC,CAAC;AACv0C,2BAAe,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AG,QAAQ,CAAC,EAC9C,QAAQ,EAAE,IAAI,CAAC,kBAAkB,IAAI,QAAQ,KAAK,WAAW,IAE7D,WACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,KAAK,0BACY,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,gBAC3C,kBAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAClD,KAAK,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7C,KAAK,EAAE,EAAC,eAAe,EAAE,QAAQ,EAAC,GAC7B,CACA,EACV;SAAA,CAAC,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZColorPicker"],"sources":["src/components/z-color-picker/styles.css?tag=z-color-picker&encapsulation=shadow","src/components/z-color-picker/index.tsx"],"sourcesContent":[":host {\n display: grid;\n width: fit-content;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n gap: var(--space-unit);\n grid-template-columns: repeat(9, calc(var(--space-unit) * 3));\n grid-template-rows: repeat(5, calc(var(--space-unit) * 3));\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\nbutton {\n --border-color: var(--color-surface05);\n\n padding: 0;\n border: none;\n appearance: none;\n background: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\nbutton[data-color=\"#FFFFFF00\"] {\n position: relative;\n}\n\n/* draw a diagonal line from top right corner */\nbutton[data-color=\"#FFFFFF00\"]::after {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );\n border-radius: var(--border-radius);\n content: \"\";\n}\n\nbutton[aria-selected=\"true\"] {\n box-shadow:\n 0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary);\n}\n\nbutton:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton .color-swatch {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--border-color);\n border-radius: var(--border-radius);\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled {\n --border-color: var(--color-disabled01-icon);\n\n cursor: not-allowed;\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled .color-swatch {\n background-color: var(--color-disabled02);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst LOCALES = {\n it: {\n \"Select a color\": \"Seleziona un colore\",\n \"Color swatch\": \"Campione di colore\",\n },\n en: {\n \"Select a color\": \"Select a color\",\n \"Color swatch\": \"Color swatch\",\n },\n} as const;\n\n/** Number of colors in each group (column) of the grid. */\nconst COLOR_GROUP_SIZE = 5;\n\n/** Number of color groups (columns) in the grid. */\nconst COLOR_GROUPS = 9;\n\n/**\n * Color picker component.\n * This component allows the user to pick a color from a predefined set.\n */\n@Component({\n tag: \"z-color-picker\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZColorPicker {\n @Element() host: HTMLZColorPickerElement;\n\n /**\n * The selected color to highlight.\n */\n @Prop({mutable: true})\n selectedColor: ColorPickerPalette;\n\n /**\n * The language for the aria labels inside the color picker.\n */\n @Prop()\n lng: \"it\" | \"en\" = \"it\";\n\n /**\n * The aria-label for the color picker, e.g. \"Select a background color for the label\".\n */\n @Prop()\n htmlAriaLabel: string;\n\n /**\n * Disables the transparent color option.\n * Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` (\"dark gray 2\").\n */\n @Prop()\n disableTransparent = false;\n\n /**\n * Event emitted when a color is selected.\n */\n @Event()\n colorSelected: EventEmitter<ColorPickerPalette>;\n\n /**\n * The color keys arranged in row-major order for rendering and navigation.\n */\n private colorKeysByRow: ColorPickerPalette[] = [];\n\n private _colorButtons: HTMLButtonElement[] = [];\n\n private get colorButtons(): HTMLButtonElement[] {\n if (!this._colorButtons.length) {\n this._colorButtons = Array.from(this.host.shadowRoot.querySelectorAll(\"button\")) as HTMLButtonElement[];\n }\n\n return this._colorButtons;\n }\n\n /**\n * Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).\n * This ensures button indices in the DOM match their visual position in the grid.\n */\n private sortColorKeysByRow(): ColorPickerPalette[] {\n const allKeys = Object.keys(ColorPickerPalette) as ColorPickerPalette[];\n const ordered: ColorPickerPalette[] = [];\n\n // Iterate through visual positions (row by row, left to right)\n for (let row = 0; row < COLOR_GROUP_SIZE; row++) {\n for (let col = 0; col < COLOR_GROUPS; col++) {\n const columnMajorIndex = col * COLOR_GROUP_SIZE + row;\n if (columnMajorIndex < allKeys.length) {\n ordered.push(allKeys[columnMajorIndex]);\n }\n }\n }\n\n return ordered;\n }\n\n /** Move focus to the specified color button by index. */\n private moveFocusTo(index: number): void {\n // Reset tabindex of other buttons and set tabindex to 0 on selected button\n this.colorButtons.forEach((btn, i) => (btn.tabIndex = i === index ? 0 : -1));\n this.colorButtons[index].focus();\n }\n\n @Watch(\"disableTransparent\")\n @Watch(\"selectedColor\")\n validateTransparentSelection(): void {\n if (this.disableTransparent && this.selectedColor === \"#FFFFFF00\") {\n this.selectedColor = \"#333333\"; // Default to dark gray 2 if transparent is disabled and currently selected\n }\n }\n\n @Watch(\"selectedColor\")\n emitColorSelected(): void {\n this.colorSelected.emit(this.selectedColor);\n }\n\n /**\n * Focuses the selected or first enabled color button and makes the container non-tabbable.\n */\n @Listen(\"focus\")\n @Method()\n async setFocus(): Promise<void> {\n // Reset tabindex of all buttons\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n const firstSelectedOrEnabled =\n this.colorButtons.find((btn) => btn.ariaSelected === \"true\") || this.colorButtons.find((btn) => !btn.disabled);\n if (!firstSelectedOrEnabled) {\n return;\n }\n\n firstSelectedOrEnabled.tabIndex = 0;\n setTimeout(() => {\n firstSelectedOrEnabled.focus();\n }, 50);\n // Set container as non-tabbable\n this.host.tabIndex = -1;\n }\n\n /**\n * Compute next index in row-major grid according to keyboard direction.\n */\n private getNextIndexByKey(currentIndex: number, key: string, totalColors: number): number {\n const row = Math.floor(currentIndex / COLOR_GROUPS);\n const col = currentIndex % COLOR_GROUPS;\n let newIndex = currentIndex;\n\n switch (key) {\n case \"ArrowRight\": {\n const newCol = col + 1;\n const newRow = newCol >= COLOR_GROUPS ? (row + 1) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + (newCol % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowLeft\": {\n const newCol = col - 1;\n const newRow = newCol < 0 ? (row - 1 + COLOR_GROUP_SIZE) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + ((newCol + COLOR_GROUPS) % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n case \"ArrowDown\": {\n let newRow = row + 1;\n let newCol = col;\n if (newRow >= COLOR_GROUP_SIZE) {\n // Wrap to first item of next column\n newRow = 0;\n newCol = (col + 1) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowUp\": {\n let newRow = row - 1;\n let newCol = col;\n if (newRow < 0) {\n // Wrap to last item of previous column\n newRow = COLOR_GROUP_SIZE - 1;\n newCol = (col - 1 + COLOR_GROUPS) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n }\n\n return newIndex;\n }\n\n /**\n * Handle keyboard navigation within the color picker.\n * Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!target.dataset.color) {\n return;\n }\n\n const currentIndex = this.colorButtons.indexOf(target as HTMLButtonElement);\n const totalColors = this.colorButtons.length;\n if (currentIndex < 0 || ![\"ArrowRight\", \"ArrowLeft\", \"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n return;\n }\n\n let newIndex = currentIndex;\n let attempts = 0;\n\n do {\n newIndex = this.getNextIndexByKey(newIndex, event.key, totalColors);\n attempts++;\n } while (attempts < totalColors && this.colorButtons[newIndex]?.disabled);\n\n if (\n newIndex !== currentIndex &&\n newIndex >= 0 &&\n newIndex < totalColors &&\n !this.colorButtons[newIndex]?.disabled\n ) {\n this.moveFocusTo(newIndex);\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /**\n * When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.\n */\n @Listen(\"blur\")\n handleBlur(event: FocusEvent): void {\n const relatedTarget = event.relatedTarget as HTMLElement;\n if (!containsElement(this.host, relatedTarget)) {\n this.host.tabIndex = 0;\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n }\n }\n\n componentWillLoad(): void {\n this.colorKeysByRow = this.sortColorKeysByRow();\n }\n\n render(): HTMLZColorPickerElement {\n return (\n <Host\n role=\"listbox\"\n aria-label={this.htmlAriaLabel || LOCALES[this.lng][\"Select a color\"]}\n tabIndex={0}\n >\n {this.colorKeysByRow.map((colorKey: ColorPickerPalette) => (\n <button\n class=\"color-swatch\"\n data-color={colorKey}\n role=\"option\"\n aria-selected={this.selectedColor?.toUpperCase() === colorKey.toUpperCase() ? \"true\" : \"false\"}\n tabIndex={-1}\n onClick={() => (this.selectedColor = colorKey)}\n disabled={this.disableTransparent && colorKey === \"#FFFFFF00\"}\n >\n <div\n class=\"color-swatch\"\n role=\"img\"\n aria-roledescription={LOCALES[this.lng][\"Color swatch\"]}\n aria-label={ColorPickerPalette[colorKey][this.lng]}\n title={ColorPickerPalette[colorKey][this.lng]}\n style={{backgroundColor: colorKey}}\n ></div>\n </button>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -276,7 +276,7 @@ const ZCombobox$1 = /*@__PURE__*/ proxyCustomElement(class ZCombobox extends HTM
276
276
  return (h("div", { class: "check-all-wrapper", id: "option-check-all", role: "option" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: checkAllId, class: this.getCheckboxClass(), label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length, size: this.size === ControlSize.X_SMALL ? ControlSize.SMALL : this.size, onKeyDown: (e) => this.handleSelectArrowsNavigation(e, checkAllId), onInputCheck: (e) => this.checkAll(e.detail.checked), onInputFocus: (e) => this.handleCheckboxFocus(e.detail.id) })));
277
277
  }
278
278
  render() {
279
- return (h("div", { key: '6cb14e4919c53bae374f2c9441b0524a06a4233d', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
279
+ return (h("div", { key: '9a0d431f62c66d50dfbafedef62515f282909bf5', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
280
280
  }
281
281
  get element() { return this; }
282
282
  static get watchers() { return {
@@ -31,9 +31,9 @@ const ZCoverHero$1 = /*@__PURE__*/ proxyCustomElement(class ZCoverHero extends H
31
31
  return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '1eb5d39f26e19f213d435c185167eb83500225f3' }, this.variant === CoverHeroVariant.STACKED &&
34
+ return (h(Host, { key: 'b10d16e5490c00d087ec8677e5453a989aca05cd' }, this.variant === CoverHeroVariant.STACKED &&
35
35
  this.contentPosition === CoverHeroContentPosition.TOP &&
36
- this.renderContent(), h("div", { key: '61c495773839b7741f674719325fe98a65956986', class: "main-container" }, h("div", { key: '0ea2f83f40f60017fb2e7a4501cb67c34d954f6c', class: "cover-container" }, h("slot", { key: '68a40d93440b22ce2afb9ff8db3cb9ca90ec7263', name: "cover" })), h("slot", { key: 'c29feaf859382807e0e55bcf2db27a98387c2e96', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
36
+ this.renderContent(), h("div", { key: 'c920eda8a79cd4b7f70f3cdc7e3690b57a117bd9', class: "main-container" }, h("div", { key: '4b74fde8b3d196a772489f381e46ef5690f1d9cf', class: "cover-container" }, h("slot", { key: '4a67176c23dd62d34bc69a0c236bf9adc3b5088c', name: "cover" })), h("slot", { key: 'e71151ae06cc7c30436af153d6192fc2faf4f6ba', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
37
37
  this.contentPosition === CoverHeroContentPosition.BOTTOM &&
38
38
  this.renderContent()));
39
39
  }
@@ -468,7 +468,7 @@ const ZDatePicker$1 = /*@__PURE__*/ proxyCustomElement(class ZDatePicker extends
468
468
  } })));
469
469
  }
470
470
  render() {
471
- return (h("div", { key: 'db9b98d1f344ed89c8b3b8bdee4c19106167a3eb', class: {
471
+ return (h("div", { key: '7af62de77a975adae6ec80c7ca307418fd9b0b9d', class: {
472
472
  "flatpickr-toggle-container": true,
473
473
  [this.flatpickrPosition]: true,
474
474
  [this.mode]: true,
@@ -42,7 +42,7 @@ const ZFile$1 = /*@__PURE__*/ proxyCustomElement(class ZFile extends HTMLElement
42
42
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'b7c1c1769e8ad69c813738b1ad1ed614a42e196e' }, this.allowPopover && (h("z-popover", { key: 'eaad804518f26a1a839bc8ff14896207ee90bad8', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'eb9671344deee0deafdff01be57cd5dbf948a614', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: '7c890fb667a33cd00290d02e42313be683e2215e', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: 'f0a0464a0b8a3f98e94de5a4673589518f24c2a0', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
45
+ return (h(Host, { key: '4fd330617a5330591a1e9125bd162ae74456c863' }, this.allowPopover && (h("z-popover", { key: '7c37b77761185ac637c454b33345ec4d630b50b5', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'b802f0baae111a01c5e48c5bf2988ed715229e0b', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: '9ddf7af0eaa5ec260b1d3874e0950132e4529a4e', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: 'a99c6c085e214bad666cc949b358d8dbeebd0ecf', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
46
46
  }
47
47
  get el() { return this; }
48
48
  static get style() { return ZFileStyle0; }
@@ -17,7 +17,7 @@ const ZInfoBox$1 = /*@__PURE__*/ proxyCustomElement(class ZInfoBox extends HTMLE
17
17
  this.infoBoxClose.emit({ boxid: this.boxid });
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '18298328abf8d0e88340408882bdc529b55c1a28', id: this.boxid }, h("slot", { key: '297bb1bbd8e6adc082e3552ac2222983b1b11211', name: "content" }), this.isclosable && (h("z-icon", { key: 'fa3fa5831984754d4c8533d23437a4773bf926a6', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
20
+ return (h("div", { key: '770d8904081080758219f87d24f5a56846f1fad1', id: this.boxid }, h("slot", { key: 'a6fa079647709fc3c8326c2d73cdd1da884c4b58', name: "content" }), this.isclosable && (h("z-icon", { key: '63de143e010971175608c651d2d2f0c87ee98797', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
21
21
  }
22
22
  static get style() { return ZInfoBoxStyle0; }
23
23
  }, [1, "z-info-box", {
@@ -23,7 +23,7 @@ const ZLogo$1 = /*@__PURE__*/ proxyCustomElement(class ZLogo extends HTMLElement
23
23
  if (this.height) {
24
24
  style["height"] = style["max-height"] = `${this.height}px`;
25
25
  }
26
- return (h(Host, { key: '75a515faadd75ea3f21ae80ca6a4f579223ad1cd', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
26
+ return (h(Host, { key: '7e752127614823afe2441a9d3d316d9974f593d1', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
27
27
  }
28
28
  static get style() { return ZLogoStyle0; }
29
29
  }, [1, "z-logo", {
@@ -100,7 +100,7 @@ const ZMenuDeprecated$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuDeprecated
100
100
  return (h("div", { class: "menu-label" }, h("div", { class: "menu-label-content" }, h("slot", { onSlotchange: this.onLabelSlotChange }))));
101
101
  }
102
102
  render() {
103
- return (h(Host, { key: '74b5b32d29db7c6e7d241f1583a2df27979fb4f8' }, this.renderMenuLabel(), this.hasContent && (h("div", { key: '6bdfeb0e2d900a53e69a15861c1c5d6337fcf972', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (h("header", { key: 'da9c528915686f2b5fcface1483822df96abca6b', class: "header" }, h("slot", { key: '692467f0246d129d75525a5097529d8c2a8f6817', name: "header", onSlotchange: this.checkContent }))), h("div", { key: '639ffcb514c6d95d7dca908b2c0cbf142f42a9e3', class: "items", role: "menu" }, h("slot", { key: '783021819f17a536746670de911ebef9665e8e99', name: "item", onSlotchange: this.onItemsChange }))))));
103
+ return (h(Host, { key: '2e51f6e5df94d3903783dcb20fe66abdf59a1549' }, this.renderMenuLabel(), this.hasContent && (h("div", { key: 'b9c3ba5e930a06834d4de361b6dc30a1db9c6ae6', class: "content", ref: (el) => (this.content = el) }, this.hasHeader && (h("header", { key: 'eaa017e5442ed56ebb70453e9717e737d3da1e1b', class: "header" }, h("slot", { key: 'bd28e8f9b2922f2839a6bdaa4794ca26c7b2b030', name: "header", onSlotchange: this.checkContent }))), h("div", { key: 'b948fbb21e94debc85b07a4d03c85628d4b23268', class: "items", role: "menu" }, h("slot", { key: '5299535cab84e8b4812401eff27951386ed16573', name: "item", onSlotchange: this.onItemsChange }))))));
104
104
  }
105
105
  get hostElement() { return this; }
106
106
  static get watchers() { return {
@@ -48,7 +48,7 @@ const ZMenuSectionDeprecated$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuSec
48
48
  this.checkContent();
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: 'cb55ccb8c7327254eabaab573f6fb0a5ae2ac361', role: "menu", open: this.open }, h("button", { key: '5065f38502c4bb0167bb7332e0e8ba0dd36541df', class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, h("slot", { key: '67a5082482b73f27f8244f730ac88da14d4db6c4', onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && h("z-icon", { key: 'b513a5c76223e7a83162cc3b28434c53124b135c', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (h("div", { key: '4f43962d01e60cea802f06413acae360ead32aa0', class: "items" }, h("slot", { key: '020f1235a37a99e274e9f4d611153f4915c9cd41', name: "item", onSlotchange: this.checkContent.bind(this) })))));
51
+ return (h(Host, { key: 'a692eb50b30a7cc66e08acf8259a9a7617c053c5', role: "menu", open: this.open }, h("button", { key: '7223a1fe109ea3a9c475ed673e9d3c05aa1dade8', class: "label", "aria-pressed": this.open ? "true" : "false", onClick: this.toggle.bind(this) }, h("slot", { key: '4415e7a61bde97fa0e89552fd464d4e9c6a6c77a', onSlotchange: this.onLabelSlotChange.bind(this) }), this.hasContent && h("z-icon", { key: 'b9af6fa6ab900869a4f2681e05042ab9a6860c35', name: this.open ? "chevron-up" : "chevron-down" })), this.open && (h("div", { key: '791812e95224a678f5481eb21af8b86e5aa46157', class: "items" }, h("slot", { key: '9ba3cbdfa55a6d8cd0ffc11c3520eb7b2cb8feb5', name: "item", onSlotchange: this.checkContent.bind(this) })))));
52
52
  }
53
53
  get hostElement() { return this; }
54
54
  static get style() { return ZMenuSectionDeprecatedStyle0; }
@@ -179,7 +179,7 @@ const ZMenuSection$1 = /*@__PURE__*/ proxyCustomElement(class ZMenuSection exten
179
179
  this.onItemsChange();
180
180
  }
181
181
  render() {
182
- return (h(Host, { key: '4fbaa9a39d87fd247d605d32e81f37293671d95b', open: this.open }, h("button", { key: '25b5f34bb741671781fddabe18694a92d19c06c9', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '9ed5d1309acb2f8a17a583e7a96eddc8741da7c2', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '1677b363b4894c04bee3cae53a604baad136236a', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '74f37c1f2850cca5bf7fe756107c6984f3a7dd13', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: '8382266ea2f2a3c04beab0d6304a459a5f56a48b', name: "section", onSlotchange: this.onItemsChange }))));
182
+ return (h(Host, { key: 'a859947e3015a104f32db157c715982a1ed29cf5', open: this.open }, h("button", { key: '5c130955c62fcce5d88b92312076da69f307eaee', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '28557c741c733149ea51ca68f499374dcf2eb134', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: 'bfa97fe61fde93902531e09dcdeb729066d2e66f', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: 'd9a7df39c426fecbc3beeefc2f5a08aed3f2ccbf', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'e2f14a7cf055715bbbb8b712a3d112af3b712031', name: "section", onSlotchange: this.onItemsChange }))));
183
183
  }
184
184
  get host() { return this; }
185
185
  static get watchers() { return {
@@ -317,7 +317,7 @@ const ZMenu$1 = /*@__PURE__*/ proxyCustomElement(class ZMenu extends HTMLElement
317
317
  "floating": [516],
318
318
  "open": [1540],
319
319
  "verticalContext": [516, "vertical-context"],
320
- "htmlTabindex": [2, "html-tabindex"],
320
+ "htmlTabindex": [1026, "html-tabindex"],
321
321
  "hasHeader": [32],
322
322
  "hasContent": [32],
323
323
  "setFocus": [64],
@@ -1 +1 @@
1
- {"file":"z-menu.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,kwHAAkwH,CAAC;AACrxH,oBAAe,SAAS;;ACGxB,MAAM,cAAc,GAAG,CAAC,EAAyC,KAC/D,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,MAAK,gBAAgB,CAAC;MAatBA,OAAK;IAwDhB,IAAY,aAAa;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,KAAK,CAAC,GAAG,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC;KAC1G;IAEO,MAAM;QACZ,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;KACxB;;;;;IAMO,iBAAiB,CAAC,EAAS;QACjC,MAAM,YAAY,GAAI,EAAE,CA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IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACpD,EAET,WACE,KAAK,EAAC,SAAS,EACf,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAE/B,IAAI,CAAC,SAAS,KACb,cAAQ,KAAK,EAAC,QAAQ,IACpB,YACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE,IAAI,CAAC,YAAY,GAC/B,CACK,CACV,EAED,WACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEX,YACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZMenu"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop()\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-menu.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,kwHAAkwH,CAAC;AACrxH,oBAAe,SAAS;;ACGxB,MAAM,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YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,CAC1C,EACN;SACH;QAED,QACE,EAAC,IAAI,QACH,cACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EACpC,KAAK,EAAC,YAAY,mBACH,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,mBAChB,GAAG,IAAI,CAAC,UAAU,EAAE,gBACvB,IAAI,CAAC,IAAI,GAAG,aAAa,GAAG,WAAW,EACnD,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,YAAY,EAC1B,SAAS,EAAE,IAAI,CAAC,cAAc,IAE9B,YAAM,YAAY,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAC9C,cAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,YAAY,GAAG,cAAc,GAAI,CACpD,EAET,WACE,KAAK,EAAC,SAAS,EACf,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAE/B,IAAI,CAAC,SAAS,KACb,cAAQ,KAAK,EAAC,QAAQ,IACpB,YACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE,IAAI,CAAC,YAAY,GAC/B,CACK,CACV,EAED,WACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,IAEX,YACE,IAAI,EAAC,MAAM,EACX,YAAY,EAAE,IAAI,CAAC,aAAa,GAChC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZMenu"],"sources":["src/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","src/components/z-menu/index.tsx"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst isZMenuSection = (el: HTMLElement | HTMLZMenuSectionElement): el is HTMLZMenuSectionElement =>\n el?.tagName === \"Z-MENU-SECTION\";\n\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\n@Component({\n tag: \"z-menu\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenu {\n @Element() host: HTMLZMenuElement;\n\n /** Flag to set the active status of the menu. */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Flag to set the display mode of the list.\n * If true, the list will be absolutely positioned under the menu label,\n * stacked beneath it otherwise.\n */\n @Prop({reflect: true})\n floating? = true;\n\n /** The opening state of the menu. */\n @Prop({mutable: true, reflect: true})\n open = false;\n\n /**\n * Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\n * A small border is placed under it as a separator from other elements.\n */\n @Prop({reflect: true})\n verticalContext = false;\n\n /**\n * Tabindex value to set on the menu label.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\n */\n @Prop({mutable: true})\n htmlTabindex = -1;\n\n @State()\n hasHeader: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The menu has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The menu has been closed. */\n @Event()\n closed: EventEmitter;\n\n private labelButton: HTMLButtonElement;\n\n private content: HTMLElement;\n\n private items: (HTMLElement | HTMLZMenuSectionElement)[] = [];\n\n /** Animation frame request id. */\n private raf: number;\n\n private get focusableItem(): HTMLZMenuSectionElement | HTMLElement | null {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n this.setLabelA11yAttrs();\n }\n\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n private reflow(live = false): void {\n if (!this.floating) {\n return;\n }\n\n if (this.content && this.hasContent) {\n const {style} = this.content;\n const {left} = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n\n private setItemTabindex(item: HTMLElement | HTMLZMenuSectionElement, tabIndex: number): void {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n } else {\n item.tabIndex = tabIndex;\n }\n }\n\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n private setItemsA11yAttrs(): void {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n\n private onItemsChange(): void {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({slot}) => slot === \"item\") as HTMLElement[];\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n private moveFocus(\n receiver: HTMLElement | HTMLZMenuSectionElement,\n current?: HTMLElement | HTMLZMenuSectionElement\n ): void {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n } else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n\n this.setItemTabindex(current, -1);\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n\n return;\n }\n\n if (!this.verticalContext) {\n return;\n }\n\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : (this.host.firstElementChild as HTMLElement);\n label.focus();\n }\n\n /**\n * Focus the last item.\n */\n @Method()\n async focusLastItem(): Promise<void> {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n\n return;\n }\n\n this.moveFocus(lastItem);\n }\n\n @Watch(\"open\")\n onOpenChanged(): void {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n\n return;\n }\n\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n\n @Watch(\"htmlTabindex\")\n setLabelA11yAttrs(): void {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n\n return;\n }\n\n const slottedLabel = this.host.firstElementChild as HTMLElement;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n @Listen(\"click\", {target: \"document\"})\n onItemClick(ev: MouseEvent): void {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target as HTMLElement));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n } else {\n item.tabIndex = -1;\n }\n });\n }\n }\n\n @Listen(\"keydown\")\n onKeyDown(ev: KeyboardEvent): void {\n if (!this.hasContent) {\n return;\n }\n\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver ?? this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n\n const receiver = this.items[currentIndex - 1] ?? this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n\n componentWillLoad(): void {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n\n render(): HTMLDivElement | HTMLZMenuElement {\n if (!this.hasContent) {\n return (\n <div class=\"menu-label\">\n <slot onSlotchange={this.onLabelSlotChange} />\n </div>\n );\n }\n\n return (\n <Host>\n <button\n ref={(el) => (this.labelButton = el)}\n class=\"menu-label\"\n aria-expanded={`${!!this.open}`}\n aria-haspopup={`${this.hasContent}`}\n aria-label={this.open ? \"Chiudi menù\" : \"Apri menù\"}\n role=\"menuitem\"\n tabIndex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />\n </button>\n\n <div\n class=\"content\"\n ref={(el) => (this.content = el)}\n >\n {this.hasHeader && (\n <header class=\"header\">\n <slot\n name=\"header\"\n onSlotchange={this.checkContent}\n />\n </header>\n )}\n\n <div\n class=\"items\"\n role=\"menu\"\n >\n <slot\n name=\"item\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -56,7 +56,7 @@ const ZMyzCardAlert$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardAlert ext
56
56
  }
57
57
  }
58
58
  render() {
59
- return (h("div", { key: '73de41fcf16d7def773d63fb87b1d3a39e0619cf', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: '8ed39f9dea3fc6fc2575e8e731a433ed3b5eb3e6', type: this.getAlertType() }, h("div", { key: 'efb81456a561b50027667a7aa58583b353f84a07', class: "relative-container" }, h("z-icon", { key: '4e6f621da2fa1d95422e4ad734836403b554a9b9', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'f73f48f20ec198e2ae08c212f9647436fdddcd3d', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'abbbc3d619829044615657d29f6af4849f9ff27f', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
59
+ return (h("div", { key: 'de35ab9329973e2abf430b613474a58611dc9020', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: 'bd5258ea5f38e20d6efcce6a64976a6bea1dae46', type: this.getAlertType() }, h("div", { key: 'f97cbf6a6c9b0d27922142c4e163993de25ed713', class: "relative-container" }, h("z-icon", { key: 'e14067bce09f626b3cc0cfa85640d6c51b6207ba', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'cc33afd45ffc783b86d869d9da9ad9137c8133d1', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'c6799d07af9bdfc1e203644a16dabda65e809dba', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
60
60
  this.handleActionButtonClick(e);
61
61
  }, onKeyPress: (e) => {
62
62
  this.handleSpaceKeyPress(e);
@@ -31,7 +31,7 @@ const ZMyzCardDictionary$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardDict
31
31
  this.cardFlipped.emit(showBack);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: 'a0474433057659bcb67ef2b797a6047f90bd5440' }, h("z-myz-card", { key: 'efa1f2c8832fd2cc1ea057840059be67a16e3fdd' }, h("z-myz-card-header", { key: '38eef5801a486eb0d4b024fb7a050c76ad8af298', titolo: this.name }), h("div", { key: '415afa8d0500dbd40c5075e0cb46219656234d99', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: '4b6a60e5e0f601204c6a44a61eae4150958176cd', class: "front" }, h("z-myz-card-body", { key: 'd1a4b3b1427fb158876b4c16673bc00b931cccb5' }, h("z-myz-card-cover", { key: 'f665c202781a4524654428400f31382a8f74b890', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: '40c8d21689a0aec3f2f195aa6128db28331be614', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '58d51c4badd5807b9e918eb31e0194d3191b7c10', class: "back" }, h("slot", { key: '1e44e28b5a96e398e9c14234933aa54ad361fa1f', name: "info" }))), h("slot", { key: '796b2270fc63bd5f25905c5f823d05c7237d18da' }))));
34
+ return (h("div", { key: '2fdbc0c37b80268d3af1d4c8b170d9218319a1d9' }, h("z-myz-card", { key: 'd1a8d5391792b9624475480854603e4c3f54e270' }, h("z-myz-card-header", { key: '3797b4f4c34948fe0469b3c0ae669bcbda596045', titolo: this.name }), h("div", { key: '8f4ebd1eb315669987aff0bb45af98e42508fb82', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'c21e290ecfba6f8621574972ab3fae2a4172ce71', class: "front" }, h("z-myz-card-body", { key: '0949f522ac5046bb8e9aa6839ccd7e304d1155ee' }, h("z-myz-card-cover", { key: '3cbcd5015a7b9bc32caabb489425d85d683004c3', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: 'f5f133d27ab294c9e2a931420d82ae3b8b3e791f', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '4a390b5c597f9b7379f1a5a2760bbdaff11d1997', class: "back" }, h("slot", { key: '3d9f5a5ff414a81d8fbe4747770da70e404107d8', name: "info" }))), h("slot", { key: '847e96d805ade00dc8d5e96e2593f65e99edc198' }))));
35
35
  }
36
36
  static get style() { return ZMyzCardDictionaryStyle0; }
37
37
  }, [1, "z-myz-card-dictionary", {
@@ -10,7 +10,7 @@ const ZMyzCardFooterSections$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCard
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h("div", { key: '8752f5693a9cd8561849f630067c1de37e4756bd' }, h("footer", { key: '081a20bcf923efe3b769e4e8d1f5b2199a8d8b81' }, h("div", { key: '72bfc00be9c66460dbcace344f6c0e9f8cd8e9b9', class: "top" }, h("slot", { key: '38eda715a4be3c715bdf4eb75c4332dd8d65e39b', name: "top" })), h("div", { key: '0f29a8ecb2233df5ad28ab834bed3056e4e4c1e5', class: "bottom" }, h("slot", { key: '48aab990a4c8444c625ae8ac14f06f460c4abdae', name: "bottom" })))));
13
+ return (h("div", { key: 'ecab1780cee45e44e63448b463b6a7c4ba23e5ae' }, h("footer", { key: '2d99b9654fc18a3ca45ea9b016c29b5f8c1ed997' }, h("div", { key: '908d31fc4595aa9b4ca69dad77e38dbdac7f5756', class: "top" }, h("slot", { key: 'c14af373c3ac35b26b2afd803bad3273d65e195d', name: "top" })), h("div", { key: '2eba1ad852360d325ea70d98bc31505c4728eb9b', class: "bottom" }, h("slot", { key: '23cdc79b4f721ee266f317973a9e7e0ef79e6fd6', name: "bottom" })))));
14
14
  }
15
15
  static get style() { return ZMyzCardFooterSectionsStyle0; }
16
16
  }, [1, "z-myz-card-footer-sections"]);
@@ -62,7 +62,7 @@ const ZMyzCardFooter$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardFooter e
62
62
  return this.host.querySelector("[slot=list] > li a");
63
63
  }
64
64
  render() {
65
- return (h("div", { key: '7b0479b93d61f8d182ad5269333630361c652797', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '59324b2757ba2f9332ea06bdfb11a85732466ec3', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: '3f1c486e9a8e7f6db48f6a5cd8eda7f8e052bcf0', class: "toggle" }, h("slot", { key: 'a4f3634cf6be3d79a8453f1529928cecb3babfef', name: "toggle" })), this.titolo && h("p", { key: '933b6baf1071591e1335396e66e9080ff165866e', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: '834e49c6d7c0ae61ff5822649f3c67001c645d23', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: '584ea59693ce6c16a54493c16ea050ea01a3be3c' }, h("p", { key: 'e2fec0db112fe8ef05d8673f0a1e79f24a57f302', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '2d6a3fbf5689c100fbed7333ad8a357e26d54970', title: this.getTitleAuthors() }, h("span", { key: 'e67cfd15c8103539a836db83d2b4d02f4c8aaf93', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'baf170aabdb3814b6d594a55e1e5d13757d31df9', class: "year-isbn" }, h("span", { key: '177324ca661350ebfa145715fc52ec58199e61fc', class: "isbn" }, h("span", { key: 'a78a8007d945837cc78d6df7a6ab2b91ad5f74fd' }, h("span", { key: '64173a3d213eb147b18bc801719b7e9c481c5a04', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: 'e7c65aff9800a923085af1c793a3127423490493', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: 'c8d251da5c5f4dc121295415a14ccdf66f2f77a0', name: "list" })))), this.customContent && h("slot", { key: '659c4589702dd06ea81a9041c6e14a724992618b', name: "content" })));
65
+ return (h("div", { key: '35da87d8b6c298e1d275dfd560e188392f6b4240', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '19cb5c6be1332e1368a95e9f1c9fd75eab180537', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: '6c60c797a38297dae9bd0d20de05d1b1fc56eabe', class: "toggle" }, h("slot", { key: 'b8f05dfa48ac55abe1973edc1362c058cd6229ae', name: "toggle" })), this.titolo && h("p", { key: '2351683832e396830b209cd79f4e1dfda4ea0a06', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'a9c3fa81d7782a6435a25ff11cc441387dd5d2f5', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: 'db438000b8945a0e475f4d87210d434a9ed89291' }, h("p", { key: 'fcded55527c89607c612f3bf5df8930d8f5f4f03', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '293942b64d7bd650a9da699d1af2352ce655b3a6', title: this.getTitleAuthors() }, h("span", { key: '8a160dd2f564a8b13aaf1851e0f816ddd6f76900', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'f229c0892190257e3b3c524d18287025b00d9935', class: "year-isbn" }, h("span", { key: '696be9c4b7d1241631984dcd03843ead0797bb49', class: "isbn" }, h("span", { key: '61b3408ac1241e71fead90968d4fca0ee431a524' }, h("span", { key: 'b849e83f4a918865903eb11fe2a5419ab23f6d2a', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '855603b8a51aeee7d473dc3db00e26a298be7220', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: '020d4cd75c9f90ec3f61f287dd92e8d36f1bf4a2', name: "list" })))), this.customContent && h("slot", { key: '0777c84a347b457b6f92c19100ac12d452356bb6', name: "content" })));
66
66
  }
67
67
  get host() { return this; }
68
68
  static get style() { return ZMyzCardFooterStyle0; }
@@ -14,7 +14,7 @@ const ZMyzCardIcon$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardIcon exten
14
14
  this.ariaLabel = "";
15
15
  }
16
16
  render() {
17
- return (h("button", { key: '511b34381c62707a1408a9769536d3d0ba3223bb', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: 'a935b5d22370a4e7a35a458a6c92ee0aa1a7918a' }, h("z-icon", { key: '91f7d3cb733dff820b3429d1efea2c790d739df2', name: this.icon, width: 16, height: 16 }))));
17
+ return (h("button", { key: '8cf0706cb512e898631d0be8c684f71fdabae5ad', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: '60d66f1cd2ce59f2fda0b2c0c3be76464aafee42' }, h("z-icon", { key: '32fdcb582bb5be5e2fe65218c878b598a562aa90', name: this.icon, width: 16, height: 16 }))));
18
18
  }
19
19
  static get style() { return ZMyzCardIconStyle0; }
20
20
  }, [1, "z-myz-card-icon", {
@@ -121,7 +121,7 @@ const ZMyzCardInfo$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardInfo exten
121
121
  return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", h("b", null, this.cardData.offlineLicense.expiration), h("br", null), "Installazioni disponibili: ", h("b", null, this.cardData.offlineLicense.installations)));
122
122
  }
123
123
  render() {
124
- return (h("div", { key: 'b92068a65906ed7ea0aad97d591085fdc7959bfa' }, this.renderCloseIcon(), h("div", { key: 'c96a25a92165b7a7741413e3aa85e42d4f3dcf82', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '9b2ce0862ca8c6910bff49675c264b5fb06065e7', class: "cta-wrapper" }, h("slot", { key: '1de5c2a82c9058ff8a09ef78954ad7f423f5c46e' }))));
124
+ return (h("div", { key: '33d2316b245cb7639f3ffaddd9e3af836a893b43' }, this.renderCloseIcon(), h("div", { key: 'b9b5af413eabc3c3cfbc2c301764e17211d3be64', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '7e0bc24301074fdc5541421fcb9ba0a58f65b306', class: "cta-wrapper" }, h("slot", { key: '4e573ed4019c8f24f92ca27d54b67ca4a80d766b' }))));
125
125
  }
126
126
  static get style() { return ZMyzCardInfoStyle0; }
127
127
  }, [1, "z-myz-card-info", {
@@ -30,7 +30,7 @@ const ZMyzCardList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzCardList exten
30
30
  });
31
31
  }
32
32
  render() {
33
- return h("ul", { key: 'c91dbbb86c76aea64ed1faeb614d13d0f42ca93f' }, this.renderList(JSON.parse(this.listdata)));
33
+ return h("ul", { key: 'cce7f1087e4ae9ebc4cc4f9fd3750a82762348ae' }, this.renderList(JSON.parse(this.listdata)));
34
34
  }
35
35
  static get style() { return ZMyzCardListStyle0; }
36
36
  }, [1, "z-myz-card-list", {
@@ -26,7 +26,7 @@ const ZMyzList$1 = /*@__PURE__*/ proxyCustomElement(class ZMyzList extends HTMLE
26
26
  }
27
27
  render() {
28
28
  const lastElem = this.list ? this.list.length - 1 : -1;
29
- return (h("ul", { key: '8180625a6fea4c9e381f4d05d31bd27ab75b0f8c' }, this.list &&
29
+ return (h("ul", { key: '0d63299c1c3d2dfca39396e75703a1b2ed979d3f' }, this.list &&
30
30
  this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
31
31
  }
32
32
  static get watchers() { return {
@@ -222,10 +222,10 @@ const ZNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class ZNavigationTabs
222
222
  (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
223
223
  }
224
224
  render() {
225
- return (h(Host, { key: '69bc5562051734e576c1dbb2af850ef01a70a693', class: {
225
+ return (h(Host, { key: 'c676fe99b0eb18fceb58ffa7412e4e1659acc89e', class: {
226
226
  "interactive-2": this.size === NavigationTabsSize.SMALL,
227
227
  "interactive-1": this.size !== NavigationTabsSize.SMALL,
228
- }, scrollable: this.canNavigate }, h("button", { key: 'c851af9053873ea70d1dee5216bb680deea111f0', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '6a69b89400fea7a87fd18d8d59e183b85aa0c87f', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '997e215eecc0454b96e0034fece50be22cb1eef0', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: '8a214ee36e66badda0a8825fbe7c2268ff0fc6df' })), h("button", { key: '627501af784136a1eff68c0e002812144062128e', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '68728de5a048363fd186c4a26cc8872fd4b0253e', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
228
+ }, scrollable: this.canNavigate }, h("button", { key: 'e353cd0e1e22d6e4422f547a318819b3f2736479', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '9d7e5126d77fbebf48423f0b34103bd1eb59dc3a', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '854e67c8c662c21926c71fab0725113632f6f14e', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'a4fdefd6a4419c97b4bfab349c88285abe37f14f' })), h("button", { key: 'bf0247eaef092c9b0dd068fe0d4876e3aaecad4e', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '02018a4474db67cf853941a2d6daa002303419c7', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
229
229
  }
230
230
  get host() { return this; }
231
231
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './index10.js';
3
3
 
4
- const stylesCss = ":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)}}";
4
+ const stylesCss = ":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)}}";
5
5
  const ZNotificationStyle0 = stylesCss;
6
6
 
7
7
  const ZNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZNotification extends HTMLElement {
@@ -30,7 +30,7 @@ const ZNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZNotification ext
30
30
  }
31
31
  render() {
32
32
  var _a;
33
- return (h(Host, { key: 'aac3e6385d2f77e80c9933e666770e3da17c21a5' }, this.contenticonname && (h("z-icon", { key: '1ba77acd6db4e01ac47ae605c4ab05a345999462', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '9df24bcba7a1f49c803f339a0ac5ddafc08c03c9', class: "content-container" }, h("div", { key: 'bd1a76905a9c14fa77a1704a127a65a8ba9adab8', class: "content-text" }, h("slot", { key: 'b126d399950149b0d4cd94d3c2480678d7f91a97' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '63f56578ed42e720c20b57424c1d824729279e36', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '81ccf6858d6b559a23b1c9266d8af55e7bd3a2f2', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '96c95d07ef561d4b900acefaef90e00d85dc3904', name: "multiply-circle", width: 16, height: 16 })))));
33
+ return (h(Host, { key: '5bc1e8046c14e46f02f9667939709a267cb1265a' }, this.contenticonname && (h("z-icon", { key: '7a944afae100f5fea48ca8499b6a0a035a6d289e', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '038391eb846f043bc83c236e6e18998797bcb7a3', class: "content-container" }, h("div", { key: '330233ee7524fb271ffa5231a86b6cd906b2994d', class: "content-text" }, h("slot", { key: '290343fa633f1969d4f1059047797b16c3da9860' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '096b5cfdb55bac40adc9b2f56b9a4dc739ad4cc1', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '80d985cbcd6501f9640dc2e16ac978de731a0d24', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'd7fe5573c93ac7ab36ccbecc01972b8d3cccc8bd', name: "multiply-circle", width: 16, height: 16 })))));
34
34
  }
35
35
  static get style() { return ZNotificationStyle0; }
36
36
  }, [1, "z-notification", {
@@ -1 +1 @@
1
- {"file":"z-notification.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,i0DAAi0D,CAAC;AACp1D,4BAAe,SAAS;;MCYXA,eAAa;IAgChB,uBAAuB,CAAC,CAAa;QAC3C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAMO,sBAAsB,CAAC,CAAa;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAED;;;;;;;;;yBA/BsB,KAAK;0BAOJ,KAAK;sBAIT,KAAK;QAqBtB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtE;IAED,MAAM;;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,eAAe,KACnB,+DACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,CAAC,eAAe,EAC1B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACH,EACD,4DAAK,KAAK,EAAC,mBAAmB,IAC5B,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAa,CACT,EACL,CAAC,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,IAAI,EAAE,CAAA,KACxB,+DACE,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,UAAU,CACT,CACV,CACG,EACL,IAAI,CAAC,SAAS,KACb,+DACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,sBAAsB,IAEpC,+DACE,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZNotification"],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host[sticky] {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host[sticky],\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-notification.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,q0DAAq0D,CAAC;AACx1D,4BAAe,SAAS;;MCYXA,eAAa;IAgChB,uBAAuB,CAAC,CAAa;QAC3C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAMO,sBAAsB,CAAC,CAAa;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAED;;;;;;;;;yBA/BsB,KAAK;0BAOJ,KAAK;sBAIT,KAAK;QAqBtB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtE;IAED,MAAM;;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,eAAe,KACnB,+DACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,CAAC,eAAe,EAC1B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACH,EACD,4DAAK,KAAK,EAAC,mBAAmB,IAC5B,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAa,CACT,EACL,CAAC,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,IAAI,EAAE,CAAA,KACxB,+DACE,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,UAAU,CACT,CACV,CACG,EACL,IAAI,CAAC,SAAS,KACb,+DACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,sBAAsB,IAEpC,+DACE,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZNotification"],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -24,7 +24,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
24
24
  this.otpRef = [...Array(this.inputNum)];
25
25
  }
26
26
  render() {
27
- return (h("div", { key: '3280158fc2eb52cab06257cfea6237b04e277514', class: "otp-container" }, h("div", { key: 'b237b9c77421eeae14d5bac7e079b4f6b667ceed', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
27
+ return (h("div", { key: 'b6f43ce8aff8bc764836909975f11de3debbd2fc', class: "otp-container" }, h("div", { key: 'e912fdc3e529c4513786b0fe6c517ec8d66366f6', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
28
28
  if (e.keyCode > 47) {
29
29
  this.otpRef[i].value = "";
30
30
  }
@@ -35,7 +35,7 @@ const ZOtp$1 = /*@__PURE__*/ proxyCustomElement(class ZOtp extends HTMLElement {
35
35
  }, onInput: (e) => {
36
36
  this.otp[i] = e.target.value;
37
37
  this.emitInputChange(this.otp.join(""));
38
- }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: 'd74fcd0805c2bbfa9cf993cf88fbaabf632412a8', message: this.message, status: this.status })));
38
+ }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '17cc331edea883f7f5ed9899e3ebd84b2455b24e', message: this.message, status: this.status })));
39
39
  }
40
40
  static get style() { return ZOtpStyle0; }
41
41
  }, [1, "z-otp", {
@@ -20,12 +20,12 @@ const ZPanelElem$1 = /*@__PURE__*/ proxyCustomElement(class ZPanelElem extends H
20
20
  }
21
21
  render() {
22
22
  const elemId = this.elemid ? this.elemid : "";
23
- return (h("div", { key: '7ccde7a594052fb877c381d8f2db8df80d64e96e', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: 'f925fb70d03baa4a8a7f96006c515c9116785ff7', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: 'b0349cf006ded4cc02f686e1ea1adfbd76550fb8', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'c9393757ba1c849c8558dc668189f6f27b232e94', class: "panel-elem-link" }, h("a", { key: '7c552ae67030c9bf12a6e52e8d8f6f82df88b4a2', class: {
23
+ return (h("div", { key: '28f5d98850bf13270b4ddf9585722c39f87ee12e', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '065c198cfef6d982df79871d084454f425e0d57d', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '5b42b99982e78dea89cf144a717e619b65904ab9', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'd15c0e008ca2f5172228217b5418d263a59af932', class: "panel-elem-link" }, h("a", { key: 'ca5a726f71b2dd8de6ddf1f32864bc2cdd823730', class: {
24
24
  "z-link": true,
25
25
  "z-link-disabled": this.isdisabled,
26
26
  "z-link-icon": true,
27
27
  "z-link-blue": true,
28
- }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'f72a6a2634b41803ea7eaf8d51ba3439f095457a', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '6cd08ffd2e65f13d500f88682724f4f762c1f118', class: "panel-elem-desc" }, h("slot", { key: '01f55703602ee64f92eed8bc918ac5032927850c', name: this.descrSlotName })))));
28
+ }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'b8f07a80e9260bb0a142037d3f6a64a64acebafb', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '8d6524f5e8b70798cd846d4c99a2631161ae265d', class: "panel-elem-desc" }, h("slot", { key: 'b122e24bbb3ee418a393b348157f54fad3a6f1a9', name: this.descrSlotName })))));
29
29
  }
30
30
  static get style() { return ZPanelElemStyle0; }
31
31
  }, [6, "z-panel-elem", {
@@ -338,14 +338,14 @@ const ZRangePicker$1 = /*@__PURE__*/ proxyCustomElement(class ZRangePicker exten
338
338
  onStopTyping: this.onStopTyping.bind(this),
339
339
  value: "",
340
340
  };
341
- return (h("div", { key: '49f0ff8d78e0eef4022df4c2b36723aa2c286887', class: {
341
+ return (h("div", { key: '5977c392f4b4cf1480107173bc29a0469e268071', class: {
342
342
  ["range-pickers-container"]: true,
343
343
  [this.mode]: true,
344
344
  [this.activeInput]: true,
345
345
  [this.flatpickrPosition]: true,
346
- } }, h("div", { key: '6f81bf4e43dce3dc0f504436187bd6707dd36c11', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: '64f287e685b97c97981ec10888558b6bd411d67d', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: 'efc2d08365191259ec9f8c2676c580d9468e580a' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
346
+ } }, h("div", { key: '6afa791d72edb22003986b7a53c7ba90b63e6e8c', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: '405cec579f87a6acdb27651aae2a3c44c14e02d4', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: '13e962003a7f0bee44676a8da2917c943795ccd4' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
347
347
  this.firstInputError = false;
348
- } })))), h("div", { key: '9b7e0609fd19829960a6497b2d832b7154130b63', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: 'e4dc9455d70128290d917c446bb6717c3a66e533', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: '49496eafd526860075d65895d0489fce267f11ad' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
348
+ } })))), h("div", { key: 'a598bb5ae74ab9ba31be7bfe8ecec6d658f88d79', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: 'cc02897af810f866e1d14b89e2c35a0151fefa85', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: 'efa7fa690d78db9bc55df8d6f6358f74ed4ce46e' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
349
349
  this.lastInputError = false;
350
350
  } }))))));
351
351
  }
@@ -17,7 +17,7 @@ const ZSectionTitle$1 = /*@__PURE__*/ proxyCustomElement(class ZSectionTitle ext
17
17
  this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '461f6c104cfc920716e772e582fcd194f5e29dc3' }, h("slot", { key: '320b69756d8c3a9ce18a48e04947cc4547bd94a9', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: '94c5b68ec254d01fc66517f3a7ec0867cb29ac45', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: '058143cf64d7660d5172c265d97ea0ed412a9173', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: '98fa18966e3ae3338939b1b2b8882f12a31de76a', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
20
+ return (h(Host, { key: '319435f7cf5d335b4ac938d240770e78531c72fd' }, h("slot", { key: '3262da9548071f73d371c99629dc9e736003ba9f', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: 'eeb1781902549bd32598cd94c11dbef32ee533f3', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: 'da3ba374bf4da3f7e636d654f47f7a25c199304f', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: '71713119a14bf01ba4345ee10edbd7d79338f1af', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
21
21
  }
22
22
  get host() { return this; }
23
23
  static get style() { return ZSectionTitleStyle0; }
@@ -520,7 +520,7 @@ const ZSelect$1 = /*@__PURE__*/ proxyCustomElement(class ZSelect extends HTMLEle
520
520
  return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size, disabled: this.disabled }));
521
521
  }
522
522
  render() {
523
- return (h("div", { key: '7a00d71c47441c98748ff45d90705c0450e668af', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
523
+ return (h("div", { key: '3deed6802514d840f78d366b86391a449234c9ca', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
524
524
  }
525
525
  get host() { return this; }
526
526
  static get watchers() { return {