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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (774) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/dist/cjs/{index-22bdf239.js → index-33b64381.js} +3 -3
  3. package/dist/cjs/{index-22bdf239.js.map → index-33b64381.js.map} +1 -1
  4. package/dist/cjs/{index-b26fbd76.js → index-5fe3e314.js} +2 -2
  5. package/dist/cjs/{index-b26fbd76.js.map → index-5fe3e314.js.map} +1 -1
  6. package/dist/cjs/{index-01778132.js → index-675adf8b.js} +2 -2
  7. package/dist/cjs/{index-01778132.js.map → index-675adf8b.js.map} +1 -1
  8. package/dist/cjs/{index-6726b7d2.js → index-8662ab0e.js} +5 -5
  9. package/dist/cjs/{index-6726b7d2.js.map → index-8662ab0e.js.map} +1 -1
  10. package/dist/cjs/index-96af6326.js +12 -4
  11. package/dist/cjs/{index-97f9a3a0.js → index-acf58aff.js} +3 -3
  12. package/dist/cjs/{index-97f9a3a0.js.map → index-acf58aff.js.map} +1 -1
  13. package/dist/cjs/{index-ef486baa.js → index-cfab5bb3.js} +2 -2
  14. package/dist/cjs/{index-ef486baa.js.map → index-cfab5bb3.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 +41 -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 +98 -94
  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 +498 -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 +201 -0
  103. package/dist/collection/components/book-card/z-book-card-app/index.js +124 -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 +56 -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 +73 -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 +128 -106
  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-7b64c875.js → index-350c25c9.js} +5 -5
  309. package/dist/esm/{index-7b64c875.js.map → index-350c25c9.js.map} +1 -1
  310. package/dist/esm/{index-09ff70db.js → index-3f261ba1.js} +2 -2
  311. package/dist/esm/{index-09ff70db.js.map → index-3f261ba1.js.map} +1 -1
  312. package/dist/esm/{index-fe4fc8da.js → index-53b72ad2.js} +2 -2
  313. package/dist/esm/{index-fe4fc8da.js.map → index-53b72ad2.js.map} +1 -1
  314. package/dist/esm/{index-8e5c830a.js → index-608103c2.js} +2 -2
  315. package/dist/esm/{index-8e5c830a.js.map → index-608103c2.js.map} +1 -1
  316. package/dist/esm/{index-681cc2b7.js → index-a93175b6.js} +3 -3
  317. package/dist/esm/{index-681cc2b7.js.map → index-a93175b6.js.map} +1 -1
  318. package/dist/esm/index-c8ceadeb.js +12 -4
  319. package/dist/esm/{index-19b24f63.js → index-cdaab374.js} +3 -3
  320. package/dist/esm/{index-19b24f63.js.map → index-cdaab374.js.map} +1 -1
  321. package/dist/esm/{index-a63060e9.js → index-ee40e66b.js} +15 -5
  322. package/dist/esm/index-ee40e66b.js.map +1 -0
  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 +37 -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 +99 -95
  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 +68 -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 +25 -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 +234 -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-01b73978.entry.js +2 -0
  413. package/dist/web-components-library/{p-9a48e70b.entry.js → p-03fff274.entry.js} +2 -2
  414. package/dist/web-components-library/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
  415. package/{www/build/p-0778e75d.entry.js → dist/web-components-library/p-0623cb0c.entry.js} +2 -2
  416. package/dist/web-components-library/{p-910fd48c.entry.js → p-09f6f502.entry.js} +2 -2
  417. package/dist/web-components-library/p-0cd10649.entry.js +2 -0
  418. package/dist/web-components-library/{p-90908f36.js → p-10607a39.js} +2 -2
  419. package/{www/build/p-63488a2b.entry.js → dist/web-components-library/p-11977cf4.entry.js} +2 -2
  420. package/{www/build/p-b7af7fa4.entry.js → dist/web-components-library/p-14cb6906.entry.js} +2 -2
  421. package/dist/web-components-library/p-15cb27a5.entry.js +2 -0
  422. package/{www/build/p-a9805b32.entry.js → dist/web-components-library/p-1630e240.entry.js} +2 -2
  423. package/dist/web-components-library/{p-e0a0bfb2.entry.js → p-1c243d34.entry.js} +2 -2
  424. package/dist/web-components-library/{p-140b5d8f.entry.js → p-201742d8.entry.js} +2 -2
  425. package/dist/web-components-library/p-2dd5e7f6.entry.js +2 -0
  426. package/dist/web-components-library/{p-13366542.js → p-2eddce0d.js} +2 -2
  427. package/dist/web-components-library/{p-0b100bd7.entry.js → p-2fbfd156.entry.js} +2 -2
  428. package/dist/web-components-library/{p-6ed39f10.entry.js → p-36935fa0.entry.js} +2 -2
  429. package/dist/web-components-library/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
  430. package/dist/web-components-library/p-3aa8d377.js +2 -0
  431. package/dist/web-components-library/p-4bf0a07d.entry.js +2 -0
  432. package/{www/build/p-48b2e967.entry.js → dist/web-components-library/p-5226fa9e.entry.js} +2 -2
  433. package/dist/web-components-library/p-554f3de2.entry.js +2 -0
  434. package/dist/web-components-library/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
  435. package/{www/build/p-e38df1a4.entry.js → dist/web-components-library/p-56f76e8b.entry.js} +3 -3
  436. package/dist/web-components-library/{p-f7ef289b.entry.js → p-57a479e2.entry.js} +2 -2
  437. package/dist/web-components-library/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
  438. package/{www/build/p-3618e227.entry.js → dist/web-components-library/p-5f220178.entry.js} +2 -2
  439. package/dist/web-components-library/{p-273f3c53.entry.js → p-6a5429eb.entry.js} +2 -2
  440. package/dist/web-components-library/{p-6e92df75.entry.js → p-6af64b62.entry.js} +2 -2
  441. package/dist/web-components-library/{p-03cd1ead.entry.js → p-6c24917e.entry.js} +2 -2
  442. package/dist/web-components-library/p-7073453b.entry.js +2 -0
  443. package/dist/web-components-library/p-7073453b.entry.js.map +1 -0
  444. package/dist/web-components-library/{p-350f84c5.entry.js → p-72463e1e.entry.js} +2 -2
  445. package/dist/web-components-library/{p-eb3985d0.entry.js → p-7af2be0f.entry.js} +2 -2
  446. package/dist/web-components-library/p-7b2938cf.js +2 -0
  447. package/dist/web-components-library/{p-0c489c4b.entry.js → p-7c4d7591.entry.js} +2 -2
  448. package/dist/web-components-library/p-88ce9c5e.entry.js +2 -0
  449. package/dist/web-components-library/{p-228db53f.entry.js → p-8aa0f4d0.entry.js} +2 -2
  450. package/dist/web-components-library/{p-db340bc6.entry.js → p-8abbecc6.entry.js} +2 -2
  451. package/{www/build/p-b1039f3d.entry.js → dist/web-components-library/p-8afbf9c1.entry.js} +2 -2
  452. package/dist/web-components-library/p-8cbc8d17.entry.js +2 -0
  453. package/dist/web-components-library/p-8cbc8d17.entry.js.map +1 -0
  454. package/{www/build/p-c62825e1.js → dist/web-components-library/p-8ed50cbe.js} +2 -2
  455. package/{www/build/p-d847bfcd.entry.js → dist/web-components-library/p-8f9ee669.entry.js} +2 -2
  456. package/dist/web-components-library/p-94ac3a8e.js +2 -0
  457. package/{www/build/p-b222df41.entry.js → dist/web-components-library/p-a0512ae0.entry.js} +2 -2
  458. package/{www/build/p-a4aaffd3.entry.js → dist/web-components-library/p-a1d6f996.entry.js} +2 -2
  459. package/dist/web-components-library/p-a23151fa.entry.js +2 -0
  460. package/dist/web-components-library/{p-ec740313.entry.js.map → p-a23151fa.entry.js.map} +1 -1
  461. package/{www/build/p-03e85eac.entry.js → dist/web-components-library/p-a75e11fd.entry.js} +2 -2
  462. package/{www/build/p-417ed850.entry.js → dist/web-components-library/p-a95bf077.entry.js} +3 -3
  463. package/dist/web-components-library/{p-f3037ac9.entry.js → p-aad8da85.entry.js} +2 -2
  464. package/dist/web-components-library/p-ac953072.entry.js +2 -0
  465. package/dist/web-components-library/p-ad2d1d63.entry.js +2 -0
  466. package/dist/web-components-library/p-b34993de.js +2 -0
  467. package/dist/web-components-library/p-b34993de.js.map +1 -0
  468. package/dist/web-components-library/{p-c451b4d7.entry.js → p-b3bb1d8e.entry.js} +2 -2
  469. package/dist/web-components-library/p-b6ef8bc3.entry.js +2 -0
  470. package/dist/web-components-library/p-b6ef8bc3.entry.js.map +1 -0
  471. package/dist/web-components-library/{p-ecae1a7a.entry.js → p-b7c2d03b.entry.js} +2 -2
  472. package/dist/web-components-library/p-b82f7ecc.entry.js +2 -0
  473. package/dist/web-components-library/p-b8a14060.entry.js +2 -0
  474. package/dist/web-components-library/p-b8a14060.entry.js.map +1 -0
  475. package/dist/web-components-library/p-ba289415.entry.js +2 -0
  476. package/dist/web-components-library/{p-eb5a148f.entry.js → p-be082561.entry.js} +2 -2
  477. package/{www/build/p-985e61f5.entry.js → dist/web-components-library/p-bfd756c2.entry.js} +2 -2
  478. package/dist/web-components-library/p-bfd756c2.entry.js.map +1 -0
  479. package/dist/web-components-library/{p-456f984f.js → p-cab91789.js} +2 -2
  480. package/dist/web-components-library/{p-b6ea478b.entry.js → p-cb7f0092.entry.js} +2 -2
  481. package/dist/web-components-library/{p-571f1e1d.entry.js → p-cda77971.entry.js} +2 -2
  482. package/{www/build/p-51f5e5e6.entry.js → dist/web-components-library/p-cf0f4b17.entry.js} +2 -2
  483. package/dist/web-components-library/p-df10fbaa.entry.js +2 -0
  484. package/dist/web-components-library/{p-d13520c2.entry.js → p-e0c8a601.entry.js} +2 -2
  485. package/dist/web-components-library/{p-7c20b8f6.entry.js → p-e83dc145.entry.js} +2 -2
  486. package/{www/build/p-db04ba75.entry.js → dist/web-components-library/p-ea74101f.entry.js} +2 -2
  487. package/{www/build/p-b3272516.entry.js → dist/web-components-library/p-ed091723.entry.js} +2 -2
  488. package/dist/web-components-library/p-eda4a138.entry.js +2 -0
  489. package/dist/web-components-library/{p-ef8a7250.entry.js → p-f160f987.entry.js} +2 -2
  490. package/dist/web-components-library/{p-38d5e74f.entry.js → p-f3cecece.entry.js} +2 -2
  491. package/dist/web-components-library/{p-09552f18.entry.js → p-f64c0f65.entry.js} +2 -2
  492. package/{www/build/p-47137e39.entry.js → dist/web-components-library/p-f90de798.entry.js} +2 -2
  493. package/dist/web-components-library/web-components-library.esm.js +1 -1
  494. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  495. package/package.json +1 -1
  496. package/react/components.d.ts +2 -0
  497. package/react/components.js +4 -2
  498. package/react/components.js.map +1 -1
  499. package/www/build/index.esm.js +1 -1
  500. package/www/build/index.esm.js.map +1 -1
  501. package/www/build/p-01b73978.entry.js +2 -0
  502. package/www/build/{p-9a48e70b.entry.js → p-03fff274.entry.js} +2 -2
  503. package/www/build/{p-ab45ba6d.js → p-05f6053f.js} +2 -2
  504. package/{dist/web-components-library/p-0778e75d.entry.js → www/build/p-0623cb0c.entry.js} +2 -2
  505. package/www/build/{p-910fd48c.entry.js → p-09f6f502.entry.js} +2 -2
  506. package/www/build/p-0cd10649.entry.js +2 -0
  507. package/www/build/{p-90908f36.js → p-10607a39.js} +2 -2
  508. package/{dist/web-components-library/p-63488a2b.entry.js → www/build/p-11977cf4.entry.js} +2 -2
  509. package/{dist/web-components-library/p-b7af7fa4.entry.js → www/build/p-14cb6906.entry.js} +2 -2
  510. package/www/build/p-15cb27a5.entry.js +2 -0
  511. package/{dist/web-components-library/p-a9805b32.entry.js → www/build/p-1630e240.entry.js} +2 -2
  512. package/www/build/p-19e60f95.js +2 -0
  513. package/www/build/{p-e0a0bfb2.entry.js → p-1c243d34.entry.js} +2 -2
  514. package/www/build/{p-140b5d8f.entry.js → p-201742d8.entry.js} +2 -2
  515. package/www/build/p-2dd5e7f6.entry.js +2 -0
  516. package/www/build/{p-13366542.js → p-2eddce0d.js} +2 -2
  517. package/www/build/{p-0b100bd7.entry.js → p-2fbfd156.entry.js} +2 -2
  518. package/www/build/{p-6ed39f10.entry.js → p-36935fa0.entry.js} +2 -2
  519. package/www/build/{p-8b24d801.entry.js → p-38e8c15d.entry.js} +2 -2
  520. package/www/build/p-3aa8d377.js +2 -0
  521. package/www/build/p-4bf0a07d.entry.js +2 -0
  522. package/{dist/web-components-library/p-48b2e967.entry.js → www/build/p-5226fa9e.entry.js} +2 -2
  523. package/www/build/p-554f3de2.entry.js +2 -0
  524. package/www/build/{p-ceb4403d.entry.js → p-563e86c0.entry.js} +2 -2
  525. package/{dist/web-components-library/p-e38df1a4.entry.js → www/build/p-56f76e8b.entry.js} +3 -3
  526. package/www/build/{p-f7ef289b.entry.js → p-57a479e2.entry.js} +2 -2
  527. package/www/build/{p-be2405e2.entry.js → p-5b677d6c.entry.js} +2 -2
  528. package/{dist/web-components-library/p-3618e227.entry.js → www/build/p-5f220178.entry.js} +2 -2
  529. package/www/build/{p-273f3c53.entry.js → p-6a5429eb.entry.js} +2 -2
  530. package/www/build/{p-6e92df75.entry.js → p-6af64b62.entry.js} +2 -2
  531. package/www/build/{p-03cd1ead.entry.js → p-6c24917e.entry.js} +2 -2
  532. package/www/build/p-7073453b.entry.js +2 -0
  533. package/www/build/p-7073453b.entry.js.map +1 -0
  534. package/www/build/{p-350f84c5.entry.js → p-72463e1e.entry.js} +2 -2
  535. package/www/build/{p-eb3985d0.entry.js → p-7af2be0f.entry.js} +2 -2
  536. package/www/build/p-7b2938cf.js +2 -0
  537. package/www/build/{p-0c489c4b.entry.js → p-7c4d7591.entry.js} +2 -2
  538. package/www/build/p-88ce9c5e.entry.js +2 -0
  539. package/www/build/{p-228db53f.entry.js → p-8aa0f4d0.entry.js} +2 -2
  540. package/www/build/{p-db340bc6.entry.js → p-8abbecc6.entry.js} +2 -2
  541. package/{dist/web-components-library/p-b1039f3d.entry.js → www/build/p-8afbf9c1.entry.js} +2 -2
  542. package/www/build/p-8cbc8d17.entry.js +2 -0
  543. package/www/build/p-8cbc8d17.entry.js.map +1 -0
  544. package/{dist/web-components-library/p-c62825e1.js → www/build/p-8ed50cbe.js} +2 -2
  545. package/{dist/web-components-library/p-d847bfcd.entry.js → www/build/p-8f9ee669.entry.js} +2 -2
  546. package/www/build/p-94ac3a8e.js +2 -0
  547. package/{dist/web-components-library/p-b222df41.entry.js → www/build/p-a0512ae0.entry.js} +2 -2
  548. package/{dist/web-components-library/p-a4aaffd3.entry.js → www/build/p-a1d6f996.entry.js} +2 -2
  549. package/www/build/p-a23151fa.entry.js +2 -0
  550. package/www/build/{p-ec740313.entry.js.map → p-a23151fa.entry.js.map} +1 -1
  551. package/{dist/web-components-library/p-03e85eac.entry.js → www/build/p-a75e11fd.entry.js} +2 -2
  552. package/{dist/web-components-library/p-417ed850.entry.js → www/build/p-a95bf077.entry.js} +3 -3
  553. package/www/build/{p-f3037ac9.entry.js → p-aad8da85.entry.js} +2 -2
  554. package/www/build/p-ac953072.entry.js +2 -0
  555. package/www/build/p-ad2d1d63.entry.js +2 -0
  556. package/www/build/p-b34993de.js +2 -0
  557. package/www/build/p-b34993de.js.map +1 -0
  558. package/www/build/{p-c451b4d7.entry.js → p-b3bb1d8e.entry.js} +2 -2
  559. package/www/build/p-b6ef8bc3.entry.js +2 -0
  560. package/www/build/p-b6ef8bc3.entry.js.map +1 -0
  561. package/www/build/{p-ecae1a7a.entry.js → p-b7c2d03b.entry.js} +2 -2
  562. package/www/build/p-b82f7ecc.entry.js +2 -0
  563. package/www/build/p-b8a14060.entry.js +2 -0
  564. package/www/build/p-b8a14060.entry.js.map +1 -0
  565. package/www/build/p-ba289415.entry.js +2 -0
  566. package/www/build/{p-eb5a148f.entry.js → p-be082561.entry.js} +2 -2
  567. package/{dist/web-components-library/p-985e61f5.entry.js → www/build/p-bfd756c2.entry.js} +2 -2
  568. package/www/build/p-bfd756c2.entry.js.map +1 -0
  569. package/www/build/{p-456f984f.js → p-cab91789.js} +2 -2
  570. package/www/build/{p-b6ea478b.entry.js → p-cb7f0092.entry.js} +2 -2
  571. package/www/build/{p-571f1e1d.entry.js → p-cda77971.entry.js} +2 -2
  572. package/{dist/web-components-library/p-51f5e5e6.entry.js → www/build/p-cf0f4b17.entry.js} +2 -2
  573. package/www/build/p-df10fbaa.entry.js +2 -0
  574. package/www/build/{p-d13520c2.entry.js → p-e0c8a601.entry.js} +2 -2
  575. package/www/build/{p-7c20b8f6.entry.js → p-e83dc145.entry.js} +2 -2
  576. package/{dist/web-components-library/p-db04ba75.entry.js → www/build/p-ea74101f.entry.js} +2 -2
  577. package/{dist/web-components-library/p-b3272516.entry.js → www/build/p-ed091723.entry.js} +2 -2
  578. package/www/build/p-eda4a138.entry.js +2 -0
  579. package/www/build/{p-ef8a7250.entry.js → p-f160f987.entry.js} +2 -2
  580. package/www/build/{p-38d5e74f.entry.js → p-f3cecece.entry.js} +2 -2
  581. package/www/build/{p-09552f18.entry.js → p-f64c0f65.entry.js} +2 -2
  582. package/{dist/web-components-library/p-47137e39.entry.js → www/build/p-f90de798.entry.js} +2 -2
  583. package/www/build/web-components-library.esm.js +1 -1
  584. package/www/build/web-components-library.esm.js.map +1 -1
  585. package/www/index.html +1 -1
  586. package/www/pages/book-cards.html +75 -573
  587. package/dist/cjs/index-daad5eae.js.map +0 -1
  588. package/dist/collection/components/z-book-card/index.js.map +0 -1
  589. package/dist/collection/components/z-book-card/index.stories.js.map +0 -1
  590. package/dist/esm/index-a63060e9.js.map +0 -1
  591. package/dist/web-components-library/p-06b8521b.entry.js +0 -2
  592. package/dist/web-components-library/p-11df2c0a.entry.js +0 -2
  593. package/dist/web-components-library/p-11df2c0a.entry.js.map +0 -1
  594. package/dist/web-components-library/p-16719dff.entry.js +0 -2
  595. package/dist/web-components-library/p-17d2d60b.entry.js +0 -2
  596. package/dist/web-components-library/p-1c24255c.js +0 -2
  597. package/dist/web-components-library/p-1c24255c.js.map +0 -1
  598. package/dist/web-components-library/p-291319ed.entry.js +0 -2
  599. package/dist/web-components-library/p-32d603b8.js +0 -2
  600. package/dist/web-components-library/p-3d97dedf.entry.js +0 -2
  601. package/dist/web-components-library/p-6297dfaa.entry.js +0 -2
  602. package/dist/web-components-library/p-6b759395.entry.js +0 -2
  603. package/dist/web-components-library/p-6b791915.entry.js +0 -2
  604. package/dist/web-components-library/p-8855aef4.js +0 -2
  605. package/dist/web-components-library/p-8d443cac.entry.js +0 -2
  606. package/dist/web-components-library/p-985e61f5.entry.js.map +0 -1
  607. package/dist/web-components-library/p-9c36d574.entry.js +0 -2
  608. package/dist/web-components-library/p-a167bdd5.js +0 -2
  609. package/dist/web-components-library/p-af7e5773.entry.js +0 -2
  610. package/dist/web-components-library/p-b20bfb34.entry.js +0 -2
  611. package/dist/web-components-library/p-b20bfb34.entry.js.map +0 -1
  612. package/dist/web-components-library/p-ec740313.entry.js +0 -2
  613. package/dist/web-components-library/p-fb2eb3c0.entry.js +0 -2
  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-17d2d60b.entry.js +0 -2
  620. package/www/build/p-1c24255c.js +0 -2
  621. package/www/build/p-1c24255c.js.map +0 -1
  622. package/www/build/p-1fcf4111.js +0 -2
  623. package/www/build/p-291319ed.entry.js +0 -2
  624. package/www/build/p-32d603b8.js +0 -2
  625. package/www/build/p-3d97dedf.entry.js +0 -2
  626. package/www/build/p-6297dfaa.entry.js +0 -2
  627. package/www/build/p-6b759395.entry.js +0 -2
  628. package/www/build/p-6b791915.entry.js +0 -2
  629. package/www/build/p-8855aef4.js +0 -2
  630. package/www/build/p-8d443cac.entry.js +0 -2
  631. package/www/build/p-985e61f5.entry.js.map +0 -1
  632. package/www/build/p-9c36d574.entry.js +0 -2
  633. package/www/build/p-a167bdd5.js +0 -2
  634. package/www/build/p-af7e5773.entry.js +0 -2
  635. package/www/build/p-b20bfb34.entry.js +0 -2
  636. package/www/build/p-b20bfb34.entry.js.map +0 -1
  637. package/www/build/p-ec740313.entry.js +0 -2
  638. package/www/build/p-fb2eb3c0.entry.js +0 -2
  639. package/www/build/p-febc4982.entry.js +0 -2
  640. /package/dist/collection/components/{z-book-card → deprecated/z-book-card-deprecated}/styles.css +0 -0
  641. /package/dist/web-components-library/{p-06b8521b.entry.js.map → p-01b73978.entry.js.map} +0 -0
  642. /package/dist/web-components-library/{p-9a48e70b.entry.js.map → p-03fff274.entry.js.map} +0 -0
  643. /package/dist/web-components-library/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
  644. /package/dist/web-components-library/{p-0778e75d.entry.js.map → p-0623cb0c.entry.js.map} +0 -0
  645. /package/dist/web-components-library/{p-910fd48c.entry.js.map → p-09f6f502.entry.js.map} +0 -0
  646. /package/dist/web-components-library/{p-291319ed.entry.js.map → p-0cd10649.entry.js.map} +0 -0
  647. /package/dist/web-components-library/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
  648. /package/dist/web-components-library/{p-63488a2b.entry.js.map → p-11977cf4.entry.js.map} +0 -0
  649. /package/dist/web-components-library/{p-b7af7fa4.entry.js.map → p-14cb6906.entry.js.map} +0 -0
  650. /package/dist/web-components-library/{p-16719dff.entry.js.map → p-15cb27a5.entry.js.map} +0 -0
  651. /package/dist/web-components-library/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
  652. /package/dist/web-components-library/{p-e0a0bfb2.entry.js.map → p-1c243d34.entry.js.map} +0 -0
  653. /package/dist/web-components-library/{p-140b5d8f.entry.js.map → p-201742d8.entry.js.map} +0 -0
  654. /package/dist/web-components-library/{p-17d2d60b.entry.js.map → p-2dd5e7f6.entry.js.map} +0 -0
  655. /package/dist/web-components-library/{p-13366542.js.map → p-2eddce0d.js.map} +0 -0
  656. /package/dist/web-components-library/{p-0b100bd7.entry.js.map → p-2fbfd156.entry.js.map} +0 -0
  657. /package/dist/web-components-library/{p-6ed39f10.entry.js.map → p-36935fa0.entry.js.map} +0 -0
  658. /package/dist/web-components-library/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
  659. /package/dist/web-components-library/{p-32d603b8.js.map → p-3aa8d377.js.map} +0 -0
  660. /package/dist/web-components-library/{p-6297dfaa.entry.js.map → p-4bf0a07d.entry.js.map} +0 -0
  661. /package/dist/web-components-library/{p-48b2e967.entry.js.map → p-5226fa9e.entry.js.map} +0 -0
  662. /package/dist/web-components-library/{p-6b759395.entry.js.map → p-554f3de2.entry.js.map} +0 -0
  663. /package/dist/web-components-library/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
  664. /package/dist/web-components-library/{p-e38df1a4.entry.js.map → p-56f76e8b.entry.js.map} +0 -0
  665. /package/dist/web-components-library/{p-f7ef289b.entry.js.map → p-57a479e2.entry.js.map} +0 -0
  666. /package/dist/web-components-library/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
  667. /package/dist/web-components-library/{p-3618e227.entry.js.map → p-5f220178.entry.js.map} +0 -0
  668. /package/dist/web-components-library/{p-273f3c53.entry.js.map → p-6a5429eb.entry.js.map} +0 -0
  669. /package/dist/web-components-library/{p-6e92df75.entry.js.map → p-6af64b62.entry.js.map} +0 -0
  670. /package/dist/web-components-library/{p-03cd1ead.entry.js.map → p-6c24917e.entry.js.map} +0 -0
  671. /package/dist/web-components-library/{p-350f84c5.entry.js.map → p-72463e1e.entry.js.map} +0 -0
  672. /package/dist/web-components-library/{p-eb3985d0.entry.js.map → p-7af2be0f.entry.js.map} +0 -0
  673. /package/dist/web-components-library/{p-8855aef4.js.map → p-7b2938cf.js.map} +0 -0
  674. /package/dist/web-components-library/{p-0c489c4b.entry.js.map → p-7c4d7591.entry.js.map} +0 -0
  675. /package/dist/web-components-library/{p-6b791915.entry.js.map → p-88ce9c5e.entry.js.map} +0 -0
  676. /package/dist/web-components-library/{p-228db53f.entry.js.map → p-8aa0f4d0.entry.js.map} +0 -0
  677. /package/dist/web-components-library/{p-db340bc6.entry.js.map → p-8abbecc6.entry.js.map} +0 -0
  678. /package/dist/web-components-library/{p-b1039f3d.entry.js.map → p-8afbf9c1.entry.js.map} +0 -0
  679. /package/dist/web-components-library/{p-c62825e1.js.map → p-8ed50cbe.js.map} +0 -0
  680. /package/dist/web-components-library/{p-d847bfcd.entry.js.map → p-8f9ee669.entry.js.map} +0 -0
  681. /package/dist/web-components-library/{p-a167bdd5.js.map → p-94ac3a8e.js.map} +0 -0
  682. /package/dist/web-components-library/{p-b222df41.entry.js.map → p-a0512ae0.entry.js.map} +0 -0
  683. /package/dist/web-components-library/{p-a4aaffd3.entry.js.map → p-a1d6f996.entry.js.map} +0 -0
  684. /package/dist/web-components-library/{p-03e85eac.entry.js.map → p-a75e11fd.entry.js.map} +0 -0
  685. /package/dist/web-components-library/{p-417ed850.entry.js.map → p-a95bf077.entry.js.map} +0 -0
  686. /package/dist/web-components-library/{p-f3037ac9.entry.js.map → p-aad8da85.entry.js.map} +0 -0
  687. /package/dist/web-components-library/{p-9c36d574.entry.js.map → p-ac953072.entry.js.map} +0 -0
  688. /package/dist/web-components-library/{p-8d443cac.entry.js.map → p-ad2d1d63.entry.js.map} +0 -0
  689. /package/dist/web-components-library/{p-c451b4d7.entry.js.map → p-b3bb1d8e.entry.js.map} +0 -0
  690. /package/dist/web-components-library/{p-ecae1a7a.entry.js.map → p-b7c2d03b.entry.js.map} +0 -0
  691. /package/dist/web-components-library/{p-3d97dedf.entry.js.map → p-b82f7ecc.entry.js.map} +0 -0
  692. /package/dist/web-components-library/{p-febc4982.entry.js.map → p-ba289415.entry.js.map} +0 -0
  693. /package/dist/web-components-library/{p-eb5a148f.entry.js.map → p-be082561.entry.js.map} +0 -0
  694. /package/dist/web-components-library/{p-456f984f.js.map → p-cab91789.js.map} +0 -0
  695. /package/dist/web-components-library/{p-b6ea478b.entry.js.map → p-cb7f0092.entry.js.map} +0 -0
  696. /package/dist/web-components-library/{p-571f1e1d.entry.js.map → p-cda77971.entry.js.map} +0 -0
  697. /package/dist/web-components-library/{p-51f5e5e6.entry.js.map → p-cf0f4b17.entry.js.map} +0 -0
  698. /package/dist/web-components-library/{p-fb2eb3c0.entry.js.map → p-df10fbaa.entry.js.map} +0 -0
  699. /package/dist/web-components-library/{p-d13520c2.entry.js.map → p-e0c8a601.entry.js.map} +0 -0
  700. /package/dist/web-components-library/{p-7c20b8f6.entry.js.map → p-e83dc145.entry.js.map} +0 -0
  701. /package/dist/web-components-library/{p-db04ba75.entry.js.map → p-ea74101f.entry.js.map} +0 -0
  702. /package/dist/web-components-library/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
  703. /package/dist/web-components-library/{p-af7e5773.entry.js.map → p-eda4a138.entry.js.map} +0 -0
  704. /package/dist/web-components-library/{p-ef8a7250.entry.js.map → p-f160f987.entry.js.map} +0 -0
  705. /package/dist/web-components-library/{p-38d5e74f.entry.js.map → p-f3cecece.entry.js.map} +0 -0
  706. /package/dist/web-components-library/{p-09552f18.entry.js.map → p-f64c0f65.entry.js.map} +0 -0
  707. /package/dist/web-components-library/{p-47137e39.entry.js.map → p-f90de798.entry.js.map} +0 -0
  708. /package/www/build/{p-06b8521b.entry.js.map → p-01b73978.entry.js.map} +0 -0
  709. /package/www/build/{p-9a48e70b.entry.js.map → p-03fff274.entry.js.map} +0 -0
  710. /package/www/build/{p-ab45ba6d.js.map → p-05f6053f.js.map} +0 -0
  711. /package/www/build/{p-0778e75d.entry.js.map → p-0623cb0c.entry.js.map} +0 -0
  712. /package/www/build/{p-910fd48c.entry.js.map → p-09f6f502.entry.js.map} +0 -0
  713. /package/www/build/{p-291319ed.entry.js.map → p-0cd10649.entry.js.map} +0 -0
  714. /package/www/build/{p-90908f36.js.map → p-10607a39.js.map} +0 -0
  715. /package/www/build/{p-63488a2b.entry.js.map → p-11977cf4.entry.js.map} +0 -0
  716. /package/www/build/{p-b7af7fa4.entry.js.map → p-14cb6906.entry.js.map} +0 -0
  717. /package/www/build/{p-16719dff.entry.js.map → p-15cb27a5.entry.js.map} +0 -0
  718. /package/www/build/{p-a9805b32.entry.js.map → p-1630e240.entry.js.map} +0 -0
  719. /package/www/build/{p-e0a0bfb2.entry.js.map → p-1c243d34.entry.js.map} +0 -0
  720. /package/www/build/{p-140b5d8f.entry.js.map → p-201742d8.entry.js.map} +0 -0
  721. /package/www/build/{p-17d2d60b.entry.js.map → p-2dd5e7f6.entry.js.map} +0 -0
  722. /package/www/build/{p-13366542.js.map → p-2eddce0d.js.map} +0 -0
  723. /package/www/build/{p-0b100bd7.entry.js.map → p-2fbfd156.entry.js.map} +0 -0
  724. /package/www/build/{p-6ed39f10.entry.js.map → p-36935fa0.entry.js.map} +0 -0
  725. /package/www/build/{p-8b24d801.entry.js.map → p-38e8c15d.entry.js.map} +0 -0
  726. /package/www/build/{p-32d603b8.js.map → p-3aa8d377.js.map} +0 -0
  727. /package/www/build/{p-6297dfaa.entry.js.map → p-4bf0a07d.entry.js.map} +0 -0
  728. /package/www/build/{p-48b2e967.entry.js.map → p-5226fa9e.entry.js.map} +0 -0
  729. /package/www/build/{p-6b759395.entry.js.map → p-554f3de2.entry.js.map} +0 -0
  730. /package/www/build/{p-ceb4403d.entry.js.map → p-563e86c0.entry.js.map} +0 -0
  731. /package/www/build/{p-e38df1a4.entry.js.map → p-56f76e8b.entry.js.map} +0 -0
  732. /package/www/build/{p-f7ef289b.entry.js.map → p-57a479e2.entry.js.map} +0 -0
  733. /package/www/build/{p-be2405e2.entry.js.map → p-5b677d6c.entry.js.map} +0 -0
  734. /package/www/build/{p-3618e227.entry.js.map → p-5f220178.entry.js.map} +0 -0
  735. /package/www/build/{p-273f3c53.entry.js.map → p-6a5429eb.entry.js.map} +0 -0
  736. /package/www/build/{p-6e92df75.entry.js.map → p-6af64b62.entry.js.map} +0 -0
  737. /package/www/build/{p-03cd1ead.entry.js.map → p-6c24917e.entry.js.map} +0 -0
  738. /package/www/build/{p-350f84c5.entry.js.map → p-72463e1e.entry.js.map} +0 -0
  739. /package/www/build/{p-eb3985d0.entry.js.map → p-7af2be0f.entry.js.map} +0 -0
  740. /package/www/build/{p-8855aef4.js.map → p-7b2938cf.js.map} +0 -0
  741. /package/www/build/{p-0c489c4b.entry.js.map → p-7c4d7591.entry.js.map} +0 -0
  742. /package/www/build/{p-6b791915.entry.js.map → p-88ce9c5e.entry.js.map} +0 -0
  743. /package/www/build/{p-228db53f.entry.js.map → p-8aa0f4d0.entry.js.map} +0 -0
  744. /package/www/build/{p-db340bc6.entry.js.map → p-8abbecc6.entry.js.map} +0 -0
  745. /package/www/build/{p-b1039f3d.entry.js.map → p-8afbf9c1.entry.js.map} +0 -0
  746. /package/www/build/{p-c62825e1.js.map → p-8ed50cbe.js.map} +0 -0
  747. /package/www/build/{p-d847bfcd.entry.js.map → p-8f9ee669.entry.js.map} +0 -0
  748. /package/www/build/{p-a167bdd5.js.map → p-94ac3a8e.js.map} +0 -0
  749. /package/www/build/{p-b222df41.entry.js.map → p-a0512ae0.entry.js.map} +0 -0
  750. /package/www/build/{p-a4aaffd3.entry.js.map → p-a1d6f996.entry.js.map} +0 -0
  751. /package/www/build/{p-03e85eac.entry.js.map → p-a75e11fd.entry.js.map} +0 -0
  752. /package/www/build/{p-417ed850.entry.js.map → p-a95bf077.entry.js.map} +0 -0
  753. /package/www/build/{p-f3037ac9.entry.js.map → p-aad8da85.entry.js.map} +0 -0
  754. /package/www/build/{p-9c36d574.entry.js.map → p-ac953072.entry.js.map} +0 -0
  755. /package/www/build/{p-8d443cac.entry.js.map → p-ad2d1d63.entry.js.map} +0 -0
  756. /package/www/build/{p-c451b4d7.entry.js.map → p-b3bb1d8e.entry.js.map} +0 -0
  757. /package/www/build/{p-ecae1a7a.entry.js.map → p-b7c2d03b.entry.js.map} +0 -0
  758. /package/www/build/{p-3d97dedf.entry.js.map → p-b82f7ecc.entry.js.map} +0 -0
  759. /package/www/build/{p-febc4982.entry.js.map → p-ba289415.entry.js.map} +0 -0
  760. /package/www/build/{p-eb5a148f.entry.js.map → p-be082561.entry.js.map} +0 -0
  761. /package/www/build/{p-456f984f.js.map → p-cab91789.js.map} +0 -0
  762. /package/www/build/{p-b6ea478b.entry.js.map → p-cb7f0092.entry.js.map} +0 -0
  763. /package/www/build/{p-571f1e1d.entry.js.map → p-cda77971.entry.js.map} +0 -0
  764. /package/www/build/{p-51f5e5e6.entry.js.map → p-cf0f4b17.entry.js.map} +0 -0
  765. /package/www/build/{p-fb2eb3c0.entry.js.map → p-df10fbaa.entry.js.map} +0 -0
  766. /package/www/build/{p-d13520c2.entry.js.map → p-e0c8a601.entry.js.map} +0 -0
  767. /package/www/build/{p-7c20b8f6.entry.js.map → p-e83dc145.entry.js.map} +0 -0
  768. /package/www/build/{p-db04ba75.entry.js.map → p-ea74101f.entry.js.map} +0 -0
  769. /package/www/build/{p-b3272516.entry.js.map → p-ed091723.entry.js.map} +0 -0
  770. /package/www/build/{p-af7e5773.entry.js.map → p-eda4a138.entry.js.map} +0 -0
  771. /package/www/build/{p-ef8a7250.entry.js.map → p-f160f987.entry.js.map} +0 -0
  772. /package/www/build/{p-38d5e74f.entry.js.map → p-f3cecece.entry.js.map} +0 -0
  773. /package/www/build/{p-09552f18.entry.js.map → p-f64c0f65.entry.js.map} +0 -0
  774. /package/www/build/{p-47137e39.entry.js.map → p-f90de798.entry.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: 'c099b84c3e81f4381f87fa6d2f7085b616ba933b' }, h("div", { key: '56eef095273ccb4724539e007c2fce9a0f0dd160', class: `container ${this.getType()}` }, this.mainTitle && this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { key: 'e5f9e076f5369b0dcff3aaaa6b5706d5209eefc1', 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: '085dbc72bffaaacce2ab9bb9c1c556c5afb6f46a' }, h("slot", { key: 'bf8e742c1cc6e7dd9946ddbc3befd209fd4046fe' })));
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: 'f8fda0c6230b04fe221294eee285ada94928a9ef', "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: 'dd7153a103f748c11a0caacfb111a12c5d47afa2', class: "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '811f454b7ef8532990f317a081042c47615577df', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '5560a229dcd49bc022b38fa987496c6df448674e', 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: 'ca4c1ed62a0402d76556935838162c2d98cef77e', role: "group" }, h("div", { key: '94d2fd3532801dc85acd31021258016638769f39', 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: 'ed45418c6e123d4147a012d855a05ff3a92430aa', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '4e141c4ff75aa1b98660a2e3ff67e2f9d1702d17', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: 'b8885226c8e1bf5b44681a61811afa93b530b165' })));
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: '45d8fa8e1cef2714712b2615e2bf5669c22fa78f', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '0bf89a7ed02caab704548471fbc8c266248a670f', class: "cell--content" }, h("slot", { key: '3056111ed9d1f637820d505a790a5f6248052697' }), this.showMenu && (h("div", { key: '22b61260cda17d8b18f46d1dc7fb70c6f8e0a654', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '729ae3725c493d8a49f46afa988200f03510fa26', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: '1141e9b6de571e087953c1588871545265097ad2', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'afd1b8ae9cf5b2e3e38ff70044ed4b186b07b940', 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: '97854a5f82264ddba5800e462ae4ab5dcd1008c7', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '5f417187f083500d77a191e1753e9d482925f884', class: "cell--content" }, h("slot", { key: 'e0b90a08341ee62b17d20496bf900704eb5ee079' }), this.showSorting && (h("button", { key: 'be88624e6e1345ef7d6d993ca2492a6525d26674', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'aae1b06b75a9697ba348bc175cfcfbd81671d6ee', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '805421812436b2c14c3124e37f4c0b16e47b1b5c', class: "cell--menu-container" }, h("z-button", { key: 'd9b7b549980d03f476a2e4c75d9aa53da5dd6068', 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: '12571da211009fb525af124a0f6cf3eed3944bd5', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '946a228e783ede0901b543874b4136e8c86e0f77', 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: '349ba72eb56e8a1fccc6df46566639c88c54111b', expandable: this.expandable }, h("div", { key: 'af882c3c57168d9fa9983d43152b6dfb85fb7e01', class: "table", role: "table" }, h("slot", { key: '26d143cf047e3dd5c5344004508d69c041b549a3' }))));
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: '894325179588df4bdc935c333cdc59f4c0a874e6', role: "rowgroup" }, h("slot", { key: '081d97a45ca1d8993e6262fe22f3c0ccb9f6221d' })));
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: '16d157c553b73a7811c096f43fb325985014545f', role: "rowgroup" }, h("slot", { key: '7a4404baa64c5b4d00ece36c9ef61ecb4ec1cfd6' })));
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: 'ad4f78d64587c716f2b873a02a2473426d0c1d3f', role: "rowgroup" }, h("slot", { key: '5606cc9d05f711573a130def219cb4d44c5a74a0' })));
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: '6be82fcb4553b35181d49f7feeb031bb88fafa98', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: '6ddea084daa246c96161e807714a1cbe58ad9648', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: '24ffff0f2977fd39fbaa03e84f4afd91d1ebf56b', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '53169d986d89cbfb73ce15cd3d6b99ce566741ef', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '2acb2edcbf8f5ea71c3da587639ba43c8ece820c', 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: '5b6bbc9fe0687f8bf837c90e69b4e2e09ea11657', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '83fa773b7b303cf81962aac79b7781b03d7a2172', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '13dba860a236eb9447c992ee1554d126b91d7143', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: 'f285690a944e34d337f0eee10faef0f2c7a6789f', class: "z-accordion-label" }, this.label), h("span", { key: '398fb5a43d089b12a1c3e596f6a39b6dc887d988', class: "z-accordion-tags" }, h("slot", { key: 'c32402fb563f800b49282b164d231d321539333a', name: "tag" })), h("z-icon", { key: '7ac83e593b063a6a56db06f729ddf22da15e58f3', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '5936a8cdbe0426515d509b4c47592d19ffa970bd', class: "z-accordion-content", part: "content" }, h("slot", { key: 'f1094c79ee6a82c0c7c1b571e6ef192f3a76dbd2' })))));
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: '9d3f760e15e9d38a41236de8d8eac346e08df476', collapsed: this.collapsed }, h("z-button", { key: 'f7962974d09f6a3b30c2629968e4fb83435f757e', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: '02fb07d370cf27fd51b6e83fb4809c81967554b7', ref: (el) => (this.nav = el) }, h("slot", { key: 'fd09ec5250e7681f58d6bbf99f24571668ffc83a' }))));
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: '2f2441ee9c88ecf30dc86974d452bb92f43fc5ad', "menu-length": this.menuLength }, h("div", { key: 'a4496ec0700c0b5d1cb6dc56844f8f5b8556edf0', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '94a8bc5bb5ee60d1f3976baa54dcb51f340806d0', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'b3e2b60953fa5bd123021fef0fddd4eefcd8e976', class: "top-subtitle" }, h("slot", { key: '9fbc33911769cc5c7e327bd351857c143f73f8fe', name: "top-subtitle" }))), h("div", { key: 'afbcbc6ddec35290681fa700cbc61c2b67cfa494', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: 'bdde2c7b012d1017e27fe4e70514bcf166cddb7f', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '852e36d4a8c760d5cb8cf90204cfaedf248683a0', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '80a8a98c15e4983a0ffacea0c5d580156cc31d96', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'c2e741e1a92ddec907d482d7c942b1e9c3e2276e', 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: '120c8a0745e55316dc0b74597af02b462cf8672e', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '38a9ce7ff0b008f74c4674877c16d14f812836dc' })));
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: 'c0aecd50f42f1054dbf6fcd02a6b39b9af4b634e', 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: 'f1a3b8d52057e626df27d92e054d7e5d7b8b58d0' }, this.text.substring(0, 2)), this.image && (h("img", { key: '66953e14b9893d6c761e2f5cafde8156de827bcb', 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: '5bcdf767ac76b00a9b648c2690d6928e34574606', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: 'ac8a7f77b6ee9c8ec07cf4eba8a0d144d7bf22b7', 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: '0161de4f9fc2cf496bacaafde6b2097bc928dcb2' }, 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: '5254d0f81ee547b9841651f4c983ceaa00f6639b', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '2bfcf3a440f1c4b17fdf4bad0a38c9951a7f9ec8', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: '917e5afee07a7b0cd751e476f9dd4b56f2335cd9', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: '3ce3cf927f7cbd40508cea8070501f6149067219', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: '9c680f7e4381ebb2a6215d30a3e503aaf93365a8', 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: '738fe48ba8f925ee215855d4ae94cfc59f990bb5', 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: '67ca424408feb5accaf09528d3a18521cde87cf3', name: this.icon }), h("slot", { key: 'b31dddad6f32292a47b16654de3a79fca9beb7b9' }), this.interactiveIcon && (h("button", { key: '59870c7e12179d653c05815da7dec06fb45809d1', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: '104c10e9601e973b6d91984b4b34311a8c679c01', 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: '7c86e932e576074306566fbdb4946fc5cc6a5015', "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: 'b0851f69b3ca2ef898886381f01b547b59a7f76b' }, 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: '9045149da53fd0efb3c0e3f67a3ba15f7d9ee5a4', class: "main-container" }, h("div", { key: '76ecd3d33c52a01c5e4287487691617ffe5384bf', class: "cover-container" }, h("slot", { key: 'a779df5cdc886d42bf6ba7844b28ba950d31db4e', name: "cover" })), h("slot", { key: 'eb64e17b43080632764f0fb29d16cd0fb9295f7f', 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: '2eee9b3714576336e91b9499ba9aba6455c71fc6', 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: '0c578b603092b1e9418e49549da02bdb307bd8ee' });
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: 'ad4a704d26e42bfb8ea53ef191ee51c373bd7068', "aria-hidden": "true" }, h("svg", { key: 'c50371596000899e83ade307c91e49839f948ecc', 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: '4d08d8aaaf8a140bfcf64259275d6aa33f6ab633', id: this.boxid }, h("slot", { key: '543a5a5a49ac3cb952627b2efe27ba3f18a394cb', name: "content" }), this.isclosable && (h("z-icon", { key: '79265e7a1a97a5d398e225db66a5bb28b0ee8edd', 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: 'bcb05d866c119c9f686911ebfd5d6b30fc1072d4', open: this.open }, h("button", { key: '503e35952223d6daa164bba815f94fb33880c310', 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: '1debca6ca34d6b9aede20b049b770a0d051f6e71', name: this.icon }), this.label && h("span", { key: '5a6ea3fa133179716e87af19b3e734a24dda8989', class: "z-info-reveal-label" }, this.label)), h("div", { key: '0ddfd54fe95e877d15cf88b525ef6f80bf042ce2', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: '309ce5208cf50f612b2b267e572d7461e65dffbe' }), h("button", { key: 'fbbfaffbe9b050db008338b8369d3b945fc887b3', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'b704c1f4df7271d8bb293517701953a00d1f8b5e', 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: '7e0a529ebc1bcd838d99d878e737a8898a419e53' }, 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: 'a2b69ddf883ecf38660240507da90ccc8b70d043' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: '904df7a3fbb425e7dee6ca8dd07ae902030eead2', name: this.statusIcons[this.status] }), h("span", { key: '247ebbf4a4c5720a19af058ee80b5e6a2031149d', 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: '983b67652dbce086db80dd62d2eff3cb7e8c5cc3', 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: '3414a4946d0a2d96ce03c8e95d76a1d6162caf9f', open: this.open }, h("button", { key: 'e24e50fb417480d60b61cc6b90364cf99e9430f3', 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: 'fb0d0e06e5069ca713b47cfbb014268d52ccfeb2', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '3556ad182adf9b4c9111e3568091850ced8ae498', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: 'c5c5aaca5aa108ef52c5af22deeeca77d773eb93', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: '4ff2f603482147dc49c8dcb0a72d27d5292e156d', 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: '5da8e4ff1e24a5d3bfcf378e84e19da201548f14', 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: '1784e267b3a7e5a702751e5463325be79e940692', 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: 'ba6a5d60a414cc4e111b98ba6a2ba096a7f487cd', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: '9d83bc27bcfe735a7197186c8149aeb2b88ed597' }, this.modaltitle && h("h1", { key: 'e0d611a56a72c619a455e093c6f57b6c713a4926', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: 'a159731352318c11438abd354cab47006a22dadb', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: '51c575ae0212082390d9174a1ba5e8d95e9ac488', 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: 'fb98d41d0f6fb924d10fcf3171e203afb21a3e17', name: "modalContent" }))), h("div", { key: '02e8e0dfca14ad69a7d27fbe546f64620918c907', 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
-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ACV,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\";\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/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;;IAUrB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC;IAEO,kBAAkB;QACxB,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC;QACnF,QAAQ,CAAC,IAAI,CAAC,KAAK,CA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ACf,CACP,CACM;gBAET,4DACE,KAAK,EAAE;wBACL,6BAA6B,EAAE,IAAI,CAAC,YAAY;wBAChD,8BAA8B,EAAE,CAAC,IAAI,CAAC,YAAY;qBACnD,EACD,EAAE,EAAC,eAAe;oBAElB,6DAAM,IAAI,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: 'd192d751519659abe6a7276077871c62b0c09132', 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: '9306e51dafe13daf47d02f2bc2c1165bbca852bf', 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: '12c02634275c9465042b782f797876c892afb88f', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '87fcc53d787cc5889ab3098f5815190baad83f60', 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: '8b4b0be5170b59d9d3acebbb510e64630a92f024' })), h("button", { key: '3c50cddedd525a8e392ae199da12edbdfcfa3f0f', 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: '0224c950d506b47926392395953a4e2a0bb76aa5', 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: 'e8416850a84b427fef7b6ba0d9c8b9166e4799ab' }, this.contenticonname && (h("z-icon", { key: '12598bed47c61eb4f526eb5e274b3d22986bc4b8', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '84c2a22d8b0061b9fea55945b2a3007ea1e9b63a', class: "content-container" }, h("div", { key: '947f63eb8cc4b3711ee97e5a8fdc34e22d2bed9f', class: "content-text" }, h("slot", { key: '0cc909e320c921f2d0d2b2ee884e62e970bc6d3a' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '3a185d65b4fc48e62c134543ae5725659ffa9a7c', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: 'b5fee566524a4e6c9be009a77a7679a7d1c68b78', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'c3658a322c699ee57b706cc58a7c5f53877a6620', 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: 'f5ac05455f6d606d2c196b9a2fa27defb10d37de', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: 'ce9a6ec3c8a199e1445dd7868a02d27ca7a43ced', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: 'a3123ab9b60ea528a1bdd4c6a98a87804553a453', class: "canvas-content", role: "presentation" }, h("slot", { key: 'cf8a35569ec5e6ed7261f86de7b7c1910fabcb51', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: '0ea84a1c79c961d7b259dfac5e3915e0e9e5065b', 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: '1ba09df2a9cc5da1c8ed1ba519f6152400fd3112', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '7612fd1b8caa89b7b3d51795dbbd2f60cbdd9f40', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '2f14c8109c47a8ab08e32b356854dfc7c694b830', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'de00dfd8c474683cf1b9a26851bc86f0c67eec07', class: "panel-elem-link" }, h("a", { key: 'f74669b97141996eb6c1e3fabff730399d7ef648', 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: 'e931d09a819dee0b73b9ec3f773d6fdfc84f8718', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '8b29c1c9b902987cea5f53a38bde39feae24b8b9', class: "panel-elem-desc" }, h("slot", { key: 'd0724bbee14dbf8217d83b6abf38086252d5e361', 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: 'bb814a66ad2a12576b53d396d2fd77ae929e0874' });
305
305
  }
306
306
  static get is() { return "z-popover"; }
307
307
  static get encapsulation() { return "shadow"; }