@zanichelli/albe-web-components 16.4.1 → 17.0.0-RC2

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 (766) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/dist/cjs/{index-97f9a3a0.js → index-0753c66c.js} +3 -3
  3. package/dist/cjs/{index-97f9a3a0.js.map → index-0753c66c.js.map} +1 -1
  4. package/dist/cjs/{index-01778132.js → index-112405cf.js} +2 -2
  5. package/dist/cjs/{index-01778132.js.map → index-112405cf.js.map} +1 -1
  6. package/dist/cjs/{index-6726b7d2.js → index-147da308.js} +5 -5
  7. package/dist/cjs/{index-6726b7d2.js.map → index-147da308.js.map} +1 -1
  8. package/dist/cjs/{index-ef486baa.js → index-2633ab47.js} +2 -2
  9. package/dist/cjs/{index-ef486baa.js.map → index-2633ab47.js.map} +1 -1
  10. package/dist/cjs/{index-b26fbd76.js → index-7c3bd0f4.js} +2 -2
  11. package/dist/cjs/{index-b26fbd76.js.map → index-7c3bd0f4.js.map} +1 -1
  12. package/dist/cjs/index-96af6326.js +12 -4
  13. package/dist/cjs/{index-22bdf239.js → index-c175c82a.js} +3 -3
  14. package/dist/cjs/{index-22bdf239.js.map → index-c175c82a.js.map} +1 -1
  15. package/dist/cjs/{index-daad5eae.js → index-f5ebcaa2.js} +14 -4
  16. package/dist/cjs/index-f5ebcaa2.js.map +1 -0
  17. package/dist/cjs/index.cjs.js +14 -2
  18. package/dist/cjs/index.cjs.js.map +1 -1
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/{utils-4a30b263.js → utils-c95c97b8.js} +2 -2
  21. package/dist/cjs/{utils-4a30b263.js.map → utils-c95c97b8.js.map} +1 -1
  22. package/dist/cjs/{utils-24df887f.js → utils-d08d4b80.js} +2 -2
  23. package/dist/cjs/{utils-24df887f.js.map → utils-d08d4b80.js.map} +1 -1
  24. package/dist/cjs/web-components-library.cjs.js +1 -1
  25. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  26. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  27. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  28. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  29. package/dist/cjs/z-app-header_12.cjs.entry.js +15 -25
  30. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  31. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  32. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  33. package/dist/cjs/z-book-card-app.cjs.entry.js +45 -0
  34. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  35. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +138 -0
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  37. package/dist/cjs/z-book-card.cjs.entry.js +94 -99
  38. package/dist/cjs/z-book-card.cjs.entry.js.map +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-combobox.cjs.entry.js +3 -3
  45. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  46. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  47. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +13 -7
  48. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  50. package/dist/cjs/z-file.cjs.entry.js +2 -2
  51. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  52. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  53. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  54. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  55. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  56. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  57. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  58. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  59. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  60. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  61. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  62. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  63. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  64. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  65. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  66. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  67. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  68. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  69. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  70. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  71. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  72. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  73. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  74. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  75. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  76. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  77. package/dist/cjs/z-select.cjs.entry.js +3 -3
  78. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  79. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  80. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  81. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  82. package/dist/cjs/z-table.cjs.entry.js +9 -9
  83. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  84. package/dist/cjs/z-td.cjs.entry.js +2 -2
  85. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  86. package/dist/cjs/z-th.cjs.entry.js +2 -2
  87. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  88. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  89. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  91. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  92. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  94. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  95. package/dist/collection/beans/index.js +13 -3
  96. package/dist/collection/beans/index.js.map +1 -1
  97. package/dist/collection/collection-manifest.json +5 -3
  98. package/dist/collection/components/book-card/z-book-card/index.js +490 -0
  99. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  100. package/dist/collection/components/book-card/z-book-card/index.stories.js +149 -0
  101. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
  102. package/dist/collection/components/book-card/z-book-card/styles.css +245 -0
  103. package/dist/collection/components/book-card/z-book-card-app/index.js +145 -0
  104. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  105. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +29 -0
  106. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
  107. package/dist/collection/components/book-card/z-book-card-app/styles.css +65 -0
  108. package/dist/collection/components/css-components/z-link/styles.css +174 -0
  109. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  110. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  111. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  112. package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/index.js +16 -16
  113. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  114. package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/index.stories.js +24 -24
  115. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
  116. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  117. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  118. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  119. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  120. package/dist/collection/components/file-upload/z-file-upload/index.js +1 -1
  121. package/dist/collection/components/list/z-list/index.js +1 -1
  122. package/dist/collection/components/list/z-list-element/index.js +1 -1
  123. package/dist/collection/components/list/z-list-group/index.js +2 -2
  124. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  125. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  126. package/dist/collection/components/table/z-table/index.js +1 -1
  127. package/dist/collection/components/table/z-tbody/index.js +1 -1
  128. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  129. package/dist/collection/components/table/z-thead/index.js +1 -1
  130. package/dist/collection/components/table/z-tr/index.js +1 -1
  131. package/dist/collection/components/z-accordion/index.js +1 -1
  132. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  133. package/dist/collection/components/z-app-header/index.js +1 -1
  134. package/dist/collection/components/z-aria-alert/index.js +1 -1
  135. package/dist/collection/components/z-avatar/index.js +2 -2
  136. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  137. package/dist/collection/components/z-button-sort/index.js +1 -1
  138. package/dist/collection/components/z-chip/index.js +2 -2
  139. package/dist/collection/components/z-combobox/index.js +1 -1
  140. package/dist/collection/components/z-cover-hero/index.js +2 -2
  141. package/dist/collection/components/z-divider/index.js +1 -1
  142. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  143. package/dist/collection/components/z-icon/index.js +1 -1
  144. package/dist/collection/components/z-info-box/index.js +1 -1
  145. package/dist/collection/components/z-info-reveal/index.js +1 -1
  146. package/dist/collection/components/z-input/index.js +1 -1
  147. package/dist/collection/components/z-input-message/index.js +1 -1
  148. package/dist/collection/components/z-logo/index.js +1 -1
  149. package/dist/collection/components/z-menu-section/index.js +1 -1
  150. package/dist/collection/components/z-modal/index.js +10 -4
  151. package/dist/collection/components/z-modal/index.js.map +1 -1
  152. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  153. package/dist/collection/components/z-notification/index.js +1 -1
  154. package/dist/collection/components/z-offcanvas/index.js +1 -1
  155. package/dist/collection/components/z-panel-elem/index.js +2 -2
  156. package/dist/collection/components/z-popover/index.js +1 -1
  157. package/dist/collection/components/z-searchbar/index.js +1 -1
  158. package/dist/collection/components/z-section-title/index.js +1 -1
  159. package/dist/collection/components/z-select/index.js +1 -1
  160. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  161. package/dist/collection/components/z-stepper/index.js +1 -1
  162. package/dist/collection/components/z-stepper-item/index.js +1 -1
  163. package/dist/collection/components/z-tag/index.js +2 -2
  164. package/dist/collection/components/z-toast-notification/index.js +1 -1
  165. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  166. package/dist/collection/components/z-toggle-button/index.js +2 -2
  167. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  168. package/dist/collection/components/z-tooltip/index.js +1 -1
  169. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  170. package/dist/collection/constants/iconset.js +0 -10
  171. package/dist/collection/constants/iconset.js.map +1 -1
  172. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  173. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  174. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  175. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  176. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  177. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  178. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  179. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  180. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  181. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  182. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  183. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  184. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  185. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  186. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  187. package/dist/collection/tokens/typography.css +681 -0
  188. package/dist/components/iconset.js +0 -10
  189. package/dist/components/iconset.js.map +1 -1
  190. package/dist/components/index.d.ts +5 -1
  191. package/dist/components/index.js +3 -1
  192. package/dist/components/index.js.map +1 -1
  193. package/dist/components/index10.js +58 -308
  194. package/dist/components/index10.js.map +1 -1
  195. package/dist/components/index11.js +314 -36
  196. package/dist/components/index11.js.map +1 -1
  197. package/dist/components/index12.js +38 -27
  198. package/dist/components/index12.js.map +1 -1
  199. package/dist/components/index13.js +23 -146
  200. package/dist/components/index13.js.map +1 -1
  201. package/dist/components/index14.js +141 -36
  202. package/dist/components/index14.js.map +1 -1
  203. package/dist/components/index15.js +39 -989
  204. package/dist/components/index15.js.map +1 -1
  205. package/dist/components/index16.js +1000 -38
  206. package/dist/components/index16.js.map +1 -1
  207. package/dist/components/index17.js +42 -10
  208. package/dist/components/index17.js.map +1 -1
  209. package/dist/components/index18.js +10 -22
  210. package/dist/components/index18.js.map +1 -1
  211. package/dist/components/index19.js +16 -33
  212. package/dist/components/index19.js.map +1 -1
  213. package/dist/components/index2.js +14 -4
  214. package/dist/components/index2.js.map +1 -1
  215. package/dist/components/index20.js +39 -43
  216. package/dist/components/index20.js.map +1 -1
  217. package/dist/components/index21.js +44 -81
  218. package/dist/components/index21.js.map +1 -1
  219. package/dist/components/index22.js +63 -301
  220. package/dist/components/index22.js.map +1 -1
  221. package/dist/components/index23.js +286 -347
  222. package/dist/components/index23.js.map +1 -1
  223. package/dist/components/index24.js +376 -19
  224. package/dist/components/index24.js.map +1 -1
  225. package/dist/components/index25.js +45 -0
  226. package/dist/components/index25.js.map +1 -0
  227. package/dist/components/index3.js +1 -1
  228. package/dist/components/index5.js +2 -2
  229. package/dist/components/index6.js +1 -1
  230. package/dist/components/index7.js +2 -2
  231. package/dist/components/index8.js +1 -1
  232. package/dist/components/index9.js +1 -1
  233. package/dist/components/z-accordion.js +2 -2
  234. package/dist/components/z-anchor-navigation.js +1 -1
  235. package/dist/components/z-app-header-deprecated.js +9 -9
  236. package/dist/components/z-app-header.js +9 -9
  237. package/dist/components/z-aria-alert.js +1 -1
  238. package/dist/components/z-avatar.js +2 -2
  239. package/dist/components/z-book-card-app.d.ts +11 -0
  240. package/dist/components/z-book-card-app.js +77 -0
  241. package/dist/components/z-book-card-app.js.map +1 -0
  242. package/dist/components/z-book-card-deprecated.d.ts +11 -0
  243. package/dist/components/z-book-card-deprecated.js +175 -0
  244. package/dist/components/z-book-card-deprecated.js.map +1 -0
  245. package/dist/components/z-book-card.js +123 -110
  246. package/dist/components/z-book-card.js.map +1 -1
  247. package/dist/components/z-breadcrumb.js +6 -6
  248. package/dist/components/z-button-sort.js +1 -1
  249. package/dist/components/z-combobox.js +6 -6
  250. package/dist/components/z-cover-hero.js +2 -2
  251. package/dist/components/z-date-picker.js +3 -3
  252. package/dist/components/z-file-upload.js +2 -2
  253. package/dist/components/z-file.js +2 -2
  254. package/dist/components/z-info-box.js +1 -1
  255. package/dist/components/z-info-reveal.js +1 -88
  256. package/dist/components/z-info-reveal.js.map +1 -1
  257. package/dist/components/z-input-message.js +1 -1
  258. package/dist/components/z-input.js +1 -1
  259. package/dist/components/z-list-element.js +1 -1
  260. package/dist/components/z-list-group.js +1 -1
  261. package/dist/components/z-list.js +1 -1
  262. package/dist/components/z-logo.js +1 -1
  263. package/dist/components/z-menu-deprecated.js +1 -1
  264. package/dist/components/z-menu-section-deprecated.js +1 -1
  265. package/dist/components/z-menu-section.js +1 -1
  266. package/dist/components/z-modal.js +1 -1
  267. package/dist/components/z-myz-card-alert.js +1 -1
  268. package/dist/components/z-myz-card-body.js +1 -1
  269. package/dist/components/z-myz-card-cover.js +1 -1
  270. package/dist/components/z-myz-card-dictionary.js +5 -5
  271. package/dist/components/z-myz-card-footer-sections.js +1 -1
  272. package/dist/components/z-myz-card-footer.js +1 -1
  273. package/dist/components/z-myz-card-header.js +1 -1
  274. package/dist/components/z-myz-card-icon.js +1 -1
  275. package/dist/components/z-myz-card-info.js +2 -2
  276. package/dist/components/z-myz-card-list.js +1 -1
  277. package/dist/components/z-myz-card.js +1 -1
  278. package/dist/components/z-myz-list-item.js +1 -1
  279. package/dist/components/z-myz-list.js +2 -2
  280. package/dist/components/z-navigation-tabs.js +2 -2
  281. package/dist/components/z-notification.js +1 -1
  282. package/dist/components/z-offcanvas.js +1 -1
  283. package/dist/components/z-otp.js +3 -3
  284. package/dist/components/z-pagination.js +2 -2
  285. package/dist/components/z-panel-elem.js +2 -2
  286. package/dist/components/z-popover.js +1 -1
  287. package/dist/components/z-range-picker.js +5 -5
  288. package/dist/components/z-searchbar.js +1 -1
  289. package/dist/components/z-section-title.js +1 -1
  290. package/dist/components/z-select.js +7 -7
  291. package/dist/components/z-skip-to-content.js +1 -1
  292. package/dist/components/z-stepper-item.js +1 -1
  293. package/dist/components/z-stepper.js +1 -1
  294. package/dist/components/z-table.js +1 -1
  295. package/dist/components/z-tag.js +1 -1
  296. package/dist/components/z-tbody.js +1 -1
  297. package/dist/components/z-td.js +2 -2
  298. package/dist/components/z-tfoot.js +1 -1
  299. package/dist/components/z-th.js +2 -2
  300. package/dist/components/z-thead.js +1 -1
  301. package/dist/components/z-toast-notification-list.js +1 -1
  302. package/dist/components/z-toast-notification.js +1 -1
  303. package/dist/components/z-toggle-button.js +2 -2
  304. package/dist/components/z-toggle-switch.js +3 -3
  305. package/dist/components/z-tooltip.js +2 -2
  306. package/dist/components/z-tr.js +1 -1
  307. package/dist/components/z-visually-hidden.js +1 -1
  308. package/dist/esm/{index-19b24f63.js → index-1a6848fc.js} +3 -3
  309. package/dist/esm/{index-19b24f63.js.map → index-1a6848fc.js.map} +1 -1
  310. package/dist/esm/{index-8e5c830a.js → index-27165d8c.js} +2 -2
  311. package/dist/esm/{index-8e5c830a.js.map → index-27165d8c.js.map} +1 -1
  312. package/dist/esm/{index-681cc2b7.js → index-8641cd14.js} +3 -3
  313. package/dist/esm/{index-681cc2b7.js.map → index-8641cd14.js.map} +1 -1
  314. package/dist/esm/{index-7b64c875.js → index-bc28e44a.js} +5 -5
  315. package/dist/esm/{index-7b64c875.js.map → index-bc28e44a.js.map} +1 -1
  316. package/dist/esm/index-c8ceadeb.js +12 -4
  317. package/dist/esm/{index-fe4fc8da.js → index-caa29397.js} +2 -2
  318. package/dist/esm/{index-fe4fc8da.js.map → index-caa29397.js.map} +1 -1
  319. package/dist/esm/{index-a63060e9.js → index-ee40e66b.js} +15 -5
  320. package/dist/esm/index-ee40e66b.js.map +1 -0
  321. package/dist/esm/{index-09ff70db.js → index-f50b4232.js} +2 -2
  322. package/dist/esm/{index-09ff70db.js.map → index-f50b4232.js.map} +1 -1
  323. package/dist/esm/index.js +2 -2
  324. package/dist/esm/loader.js +1 -1
  325. package/dist/esm/{utils-5e595d4f.js → utils-a31c16d9.js} +2 -2
  326. package/dist/esm/{utils-5e595d4f.js.map → utils-a31c16d9.js.map} +1 -1
  327. package/dist/esm/{utils-305762b5.js → utils-ed82ce58.js} +2 -2
  328. package/dist/esm/{utils-305762b5.js.map → utils-ed82ce58.js.map} +1 -1
  329. package/dist/esm/web-components-library.js +1 -1
  330. package/dist/esm/z-accordion.entry.js +2 -2
  331. package/dist/esm/z-alert.entry.js +1 -1
  332. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  333. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  334. package/dist/esm/z-app-header_12.entry.js +15 -25
  335. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  336. package/dist/esm/z-aria-alert.entry.js +2 -2
  337. package/dist/esm/z-avatar.entry.js +3 -3
  338. package/dist/esm/z-book-card-app.entry.js +41 -0
  339. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  340. package/dist/esm/z-book-card-deprecated.entry.js +134 -0
  341. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  342. package/dist/esm/z-book-card.entry.js +94 -99
  343. package/dist/esm/z-book-card.entry.js.map +1 -1
  344. package/dist/esm/z-breadcrumb.entry.js +4 -4
  345. package/dist/esm/z-button-sort.entry.js +1 -1
  346. package/dist/esm/z-card.entry.js +1 -1
  347. package/dist/esm/z-carousel.entry.js +1 -1
  348. package/dist/esm/z-chip.entry.js +3 -3
  349. package/dist/esm/z-combobox.entry.js +3 -3
  350. package/dist/esm/z-cover-hero.entry.js +3 -3
  351. package/dist/esm/z-date-picker.entry.js +3 -3
  352. package/dist/esm/z-dragdrop-area_2.entry.js +13 -7
  353. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  354. package/dist/esm/z-file-upload.entry.js +3 -3
  355. package/dist/esm/z-file.entry.js +2 -2
  356. package/dist/esm/z-ghost-loading.entry.js +1 -1
  357. package/dist/esm/z-info-box.entry.js +1 -1
  358. package/dist/esm/z-info-reveal.entry.js +2 -2
  359. package/dist/esm/z-logo.entry.js +1 -1
  360. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  361. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  362. package/dist/esm/z-menu-section.entry.js +2 -2
  363. package/dist/esm/z-menu.entry.js +2 -2
  364. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  365. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  366. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  367. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  368. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  369. package/dist/esm/z-myz-card-info.entry.js +3 -3
  370. package/dist/esm/z-myz-card-list.entry.js +1 -1
  371. package/dist/esm/z-myz-card_4.entry.js +5 -5
  372. package/dist/esm/z-myz-list-item.entry.js +3 -3
  373. package/dist/esm/z-myz-list.entry.js +1 -1
  374. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  375. package/dist/esm/z-notification.entry.js +1 -1
  376. package/dist/esm/z-otp.entry.js +3 -3
  377. package/dist/esm/z-pagination.entry.js +1 -1
  378. package/dist/esm/z-panel-elem.entry.js +2 -2
  379. package/dist/esm/z-popover.entry.js +2 -2
  380. package/dist/esm/z-range-picker.entry.js +5 -5
  381. package/dist/esm/z-section-title.entry.js +2 -2
  382. package/dist/esm/z-select.entry.js +3 -3
  383. package/dist/esm/z-skip-to-content.entry.js +3 -3
  384. package/dist/esm/z-slideshow.entry.js +2 -2
  385. package/dist/esm/z-stepper-item.entry.js +1 -1
  386. package/dist/esm/z-stepper.entry.js +1 -1
  387. package/dist/esm/z-table.entry.js +9 -9
  388. package/dist/esm/z-tbody.entry.js +1 -1
  389. package/dist/esm/z-td.entry.js +2 -2
  390. package/dist/esm/z-tfoot.entry.js +1 -1
  391. package/dist/esm/z-th.entry.js +2 -2
  392. package/dist/esm/z-thead.entry.js +1 -1
  393. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  394. package/dist/esm/z-toast-notification.entry.js +2 -2
  395. package/dist/esm/z-toggle-button.entry.js +2 -2
  396. package/dist/esm/z-toggle-switch.entry.js +5 -5
  397. package/dist/esm/z-tooltip.entry.js +2 -2
  398. package/dist/esm/z-tr.entry.js +5 -5
  399. package/dist/esm/z-visually-hidden.entry.js +1 -1
  400. package/dist/types/beans/index.d.ts +16 -0
  401. package/dist/types/components/book-card/z-book-card/index.d.ts +66 -0
  402. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +77 -0
  403. package/dist/types/components/book-card/z-book-card-app/index.d.ts +29 -0
  404. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +22 -0
  405. package/dist/types/components/{z-book-card → deprecated/z-book-card-deprecated}/index.d.ts +6 -6
  406. package/dist/types/components/{z-book-card → deprecated/z-book-card-deprecated}/index.stories.d.ts +9 -9
  407. package/dist/types/components/z-modal/index.d.ts +1 -0
  408. package/dist/types/components.d.ts +253 -14
  409. package/dist/types/constants/iconset.d.ts +0 -20
  410. package/dist/web-components-library/index.esm.js +1 -1
  411. package/dist/web-components-library/index.esm.js.map +1 -1
  412. package/dist/web-components-library/{p-b222df41.entry.js → p-009458f1.entry.js} +2 -2
  413. package/dist/web-components-library/{p-7c20b8f6.entry.js → p-00ddac69.entry.js} +2 -2
  414. package/dist/web-components-library/{p-0b100bd7.entry.js → p-02d127ec.entry.js} +2 -2
  415. package/dist/web-components-library/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
  416. package/dist/web-components-library/{p-ec740313.entry.js → p-08e29422.entry.js} +2 -2
  417. package/dist/web-components-library/p-0eb7715b.entry.js +2 -0
  418. package/dist/web-components-library/{p-90908f36.js → p-10607a39.js} +2 -2
  419. package/{www/build/p-c62825e1.js → dist/web-components-library/p-10e26ed9.js} +2 -2
  420. package/{www/build/p-a9805b32.entry.js → dist/web-components-library/p-1630e240.entry.js} +2 -2
  421. package/dist/web-components-library/{p-f7ef289b.entry.js → p-17a48a14.entry.js} +2 -2
  422. package/{www/build/p-273f3c53.entry.js → dist/web-components-library/p-192b110c.entry.js} +2 -2
  423. package/dist/web-components-library/p-19a3a2a6.entry.js +2 -0
  424. package/{www/build/p-0778e75d.entry.js → dist/web-components-library/p-1ca63396.entry.js} +2 -2
  425. package/{www/build/p-d847bfcd.entry.js → dist/web-components-library/p-1e5850ba.entry.js} +2 -2
  426. package/dist/web-components-library/p-1fa427f1.entry.js +2 -0
  427. package/dist/web-components-library/p-217c9214.entry.js +2 -0
  428. package/dist/web-components-library/p-217c9214.entry.js.map +1 -0
  429. package/dist/web-components-library/p-2a10219c.entry.js +2 -0
  430. package/{www/build/p-63488a2b.entry.js → dist/web-components-library/p-2ca08187.entry.js} +2 -2
  431. package/dist/web-components-library/p-2d1a00b5.js +2 -0
  432. package/dist/web-components-library/p-2d54b0b8.entry.js +2 -0
  433. package/{www/build/p-228db53f.entry.js.map → dist/web-components-library/p-2d54b0b8.entry.js.map} +1 -1
  434. package/dist/web-components-library/{p-09552f18.entry.js → p-383eedc4.entry.js} +2 -2
  435. package/dist/web-components-library/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
  436. package/dist/web-components-library/{p-6ed39f10.entry.js → p-4315cb7f.entry.js} +2 -2
  437. package/dist/web-components-library/p-4c8c12e5.entry.js +2 -0
  438. package/dist/web-components-library/{p-9a48e70b.entry.js.map → p-4c8c12e5.entry.js.map} +1 -1
  439. package/{www/build/p-a4aaffd3.entry.js → dist/web-components-library/p-4d2b5dae.entry.js} +2 -2
  440. package/{www/build/p-b7af7fa4.entry.js → dist/web-components-library/p-4df68dea.entry.js} +2 -2
  441. package/{www/build/p-c451b4d7.entry.js → dist/web-components-library/p-5071fa2b.entry.js} +2 -2
  442. package/dist/web-components-library/{p-eb3985d0.entry.js → p-53259824.entry.js} +2 -2
  443. package/dist/web-components-library/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
  444. package/dist/web-components-library/p-5651f576.js +2 -0
  445. package/dist/web-components-library/{p-51f5e5e6.entry.js → p-585dee35.entry.js} +2 -2
  446. package/dist/web-components-library/p-595b71d7.entry.js +2 -0
  447. package/dist/web-components-library/p-595b71d7.entry.js.map +1 -0
  448. package/dist/web-components-library/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
  449. package/{www/build/p-985e61f5.entry.js → dist/web-components-library/p-5fa93345.entry.js} +2 -2
  450. package/dist/web-components-library/p-5fa93345.entry.js.map +1 -0
  451. package/{www/build/p-417ed850.entry.js → dist/web-components-library/p-612053d0.entry.js} +3 -3
  452. package/dist/web-components-library/p-62cb3441.entry.js +2 -0
  453. package/dist/web-components-library/{p-17d2d60b.entry.js → p-65ebe30f.entry.js} +2 -2
  454. package/{www/build/p-e38df1a4.entry.js → dist/web-components-library/p-66ae33e4.entry.js} +3 -3
  455. package/dist/web-components-library/p-69082885.entry.js +2 -0
  456. package/dist/web-components-library/p-69082885.entry.js.map +1 -0
  457. package/{www/build/p-13366542.js → dist/web-components-library/p-6e918064.js} +2 -2
  458. package/dist/web-components-library/{p-db04ba75.entry.js → p-7253e223.entry.js} +2 -2
  459. package/dist/web-components-library/{p-03e85eac.entry.js → p-739ab487.entry.js} +2 -2
  460. package/dist/web-components-library/{p-6e92df75.entry.js → p-7e79e234.entry.js} +2 -2
  461. package/dist/web-components-library/{p-571f1e1d.entry.js → p-815f156c.entry.js} +2 -2
  462. package/dist/web-components-library/{p-03cd1ead.entry.js → p-83d9d8e1.entry.js} +2 -2
  463. package/dist/web-components-library/{p-af7e5773.entry.js → p-84ce3410.entry.js} +2 -2
  464. package/dist/web-components-library/{p-ecae1a7a.entry.js → p-899bd07d.entry.js} +2 -2
  465. package/dist/web-components-library/{p-140b5d8f.entry.js → p-9287cb7b.entry.js} +2 -2
  466. package/dist/web-components-library/{p-d13520c2.entry.js → p-9f7a2eab.entry.js} +2 -2
  467. package/{www/build/p-48b2e967.entry.js → dist/web-components-library/p-a9d44417.entry.js} +2 -2
  468. package/dist/web-components-library/{p-9c36d574.entry.js → p-acca8b92.entry.js} +2 -2
  469. package/dist/web-components-library/{p-b1039f3d.entry.js → p-ae5206a6.entry.js} +2 -2
  470. package/{www/build/p-456f984f.js → dist/web-components-library/p-b20482f3.js} +2 -2
  471. package/dist/web-components-library/p-b34993de.js +2 -0
  472. package/dist/web-components-library/p-b34993de.js.map +1 -0
  473. package/dist/web-components-library/{p-291319ed.entry.js → p-b6178a44.entry.js} +2 -2
  474. package/dist/web-components-library/{p-e0a0bfb2.entry.js → p-b746bdfa.entry.js} +2 -2
  475. package/dist/web-components-library/p-b78f26da.entry.js +2 -0
  476. package/dist/web-components-library/p-b78f26da.entry.js.map +1 -0
  477. package/dist/web-components-library/{p-0c489c4b.entry.js → p-b7aecfdb.entry.js} +2 -2
  478. package/dist/web-components-library/p-b93e0b22.entry.js +2 -0
  479. package/dist/web-components-library/{p-6b759395.entry.js.map → p-b93e0b22.entry.js.map} +1 -1
  480. package/{www/build/p-3618e227.entry.js → dist/web-components-library/p-bc9cda42.entry.js} +2 -2
  481. package/dist/web-components-library/{p-350f84c5.entry.js → p-bf3ec62b.entry.js} +2 -2
  482. package/dist/web-components-library/{p-f3037ac9.entry.js → p-c18be7cb.entry.js} +2 -2
  483. package/{www/build/p-fb2eb3c0.entry.js → dist/web-components-library/p-cc143ffd.entry.js} +2 -2
  484. package/dist/web-components-library/{p-b6ea478b.entry.js → p-ce70faad.entry.js} +2 -2
  485. package/dist/web-components-library/{p-910fd48c.entry.js → p-d41b0ffc.entry.js} +2 -2
  486. package/{www/build/p-47137e39.entry.js → dist/web-components-library/p-d93a0eaa.entry.js} +2 -2
  487. package/dist/web-components-library/{p-db340bc6.entry.js → p-da71e0f0.entry.js} +2 -2
  488. package/dist/web-components-library/p-e6102e19.entry.js +2 -0
  489. package/{www/build/p-b3272516.entry.js → dist/web-components-library/p-ed091723.entry.js} +2 -2
  490. package/dist/web-components-library/p-ed17a1ae.entry.js +2 -0
  491. package/dist/web-components-library/{p-ef8a7250.entry.js → p-ee01c1e9.entry.js} +2 -2
  492. package/{www/build/p-38d5e74f.entry.js → dist/web-components-library/p-f408af2b.entry.js} +2 -2
  493. package/dist/web-components-library/{p-eb5a148f.entry.js → p-f7079f2c.entry.js} +2 -2
  494. package/dist/web-components-library/p-fbbd8574.js +2 -0
  495. package/dist/web-components-library/web-components-library.esm.js +1 -1
  496. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  497. package/package.json +1 -1
  498. package/react/components.d.ts +2 -0
  499. package/react/components.js +4 -2
  500. package/react/components.js.map +1 -1
  501. package/www/build/index.esm.js +1 -1
  502. package/www/build/index.esm.js.map +1 -1
  503. package/www/build/{p-b222df41.entry.js → p-009458f1.entry.js} +2 -2
  504. package/www/build/{p-7c20b8f6.entry.js → p-00ddac69.entry.js} +2 -2
  505. package/www/build/{p-0b100bd7.entry.js → p-02d127ec.entry.js} +2 -2
  506. package/www/build/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
  507. package/www/build/{p-ec740313.entry.js → p-08e29422.entry.js} +2 -2
  508. package/www/build/p-0eb7715b.entry.js +2 -0
  509. package/www/build/{p-90908f36.js → p-10607a39.js} +2 -2
  510. package/{dist/web-components-library/p-c62825e1.js → www/build/p-10e26ed9.js} +2 -2
  511. package/{dist/web-components-library/p-a9805b32.entry.js → www/build/p-1630e240.entry.js} +2 -2
  512. package/www/build/{p-f7ef289b.entry.js → p-17a48a14.entry.js} +2 -2
  513. package/{dist/web-components-library/p-273f3c53.entry.js → www/build/p-192b110c.entry.js} +2 -2
  514. package/www/build/p-19a3a2a6.entry.js +2 -0
  515. package/{dist/web-components-library/p-0778e75d.entry.js → www/build/p-1ca63396.entry.js} +2 -2
  516. package/{dist/web-components-library/p-d847bfcd.entry.js → www/build/p-1e5850ba.entry.js} +2 -2
  517. package/www/build/p-1fa427f1.entry.js +2 -0
  518. package/www/build/p-217c9214.entry.js +2 -0
  519. package/www/build/p-217c9214.entry.js.map +1 -0
  520. package/www/build/p-2a10219c.entry.js +2 -0
  521. package/{dist/web-components-library/p-63488a2b.entry.js → www/build/p-2ca08187.entry.js} +2 -2
  522. package/www/build/p-2d1a00b5.js +2 -0
  523. package/www/build/p-2d54b0b8.entry.js +2 -0
  524. package/{dist/web-components-library/p-228db53f.entry.js.map → www/build/p-2d54b0b8.entry.js.map} +1 -1
  525. package/www/build/{p-09552f18.entry.js → p-383eedc4.entry.js} +2 -2
  526. package/www/build/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
  527. package/www/build/{p-6ed39f10.entry.js → p-4315cb7f.entry.js} +2 -2
  528. package/www/build/p-4c8c12e5.entry.js +2 -0
  529. package/www/build/{p-9a48e70b.entry.js.map → p-4c8c12e5.entry.js.map} +1 -1
  530. package/{dist/web-components-library/p-a4aaffd3.entry.js → www/build/p-4d2b5dae.entry.js} +2 -2
  531. package/{dist/web-components-library/p-b7af7fa4.entry.js → www/build/p-4df68dea.entry.js} +2 -2
  532. package/{dist/web-components-library/p-c451b4d7.entry.js → www/build/p-5071fa2b.entry.js} +2 -2
  533. package/www/build/{p-eb3985d0.entry.js → p-53259824.entry.js} +2 -2
  534. package/www/build/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
  535. package/www/build/p-5651f576.js +2 -0
  536. package/www/build/{p-51f5e5e6.entry.js → p-585dee35.entry.js} +2 -2
  537. package/www/build/p-595b71d7.entry.js +2 -0
  538. package/www/build/p-595b71d7.entry.js.map +1 -0
  539. package/www/build/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
  540. package/{dist/web-components-library/p-985e61f5.entry.js → www/build/p-5fa93345.entry.js} +2 -2
  541. package/www/build/p-5fa93345.entry.js.map +1 -0
  542. package/{dist/web-components-library/p-417ed850.entry.js → www/build/p-612053d0.entry.js} +3 -3
  543. package/www/build/p-62cb3441.entry.js +2 -0
  544. package/www/build/{p-17d2d60b.entry.js → p-65ebe30f.entry.js} +2 -2
  545. package/{dist/web-components-library/p-e38df1a4.entry.js → www/build/p-66ae33e4.entry.js} +3 -3
  546. package/www/build/p-69082885.entry.js +2 -0
  547. package/www/build/p-69082885.entry.js.map +1 -0
  548. package/{dist/web-components-library/p-13366542.js → www/build/p-6e918064.js} +2 -2
  549. package/www/build/{p-db04ba75.entry.js → p-7253e223.entry.js} +2 -2
  550. package/www/build/{p-03e85eac.entry.js → p-739ab487.entry.js} +2 -2
  551. package/www/build/{p-6e92df75.entry.js → p-7e79e234.entry.js} +2 -2
  552. package/www/build/{p-571f1e1d.entry.js → p-815f156c.entry.js} +2 -2
  553. package/www/build/{p-03cd1ead.entry.js → p-83d9d8e1.entry.js} +2 -2
  554. package/www/build/{p-af7e5773.entry.js → p-84ce3410.entry.js} +2 -2
  555. package/www/build/{p-ecae1a7a.entry.js → p-899bd07d.entry.js} +2 -2
  556. package/www/build/{p-140b5d8f.entry.js → p-9287cb7b.entry.js} +2 -2
  557. package/www/build/{p-d13520c2.entry.js → p-9f7a2eab.entry.js} +2 -2
  558. package/{dist/web-components-library/p-48b2e967.entry.js → www/build/p-a9d44417.entry.js} +2 -2
  559. package/www/build/{p-9c36d574.entry.js → p-acca8b92.entry.js} +2 -2
  560. package/www/build/{p-b1039f3d.entry.js → p-ae5206a6.entry.js} +2 -2
  561. package/{dist/web-components-library/p-456f984f.js → www/build/p-b20482f3.js} +2 -2
  562. package/www/build/p-b34993de.js +2 -0
  563. package/www/build/p-b34993de.js.map +1 -0
  564. package/www/build/{p-291319ed.entry.js → p-b6178a44.entry.js} +2 -2
  565. package/www/build/{p-e0a0bfb2.entry.js → p-b746bdfa.entry.js} +2 -2
  566. package/www/build/p-b78f26da.entry.js +2 -0
  567. package/www/build/p-b78f26da.entry.js.map +1 -0
  568. package/www/build/{p-0c489c4b.entry.js → p-b7aecfdb.entry.js} +2 -2
  569. package/www/build/p-b93e0b22.entry.js +2 -0
  570. package/www/build/{p-6b759395.entry.js.map → p-b93e0b22.entry.js.map} +1 -1
  571. package/{dist/web-components-library/p-3618e227.entry.js → www/build/p-bc9cda42.entry.js} +2 -2
  572. package/www/build/p-bcaf5873.js +2 -0
  573. package/www/build/{p-350f84c5.entry.js → p-bf3ec62b.entry.js} +2 -2
  574. package/www/build/{p-f3037ac9.entry.js → p-c18be7cb.entry.js} +2 -2
  575. package/{dist/web-components-library/p-fb2eb3c0.entry.js → www/build/p-cc143ffd.entry.js} +2 -2
  576. package/www/build/{p-b6ea478b.entry.js → p-ce70faad.entry.js} +2 -2
  577. package/www/build/{p-910fd48c.entry.js → p-d41b0ffc.entry.js} +2 -2
  578. package/{dist/web-components-library/p-47137e39.entry.js → www/build/p-d93a0eaa.entry.js} +2 -2
  579. package/www/build/{p-db340bc6.entry.js → p-da71e0f0.entry.js} +2 -2
  580. package/www/build/p-e6102e19.entry.js +2 -0
  581. package/{dist/web-components-library/p-b3272516.entry.js → www/build/p-ed091723.entry.js} +2 -2
  582. package/www/build/p-ed17a1ae.entry.js +2 -0
  583. package/www/build/{p-ef8a7250.entry.js → p-ee01c1e9.entry.js} +2 -2
  584. package/{dist/web-components-library/p-38d5e74f.entry.js → www/build/p-f408af2b.entry.js} +2 -2
  585. package/www/build/{p-eb5a148f.entry.js → p-f7079f2c.entry.js} +2 -2
  586. package/www/build/p-fbbd8574.js +2 -0
  587. package/www/build/web-components-library.esm.js +1 -1
  588. package/www/build/web-components-library.esm.js.map +1 -1
  589. package/www/index.html +1 -1
  590. package/www/pages/book-cards.html +75 -573
  591. package/dist/cjs/index-daad5eae.js.map +0 -1
  592. package/dist/collection/components/z-book-card/index.js.map +0 -1
  593. package/dist/collection/components/z-book-card/index.stories.js.map +0 -1
  594. package/dist/esm/index-a63060e9.js.map +0 -1
  595. package/dist/web-components-library/p-06b8521b.entry.js +0 -2
  596. package/dist/web-components-library/p-11df2c0a.entry.js +0 -2
  597. package/dist/web-components-library/p-11df2c0a.entry.js.map +0 -1
  598. package/dist/web-components-library/p-16719dff.entry.js +0 -2
  599. package/dist/web-components-library/p-1c24255c.js +0 -2
  600. package/dist/web-components-library/p-1c24255c.js.map +0 -1
  601. package/dist/web-components-library/p-228db53f.entry.js +0 -2
  602. package/dist/web-components-library/p-32d603b8.js +0 -2
  603. package/dist/web-components-library/p-3d97dedf.entry.js +0 -2
  604. package/dist/web-components-library/p-6297dfaa.entry.js +0 -2
  605. package/dist/web-components-library/p-6b759395.entry.js +0 -2
  606. package/dist/web-components-library/p-6b791915.entry.js +0 -2
  607. package/dist/web-components-library/p-8855aef4.js +0 -2
  608. package/dist/web-components-library/p-8d443cac.entry.js +0 -2
  609. package/dist/web-components-library/p-985e61f5.entry.js.map +0 -1
  610. package/dist/web-components-library/p-9a48e70b.entry.js +0 -2
  611. package/dist/web-components-library/p-a167bdd5.js +0 -2
  612. package/dist/web-components-library/p-b20bfb34.entry.js +0 -2
  613. package/dist/web-components-library/p-b20bfb34.entry.js.map +0 -1
  614. package/dist/web-components-library/p-febc4982.entry.js +0 -2
  615. package/www/build/p-06b8521b.entry.js +0 -2
  616. package/www/build/p-11df2c0a.entry.js +0 -2
  617. package/www/build/p-11df2c0a.entry.js.map +0 -1
  618. package/www/build/p-16719dff.entry.js +0 -2
  619. package/www/build/p-1c24255c.js +0 -2
  620. package/www/build/p-1c24255c.js.map +0 -1
  621. package/www/build/p-1fcf4111.js +0 -2
  622. package/www/build/p-228db53f.entry.js +0 -2
  623. package/www/build/p-32d603b8.js +0 -2
  624. package/www/build/p-3d97dedf.entry.js +0 -2
  625. package/www/build/p-6297dfaa.entry.js +0 -2
  626. package/www/build/p-6b759395.entry.js +0 -2
  627. package/www/build/p-6b791915.entry.js +0 -2
  628. package/www/build/p-8855aef4.js +0 -2
  629. package/www/build/p-8d443cac.entry.js +0 -2
  630. package/www/build/p-985e61f5.entry.js.map +0 -1
  631. package/www/build/p-9a48e70b.entry.js +0 -2
  632. package/www/build/p-a167bdd5.js +0 -2
  633. package/www/build/p-b20bfb34.entry.js +0 -2
  634. package/www/build/p-b20bfb34.entry.js.map +0 -1
  635. package/www/build/p-febc4982.entry.js +0 -2
  636. /package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/styles.css +0 -0
  637. /package/dist/web-components-library/{p-b222df41.entry.js.map → p-009458f1.entry.js.map} +0 -0
  638. /package/dist/web-components-library/{p-7c20b8f6.entry.js.map → p-00ddac69.entry.js.map} +0 -0
  639. /package/dist/web-components-library/{p-0b100bd7.entry.js.map → p-02d127ec.entry.js.map} +0 -0
  640. /package/dist/web-components-library/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
  641. /package/dist/web-components-library/{p-ec740313.entry.js.map → p-08e29422.entry.js.map} +0 -0
  642. /package/dist/web-components-library/{p-06b8521b.entry.js.map → p-0eb7715b.entry.js.map} +0 -0
  643. /package/dist/web-components-library/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
  644. /package/dist/web-components-library/{p-c62825e1.js.map → p-10e26ed9.js.map} +0 -0
  645. /package/dist/web-components-library/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
  646. /package/dist/web-components-library/{p-f7ef289b.entry.js.map → p-17a48a14.entry.js.map} +0 -0
  647. /package/dist/web-components-library/{p-273f3c53.entry.js.map → p-192b110c.entry.js.map} +0 -0
  648. /package/dist/web-components-library/{p-16719dff.entry.js.map → p-19a3a2a6.entry.js.map} +0 -0
  649. /package/dist/web-components-library/{p-0778e75d.entry.js.map → p-1ca63396.entry.js.map} +0 -0
  650. /package/dist/web-components-library/{p-d847bfcd.entry.js.map → p-1e5850ba.entry.js.map} +0 -0
  651. /package/dist/web-components-library/{p-6297dfaa.entry.js.map → p-1fa427f1.entry.js.map} +0 -0
  652. /package/dist/web-components-library/{p-6b791915.entry.js.map → p-2a10219c.entry.js.map} +0 -0
  653. /package/dist/web-components-library/{p-63488a2b.entry.js.map → p-2ca08187.entry.js.map} +0 -0
  654. /package/dist/web-components-library/{p-32d603b8.js.map → p-2d1a00b5.js.map} +0 -0
  655. /package/dist/web-components-library/{p-09552f18.entry.js.map → p-383eedc4.entry.js.map} +0 -0
  656. /package/dist/web-components-library/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
  657. /package/dist/web-components-library/{p-6ed39f10.entry.js.map → p-4315cb7f.entry.js.map} +0 -0
  658. /package/dist/web-components-library/{p-a4aaffd3.entry.js.map → p-4d2b5dae.entry.js.map} +0 -0
  659. /package/dist/web-components-library/{p-b7af7fa4.entry.js.map → p-4df68dea.entry.js.map} +0 -0
  660. /package/dist/web-components-library/{p-c451b4d7.entry.js.map → p-5071fa2b.entry.js.map} +0 -0
  661. /package/dist/web-components-library/{p-eb3985d0.entry.js.map → p-53259824.entry.js.map} +0 -0
  662. /package/dist/web-components-library/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
  663. /package/dist/web-components-library/{p-a167bdd5.js.map → p-5651f576.js.map} +0 -0
  664. /package/dist/web-components-library/{p-51f5e5e6.entry.js.map → p-585dee35.entry.js.map} +0 -0
  665. /package/dist/web-components-library/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
  666. /package/dist/web-components-library/{p-417ed850.entry.js.map → p-612053d0.entry.js.map} +0 -0
  667. /package/dist/web-components-library/{p-8d443cac.entry.js.map → p-62cb3441.entry.js.map} +0 -0
  668. /package/dist/web-components-library/{p-17d2d60b.entry.js.map → p-65ebe30f.entry.js.map} +0 -0
  669. /package/dist/web-components-library/{p-e38df1a4.entry.js.map → p-66ae33e4.entry.js.map} +0 -0
  670. /package/dist/web-components-library/{p-13366542.js.map → p-6e918064.js.map} +0 -0
  671. /package/dist/web-components-library/{p-db04ba75.entry.js.map → p-7253e223.entry.js.map} +0 -0
  672. /package/dist/web-components-library/{p-03e85eac.entry.js.map → p-739ab487.entry.js.map} +0 -0
  673. /package/dist/web-components-library/{p-6e92df75.entry.js.map → p-7e79e234.entry.js.map} +0 -0
  674. /package/dist/web-components-library/{p-571f1e1d.entry.js.map → p-815f156c.entry.js.map} +0 -0
  675. /package/dist/web-components-library/{p-03cd1ead.entry.js.map → p-83d9d8e1.entry.js.map} +0 -0
  676. /package/dist/web-components-library/{p-af7e5773.entry.js.map → p-84ce3410.entry.js.map} +0 -0
  677. /package/dist/web-components-library/{p-ecae1a7a.entry.js.map → p-899bd07d.entry.js.map} +0 -0
  678. /package/dist/web-components-library/{p-140b5d8f.entry.js.map → p-9287cb7b.entry.js.map} +0 -0
  679. /package/dist/web-components-library/{p-d13520c2.entry.js.map → p-9f7a2eab.entry.js.map} +0 -0
  680. /package/dist/web-components-library/{p-48b2e967.entry.js.map → p-a9d44417.entry.js.map} +0 -0
  681. /package/dist/web-components-library/{p-9c36d574.entry.js.map → p-acca8b92.entry.js.map} +0 -0
  682. /package/dist/web-components-library/{p-b1039f3d.entry.js.map → p-ae5206a6.entry.js.map} +0 -0
  683. /package/dist/web-components-library/{p-456f984f.js.map → p-b20482f3.js.map} +0 -0
  684. /package/dist/web-components-library/{p-291319ed.entry.js.map → p-b6178a44.entry.js.map} +0 -0
  685. /package/dist/web-components-library/{p-e0a0bfb2.entry.js.map → p-b746bdfa.entry.js.map} +0 -0
  686. /package/dist/web-components-library/{p-0c489c4b.entry.js.map → p-b7aecfdb.entry.js.map} +0 -0
  687. /package/dist/web-components-library/{p-3618e227.entry.js.map → p-bc9cda42.entry.js.map} +0 -0
  688. /package/dist/web-components-library/{p-350f84c5.entry.js.map → p-bf3ec62b.entry.js.map} +0 -0
  689. /package/dist/web-components-library/{p-f3037ac9.entry.js.map → p-c18be7cb.entry.js.map} +0 -0
  690. /package/dist/web-components-library/{p-fb2eb3c0.entry.js.map → p-cc143ffd.entry.js.map} +0 -0
  691. /package/dist/web-components-library/{p-b6ea478b.entry.js.map → p-ce70faad.entry.js.map} +0 -0
  692. /package/dist/web-components-library/{p-910fd48c.entry.js.map → p-d41b0ffc.entry.js.map} +0 -0
  693. /package/dist/web-components-library/{p-47137e39.entry.js.map → p-d93a0eaa.entry.js.map} +0 -0
  694. /package/dist/web-components-library/{p-db340bc6.entry.js.map → p-da71e0f0.entry.js.map} +0 -0
  695. /package/dist/web-components-library/{p-3d97dedf.entry.js.map → p-e6102e19.entry.js.map} +0 -0
  696. /package/dist/web-components-library/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
  697. /package/dist/web-components-library/{p-febc4982.entry.js.map → p-ed17a1ae.entry.js.map} +0 -0
  698. /package/dist/web-components-library/{p-ef8a7250.entry.js.map → p-ee01c1e9.entry.js.map} +0 -0
  699. /package/dist/web-components-library/{p-38d5e74f.entry.js.map → p-f408af2b.entry.js.map} +0 -0
  700. /package/dist/web-components-library/{p-eb5a148f.entry.js.map → p-f7079f2c.entry.js.map} +0 -0
  701. /package/dist/web-components-library/{p-8855aef4.js.map → p-fbbd8574.js.map} +0 -0
  702. /package/www/build/{p-b222df41.entry.js.map → p-009458f1.entry.js.map} +0 -0
  703. /package/www/build/{p-7c20b8f6.entry.js.map → p-00ddac69.entry.js.map} +0 -0
  704. /package/www/build/{p-0b100bd7.entry.js.map → p-02d127ec.entry.js.map} +0 -0
  705. /package/www/build/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
  706. /package/www/build/{p-ec740313.entry.js.map → p-08e29422.entry.js.map} +0 -0
  707. /package/www/build/{p-06b8521b.entry.js.map → p-0eb7715b.entry.js.map} +0 -0
  708. /package/www/build/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
  709. /package/www/build/{p-c62825e1.js.map → p-10e26ed9.js.map} +0 -0
  710. /package/www/build/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
  711. /package/www/build/{p-f7ef289b.entry.js.map → p-17a48a14.entry.js.map} +0 -0
  712. /package/www/build/{p-273f3c53.entry.js.map → p-192b110c.entry.js.map} +0 -0
  713. /package/www/build/{p-16719dff.entry.js.map → p-19a3a2a6.entry.js.map} +0 -0
  714. /package/www/build/{p-0778e75d.entry.js.map → p-1ca63396.entry.js.map} +0 -0
  715. /package/www/build/{p-d847bfcd.entry.js.map → p-1e5850ba.entry.js.map} +0 -0
  716. /package/www/build/{p-6297dfaa.entry.js.map → p-1fa427f1.entry.js.map} +0 -0
  717. /package/www/build/{p-6b791915.entry.js.map → p-2a10219c.entry.js.map} +0 -0
  718. /package/www/build/{p-63488a2b.entry.js.map → p-2ca08187.entry.js.map} +0 -0
  719. /package/www/build/{p-32d603b8.js.map → p-2d1a00b5.js.map} +0 -0
  720. /package/www/build/{p-09552f18.entry.js.map → p-383eedc4.entry.js.map} +0 -0
  721. /package/www/build/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
  722. /package/www/build/{p-6ed39f10.entry.js.map → p-4315cb7f.entry.js.map} +0 -0
  723. /package/www/build/{p-a4aaffd3.entry.js.map → p-4d2b5dae.entry.js.map} +0 -0
  724. /package/www/build/{p-b7af7fa4.entry.js.map → p-4df68dea.entry.js.map} +0 -0
  725. /package/www/build/{p-c451b4d7.entry.js.map → p-5071fa2b.entry.js.map} +0 -0
  726. /package/www/build/{p-eb3985d0.entry.js.map → p-53259824.entry.js.map} +0 -0
  727. /package/www/build/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
  728. /package/www/build/{p-a167bdd5.js.map → p-5651f576.js.map} +0 -0
  729. /package/www/build/{p-51f5e5e6.entry.js.map → p-585dee35.entry.js.map} +0 -0
  730. /package/www/build/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
  731. /package/www/build/{p-417ed850.entry.js.map → p-612053d0.entry.js.map} +0 -0
  732. /package/www/build/{p-8d443cac.entry.js.map → p-62cb3441.entry.js.map} +0 -0
  733. /package/www/build/{p-17d2d60b.entry.js.map → p-65ebe30f.entry.js.map} +0 -0
  734. /package/www/build/{p-e38df1a4.entry.js.map → p-66ae33e4.entry.js.map} +0 -0
  735. /package/www/build/{p-13366542.js.map → p-6e918064.js.map} +0 -0
  736. /package/www/build/{p-db04ba75.entry.js.map → p-7253e223.entry.js.map} +0 -0
  737. /package/www/build/{p-03e85eac.entry.js.map → p-739ab487.entry.js.map} +0 -0
  738. /package/www/build/{p-6e92df75.entry.js.map → p-7e79e234.entry.js.map} +0 -0
  739. /package/www/build/{p-571f1e1d.entry.js.map → p-815f156c.entry.js.map} +0 -0
  740. /package/www/build/{p-03cd1ead.entry.js.map → p-83d9d8e1.entry.js.map} +0 -0
  741. /package/www/build/{p-af7e5773.entry.js.map → p-84ce3410.entry.js.map} +0 -0
  742. /package/www/build/{p-ecae1a7a.entry.js.map → p-899bd07d.entry.js.map} +0 -0
  743. /package/www/build/{p-140b5d8f.entry.js.map → p-9287cb7b.entry.js.map} +0 -0
  744. /package/www/build/{p-d13520c2.entry.js.map → p-9f7a2eab.entry.js.map} +0 -0
  745. /package/www/build/{p-48b2e967.entry.js.map → p-a9d44417.entry.js.map} +0 -0
  746. /package/www/build/{p-9c36d574.entry.js.map → p-acca8b92.entry.js.map} +0 -0
  747. /package/www/build/{p-b1039f3d.entry.js.map → p-ae5206a6.entry.js.map} +0 -0
  748. /package/www/build/{p-456f984f.js.map → p-b20482f3.js.map} +0 -0
  749. /package/www/build/{p-291319ed.entry.js.map → p-b6178a44.entry.js.map} +0 -0
  750. /package/www/build/{p-e0a0bfb2.entry.js.map → p-b746bdfa.entry.js.map} +0 -0
  751. /package/www/build/{p-0c489c4b.entry.js.map → p-b7aecfdb.entry.js.map} +0 -0
  752. /package/www/build/{p-3618e227.entry.js.map → p-bc9cda42.entry.js.map} +0 -0
  753. /package/www/build/{p-350f84c5.entry.js.map → p-bf3ec62b.entry.js.map} +0 -0
  754. /package/www/build/{p-f3037ac9.entry.js.map → p-c18be7cb.entry.js.map} +0 -0
  755. /package/www/build/{p-fb2eb3c0.entry.js.map → p-cc143ffd.entry.js.map} +0 -0
  756. /package/www/build/{p-b6ea478b.entry.js.map → p-ce70faad.entry.js.map} +0 -0
  757. /package/www/build/{p-910fd48c.entry.js.map → p-d41b0ffc.entry.js.map} +0 -0
  758. /package/www/build/{p-47137e39.entry.js.map → p-d93a0eaa.entry.js.map} +0 -0
  759. /package/www/build/{p-db340bc6.entry.js.map → p-da71e0f0.entry.js.map} +0 -0
  760. /package/www/build/{p-3d97dedf.entry.js.map → p-e6102e19.entry.js.map} +0 -0
  761. /package/www/build/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
  762. /package/www/build/{p-febc4982.entry.js.map → p-ed17a1ae.entry.js.map} +0 -0
  763. /package/www/build/{p-ef8a7250.entry.js.map → p-ee01c1e9.entry.js.map} +0 -0
  764. /package/www/build/{p-38d5e74f.entry.js.map → p-f408af2b.entry.js.map} +0 -0
  765. /package/www/build/{p-eb5a148f.entry.js.map → p-f7079f2c.entry.js.map} +0 -0
  766. /package/www/build/{p-8855aef4.js.map → p-fbbd8574.js.map} +0 -0
