@zanichelli/albe-web-components 19.3.0 → 19.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/{index-DY2I5wAY.js → index-CZz7uP-M.js} +7 -7
  3. package/dist/cjs/index-CZz7uP-M.js.map +1 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{reactive-controller-CxJYkamG.js → reactive-controller-BBJFF12W.js} +3 -3
  6. package/dist/cjs/{reactive-controller-CxJYkamG.js.map → reactive-controller-BBJFF12W.js.map} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +1 -1
  8. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  11. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  12. package/dist/cjs/z-app-header_12.cjs.entry.js +2 -2
  13. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  14. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  15. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  16. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +1 -1
  17. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  18. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  19. package/dist/cjs/z-breadcrumb.cjs.entry.js +1 -1
  20. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  21. package/dist/cjs/z-card.cjs.entry.js +1 -1
  22. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  23. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  24. package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
  25. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  26. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  27. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  28. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -2
  29. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  30. package/dist/cjs/z-file.cjs.entry.js +1 -1
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  33. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  34. package/dist/cjs/z-input-range.cjs.entry.js +1 -1
  35. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  36. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  37. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  39. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  41. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  42. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  43. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  46. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  48. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  50. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  51. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  52. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  53. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  54. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  55. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  56. package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
  57. package/dist/cjs/z-result-card.cjs.entry.js +1 -1
  58. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  59. package/dist/cjs/z-select.cjs.entry.js +1 -1
  60. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  61. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  62. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  63. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  64. package/dist/cjs/z-table.cjs.entry.js +6 -4
  65. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  66. package/dist/cjs/z-tbody.cjs.entry.js +6 -4
  67. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-td.cjs.entry.js +6 -4
  69. package/dist/cjs/z-td.cjs.entry.js.map +1 -1
  70. package/dist/cjs/z-tfoot.cjs.entry.js +6 -4
  71. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -1
  72. package/dist/cjs/z-th.cjs.entry.js +7 -5
  73. package/dist/cjs/z-th.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-thead.cjs.entry.js +6 -4
  75. package/dist/cjs/z-thead.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  77. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  78. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  79. package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
  80. package/dist/cjs/z-tool.cjs.entry.js +1 -1
  81. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  82. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  83. package/dist/cjs/z-tr.cjs.entry.js +8 -9
  84. package/dist/cjs/z-tr.cjs.entry.js.map +1 -1
  85. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  86. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  87. package/dist/collection/components/css-components/z-table/styles.css +79 -0
  88. package/dist/collection/components/table/cells/z-table-cells.css +0 -1
  89. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  90. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  91. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  92. package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
  93. package/dist/collection/components/table/cells/z-th/styles.css +0 -4
  94. package/dist/collection/components/table/z-table/index.js +3 -3
  95. package/dist/collection/components/table/z-table/index.js.map +1 -1
  96. package/dist/collection/components/table/z-table/styles.css +0 -6
  97. package/dist/collection/components/table/z-tbody/index.js +3 -3
  98. package/dist/collection/components/table/z-tbody/index.js.map +1 -1
  99. package/dist/collection/components/table/z-tfoot/index.js +3 -3
  100. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  101. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  102. package/dist/collection/components/table/z-thead/index.js +3 -3
  103. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  104. package/dist/collection/components/table/z-thead/styles.css +0 -4
  105. package/dist/collection/components/table/z-tr/index.js +5 -8
  106. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  107. package/dist/collection/components/table/z-tr/styles.css +13 -15
  108. package/dist/components/z-table.js +1 -1
  109. package/dist/components/z-table.js.map +1 -1
  110. package/dist/components/z-tbody.js +1 -1
  111. package/dist/components/z-tbody.js.map +1 -1
  112. package/dist/components/z-td.js +1 -1
  113. package/dist/components/z-td.js.map +1 -1
  114. package/dist/components/z-tfoot.js +1 -1
  115. package/dist/components/z-tfoot.js.map +1 -1
  116. package/dist/components/z-th.js +1 -1
  117. package/dist/components/z-th.js.map +1 -1
  118. package/dist/components/z-thead.js +1 -1
  119. package/dist/components/z-thead.js.map +1 -1
  120. package/dist/components/z-tr.js +1 -1
  121. package/dist/components/z-tr.js.map +1 -1
  122. package/dist/esm/{index-BEHxru6n.js → index-BcDWN4F1.js} +7 -7
  123. package/dist/esm/index-BcDWN4F1.js.map +1 -0
  124. package/dist/esm/loader.js +2 -2
  125. package/dist/esm/{reactive-controller-DXvzHFid.js → reactive-controller--oxj7x8w.js} +3 -3
  126. package/dist/esm/{reactive-controller-DXvzHFid.js.map → reactive-controller--oxj7x8w.js.map} +1 -1
  127. package/dist/esm/web-components-library.js +2 -2
  128. package/dist/esm/z-accordion.entry.js +1 -1
  129. package/dist/esm/z-alert.entry.js +1 -1
  130. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  131. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  132. package/dist/esm/z-app-header_12.entry.js +2 -2
  133. package/dist/esm/z-aria-alert.entry.js +1 -1
  134. package/dist/esm/z-avatar.entry.js +1 -1
  135. package/dist/esm/z-book-card-app.entry.js +1 -1
  136. package/dist/esm/z-book-card-deprecated.entry.js +1 -1
  137. package/dist/esm/z-book-card.entry.js +1 -1
  138. package/dist/esm/z-book-cover.entry.js +1 -1
  139. package/dist/esm/z-breadcrumb.entry.js +1 -1
  140. package/dist/esm/z-button-sort.entry.js +1 -1
  141. package/dist/esm/z-card.entry.js +1 -1
  142. package/dist/esm/z-carousel.entry.js +1 -1
  143. package/dist/esm/z-chip.entry.js +1 -1
  144. package/dist/esm/z-color-picker.entry.js +1 -1
  145. package/dist/esm/z-combobox.entry.js +1 -1
  146. package/dist/esm/z-cover-hero.entry.js +1 -1
  147. package/dist/esm/z-date-picker.entry.js +1 -1
  148. package/dist/esm/z-dragdrop-area_2.entry.js +2 -2
  149. package/dist/esm/z-file-upload.entry.js +1 -1
  150. package/dist/esm/z-file.entry.js +1 -1
  151. package/dist/esm/z-ghost-loading.entry.js +1 -1
  152. package/dist/esm/z-info-box.entry.js +1 -1
  153. package/dist/esm/z-info-reveal.entry.js +1 -1
  154. package/dist/esm/z-input-range.entry.js +1 -1
  155. package/dist/esm/z-logo.entry.js +1 -1
  156. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  157. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  158. package/dist/esm/z-menu-section.entry.js +1 -1
  159. package/dist/esm/z-menu.entry.js +1 -1
  160. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  161. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  162. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  163. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  164. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  165. package/dist/esm/z-myz-card-info.entry.js +1 -1
  166. package/dist/esm/z-myz-card-list.entry.js +1 -1
  167. package/dist/esm/z-myz-card_4.entry.js +1 -1
  168. package/dist/esm/z-myz-list-item.entry.js +1 -1
  169. package/dist/esm/z-myz-list.entry.js +1 -1
  170. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  171. package/dist/esm/z-notification.entry.js +1 -1
  172. package/dist/esm/z-otp.entry.js +1 -1
  173. package/dist/esm/z-pagination.entry.js +1 -1
  174. package/dist/esm/z-panel-elem.entry.js +1 -1
  175. package/dist/esm/z-popover.entry.js +1 -1
  176. package/dist/esm/z-range-picker.entry.js +1 -1
  177. package/dist/esm/z-result-card.entry.js +1 -1
  178. package/dist/esm/z-section-title.entry.js +1 -1
  179. package/dist/esm/z-select.entry.js +1 -1
  180. package/dist/esm/z-skip-to-content.entry.js +1 -1
  181. package/dist/esm/z-slideshow.entry.js +1 -1
  182. package/dist/esm/z-stepper-item.entry.js +1 -1
  183. package/dist/esm/z-stepper.entry.js +1 -1
  184. package/dist/esm/z-table.entry.js +6 -4
  185. package/dist/esm/z-table.entry.js.map +1 -1
  186. package/dist/esm/z-tbody.entry.js +6 -4
  187. package/dist/esm/z-tbody.entry.js.map +1 -1
  188. package/dist/esm/z-td.entry.js +6 -4
  189. package/dist/esm/z-td.entry.js.map +1 -1
  190. package/dist/esm/z-tfoot.entry.js +6 -4
  191. package/dist/esm/z-tfoot.entry.js.map +1 -1
  192. package/dist/esm/z-th.entry.js +7 -5
  193. package/dist/esm/z-th.entry.js.map +1 -1
  194. package/dist/esm/z-thead.entry.js +6 -4
  195. package/dist/esm/z-thead.entry.js.map +1 -1
  196. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  197. package/dist/esm/z-toast-notification.entry.js +1 -1
  198. package/dist/esm/z-toggle-button.entry.js +1 -1
  199. package/dist/esm/z-toggle-switch.entry.js +1 -1
  200. package/dist/esm/z-tool.entry.js +1 -1
  201. package/dist/esm/z-toolbar.entry.js +1 -1
  202. package/dist/esm/z-tooltip.entry.js +1 -1
  203. package/dist/esm/z-tr.entry.js +8 -9
  204. package/dist/esm/z-tr.entry.js.map +1 -1
  205. package/dist/esm/z-tree-list.entry.js +1 -1
  206. package/dist/esm/z-visually-hidden.entry.js +1 -1
  207. package/dist/web-components-library/p-01d2d4e2.entry.js +2 -0
  208. package/dist/web-components-library/p-01d2d4e2.entry.js.map +1 -0
  209. package/dist/web-components-library/{p-654cbe9f.entry.js → p-02a5c216.entry.js} +2 -2
  210. package/{www/build/p-8ca86be7.entry.js → dist/web-components-library/p-0673b282.entry.js} +2 -2
  211. package/dist/web-components-library/{p-a8fe9ae0.entry.js → p-06aba4ff.entry.js} +2 -2
  212. package/dist/web-components-library/{p-779a7476.entry.js → p-076d802a.entry.js} +2 -2
  213. package/dist/web-components-library/{p-ad88d4a5.entry.js → p-10ad3d7c.entry.js} +2 -2
  214. package/dist/web-components-library/{p-8ce8d90d.entry.js → p-164b8342.entry.js} +2 -2
  215. package/dist/web-components-library/{p-2c63a798.entry.js → p-1ba5aa7a.entry.js} +2 -2
  216. package/{www/build/p-5a0424cd.entry.js → dist/web-components-library/p-1c1f699b.entry.js} +2 -2
  217. package/{www/build/p-3b7f5d80.entry.js → dist/web-components-library/p-1c63269a.entry.js} +2 -2
  218. package/{www/build/p-72356b43.entry.js → dist/web-components-library/p-1e25b55b.entry.js} +2 -2
  219. package/dist/web-components-library/{p-e9ed3594.entry.js → p-21b9ec81.entry.js} +2 -2
  220. package/dist/web-components-library/{p-927d9062.entry.js → p-257be457.entry.js} +2 -2
  221. package/dist/web-components-library/{p-0a10c7d7.entry.js → p-26788712.entry.js} +2 -2
  222. package/{www/build/p-d09060af.entry.js → dist/web-components-library/p-2adbfd30.entry.js} +2 -2
  223. package/dist/web-components-library/{p-7dfb5290.entry.js → p-2fcbc1a1.entry.js} +2 -2
  224. package/{www/build/p-e9722221.entry.js → dist/web-components-library/p-30579764.entry.js} +4 -4
  225. package/{www/build/p-38e4e01f.entry.js → dist/web-components-library/p-330486fc.entry.js} +2 -2
  226. package/{www/build/p-da213c6e.entry.js → dist/web-components-library/p-34d4ee45.entry.js} +2 -2
  227. package/dist/web-components-library/{p-ab64e360.entry.js → p-354abbd7.entry.js} +2 -2
  228. package/dist/web-components-library/{p-288c1f55.entry.js → p-372e83b1.entry.js} +2 -2
  229. package/dist/web-components-library/{p-931f2a16.entry.js → p-3b70a97c.entry.js} +2 -2
  230. package/dist/web-components-library/{p-a8e42a7c.entry.js → p-3f2658a0.entry.js} +2 -2
  231. package/dist/web-components-library/{p-3b3e1ffb.entry.js → p-3f6ea914.entry.js} +2 -2
  232. package/dist/web-components-library/{p-17a9c2b3.entry.js → p-418a7ee5.entry.js} +2 -2
  233. package/{www/build/p-a1db3939.entry.js → dist/web-components-library/p-4730e9a5.entry.js} +2 -2
  234. package/dist/web-components-library/{p-315ac39c.entry.js → p-474493cc.entry.js} +2 -2
  235. package/dist/web-components-library/{p-723c700f.entry.js → p-4954dd38.entry.js} +2 -2
  236. package/dist/web-components-library/{p-9f0e91f5.entry.js → p-4c1b6c40.entry.js} +2 -2
  237. package/dist/web-components-library/{p-0de3e2fa.entry.js → p-55468801.entry.js} +2 -2
  238. package/dist/web-components-library/{p-44410388.entry.js → p-55f6d3fe.entry.js} +2 -2
  239. package/dist/web-components-library/p-62485d56.entry.js +2 -0
  240. package/dist/web-components-library/p-62485d56.entry.js.map +1 -0
  241. package/{www/build/p-eb5e4333.entry.js → dist/web-components-library/p-6a952697.entry.js} +2 -2
  242. package/dist/web-components-library/p-6c5937db.entry.js +2 -0
  243. package/dist/web-components-library/{p-ee711acf.entry.js → p-6f58880c.entry.js} +2 -2
  244. package/dist/web-components-library/{p-50a09bf1.entry.js → p-7056f90f.entry.js} +2 -2
  245. package/dist/web-components-library/{p-ace68b04.entry.js → p-70fe7ed8.entry.js} +2 -2
  246. package/dist/web-components-library/{p-440e5b62.entry.js → p-71ddff9a.entry.js} +2 -2
  247. package/dist/web-components-library/{p-acba8f34.entry.js → p-86d3a3da.entry.js} +2 -2
  248. package/dist/web-components-library/p-8751b09d.entry.js +2 -0
  249. package/dist/web-components-library/p-8751b09d.entry.js.map +1 -0
  250. package/{www/build/p-8046cab0.entry.js → dist/web-components-library/p-88e3fb55.entry.js} +2 -2
  251. package/dist/web-components-library/{p-a6f29ff5.entry.js → p-89e96cde.entry.js} +2 -2
  252. package/{www/build/p-54f98f8e.entry.js → dist/web-components-library/p-8a545910.entry.js} +2 -2
  253. package/{www/build/p-7fff6cfd.entry.js → dist/web-components-library/p-927d50ea.entry.js} +2 -2
  254. package/dist/web-components-library/{p-bff500a3.entry.js → p-95c2e9b0.entry.js} +2 -2
  255. package/dist/web-components-library/p-98089231.entry.js +2 -0
  256. package/dist/web-components-library/p-98089231.entry.js.map +1 -0
  257. package/{www/build/p-7313202f.entry.js → dist/web-components-library/p-9b1deaa1.entry.js} +2 -2
  258. package/dist/web-components-library/{p-BEHxru6n.js → p-BcDWN4F1.js} +3 -3
  259. package/dist/web-components-library/p-BcDWN4F1.js.map +1 -0
  260. package/{www/build/p-CscBC1Z4.js → dist/web-components-library/p-BeiZJJuW.js} +3 -3
  261. package/{www/build/p-CscBC1Z4.js.map → dist/web-components-library/p-BeiZJJuW.js.map} +1 -1
  262. package/{www/build/p-82e04f79.entry.js → dist/web-components-library/p-a0a84d24.entry.js} +2 -2
  263. package/dist/web-components-library/{p-af8fec68.entry.js → p-a238a3d0.entry.js} +2 -2
  264. package/dist/web-components-library/p-ab364ca1.entry.js +2 -0
  265. package/dist/web-components-library/p-ab364ca1.entry.js.map +1 -0
  266. package/dist/web-components-library/{p-82c43c62.entry.js → p-b38cacf2.entry.js} +2 -2
  267. package/dist/web-components-library/{p-b4140668.entry.js → p-b565bff1.entry.js} +2 -2
  268. package/dist/web-components-library/{p-87a5a352.entry.js → p-c5b3368c.entry.js} +2 -2
  269. package/dist/web-components-library/{p-35653b5e.entry.js → p-c64a8fd8.entry.js} +2 -2
  270. package/{www/build/p-960cd1d9.entry.js → dist/web-components-library/p-c7046a20.entry.js} +2 -2
  271. package/dist/web-components-library/{p-ae8d5494.entry.js → p-c7d65071.entry.js} +2 -2
  272. package/dist/web-components-library/{p-8b1f745c.entry.js → p-ccdfec00.entry.js} +2 -2
  273. package/dist/web-components-library/{p-73ed9922.entry.js → p-d15e7b4f.entry.js} +2 -2
  274. package/dist/web-components-library/p-d639463e.entry.js +2 -0
  275. package/dist/web-components-library/p-d639463e.entry.js.map +1 -0
  276. package/dist/web-components-library/{p-e87e13b0.entry.js → p-d866a2e1.entry.js} +2 -2
  277. package/{www/build/p-8bd0e3e2.entry.js → dist/web-components-library/p-db1fa456.entry.js} +2 -2
  278. package/{www/build/p-e9212c7a.entry.js → dist/web-components-library/p-dc26eb78.entry.js} +2 -2
  279. package/dist/web-components-library/{p-0eb833b6.entry.js → p-e5736b1f.entry.js} +2 -2
  280. package/dist/web-components-library/{p-286690fd.entry.js → p-e8eb3bc5.entry.js} +2 -2
  281. package/dist/web-components-library/{p-fa4e8b1b.entry.js → p-edbedacb.entry.js} +2 -2
  282. package/dist/web-components-library/{p-643aaedc.entry.js → p-f0557dd9.entry.js} +2 -2
  283. package/dist/web-components-library/p-f31f04b9.entry.js +2 -0
  284. package/dist/web-components-library/p-f31f04b9.entry.js.map +1 -0
  285. package/dist/web-components-library/{p-5ba350d8.entry.js → p-f4b9e6f4.entry.js} +2 -2
  286. package/dist/web-components-library/p-f9c859dc.entry.js +2 -0
  287. package/dist/web-components-library/{p-fe279683.entry.js.map → p-f9c859dc.entry.js.map} +1 -1
  288. package/dist/web-components-library/{p-40694478.entry.js → p-f9e5a0aa.entry.js} +2 -2
  289. package/dist/web-components-library/{p-235a1c1d.entry.js → p-fb8a0bda.entry.js} +2 -2
  290. package/dist/web-components-library/{p-508eb530.entry.js → p-ff89690a.entry.js} +2 -2
  291. package/dist/web-components-library/web-components-library.css +80 -0
  292. package/dist/web-components-library/web-components-library.esm.js +1 -1
  293. package/package.json +1 -1
  294. package/www/build/p-01d2d4e2.entry.js +2 -0
  295. package/www/build/p-01d2d4e2.entry.js.map +1 -0
  296. package/www/build/{p-654cbe9f.entry.js → p-02a5c216.entry.js} +2 -2
  297. package/{dist/web-components-library/p-8ca86be7.entry.js → www/build/p-0673b282.entry.js} +2 -2
  298. package/www/build/{p-a8fe9ae0.entry.js → p-06aba4ff.entry.js} +2 -2
  299. package/www/build/{p-779a7476.entry.js → p-076d802a.entry.js} +2 -2
  300. package/www/build/{p-ad88d4a5.entry.js → p-10ad3d7c.entry.js} +2 -2
  301. package/www/build/{p-8ce8d90d.entry.js → p-164b8342.entry.js} +2 -2
  302. package/www/build/{p-c60c851a.css → p-188d1101.css} +80 -0
  303. package/www/build/{p-2c63a798.entry.js → p-1ba5aa7a.entry.js} +2 -2
  304. package/{dist/web-components-library/p-5a0424cd.entry.js → www/build/p-1c1f699b.entry.js} +2 -2
  305. package/{dist/web-components-library/p-3b7f5d80.entry.js → www/build/p-1c63269a.entry.js} +2 -2
  306. package/{dist/web-components-library/p-72356b43.entry.js → www/build/p-1e25b55b.entry.js} +2 -2
  307. package/www/build/{p-e9ed3594.entry.js → p-21b9ec81.entry.js} +2 -2
  308. package/www/build/{p-927d9062.entry.js → p-257be457.entry.js} +2 -2
  309. package/www/build/{p-0a10c7d7.entry.js → p-26788712.entry.js} +2 -2
  310. package/{dist/web-components-library/p-d09060af.entry.js → www/build/p-2adbfd30.entry.js} +2 -2
  311. package/www/build/{p-7dfb5290.entry.js → p-2fcbc1a1.entry.js} +2 -2
  312. package/{dist/web-components-library/p-e9722221.entry.js → www/build/p-30579764.entry.js} +4 -4
  313. package/{dist/web-components-library/p-38e4e01f.entry.js → www/build/p-330486fc.entry.js} +2 -2
  314. package/{dist/web-components-library/p-da213c6e.entry.js → www/build/p-34d4ee45.entry.js} +2 -2
  315. package/www/build/{p-ab64e360.entry.js → p-354abbd7.entry.js} +2 -2
  316. package/www/build/{p-288c1f55.entry.js → p-372e83b1.entry.js} +2 -2
  317. package/www/build/{p-931f2a16.entry.js → p-3b70a97c.entry.js} +2 -2
  318. package/www/build/{p-a8e42a7c.entry.js → p-3f2658a0.entry.js} +2 -2
  319. package/www/build/{p-3b3e1ffb.entry.js → p-3f6ea914.entry.js} +2 -2
  320. package/www/build/{p-17a9c2b3.entry.js → p-418a7ee5.entry.js} +2 -2
  321. package/{dist/web-components-library/p-a1db3939.entry.js → www/build/p-4730e9a5.entry.js} +2 -2
  322. package/www/build/{p-315ac39c.entry.js → p-474493cc.entry.js} +2 -2
  323. package/www/build/{p-723c700f.entry.js → p-4954dd38.entry.js} +2 -2
  324. package/www/build/{p-9f0e91f5.entry.js → p-4c1b6c40.entry.js} +2 -2
  325. package/www/build/{p-0de3e2fa.entry.js → p-55468801.entry.js} +2 -2
  326. package/www/build/{p-44410388.entry.js → p-55f6d3fe.entry.js} +2 -2
  327. package/www/build/p-62485d56.entry.js +2 -0
  328. package/www/build/p-62485d56.entry.js.map +1 -0
  329. package/{dist/web-components-library/p-eb5e4333.entry.js → www/build/p-6a952697.entry.js} +2 -2
  330. package/www/build/p-6c5937db.entry.js +2 -0
  331. package/www/build/{p-ee711acf.entry.js → p-6f58880c.entry.js} +2 -2
  332. package/www/build/{p-50a09bf1.entry.js → p-7056f90f.entry.js} +2 -2
  333. package/www/build/{p-ace68b04.entry.js → p-70fe7ed8.entry.js} +2 -2
  334. package/www/build/{p-440e5b62.entry.js → p-71ddff9a.entry.js} +2 -2
  335. package/www/build/{p-acba8f34.entry.js → p-86d3a3da.entry.js} +2 -2
  336. package/www/build/p-8751b09d.entry.js +2 -0
  337. package/www/build/p-8751b09d.entry.js.map +1 -0
  338. package/{dist/web-components-library/p-8046cab0.entry.js → www/build/p-88e3fb55.entry.js} +2 -2
  339. package/www/build/{p-a6f29ff5.entry.js → p-89e96cde.entry.js} +2 -2
  340. package/{dist/web-components-library/p-54f98f8e.entry.js → www/build/p-8a545910.entry.js} +2 -2
  341. package/{dist/web-components-library/p-7fff6cfd.entry.js → www/build/p-927d50ea.entry.js} +2 -2
  342. package/www/build/{p-bff500a3.entry.js → p-95c2e9b0.entry.js} +2 -2
  343. package/www/build/p-98089231.entry.js +2 -0
  344. package/www/build/p-98089231.entry.js.map +1 -0
  345. package/{dist/web-components-library/p-7313202f.entry.js → www/build/p-9b1deaa1.entry.js} +2 -2
  346. package/www/build/{p-BEHxru6n.js → p-BcDWN4F1.js} +3 -3
  347. package/www/build/p-BcDWN4F1.js.map +1 -0
  348. package/{dist/web-components-library/p-CscBC1Z4.js → www/build/p-BeiZJJuW.js} +3 -3
  349. package/{dist/web-components-library/p-CscBC1Z4.js.map → www/build/p-BeiZJJuW.js.map} +1 -1
  350. package/{dist/web-components-library/p-82e04f79.entry.js → www/build/p-a0a84d24.entry.js} +2 -2
  351. package/www/build/{p-af8fec68.entry.js → p-a238a3d0.entry.js} +2 -2
  352. package/www/build/p-ab364ca1.entry.js +2 -0
  353. package/www/build/p-ab364ca1.entry.js.map +1 -0
  354. package/www/build/{p-82c43c62.entry.js → p-b38cacf2.entry.js} +2 -2
  355. package/www/build/{p-b4140668.entry.js → p-b565bff1.entry.js} +2 -2
  356. package/www/build/{p-b289ae9e.js → p-bcc5602c.js} +1 -1
  357. package/www/build/{p-87a5a352.entry.js → p-c5b3368c.entry.js} +2 -2
  358. package/www/build/{p-35653b5e.entry.js → p-c64a8fd8.entry.js} +2 -2
  359. package/{dist/web-components-library/p-960cd1d9.entry.js → www/build/p-c7046a20.entry.js} +2 -2
  360. package/www/build/{p-ae8d5494.entry.js → p-c7d65071.entry.js} +2 -2
  361. package/www/build/{p-8b1f745c.entry.js → p-ccdfec00.entry.js} +2 -2
  362. package/www/build/{p-73ed9922.entry.js → p-d15e7b4f.entry.js} +2 -2
  363. package/www/build/p-d639463e.entry.js +2 -0
  364. package/www/build/p-d639463e.entry.js.map +1 -0
  365. package/www/build/{p-e87e13b0.entry.js → p-d866a2e1.entry.js} +2 -2
  366. package/{dist/web-components-library/p-8bd0e3e2.entry.js → www/build/p-db1fa456.entry.js} +2 -2
  367. package/{dist/web-components-library/p-e9212c7a.entry.js → www/build/p-dc26eb78.entry.js} +2 -2
  368. package/www/build/{p-0eb833b6.entry.js → p-e5736b1f.entry.js} +2 -2
  369. package/www/build/{p-286690fd.entry.js → p-e8eb3bc5.entry.js} +2 -2
  370. package/www/build/{p-fa4e8b1b.entry.js → p-edbedacb.entry.js} +2 -2
  371. package/www/build/{p-643aaedc.entry.js → p-f0557dd9.entry.js} +2 -2
  372. package/www/build/p-f31f04b9.entry.js +2 -0
  373. package/www/build/p-f31f04b9.entry.js.map +1 -0
  374. package/www/build/{p-5ba350d8.entry.js → p-f4b9e6f4.entry.js} +2 -2
  375. package/www/build/p-f9c859dc.entry.js +2 -0
  376. package/www/build/{p-fe279683.entry.js.map → p-f9c859dc.entry.js.map} +1 -1
  377. package/www/build/{p-40694478.entry.js → p-f9e5a0aa.entry.js} +2 -2
  378. package/www/build/{p-235a1c1d.entry.js → p-fb8a0bda.entry.js} +2 -2
  379. package/www/build/{p-508eb530.entry.js → p-ff89690a.entry.js} +2 -2
  380. package/www/build/web-components-library.css +80 -0
  381. package/www/build/web-components-library.esm.js +1 -1
  382. package/www/index.html +1 -1
  383. package/dist/cjs/index-DY2I5wAY.js.map +0 -1
  384. package/dist/esm/index-BEHxru6n.js.map +0 -1
  385. package/dist/web-components-library/p-2b05eaef.entry.js +0 -2
  386. package/dist/web-components-library/p-6fc4fd53.entry.js +0 -2
  387. package/dist/web-components-library/p-6fc4fd53.entry.js.map +0 -1
  388. package/dist/web-components-library/p-72da35ee.entry.js +0 -2
  389. package/dist/web-components-library/p-72da35ee.entry.js.map +0 -1
  390. package/dist/web-components-library/p-7a25961e.entry.js +0 -2
  391. package/dist/web-components-library/p-7a25961e.entry.js.map +0 -1
  392. package/dist/web-components-library/p-8041306f.entry.js +0 -2
  393. package/dist/web-components-library/p-8041306f.entry.js.map +0 -1
  394. package/dist/web-components-library/p-8b0c232c.entry.js +0 -2
  395. package/dist/web-components-library/p-8b0c232c.entry.js.map +0 -1
  396. package/dist/web-components-library/p-BEHxru6n.js.map +0 -1
  397. package/dist/web-components-library/p-e4622c5d.entry.js +0 -2
  398. package/dist/web-components-library/p-e4622c5d.entry.js.map +0 -1
  399. package/dist/web-components-library/p-e7e98d15.entry.js +0 -2
  400. package/dist/web-components-library/p-e7e98d15.entry.js.map +0 -1
  401. package/dist/web-components-library/p-fe279683.entry.js +0 -2
  402. package/www/build/p-2b05eaef.entry.js +0 -2
  403. package/www/build/p-6fc4fd53.entry.js +0 -2
  404. package/www/build/p-6fc4fd53.entry.js.map +0 -1
  405. package/www/build/p-72da35ee.entry.js +0 -2
  406. package/www/build/p-72da35ee.entry.js.map +0 -1
  407. package/www/build/p-7a25961e.entry.js +0 -2
  408. package/www/build/p-7a25961e.entry.js.map +0 -1
  409. package/www/build/p-8041306f.entry.js +0 -2
  410. package/www/build/p-8041306f.entry.js.map +0 -1
  411. package/www/build/p-8b0c232c.entry.js +0 -2
  412. package/www/build/p-8b0c232c.entry.js.map +0 -1
  413. package/www/build/p-BEHxru6n.js.map +0 -1
  414. package/www/build/p-e4622c5d.entry.js +0 -2
  415. package/www/build/p-e4622c5d.entry.js.map +0 -1
  416. package/www/build/p-e7e98d15.entry.js +0 -2
  417. package/www/build/p-e7e98d15.entry.js.map +0 -1
  418. package/www/build/p-fe279683.entry.js +0 -2
  419. /package/dist/web-components-library/{p-654cbe9f.entry.js.map → p-02a5c216.entry.js.map} +0 -0
  420. /package/dist/web-components-library/{p-8ca86be7.entry.js.map → p-0673b282.entry.js.map} +0 -0
  421. /package/dist/web-components-library/{p-a8fe9ae0.entry.js.map → p-06aba4ff.entry.js.map} +0 -0
  422. /package/dist/web-components-library/{p-779a7476.entry.js.map → p-076d802a.entry.js.map} +0 -0
  423. /package/dist/web-components-library/{p-ad88d4a5.entry.js.map → p-10ad3d7c.entry.js.map} +0 -0
  424. /package/dist/web-components-library/{p-8ce8d90d.entry.js.map → p-164b8342.entry.js.map} +0 -0
  425. /package/dist/web-components-library/{p-2c63a798.entry.js.map → p-1ba5aa7a.entry.js.map} +0 -0
  426. /package/dist/web-components-library/{p-5a0424cd.entry.js.map → p-1c1f699b.entry.js.map} +0 -0
  427. /package/dist/web-components-library/{p-3b7f5d80.entry.js.map → p-1c63269a.entry.js.map} +0 -0
  428. /package/dist/web-components-library/{p-72356b43.entry.js.map → p-1e25b55b.entry.js.map} +0 -0
  429. /package/dist/web-components-library/{p-e9ed3594.entry.js.map → p-21b9ec81.entry.js.map} +0 -0
  430. /package/dist/web-components-library/{p-927d9062.entry.js.map → p-257be457.entry.js.map} +0 -0
  431. /package/dist/web-components-library/{p-0a10c7d7.entry.js.map → p-26788712.entry.js.map} +0 -0
  432. /package/dist/web-components-library/{p-d09060af.entry.js.map → p-2adbfd30.entry.js.map} +0 -0
  433. /package/dist/web-components-library/{p-7dfb5290.entry.js.map → p-2fcbc1a1.entry.js.map} +0 -0
  434. /package/dist/web-components-library/{p-e9722221.entry.js.map → p-30579764.entry.js.map} +0 -0
  435. /package/dist/web-components-library/{p-38e4e01f.entry.js.map → p-330486fc.entry.js.map} +0 -0
  436. /package/dist/web-components-library/{p-da213c6e.entry.js.map → p-34d4ee45.entry.js.map} +0 -0
  437. /package/dist/web-components-library/{p-ab64e360.entry.js.map → p-354abbd7.entry.js.map} +0 -0
  438. /package/dist/web-components-library/{p-288c1f55.entry.js.map → p-372e83b1.entry.js.map} +0 -0
  439. /package/dist/web-components-library/{p-931f2a16.entry.js.map → p-3b70a97c.entry.js.map} +0 -0
  440. /package/dist/web-components-library/{p-a8e42a7c.entry.js.map → p-3f2658a0.entry.js.map} +0 -0
  441. /package/dist/web-components-library/{p-3b3e1ffb.entry.js.map → p-3f6ea914.entry.js.map} +0 -0
  442. /package/dist/web-components-library/{p-17a9c2b3.entry.js.map → p-418a7ee5.entry.js.map} +0 -0
  443. /package/dist/web-components-library/{p-a1db3939.entry.js.map → p-4730e9a5.entry.js.map} +0 -0
  444. /package/dist/web-components-library/{p-315ac39c.entry.js.map → p-474493cc.entry.js.map} +0 -0
  445. /package/dist/web-components-library/{p-723c700f.entry.js.map → p-4954dd38.entry.js.map} +0 -0
  446. /package/dist/web-components-library/{p-9f0e91f5.entry.js.map → p-4c1b6c40.entry.js.map} +0 -0
  447. /package/dist/web-components-library/{p-0de3e2fa.entry.js.map → p-55468801.entry.js.map} +0 -0
  448. /package/dist/web-components-library/{p-44410388.entry.js.map → p-55f6d3fe.entry.js.map} +0 -0
  449. /package/dist/web-components-library/{p-eb5e4333.entry.js.map → p-6a952697.entry.js.map} +0 -0
  450. /package/dist/web-components-library/{p-2b05eaef.entry.js.map → p-6c5937db.entry.js.map} +0 -0
  451. /package/dist/web-components-library/{p-ee711acf.entry.js.map → p-6f58880c.entry.js.map} +0 -0
  452. /package/dist/web-components-library/{p-50a09bf1.entry.js.map → p-7056f90f.entry.js.map} +0 -0
  453. /package/dist/web-components-library/{p-ace68b04.entry.js.map → p-70fe7ed8.entry.js.map} +0 -0
  454. /package/dist/web-components-library/{p-440e5b62.entry.js.map → p-71ddff9a.entry.js.map} +0 -0
  455. /package/dist/web-components-library/{p-acba8f34.entry.js.map → p-86d3a3da.entry.js.map} +0 -0
  456. /package/dist/web-components-library/{p-8046cab0.entry.js.map → p-88e3fb55.entry.js.map} +0 -0
  457. /package/dist/web-components-library/{p-a6f29ff5.entry.js.map → p-89e96cde.entry.js.map} +0 -0
  458. /package/dist/web-components-library/{p-54f98f8e.entry.js.map → p-8a545910.entry.js.map} +0 -0
  459. /package/dist/web-components-library/{p-7fff6cfd.entry.js.map → p-927d50ea.entry.js.map} +0 -0
  460. /package/dist/web-components-library/{p-bff500a3.entry.js.map → p-95c2e9b0.entry.js.map} +0 -0
  461. /package/dist/web-components-library/{p-7313202f.entry.js.map → p-9b1deaa1.entry.js.map} +0 -0
  462. /package/dist/web-components-library/{p-82e04f79.entry.js.map → p-a0a84d24.entry.js.map} +0 -0
  463. /package/dist/web-components-library/{p-af8fec68.entry.js.map → p-a238a3d0.entry.js.map} +0 -0
  464. /package/dist/web-components-library/{p-82c43c62.entry.js.map → p-b38cacf2.entry.js.map} +0 -0
  465. /package/dist/web-components-library/{p-b4140668.entry.js.map → p-b565bff1.entry.js.map} +0 -0
  466. /package/dist/web-components-library/{p-87a5a352.entry.js.map → p-c5b3368c.entry.js.map} +0 -0
  467. /package/dist/web-components-library/{p-35653b5e.entry.js.map → p-c64a8fd8.entry.js.map} +0 -0
  468. /package/dist/web-components-library/{p-960cd1d9.entry.js.map → p-c7046a20.entry.js.map} +0 -0
  469. /package/dist/web-components-library/{p-ae8d5494.entry.js.map → p-c7d65071.entry.js.map} +0 -0
  470. /package/dist/web-components-library/{p-8b1f745c.entry.js.map → p-ccdfec00.entry.js.map} +0 -0
  471. /package/dist/web-components-library/{p-73ed9922.entry.js.map → p-d15e7b4f.entry.js.map} +0 -0
  472. /package/dist/web-components-library/{p-e87e13b0.entry.js.map → p-d866a2e1.entry.js.map} +0 -0
  473. /package/dist/web-components-library/{p-8bd0e3e2.entry.js.map → p-db1fa456.entry.js.map} +0 -0
  474. /package/dist/web-components-library/{p-e9212c7a.entry.js.map → p-dc26eb78.entry.js.map} +0 -0
  475. /package/dist/web-components-library/{p-0eb833b6.entry.js.map → p-e5736b1f.entry.js.map} +0 -0
  476. /package/dist/web-components-library/{p-286690fd.entry.js.map → p-e8eb3bc5.entry.js.map} +0 -0
  477. /package/dist/web-components-library/{p-fa4e8b1b.entry.js.map → p-edbedacb.entry.js.map} +0 -0
  478. /package/dist/web-components-library/{p-643aaedc.entry.js.map → p-f0557dd9.entry.js.map} +0 -0
  479. /package/dist/web-components-library/{p-5ba350d8.entry.js.map → p-f4b9e6f4.entry.js.map} +0 -0
  480. /package/dist/web-components-library/{p-40694478.entry.js.map → p-f9e5a0aa.entry.js.map} +0 -0
  481. /package/dist/web-components-library/{p-235a1c1d.entry.js.map → p-fb8a0bda.entry.js.map} +0 -0
  482. /package/dist/web-components-library/{p-508eb530.entry.js.map → p-ff89690a.entry.js.map} +0 -0
  483. /package/www/build/{p-654cbe9f.entry.js.map → p-02a5c216.entry.js.map} +0 -0
  484. /package/www/build/{p-8ca86be7.entry.js.map → p-0673b282.entry.js.map} +0 -0
  485. /package/www/build/{p-a8fe9ae0.entry.js.map → p-06aba4ff.entry.js.map} +0 -0
  486. /package/www/build/{p-779a7476.entry.js.map → p-076d802a.entry.js.map} +0 -0
  487. /package/www/build/{p-ad88d4a5.entry.js.map → p-10ad3d7c.entry.js.map} +0 -0
  488. /package/www/build/{p-8ce8d90d.entry.js.map → p-164b8342.entry.js.map} +0 -0
  489. /package/www/build/{p-2c63a798.entry.js.map → p-1ba5aa7a.entry.js.map} +0 -0
  490. /package/www/build/{p-5a0424cd.entry.js.map → p-1c1f699b.entry.js.map} +0 -0
  491. /package/www/build/{p-3b7f5d80.entry.js.map → p-1c63269a.entry.js.map} +0 -0
  492. /package/www/build/{p-72356b43.entry.js.map → p-1e25b55b.entry.js.map} +0 -0
  493. /package/www/build/{p-e9ed3594.entry.js.map → p-21b9ec81.entry.js.map} +0 -0
  494. /package/www/build/{p-927d9062.entry.js.map → p-257be457.entry.js.map} +0 -0
  495. /package/www/build/{p-0a10c7d7.entry.js.map → p-26788712.entry.js.map} +0 -0
  496. /package/www/build/{p-d09060af.entry.js.map → p-2adbfd30.entry.js.map} +0 -0
  497. /package/www/build/{p-7dfb5290.entry.js.map → p-2fcbc1a1.entry.js.map} +0 -0
  498. /package/www/build/{p-e9722221.entry.js.map → p-30579764.entry.js.map} +0 -0
  499. /package/www/build/{p-38e4e01f.entry.js.map → p-330486fc.entry.js.map} +0 -0
  500. /package/www/build/{p-da213c6e.entry.js.map → p-34d4ee45.entry.js.map} +0 -0
  501. /package/www/build/{p-ab64e360.entry.js.map → p-354abbd7.entry.js.map} +0 -0
  502. /package/www/build/{p-288c1f55.entry.js.map → p-372e83b1.entry.js.map} +0 -0
  503. /package/www/build/{p-931f2a16.entry.js.map → p-3b70a97c.entry.js.map} +0 -0
  504. /package/www/build/{p-a8e42a7c.entry.js.map → p-3f2658a0.entry.js.map} +0 -0
  505. /package/www/build/{p-3b3e1ffb.entry.js.map → p-3f6ea914.entry.js.map} +0 -0
  506. /package/www/build/{p-17a9c2b3.entry.js.map → p-418a7ee5.entry.js.map} +0 -0
  507. /package/www/build/{p-a1db3939.entry.js.map → p-4730e9a5.entry.js.map} +0 -0
  508. /package/www/build/{p-315ac39c.entry.js.map → p-474493cc.entry.js.map} +0 -0
  509. /package/www/build/{p-723c700f.entry.js.map → p-4954dd38.entry.js.map} +0 -0
  510. /package/www/build/{p-9f0e91f5.entry.js.map → p-4c1b6c40.entry.js.map} +0 -0
  511. /package/www/build/{p-0de3e2fa.entry.js.map → p-55468801.entry.js.map} +0 -0
  512. /package/www/build/{p-44410388.entry.js.map → p-55f6d3fe.entry.js.map} +0 -0
  513. /package/www/build/{p-eb5e4333.entry.js.map → p-6a952697.entry.js.map} +0 -0
  514. /package/www/build/{p-2b05eaef.entry.js.map → p-6c5937db.entry.js.map} +0 -0
  515. /package/www/build/{p-ee711acf.entry.js.map → p-6f58880c.entry.js.map} +0 -0
  516. /package/www/build/{p-50a09bf1.entry.js.map → p-7056f90f.entry.js.map} +0 -0
  517. /package/www/build/{p-ace68b04.entry.js.map → p-70fe7ed8.entry.js.map} +0 -0
  518. /package/www/build/{p-440e5b62.entry.js.map → p-71ddff9a.entry.js.map} +0 -0
  519. /package/www/build/{p-acba8f34.entry.js.map → p-86d3a3da.entry.js.map} +0 -0
  520. /package/www/build/{p-8046cab0.entry.js.map → p-88e3fb55.entry.js.map} +0 -0
  521. /package/www/build/{p-a6f29ff5.entry.js.map → p-89e96cde.entry.js.map} +0 -0
  522. /package/www/build/{p-54f98f8e.entry.js.map → p-8a545910.entry.js.map} +0 -0
  523. /package/www/build/{p-7fff6cfd.entry.js.map → p-927d50ea.entry.js.map} +0 -0
  524. /package/www/build/{p-bff500a3.entry.js.map → p-95c2e9b0.entry.js.map} +0 -0
  525. /package/www/build/{p-7313202f.entry.js.map → p-9b1deaa1.entry.js.map} +0 -0
  526. /package/www/build/{p-82e04f79.entry.js.map → p-a0a84d24.entry.js.map} +0 -0
  527. /package/www/build/{p-af8fec68.entry.js.map → p-a238a3d0.entry.js.map} +0 -0
  528. /package/www/build/{p-82c43c62.entry.js.map → p-b38cacf2.entry.js.map} +0 -0
  529. /package/www/build/{p-b4140668.entry.js.map → p-b565bff1.entry.js.map} +0 -0
  530. /package/www/build/{p-87a5a352.entry.js.map → p-c5b3368c.entry.js.map} +0 -0
  531. /package/www/build/{p-35653b5e.entry.js.map → p-c64a8fd8.entry.js.map} +0 -0
  532. /package/www/build/{p-960cd1d9.entry.js.map → p-c7046a20.entry.js.map} +0 -0
  533. /package/www/build/{p-ae8d5494.entry.js.map → p-c7d65071.entry.js.map} +0 -0
  534. /package/www/build/{p-8b1f745c.entry.js.map → p-ccdfec00.entry.js.map} +0 -0
  535. /package/www/build/{p-73ed9922.entry.js.map → p-d15e7b4f.entry.js.map} +0 -0
  536. /package/www/build/{p-e87e13b0.entry.js.map → p-d866a2e1.entry.js.map} +0 -0
  537. /package/www/build/{p-8bd0e3e2.entry.js.map → p-db1fa456.entry.js.map} +0 -0
  538. /package/www/build/{p-e9212c7a.entry.js.map → p-dc26eb78.entry.js.map} +0 -0
  539. /package/www/build/{p-0eb833b6.entry.js.map → p-e5736b1f.entry.js.map} +0 -0
  540. /package/www/build/{p-286690fd.entry.js.map → p-e8eb3bc5.entry.js.map} +0 -0
  541. /package/www/build/{p-fa4e8b1b.entry.js.map → p-edbedacb.entry.js.map} +0 -0
  542. /package/www/build/{p-643aaedc.entry.js.map → p-f0557dd9.entry.js.map} +0 -0
  543. /package/www/build/{p-5ba350d8.entry.js.map → p-f4b9e6f4.entry.js.map} +0 -0
  544. /package/www/build/{p-40694478.entry.js.map → p-f9e5a0aa.entry.js.map} +0 -0
  545. /package/www/build/{p-235a1c1d.entry.js.map → p-fb8a0bda.entry.js.map} +0 -0
  546. /package/www/build/{p-508eb530.entry.js.map → p-ff89690a.entry.js.map} +0 -0
