@zanichelli/albe-web-components 16.3.4 → 16.3.6

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 (572) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/cjs/{index-041b41e6.js → index-01778132.js} +2 -2
  3. package/dist/cjs/{index-041b41e6.js.map → index-01778132.js.map} +1 -1
  4. package/dist/cjs/index-0335126f.js +67 -0
  5. package/dist/cjs/index-0335126f.js.map +1 -0
  6. package/dist/cjs/index-30387c1f.js +59 -0
  7. package/dist/cjs/index-30387c1f.js.map +1 -0
  8. package/dist/cjs/{index-b7759a0d.js → index-b26fbd76.js} +2 -2
  9. package/dist/cjs/{index-b7759a0d.js.map → index-b26fbd76.js.map} +1 -1
  10. package/dist/cjs/index-b504fdc8.js +47 -0
  11. package/dist/cjs/index-b504fdc8.js.map +1 -0
  12. package/dist/cjs/{index-25ded558.js → index-ef486baa.js} +2 -2
  13. package/dist/cjs/{index-25ded558.js.map → index-ef486baa.js.map} +1 -1
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/web-components-library.cjs.js +1 -1
  16. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  17. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/z-app-header_12.cjs.entry.js +10 -8
  20. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  21. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  22. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  23. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  24. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  25. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  26. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  27. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  28. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  29. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -4
  30. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  31. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  33. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  34. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  35. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  36. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  37. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  38. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  39. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  40. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  41. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  42. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  43. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  45. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  46. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  47. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  48. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  49. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  50. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  51. package/dist/cjs/z-select.cjs.entry.js +1 -1
  52. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  53. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  54. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  55. package/dist/cjs/z-table.cjs.entry.js +8 -8
  56. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  57. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  58. package/dist/cjs/z-td.cjs.entry.js +1 -1
  59. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  60. package/dist/cjs/z-th.cjs.entry.js +1 -1
  61. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  62. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  63. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  64. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  65. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  66. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/z-tr.cjs.entry.js +3 -3
  68. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  69. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  70. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  71. package/dist/collection/components/table/cells/z-td/styles.css +21 -13
  72. package/dist/collection/components/table/cells/z-th/index.js +49 -5
  73. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  74. package/dist/collection/components/table/cells/z-th/styles.css +59 -24
  75. package/dist/collection/components/table/z-table/index.js +1 -1
  76. package/dist/collection/components/table/z-table/index.stories.js +19 -3
  77. package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
  78. package/dist/collection/components/table/z-table/styles.css +0 -4
  79. package/dist/collection/components/table/z-tbody/index.js +1 -1
  80. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  81. package/dist/collection/components/table/z-thead/index.js +1 -1
  82. package/dist/collection/components/table/z-tr/index.js +1 -1
  83. package/dist/collection/components/table/z-tr/styles.css +0 -1
  84. package/dist/collection/components/z-accordion/index.js +1 -1
  85. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  86. package/dist/collection/components/z-app-header/index.js +1 -1
  87. package/dist/collection/components/z-aria-alert/index.js +1 -1
  88. package/dist/collection/components/z-avatar/index.js +2 -2
  89. package/dist/collection/components/z-book-card/index.js +1 -1
  90. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  91. package/dist/collection/components/z-button-sort/index.js +1 -1
  92. package/dist/collection/components/z-chip/index.js +2 -2
  93. package/dist/collection/components/z-combobox/index.js +1 -1
  94. package/dist/collection/components/z-cover-hero/index.js +2 -2
  95. package/dist/collection/components/z-divider/index.js +1 -1
  96. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  97. package/dist/collection/components/z-info-box/index.js +1 -1
  98. package/dist/collection/components/z-info-reveal/index.js +1 -1
  99. package/dist/collection/components/z-input/index.js +1 -1
  100. package/dist/collection/components/z-input-message/index.js +1 -1
  101. package/dist/collection/components/z-logo/index.js +1 -1
  102. package/dist/collection/components/z-menu-section/index.js +1 -1
  103. package/dist/collection/components/z-modal/index.js +4 -4
  104. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  105. package/dist/collection/components/z-notification/index.js +1 -1
  106. package/dist/collection/components/z-offcanvas/index.js +1 -1
  107. package/dist/collection/components/z-panel-elem/index.js +2 -2
  108. package/dist/collection/components/z-popover/index.js +1 -1
  109. package/dist/collection/components/z-searchbar/index.js +1 -1
  110. package/dist/collection/components/z-section-title/index.js +1 -1
  111. package/dist/collection/components/z-select/index.js +1 -1
  112. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  113. package/dist/collection/components/z-stepper/index.js +1 -1
  114. package/dist/collection/components/z-stepper-item/index.js +1 -1
  115. package/dist/collection/components/z-tag/index.js +2 -2
  116. package/dist/collection/components/z-toast-notification/index.js +1 -1
  117. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  118. package/dist/collection/components/z-toggle-button/index.js +2 -2
  119. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  120. package/dist/collection/components/z-tooltip/index.js +1 -1
  121. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  122. package/dist/collection/constants/iconset.js +2 -0
  123. package/dist/collection/constants/iconset.js.map +1 -1
  124. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  125. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  126. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  127. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  128. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  129. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  130. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  131. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  132. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  133. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  134. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  135. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  136. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  137. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  138. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  139. package/dist/components/iconset.js +2 -0
  140. package/dist/components/iconset.js.map +1 -1
  141. package/dist/components/index10.js +1 -1
  142. package/dist/components/index11.js +1 -1
  143. package/dist/components/index15.js +4 -4
  144. package/dist/components/index16.js +1 -1
  145. package/dist/components/index17.js +1 -1
  146. package/dist/components/index18.js +1 -1
  147. package/dist/components/index19.js +1 -1
  148. package/dist/components/index20.js +1 -1
  149. package/dist/components/index21.js +1 -1
  150. package/dist/components/index22.js +1 -1
  151. package/dist/components/index23.js +1 -1
  152. package/dist/components/index24.js +2 -2
  153. package/dist/components/index3.js +1 -1
  154. package/dist/components/index5.js +2 -2
  155. package/dist/components/index6.js +1 -1
  156. package/dist/components/index8.js +1 -1
  157. package/dist/components/z-accordion.js +1 -1
  158. package/dist/components/z-anchor-navigation.js +1 -1
  159. package/dist/components/z-app-header.js +1 -1
  160. package/dist/components/z-aria-alert.js +1 -1
  161. package/dist/components/z-avatar.js +2 -2
  162. package/dist/components/z-book-card.js +1 -1
  163. package/dist/components/z-breadcrumb.js +2 -2
  164. package/dist/components/z-button-sort.js +1 -1
  165. package/dist/components/z-combobox.js +1 -1
  166. package/dist/components/z-cover-hero.js +2 -2
  167. package/dist/components/z-info-box.js +1 -1
  168. package/dist/components/z-info-reveal.js +1 -1
  169. package/dist/components/z-logo.js +1 -1
  170. package/dist/components/z-menu-section.js +1 -1
  171. package/dist/components/z-myz-card-alert.js +1 -1
  172. package/dist/components/z-myz-card-dictionary.js +1 -1
  173. package/dist/components/z-myz-card-footer-sections.js +1 -1
  174. package/dist/components/z-myz-card-footer.js +1 -1
  175. package/dist/components/z-myz-card-icon.js +1 -1
  176. package/dist/components/z-myz-card-info.js +1 -1
  177. package/dist/components/z-myz-card-list.js +1 -1
  178. package/dist/components/z-myz-list.js +1 -1
  179. package/dist/components/z-navigation-tabs.js +2 -2
  180. package/dist/components/z-notification.js +1 -1
  181. package/dist/components/z-otp.js +2 -2
  182. package/dist/components/z-panel-elem.js +2 -2
  183. package/dist/components/z-section-title.js +1 -1
  184. package/dist/components/z-select.js +1 -1
  185. package/dist/components/z-skip-to-content.js +1 -1
  186. package/dist/components/z-stepper-item.js +1 -1
  187. package/dist/components/z-stepper.js +1 -1
  188. package/dist/components/z-table.js +2 -2
  189. package/dist/components/z-table.js.map +1 -1
  190. package/dist/components/z-tbody.js +1 -1
  191. package/dist/components/z-td.js +2 -2
  192. package/dist/components/z-td.js.map +1 -1
  193. package/dist/components/z-tfoot.js +1 -1
  194. package/dist/components/z-th.js +9 -5
  195. package/dist/components/z-th.js.map +1 -1
  196. package/dist/components/z-thead.js +1 -1
  197. package/dist/components/z-toast-notification-list.js +1 -1
  198. package/dist/components/z-toast-notification.js +1 -1
  199. package/dist/components/z-toggle-button.js +2 -2
  200. package/dist/components/z-toggle-switch.js +3 -3
  201. package/dist/components/z-tooltip.js +1 -1
  202. package/dist/components/z-tr.js +2 -2
  203. package/dist/components/z-tr.js.map +1 -1
  204. package/dist/components/z-visually-hidden.js +1 -1
  205. package/dist/esm/{index-e70be23f.js → index-09ff70db.js} +2 -2
  206. package/dist/esm/{index-e70be23f.js.map → index-09ff70db.js.map} +1 -1
  207. package/dist/esm/index-7a486f3d.js +65 -0
  208. package/dist/esm/index-7a486f3d.js.map +1 -0
  209. package/dist/esm/index-81b223e5.js +45 -0
  210. package/dist/esm/index-81b223e5.js.map +1 -0
  211. package/dist/esm/{index-36f0f6c0.js → index-8e5c830a.js} +2 -2
  212. package/dist/esm/{index-36f0f6c0.js.map → index-8e5c830a.js.map} +1 -1
  213. package/dist/esm/index-ea820724.js +57 -0
  214. package/dist/esm/index-ea820724.js.map +1 -0
  215. package/dist/esm/{index-dfddeb25.js → index-fe4fc8da.js} +2 -2
  216. package/dist/esm/{index-dfddeb25.js.map → index-fe4fc8da.js.map} +1 -1
  217. package/dist/esm/loader.js +1 -1
  218. package/dist/esm/web-components-library.js +1 -1
  219. package/dist/esm/z-accordion.entry.js +1 -1
  220. package/dist/esm/z-alert.entry.js +1 -1
  221. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  222. package/dist/esm/z-app-header_12.entry.js +10 -8
  223. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  224. package/dist/esm/z-aria-alert.entry.js +1 -1
  225. package/dist/esm/z-avatar.entry.js +2 -2
  226. package/dist/esm/z-book-card.entry.js +1 -1
  227. package/dist/esm/z-breadcrumb.entry.js +2 -2
  228. package/dist/esm/z-button-sort.entry.js +1 -1
  229. package/dist/esm/z-chip.entry.js +2 -2
  230. package/dist/esm/z-combobox.entry.js +1 -1
  231. package/dist/esm/z-cover-hero.entry.js +2 -2
  232. package/dist/esm/z-dragdrop-area_2.entry.js +4 -4
  233. package/dist/esm/z-ghost-loading.entry.js +1 -1
  234. package/dist/esm/z-info-box.entry.js +1 -1
  235. package/dist/esm/z-info-reveal.entry.js +1 -1
  236. package/dist/esm/z-logo.entry.js +1 -1
  237. package/dist/esm/z-menu-section.entry.js +1 -1
  238. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  239. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  240. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  241. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  242. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  243. package/dist/esm/z-myz-card-info.entry.js +1 -1
  244. package/dist/esm/z-myz-card-list.entry.js +1 -1
  245. package/dist/esm/z-myz-card_4.entry.js +4 -4
  246. package/dist/esm/z-myz-list-item.entry.js +1 -1
  247. package/dist/esm/z-myz-list.entry.js +1 -1
  248. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  249. package/dist/esm/z-notification.entry.js +1 -1
  250. package/dist/esm/z-otp.entry.js +2 -2
  251. package/dist/esm/z-panel-elem.entry.js +2 -2
  252. package/dist/esm/z-popover.entry.js +1 -1
  253. package/dist/esm/z-section-title.entry.js +1 -1
  254. package/dist/esm/z-select.entry.js +1 -1
  255. package/dist/esm/z-skip-to-content.entry.js +1 -1
  256. package/dist/esm/z-stepper-item.entry.js +1 -1
  257. package/dist/esm/z-stepper.entry.js +1 -1
  258. package/dist/esm/z-table.entry.js +8 -8
  259. package/dist/esm/z-table.entry.js.map +1 -1
  260. package/dist/esm/z-tbody.entry.js +1 -1
  261. package/dist/esm/z-td.entry.js +1 -1
  262. package/dist/esm/z-tfoot.entry.js +1 -1
  263. package/dist/esm/z-th.entry.js +1 -1
  264. package/dist/esm/z-thead.entry.js +1 -1
  265. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  266. package/dist/esm/z-toast-notification.entry.js +1 -1
  267. package/dist/esm/z-toggle-button.entry.js +2 -2
  268. package/dist/esm/z-toggle-switch.entry.js +3 -3
  269. package/dist/esm/z-tooltip.entry.js +1 -1
  270. package/dist/esm/z-tr.entry.js +3 -3
  271. package/dist/esm/z-visually-hidden.entry.js +1 -1
  272. package/dist/types/components/table/cells/z-th/index.d.ts +10 -1
  273. package/dist/types/components/table/z-table/index.stories.d.ts +11 -0
  274. package/dist/types/components.d.ts +18 -2
  275. package/dist/types/constants/iconset.d.ts +4 -0
  276. package/dist/web-components-library/{p-f15d0a00.entry.js → p-00f7e0da.entry.js} +2 -2
  277. package/dist/web-components-library/{p-5a0f0978.entry.js → p-0b100bd7.entry.js} +2 -2
  278. package/dist/web-components-library/{p-707e5f91.entry.js → p-0ca0265f.entry.js} +2 -2
  279. package/dist/web-components-library/{p-9b9a04ad.entry.js → p-140b5d8f.entry.js} +2 -2
  280. package/dist/web-components-library/p-155c52f7.js +2 -0
  281. package/{www/build/p-4a2e0034.js.map → dist/web-components-library/p-155c52f7.js.map} +1 -1
  282. package/dist/web-components-library/p-16719dff.entry.js +2 -0
  283. package/dist/web-components-library/{p-45dc157c.entry.js → p-17d2d60b.entry.js} +2 -2
  284. package/dist/web-components-library/p-17fea974.js +2 -0
  285. package/dist/web-components-library/p-17fea974.js.map +1 -0
  286. package/dist/web-components-library/p-27bfe123.js +2 -0
  287. package/dist/web-components-library/p-27bfe123.js.map +1 -0
  288. package/dist/web-components-library/{p-100c6243.entry.js → p-291319ed.entry.js} +2 -2
  289. package/dist/web-components-library/p-2b15df8e.entry.js +2 -0
  290. package/dist/web-components-library/p-2cab65f7.entry.js +2 -0
  291. package/dist/web-components-library/{p-f8bbca6e.entry.js → p-30f09188.entry.js} +2 -2
  292. package/dist/web-components-library/p-32d603b8.js +2 -0
  293. package/dist/web-components-library/p-3b26bd7b.entry.js +2 -0
  294. package/dist/web-components-library/p-3d97dedf.entry.js +2 -0
  295. package/dist/web-components-library/{p-9a1b51ed.entry.js → p-4704cece.entry.js} +2 -2
  296. package/dist/web-components-library/{p-d5f5e107.entry.js → p-48b2e967.entry.js} +2 -2
  297. package/dist/web-components-library/p-6297dfaa.entry.js +2 -0
  298. package/{www/build/p-ad97fdc4.entry.js → dist/web-components-library/p-62b75a18.entry.js} +2 -2
  299. package/{www/build/p-a64a1bf0.entry.js → dist/web-components-library/p-64ba80da.entry.js} +2 -2
  300. package/dist/web-components-library/{p-f9aa2d11.entry.js → p-67e48546.entry.js} +2 -2
  301. package/dist/web-components-library/{p-2f662fea.entry.js → p-6e92df75.entry.js} +2 -2
  302. package/{www/build/p-820b48f6.entry.js → dist/web-components-library/p-6f9fc850.entry.js} +2 -2
  303. package/dist/web-components-library/p-73a58288.entry.js +2 -0
  304. package/dist/web-components-library/p-73a58288.entry.js.map +1 -0
  305. package/dist/web-components-library/p-7a674e6c.entry.js +2 -0
  306. package/dist/web-components-library/p-8855aef4.js +2 -0
  307. package/{www/build/p-777ad335.entry.js → dist/web-components-library/p-89b1e0ce.entry.js} +2 -2
  308. package/{www/build/p-51f1c9c0.entry.js → dist/web-components-library/p-956ece11.entry.js} +2 -2
  309. package/dist/web-components-library/{p-f06ad42c.entry.js → p-9a48e70b.entry.js} +2 -2
  310. package/dist/web-components-library/p-9bf06eb5.entry.js +2 -0
  311. package/dist/web-components-library/{p-c679277c.entry.js.map → p-9bf06eb5.entry.js.map} +1 -1
  312. package/dist/web-components-library/p-9c36d574.entry.js +2 -0
  313. package/dist/web-components-library/p-9d857607.entry.js +2 -0
  314. package/dist/web-components-library/p-9d857607.entry.js.map +1 -0
  315. package/dist/web-components-library/{p-8d56e74b.entry.js → p-9fc6961e.entry.js} +2 -2
  316. package/dist/web-components-library/p-a167bdd5.js +2 -0
  317. package/dist/web-components-library/{p-4537f922.entry.js → p-a16ed530.entry.js} +2 -2
  318. package/{www/build/p-e4d97fbf.entry.js → dist/web-components-library/p-a45e72f0.entry.js} +2 -2
  319. package/dist/web-components-library/p-af7e5773.entry.js +2 -0
  320. package/{www/build/p-6a1b3e86.entry.js → dist/web-components-library/p-b387e877.entry.js} +2 -2
  321. package/dist/web-components-library/{p-46d98609.entry.js → p-b6ea478b.entry.js} +2 -2
  322. package/{www/build/p-b2356bc7.entry.js → dist/web-components-library/p-b7af7424.entry.js} +2 -2
  323. package/{www/build/p-f425c6f2.entry.js → dist/web-components-library/p-c38833ea.entry.js} +2 -2
  324. package/dist/web-components-library/p-c39ca8e7.entry.js +2 -0
  325. package/dist/web-components-library/{p-e529a714.entry.js → p-c451b4d7.entry.js} +2 -2
  326. package/{www/build/p-e25d7f0a.entry.js → dist/web-components-library/p-ca7634bf.entry.js} +2 -2
  327. package/dist/web-components-library/{p-855334f4.entry.js → p-d847bfcd.entry.js} +2 -2
  328. package/dist/web-components-library/{p-ab7f129e.entry.js → p-d94c5857.entry.js} +2 -2
  329. package/dist/web-components-library/{p-aaae6b16.entry.js → p-e770ed95.entry.js} +2 -2
  330. package/dist/web-components-library/{p-7aba5af3.entry.js → p-eb93aa0b.entry.js} +2 -2
  331. package/dist/web-components-library/{p-ea9c0ff3.entry.js → p-ecae1a7a.entry.js} +2 -2
  332. package/dist/web-components-library/{p-5a178c69.entry.js → p-ee430669.entry.js} +2 -2
  333. package/dist/web-components-library/{p-a0fd1323.entry.js → p-ef8a7250.entry.js} +2 -2
  334. package/dist/web-components-library/{p-cd0219b4.entry.js → p-f26b2e47.entry.js} +2 -2
  335. package/dist/web-components-library/{p-df8c381a.entry.js → p-f410f295.entry.js} +2 -2
  336. package/dist/web-components-library/p-f87bcdc3.entry.js +2 -0
  337. package/dist/web-components-library/{p-68f4fbc8.entry.js.map → p-f87bcdc3.entry.js.map} +1 -1
  338. package/dist/web-components-library/p-febc4982.entry.js +2 -0
  339. package/dist/web-components-library/{p-3f0be317.entry.js → p-ffccfe63.entry.js} +2 -2
  340. package/dist/web-components-library/web-components-library.esm.js +1 -1
  341. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  342. package/package.json +1 -1
  343. package/www/build/{p-f15d0a00.entry.js → p-00f7e0da.entry.js} +2 -2
  344. package/www/build/{p-5a0f0978.entry.js → p-0b100bd7.entry.js} +2 -2
  345. package/www/build/{p-707e5f91.entry.js → p-0ca0265f.entry.js} +2 -2
  346. package/www/build/{p-9b9a04ad.entry.js → p-140b5d8f.entry.js} +2 -2
  347. package/www/build/p-155c52f7.js +2 -0
  348. package/{dist/web-components-library/p-4a2e0034.js.map → www/build/p-155c52f7.js.map} +1 -1
  349. package/www/build/p-16719dff.entry.js +2 -0
  350. package/www/build/{p-45dc157c.entry.js → p-17d2d60b.entry.js} +2 -2
  351. package/www/build/p-17fea974.js +2 -0
  352. package/www/build/p-17fea974.js.map +1 -0
  353. package/www/build/p-27bfe123.js +2 -0
  354. package/www/build/p-27bfe123.js.map +1 -0
  355. package/www/build/{p-100c6243.entry.js → p-291319ed.entry.js} +2 -2
  356. package/www/build/p-2b15df8e.entry.js +2 -0
  357. package/www/build/p-2cab65f7.entry.js +2 -0
  358. package/www/build/{p-f8bbca6e.entry.js → p-30f09188.entry.js} +2 -2
  359. package/www/build/p-32d603b8.js +2 -0
  360. package/www/build/p-3b26bd7b.entry.js +2 -0
  361. package/www/build/p-3d97dedf.entry.js +2 -0
  362. package/www/build/{p-9a1b51ed.entry.js → p-4704cece.entry.js} +2 -2
  363. package/www/build/{p-d5f5e107.entry.js → p-48b2e967.entry.js} +2 -2
  364. package/www/build/p-6297dfaa.entry.js +2 -0
  365. package/{dist/web-components-library/p-ad97fdc4.entry.js → www/build/p-62b75a18.entry.js} +2 -2
  366. package/{dist/web-components-library/p-a64a1bf0.entry.js → www/build/p-64ba80da.entry.js} +2 -2
  367. package/www/build/{p-f9aa2d11.entry.js → p-67e48546.entry.js} +2 -2
  368. package/www/build/{p-2f662fea.entry.js → p-6e92df75.entry.js} +2 -2
  369. package/{dist/web-components-library/p-820b48f6.entry.js → www/build/p-6f9fc850.entry.js} +2 -2
  370. package/www/build/p-73a58288.entry.js +2 -0
  371. package/www/build/p-73a58288.entry.js.map +1 -0
  372. package/www/build/p-7a674e6c.entry.js +2 -0
  373. package/www/build/p-8855aef4.js +2 -0
  374. package/{dist/web-components-library/p-777ad335.entry.js → www/build/p-89b1e0ce.entry.js} +2 -2
  375. package/{dist/web-components-library/p-51f1c9c0.entry.js → www/build/p-956ece11.entry.js} +2 -2
  376. package/www/build/{p-f06ad42c.entry.js → p-9a48e70b.entry.js} +2 -2
  377. package/www/build/p-9bf06eb5.entry.js +2 -0
  378. package/www/build/{p-c679277c.entry.js.map → p-9bf06eb5.entry.js.map} +1 -1
  379. package/www/build/p-9c36d574.entry.js +2 -0
  380. package/www/build/p-9d857607.entry.js +2 -0
  381. package/www/build/p-9d857607.entry.js.map +1 -0
  382. package/www/build/{p-8d56e74b.entry.js → p-9fc6961e.entry.js} +2 -2
  383. package/www/build/p-a167bdd5.js +2 -0
  384. package/www/build/{p-4537f922.entry.js → p-a16ed530.entry.js} +2 -2
  385. package/{dist/web-components-library/p-e4d97fbf.entry.js → www/build/p-a45e72f0.entry.js} +2 -2
  386. package/www/build/p-af7e5773.entry.js +2 -0
  387. package/{dist/web-components-library/p-6a1b3e86.entry.js → www/build/p-b387e877.entry.js} +2 -2
  388. package/www/build/{p-46d98609.entry.js → p-b6ea478b.entry.js} +2 -2
  389. package/{dist/web-components-library/p-b2356bc7.entry.js → www/build/p-b7af7424.entry.js} +2 -2
  390. package/{dist/web-components-library/p-f425c6f2.entry.js → www/build/p-c38833ea.entry.js} +2 -2
  391. package/www/build/p-c39ca8e7.entry.js +2 -0
  392. package/www/build/{p-e529a714.entry.js → p-c451b4d7.entry.js} +2 -2
  393. package/www/build/{p-ee649874.js → p-ca107e5c.js} +1 -1
  394. package/{dist/web-components-library/p-e25d7f0a.entry.js → www/build/p-ca7634bf.entry.js} +2 -2
  395. package/www/build/{p-855334f4.entry.js → p-d847bfcd.entry.js} +2 -2
  396. package/www/build/{p-ab7f129e.entry.js → p-d94c5857.entry.js} +2 -2
  397. package/www/build/{p-aaae6b16.entry.js → p-e770ed95.entry.js} +2 -2
  398. package/www/build/{p-7aba5af3.entry.js → p-eb93aa0b.entry.js} +2 -2
  399. package/www/build/{p-ea9c0ff3.entry.js → p-ecae1a7a.entry.js} +2 -2
  400. package/www/build/{p-5a178c69.entry.js → p-ee430669.entry.js} +2 -2
  401. package/www/build/{p-a0fd1323.entry.js → p-ef8a7250.entry.js} +2 -2
  402. package/www/build/{p-cd0219b4.entry.js → p-f26b2e47.entry.js} +2 -2
  403. package/www/build/{p-df8c381a.entry.js → p-f410f295.entry.js} +2 -2
  404. package/www/build/p-f87bcdc3.entry.js +2 -0
  405. package/www/build/{p-68f4fbc8.entry.js.map → p-f87bcdc3.entry.js.map} +1 -1
  406. package/www/build/p-febc4982.entry.js +2 -0
  407. package/www/build/{p-3f0be317.entry.js → p-ffccfe63.entry.js} +2 -2
  408. package/www/build/web-components-library.esm.js +1 -1
  409. package/www/build/web-components-library.esm.js.map +1 -1
  410. package/www/index.html +1 -1
  411. package/dist/cjs/index-1dfb8b3c.js +0 -47
  412. package/dist/cjs/index-1dfb8b3c.js.map +0 -1
  413. package/dist/cjs/index-4bce26ea.js +0 -59
  414. package/dist/cjs/index-4bce26ea.js.map +0 -1
  415. package/dist/cjs/index-d4272b0e.js +0 -65
  416. package/dist/cjs/index-d4272b0e.js.map +0 -1
  417. package/dist/esm/index-66bd56db.js +0 -57
  418. package/dist/esm/index-66bd56db.js.map +0 -1
  419. package/dist/esm/index-89520805.js +0 -63
  420. package/dist/esm/index-89520805.js.map +0 -1
  421. package/dist/esm/index-cddfba10.js +0 -45
  422. package/dist/esm/index-cddfba10.js.map +0 -1
  423. package/dist/web-components-library/p-02418303.entry.js +0 -2
  424. package/dist/web-components-library/p-02418303.entry.js.map +0 -1
  425. package/dist/web-components-library/p-06d98334.entry.js +0 -2
  426. package/dist/web-components-library/p-28018cd3.entry.js +0 -2
  427. package/dist/web-components-library/p-28018cd3.entry.js.map +0 -1
  428. package/dist/web-components-library/p-2b1fd95a.entry.js +0 -2
  429. package/dist/web-components-library/p-3ae8fb1a.entry.js +0 -2
  430. package/dist/web-components-library/p-3dbad75e.js +0 -2
  431. package/dist/web-components-library/p-4a2e0034.js +0 -2
  432. package/dist/web-components-library/p-4f3f8578.entry.js +0 -2
  433. package/dist/web-components-library/p-60f410df.js +0 -2
  434. package/dist/web-components-library/p-60f410df.js.map +0 -1
  435. package/dist/web-components-library/p-63ec7bad.entry.js +0 -2
  436. package/dist/web-components-library/p-64aab82f.js +0 -2
  437. package/dist/web-components-library/p-68f4fbc8.entry.js +0 -2
  438. package/dist/web-components-library/p-7d5bf905.entry.js +0 -2
  439. package/dist/web-components-library/p-823c45d4.entry.js +0 -2
  440. package/dist/web-components-library/p-8a6a4d22.js +0 -2
  441. package/dist/web-components-library/p-8a6a4d22.js.map +0 -1
  442. package/dist/web-components-library/p-95cb8701.js +0 -2
  443. package/dist/web-components-library/p-c1e498ac.entry.js +0 -2
  444. package/dist/web-components-library/p-c54d0925.entry.js +0 -2
  445. package/dist/web-components-library/p-c679277c.entry.js +0 -2
  446. package/dist/web-components-library/p-cc71a90c.entry.js +0 -2
  447. package/dist/web-components-library/p-f703660d.entry.js +0 -2
  448. package/www/build/p-02418303.entry.js +0 -2
  449. package/www/build/p-02418303.entry.js.map +0 -1
  450. package/www/build/p-06d98334.entry.js +0 -2
  451. package/www/build/p-28018cd3.entry.js +0 -2
  452. package/www/build/p-28018cd3.entry.js.map +0 -1
  453. package/www/build/p-2b1fd95a.entry.js +0 -2
  454. package/www/build/p-3ae8fb1a.entry.js +0 -2
  455. package/www/build/p-3dbad75e.js +0 -2
  456. package/www/build/p-4a2e0034.js +0 -2
  457. package/www/build/p-4f3f8578.entry.js +0 -2
  458. package/www/build/p-60f410df.js +0 -2
  459. package/www/build/p-60f410df.js.map +0 -1
  460. package/www/build/p-63ec7bad.entry.js +0 -2
  461. package/www/build/p-64aab82f.js +0 -2
  462. package/www/build/p-68f4fbc8.entry.js +0 -2
  463. package/www/build/p-7d5bf905.entry.js +0 -2
  464. package/www/build/p-823c45d4.entry.js +0 -2
  465. package/www/build/p-8a6a4d22.js +0 -2
  466. package/www/build/p-8a6a4d22.js.map +0 -1
  467. package/www/build/p-95cb8701.js +0 -2
  468. package/www/build/p-c1e498ac.entry.js +0 -2
  469. package/www/build/p-c54d0925.entry.js +0 -2
  470. package/www/build/p-c679277c.entry.js +0 -2
  471. package/www/build/p-cc71a90c.entry.js +0 -2
  472. package/www/build/p-f703660d.entry.js +0 -2
  473. /package/dist/web-components-library/{p-f15d0a00.entry.js.map → p-00f7e0da.entry.js.map} +0 -0
  474. /package/dist/web-components-library/{p-5a0f0978.entry.js.map → p-0b100bd7.entry.js.map} +0 -0
  475. /package/dist/web-components-library/{p-707e5f91.entry.js.map → p-0ca0265f.entry.js.map} +0 -0
  476. /package/dist/web-components-library/{p-9b9a04ad.entry.js.map → p-140b5d8f.entry.js.map} +0 -0
  477. /package/dist/web-components-library/{p-2b1fd95a.entry.js.map → p-16719dff.entry.js.map} +0 -0
  478. /package/dist/web-components-library/{p-45dc157c.entry.js.map → p-17d2d60b.entry.js.map} +0 -0
  479. /package/dist/web-components-library/{p-100c6243.entry.js.map → p-291319ed.entry.js.map} +0 -0
  480. /package/dist/web-components-library/{p-4f3f8578.entry.js.map → p-2b15df8e.entry.js.map} +0 -0
  481. /package/dist/web-components-library/{p-c54d0925.entry.js.map → p-2cab65f7.entry.js.map} +0 -0
  482. /package/dist/web-components-library/{p-f8bbca6e.entry.js.map → p-30f09188.entry.js.map} +0 -0
  483. /package/dist/web-components-library/{p-95cb8701.js.map → p-32d603b8.js.map} +0 -0
  484. /package/dist/web-components-library/{p-63ec7bad.entry.js.map → p-3b26bd7b.entry.js.map} +0 -0
  485. /package/dist/web-components-library/{p-c1e498ac.entry.js.map → p-3d97dedf.entry.js.map} +0 -0
  486. /package/dist/web-components-library/{p-9a1b51ed.entry.js.map → p-4704cece.entry.js.map} +0 -0
  487. /package/dist/web-components-library/{p-d5f5e107.entry.js.map → p-48b2e967.entry.js.map} +0 -0
  488. /package/dist/web-components-library/{p-7d5bf905.entry.js.map → p-6297dfaa.entry.js.map} +0 -0
  489. /package/dist/web-components-library/{p-ad97fdc4.entry.js.map → p-62b75a18.entry.js.map} +0 -0
  490. /package/dist/web-components-library/{p-a64a1bf0.entry.js.map → p-64ba80da.entry.js.map} +0 -0
  491. /package/dist/web-components-library/{p-f9aa2d11.entry.js.map → p-67e48546.entry.js.map} +0 -0
  492. /package/dist/web-components-library/{p-2f662fea.entry.js.map → p-6e92df75.entry.js.map} +0 -0
  493. /package/dist/web-components-library/{p-820b48f6.entry.js.map → p-6f9fc850.entry.js.map} +0 -0
  494. /package/dist/web-components-library/{p-823c45d4.entry.js.map → p-7a674e6c.entry.js.map} +0 -0
  495. /package/dist/web-components-library/{p-64aab82f.js.map → p-8855aef4.js.map} +0 -0
  496. /package/dist/web-components-library/{p-777ad335.entry.js.map → p-89b1e0ce.entry.js.map} +0 -0
  497. /package/dist/web-components-library/{p-51f1c9c0.entry.js.map → p-956ece11.entry.js.map} +0 -0
  498. /package/dist/web-components-library/{p-f06ad42c.entry.js.map → p-9a48e70b.entry.js.map} +0 -0
  499. /package/dist/web-components-library/{p-06d98334.entry.js.map → p-9c36d574.entry.js.map} +0 -0
  500. /package/dist/web-components-library/{p-8d56e74b.entry.js.map → p-9fc6961e.entry.js.map} +0 -0
  501. /package/dist/web-components-library/{p-3dbad75e.js.map → p-a167bdd5.js.map} +0 -0
  502. /package/dist/web-components-library/{p-4537f922.entry.js.map → p-a16ed530.entry.js.map} +0 -0
  503. /package/dist/web-components-library/{p-e4d97fbf.entry.js.map → p-a45e72f0.entry.js.map} +0 -0
  504. /package/dist/web-components-library/{p-3ae8fb1a.entry.js.map → p-af7e5773.entry.js.map} +0 -0
  505. /package/dist/web-components-library/{p-6a1b3e86.entry.js.map → p-b387e877.entry.js.map} +0 -0
  506. /package/dist/web-components-library/{p-46d98609.entry.js.map → p-b6ea478b.entry.js.map} +0 -0
  507. /package/dist/web-components-library/{p-b2356bc7.entry.js.map → p-b7af7424.entry.js.map} +0 -0
  508. /package/dist/web-components-library/{p-f425c6f2.entry.js.map → p-c38833ea.entry.js.map} +0 -0
  509. /package/dist/web-components-library/{p-cc71a90c.entry.js.map → p-c39ca8e7.entry.js.map} +0 -0
  510. /package/dist/web-components-library/{p-e529a714.entry.js.map → p-c451b4d7.entry.js.map} +0 -0
  511. /package/dist/web-components-library/{p-e25d7f0a.entry.js.map → p-ca7634bf.entry.js.map} +0 -0
  512. /package/dist/web-components-library/{p-855334f4.entry.js.map → p-d847bfcd.entry.js.map} +0 -0
  513. /package/dist/web-components-library/{p-ab7f129e.entry.js.map → p-d94c5857.entry.js.map} +0 -0
  514. /package/dist/web-components-library/{p-aaae6b16.entry.js.map → p-e770ed95.entry.js.map} +0 -0
  515. /package/dist/web-components-library/{p-7aba5af3.entry.js.map → p-eb93aa0b.entry.js.map} +0 -0
  516. /package/dist/web-components-library/{p-ea9c0ff3.entry.js.map → p-ecae1a7a.entry.js.map} +0 -0
  517. /package/dist/web-components-library/{p-5a178c69.entry.js.map → p-ee430669.entry.js.map} +0 -0
  518. /package/dist/web-components-library/{p-a0fd1323.entry.js.map → p-ef8a7250.entry.js.map} +0 -0
  519. /package/dist/web-components-library/{p-cd0219b4.entry.js.map → p-f26b2e47.entry.js.map} +0 -0
  520. /package/dist/web-components-library/{p-df8c381a.entry.js.map → p-f410f295.entry.js.map} +0 -0
  521. /package/dist/web-components-library/{p-f703660d.entry.js.map → p-febc4982.entry.js.map} +0 -0
  522. /package/dist/web-components-library/{p-3f0be317.entry.js.map → p-ffccfe63.entry.js.map} +0 -0
  523. /package/www/build/{p-f15d0a00.entry.js.map → p-00f7e0da.entry.js.map} +0 -0
  524. /package/www/build/{p-5a0f0978.entry.js.map → p-0b100bd7.entry.js.map} +0 -0
  525. /package/www/build/{p-707e5f91.entry.js.map → p-0ca0265f.entry.js.map} +0 -0
  526. /package/www/build/{p-9b9a04ad.entry.js.map → p-140b5d8f.entry.js.map} +0 -0
  527. /package/www/build/{p-2b1fd95a.entry.js.map → p-16719dff.entry.js.map} +0 -0
  528. /package/www/build/{p-45dc157c.entry.js.map → p-17d2d60b.entry.js.map} +0 -0
  529. /package/www/build/{p-100c6243.entry.js.map → p-291319ed.entry.js.map} +0 -0
  530. /package/www/build/{p-4f3f8578.entry.js.map → p-2b15df8e.entry.js.map} +0 -0
  531. /package/www/build/{p-c54d0925.entry.js.map → p-2cab65f7.entry.js.map} +0 -0
  532. /package/www/build/{p-f8bbca6e.entry.js.map → p-30f09188.entry.js.map} +0 -0
  533. /package/www/build/{p-95cb8701.js.map → p-32d603b8.js.map} +0 -0
  534. /package/www/build/{p-63ec7bad.entry.js.map → p-3b26bd7b.entry.js.map} +0 -0
  535. /package/www/build/{p-c1e498ac.entry.js.map → p-3d97dedf.entry.js.map} +0 -0
  536. /package/www/build/{p-9a1b51ed.entry.js.map → p-4704cece.entry.js.map} +0 -0
  537. /package/www/build/{p-d5f5e107.entry.js.map → p-48b2e967.entry.js.map} +0 -0
  538. /package/www/build/{p-7d5bf905.entry.js.map → p-6297dfaa.entry.js.map} +0 -0
  539. /package/www/build/{p-ad97fdc4.entry.js.map → p-62b75a18.entry.js.map} +0 -0
  540. /package/www/build/{p-a64a1bf0.entry.js.map → p-64ba80da.entry.js.map} +0 -0
  541. /package/www/build/{p-f9aa2d11.entry.js.map → p-67e48546.entry.js.map} +0 -0
  542. /package/www/build/{p-2f662fea.entry.js.map → p-6e92df75.entry.js.map} +0 -0
  543. /package/www/build/{p-820b48f6.entry.js.map → p-6f9fc850.entry.js.map} +0 -0
  544. /package/www/build/{p-823c45d4.entry.js.map → p-7a674e6c.entry.js.map} +0 -0
  545. /package/www/build/{p-64aab82f.js.map → p-8855aef4.js.map} +0 -0
  546. /package/www/build/{p-777ad335.entry.js.map → p-89b1e0ce.entry.js.map} +0 -0
  547. /package/www/build/{p-51f1c9c0.entry.js.map → p-956ece11.entry.js.map} +0 -0
  548. /package/www/build/{p-f06ad42c.entry.js.map → p-9a48e70b.entry.js.map} +0 -0
  549. /package/www/build/{p-06d98334.entry.js.map → p-9c36d574.entry.js.map} +0 -0
  550. /package/www/build/{p-8d56e74b.entry.js.map → p-9fc6961e.entry.js.map} +0 -0
  551. /package/www/build/{p-3dbad75e.js.map → p-a167bdd5.js.map} +0 -0
  552. /package/www/build/{p-4537f922.entry.js.map → p-a16ed530.entry.js.map} +0 -0
  553. /package/www/build/{p-e4d97fbf.entry.js.map → p-a45e72f0.entry.js.map} +0 -0
  554. /package/www/build/{p-3ae8fb1a.entry.js.map → p-af7e5773.entry.js.map} +0 -0
  555. /package/www/build/{p-6a1b3e86.entry.js.map → p-b387e877.entry.js.map} +0 -0
  556. /package/www/build/{p-46d98609.entry.js.map → p-b6ea478b.entry.js.map} +0 -0
  557. /package/www/build/{p-b2356bc7.entry.js.map → p-b7af7424.entry.js.map} +0 -0
  558. /package/www/build/{p-f425c6f2.entry.js.map → p-c38833ea.entry.js.map} +0 -0
  559. /package/www/build/{p-cc71a90c.entry.js.map → p-c39ca8e7.entry.js.map} +0 -0
  560. /package/www/build/{p-e529a714.entry.js.map → p-c451b4d7.entry.js.map} +0 -0
  561. /package/www/build/{p-e25d7f0a.entry.js.map → p-ca7634bf.entry.js.map} +0 -0
  562. /package/www/build/{p-855334f4.entry.js.map → p-d847bfcd.entry.js.map} +0 -0
  563. /package/www/build/{p-ab7f129e.entry.js.map → p-d94c5857.entry.js.map} +0 -0
  564. /package/www/build/{p-aaae6b16.entry.js.map → p-e770ed95.entry.js.map} +0 -0
  565. /package/www/build/{p-7aba5af3.entry.js.map → p-eb93aa0b.entry.js.map} +0 -0
  566. /package/www/build/{p-ea9c0ff3.entry.js.map → p-ecae1a7a.entry.js.map} +0 -0
  567. /package/www/build/{p-5a178c69.entry.js.map → p-ee430669.entry.js.map} +0 -0
  568. /package/www/build/{p-a0fd1323.entry.js.map → p-ef8a7250.entry.js.map} +0 -0
  569. /package/www/build/{p-cd0219b4.entry.js.map → p-f26b2e47.entry.js.map} +0 -0
  570. /package/www/build/{p-df8c381a.entry.js.map → p-f410f295.entry.js.map} +0 -0
  571. /package/www/build/{p-f703660d.entry.js.map → p-febc4982.entry.js.map} +0 -0
  572. /package/www/build/{p-3f0be317.entry.js.map → p-ffccfe63.entry.js.map} +0 -0