@@ -193,7 +193,7 @@ export class ZFileUpload {
193
193
  }))))));
194
194
  }
195
195
  render() {
196
- return (h(Host, { key: '7520b5da6e58534cb4c732d0745424b9b6de6991' }, h("div", { key: 'fbdd488d4cfe2cc3a01f0d2e4abfea6df3b6c8c8', class: `container ${this.getType()}` }, this.mainTitle && this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { key: '26e02bd9c532f2c4b38ab94854875d8b8aba9058', modalid: `file-upload-${this.type}-error-modal`, tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: this.errorModalTitle, onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
196
+ return (h(Host, { key: 'e68a1c50d06ebac5cb95860fa918d6c88b27a4e2' }, h("div", { key: 'd54fb8a28b5acb9d2dd42f64fc82d7dd733847ba', class: `container ${this.getType()}` }, this.mainTitle && this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { key: '7760199223a8c2249aa9cca3be4bae916b7f57e6', modalid: `file-upload-${this.type}-error-modal`, tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: this.errorModalTitle, onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
197
197
  }
198
198
  static get is() { return "z-file-upload"; }
199
199
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class ZList {
18
18
  this.setChildrenSizeType();
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '633a5d569f1cf8bb85c40da691e254fb9f78f6bd' }, h("slot", { key: 'bd1315c66e0dca81cfe6607f4a82245b94c84e6b' })));
21
+ return (h(Host, { key: 'c01e8c9e4b4f7afb0ca872d7ceab5cb6ddbb1489' }, h("slot", { key: '794584b339e6c16dd9286a7f64b86836fe43ad9a' })));
22
22
  }
23
23
  static get is() { return "z-list"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -115,7 +115,7 @@ export class ZListElement {
115
115
  }
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: '8b3fcd0834960a5549178f3f26d48b8236f27449', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.htmlTabindex }, h("div", { key: '6cd5ef8d54e9bb0780737cbd300a3809464c9901', class: "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '4ba2505a4483ec70134f6b39ce18351b679db379', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: 'ac96ea3379df56b2a3b67164d52a0633764aab23', color: this.dividerColor, size: this.dividerSize }))));
118
+ return (h(Host, { key: '5d91602e00c7da63a8697ba7fefb0358128806ea', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.htmlTabindex }, h("div", { key: '862f8416c97f4843741566729e5a28105cb88d90', class: "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '17ff37f44019ebf4d92c4730b9535c0edf6e8ace', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '0a283eb65f2ca71d3d5c40d5e0c561ec95b3fcc9', color: this.dividerColor, size: this.dividerSize }))));
119
119
  }
120
120
  static get is() { return "z-list-element"; }
121
121
  static get encapsulation() { return "shadow"; }
@@ -25,10 +25,10 @@ export class ZListGroup {
25
25
  this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'a2bd11f2847f5bc4e955b1db58e73f8caa65ad63', role: "group" }, h("div", { key: '073b18d2d7fe3c04dea626217dbf0c964853bbc1', class: {
28
+ return (h(Host, { key: '7dc5fbe5639f76dd3582024780546dd5f5eeacd9', role: "group" }, h("div", { key: '697940e26acd3c2a56e15d74ef3c7b4dd735a773', class: {
29
29
  "z-list-group-header-container": true,
30
30
  "has-header": this.hasHeader,
31
- } }, h("slot", { key: '4683cdfdd16d2dba19b4580ff7819edbe42953cd', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '3fa3dd94bcdde1f2bd4f7d17ed48cec4916719f4', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: 'ce8e83727c6a050df7df95e4c2321619f5d5da33' })));
31
+ } }, h("slot", { key: 'bc95ab750467cd507c7a0c77b50364185d964e10', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '1f0fa574ba3ed9d71bd8c24718258c6a2b08b5b4', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: '33019310cb014686a44889d8333ba1dd48c4ede3' })));
32
32
  }
33
33
  static get is() { return "z-list-group"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class ZTd {
29
29
  this.updateColspan();
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '36a62d2c751b3b889c7f69280418e95ff02192d5', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'd9cdf988ecedb17c06b7081919a77122b5d28660', class: "cell--content" }, h("slot", { key: 'f5627d2fea6d851092356ba32932f7ccc1031398' }), this.showMenu && (h("div", { key: 'f58a7b0a33b62aeca07a2fa21958a714345b6dac', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '6b96fb5d5f7108f29a010f93e68f4e9e1b249ab1', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'a73b3a6c8b3aff6c689f14c2b90bc4a2626cff3b', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '9444ad52d7660466cb784e565306fd72922d5426', name: "contextual-menu" })))))));
32
+ return (h(Host, { key: 'c23aff45c5f7c8be5725064c8b1e41880dc8a181', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'ac94183fe84827a9953c22e53769c5eb14bda38d', class: "cell--content" }, h("slot", { key: 'fe9247cefa14306bea82fdc0509f27d9b9bc9dc9' }), this.showMenu && (h("div", { key: 'b389e78768220495f19005c03e5e5ee2f6e5ceb0', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'e9340861d4ed7fca740edd61d496580d0351c606', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '79626910b1f2fce99c70f462dab372c1a6c84983', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '10973d34641dd975e0b450a80530f5398131166d', name: "contextual-menu" })))))));
33
33
  }
34
34
  static get is() { return "z-td"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class ZTh {
50
50
  this.updateColspan();
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: 'e0dd2a24787597fa832ba06e3eec6c18a8204f2f', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '4274667d48308bfdaf727f1707ef7d44eb71a356', class: "cell--content" }, h("slot", { key: '52166cb6e7a60e5fb248e22990c8942944ca05fe' }), this.showSorting && (h("button", { key: '1b8c8cbb9539eb83b3381535fdb857bdd9451fe3', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '414ddf43bf9fec1df07cfe4146a4c9bdbc8dacbf', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '7633c04c015392315720bc7566fc59b7cfb2cc1d', class: "cell--menu-container" }, h("z-button", { key: '0786009425989ad4eb5878f665d095c318a335d8', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '59ebb822c77766acc18cdb9c4e292aba20407e63', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '801d41cbe534e989407421b60df2a7a7c46e4d22', name: "contextual-menu" })))))));
53
+ return (h(Host, { key: 'e7efcdcf5a92680808006b72248f02e35d00f50b', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '763042f42f58d8636337cc3cb958d3f68e24f934', class: "cell--content" }, h("slot", { key: 'b4b7068f6f3b345d335a84e8e322644cc817af90' }), this.showSorting && (h("button", { key: 'e4baac0a793d3626791b16e1868041b96a89d934', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '877e5d01cc8943f6cf034cb5d726ac9d97975e8d', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '990ac8bc8c274b77c37fc56da0c25b6042aa1d53', class: "cell--menu-container" }, h("z-button", { key: '877468c31868c3dd8707b1d8a0004ed28db1872e', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '255b3e47c770eb87aef8742c6ca3365aa5e6903c', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '3aeec135bd29027346aeda2165e181e961b39d17', name: "contextual-menu" })))))));
54
54
  }