@@ -41,18 +41,18 @@ export class ZTable {
41
41
  (_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '0a7e7725b1eb5387ae1a513430849d3daf02e5e0', expandable: this.expandable }, h("div", { key: '9d905726ce93637a2d0eb9bf8022a9f034b8338f', class: "table", role: "table" }, h("slot", { key: '447fa001867961ce18907fb89068597bb1a3f20b' }))));
44
+ return (h(Host, { key: 'e6312c6e3bc53f74407f70eca34f9d0ede44b40d', expandable: this.expandable }, h("div", { key: 'e1009eab29f0b6a02533ee7b542095f6cd83e1a0', class: "table", role: "table" }, h("slot", { key: '6f3dbd3fdf96dec314a441c046333c1ab9f67cc1' }))));
45
45
  }
46
46
  static get is() { return "z-table"; }
47
47
  static get encapsulation() { return "shadow"; }
48
48
  static get originalStyleUrls() {
49
49
  return {
50
- "$": ["styles.css"]
50
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
51
51
  };
52
52
  }
53
53
  static get styleUrls() {
54
54
  return {
55
- "$": ["styles.css"]
55
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
56
56
  };
57
57
  }
58
58
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC3F,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AAEvB;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAwCpB;IAtCS,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC9E,CAAC;IAID;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YAC1D,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,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;IACL,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;IAChD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO;gBAEZ,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, 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 */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\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"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC3F,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AAEvB;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAwCpB;IAtCS,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC9E,CAAC;IAID;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YAC1D,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,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;IACL,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;IAChD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO;gBAEZ,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, 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 */\n@Component({\n tag: \"z-table\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\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"]}
@@ -2,7 +2,6 @@
2
2
  /**
3
3
  * @prop --z-table--cells-padding: Padding of the cells.
4
4
  */