@@ -17,7 +17,7 @@ const ZSectionTitle$1 = /*@__PURE__*/ proxyCustomElement(class ZSectionTitle ext
17
17
  this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'a3ad7d776af201e9d246373daf4ef244655e6b2a' }, h("slot", { key: '532382f5c39858d6a9b8bbf446e98f76b10eab45', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: 'cc3c82110d14153a78638af917d00f7a531de971', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: 'cac165e1d7ec6f11ed8ea01694166ba2b8426b13', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: 'df953e580195f6174c431cd464918de781266fef', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
20
+ return (h(Host, { key: '15127467ec57c592822cc1d146f19716fb9bf15b' }, h("slot", { key: 'e240b4d2c2a26687b87e3b54044bb663e5fdab4b', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: 'b80bcb9779af5325cc6d2cc57babd89e71856be3', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: '843fe164ad735fd60834f011988b4c9995250a2c', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: 'ba37a4bd53fa715e765dcfe58ccc2a5c1d77051d', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
21
21
  }
22
22
  get host() { return this; }
23
23
  static get style() { return ZSectionTitleStyle0; }
@@ -330,7 +330,7 @@ const ZSelect$1 = /*@__PURE__*/ proxyCustomElement(class ZSelect extends HTMLEle
330
330
  return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size }));
331
331
  }
332
332
  render() {
333
- return (h("div", { key: 'e7576038ebd3f6bde4a58c7165c075ac3b52dd45', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
333
+ return (h("div", { key: '9b123725a6aa033aca4ada3ef6970764e11acf6a', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
334
334
  }
335
335
  get element() { return this; }
336
336
  static get watchers() { return {
@@ -48,7 +48,7 @@ const ZSkipToContent$1 = /*@__PURE__*/ proxyCustomElement(class ZSkipToContent e
48
48
  this.visible = false;
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: '505fa82af892c5881ffaedae4550fda73d97c608', class: {
51
+ return (h(Host, { key: '3d483b15edd6bf673a8b93a65016a558ce8f1648', class: {
52
52
  [this.variant]: true,
53
53
  "skip-to-content-visible": this.visible,
54
54
  } }, this.links.map((link, i) => {
@@ -23,7 +23,7 @@ const ZStepperItem$1 = /*@__PURE__*/ proxyCustomElement(class ZStepperItem exten
23
23
  return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '0f16f6202016c556147b474a73be14606a6d57dc', role: "listitem" }, h("button", Object.assign({ key: 'f894b125b31310c602a24e6a9298c0a7ffaf43ee', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '05641bfa3b70fcc1552eb41dd01a0d9435f04971', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '0259c6a2428d932c0f73b00304d75e92ec8de7bd' }, h("slot", { key: '37cdf19c7d05c87b6469f91bd427c2d7926eaeb9' })))));
26
+ return (h(Host, { key: 'c7c2e206c978ee691e94b18b0a16e55022390b59', role: "listitem" }, h("button", Object.assign({ key: '4f0f98a8d8e03c97d9e1c7d2440a01c2c490b295', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: 'd6630e5a219779138dce9b04ca812c97ac4a1ecb', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '948c7baae4dfc60a90b366cb6e76db3133182ddd' }, h("slot", { key: '9eb55b00ce32f7e15142bb3f0ed0a1dc548445b7' })))));
27
27
  }
28
28
  static get style() { return ZStepperItemStyle0; }
29
29
  }, [1, "z-stepper-item", {
@@ -10,7 +10,7 @@ const ZStepper$1 = /*@__PURE__*/ proxyCustomElement(class ZStepper extends HTMLE
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '799563bb322faa59b5f3c6b39a4996de7db89a8c', role: "list" }, h("slot", { key: 'c50aea0f183429aacddac1e9382c4413b3e1885f' })));
13
+ return (h(Host, { key: '125c47235cf0b4e8e7ad2884399b3bfc74c6ce54', role: "list" }, h("slot", { key: '32c44da99f4a88d757b52bf65c328d506f0538c9' })));
14
14
  }
15
15
  static get style() { return ZStepperStyle0; }
16
16
  }, [1, "z-stepper"]);
@@ -3,7 +3,7 @@ import './index2.js';
3
3
  import './breakpoints.js';
4
4
  import './iconset.js';
5
5
 
6
- const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";
6
+ const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";
7
7
  const ZTableStyle0 = stylesCss;
8
8
 
9
9
  const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLElement {
@@ -37,7 +37,7 @@ const ZTable$1 = /*@__PURE__*/ proxyCustomElement(class ZTable extends HTMLEleme
37
37
  (_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '2d8e50a74ff7ccf3c6dc4f5324a512177ad52f45', expandable: this.expandable }, h("div", { key: '5e1d9d44dc90ac06683bf5306f7eecadffe807fe', class: "table", role: "table" }, h("slot", { key: '12a615e336a4ad50390a2ab0b12b2d20b3503f06' }))));
40
+ return (h(Host, { key: '6fa1464a9d96267c0a1a45078a7b19e15930b2be', expandable: this.expandable }, h("div", { key: '9436f4627cab2b6c474bbfc803b64514cd152fb3', class: "table", role: "table" }, h("slot", { key: 'b9cf927ccd915cf55f4bb2e5a8943ceff347f9f7' }))));
41
41
  }
42
42
  get host() { return this; }
43
43
  static get style() { return ZTableStyle0; }
@@ -1 +1 @@
1
- {"file":"z-table.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,2VAA2V,CAAC;AAC9W,qBAAe,SAAS;;MCeXA,QAAM;;;;;wBAON,KAAK;0BAMH,KAAK;;IAEV,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;KAC7E;;;;IAOD,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC;YACrD,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;KACJ;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;KAC/C;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU,IAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,IAEZ,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTable"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n max-width: 100%;\n box-sizing: border-box;\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\n.table {\n min-width: max-content;\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-table.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,8TAA8T,CAAC;AACjV,qBAAe,SAAS;;MCeXA,QAAM;;;;;wBAON,KAAK;0BAMH,KAAK;;IAEV,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;KAC7E;;;;IAOD,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC;YACrD,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;KACJ;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;KAC/C;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU,IAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,IAEZ,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTable"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n max-width: 100%;\n box-sizing: border-box;\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -10,7 +10,7 @@ const ZTbody$1 = /*@__PURE__*/ proxyCustomElement(class ZTbody extends HTMLEleme
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'f3e13d724ae83c0117eafa2bd141a1b9319f0331', role: "rowgroup" }, h("slot", { key: 'f84d2b79230cb6b8305c0b01f4a48f8811634421' })));
13
+ return (h(Host, { key: '8520398deeb7fec7d7aee91d87e39775f93355c6', role: "rowgroup" }, h("slot", { key: 'a73aff9d76af07fa46c373e362ac102349c844ed' })));
14
14
  }
15
15
  static get style() { return ZTbodyStyle0; }
16
16
  }, [1, "z-tbody"]);
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './index4.js';
4
4
  import { d as defineCustomElement$3 } from './index9.js';
5
5
  import { d as defineCustomElement$2 } from './index22.js';
6
6
 
7
- const stylesCss = ":host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:\"\";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}";
7
+ const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}";
8
8
  const ZTdStyle0 = stylesCss;
9
9
 
10
10
  const ZTd$1 = /*@__PURE__*/ proxyCustomElement(class ZTd extends HTMLElement {
@@ -36,7 +36,7 @@ const ZTd$1 = /*@__PURE__*/ proxyCustomElement(class ZTd extends HTMLElement {
36
36
  this.updateColspan();
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: '36a62d2c751b3b889c7f69280418e95ff02192d5', role: "cell", "menu-open": this.isMenuOpen }, h("slot", { key: '6d593df3a5d84033f5ec055a00dc972d113ac4cb' }), this.showMenu && (h("div", { key: '77fbfdd8dc31fcfb6694461c8c0ed430323c3926', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'caf153b8ba5861b3dc7eabf966cdfdd9d3b197da', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'd89b8e0e5b8e622a6e9a08640bff28d64ff0eb07', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '339066d4dd0d6d57ac2358e6a8105aa690b2ca06', name: "contextual-menu" }))))));
39
+ 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" })))))));
40
40
  }
41
41
  get host() { return this; }
42
42
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"z-td.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,gjCAAgjC,CAAC;AACnkC,kBAAe,SAAS;;MCWXA,KAAG;;;;;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;KAC5C;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC5C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU,IAE1B,8DAAa,EACZ,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,qCAAqC,IAC9C,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAC1C,EACF,kEACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTd"],"sources":["src/components/table/cells/z-td/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTd {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-td.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,2hCAA2hC,CAAC;AAC9iC,kBAAe,SAAS;;MCWXA,KAAG;;;;;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;KAC5C;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC5C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU,IAE1B,4DAAK,KAAK,EAAC,eAAe,IACxB,8DAAa,EACZ,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,qCAAqC,IAC9C,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAC1C,EACF,kEACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTd"],"sources":["src/components/table/cells/z-td/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTd {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -11,7 +11,7 @@ const ZTfoot$1 = /*@__PURE__*/ proxyCustomElement(class ZTfoot extends HTMLEleme
11
11
  this.sticky = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'b872f68fd9e643528d02adb7bd76f8377a59fcdc', role: "rowgroup" }, h("slot", { key: '6ebdc491ee2459d415a53fb96e5f27405704a99f' })));