55
55
  static get is() { return "z-th"; }
56
56
  static get encapsulation() { return "shadow"; }
@@ -36,7 +36,7 @@ export class ZTable {
36
36
  (_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: '6fa1464a9d96267c0a1a45078a7b19e15930b2be', expandable: this.expandable }, h("div", { key: '9436f4627cab2b6c474bbfc803b64514cd152fb3', class: "table", role: "table" }, h("slot", { key: 'b9cf927ccd915cf55f4bb2e5a8943ceff347f9f7' }))));
39
+ return (h(Host, { key: 'c4f14e4f4b2c86b75cdb8d16278585687abcb9db', expandable: this.expandable }, h("div", { key: '04205d4e02f1a23cd7f250d43439d6ec2a0113bf', class: "table", role: "table" }, h("slot", { key: 'd3912b2efc7cd2321fc6f7a16664169e405f1234' }))));
40
40
  }
41
41
  static get is() { return "z-table"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  */
6
6
  export class ZTbody {
7
7
  render() {
8
- return (h(Host, { key: '8520398deeb7fec7d7aee91d87e39775f93355c6', role: "rowgroup" }, h("slot", { key: 'a73aff9d76af07fa46c373e362ac102349c844ed' })));
8
+ return (h(Host, { key: 'e585e51ab73c509aa7ee84759946bb99964a3383', role: "rowgroup" }, h("slot", { key: 'de704bc4e5e8b8b67b74866f570616a9ef797b17' })));
9
9
  }
10
10
  static get is() { return "z-tbody"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class ZTfoot {
8
8
  this.sticky = false;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'ad89fa705c3e70275166d5146ab915a286feedfe', role: "rowgroup" }, h("slot", { key: 'cb66c0a5c01972c54100efade79a91241baadc9a' })));
11
+ return (h(Host, { key: '6df70d40572663b9e9ac24aaa1c46408b3ec72b7', role: "rowgroup" }, h("slot", { key: '6440f9b4a2c3241b33c3975bce5d37328b59e9f4' })));
12
12
  }