5
- --z-table--cells-padding: calc(var(--space-unit) * 2);
6
5
 
7
6
  position: relative;
8
7
  display: block;
@@ -11,13 +10,8 @@
11
10
  max-width: 100%;
12
11
  box-sizing: border-box;
13
12
  padding: var(--space-unit);
14
- background-color: var(--color-surface01);
15
13
  }
16
14
 
17
15
  :host([expandable]) {
18
16
  --z-table--expand-button-size: 40px;
19
17
  }
20
-
21
- :host([bordered]) {
22
- --z-table--cell-left-border: 1px solid var(--color-surface03);
23
- }
@@ -5,18 +5,18 @@ import { Host, h } from "@stencil/core";
5
5
  */
6
6
  export class ZTbody {
7
7
  render() {
8
- return (h(Host, { key: '9ffbee51d10b3318d8044e8f4f45beff637ce8a3', role: "rowgroup" }, h("slot", { key: '5143bbe7239e2804d24e634dba17e60060d1c6d0' })));
8
+ return (h(Host, { key: 'ff5da26d4d754ab4da901422be45d9cd546807b9', role: "rowgroup" }, h("slot", { key: 'fe0a17ad217ca1eb372f9f176df75534a3971aa9' })));
9
9
  }
10
10
  static get is() { return "z-tbody"; }
11
11
  static get encapsulation() { return "shadow"; }
12
12
  static get originalStyleUrls() {
13
13
  return {
14
- "$": ["styles.css"]
14
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
15
15
  };
16
16
  }
17
17
  static get styleUrls() {
18
18
  return {
19
- "$": ["styles.css"]
19
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
20
20
  };
21
21
  }
22
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tbody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAErE;;;GAGG;AAMH,MAAM,OAAO,MAAM;IACjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU;YACnB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tbody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAErE;;;GAGG;AAMH,MAAM,OAAO,MAAM;IACjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU;YACnB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -11,18 +11,18 @@ export class ZTfoot {
11
11
  this.sticky = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'e200294dd24c6a58722245df0b90b8b562fd7293', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '0db022a1de8dcbe5457598ab55aacd7b07b9dcb4' })));
