@zanichelli/albe-web-components 8.0.1 → 9.0.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 (400) hide show
  1. package/dist/cjs/index-06609e4d.js +17 -0
  2. package/dist/cjs/index-1872a74b.js +34 -0
  3. package/dist/cjs/index-23d8692f.js +21 -0
  4. package/dist/cjs/index-27ba9f7c.js +79 -0
  5. package/dist/cjs/index-2b53b57b.js +22 -0
  6. package/dist/cjs/index-46406671.js +67 -0
  7. package/dist/cjs/{index-b7c319f2.js → index-4e1850d7.js} +5 -9
  8. package/dist/cjs/index-8834c5a3.js +41 -0
  9. package/dist/cjs/index-92a9f89e.js +21 -0
  10. package/dist/cjs/index-9648272b.js +21 -0
  11. package/dist/cjs/index-977baebe.js +49 -0
  12. package/dist/cjs/index-a9764c98.js +17 -0
  13. package/dist/cjs/index-bbd48475.js +20 -0
  14. package/dist/cjs/index-d550acd3.js +70 -0
  15. package/dist/cjs/index-e3299e0a.js +28 -0
  16. package/dist/cjs/index-e5daa5a5.js +17 -0
  17. package/dist/cjs/index-ebbadaf8.js +21 -0
  18. package/dist/cjs/index-f43320ff.js +29 -0
  19. package/dist/cjs/index.cjs.js +8 -8
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/{utils-38f8555a.js → utils-aa00c0cc.js} +1 -1
  22. package/dist/cjs/{utils-938e5834.js → utils-b0293a5e.js} +1 -1
  23. package/dist/cjs/web-components-library.cjs.js +1 -1
  24. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  25. package/dist/cjs/z-app-header_11.cjs.entry.js +2 -2
  26. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  27. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  28. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  29. package/dist/cjs/z-card.cjs.entry.js +1 -1
  30. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  31. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  32. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  33. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  34. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  35. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  36. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  37. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  38. package/dist/cjs/z-file.cjs.entry.js +1 -1
  39. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  40. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  41. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  42. package/dist/cjs/z-myz-card-dictionary.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-info.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  46. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  47. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  48. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  49. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  50. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  51. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  52. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  53. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  54. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  55. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  56. package/dist/cjs/z-select.cjs.entry.js +2 -2
  57. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  58. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  59. package/dist/cjs/z-table-body.cjs.entry.js +3 -17
  60. package/dist/cjs/z-table-cell.cjs.entry.js +4 -29
  61. package/dist/cjs/z-table-deprecated.cjs.entry.js +91 -0
  62. package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -24
  63. package/dist/cjs/z-table-expanded-row.cjs.entry.js +3 -12
  64. package/dist/cjs/z-table-footer.cjs.entry.js +3 -16
  65. package/dist/cjs/z-table-head.cjs.entry.js +3 -16
  66. package/dist/cjs/z-table-header-row.cjs.entry.js +3 -15
  67. package/dist/cjs/z-table-header.cjs.entry.js +5 -74
  68. package/dist/cjs/z-table-row.cjs.entry.js +4 -36
  69. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -12
  70. package/dist/cjs/z-table.cjs.entry.js +43 -57
  71. package/dist/cjs/z-tbody.cjs.entry.js +10 -0
  72. package/dist/cjs/z-td.cjs.entry.js +11 -0
  73. package/dist/cjs/z-tfoot.cjs.entry.js +10 -0
  74. package/dist/cjs/z-th.cjs.entry.js +11 -0
  75. package/dist/cjs/z-thead.cjs.entry.js +10 -0
  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-switch.cjs.entry.js +2 -2
  79. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  80. package/dist/cjs/z-tr.cjs.entry.js +15 -0
  81. package/dist/collection/beans/index.js +5 -9
  82. package/dist/collection/collection-manifest.json +18 -11
  83. package/dist/collection/components/table/cells/z-td/index.js +143 -0
  84. package/dist/collection/components/table/cells/z-td/styles.css +59 -0
  85. package/dist/collection/components/table/cells/z-th/index.js +187 -0
  86. package/dist/collection/components/table/cells/z-th/styles.css +88 -0
  87. package/dist/collection/components/table/z-table/index.js +115 -0
  88. package/dist/collection/components/table/z-table/styles.css +22 -0
  89. package/dist/collection/components/table/z-tbody/index.js +22 -0
  90. package/dist/collection/components/table/z-tbody/styles.css +4 -0
  91. package/dist/collection/components/table/z-tfoot/index.js +50 -0
  92. package/dist/collection/components/table/z-tfoot/styles.css +13 -0
  93. package/dist/collection/components/table/z-thead/index.js +50 -0
  94. package/dist/collection/components/table/z-thead/styles.css +19 -0
  95. package/dist/collection/components/table/z-tr/index.js +133 -0
  96. package/dist/collection/components/table/z-tr/styles.css +87 -0
  97. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-body/index.js +3 -0
  98. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/index.js +9 -11
  99. package/dist/collection/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/index.js +13 -2
  100. package/dist/collection/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/styles.css +14 -14
  101. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/index.js +3 -0
  102. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/index.js +3 -0
  103. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/index.js +3 -0
  104. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-head/index.js +3 -0
  105. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header/index.js +27 -39
  106. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/index.js +3 -0
  107. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-row/index.js +3 -0
  108. package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/index.js +1 -0
  109. package/dist/esm/index-0e0fa88d.js +19 -0
  110. package/dist/esm/index-16d8ed5b.js +39 -0
  111. package/dist/esm/index-1ae1c122.js +15 -0
  112. package/dist/esm/index-272fc060.js +32 -0
  113. package/dist/esm/index-2c800f19.js +20 -0
  114. package/dist/esm/index-2cdac489.js +27 -0
  115. package/dist/esm/index-6d83248c.js +19 -0
  116. package/dist/esm/index-77b7d7ae.js +47 -0
  117. package/dist/esm/index-83736b34.js +15 -0
  118. package/dist/esm/index-8c7b48bc.js +19 -0
  119. package/dist/esm/{index-7e4df1be.js → index-9c5d63ea.js} +6 -10
  120. package/dist/esm/index-a2ca4b97.js +28 -0
  121. package/dist/esm/index-a66b7e8a.js +65 -0
  122. package/dist/esm/index-db083023.js +77 -0
  123. package/dist/esm/index-e2c8b8b5.js +18 -0
  124. package/dist/esm/index-f171ca51.js +15 -0
  125. package/dist/esm/index-f98f4ad3.js +19 -0
  126. package/dist/esm/index-fff6ed17.js +68 -0
  127. package/dist/esm/index.js +2 -2
  128. package/dist/esm/loader.js +1 -1
  129. package/dist/esm/{utils-af924ea4.js → utils-cd86cb21.js} +1 -1
  130. package/dist/esm/{utils-825aed23.js → utils-d7278f26.js} +1 -1
  131. package/dist/esm/web-components-library.js +1 -1
  132. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  133. package/dist/esm/z-app-header_11.entry.js +2 -2
  134. package/dist/esm/z-aria-alert.entry.js +1 -1
  135. package/dist/esm/z-avatar.entry.js +1 -1
  136. package/dist/esm/z-breadcrumb.entry.js +2 -2
  137. package/dist/esm/z-card.entry.js +1 -1
  138. package/dist/esm/z-carousel.entry.js +1 -1
  139. package/dist/esm/z-chip.entry.js +2 -2
  140. package/dist/esm/z-combobox.entry.js +2 -2
  141. package/dist/esm/z-contextual-menu.entry.js +1 -1
  142. package/dist/esm/z-cover-hero.entry.js +1 -1
  143. package/dist/esm/z-date-picker.entry.js +2 -2
  144. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  145. package/dist/esm/z-file-upload.entry.js +2 -2
  146. package/dist/esm/z-file.entry.js +1 -1
  147. package/dist/esm/z-info-reveal.entry.js +1 -1
  148. package/dist/esm/z-messages-pocket.entry.js +1 -1
  149. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  150. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  151. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  152. package/dist/esm/z-myz-card-info.entry.js +2 -2
  153. package/dist/esm/z-myz-card_4.entry.js +1 -1
  154. package/dist/esm/z-myz-list-item.entry.js +2 -2
  155. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  156. package/dist/esm/z-navigation-tab.entry.js +1 -1
  157. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  158. package/dist/esm/z-otp.entry.js +1 -1
  159. package/dist/esm/z-pagination.entry.js +1 -1
  160. package/dist/esm/z-pocket_3.entry.js +2 -2
  161. package/dist/esm/z-popover.entry.js +1 -1
  162. package/dist/esm/z-range-picker.entry.js +2 -2
  163. package/dist/esm/z-section-title.entry.js +1 -1
  164. package/dist/esm/z-select.entry.js +2 -2
  165. package/dist/esm/z-skip-to-content.entry.js +2 -2
  166. package/dist/esm/z-slideshow.entry.js +2 -2
  167. package/dist/esm/z-table-body.entry.js +2 -20
  168. package/dist/esm/z-table-cell.entry.js +3 -32
  169. package/dist/esm/z-table-deprecated.entry.js +87 -0
  170. package/dist/esm/z-table-empty-box.entry.js +2 -27
  171. package/dist/esm/z-table-expanded-row.entry.js +2 -15
  172. package/dist/esm/z-table-footer.entry.js +2 -19
  173. package/dist/esm/z-table-head.entry.js +2 -19
  174. package/dist/esm/z-table-header-row.entry.js +2 -18
  175. package/dist/esm/z-table-header.entry.js +4 -77
  176. package/dist/esm/z-table-row.entry.js +3 -39
  177. package/dist/esm/z-table-sticky-footer.entry.js +2 -15
  178. package/dist/esm/z-table.entry.js +46 -60
  179. package/dist/esm/z-tbody.entry.js +2 -0
  180. package/dist/esm/z-td.entry.js +3 -0
  181. package/dist/esm/z-tfoot.entry.js +2 -0
  182. package/dist/esm/z-th.entry.js +3 -0
  183. package/dist/esm/z-thead.entry.js +2 -0
  184. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  185. package/dist/esm/z-toast-notification.entry.js +1 -1
  186. package/dist/esm/z-toggle-switch.entry.js +2 -2
  187. package/dist/esm/z-tooltip.entry.js +1 -1
  188. package/dist/esm/z-tr.entry.js +7 -0
  189. package/dist/types/beans/index.d.ts +5 -9
  190. package/dist/types/components/table/cells/z-td/index.d.ts +36 -0
  191. package/dist/types/components/table/cells/z-th/index.d.ts +52 -0
  192. package/dist/types/components/table/z-table/index.d.ts +37 -0
  193. package/dist/types/components/table/z-tbody/index.d.ts +7 -0
  194. package/dist/types/components/table/z-tfoot/index.d.ts +11 -0
  195. package/dist/types/components/table/z-thead/index.d.ts +11 -0
  196. package/dist/types/components/table/z-tr/index.d.ts +41 -0
  197. package/dist/types/components.d.ts +244 -33
  198. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-body/index.d.ts +3 -0
  199. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/index.d.ts +4 -2
  200. package/dist/types/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/index.d.ts +14 -3
  201. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/index.d.ts +3 -0
  202. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/index.d.ts +3 -0
  203. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/index.d.ts +3 -0
  204. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-head/index.d.ts +3 -0
  205. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-header/index.d.ts +6 -4
  206. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/index.d.ts +3 -0
  207. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-row/index.d.ts +3 -0
  208. package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/index.d.ts +1 -0
  209. package/dist/web-components-library/index.esm.js +1 -1
  210. package/dist/web-components-library/{p-cfc9cf52.entry.js → p-04b9260a.entry.js} +1 -1
  211. package/dist/web-components-library/p-051b9116.entry.js +1 -0
  212. package/dist/web-components-library/p-11976457.entry.js +1 -0
  213. package/{www/build/p-447a7c51.entry.js → dist/web-components-library/p-145eace8.entry.js} +1 -1
  214. package/dist/web-components-library/p-152fc58b.entry.js +1 -0
  215. package/dist/web-components-library/{p-4367f978.entry.js → p-154596ad.js} +1 -1
  216. package/dist/web-components-library/{p-ff838f90.entry.js → p-15738cb6.entry.js} +1 -1
  217. package/dist/web-components-library/{p-4b9882b3.entry.js → p-15dca231.entry.js} +1 -1
  218. package/dist/web-components-library/{p-2d339a33.entry.js → p-1a98992a.entry.js} +1 -1
  219. package/dist/web-components-library/{p-613d6de7.entry.js → p-1d7b6787.entry.js} +1 -1
  220. package/dist/web-components-library/{p-98dcf178.entry.js → p-220254b4.entry.js} +1 -1
  221. package/dist/web-components-library/{p-0eb7cb35.entry.js → p-2642bb12.entry.js} +1 -1
  222. package/dist/web-components-library/{p-3f55dce6.entry.js → p-2773516d.js} +1 -1
  223. package/dist/web-components-library/{p-bb0fe7bc.entry.js → p-2b3cf51a.js} +1 -1
  224. package/{www/build/p-b44030d0.entry.js → dist/web-components-library/p-2d609e87.entry.js} +1 -1
  225. package/dist/web-components-library/p-2fab41fb.entry.js +1 -0
  226. package/dist/web-components-library/p-30771d25.js +1 -0
  227. package/dist/web-components-library/{p-9fee86aa.entry.js → p-32c4383b.entry.js} +1 -1
  228. package/dist/web-components-library/{p-27100ea1.entry.js → p-33d41e9f.entry.js} +1 -1
  229. package/dist/web-components-library/{p-f5a247b9.entry.js → p-350dcf6d.entry.js} +1 -1
  230. package/dist/web-components-library/p-37ffe8b5.entry.js +1 -0
  231. package/dist/web-components-library/p-3fe7ffbe.entry.js +1 -0
  232. package/{www/build/p-7ac431a5.entry.js → dist/web-components-library/p-43235890.entry.js} +1 -1
  233. package/dist/web-components-library/p-43478f5b.entry.js +1 -0
  234. package/dist/web-components-library/p-4ae2fe27.js +1 -0
  235. package/{www/build/p-9a1b8000.entry.js → dist/web-components-library/p-4df0eb86.entry.js} +1 -1
  236. package/dist/web-components-library/{p-073f24c9.entry.js → p-5ab0be3f.entry.js} +1 -1
  237. package/dist/web-components-library/p-609186cd.entry.js +1 -0
  238. package/dist/web-components-library/p-62b89a37.js +1 -0
  239. package/dist/web-components-library/{p-a19a70a0.entry.js → p-6409024c.js} +1 -1
  240. package/dist/web-components-library/p-64256f3d.entry.js +1 -0
  241. package/dist/web-components-library/p-64759e9f.js +1 -0
  242. package/dist/web-components-library/p-6477d18a.entry.js +1 -0
  243. package/dist/web-components-library/{p-0c0735e5.entry.js → p-64acd74d.entry.js} +1 -1
  244. package/dist/web-components-library/p-64d902c6.entry.js +1 -0
  245. package/dist/web-components-library/p-6d723eea.entry.js +1 -0
  246. package/dist/web-components-library/p-74f343ce.js +1 -0
  247. package/dist/web-components-library/{p-37e050bd.entry.js → p-75b94adb.js} +1 -1
  248. package/dist/web-components-library/{p-022854df.entry.js → p-7d181b0a.entry.js} +1 -1
  249. package/dist/web-components-library/p-875dc6a3.js +1 -0
  250. package/dist/web-components-library/{p-0418f9fb.entry.js → p-88276662.entry.js} +1 -1
  251. package/dist/web-components-library/{p-14c2c56c.js → p-8878929e.js} +1 -1
  252. package/dist/web-components-library/{p-dcad3493.entry.js → p-89ad35df.entry.js} +1 -1
  253. package/{www/build/p-ee918c17.js → dist/web-components-library/p-8c6b1f2c.js} +1 -1
  254. package/dist/web-components-library/p-8e334a37.entry.js +1 -0
  255. package/{www/build/p-98df8460.entry.js → dist/web-components-library/p-8e7891d0.entry.js} +1 -1
  256. package/dist/web-components-library/{p-f8f862f9.entry.js → p-91a29198.entry.js} +1 -1
  257. package/{www/build/p-fd8eae32.entry.js → dist/web-components-library/p-92828b84.entry.js} +1 -1
  258. package/dist/web-components-library/{p-227667b6.entry.js → p-94550647.entry.js} +1 -1
  259. package/dist/web-components-library/p-97481f35.entry.js +1 -0
  260. package/dist/web-components-library/{p-39863e41.entry.js → p-9eafcdd4.entry.js} +1 -1
  261. package/dist/web-components-library/p-a13b6a71.entry.js +1 -0
  262. package/dist/web-components-library/p-a4254712.entry.js +1 -0
  263. package/dist/web-components-library/{p-1cc1a418.js → p-a4711d6d.js} +1 -1
  264. package/dist/web-components-library/p-ab4773c6.js +1 -0
  265. package/dist/web-components-library/p-ac9881cd.entry.js +1 -0
  266. package/dist/web-components-library/{p-cd456854.entry.js → p-b5e790d7.entry.js} +1 -1
  267. package/dist/web-components-library/p-b6f0020b.js +1 -0
  268. package/dist/web-components-library/{p-39595f7a.entry.js → p-b7d13c6f.entry.js} +1 -1
  269. package/{www/build/p-2f547970.entry.js → dist/web-components-library/p-b851ced1.entry.js} +1 -1
  270. package/{www/build/p-5825ef19.entry.js → dist/web-components-library/p-bc8d30ce.entry.js} +1 -1
  271. package/dist/web-components-library/{p-6be6a2f4.entry.js → p-c35e1265.entry.js} +1 -1
  272. package/dist/web-components-library/p-c76e27b4.entry.js +1 -0
  273. package/dist/web-components-library/p-cd14f3f5.entry.js +1 -0
  274. package/{www/build/p-8f7680ef.entry.js → dist/web-components-library/p-d1e9a84b.entry.js} +1 -1
  275. package/dist/web-components-library/{p-e606b019.entry.js → p-d2ed2111.entry.js} +1 -1
  276. package/dist/web-components-library/p-d60b4bc5.entry.js +1 -0
  277. package/dist/web-components-library/p-dc974567.entry.js +1 -0
  278. package/dist/web-components-library/{p-079357ba.entry.js → p-dca95f65.entry.js} +1 -1
  279. package/{www/build/p-2e7da553.entry.js → dist/web-components-library/p-e6807d13.entry.js} +1 -1
  280. package/{www/build/p-d966a1b9.entry.js → dist/web-components-library/p-f3da70cd.entry.js} +1 -1
  281. package/dist/web-components-library/p-f62ca674.js +1 -0
  282. package/dist/web-components-library/p-f6a7b40e.js +1 -0
  283. package/dist/web-components-library/p-fb5450a7.js +1 -0
  284. package/dist/web-components-library/{p-0b822ad0.entry.js → p-fb9f2761.entry.js} +1 -1
  285. package/{www/build/p-fa7a11fd.entry.js → dist/web-components-library/p-ffbb02d3.entry.js} +1 -1
  286. package/dist/web-components-library/web-components-library.esm.js +1 -1
  287. package/package.json +1 -1
  288. package/react/components.d.ts +7 -0
  289. package/react/components.js +8 -1
  290. package/react/components.js.map +1 -1
  291. package/readme.md +2 -2
  292. package/www/build/index.esm.js +1 -1
  293. package/www/build/{p-cfc9cf52.entry.js → p-04b9260a.entry.js} +1 -1
  294. package/www/build/p-051b9116.entry.js +1 -0
  295. package/www/build/p-11976457.entry.js +1 -0
  296. package/{dist/web-components-library/p-447a7c51.entry.js → www/build/p-145eace8.entry.js} +1 -1
  297. package/www/build/p-152fc58b.entry.js +1 -0
  298. package/www/build/{p-4367f978.entry.js → p-154596ad.js} +1 -1
  299. package/www/build/{p-ff838f90.entry.js → p-15738cb6.entry.js} +1 -1
  300. package/www/build/{p-4b9882b3.entry.js → p-15dca231.entry.js} +1 -1
  301. package/www/build/{p-2d339a33.entry.js → p-1a98992a.entry.js} +1 -1
  302. package/www/build/{p-613d6de7.entry.js → p-1d7b6787.entry.js} +1 -1
  303. package/www/build/{p-98dcf178.entry.js → p-220254b4.entry.js} +1 -1
  304. package/www/build/{p-0eb7cb35.entry.js → p-2642bb12.entry.js} +1 -1
  305. package/www/build/{p-3f55dce6.entry.js → p-2773516d.js} +1 -1
  306. package/www/build/{p-bb0fe7bc.entry.js → p-2b3cf51a.js} +1 -1
  307. package/{dist/web-components-library/p-b44030d0.entry.js → www/build/p-2d609e87.entry.js} +1 -1
  308. package/www/build/p-2fab41fb.entry.js +1 -0
  309. package/www/build/p-30771d25.js +1 -0
  310. package/www/build/{p-9fee86aa.entry.js → p-32c4383b.entry.js} +1 -1
  311. package/www/build/{p-27100ea1.entry.js → p-33d41e9f.entry.js} +1 -1
  312. package/www/build/{p-f5a247b9.entry.js → p-350dcf6d.entry.js} +1 -1
  313. package/www/build/p-37ffe8b5.entry.js +1 -0
  314. package/www/build/p-3fe7ffbe.entry.js +1 -0
  315. package/{dist/web-components-library/p-7ac431a5.entry.js → www/build/p-43235890.entry.js} +1 -1
  316. package/www/build/p-43478f5b.entry.js +1 -0
  317. package/www/build/p-4ae2fe27.js +1 -0
  318. package/{dist/web-components-library/p-9a1b8000.entry.js → www/build/p-4df0eb86.entry.js} +1 -1
  319. package/www/build/{p-073f24c9.entry.js → p-5ab0be3f.entry.js} +1 -1
  320. package/www/build/p-609186cd.entry.js +1 -0
  321. package/www/build/p-62b89a37.js +1 -0
  322. package/www/build/{p-a19a70a0.entry.js → p-6409024c.js} +1 -1
  323. package/www/build/p-64256f3d.entry.js +1 -0
  324. package/www/build/p-64759e9f.js +1 -0
  325. package/www/build/p-6477d18a.entry.js +1 -0
  326. package/www/build/{p-0c0735e5.entry.js → p-64acd74d.entry.js} +1 -1
  327. package/www/build/p-64d902c6.entry.js +1 -0
  328. package/www/build/p-6d723eea.entry.js +1 -0
  329. package/www/build/p-74f343ce.js +1 -0
  330. package/www/build/{p-37e050bd.entry.js → p-75b94adb.js} +1 -1
  331. package/www/build/{p-022854df.entry.js → p-7d181b0a.entry.js} +1 -1
  332. package/www/build/p-875dc6a3.js +1 -0
  333. package/www/build/{p-0418f9fb.entry.js → p-88276662.entry.js} +1 -1
  334. package/www/build/{p-14c2c56c.js → p-8878929e.js} +1 -1
  335. package/www/build/{p-dcad3493.entry.js → p-89ad35df.entry.js} +1 -1
  336. package/{dist/web-components-library/p-ee918c17.js → www/build/p-8c6b1f2c.js} +1 -1
  337. package/www/build/p-8e334a37.entry.js +1 -0
  338. package/{dist/web-components-library/p-98df8460.entry.js → www/build/p-8e7891d0.entry.js} +1 -1
  339. package/www/build/{p-f8f862f9.entry.js → p-91a29198.entry.js} +1 -1
  340. package/{dist/web-components-library/p-fd8eae32.entry.js → www/build/p-92828b84.entry.js} +1 -1
  341. package/www/build/{p-227667b6.entry.js → p-94550647.entry.js} +1 -1
  342. package/www/build/p-97481f35.entry.js +1 -0
  343. package/www/build/{p-39863e41.entry.js → p-9eafcdd4.entry.js} +1 -1
  344. package/www/build/p-a13b6a71.entry.js +1 -0
  345. package/www/build/p-a4254712.entry.js +1 -0
  346. package/www/build/{p-1cc1a418.js → p-a4711d6d.js} +1 -1
  347. package/www/build/p-ab4773c6.js +1 -0
  348. package/www/build/p-ac9881cd.entry.js +1 -0
  349. package/www/build/{p-cd456854.entry.js → p-b5e790d7.entry.js} +1 -1
  350. package/www/build/p-b6f0020b.js +1 -0
  351. package/www/build/{p-39595f7a.entry.js → p-b7d13c6f.entry.js} +1 -1
  352. package/{dist/web-components-library/p-2f547970.entry.js → www/build/p-b851ced1.entry.js} +1 -1
  353. package/{dist/web-components-library/p-5825ef19.entry.js → www/build/p-bc8d30ce.entry.js} +1 -1
  354. package/www/build/{p-6be6a2f4.entry.js → p-c35e1265.entry.js} +1 -1
  355. package/www/build/p-c76e27b4.entry.js +1 -0
  356. package/www/build/p-cd14f3f5.entry.js +1 -0
  357. package/{dist/web-components-library/p-8f7680ef.entry.js → www/build/p-d1e9a84b.entry.js} +1 -1
  358. package/www/build/{p-e606b019.entry.js → p-d2ed2111.entry.js} +1 -1
  359. package/www/build/p-d60b4bc5.entry.js +1 -0
  360. package/www/build/p-dc974567.entry.js +1 -0
  361. package/www/build/{p-079357ba.entry.js → p-dca95f65.entry.js} +1 -1
  362. package/{dist/web-components-library/p-2e7da553.entry.js → www/build/p-e6807d13.entry.js} +1 -1
  363. package/{dist/web-components-library/p-d966a1b9.entry.js → www/build/p-f3da70cd.entry.js} +1 -1
  364. package/www/build/p-f62ca674.js +1 -0
  365. package/www/build/p-f6a7b40e.js +1 -0
  366. package/www/build/p-fb5450a7.js +1 -0
  367. package/www/build/{p-0b822ad0.entry.js → p-fb9f2761.entry.js} +1 -1
  368. package/www/build/p-fbcf172a.js +1 -0
  369. package/{dist/web-components-library/p-fa7a11fd.entry.js → www/build/p-ffbb02d3.entry.js} +1 -1
  370. package/www/build/web-components-library.esm.js +1 -1
  371. package/www/index.html +1 -1
  372. package/dist/web-components-library/p-0b942851.entry.js +0 -1
  373. package/dist/web-components-library/p-3be171d0.entry.js +0 -1
  374. package/dist/web-components-library/p-4610db36.entry.js +0 -1
  375. package/dist/web-components-library/p-910ca14c.entry.js +0 -1
  376. package/dist/web-components-library/p-9e400a11.entry.js +0 -1
  377. package/dist/web-components-library/p-c4417a91.entry.js +0 -1
  378. package/dist/web-components-library/p-d98d3cf1.entry.js +0 -1
  379. package/dist/web-components-library/p-eaa4eba8.entry.js +0 -1
  380. package/dist/web-components-library/p-ec5242da.entry.js +0 -1
  381. package/www/build/p-0b942851.entry.js +0 -1
  382. package/www/build/p-3be171d0.entry.js +0 -1
  383. package/www/build/p-3f4767d7.js +0 -1
  384. package/www/build/p-4610db36.entry.js +0 -1
  385. package/www/build/p-910ca14c.entry.js +0 -1
  386. package/www/build/p-9e400a11.entry.js +0 -1
  387. package/www/build/p-c4417a91.entry.js +0 -1
  388. package/www/build/p-d98d3cf1.entry.js +0 -1
  389. package/www/build/p-eaa4eba8.entry.js +0 -1
  390. package/www/build/p-ec5242da.entry.js +0 -1
  391. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-body/styles.css +0 -0
  392. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/styles.css +0 -0
  393. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/styles.css +0 -0
  394. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/styles.css +0 -0
  395. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/styles.css +0 -0
  396. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-head/styles.css +0 -0
  397. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header/styles.css +0 -0
  398. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/styles.css +0 -0
  399. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-row/styles.css +0 -0
  400. /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/styles.css +0 -0