13
13
  static get is() { return "z-tfoot"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class ZThead {
8
8
  this.sticky = false;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'ba72ed16202c8dbcc0176254347cdbdbc9d11418', role: "rowgroup" }, h("slot", { key: '4c2f8a0ee4fbd2718796cc254dd3d689403782cf' })));
11
+ return (h(Host, { key: '2857b5a45be55f32bf10cb523d8f0035ed65e238', role: "rowgroup" }, h("slot", { key: '015a96ef6c0b72eff9dfde65cf96c6afdfaf6cd5' })));
12
12
  }
13
13
  static get is() { return "z-thead"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class ZTr {
43
43
  this.updateColumns();
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: 'f4ec553131b472795ba58de3d2dfecd217774879', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: '746b4cef2f63c5b0c0c38a2b83606d81c0dd17cf', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '96c12982390416514e22a25ebb8f889ee4795bea', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'c0570b8d6d1fd6e7759a6f9d170dc3c5f932dc88', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'aa2d374dbd6a2dda118df9884c0a03c3234a2d01', onSlotchange: this.updateColumns.bind(this) })));
46
+ return (h(Host, { key: '108f17d961307c112ccb6dd092870de5e71c4cdf', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: '09dda94d10d8ea2e5bb600337a6d26cb1709e39f', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'f247194666828e2bc869e1eb95dd829422226d6a', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '7c7a94e6133752f3710c89fd2cebf039fea028ce', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '3a5488915119a0172ee74b3f2202ad9ac93c1186', onSlotchange: this.updateColumns.bind(this) })));
47
47
  }