14
+ return (h(Host, { key: 'cdd4d2841caada167b8818ff534744445e0d8979', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '5cf911121ea09dcc13744e9d1d730be92f20cbf4' })));
15
15
  }
16
16
  static get is() { return "z-tfoot"; }
17
17
  static get encapsulation() { return "shadow"; }
18
18
  static get originalStyleUrls() {
19
19
  return {
20
- "$": ["styles.css"]
20
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
21
21
  };
22
22
  }
23
23
  static get styleUrls() {
24
24
  return {
25
- "$": ["styles.css"]
25
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
26
26
  };
27
27
  }
28
28
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tfoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE3E;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAME;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;KAYhB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, 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 implements ComponentInterface {\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\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tfoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE3E;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAME;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;KAYhB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, 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 styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTfoot implements ComponentInterface {\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\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -1,8 +1,7 @@
1
1
  :host {
2
2
  display: block;
3
3
  box-sizing: border-box;
4
- border-top: 1px solid var(--color-surface03);
5
- border-bottom: 1px solid var(--color-surface03);
4
+ margin-top: -1px;
6
5
  }
7
6
 
8
7
  :host([sticky]) {
@@ -15,18 +15,18 @@ export class ZThead {
15
15
  this.isFocusable = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'c32f2b2d2921e034d18d3b7121f59ee7b3b7b398', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'f74ef0383c4111415134df8ae1492fda11da8568' })));