14
+ return (h(Host, { key: 'ad89fa705c3e70275166d5146ab915a286feedfe', role: "rowgroup" }, h("slot", { key: 'cb66c0a5c01972c54100efade79a91241baadc9a' })));
15
15
  }
16
16
  static get style() { return ZTfootStyle0; }
17
17
  }, [1, "z-tfoot", {
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './index4.js';
4
4
  import { d as defineCustomElement$3 } from './index9.js';
5
5
  import { d as defineCustomElement$2 } from './index22.js';
6
6
 
7
- const stylesCss = ":host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:\"\";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}:host{background-color:var(--color-surface02);font-weight:var(--font-sb)}:host([sortable]){cursor:pointer}.z-th--sort-button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin-top:auto;background-color:transparent;cursor:pointer}.z-th--sort-button:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
7
+ const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-surface02);font-weight:var(--font-sb)}.cell--content{padding:calc(var(--space-unit) * 2)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}@media (min-width: 768px) and (hover: hover){:host([show-sorting=\"hover\"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting=\"always\"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting=\"always\"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:\"\"}:host([sorted]) .z-th--sort-button::after,.z-th--sort-button:focus:focus-visible::after{box-shadow:var(--shadow-focus-primary)}";
8
8
  const ZThStyle0 = stylesCss;
9
9
 
10
10
  const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
@@ -15,8 +15,10 @@ const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
15
15
  this.sort = createEvent(this, "sort", 7);
16
16
  this.colspan = undefined;
17
17
  this.showMenu = null;
18
+ this.showSorting = null;
18
19
  this.sticky = false;
19
20
  this.sortDirection = undefined;
21
+ this.sorted = false;
20
22
  this.popoverPosition = PopoverPosition.AUTO;
21
23
  this.isMenuOpen = false;
22
24
  }
@@ -35,12 +37,12 @@ const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
35
37
  */
36
38
  handleSort() {
37
39
  if (!this.sortDirection) {
40
+ this.sorted = false;
38
41
  return;
39
42
  }
40
43
  this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;
41
- this.sort.emit({
42
- sortDirection: this.sortDirection,
43
- });
44
+ this.sorted = true;
45
+ this.sort.emit({ sortDirection: this.sortDirection });
44
46
  }
45
47
  updateColspan() {
46
48
  if (this.colspan) {
@@ -54,7 +56,7 @@ const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
54
56
  this.updateColspan();
55
57
  }
56
58
  render() {
57
- return (h(Host, { key: '222509e3075cd7a6668301f8b54cebd3af7bd843', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection }, h("slot", { key: '728dffd6851b3b9f6647a136c0d84d0da10c894b' }), this.sortDirection && (h("button", { key: 'a75b468b0057f404fdfcafd77cf63f10999f274a', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: '9d4ac199ba40228afd8b4ac087effde4ae37f55b', name: this.sortDirection === SortDirection.ASC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '4769a6dfa1e6222448b1d409746dbe1f6420cc5d', class: "cell--menu-container" }, h("z-button", { key: '90951859a7fdcaddec8769e95d8a65de5c7e5ff7', 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: '3066d766feab4b810d41b78a5f3801cbffa5688d', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '9bf90081ba6d5c82cdd9c69f0dd536bda756b8af', name: "contextual-menu" }))))));
59
+ 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" })))))));
58
60
  }
59
61
  get host() { return this; }
60
62
  static get watchers() { return {
@@ -64,8 +66,10 @@ const ZTh$1 = /*@__PURE__*/ proxyCustomElement(class ZTh extends HTMLElement {
64
66
  }, [1, "z-th", {
65
67
  "colspan": [2],
66
68
  "showMenu": [513, "show-menu"],
69
+ "showSorting": [513, "show-sorting"],
67
70
  "sticky": [516],
68
71
  "sortDirection": [1025, "sort-direction"],
72
+ "sorted": [1540],
69
73
  "popoverPosition": [1, "popover-position"],
70
74
  "isMenuOpen": [32]
71
75
  }, undefined, {
@@ -1 +1 @@
1
- {"file":"z-th.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,m4CAAm4C,CAAC;AACt5C,kBAAe,SAAS;;MCYXA,KAAG;;;;;;;wBAekB,IAAI;sBAM3B,KAAK;;+BAaI,eAAe,CAAC,IAAI;0BAMzB,KAAK;;;;;IAiBlB,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,WAAW,GAAG,YAAY,CAAC;KAC9E;;;;;IAMO,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO;SACR;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC,GAAG,CAAC;QACvG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YACb,aAAa,EAAE,IAAI,CAAC,aAAa;SAClC,CAAC,CAAC;KACJ;IAGS,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,eACf,IAAI,CAAC,iBAAiB,IAEjC,8DAAa,EACZ,IAAI,CAAC,aAAa,KACjB,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAEnC,+DACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,iBAAiB,GAAG,mBAAmB,EACxF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,EACA,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D,EACF,kEACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTh"],"sources":["src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n\n:host {\n background-color: var(--color-surface02);\n font-weight: var(--font-sb);\n}\n\n/* :host([sticky]) {\n background-color: var(--color-surface02);\n} */\n\n:host([sortable]) {\n cursor: pointer;\n}\n\n.z-th--sort-button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin-top: auto;\n background-color: transparent;\n cursor: pointer;\n}\n\n.z-th--sort-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n * Set `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sort.emit({\n sortDirection: this.sortDirection,\n });\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n >\n <slot></slot>\n {this.sortDirection && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.ASC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-th.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,krEAAkrE,CAAC;AACrsE,kBAAe,SAAS;;MCYXA,KAAG;;;;;;;wBAekB,IAAI;2BAQD,IAAI;sBAM9B,KAAK;;sBAYW,KAAK;+BAMZ,eAAe,CAAC,IAAI;0BAMzB,KAAK;;;;;IAiBlB,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,WAAW,GAAG,YAAY,CAAC;KAC9E;;;;;IAMO,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YAEpB,OAAO;SACR;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC,GAAG,CAAC;QACvG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAC,CAAC,CAAC;KACrD;IAGS,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,eACf,IAAI,CAAC,iBAAiB,EACjC,QAAQ,EAAE,IAAI,CAAC,WAAW,IAE1B,4DAAK,KAAK,EAAC,eAAe,IACxB,8DAAa,EACZ,IAAI,CAAC,WAAW,KACf,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAEnC,+DACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EACzF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,EACA,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D,EACF,kEACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTh"],"sources":["src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n\n:host {\n z-index: 1;\n padding: 0;\n background-color: var(--color-surface02);\n font-weight: var(--font-sb);\n}\n\n.cell--content {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host([show-sorting]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.z-th--sort-button {\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-sorting=\"hover\"]) .z-th--sort-button {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-sorting=\"hover\"]:hover) .z-th--sort-button,\n :host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,\n :host([show-sorting=\"always\"]) .z-th--sort-button,\n :host([sorted]) .z-th--sort-button {\n opacity: 1;\n pointer-events: all;\n }\n}\n\n:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,\n:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,\n:host([show-sorting=\"always\"]) .z-th--sort-button::after,\n:host([sorted]) .z-th--sort-button::after {\n position: absolute;\n top: 6px;\n left: 6px;\n width: calc(100% - 12px);\n height: calc(100% - 10px);\n background-color: transparent;\n content: \"\";\n}\n\n:host([sorted]) .z-th--sort-button::after,\n.z-th--sort-button:focus:focus-visible::after {\n box-shadow: var(--shadow-focus-primary);\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -11,7 +11,7 @@ const ZThead$1 = /*@__PURE__*/ proxyCustomElement(class ZThead extends HTMLEleme
11
11
  this.sticky = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '44bbf57a110328328c65171e6463a5128d0be2e7', role: "rowgroup" }, h("slot", { key: '1953f6a0c9d96f3cbf66ed0e856391d19e985e20' })));
14
+ return (h(Host, { key: 'ba72ed16202c8dbcc0176254347cdbdbc9d11418', role: "rowgroup" }, h("slot", { key: '4c2f8a0ee4fbd2718796cc254dd3d689403782cf' })));
15
15
  }
16
16
  static get style() { return ZTheadStyle0; }
17
17
  }, [1, "z-thead", {
@@ -43,7 +43,7 @@ const ZToastNotificationList$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNo
43
43
  }
44
44
  }
45
45
  render() {
46
- return h("slot", { key: '8b2a410e823aa6223e009a4def88f9f1c8dbf488', name: "toasts" });
46
+ return h("slot", { key: '92d1e3eb3d27b178014dec77a61efcf6de185933', name: "toasts" });
47
47
  }
48
48
  get hostElement() { return this; }
49
49
  static get watchers() { return {
@@ -2829,7 +2829,7 @@ const ZToastNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNotifi
2829
2829
  } }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
2830
2830
  }
2831
2831
  render() {
2832
- return (h(Host, { key: 'b79165640d2b2537dd8003db29e1c18845f1976c', style: {
2832
+ return (h(Host, { key: '64e3bc3f5fea2d418f58e010fb4660fc2369dacb', style: {
2833
2833
  "--percentuale": `${this.percentage}%`,
2834
2834
  }, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
2835
2835
  if (this.autoclose && e.animationName.includes("slidein")) {
@@ -24,10 +24,10 @@ const ZToggleButton$1 = /*@__PURE__*/ proxyCustomElement(class ZToggleButton ext
24
24
  this.toggleClick.emit(this.opened);
25
25
  }
26
26
  render() {
27
- return (h("button", { key: 'eef4aef08bdcf1537b12b43287cc58c05274bf37', tabindex: this.avoidclick ? "-1" : "0", class: {
27
+ return (h("button", { key: 'ff8e644553c0ebb8e943a7be38308fcebcbb9f74', tabindex: this.avoidclick ? "-1" : "0", class: {
28
28
  "isopen": this.opened,
29
29
  "avoid-clicks": this.avoidclick,
30
- }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '93a555e6eec548e3932c28cb6574680d34ecdedf', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
30
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '75be11bb4f5f880aa057a1f519956e683ce4601f', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
31
  }
32
32
  static get style() { return ZToggleButtonStyle0; }
33
33
  }, [1, "z-toggle-button", {
@@ -30,14 +30,14 @@ const ZToggleSwitch$1 = /*@__PURE__*/ proxyCustomElement(class ZToggleSwitch ext
30
30
  this.emitToggleClick();
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '17bcfee6b1fcfcd715d5d2e8686d5227dc3b16cd' }, h("input", { key: '682e25a434a34c9e814103e30cc42cf769f74953', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: 'e0fb9679dded13e315aefaaf6c105e124a46c967', htmlFor: this.htmlid, class: {
33
+ return (h(Host, { key: '362b31e90ab912df5167446dfd415dfe8f16beaa' }, h("input", { key: '0fe79cb376f214a1ef2f7bfeb70e8538db0bf4be', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: 'e98eb52726eae27cdf4df9c46c96259f77b708ea', htmlFor: this.htmlid, class: {
34
34
  [this.labelPosition]: true,
35
35
  disabled: this.disabled,
36
- } }, h("span", { key: '9a5ff289a9e7faa3d1354ca8522833415fcdb517' }, h("slot", { key: 'cae4d0ba661998799cc549ef5c21398175aa8d0f' })), h("span", { key: '8f27fe985dec52b128c6635a0502fd76417f202d', class: {
36
+ } }, h("span", { key: 'a0b1627779aa98080777b817a3930d750904afc9' }, h("slot", { key: 'cd44ff95db14fc84f360f64aa08180972cb8d532' })), h("span", { key: '070a6d688fd1899554c4a6913ea3df1e5a395403', class: {
37
37
  container: true,
38
38
  disabled: this.disabled,
39
39
  checked: this.checked,
40
- } }, h("span", { key: 'a68c0fe55df17f133325eb51a2efbd757842eb97', class: "circle" }, this.checked && (h("z-icon", { key: '6e7168d8c6c88771a20381e31b995bc2ebcd89cd', width: 12, height: 12, name: "checkmark" })))))));
40
+ } }, h("span", { key: '0ff0eced728bbc43d0a754374dc233c88abe4603', class: "circle" }, this.checked && (h("z-icon", { key: 'bce3b5b876c813e2f9b8c9715a973133ecd3863b', width: 12, height: 12, name: "checkmark" })))))));
41
41
  }
42
42
  static get style() { return ZToggleSwitchStyle0; }
43
43
  }, [6, "z-toggle-switch", {
@@ -20,7 +20,7 @@ const ZTooltip$1 = /*@__PURE__*/ proxyCustomElement(class ZTooltip extends HTMLE
20
20
  this.open = this.popoverEl.open;
21
21
  }
22
22
  render() {
23
- return (h("z-popover", { key: '6ddb780209f561f072220e597e9c03413cb58f79', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, h("slot", { key: '3891ffd31f733de168896c550304244f0b2a8131' })));
23
+ return (h("z-popover", { key: '055811eac8115dde60dadaf79951780df2ff64ae', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, h("slot", { key: 'bf96152d1131f62d93afbfe155ed0e80ad001385' })));
24
24
  }
25
25
  static get style() { return ZTooltipStyle0; }
26
26
  }, [1, "z-tooltip", {
@@ -3,7 +3,7 @@ import { r as randomId } from './utils.js';
3
3
  import './index2.js';
4
4
  import { d as defineCustomElement$2 } from './index9.js';
5
5
 
6
- const stylesCss = ":host{--columns:1;display:grid;min-width:max-content;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-surface02)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";
6
+ const stylesCss = ":host{--columns:1;display:grid;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-surface02)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";
7
7
  const ZTrStyle0 = stylesCss;
8
8
 
9
9
  const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
@@ -45,7 +45,7 @@ const ZTr$1 = /*@__PURE__*/ proxyCustomElement(class ZTr extends HTMLElement {
45
45
  this.updateColumns();
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '1048c6109f085ef7d6a2c80ee1f821378f1419eb', role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { key: 'b4333edd3915db24134ec862e61e42af75544544', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'f5d0233257d0ffd2d1221b850f9d33565b882bfe', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '0c0e51bac7a95bab954450447b2bce3dfa0079b6', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'f7af8227af6ec842ead9b12ad13a6d1df448c9a6', onSlotchange: this.updateColumns.bind(this) })));
48
+ 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) })));
49
49
  }
50
50
  get host() { return this; }
51
51
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"z-tr.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,ykDAAykD,CAAC;AAC5lD,kBAAe,SAAS;;MCeXA,KAAG;;;;;;0BAaD,KAAK;wBAMP,KAAK;;;IAeN,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QACpG,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE,CAAC;SACb;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QAEvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,IAAI,2BAA2B,QAAQ,EAAE,EAAE,CAAC;YACvF,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,EAAE,CAAC;SACjD;KACF;;;;;IAMO,UAAU,CAAC,KAAiB;QAClC,MAAM,aAAa,GAAI,KAAK,CAAC,MAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,aAAa,EAAE;YACrC,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;KAC7C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,KACd,gFACiB,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,gBACnC,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ,IAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,GAAW,CAClE,CACV,CACG,EACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTr"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n /* number of columns of the row. will be set in component's ts code */\n --columns: 1;\n\n display: grid;\n min-width: max-content;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-surface02);\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n onClick={this.onRowClick.bind(this)}\n expanded={this.expanded}\n >\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-tr.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,mjDAAmjD,CAAC;AACtkD,kBAAe,SAAS;;MCeXA,KAAG;;;;;;0BAaD,KAAK;wBAMP,KAAK;;;IAeN,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QACpG,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE,CAAC;SACb;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QAEvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,IAAI,2BAA2B,QAAQ,EAAE,EAAE,CAAC;YACvF,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,EAAE,CAAC;SACjD;KACF;;;;;IAMO,UAAU,CAAC,KAAiB;QAClC,MAAM,aAAa,GAAI,KAAK,CAAC,MAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,aAAa,EAAE;YACrC,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;KAC7C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,KACd,gFACiB,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,gBACnC,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ,IAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,GAAW,CAClE,CACV,CACG,EACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZTr"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n /* number of columns of the row. will be set in component's ts code */\n --columns: 1;\n\n display: grid;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-surface02);\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n onClick={this.onRowClick.bind(this)}\n expanded={this.expanded}\n >\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -10,7 +10,7 @@ const ZVisuallyHidden$1 = /*@__PURE__*/ proxyCustomElement(class ZVisuallyHidden
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return h("slot", { key: 'cab952b13471ad0b374bdc45ca65bac7dcc75659' });
13
+ return h("slot", { key: '3f4358dfc989f8813ff2aa14180b8ec23ce55494' });
14
14
  }
15
15
  static get style() { return ZVisuallyHiddenStyle0; }
16
16
  }, [1, "z-visually-hidden"]);
@@ -9,11 +9,11 @@ const ZTfoot = class {
9
9
  this.sticky = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'b872f68fd9e643528d02adb7bd76f8377a59fcdc', role: "rowgroup" }, h("slot", { key: '6ebdc491ee2459d415a53fb96e5f27405704a99f' })));
12
+ return (h(Host, { key: 'ad89fa705c3e70275166d5146ab915a286feedfe', role: "rowgroup" }, h("slot", { key: 'cb66c0a5c01972c54100efade79a91241baadc9a' })));
13
13
  }
14
14
  };
15
15
  ZTfoot.style = ZTfootStyle0;
16
16
 
17
17
  export { ZTfoot as Z };
18
18
 
19
- //# sourceMappingURL=index-e70be23f.js.map
19
+ //# sourceMappingURL=index-09ff70db.js.map
@@ -1 +1 @@
1
- {"file":"index-e70be23f.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"index-09ff70db.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,65 @@
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c8ceadeb.js';
2
+ import { P as PopoverPosition, S as SortDirection, B as ButtonVariant, e as ControlSize } from './index-b7dbacb4.js';
3
+
4
+ const stylesCss = ":host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-surface02);font-weight:var(--font-sb)}.cell--content{padding:calc(var(--space-unit) * 2)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}@media (min-width: 768px) and (hover: hover){:host([show-sorting=\"hover\"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting=\"always\"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting=\"always\"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:\"\"}:host([sorted]) .z-th--sort-button::after,.z-th--sort-button:focus:focus-visible::after{box-shadow:var(--shadow-focus-primary)}";
5
+ const ZThStyle0 = stylesCss;
6
+
7
+ const ZTh = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.sort = createEvent(this, "sort", 7);
11
+ this.colspan = undefined;
12
+ this.showMenu = null;
13
+ this.showSorting = null;
14
+ this.sticky = false;
15
+ this.sortDirection = undefined;
16
+ this.sorted = false;
17
+ this.popoverPosition = PopoverPosition.AUTO;
18
+ this.isMenuOpen = false;
19
+ }
20
+ /**
21
+ * Get the value to set to the `aria-sort` attribute based on the current sort direction.
22
+ */
23
+ get ariaSortDirection() {
24
+ if (!this.sortDirection) {
25
+ return null;
26
+ }
27
+ return this.sortDirection === SortDirection.ASC ? "ascending" : "descending";
28
+ }
29
+ /**
30
+ * Handle the click on the sort button.
31
+ * @fires sort
32
+ */
33
+ handleSort() {
34
+ if (!this.sortDirection) {
35
+ this.sorted = false;
36
+ return;
37
+ }
38
+ this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;
39
+ this.sorted = true;
40
+ this.sort.emit({ sortDirection: this.sortDirection });
41
+ }
42
+ updateColspan() {
43
+ if (this.colspan) {
44
+ this.host.style.gridColumn = `span ${this.colspan}`;
45
+ }
46
+ else {
47
+ this.host.style.removeProperty("grid-column");
48
+ }
49
+ }
50
+ componentWillLoad() {
51
+ this.updateColspan();
52
+ }
53
+ render() {
54
+ 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" })))))));
55
+ }
56
+ get host() { return getElement(this); }
57
+ static get watchers() { return {
58
+ "colspan": ["updateColspan"]
59
+ }; }
60
+ };
61
+ ZTh.style = ZThStyle0;
62
+
63
+ export { ZTh as Z };
64
+
65
+ //# sourceMappingURL=index-7a486f3d.js.map
@@ -0,0 +1 @@
1
+ {"file":"index-7a486f3d.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,krEAAkrE,CAAC;AACrsE,kBAAe,SAAS;;MCYX,GAAG;;;;;wBAekB,IAAI;2BAQD,IAAI;sBAM9B,KAAK;;sBAYW,KAAK;+BAMZ,eAAe,CAAC,IAAI;0BAMzB,KAAK;;;;;IAiBlB,IAAY,iBAAiB;QAC3B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,WAAW,GAAG,YAAY,CAAC;KAC9E;;;;;IAMO,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YACvB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YAEpB,OAAO;SACR;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,aAAa,CAAC,GAAG,CAAC;QACvG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAC,CAAC,CAAC;KACrD;IAGS,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;SAC/C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDACH,IAAI,EAAC,cAAc,eACR,IAAI,CAAC,UAAU,eACf,IAAI,CAAC,iBAAiB,EACjC,QAAQ,EAAE,IAAI,CAAC,WAAW,IAE1B,4DAAK,KAAK,EAAC,eAAe,IACxB,8DAAa,EACZ,IAAI,CAAC,WAAW,KACf,+DACE,KAAK,EAAC,mBAAmB,EACzB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAEnC,+DACE,IAAI,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI,GAAG,iBAAiB,GAAG,mBAAmB,EACzF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,EACA,IAAI,CAAC,QAAQ,KACZ,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAiB,CAAC,EACnD,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAC3D,EACF,kEACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,YAAY,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe,IAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n\n:host {\n z-index: 1;\n padding: 0;\n background-color: var(--color-surface02);\n font-weight: var(--font-sb);\n}\n\n.cell--content {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host([show-sorting]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.z-th--sort-button {\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-sorting=\"hover\"]) .z-th--sort-button {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-sorting=\"hover\"]:hover) .z-th--sort-button,\n :host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,\n :host([show-sorting=\"always\"]) .z-th--sort-button,\n :host([sorted]) .z-th--sort-button {\n opacity: 1;\n pointer-events: all;\n }\n}\n\n:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,\n:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,\n:host([show-sorting=\"always\"]) .z-th--sort-button::after,\n:host([sorted]) .z-th--sort-button::after {\n position: absolute;\n top: 6px;\n left: 6px;\n width: calc(100% - 12px);\n height: calc(100% - 10px);\n background-color: transparent;\n content: \"\";\n}\n\n:host([sorted]) .z-th--sort-button::after,\n.z-th--sort-button:focus:focus-visible::after {\n box-shadow: var(--shadow-focus-primary);\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}