48
48
  static get is() { return "z-tr"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -47,7 +47,7 @@ export class ZAccordion {
47
47
  this.toggled.emit(this.open);
48
48
  }
49
49
  render() {
50
- return (h("details", { key: '6cbbf8aca4848416bbc95fb8114fe2ebeb857a35', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '983d8f605375d5ddce8a4a51b5b63fa8e405a483', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '595a91626c910b3dd13360bb5ad9fb09a147facc', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '30f72bedfb26e6150853c06e0e7a3e9a21afcd11', class: "z-accordion-label" }, this.label), h("span", { key: 'bfbf51e33e0114ada33cad9ea49f878cb5f39d41', class: "z-accordion-tags" }, h("slot", { key: '027530202366a508b0b434b7cf02b7e4fe6763dd', name: "tag" })), h("z-icon", { key: '8f02c3ea045b217b0b3edc08eb0c768bf98db040', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '1b03e279c9a10fcbfd753c6d364e21e78b663fdd', class: "z-accordion-content", part: "content" }, h("slot", { key: '278b1775544aad10d9a8eb4df69b370b6542291f' })))));
50
+ return (h("details", { key: '553c092830aef8aeb00d68ff98bcde8432aca6b1', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: 'd9834ea9fc0ddf03e1988134a72885357c885761', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: 'a36e67e30ca2239ee1ea95a1a50bbed3d34815ab', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: 'd26597865876c38d5d23a24e39b1a2fb1ee83f31', class: "z-accordion-label" }, this.label), h("span", { key: 'd0c3a1691b7d0b2c8b4b789461864d1e40adbf53', class: "z-accordion-tags" }, h("slot", { key: '7a00b9f1df6db4b617026b3804a0183b8e5760fc', name: "tag" })), h("z-icon", { key: '44460b3f207965df5ad92386c00bb97c9ad14c20', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: 'c178a1ec6fadcdab1f612bbb465d68759fd11556', class: "z-accordion-content", part: "content" }, h("slot", { key: 'c472c1d459c4ac1c185caa7a143d2355a3811231' })))));
51
51
  }