18
+ return (h(Host, { key: '0e43e10373817b9ee5e4f1574fb0d46b232c510d', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'aefd2ed2698efb7deabd11284f3d6cae95800e50' })));
19
19
  }
20
20
  static get is() { return "z-thead"; }
21
21
  static get encapsulation() { return "shadow"; }
22
22
  static get originalStyleUrls() {
23
23
  return {
24
- "$": ["styles.css"]
24
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
25
25
  };
26
26
  }
27
27
  static get styleUrls() {
28
28
  return {
29
- "$": ["styles.css"]
29
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
30
30
  };
31
31
  }
32
32
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEpF;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;WAEG;QAEH,gBAAW,GAAG,KAAK,CAAC;KAYrB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnC,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEpF;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;WAEG;QAEH,gBAAW,GAAG,KAAK,CAAC;KAYrB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnC,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -1,8 +1,4 @@
1
1
  :host {
2
- --z-table--cells-bottom-border-size: var(
3
- --border-size-medium
4
- ); /* Needed to handle the border of the expand button cell */
5
-
6
2
  --z-table--cells-background: var(
7
3
  --color-background
8
4
  ); /* Needed to handle the background-color of the expand button cell */
@@ -27,16 +27,13 @@ export class ZTr {
27
27
  }
28
28
  updateColumns() {
29
29
  const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
30
- if (this.expandable) {
31
- cells.pop();
32
- }
33
- const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
34
- this.host.style.setProperty("--columns", `${columns}`);
35
30
  if (this.expandable) {
36
31
  const expandableContent = cells.pop();
37
32
  expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
38
33
  this.expandableContentId = expandableContent.id;
39
34
  }
35
+ const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
36
+ this.host.style.setProperty("--columns", `${columns}`);
40
37
  }
41
38
  /**
42
39
  * Handle click on row.
@@ -68,18 +65,18 @@ export class ZTr {
68
65
  this.updateColumns();
69
66
  }
70
67
  render() {
71
- return (h(Host, { key: '92be779ec3e863cc85336fcedb02f718fa3a19fa', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '720c8209c21104e78129cbd76c12a6cdf8806ca2', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '3bb4f4d2e5ae60da5c105d1c8a99d6ff0fa59302', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'd27d18c1a4515ac055ce7db13ec3efdfc7d0314d', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: '9fd14fcab4ea512b42c63928c3e2dabb83fd1da3', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'c5fcb7a2f92eb8401c4d27d28e5b68a5001616b7', onSlotchange: this.updateColumns.bind(this) })));
68
+ return (h(Host, { key: 'ffd8e071015ace61e51c603988d84dae42a047bb', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '49539d360bab6d865958910fd21f5c407fc0a16b', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '94c5f36a5f220a7403d0c6057faf41cf0509f68e', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'ee46bd7dd59d27c6be18716fc3a46092cdac5eb6', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'ce6fc941625f48f13edc7df3a43da159cf6f064d', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: 'c41ca74f6026dda7813605940e6910a56cd576fb', onSlotchange: this.updateColumns.bind(this) })));
72
69
  }
73
70
  static get is() { return "z-tr"; }
74
71
  static get encapsulation() { return "shadow"; }
75
72
  static get originalStyleUrls() {
76
73
  return {
77
- "$": ["styles.css"]
74
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
78
75
  };
79
76
  }
80
77
  static get styleUrls() {
81
78
  return {
82
- "$": ["styles.css"]
79
+ "$": ["styles.css", "../../css-components/z-table/styles.css"]
83
80
  };
84
81
  }
85
82
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tr/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAE7B;;;;;GAKG;AAMH,MAAM,OAAO,GAAG;IALhB;QAQE;;;;;;;;WAQG;QAEH,eAAU,GAAG,KAAK,CAAC;QAEnB;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;KAgGlB;IAjFW,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,CAAC;YACpB,KAAK,CAAC,GAAG,EAAE,CAAC;QACd,CAAC;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,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,CAAC;YACpB,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;QAClD,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,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,CAAC;YACtC,OAAO;QACT,CAAC;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;IAC9C,CAAC;IAEO,SAAS,CAAC,KAAoB;QACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,OAAO;QACT,CAAC;QAED,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC;QACtC,IAAI,MAAM,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;YACzB,OAAO;QACT,CAAC;QAED,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;YAC/C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAEpC,4DACE,KAAK,EAAC,qBAAqB,iBACf,MAAM,GACb;YACP,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,IAAI,CAClB,+DACE,QAAQ,EAAE,CAAC,CAAC,mBACG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,gBACnC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ;gBAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,GAAW,CAClE,CACV,CACG;YACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} 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 implements ComponentInterface {\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 private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={this.expandable ? 0 : undefined}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\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"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/z-tr/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAE7B;;;;;GAKG;AAMH,MAAM,OAAO,GAAG;IALhB;QAQE;;;;;;;;WAQG;QAEH,eAAU,GAAG,KAAK,CAAC;QAEnB;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;KA6FlB;IA9EW,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QAEpG,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,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;QAClD,CAAC;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACK,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,CAAC;YACtC,OAAO;QACT,CAAC;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;IAC9C,CAAC;IAEO,SAAS,CAAC,KAAoB;QACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,OAAO;QACT,CAAC;QAED,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC;QACtC,IAAI,MAAM,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;YACzB,OAAO;QACT,CAAC;QAED,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;YAC/C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAEpC,4DACE,KAAK,EAAC,qBAAqB,iBACf,MAAM,GACb;YACP,4DAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,IAAI,CAClB,+DACE,QAAQ,EAAE,CAAC,CAAC,mBACG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,gBACnC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ;gBAEb,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,GAAW,CAClE,CACV,CACG;YACN,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} 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 styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTr implements ComponentInterface {\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\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 const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\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 private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={this.expandable ? 0 : undefined}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\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"]}
@@ -13,15 +13,6 @@
13
13
  box-sizing: border-box;
14
14
  }
15
15
 
16
- .z-tr--expand-button-container,
17
- ::slotted(*) {
18
- border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);
19
- }
20
-
21
- ::slotted(*:not(:last-child)) {
22
- border-right: var(--z-table--cell-left-border, none);
23
- }
24
-
25
16
  :host([expandable]) {
26
17
  --show-expandable-button: visible;
27
18
 
@@ -37,6 +28,7 @@
37
28
  }
38
29
 
39
30
  :host([expandable]) ::slotted(*:last-child) {
31
+ border-top: var(--border-size-small) solid var(--color-surface03);
40
32
  border-left: 0;
41
33
  grid-column: 1 / span calc(var(--columns) + 1);
42
34
  grid-row: 2;
@@ -53,19 +45,25 @@
53
45
 
54
46
  :host([expanded]) .z-tr--expand-button-container,
55
47
  :host([expanded]) ::slotted(*) {
48
+ border-left: 0 !important;
56
49
  background-color: var(--color-background);
57
50
  }
58
51
 
59
- :host(:hover):has([tabIndex]) ::slotted(z-td),
60
- :host(:hover):has([tabIndex]) ::slotted(z-th) {
52
+ :host([tabIndex]:hover) ::slotted(z-td),
53
+ :host([tabIndex]:hover) ::slotted(z-th),
54
+ :host([tabIndex]:hover) .z-tr--expand-button-container {
55
+ background-color: var(--color-surface02);
56
+ }
57
+
58
+ :host([tabIndex]:hover) .z-tr--focus-overlay {
61
59
  border-top: var(--border-size-small) solid var(--color-surface04);
62
60
  border-bottom: var(--border-size-small) solid var(--color-surface04);
63
- background-color: var(--color-surface02);
64
61
  }
65
62
 
66
63
  :host(:focus) {
67
64
  position: relative;
68
65
  z-index: 20;
66
+ border: none !important;
69
67
  box-shadow: var(--shadow-focus-primary);
70
68
  outline: none;
71
69
  }
@@ -98,12 +96,12 @@
98
96
  .z-tr--focus-overlay {
99
97
  position: absolute;
100
98
  z-index: 30;
101
- right: 0;
99
+ top: calc(var(--border-size-small) * -1);
100
+ bottom: 0;
102
101
  left: 0;
103
102
  width: 100%;
104
- border-radius: 4px;
103
+ height: calc(100% + (var(--border-size-small) * 2));
105
104
  box-shadow: none;
106
- inset: 0;
107
105
  outline: none;
108
106
  pointer-events: none;
109
107
  transition: box-shadow 0.2s;
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as a,Host as s,transformTag as i}from"@stencil/core/internal/client";import"./index2.js";import"./breakpoints.js";import"./iconset.js";import"./index17.js";const o=()=>`:host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit);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)}`;const r=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.bordered=false;this.expandable=false}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()}));this.expandableMutationObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["expandable"],attributeOldValue:false})}disconnectedCallback(){var e;(e=this.expandableMutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){return a(s,{key:"0a7e7725b1eb5387ae1a513430849d3daf02e5e0",expandable:this.expandable},a("div",{key:"9d905726ce93637a2d0eb9bf8022a9f034b8338f",class:"table",role:"table"},a("slot",{key:"447fa001867961ce18907fb89068597bb1a3f20b"})))}get host(){return this}static get style(){return o()}},[257,"z-table",{bordered:[516],expandable:[32]}]);function l(){if(typeof customElements==="undefined"){return}const e=["z-table"];e.forEach((e=>{switch(e){case"z-table":if(!customElements.get(i(e))){customElements.define(i(e),r)}break}}))}const n=r;const c=l;export{n as ZTable,c as defineCustomElement};
1
+ import{proxyCustomElement as t,HTMLElement as e,h as r,Host as o,transformTag as a}from"@stencil/core/internal/client";import"./index2.js";import"./breakpoints.js";import"./iconset.js";import"./index17.js";const l=()=>`:host{position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit)}:host([expandable]){--z-table--expand-button-size:40px}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const s=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.bordered=false;this.expandable=false}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()}));this.expandableMutationObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["expandable"],attributeOldValue:false})}disconnectedCallback(){var t;(t=this.expandableMutationObserver)===null||t===void 0?void 0:t.disconnect()}render(){return r(o,{key:"e6312c6e3bc53f74407f70eca34f9d0ede44b40d",expandable:this.expandable},r("div",{key:"e1009eab29f0b6a02533ee7b542095f6cd83e1a0",class:"table",role:"table"},r("slot",{key:"6f3dbd3fdf96dec314a441c046333c1ab9f67cc1"})))}get host(){return this}static get style(){return l()+b()}},[257,"z-table",{bordered:[516],expandable:[32]}]);function i(){if(typeof customElements==="undefined"){return}const t=["z-table"];t.forEach((t=>{switch(t){case"z-table":if(!customElements.get(a(t))){customElements.define(a(t),s)}break}}))}const d=s;const c=i;export{d as ZTable,c as defineCustomElement};
2
2
  //# sourceMappingURL=z-table.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["stylesCss","ZTable","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","bordered","expandable","updateExpandable","host","querySelectorAll","length","componentWillLoad","expandableMutationObserver","MutationObserver","observe","childList","subtree","attributes","attributeFilter","attributeOldValue","disconnectedCallback","_a","disconnect","render","h","Host","key","class","role"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-table--cells-padding: Padding of the cells.\n */\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n min-width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n padding: var(--space-unit);\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, ComponentInterface, 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 */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\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"],"mappings":"8MAAA,MAAMA,EAAY,IAAM,+W,MCeXC,EAAMC,EAAA,MAAAD,UAAAE,EALnB,WAAAC,CAAAC,G,kEAYEC,KAAAC,SAAW,MAMXD,KAAAE,WAAa,KAwCd,CAtCS,gBAAAC,GACNH,KAAKE,WAAaF,KAAKI,KAAKC,iBAAiB,oBAAoBC,OAAS,C,CAQ5E,iBAAAC,GACEP,KAAKQ,2BAA6B,IAAIC,kBAAiB,KACrDT,KAAKG,kBAAkB,IAEzBH,KAAKQ,2BAA2BE,QAAQV,KAAKI,KAAM,CACjDO,UAAW,KACXC,QAAS,KACTC,WAAY,KACZC,gBAAiB,CAAC,cAClBC,kBAAmB,O,CAIvB,oBAAAC,G,OACEC,EAAAjB,KAAKQ,8BAA0B,MAAAS,SAAA,SAAAA,EAAEC,Y,CAGnC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACpB,WAAYF,KAAKE,YACrBkB,EAAA,OAAAE,IAAA,2CACEC,MAAM,QACNC,KAAK,SAELJ,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
1
+ {"version":3,"names":["stylesCss","ZTable","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","bordered","expandable","updateExpandable","host","querySelectorAll","length","componentWillLoad","expandableMutationObserver","MutationObserver","observe","childList","subtree","attributes","attributeFilter","attributeOldValue","disconnectedCallback","_a","disconnect","render","h","Host","key","class","role"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n /**\n * @prop --z-table--cells-padding: Padding of the cells.\n */\n\n position: relative;\n display: block;\n overflow: auto;\n min-width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n padding: var(--space-unit);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 */\n@Component({\n tag: \"z-table\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\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"],"mappings":"8MAAA,MAAMA,EAAY,IAAM,mMCAxB,MAAMA,EAAY,IAAM,6sD,MCeXC,EAAMC,EAAA,MAAAD,UAAAE,EALnB,WAAAC,CAAAC,G,kEAYEC,KAAAC,SAAW,MAMXD,KAAAE,WAAa,KAwCd,CAtCS,gBAAAC,GACNH,KAAKE,WAAaF,KAAKI,KAAKC,iBAAiB,oBAAoBC,OAAS,C,CAQ5E,iBAAAC,GACEP,KAAKQ,2BAA6B,IAAIC,kBAAiB,KACrDT,KAAKG,kBAAkB,IAEzBH,KAAKQ,2BAA2BE,QAAQV,KAAKI,KAAM,CACjDO,UAAW,KACXC,QAAS,KACTC,WAAY,KACZC,gBAAiB,CAAC,cAClBC,kBAAmB,O,CAIvB,oBAAAC,G,OACEC,EAAAjB,KAAKQ,8BAA0B,MAAAS,SAAA,SAAAA,EAAEC,Y,CAGnC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACpB,WAAYF,KAAKE,YACrBkB,EAAA,OAAAE,IAAA,2CACEC,MAAM,QACNC,KAAK,SAELJ,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";const r=()=>`:host{display:block;box-sizing:border-box}`;const c=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}render(){return o(s,{key:"9ffbee51d10b3318d8044e8f4f45beff637ce8a3",role:"rowgroup"},o("slot",{key:"5143bbe7239e2804d24e634dba17e60060d1c6d0"}))}static get style(){return r()}},[257,"z-tbody"]);function i(){if(typeof customElements==="undefined"){return}const e=["z-tbody"];e.forEach((e=>{switch(e){case"z-tbody":if(!customElements.get(n(e))){customElements.define(n(e),c)}break}}))}const d=c;const b=i;export{d as ZTbody,b as defineCustomElement};
1
+ import{proxyCustomElement as t,HTMLElement as e,h as r,Host as o,transformTag as a}from"@stencil/core/internal/client";const l=()=>`:host{display:block;box-sizing:border-box}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const d=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}render(){return r(o,{key:"ff5da26d4d754ab4da901422be45d9cd546807b9",role:"rowgroup"},r("slot",{key:"fe0a17ad217ca1eb372f9f176df75534a3971aa9"}))}static get style(){return l()+b()}},[257,"z-tbody"]);function s(){if(typeof customElements==="undefined"){return}const t=["z-tbody"];t.forEach((t=>{switch(t){case"z-tbody":if(!customElements.get(a(t))){customElements.define(a(t),d)}break}}))}const c=d;const i=s;export{c as ZTbody,i as defineCustomElement};
2
2
  //# sourceMappingURL=z-tbody.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["stylesCss","ZTbody","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key","role"],"sources":["src/components/table/z-tbody/styles.css?tag=z-tbody&encapsulation=shadow","src/components/table/z-tbody/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"uHAAA,MAAMA,EAAY,IAAM,6C,MCWXC,EAAMC,EAAA,MAAAD,UAAAE,E,iFACjB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
1
+ {"version":3,"names":["stylesCss","ZTbody","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key","role"],"sources":["src/components/table/z-tbody/styles.css?tag=z-tbody&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-tbody&encapsulation=shadow","src/components/table/z-tbody/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"uHAAA,MAAMA,EAAY,IAAM,6CCAxB,MAAMA,EAAY,IAAM,6sD,MCWXC,EAAMC,EAAA,MAAAD,UAAAE,E,iFACjB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as n,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{P as a,e as c,B as l}from"./index2.js";import{d as r}from"./index5.js";import{d as p}from"./index3.js";import{d as h}from"./index17.js";const d=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;padding:calc(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}}`;const u=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.colspanChange=n(this,"colspanChange",6);this.sticky=false;this.showMenu=null;this.popoverPosition=a.AUTO;this.isMenuOpen=false}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}this.colspanChange.emit(this.colspan||1)}onMenuButtonClick(e){e.stopPropagation();this.popoverEl.open=!this.popoverEl.open}componentWillLoad(){this.updateColspan()}render(){return o(s,{key:"1058d07bd54d368be4c3ac73bbcb44efd8a1705b",role:"cell","menu-open":this.isMenuOpen},o("div",{key:"3cd22ea20154c545d48ed73063feb9b1534df313",class:"cell--content"},o("slot",{key:"6b14788ea5f25d84609bb9e5e60aa450507a44e6"}),this.showMenu&&o("div",{key:"a35b449393363b0c36cb9baf93e930eb832eb7ec",class:"cell--menu-container prevent-expand"},o("z-button",{key:"ff31b6ad5a6c104f9c6e9ef565119d5f81d3f91a",variant:l.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),o("z-popover",{key:"919445e5e5d477795a6e21fa7d69c1974da6b05e",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},o("slot",{key:"637935f871e288248376025f899d2c2490dead9c",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return d()}},[257,"z-td",{colspan:[2],sticky:[516],showMenu:[513,"show-menu"],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function m(){if(typeof customElements==="undefined"){return}const e=["z-td","z-button","z-icon","z-popover"];e.forEach((e=>{switch(e){case"z-td":if(!customElements.get(i(e))){customElements.define(i(e),u)}break;case"z-button":if(!customElements.get(i(e))){r()}break;case"z-icon":if(!customElements.get(i(e))){p()}break;case"z-popover":if(!customElements.get(i(e))){h()}break}}))}const f=u;const b=m;export{f as ZTd,b as defineCustomElement};
1
+ import{proxyCustomElement as e,HTMLElement as t,createEvent as o,h as a,Host as r,transformTag as l}from"@stencil/core/internal/client";import{P as s,e as n,B as i}from"./index2.js";import{d as c}from"./index5.js";import{d}from"./index3.js";import{d as b}from"./index17.js";const h=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;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}}`;const f=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const p=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.colspanChange=o(this,"colspanChange",6);this.sticky=false;this.showMenu=null;this.popoverPosition=s.AUTO;this.isMenuOpen=false}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}this.colspanChange.emit(this.colspan||1)}onMenuButtonClick(e){e.stopPropagation();this.popoverEl.open=!this.popoverEl.open}componentWillLoad(){this.updateColspan()}render(){return a(r,{key:"2c3552c5c30611595ac619e6ca3a1e93b3d37366",role:"cell","menu-open":this.isMenuOpen},a("div",{key:"d13012a1f16aaa6ab44b4eea1dafa63cf1ebbd3a",class:"cell--content"},a("slot",{key:"b4571116c24bb99dc6ec76486fc948da89a5393b"}),this.showMenu&&a("div",{key:"6ebd3bfc1fcf8dce3afb91931309c4644efc2e49",class:"cell--menu-container prevent-expand"},a("z-button",{key:"3d01c8956127276eb765c3a9f4aabb4ed710b404",variant:i.TERTIARY,icon:"contextual-menu",size:n.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),a("z-popover",{key:"d04c06677e2e8efb5d80bfbfd7cc91c9cbff7231",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},a("slot",{key:"c389c6fdf131aeef86eae687df9c2f7fb6fbc3be",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return h()+f()}},[257,"z-td",{colspan:[2],sticky:[516],showMenu:[513,"show-menu"],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function u(){if(typeof customElements==="undefined"){return}const e=["z-td","z-button","z-icon","z-popover"];e.forEach((e=>{switch(e){case"z-td":if(!customElements.get(l(e))){customElements.define(l(e),p)}break;case"z-button":if(!customElements.get(l(e))){c()}break;case"z-icon":if(!customElements.get(l(e))){d()}break;case"z-popover":if(!customElements.get(l(e))){b()}break}}))}const m=p;const z=u;export{m as ZTd,z as defineCustomElement};
2
2
  //# sourceMappingURL=z-td.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["zTableCellsCss","ZTd","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","sticky","showMenu","popoverPosition","PopoverPosition","AUTO","isMenuOpen","updateColspan","colspan","host","style","gridColumn","removeProperty","colspanChange","emit","onMenuButtonClick","ev","stopPropagation","popoverEl","open","componentWillLoad","render","h","Host","key","role","class","variant","ButtonVariant","TERTIARY","icon","size","ControlSize","X_SMALL","ref","el","menuTrigger","onClick","bind","bindTo","onOpenChange","event","detail","position","name"],"sources":["src/components/table/cells/z-table-cells.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n max-width: 100%;\n align-items: center;\n padding: calc(var(--z-table--cells-padding, calc(var(--space-unit) * 2)));\n background-color: var(--color-surface01);\n gap: calc(var(--space-unit) * 2) var(--space-unit);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n top: 0;\n left: 0;\n box-shadow: 8px 0 16px -8px var(--shadow-color-base);\n}\n\n:host([menu-open]) {\n z-index: 2;\n}\n\n.cell--content {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n}\n\n:host([show-menu]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.cell--menu-container {\n margin-left: auto;\n}\n\n:host(:not([show-menu])) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n}\n\n:host(:is([show-menu], [menu-open])) .cell--menu-container,\n:host([show-menu]) .cell--menu-container:focus-within {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n}\n\n:host .cell-popover {\n z-index: 100;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-menu=\"hover\"]) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-menu=\"hover\"]:hover) .cell--menu-container {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n }\n}\n","import {Component, ComponentInterface, 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: \"../z-table-cells.css\",\n shadow: true,\n})\nexport class ZTd implements ComponentInterface {\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"],"mappings":"uRAAA,MAAMA,EAAiB,IAAM,8hC,MCYhBC,EAAGC,EAAA,MAAAD,UAAAE,EALhB,WAAAC,CAAAC,G,+GAkBEC,KAAAC,OAAS,MAQTD,KAAAE,SAAgC,KAMhCF,KAAAG,gBAAoCC,EAAgBC,KAMpDL,KAAAM,WAAa,KAmEd,CAnDW,aAAAC,GACR,GAAIP,KAAKQ,QAAS,CAChBR,KAAKS,KAAKC,MAAMC,WAAa,QAAQX,KAAKQ,S,KACrC,CACLR,KAAKS,KAAKC,MAAME,eAAe,c,CAGjCZ,KAAKa,cAAcC,KAAKd,KAAKQ,SAAW,E,CAGlC,iBAAAO,CAAkBC,GACxBA,EAAGC,kBACHjB,KAAKkB,UAAUC,MAAQnB,KAAKkB,UAAUC,I,CAGxC,iBAAAC,GACEpB,KAAKO,e,CAGP,MAAAc,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,OAAM,YACAzB,KAAKM,YAEhBgB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,iBACTJ,EAAA,QAAAE,IAAA,6CACCxB,KAAKE,UACJoB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,uCACTJ,EAAA,YAAAE,IAAA,2CACEG,QAASC,EAAcC,SACvBC,KAAK,kBACLC,KAAMC,EAAYC,QAClBC,IAAMC,GAAQnC,KAAKoC,YAAcD,EACjCE,QAASrC,KAAKe,kBAAkBuB,KAAKtC,QAEvCsB,EAAA,aAAAE,IAAA,2CACEE,MAAM,eACNQ,IAAMC,GAAQnC,KAAKkB,UAAYiB,EAC/BI,OAAQvC,KAAKoC,YACbI,aAAeC,GAAWzC,KAAKM,WAAamC,EAAMC,OAAOvB,KACzDwB,SAAU3C,KAAKG,iBAEfmB,EAAA,QAAAE,IAAA,2CAAMoB,KAAK,uB","ignoreList":[]}
1
+ {"version":3,"names":["zTableCellsCss","stylesCss","ZTd","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","sticky","showMenu","popoverPosition","PopoverPosition","AUTO","isMenuOpen","updateColspan","colspan","host","style","gridColumn","removeProperty","colspanChange","emit","onMenuButtonClick","ev","stopPropagation","popoverEl","open","componentWillLoad","render","h","Host","key","role","class","variant","ButtonVariant","TERTIARY","icon","size","ControlSize","X_SMALL","ref","el","menuTrigger","onClick","bind","bindTo","onOpenChange","event","detail","position","name"],"sources":["src/components/table/cells/z-table-cells.css?tag=z-td&encapsulation=shadow","src/components/css-components/z-table/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n max-width: 100%;\n align-items: center;\n background-color: var(--color-surface01);\n gap: calc(var(--space-unit) * 2) var(--space-unit);\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n top: 0;\n left: 0;\n box-shadow: 8px 0 16px -8px var(--shadow-color-base);\n}\n\n:host([menu-open]) {\n z-index: 2;\n}\n\n.cell--content {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n}\n\n:host([show-menu]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.cell--menu-container {\n margin-left: auto;\n}\n\n:host(:not([show-menu])) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n}\n\n:host(:is([show-menu], [menu-open])) .cell--menu-container,\n:host([show-menu]) .cell--menu-container:focus-within {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n}\n\n:host .cell-popover {\n z-index: 100;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-menu=\"hover\"]) .cell--menu-container {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-menu=\"hover\"]:hover) .cell--menu-container {\n z-index: 1;\n opacity: 1;\n pointer-events: all;\n }\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 styleUrls: [\"../z-table-cells.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTd implements ComponentInterface {\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"],"mappings":"kRAAA,MAAMA,EAAiB,IAAM,q9BCA7B,MAAMC,EAAY,IAAM,6sD,MCYXC,EAAGC,EAAA,MAAAD,UAAAE,EALhB,WAAAC,CAAAC,G,+GAkBEC,KAAAC,OAAS,MAQTD,KAAAE,SAAgC,KAMhCF,KAAAG,gBAAoCC,EAAgBC,KAMpDL,KAAAM,WAAa,KAmEd,CAnDW,aAAAC,GACR,GAAIP,KAAKQ,QAAS,CAChBR,KAAKS,KAAKC,MAAMC,WAAa,QAAQX,KAAKQ,S,KACrC,CACLR,KAAKS,KAAKC,MAAME,eAAe,c,CAGjCZ,KAAKa,cAAcC,KAAKd,KAAKQ,SAAW,E,CAGlC,iBAAAO,CAAkBC,GACxBA,EAAGC,kBACHjB,KAAKkB,UAAUC,MAAQnB,KAAKkB,UAAUC,I,CAGxC,iBAAAC,GACEpB,KAAKO,e,CAGP,MAAAc,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,OAAM,YACAzB,KAAKM,YAEhBgB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,iBACTJ,EAAA,QAAAE,IAAA,6CACCxB,KAAKE,UACJoB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,uCACTJ,EAAA,YAAAE,IAAA,2CACEG,QAASC,EAAcC,SACvBC,KAAK,kBACLC,KAAMC,EAAYC,QAClBC,IAAMC,GAAQnC,KAAKoC,YAAcD,EACjCE,QAASrC,KAAKe,kBAAkBuB,KAAKtC,QAEvCsB,EAAA,aAAAE,IAAA,2CACEE,MAAM,eACNQ,IAAMC,GAAQnC,KAAKkB,UAAYiB,EAC/BI,OAAQvC,KAAKoC,YACbI,aAAeC,GAAWzC,KAAKM,WAAamC,EAAMC,OAAOvB,KACzDwB,SAAU3C,KAAKG,iBAEfmB,EAAA,QAAAE,IAAA,2CAAMoB,KAAK,uB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as o,HTMLElement as t,h as e,Host as s,transformTag as r}from"@stencil/core/internal/client";const c=()=>`:host{display:block;box-sizing:border-box;border-top:1px solid var(--color-surface03);border-bottom:1px solid var(--color-surface03)}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}`;const n=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.__attachShadow();this.sticky=false}render(){return e(s,{key:"e200294dd24c6a58722245df0b90b8b562fd7293",role:"rowgroup",tabIndex:-1},e("slot",{key:"0db022a1de8dcbe5457598ab55aacd7b07b9dcb4"}))}static get style(){return c()}},[257,"z-tfoot",{sticky:[516]}]);function i(){if(typeof customElements==="undefined"){return}const o=["z-tfoot"];o.forEach((o=>{switch(o){case"z-tfoot":if(!customElements.get(r(o))){customElements.define(r(o),n)}break}}))}const d=n;const a=i;export{d as ZTfoot,a as defineCustomElement};
1
+ import{proxyCustomElement as t,HTMLElement as e,h as o,Host as r,transformTag as a}from"@stencil/core/internal/client";const l=()=>`:host{display:block;box-sizing:border-box;margin-top:-1px}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const c=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sticky=false}render(){return o(r,{key:"cdd4d2841caada167b8818ff534744445e0d8979",role:"rowgroup",tabIndex:-1},o("slot",{key:"5cf911121ea09dcc13744e9d1d730be92f20cbf4"}))}static get style(){return l()+b()}},[257,"z-tfoot",{sticky:[516]}]);function s(){if(typeof customElements==="undefined"){return}const t=["z-tfoot"];t.forEach((t=>{switch(t){case"z-tfoot":if(!customElements.get(a(t))){customElements.define(a(t),c)}break}}))}const d=c;const i=s;export{d as ZTfoot,i as defineCustomElement};
2
2
  //# sourceMappingURL=z-tfoot.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["stylesCss","ZTfoot","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","sticky","render","h","Host","key","role","tabIndex"],"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, ComponentInterface, 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 implements ComponentInterface {\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\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"uHAAA,MAAMA,EAAY,IAAM,mO,MCWXC,EAAMC,EAAA,MAAAD,UAAAE,EALnB,WAAAC,CAAAC,G,kEAUEC,KAAAC,OAAS,KAYV,CAVC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,WACLC,UAAU,GAEVJ,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
1
+ {"version":3,"names":["stylesCss","ZTfoot","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","sticky","render","h","Host","key","role","tabIndex"],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/css-components/z-table/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 margin-top: -1px;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","z-table,\ntable.z-table {\n background-color: var(--color-surface01);\n\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n}\n\ntable.z-table {\n border-collapse: collapse;\n}\n\nz-thead,\ntable.z-table thead {\n background-color: var(--color-background);\n\n --z-table--cells-bottom-border-size: var(--border-size-medium);\n}\n\nz-tfoot,\ntable.z-table tfoot {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\nz-tfoot z-tr,\ntable.z-table tfoot tr {\n border-bottom: calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important;\n}\n\nz-tr,\ntable.z-table tr {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\nz-td,\nz-th,\ntable.z-table td,\ntable.z-table th {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n text-align: left;\n}\n\nz-th:not(:first-child),\nz-td:not(:first-child),\ntable.z-table th:not(:first-child),\ntable.z-table td:not(:first-child) {\n border-left: var(--z-table--cell-left-border, none);\n}\n\nz-table[bordered],\ntable.z-table.z-table-bordered {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n\ntable.z-table-hover > tbody > tr:hover > td,\ntable.z-table-hover > tfoot > tr:hover > td {\n position: relative;\n background-color: var(--color-surface02);\n}\n\ntable.z-table-hover > tbody > tr:hover > td::after,\ntable.z-table-hover > tfoot > tr:hover > td::after {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n bottom: 0;\n left: -1px;\n box-shadow:\n inset 0 var(--border-size-small) 0 var(--color-surface04),\n inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);\n content: \"\";\n}\n\ntable.z-table-hover > tbody > tr:hover > td:first-child::after,\ntable.z-table-hover > thead > tr:hover > th:first-child::after,\ntable.z-table-hover > tfoot > tr:hover > td:first-child::after {\n left: 0;\n}\n","import {Component, ComponentInterface, 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 styleUrls: [\"styles.css\", \"../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTfoot implements ComponentInterface {\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\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"uHAAA,MAAMA,EAAY,IAAM,wJCAxB,MAAMA,EAAY,IAAM,6sD,MCWXC,EAAMC,EAAA,MAAAD,UAAAE,EALnB,WAAAC,CAAAC,G,kEAUEC,KAAAC,OAAS,KAYV,CAVC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,WACLC,UAAU,GAEVJ,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as t,HTMLElement as o,createEvent as e,h as s,Host as n,transformTag as i}from"@stencil/core/internal/client";import{P as a,S as r,e as c,B as h}from"./index2.js";import{d as l}from"./index5.js";import{d as u}from"./index3.js";import{d as p}from"./index17.js";const d=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;padding:calc(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}}`;const f=()=>`:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}.cell--content{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2))}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@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:""}`;const m=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sort=e(this,"sort",7);this.showMenu=null;this.showSorting=null;this.sticky=false;this.sorted=false;this.popoverPosition=a.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===r.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===r.ASC?r.DESC:r.ASC;this.sorted=true;this.sort.emit({sortDirection:this.sortDirection})}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}}componentWillLoad(){this.updateColspan()}render(){return s(n,{key:"029656c92d8e6abda98ecb1c1f8f37df5561993b",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},s("div",{key:"a00a37619da7fba5ce5f0ff00644c321f6324d3d",class:"cell--content"},s("slot",{key:"427c778843968776001f3a8486df91a32a51a620"}),this.showSorting&&s("button",{key:"77d2f3841e1398e9df475d91445a9ccd52133335",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},s("z-icon",{key:"3e29de562c699e7ea2b1acab0273d759f80f5b1f",name:this.sortDirection===r.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&s("div",{key:"a6fe1bc8e02e9f5238835c57f32a2a17b5f3e5a2",class:"cell--menu-container"},s("z-button",{key:"7df03bf2a1411aa5357a9f31f2812572a9e564df",variant:h.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),s("z-popover",{key:"73ecdad7bc49295072fa2163e6c94413e269755e",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},s("slot",{key:"c5cb377cc2304e37f508589f818fb97037d9935d",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return d()+f()}},[257,"z-th",{colspan:[2],showMenu:[513,"show-menu"],showSorting:[513,"show-sorting"],sticky:[516],sortDirection:[1025,"sort-direction"],sorted:[1540],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function b(){if(typeof customElements==="undefined"){return}const t=["z-th","z-button","z-icon","z-popover"];t.forEach((t=>{switch(t){case"z-th":if(!customElements.get(i(t))){customElements.define(i(t),m)}break;case"z-button":if(!customElements.get(i(t))){l()}break;case"z-icon":if(!customElements.get(i(t))){u()}break;case"z-popover":if(!customElements.get(i(t))){p()}break}}))}const v=m;const g=b;export{v as ZTh,g as defineCustomElement};
1
+ import{proxyCustomElement as t,HTMLElement as e,createEvent as o,h as r,Host as s,transformTag as a}from"@stencil/core/internal/client";import{P as n,S as i,e as l,B as c}from"./index2.js";import{d as h}from"./index5.js";import{d}from"./index3.js";import{d as b}from"./index17.js";const u=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;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}}`;const p=()=>`:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@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:""}`;const f=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const v=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sort=o(this,"sort",7);this.showMenu=null;this.showSorting=null;this.sticky=false;this.sorted=false;this.popoverPosition=n.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===i.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===i.ASC?i.DESC:i.ASC;this.sorted=true;this.sort.emit({sortDirection:this.sortDirection})}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}}componentWillLoad(){this.updateColspan()}render(){return r(s,{key:"aef115e04b8a8c37c749a568bcb24250e062008b",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},r("div",{key:"5b78767c1d65440363c06d5e4b7137598e74d8b4",class:"cell--content"},r("slot",{key:"340210db9182785b89ed01a26d6dc60558aa9f4f"}),this.showSorting&&r("button",{key:"2c6f42cbf3a2c1d37af04182731503accfe67362",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},r("z-icon",{key:"ad73a2838da75772e84e431c36256e77bdf39157",name:this.sortDirection===i.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&r("div",{key:"d4c23d3a5b05ccea94a03efa6b10efc65e4a0cf4",class:"cell--menu-container"},r("z-button",{key:"fb0930c50cd3ac363e764ded3d7be227678a5d2d",variant:c.TERTIARY,icon:"contextual-menu",size:l.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),r("z-popover",{key:"b720485c31c2070d77e33bceacd5be582516ae38",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},r("slot",{key:"7372fa0d1ca9773ebbf8b6c8ec581133967aafdf",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return u()+(p()+f())}},[257,"z-th",{colspan:[2],showMenu:[513,"show-menu"],showSorting:[513,"show-sorting"],sticky:[516],sortDirection:[1025,"sort-direction"],sorted:[1540],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function z(){if(typeof customElements==="undefined"){return}const t=["z-th","z-button","z-icon","z-popover"];t.forEach((t=>{switch(t){case"z-th":if(!customElements.get(a(t))){customElements.define(a(t),v)}break;case"z-button":if(!customElements.get(a(t))){h()}break;case"z-icon":if(!customElements.get(a(t))){d()}break;case"z-popover":if(!customElements.get(a(t))){b()}break}}))}const m=v;const g=z;export{m as ZTh,g as defineCustomElement};
2
2
  //# sourceMappingURL=z-th.js.map