@@ -0,0 +1,59 @@
1
+ :host {
2
+ position: relative;
3
+ display: flex;
4
+ min-width: 128px;
5
+ box-sizing: border-box;
6
+ align-items: center;
7
+ padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));
8
+ background-color: var(--color-surface01);
9
+ gap: calc(var(--space-unit) * 2) var(--space-unit);
10
+ }
11
+
12
+ :host([sticky]) {
13
+ position: sticky;
14
+ z-index: 1;
15
+ top: 0;
16
+ left: 0;
17
+ box-shadow: 8px 0 16px -8px var(--shadow-color-base);
18
+ }
19
+
20
+ /* Leave the space for the menu button */
21
+ :host([show-menu])::after {
22
+ display: inline-block;
23
+ height: 100%;
24
+ margin-right: calc(var(--space-unit) * 4);
25
+ background: transparent;
26
+ content: "";
27
+ user-select: none;
28
+ }
29
+
30
+ .cell--menu-container {
31
+ position: absolute;
32
+ z-index: 1;
33
+ top: var(--space-unit);
34
+ right: var(--space-unit);
35
+ }
36
+
37
+ :host(:not([show-menu])) .cell--menu-container {
38
+ opacity: 0;
39
+ pointer-events: none;
40
+ }
41
+
42
+ :host(:is([show-menu], [menu-open])) .cell--menu-container,
43
+ :host([show-menu]) .cell--menu-container:focus-within {
44
+ opacity: 1;
45
+ pointer-events: all;
46
+ }
47
+
48
+ @media (min-width: 768px) and (hover: hover) {
49
+ :host([show-menu="hover"]) .cell--menu-container {
50
+ opacity: 0;
51
+ pointer-events: none;
52
+ }
53
+
54
+ :host([show-menu="hover"]:hover) .cell--menu-container {
55
+ opacity: 1;
56
+ pointer-events: all;
57
+ }
58
+ }
59
+
@@ -0,0 +1,187 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { ButtonVariant, ControlSize, SortDirection } from "../../../../beans";
3
+ /**
4
+ * ZTh component.
5
+ * @slot - ZTh content.
6
+ * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.
7
+ */
8
+ export class ZTh {
9
+ constructor() {
10
+ /**
11
+ * Enables the contextual menu.
12
+ * Can be set to "hover" or "always" to show the button only on cell hover or always.
13
+ * Set a nullish value to hide the menu button.
14
+ */
15
+ this.showMenu = null;
16
+ /**
17
+ * Whether the cell should stick.
18
+ */
19
+ this.sticky = false;
20
+ /**
21
+ * Store the open state of the menu.
22
+ */
23
+ this.isMenuOpen = false;
24
+ }
25
+ /**
26
+ * Get the value to set to the `aria-sort` attribute based on the current sort direction.
27
+ */
28
+ get ariaSortDirection() {
29
+ if (!this.sortDirection) {
30
+ return null;
31
+ }
32
+ return this.sortDirection === SortDirection.ASC ? "ascending" : "descending";
33
+ }
34
+ /**
35
+ * Handle the click on the sort button.
36
+ * @fires sort
37
+ */
38
+ handleSort() {
39
+ if (!this.sortDirection) {
40
+ return;
41
+ }
42
+ this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;
43
+ this.sort.emit({
44
+ sortDirection: this.sortDirection,
45
+ });
46
+ }
47
+ updateColspan() {
48
+ if (this.colspan) {
49
+ this.host.style.gridColumn = `span ${this.colspan}`;
50
+ }
51
+ else {
52
+ this.host.style.removeProperty("grid-column");
53
+ }
54
+ }
55
+ componentWillLoad() {
56
+ this.updateColspan();
57
+ }
58
+ render() {
59
+ return (h(Host, { role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection }, h("slot", null), this.sortDirection && (h("button", { class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { name: this.sortDirection === SortDirection.ASC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { class: "cell--menu-container" }, h("z-button", { variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open) }, h("slot", { name: "contextual-menu" }))))));
60
+ }
61
+ static get is() { return "z-th"; }
62
+ static get encapsulation() { return "shadow"; }
63
+ static get originalStyleUrls() {
64
+ return {
65
+ "$": ["styles.css"]
66
+ };
67
+ }
68
+ static get styleUrls() {
69
+ return {
70
+ "$": ["styles.css"]
71
+ };
72
+ }
73
+ static get properties() {
74
+ return {
75
+ "colspan": {
76
+ "type": "number",
77
+ "mutable": false,
78
+ "complexType": {
79
+ "original": "number",
80
+ "resolved": "number",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": false,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": "Number of columns that the cell should span."
88
+ },
89
+ "attribute": "colspan",
90
+ "reflect": false
91
+ },
92
+ "showMenu": {
93
+ "type": "string",
94
+ "mutable": false,
95
+ "complexType": {
96
+ "original": "VisibilityCondition",
97
+ "resolved": "VisibilityCondition.ALWAYS | VisibilityCondition.HOVER",
98
+ "references": {
99
+ "VisibilityCondition": {
100
+ "location": "import",
101
+ "path": "../../../../beans"
102
+ }
103
+ }
104
+ },
105
+ "required": false,
106
+ "optional": false,
107
+ "docs": {
108
+ "tags": [],
109
+ "text": "Enables the contextual menu.\nCan be set to \"hover\" or \"always\" to show the button only on cell hover or always.\nSet a nullish value to hide the menu button."
110
+ },
111
+ "attribute": "show-menu",
112
+ "reflect": true,
113
+ "defaultValue": "null"
114
+ },
115
+ "sticky": {
116
+ "type": "boolean",
117
+ "mutable": false,
118
+ "complexType": {
119
+ "original": "boolean",
120
+ "resolved": "boolean",
121
+ "references": {}
122
+ },
123
+ "required": false,
124
+ "optional": false,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": "Whether the cell should stick."
128
+ },
129
+ "attribute": "sticky",
130
+ "reflect": true,
131
+ "defaultValue": "false"
132
+ },
133
+ "sortDirection": {
134
+ "type": "string",
135
+ "mutable": true,
136
+ "complexType": {
137
+ "original": "SortDirection",
138
+ "resolved": "SortDirection.ASC | SortDirection.DESC",
139
+ "references": {
140
+ "SortDirection": {
141
+ "location": "import",
142
+ "path": "../../../../beans"
143
+ }
144
+ }
145
+ },
146
+ "required": false,
147
+ "optional": true,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": "Current sorting direction.\nSet `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon."
151
+ },
152
+ "attribute": "sort-direction",
153
+ "reflect": false
154
+ }
155
+ };
156
+ }
157
+ static get states() {
158
+ return {
159
+ "isMenuOpen": {}
160
+ };
161
+ }
162
+ static get events() {
163
+ return [{
164
+ "method": "sort",
165
+ "name": "sort",
166
+ "bubbles": true,
167
+ "cancelable": true,
168
+ "composed": true,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": "Sort event fired when the user clicks on the sort button.\nThe sorting logic must be implemented by the app.\nYou can set an `id` on the `z-th` to easly identify the column in the event listener."
172
+ },
173
+ "complexType": {
174
+ "original": "any",
175
+ "resolved": "any",
176
+ "references": {}
177
+ }
178
+ }];
179
+ }
180
+ static get elementRef() { return "host"; }
181
+ static get watchers() {
182
+ return [{
183
+ "propName": "colspan",
184
+ "methodName": "updateColspan"
185
+ }];
186
+ }
187
+ }
@@ -0,0 +1,88 @@
1
+ :host {
2
+ position: relative;
3
+ display: flex;
4
+ min-width: 128px;
5
+ box-sizing: border-box;
6
+ align-items: center;
7
+ padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));
8
+ background-color: var(--color-surface01);
9
+ gap: calc(var(--space-unit) * 2) var(--space-unit);
10
+ }
11
+
12
+ :host([sticky]) {
13
+ position: sticky;
14
+ z-index: 1;
15
+ top: 0;
16
+ left: 0;
17
+ box-shadow: 8px 0 16px -8px var(--shadow-color-base);
18
+ }
19
+
20
+ /* Leave the space for the menu button */
21
+ :host([show-menu])::after {
22
+ display: inline-block;
23
+ height: 100%;
24
+ margin-right: calc(var(--space-unit) * 4);
25
+ background: transparent;
26
+ content: "";
27
+ user-select: none;
28
+ }
29
+
30
+ .cell--menu-container {
31
+ position: absolute;
32
+ z-index: 1;
33
+ top: var(--space-unit);
34
+ right: var(--space-unit);
35
+ }
36
+
37
+ :host(:not([show-menu])) .cell--menu-container {
38
+ opacity: 0;
39
+ pointer-events: none;
40
+ }
41
+
42
+ :host(:is([show-menu], [menu-open])) .cell--menu-container,
43
+ :host([show-menu]) .cell--menu-container:focus-within {
44
+ opacity: 1;
45
+ pointer-events: all;
46
+ }
47
+
48
+ @media (min-width: 768px) and (hover: hover) {
49
+ :host([show-menu="hover"]) .cell--menu-container {
50
+ opacity: 0;
51
+ pointer-events: none;
52
+ }
53
+
54
+ :host([show-menu="hover"]:hover) .cell--menu-container {
55
+ opacity: 1;
56
+ pointer-events: all;
57
+ }
58
+ }
59
+
60
+
61
+ :host {
62
+ background-color: var(--color-surface02);
63
+ font-weight: var(--font-sb);
64
+ }
65
+
66
+ /* :host([sticky]) {
67
+ background-color: var(--color-surface02);
68
+ } */
69
+
70
+ :host([sortable]) {
71
+ cursor: pointer;
72
+ }
73
+
74
+ .z-th--sort-button {
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ padding: 0;
79
+ border: none;
80
+ margin-top: auto;
81
+ background-color: transparent;
82
+ cursor: pointer;
83
+ }
84
+
85
+ .z-th--sort-button:focus {
86
+ box-shadow: var(--shadow-focus-primary);
87
+ outline: none;
88
+ }
@@ -0,0 +1,115 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import "../z-thead/index";
3
+ import "../z-tbody/index";
4
+ import "../z-tr/index";
5
+ import "../z-tfoot/index";
6
+ /**
7
+ * ZTable component.
8
+ * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).
9
+ * @cssprop --z-table--cells-padding - Padding of the cells.
10
+ */
11
+ export class ZTable {
12
+ constructor() {
13
+ /**
14
+ * Whether the table cells should show a border between them.
15
+ */
16
+ this.bordered = false;
17
+ /**
18
+ * Whether the table contains some expandable rows.
19
+ */
20
+ this.expandable = false;
21
+ }
22
+ updateExpandable() {
23
+ this.expandable = this.host.querySelectorAll("z-tr[expandable]").length > 0;
24
+ }
25
+ /**
26
+ * Setup table:
27
+ * - create the resize observer for resize event
28
+ * - create mutation observer for expandable attribute
29
+ */
30
+ componentWillLoad() {
31
+ this.resizeObserver = new ResizeObserver(() => {
32
+ this.tableResize.emit(this);
33
+ });
34
+ this.resizeObserver.observe(this.host);
35
+ this.expandableMutationObserver = new MutationObserver(() => {
36
+ this.updateExpandable();
37
+ });
38
+ this.expandableMutationObserver.observe(this.host, {
39
+ childList: true,
40
+ subtree: true,
41
+ attributes: true,
42
+ attributeFilter: ["expandable"],
43
+ attributeOldValue: false,
44
+ });
45
+ }
46
+ disconnectedCallback() {
47
+ this.resizeObserver.disconnect();
48
+ this.expandableMutationObserver.disconnect();
49
+ }
50
+ render() {
51
+ return (h(Host, { expandable: this.expandable }, h("div", { class: "table", role: "table" }, h("slot", null))));
52
+ }
53
+ static get is() { return "z-table"; }
54
+ static get encapsulation() { return "shadow"; }
55
+ static get originalStyleUrls() {
56
+ return {
57
+ "$": ["styles.css"]
58
+ };
59
+ }
60
+ static get styleUrls() {
61
+ return {
62
+ "$": ["styles.css"]
63
+ };
64
+ }
65
+ static get properties() {
66
+ return {
67
+ "bordered": {
68
+ "type": "boolean",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "boolean",
72
+ "resolved": "boolean",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": "Whether the table cells should show a border between them."
80
+ },
81
+ "attribute": "bordered",
82
+ "reflect": true,
83
+ "defaultValue": "false"
84
+ }
85
+ };
86
+ }
87
+ static get states() {
88
+ return {
89
+ "expandable": {}
90
+ };
91
+ }
92
+ static get events() {
93
+ return [{
94
+ "method": "tableResize",
95
+ "name": "tableResize",
96
+ "bubbles": true,
97
+ "cancelable": true,
98
+ "composed": true,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": "Table emits its own resize event when it changes size, using a ResizeObserver.\nThis is convenient for sticky cells that needs to update styles when stuck."
102
+ },
103
+ "complexType": {
104
+ "original": "ZTable",
105
+ "resolved": "ZTable",
106
+ "references": {
107
+ "ZTable": {
108
+ "location": "global"
109
+ }
110
+ }
111
+ }
112
+ }];
113
+ }
114
+ static get elementRef() { return "host"; }
115
+ }
@@ -0,0 +1,22 @@
1
+ :host {
2
+ --z-table--cells-padding: calc(var(--space-unit) * 2);
3
+
4
+ position: relative;
5
+ display: block;
6
+ overflow: auto;
7
+ max-width: 100%;
8
+ box-sizing: border-box;
9
+ background-color: var(--color-surface01);
10
+ }
11
+
12
+ :host([expandable]) {
13
+ --z-table--expand-button-size: 40px;
14
+ }
15
+
16
+ :host([bordered]) {
17
+ --z-table--cell-left-border: 1px solid var(--color-surface03);
18
+ }
19
+
20
+ .table {
21
+ min-width: max-content;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * ZTbody component.
4
+ * @slot - ZTbody content (`z-tr`).
5
+ */
6
+ export class ZTbody {
7
+ render() {
8
+ return (h(Host, { role: "rowgroup" }, h("slot", null)));
9
+ }
10
+ static get is() { return "z-tbody"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["styles.css"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["styles.css"]
20
+ };
21
+ }
22
+ }
@@ -0,0 +1,4 @@
1
+ :host {
2
+ display: block;
3
+ box-sizing: border-box;
4
+ }
@@ -0,0 +1,50 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * ZTFoot component.
4
+ * @slot - ZTFoot content (`z-tr`).
5
+ */
6
+ export class ZTfoot {
7
+ constructor() {
8
+ /**
9
+ * If true, the footer will be stuck to the bottom of the table.
10
+ */
11
+ this.sticky = false;
12
+ }
13
+ render() {
14
+ return (h(Host, { role: "rowgroup" }, h("slot", null)));
15
+ }
16
+ static get is() { return "z-tfoot"; }
17
+ static get encapsulation() { return "shadow"; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["styles.css"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["styles.css"]
26
+ };
27
+ }
28
+ static get properties() {
29
+ return {
30
+ "sticky": {
31
+ "type": "boolean",
32
+ "mutable": false,
33
+ "complexType": {
34
+ "original": "boolean",
35
+ "resolved": "boolean",
36
+ "references": {}
37
+ },
38
+ "required": false,
39
+ "optional": false,
40
+ "docs": {
41
+ "tags": [],
42
+ "text": "If true, the footer will be stuck to the bottom of the table."
43
+ },
44
+ "attribute": "sticky",
45
+ "reflect": true,
46
+ "defaultValue": "false"
47
+ }
48
+ };
49
+ }
50
+ }
@@ -0,0 +1,13 @@
1
+ :host {
2
+ display: block;
3
+ box-sizing: border-box;
4
+ border-top: 1px solid var(--color-surface03);
5
+ border-bottom: 1px solid var(--color-surface03);
6
+ }
7
+
8
+ :host([sticky]) {
9
+ position: sticky;
10
+ z-index: 1;
11
+ bottom: 0;
12
+ background-color: var(--color-surface01);
13
+ }
@@ -0,0 +1,50 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * ZThead component.
4
+ * @slot - ZThead content (`z-tr`).
5
+ */
6
+ export class ZThead {
7
+ constructor() {
8
+ /**
9
+ * If true, the header will be stuck to the top of the table.
10
+ */
11
+ this.sticky = false;
12
+ }
13
+ render() {
14
+ return (h(Host, { role: "rowgroup" }, h("slot", null)));
15
+ }
16
+ static get is() { return "z-thead"; }
17
+ static get encapsulation() { return "shadow"; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["styles.css"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["styles.css"]
26
+ };
27
+ }
28
+ static get properties() {
29
+ return {
30
+ "sticky": {
31
+ "type": "boolean",
32
+ "mutable": false,
33
+ "complexType": {
34
+ "original": "boolean",
35
+ "resolved": "boolean",
36
+ "references": {}
37
+ },
38
+ "required": false,
39
+ "optional": false,
40
+ "docs": {
41
+ "tags": [],
42
+ "text": "If true, the header will be stuck to the top of the table."
43
+ },
44
+ "attribute": "sticky",
45
+ "reflect": true,
46
+ "defaultValue": "false"
47
+ }
48
+ };
49
+ }
50
+ }
@@ -0,0 +1,19 @@
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
+ --z-table--cells-background: var(
7
+ --color-surface02
8
+ ); /* Needed to handle the background-color of the expand button cell */
9
+
10
+ display: block;
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ :host([sticky]) {
15
+ position: sticky;
16
+ z-index: 2;
17
+ top: 0;
18
+ box-shadow: 0 2px 4px -2px var(--shadow-color-base);
19
+ }