52
52
  static get is() { return "z-accordion"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class ZAnchorNavigation {
49
49
  window.removeEventListener("hashchange", this.setCurrent);
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '7f0773194039735c315a25768b3a6c635a9fdb5b', collapsed: this.collapsed }, h("z-button", { key: '46b631d8377d3b5c6987ee63c45ddaec9d23871b', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: '7c71bac57142ad2591e42da19fee7ce72fada9be', ref: (el) => (this.nav = el) }, h("slot", { key: 'ce6251454b66d006a2c1fd4baf5c21fa3cffdb19' }))));
52
+ return (h(Host, { key: '24a1293616740146069105e12e6e5e3285188c5c', collapsed: this.collapsed }, h("z-button", { key: 'd591dd0f7ad7756814264c68b99c4231056fc80e', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: 'ce5d99d6235de3f09e94f603e25d9266e614dde4', ref: (el) => (this.nav = el) }, h("slot", { key: '6f9a769d7ba1b32504daf5a91deac3ab7431e411' }))));
53
53
  }
54
54
  static get is() { return "z-anchor-navigation"; }
55
55
  static get originalStyleUrls() {
@@ -256,7 +256,7 @@ export class ZAppHeader {
256
256
  }
257
257
  render() {
258
258
  const hasTopSubtitle = this.hasSlot("top-subtitle");
259
- return (h(Host, { key: '202f6410a5d144f99fd6e1dcda03e158cc6243e9', "menu-length": this.menuLength }, h("div", { key: 'de7906463bba9f27c698d8cc91858e80bf47e25b', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '2794e5031cbdac06d2d62adc5843ecbe33cd1864', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'ac7b5112a3e4428e93ff70ca15537722c6592958', class: "top-subtitle" }, h("slot", { key: 'aac195f353d13542c2bb34c5132ad917d75a84f8', name: "top-subtitle" }))), h("div", { key: 'd9cfcf3e58684c4dd123b1b9389d6da84d48d516', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '668343a3f5999d717a62fa9d227ffb164d026224', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '1d506682846d26428e563c414c7c38d978946bc5', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '600d9afa684d0f7070f526ce09a9f69ebb229296', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'b525f96aa7ff013a0a469f161fc2667deb6a7497', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
259
+ return (h(Host, { key: '73660687ce18057a727a2248273d06726f4170ca', "menu-length": this.menuLength }, h("div", { key: 'd2373224c1aae86b4f4a98af8e1bf399b9e1d48a', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: 'd91ee4a3bdf657cad1b929c4a272c0f814e1e059', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'c6dad6a4c91ace00fbdcff67dcdd6c1098bd9ff7', class: "top-subtitle" }, h("slot", { key: 'de9b4e221235a883084ae737b8c3a0d1898421c2', name: "top-subtitle" }))), h("div", { key: 'afd063f688ba48c6376374d11492a613939aa55e', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '3739c4b5afcf36254eb6447ab48762326ed5c5cc', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '15ab27c813c14db5d4e4edf8625e03d6d0649aa7', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '8b275fc910cc9a2a7edca5cb8d265a97b852d42d', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'c6c9e409dd5c0a90bd37aacc6e12242cdb59dc0e', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
260
260
  }
261
261
  static get is() { return "z-app-header"; }
262
262
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class ZAriaAlert {
5
5
  this.mode = ZAriaAlertMode.POLITE;
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '351d44f3f64362a97cac21201f8cfa5311158870', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '456a2c0bb53f74d74b84a90c027dbf94249fbab9' })));
8
+ return (h(Host, { key: 'e8ceca73857489585911705b8812ba975e9f0c13', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '33318fdf8854824a83ee0273d26990ba6344778d' })));
9
9
  }
10
10
  static get is() { return "z-aria-alert"; }
11
11
  static get properties() {
@@ -24,10 +24,10 @@ export class ZAvatar {
24
24
  }
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '8e7d78169cfb0f1705bc91c8db649a7d500290a6', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
27
+ return (h(Host, { key: 'd5f252f18b2268372c5541072887e6c8d12bfb17', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
28
28
  color: `var(--${this.textColor})`,
29
29
  backgroundColor: `var(--${this.backgroundColor})`,
30
- } }, this.text && !this.image && h("span", { key: '096abc1df006eea6430564aaf999c22a18b60682' }, this.text.substring(0, 2)), this.image && (h("img", { key: '68d28c12bc007a0575e6797987501a1851ae8b3a', src: this.image, onError: () => (this.image = "") }))));
30
+ } }, this.text && !this.image && h("span", { key: '5ef7c7096048ec680afc83a5d5f38116e86421f4' }, this.text.substring(0, 2)), this.image && (h("img", { key: 'cc4f580eed60c8f07e28e1cde52a3bad8dbb91ad', src: this.image, onError: () => (this.image = "") }))));
31
31
  }
32
32
  static get is() { return "z-avatar"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -193,10 +193,10 @@ export class ZBreadcrumb {
193
193
  ];
194
194
  }
195
195
  render() {
196
- return (h(Host, { key: 'ec59a3c1afe2d946df4b5ef8dae569b40e20e083', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: '9b1668c981c22cd2d52f31f58e2ac38a18f574fb', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
196
+ return (h(Host, { key: '8a55265a6d9ceab8a707e341ea3c6be295b35e61', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: '286628bb48c88c0f14b485dee20ef354a0c990b3', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
197
197
  semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
198
198
  underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
199
- } }, h("ol", { key: 'fedac8ea463ba9b20784d20cf50f9f8526055d3b' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
199
+ } }, h("ol", { key: 'd038bc9a7717ecca40df643afd6c01f51112952f' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
200
200
  }
201
201
  static get is() { return "z-breadcrumb"; }
202
202
  static get encapsulation() { return "shadow"; }
@@ -36,7 +36,7 @@ export class ZButtonSort {
36
36
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
37
37
  }
38
38
  render() {
39
- return (h("button", { key: '0cb1fb4cd3661deb66e79e85bcc87657691af1a9', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '24c3b8e7b8c6acc83f55cbf7bc0233382a3a2738', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: 'a9ae20d5e3926dc6b6cd3d54757a9c829c15c823', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: 'd3d3aa5e07074dfd72da40f8059f70e25d1a1f58', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'e0003ebe4688bf0af648aa9b7eb01c446460f069', name: "caret-up-down", width: 16, height: 16 })));
39
+ return (h("button", { key: 'a09a742f73dcb341b95de8e1a21311f406e3fdee', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '285d082ae761e08b52360eaa4ee6a92db46a872e', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: '48789b6db3045fd412e1d0282da0356399fd8c85', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: '607456b9464deadfd3d5d2c1f0910f01bb644afe', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'c17f4fd8a9197069fd995ae750747da0bc0716ff', name: "caret-up-down", width: 16, height: 16 })));
40
40
  }
41
41
  static get is() { return "z-button-sort"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -9,11 +9,11 @@ export class ZChip {
9
9
  this.ariaLabel = "";
10
10
  }
11
11
  render() {
12
- return (h("div", { key: 'fe1e1ba8b794a0e67a04236808573c3ae9bcc4ce', class: {
12
+ return (h("div", { key: '6d69c4fbf49ee67c044dce152116c5bf9835e120', class: {
13
13
  "z-chip-container": true,
14
14
  "z-chip-interactive": !!this.interactiveIcon,
15
15
  [this.type]: true,
16
- }, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: 'a1ee44f219dd0b451851aadd081d29d8a03fbeaf', name: this.icon }), h("slot", { key: '126b3211e329d893d6b5b3f567cc20630dd02534' }), this.interactiveIcon && (h("button", { key: '059813ec42ff86dff2ce9fb96650ad35b38e5622', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: '3fb748bef5acea52a4d4cd565b1da11ae777e784', class: "interactive-icon", name: this.interactiveIcon })))));
16
+ }, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: '2143b1018aff1184681cd29da4bf19c64df7240b', name: this.icon }), h("slot", { key: '0df71559165514d1b26422a5fbf17ba1f428758e' }), this.interactiveIcon && (h("button", { key: '3ab388932ca992187c6b832e58df0431217c7ca8', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: 'fc6369ac78edf36b9eb31fd7537130cde930de32', class: "interactive-icon", name: this.interactiveIcon })))));
17
17
  }
18
18
  static get is() { return "z-chip"; }
19
19
  static get encapsulation() { return "scoped"; }
@@ -251,7 +251,7 @@ export class ZCombobox {
251
251
  return (h("div", { class: "check-all-wrapper" }, 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, role: "option", "aria-selected": allChecked ? "true" : "false", onKeyDown: (e) => this.handleSelectArrowsNavigation(e, checkAllId), onInputCheck: (e) => this.checkAll(e.detail.checked), onInputFocus: (e) => this.handleCheckboxFocus(e.detail.id) })));
252
252
  }
253
253
  render() {
254
- return (h("div", { key: '303335d1978e653877985ff2435f836bca278400', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
254
+ return (h("div", { key: 'ecb637de1521ed5d7a8d09f506c3944358e6e355', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
255
255
  }
256
256
  static get is() { return "z-combobox"; }
257
257
  static get encapsulation() { return "shadow"; }
@@ -35,9 +35,9 @@ export class ZCoverHero {
35
35
  return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '1a87367d3abb5790f0ea6cacf7d3e75eacbff59d' }, this.variant === CoverHeroVariant.STACKED &&
38
+ return (h(Host, { key: '6c1b2c2b0e945199902ea9f265c8e202c834eb83' }, this.variant === CoverHeroVariant.STACKED &&
39
39
  this.contentPosition === CoverHeroContentPosition.TOP &&
40
- this.renderContent(), h("div", { key: 'b84e940db5381001045b9ebe7dfec5069ab27694', class: "main-container" }, h("div", { key: 'f46b165bd73a5eca477cd43164999ad5517b821c', class: "cover-container" }, h("slot", { key: 'cf61e486fd79bbbf38aa788f33dbd857dba86109', name: "cover" })), h("slot", { key: 'd0a748e763dde074c1c25c9aacf84d7357c17f14', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
40
+ this.renderContent(), h("div", { key: '802d7dc249692b4772035c223f2f0124cd9c3e4b', class: "main-container" }, h("div", { key: 'b0d2ea184ce216b2557d3bb403e11ae057a6ef19', class: "cover-container" }, h("slot", { key: '7a3c329bf5b38fff390ee10f346b588a2194f2b3', name: "cover" })), h("slot", { key: 'f7bfde21308e3f22c6633b96af5fb09bd2f659ae', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
41
41
  this.contentPosition === CoverHeroContentPosition.BOTTOM &&
42
42
  this.renderContent()));
43
43
  }
@@ -7,7 +7,7 @@ export class ZDivider {
7
7
  this.orientation = DividerOrientation.HORIZONTAL;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'e66c5e6bde9dd3ea0a531c87e37e643362b8d733', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
10
+ return (h(Host, { key: '51d07c34bce26aee25166c180e8b7802686782aa', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
11
11
  }
12
12
  static get is() { return "z-divider"; }
13
13
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class ZGhostLoading {
3
3
  render() {
4
- return h(Host, { key: '1b6194b00f5be2533e18e4c6a914f4e51bf7e7bd' });
4
+ return h(Host, { key: '6eea73c0f46a3413cde6d9181d0175eee9826ab8' });
5
5
  }
6
6
  static get is() { return "z-ghost-loading"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class ZIcon {
15
15
  return h("polygon", { points: ICONS[this.name] });
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '1a1e571015e571d47fe06be2014c56c63ae2243d', "aria-hidden": "true" }, h("svg", { key: 'e2cc3ec6fc9d8e2fe31dc1b6a6ec0ed17556b3e4', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
18
+ return (h(Host, { key: '87e20d411d3a0476f484ddf7929e463273f9f64a', "aria-hidden": "true" }, h("svg", { key: '3467f40fa08154f3e48c8346bbcc81a4e60e7c8d', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
19
19
  }
20
20
  static get is() { return "z-icon"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class ZInfoBox {
11
11
  this.infoBoxClose.emit({ boxid: this.boxid });
12
12
  }
13
13
  render() {
14
- return (h("div", { key: '4e08c5c0d3c070db1944b3ab5745d192fd4e8013', id: this.boxid }, h("slot", { key: 'f94d50c3fd311445d4abb7e3f12c387c3be4724d', name: "content" }), this.isclosable && (h("z-icon", { key: '165b638f14604a45a798210ea2de1c9f59bb3612', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
14
+ return (h("div", { key: '0045eb418845bbf110614082c0b9a2923b747c08', id: this.boxid }, h("slot", { key: 'ffa268a29a1bf33d1366cd9bb6d6564bc82d3306', name: "content" }), this.isclosable && (h("z-icon", { key: 'd78e798a31af02d01762d046a8a78fd72d3764c2', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
15
15
  }
16
16
  static get is() { return "z-info-box"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -47,7 +47,7 @@ export class ZInfoReveal {
47
47
  }
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '0cd6457cdde5047f859f7e11feee92fb9dd0eb31', open: this.open }, h("button", { key: '63fd527be4c6d7de36aa8546dc47874ad571de01', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: '0297eed1694a18d08b9290568a503afb441127ea', name: this.icon }), this.label && h("span", { key: '0fa5ff78efe186486b6991fec0edbcd560a2f302', class: "z-info-reveal-label" }, this.label)), h("div", { key: '6d1125e73e361aee556994e3e311196dfa288dee', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'fe7b4a62cb6306418f935254139cfc4b0048a821' }), h("button", { key: '789d137466ede751579c4c64eddd04269eda3c12', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: '267e312def7799ab52a9fac1923d33538c8e9218', name: "multiply" })))));
50
+ return (h(Host, { key: '7b83b3501b67a664e60b210eef1749ed0161ffd8', open: this.open }, h("button", { key: '1cfa35284679639b5448b381fed85e33638f299b', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: 'd84ea2e8e508e7e87d2974256613e5c1a9fba59e', name: this.icon }), this.label && h("span", { key: '169679bf52a125bdd3fac5aa84eb8c585136d563', class: "z-info-reveal-label" }, this.label)), h("div", { key: '22764431af3874cef38473fe254ad81004418d86', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'de0d9c9e5065644b68e6b42b61d44813f80028e5' }), h("button", { key: 'a9afc989189dc20f48f6a27460fca1fd94e14fd1', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'e0dcfd4b2631f3ed0bea6434f4d248e66d1a56f7', name: "multiply" })))));
51
51
  }
52
52
  static get is() { return "z-info-reveal"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -261,7 +261,7 @@ export class ZInput {
261
261
  default:
262
262
  input = this.renderInputText(this.type);
263
263
  }
264
- return h(Host, { key: 'f59312821e115fe3cc9d55b867ddc9976f484639' }, input);
264
+ return h(Host, { key: 'a5f48d2f5870b944d081f2248427212e1876015c' }, input);
265
265
  }
266
266
  static get is() { return "z-input"; }
267
267
  static get encapsulation() { return "scoped"; }
@@ -17,7 +17,7 @@ export class ZInputMessage {
17
17
  this.onMessageChange();
18
18
  }
19
19
  render() {
20
- return (h(Host, Object.assign({ key: '64743b53453d4373ab87b8145d789362502adba2' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ee91747477c931223e978f7020d2d3c8fcd113e6', name: this.statusIcons[this.status] }), h("span", { key: 'a34b74de07034c9aa00bb6c701c2d05ea2de0a82', innerHTML: this.message })));
20
+ return (h(Host, Object.assign({ key: 'f8a0fc725c8e09f171076fdc58f0dec018a01112' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ab887f18fcdee987b77a2b211a1c8cbe0d88f778', name: this.statusIcons[this.status] }), h("span", { key: '7bf90a5951acbc4a0e66a01e7daa15a1962e3ede', innerHTML: this.message })));
21
21
  }
22
22
  static get is() { return "z-input-message"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class ZLogo {
16
16
  if (this.height) {
17
17
  style["height"] = style["max-height"] = `${this.height}px`;
18
18
  }
19
- return (h(Host, { key: 'b7aef0e1a12aefa4609fc698ac287245d93144f0', 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 }))));
19
+ return (h(Host, { key: 'dff898ba5911d6e7751af0cdefcf36a20a10d999', 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 }))));
20
20
  }
21
21
  static get is() { return "z-logo"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -171,7 +171,7 @@ export class ZMenuSection {
171
171
  this.onItemsChange();
172
172
  }
173
173
  render() {
174
- return (h(Host, { key: '8055d8257a832f25940c0a754bd58497fa4bd0a0', open: this.open }, h("button", { key: '311bb43cd08cb379973701c416744ee27e3747f8', 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: 'd6a00928ca6a80ccdec98164979ccb2681c130c5', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '976be6f35df99772aa82d82a60c86f3c09ca585a', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: 'd963f28d3d70563f01b9995194c941de9197cc1f', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'b42437ebb6c0c0373e4773f1930e527ed3a4697e', name: "section", onSlotchange: this.onItemsChange }))));
174
+ return (h(Host, { key: '58d9bd4b0d75c4ae935ade13c634c667c3a23d48', open: this.open }, h("button", { key: '1974d5f004188eed1d5e9b3818af67a5643d74d3', 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: '04b077536b31244987c454e147e74778953d0b97', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '915bb2bfea20172356ddb24ca0ca78f7fe62d2e7', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '4103c4516aea0b6bc8e362a6a7ed7f8e8db6ddde', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'bb21ddd5f73efd7ed7d7dadc8e1ea74609bbf13a', name: "section", onSlotchange: this.onItemsChange }))));
175
175
  }
176
176
  static get is() { return "z-menu-section"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import dialogPolyfill from "dialog-polyfill";
3
3
  import { KeyboardCode } from "../../beans";
4
+ import { Breakpoints } from "../../constants/breakpoints";
4
5
  const FOCUSABLE_ELEMENTS_SELECTOR = ':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])';
5
6
  /**
6
7
  * @slot modalCloseButton - accept custom close button
@@ -30,6 +31,10 @@ export class ZModal {
30
31
  this.modalBackgroundClick.emit({ modalid: this.modalid });
31
32
  }
32
33
  }
34
+ handlePageOverflow() {
35
+ const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);
36
+ document.body.style["overflow-y"] = mobileMediaQuery.matches ? "hidden" : "";
37
+ }
33
38
  componentDidLoad() {
34
39
  if (typeof window.HTMLDialogElement !== "function") {
35
40
  /* workaround to fix `registerDialog` in test environment:
@@ -44,6 +49,7 @@ export class ZModal {
44
49
  else {
45
50
  this.open();
46
51
  }
52
+ this.handlePageOverflow();
47
53
  }
48
54
  /** open modal */
49
55
  async open() {
@@ -105,16 +111,16 @@ export class ZModal {
105
111
  e.preventDefault();
106
112
  }
107
113
  render() {
108
- return (h("dialog", { key: '939263a9519b354a48afdfdbf798b4244ee52691', class: {
114
+ return (h("dialog", { key: 'b9a7dfc0194d437b48daf1a22efc514bceb93a71', class: {
109
115
  "modal-dialog": !this.scrollInside,
110
- }, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '3995bfe379fec7a082d4388c00bed6f502e579d6', class: {
116
+ }, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '41ddc29245cb7bed110b3b1410b8296b1684b7a1', class: {
111
117
  "modal-container": true,
112
118
  "modal-container-scroll-inside": this.scrollInside,
113
119
  "modal-container-scroll-outside": !this.scrollInside,
114
- }, id: this.modalid }, h("header", { key: '705e94eb3718b1ae2586509fd8c741171c23b93a', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: 'db232ef79c1ab60aa14a54a7e6a4aaf0881f4315' }, this.modaltitle && h("h1", { key: 'd33b41166d8f19a5fcfcdd1d941a939ea68c14a0', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: 'a20880f136c4a80117dc1ca67d6f507f64e4e3de', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: 'abd153e1755364e693cadacd9988ea1ae1b0b698', class: {
120
+ }, id: this.modalid }, h("header", { key: '69a76356adb26693c7292675bb9d75a7ec721efd', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: 'ed7499a8e3a45348a4789f15c16cd87adb5328a2' }, this.modaltitle && h("h1", { key: 'fc65554e7e51d40189d11862f53683dc1ef9f9c3', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: 'a590631026c2410fb0974ccdf20fec3973b9b1b5', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: '97b2332bbfc2601db62142dfeec21fe62515a0fb', class: {
115
121
  "modal-content-scroll-inside": this.scrollInside,
116
122
  "modal-content-scroll-outside": !this.scrollInside,
117
- }, id: "modal-content" }, h("slot", { key: '8decfb049990313a2a5d90944215105e250b1f6c', name: "modalContent" }))), h("div", { key: 'c85396660c16bf7f96526aa3d06e9b20b00b655d', class: {
123
+ }, id: "modal-content" }, h("slot", { key: '765f4c3f0cdeb903e275d21e7cd897980c980e15', name: "modalContent" }))), h("div", { key: '399af0bbf37da37b7bc066e2a096c52e8079a540', class: {
118
124
  "modal-background": true,
119
125
  "modal-background-scroll-outside": !this.scrollInside,
120
126
  }, "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/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I,EAAC,cAAc,GAAQ,CAC7B,CACF;YACN,4DACE,KAAK,EAAE;oBACL,kBAAkB,EAAE,IAAI;oBACxB,iCAAiC,EAAE,CAAC,IAAI,CAAC,YAAY;iBACtD,iBACW,iBAAiB,gBACjB,IAAI,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACf,CAAC,GACI,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n }\n }\n\n private handlePageOverflow(): void {\n const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);\n document.body.style[\"overflow-y\"] = mobileMediaQuery.matches ? \"hidden\" : \"\";\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n\n this.handlePageOverflow();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
@@ -208,10 +208,10 @@ export class ZNavigationTabs {
208
208
  (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
209
209
  }
210
210
  render() {
211
- return (h(Host, { key: '0b12b029411faa03fde8c7cab690c655a9222d96', class: {
211
+ return (h(Host, { key: 'ac35ce3ef46a51e61ce9c9eabf6162931f2aaca6', class: {
212
212
  "interactive-2": this.size === NavigationTabsSize.SMALL,
213
213
  "interactive-1": this.size !== NavigationTabsSize.SMALL,
214
- }, scrollable: this.canNavigate }, h("button", { key: '5022271cf8f6d8a48de6186af7cb54d75bb92427', 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: '8262403c712f134208a3bdbec48e71d3d446758c', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: 'f6ac7d4ac917af513600e6eed2c545000d6508ec', 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: '3de431022c169350f1a2dd342d8e6170d2b64210' })), h("button", { key: '2a5b18aa8280e94d610ffc2a1b30e527d65df8a6', 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: '3733f645a9c05166413740c7f5854d121c5f7cdd', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
214
+ }, scrollable: this.canNavigate }, h("button", { key: '786f2c6b9ed0946ef537c7b940a45fdba0fad584', 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: '84070a0d34a9bca56a7c0f96b8749876933ede5e', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '28aa5903faaabd9efd388217a9df5f9809e8f7af', 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: 'e4f812fc7e986193f42196b3cca48ebc396d7d1f' })), h("button", { key: 'e3c3ca48afe50912597387066fffb95c6b30536c', 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: 'cf2f62ed786f77e3c1a06d046d5f75254fc46b8d', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
215
215
  }
216
216
  static get is() { return "z-navigation-tabs"; }
217
217
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class ZNotification {
25
25
  }
26
26
  render() {
27
27
  var _a;
28
- return (h(Host, { key: '275c4d98f56fb388d1bb3373664f5ba52b22a613' }, this.contenticonname && (h("z-icon", { key: '6f947ada02ec82736df5c099285e8ad84bbd07ed', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '71fcf67cb01c84e0bef856dab960e4a04b472d7a', class: "content-container" }, h("div", { key: 'c590fccba3708952d3c71c8f274f7b5305f85583', class: "content-text" }, h("slot", { key: '104ae4ef5a77cb371f0b4d928a4804b71c33e23a' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: 'e43f9e7499e027131e76839cc21c9cc5ec332355', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: 'afc2acfa687d499bff6720423fa86afd335560ef', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'f03fafa58bdc583c34552e9f5d4114608ad82de1', name: "multiply-circle", width: 16, height: 16 })))));
28
+ return (h(Host, { key: 'cf70e33cea7793f3185e4b0d4ebe95b1ea79f437' }, this.contenticonname && (h("z-icon", { key: 'e5b3a7f2d4f95372267a38d93fa7a5a04aacffd7', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: 'f7444528fd7c916fa32a88bd163fb97d876fc81b', class: "content-container" }, h("div", { key: 'd3a2bb635692d6ce44ce3ddd255618657064987f', class: "content-text" }, h("slot", { key: '717588ae9ebab4f940d881d1f3d1bb9ae4837208' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: 'bdb3a4d60fd342a0d26091d3c3ff782a8e6e21b5', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '48818733cdc2f156b02654c1d49cd20fe883d248', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'c44ae446e926e375096da3f413ef96f193fb8297', name: "multiply-circle", width: 16, height: 16 })))));
29
29
  }
30
30
  static get is() { return "z-notification"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -66,7 +66,7 @@ export class ZOffcanvas {
66
66
  this.open = false;
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: 'd6d26ab3d262f18a7f7b0d79064d833550d7dc5e', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: '5006a356d94cd614e646f8c6cc22ef9bc82b230c', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: 'cdf6e5c0d1d7b594a75ba49214c7782c09f13fab', class: "canvas-content", role: "presentation" }, h("slot", { key: '9576d80ca8e63ae785fb66e01b696412ab8acad2', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: '91e08d2782d1c4ec027ebf452f128d64b96ef01d', class: "canvas-background", onClick: () => (this.open = false) }))));
69
+ return (h(Host, { key: '1e33dcee1ad8e36289e98efb41f899d6e7d3ef65', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: '6f97e9ce4dd928d0da4fb908393675369f10f510', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: '4346fe24097dd96a7e210b526ec25edc87aee75c', class: "canvas-content", role: "presentation" }, h("slot", { key: 'd19ccabacac91f39a4402f1a6015165fa03f5984', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: 'eaee11e9a44ab1a432dc49e5c0d03d26eb5cc869', class: "canvas-background", onClick: () => (this.open = false) }))));
70
70
  }
71
71
  static get is() { return "z-offcanvas"; }
72
72
  static get encapsulation() { return "scoped"; }
@@ -16,11 +16,11 @@ export class ZPanelElem {
16
16
  }
17
17
  render() {
18
18
  const elemId = this.elemid ? this.elemid : "";
19
- return (h("div", { key: 'f134c054a061905d6a32e4ecc999591308e78fcf', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '7740f9f046cf767c21eac8c44863e7293076550d', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: 'ee429dc9e4fe25b694ae31ebb75bc73219ae827c', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'ba903181574ff5ff92d9ec01910587ba4362aeee', class: "panel-elem-link" }, h("a", { key: 'edf0aec448a0fbceae6da0c2e19c12611c68bd3f', class: {
19
+ return (h("div", { key: 'f496afdd737f8f301856283f8d2f93032851fdd8', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '20eaa60cebdad4296f12ed506ad84675fadc9943', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '3ca2626855985cca2b5c5faddea7a9cf5531ff74', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '28872c77b4d3a4a5110ef647b647cec0057b67a3', class: "panel-elem-link" }, h("a", { key: '6d576850e07b08c73a5e75630fa3a9dfee6debcb', class: {
20
20
  "z-link": true,
21
21
  "z-link-disabled": this.isdisabled,
22
22
  "z-link-icon": true,
23
- }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '3b2dea4d2c546787aefd9157fb0b988c038f3cba', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: 'addef8764e493c2385d44b36a815c46b2e001e64', class: "panel-elem-desc" }, h("slot", { key: 'e2cb555ca78f835793274e7671cb3876560138bf', name: this.descrSlotName })))));
23
+ }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '55a800ee3ba16afda9dfb0334b7d1f7065a9a6ad', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: 'ab07b33a573a41d4e6bda595f2f1e05c29fb8858', class: "panel-elem-desc" }, h("slot", { key: 'ae882f23127a8afc5d1b9939b6dc557792750161', name: this.descrSlotName })))));
24
24
  }
25
25
  static get is() { return "z-panel-elem"; }
26
26
  static get encapsulation() { return "scoped"; }
@@ -301,7 +301,7 @@ export class ZPopover {
301
301
  this.onOpen();
302
302
  }
303
303
  render() {
304
- return h("slot", { key: 'd0760be7dcab1b4608f1b3c40cf0578b20d376fd' });
304
+ return h("slot", { key: '8489e64acda7ad13853fcef6e440ae2209b14564' });
305
305
  }
306
306
  static get is() { return "z-popover"; }
307
307
  static get encapsulation() { return "shadow"; }