@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
@@ -1,15 +1,2 @@
1
- import { r as registerInstance, h } from './index-a2ca4b97.js';
2
-
3
- const stylesCss = ".sc-z-table-sticky-footer-h{position:sticky;left:0;display:block;padding:var(--basex2);border-width:var(--border-size-small) 0 var(--border-base);border-style:solid;border-color:var(--gray200);background-color:var(--bg-white);font-weight:var(--font-rg)}";
4
-
5
- const ZTableStickyFooter = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return h("slot", null);
11
- }
12
- };
13
- ZTableStickyFooter.style = stylesCss;
14
-
15
- export { ZTableStickyFooter as z_table_sticky_footer };
1
+ export { Z as z_table_sticky_footer } from './index-1ae1c122.js';
2
+ import './index-a2ca4b97.js';
@@ -1,74 +1,60 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { B as ButtonVariant, d as ButtonSize } from './index-7e4df1be.js';
3
- import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
2
+ import './index-6d83248c.js';
3
+ import './index-f171ca51.js';
4
+ import './index-a66b7e8a.js';
5
+ import './index-8c7b48bc.js';
6
+ import './utils-d7278f26.js';
7
+ import './index-9c5d63ea.js';
8
+ import './breakpoints-9b81eb1b.js';
9
+ import './index-77b7d7ae.js';
10
+ import './index-fff6ed17.js';
4
11
 
5
- const stylesCss = "z-table{display:block;width:100%;background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg);overflow-x:auto}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--dashboard-font)}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
12
+ const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";
6
13
 
7
14
  const ZTable = class {
8
15
  constructor(hostRef) {
9
16
  registerInstance(this, hostRef);
10
- this.callToAction = createEvent(this, "callToAction", 7);
11
- this.callToActionTwo = createEvent(this, "callToActionTwo", 7);
12
- /** Error message */
13
- this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
14
- /** Sets table with border */
17
+ this.tableResize = createEvent(this, "tableResize", 7);
18
+ /**
19
+ * Whether the table cells should show a border between them.
20
+ */
15
21
  this.bordered = false;
16
- /** Sets first column sticky */
17
- this.columnSticky = false;
18
- /** Sets empty table */
19
- this.empty = false;
20
- /** Set error status */
21
- this.error = false;
22
- /** Sets header sticky */
23
- this.headerSticky = false;
24
- /** Set message */
25
- this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
26
- /** Set subtitle */
27
- this.subtitle = "";
28
- }
29
- handleResize() {
30
- this.isMobile = window.innerWidth <= mobileBreakpoint;
31
- }
32
- handleOrientationChange() {
33
- this.isMobile = screen.width <= mobileBreakpoint;
34
- }
22
+ /**
23
+ * Whether the table contains some expandable rows.
24
+ */
25
+ this.expandable = false;
26
+ }
27
+ updateExpandable() {
28
+ this.expandable = this.host.querySelectorAll("z-tr[expandable]").length > 0;
29
+ }
30
+ /**
31
+ * Setup table:
32
+ * - create the resize observer for resize event
33
+ * - create mutation observer for expandable attribute
34
+ */
35
35
  componentWillLoad() {
36
- var _a;
37
- this.isMobile = window.innerWidth <= mobileBreakpoint;
38
- const tableBody = this.host.querySelector('[slot="table-body"]');
39
- this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
40
- if (!!tableBody && !this.hasTableBody) {
41
- tableBody.remove();
42
- }
43
- }
44
- componentWillRender() {
45
- this.host.setAttribute("role", "table");
46
- }
47
- renderError(tableClass) {
48
- const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
49
- return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("span", { class: "body-3-sb error-message" }, this.errorMessage), h("slot", { name: "error-action" }))))));
50
- }
51
- renderEmpty(tableClass) {
52
- const buttonSize = this.isMobile ? ButtonSize.SMALL : ButtonSize.BIG;
53
- const tableContentClass = `${this.hasTableBody ? "table-content" : ""}`;
54
- if (this.hasTableBody) {
55
- return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" }), h("div", { class: tableContentClass }, h("slot", { name: "table-body" }), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
56
- }
57
- return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
36
+ this.resizeObserver = new ResizeObserver(() => {
37
+ this.tableResize.emit(this);
38
+ });
39
+ this.resizeObserver.observe(this.host);
40
+ this.expandableMutationObserver = new MutationObserver(() => {
41
+ this.updateExpandable();
42
+ });
43
+ this.expandableMutationObserver.observe(this.host, {
44
+ childList: true,
45
+ subtree: true,
46
+ attributes: true,
47
+ attributeFilter: ["expandable"],
48
+ attributeOldValue: false,
49
+ });
50
+ }
51
+ disconnectedCallback() {
52
+ this.resizeObserver.disconnect();
53
+ this.expandableMutationObserver.disconnect();
58
54
  }
59
55
  render() {
60
- const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
61
- ${this.columnSticky ? "table-column-sticky" : ""}
62
- ${this.headerSticky ? "table-header-sticky" : ""}`;
63
- if (this.error) {
64
- return this.renderError(tableClass);
65
- }
66
- if (this.empty) {
67
- return this.renderEmpty(tableClass);
68
- }
69
- return (h(Host, null, h("div", { class: tableClass }, h("slot", null)), h("slot", { name: "sticky-footer" })));
56
+ return (h(Host, { expandable: this.expandable }, h("div", { class: "table", role: "table" }, h("slot", null))));
70
57
  }
71
- static get assetsDirs() { return ["assets"]; }
72
58
  get host() { return getElement(this); }
73
59
  };
74
60
  ZTable.style = stylesCss;
@@ -0,0 +1,2 @@
1
+ export { Z as z_tbody } from './index-f171ca51.js';
2
+ import './index-a2ca4b97.js';
@@ -0,0 +1,3 @@
1
+ export { Z as z_td } from './index-77b7d7ae.js';
2
+ import './index-a2ca4b97.js';
3
+ import './index-9c5d63ea.js';
@@ -0,0 +1,2 @@
1
+ export { Z as z_tfoot } from './index-8c7b48bc.js';
2
+ import './index-a2ca4b97.js';
@@ -0,0 +1,3 @@
1
+ export { Z as z_th } from './index-fff6ed17.js';
2
+ import './index-a2ca4b97.js';
3
+ import './index-9c5d63ea.js';
@@ -0,0 +1,2 @@
1
+ export { Z as z_thead } from './index-6d83248c.js';
2
+ import './index-a2ca4b97.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
2
- import { u as ToastNotificationPosition } from './index-7e4df1be.js';
2
+ import { t as ToastNotificationPosition } from './index-9c5d63ea.js';
3
3
 
4
4
  const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { t as ToastNotificationTransition } from './index-7e4df1be.js';
2
+ import { s as ToastNotificationTransition } from './index-9c5d63ea.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
4
4
  import { h as hammer } from './hammer-c3266b17.js';
5
5
  import './_commonjsHelpers-9943807e.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
2
- import { r as randomId } from './utils-825aed23.js';
3
- import { l as LabelPosition } from './index-7e4df1be.js';
2
+ import { r as randomId } from './utils-d7278f26.js';
3
+ import { k as LabelPosition } from './index-9c5d63ea.js';
4
4
  import './breakpoints-9b81eb1b.js';
5
5
 
6
6
  const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-a2ca4b97.js';
2
- import { P as PopoverPosition } from './index-7e4df1be.js';
2
+ import { P as PopoverPosition } from './index-9c5d63ea.js';
3
3
 
4
4
  const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
5
5
 
@@ -0,0 +1,7 @@
1
+ export { Z as z_tr } from './index-a66b7e8a.js';
2
+ import './index-a2ca4b97.js';
3
+ import './utils-d7278f26.js';
4
+ import './index-9c5d63ea.js';
5
+ import './breakpoints-9b81eb1b.js';
6
+ import './index-77b7d7ae.js';
7
+ import './index-fff6ed17.js';
@@ -185,8 +185,7 @@ export declare enum DividerOrientation {
185
185
  }
186
186
  export declare enum SortDirection {
187
187
  ASC = "asc",
188
- DESC = "desc",
189
- NONE = "none"
188
+ DESC = "desc"
190
189
  }
191
190
  export declare enum AvatarSize {
192
191
  SMALL = "small",
@@ -199,13 +198,6 @@ export declare enum ListSize {
199
198
  LARGE = "large",
200
199
  X_LARGE = "x-large"
201
200
  }
202
- export declare enum Size {
203
- X_SMALL = "x-small",
204
- SMALL = "small",
205
- MEDIUM = "medium",
206
- LARGE = "large",
207
- SPECIAL = "special"
208
- }
209
201
  export declare enum ExpandableListStyle {
210
202
  ACCORDION = "accordion",
211
203
  MENU = "menu"
@@ -392,3 +384,7 @@ export declare enum BreadcrumbHomepageVariant {
392
384
  TEXT = "text",
393
385
  ICON = "icon"
394
386
  }
387
+ export declare enum VisibilityCondition {
388
+ HOVER = "hover",
389
+ ALWAYS = "always"
390
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter } from "../../../../stencil-public-runtime";
2
+ import { VisibilityCondition } from "../../../../beans";
3
+ /**
4
+ * ZTd component.
5
+ * @slot - ZTd content.
6
+ */
7
+ export declare class ZTd {
8
+ host: HTMLZTdElement;
9
+ /**
10
+ * Number of columns that the cell should span.
11
+ */
12
+ colspan: number;
13
+ /**
14
+ * Whether the cell should stick.
15
+ */
16
+ sticky: boolean;
17
+ /**
18
+ * Enables the contextual menu.
19
+ * Can be set to "hover" or "always" to show the button only on cell hover or always.
20
+ * Set a nullish value to hide the menu button.
21
+ */
22
+ showMenu: VisibilityCondition;
23
+ /**
24
+ * Store the open state of the menu.
25
+ */
26
+ isMenuOpen: boolean;
27
+ private menuTrigger;
28
+ private popoverEl;
29
+ /**
30
+ * Emitted when the value of the `colspan` changes.
31
+ */
32
+ colspanChange: EventEmitter<number>;
33
+ protected updateColspan(): void;
34
+ componentWillLoad(): void;
35
+ render(): HTMLZTdElement;
36
+ }
@@ -0,0 +1,52 @@
1
+ import { SortDirection, VisibilityCondition } from "../../../../beans";
2
+ /**
3
+ * ZTh component.
4
+ * @slot - ZTh content.
5
+ * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.
6
+ */
7
+ export declare class ZTh {
8
+ host: HTMLZThElement;
9
+ /**
10
+ * Number of columns that the cell should span.
11
+ */
12
+ colspan: number;
13
+ /**
14
+ * Enables the contextual menu.
15
+ * Can be set to "hover" or "always" to show the button only on cell hover or always.
16
+ * Set a nullish value to hide the menu button.
17
+ */
18
+ showMenu: VisibilityCondition;
19
+ /**
20
+ * Whether the cell should stick.
21
+ */
22
+ sticky: boolean;
23
+ /**
24
+ * Current sorting direction.
25
+ * Set `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon.
26
+ */
27
+ sortDirection?: SortDirection;
28
+ /**
29
+ * Store the open state of the menu.
30
+ */
31
+ isMenuOpen: boolean;
32
+ /**
33
+ * Sort event fired when the user clicks on the sort button.
34
+ * The sorting logic must be implemented by the app.
35
+ * You can set an `id` on the `z-th` to easly identify the column in the event listener.
36
+ */
37
+ private sort;
38
+ private menuTrigger;
39
+ private popoverEl;
40
+ /**
41
+ * Get the value to set to the `aria-sort` attribute based on the current sort direction.
42
+ */
43
+ private get ariaSortDirection();
44
+ /**
45
+ * Handle the click on the sort button.
46
+ * @fires sort
47
+ */
48
+ private handleSort;
49
+ protected updateColspan(): void;
50
+ componentWillLoad(): void;
51
+ render(): HTMLZThElement;
52
+ }
@@ -0,0 +1,37 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
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 declare class ZTable {
12
+ host: HTMLZTableElement;
13
+ /**
14
+ * Whether the table cells should show a border between them.
15
+ */
16
+ bordered: boolean;
17
+ /**
18
+ * Whether the table contains some expandable rows.
19
+ */
20
+ expandable: boolean;
21
+ private updateExpandable;
22
+ /**
23
+ * Table emits its own resize event when it changes size, using a ResizeObserver.
24
+ * This is convenient for sticky cells that needs to update styles when stuck.
25
+ */
26
+ tableResize: EventEmitter<ZTable>;
27
+ private resizeObserver;
28
+ private expandableMutationObserver;
29
+ /**
30
+ * Setup table:
31
+ * - create the resize observer for resize event
32
+ * - create mutation observer for expandable attribute
33
+ */
34
+ componentWillLoad(): void;
35
+ disconnectedCallback(): void;
36
+ render(): HTMLZTableElement;
37
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * ZTbody component.
3
+ * @slot - ZTbody content (`z-tr`).
4
+ */
5
+ export declare class ZTbody {
6
+ render(): HTMLZTbodyElement;
7
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ZTFoot component.
3
+ * @slot - ZTFoot content (`z-tr`).
4
+ */
5
+ export declare class ZTfoot {
6
+ /**
7
+ * If true, the footer will be stuck to the bottom of the table.
8
+ */
9
+ sticky: boolean;
10
+ render(): void;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ZThead component.
3
+ * @slot - ZThead content (`z-tr`).
4
+ */
5
+ export declare class ZThead {
6
+ /**
7
+ * If true, the header will be stuck to the top of the table.
8
+ */
9
+ sticky: boolean;
10
+ render(): HTMLZTheadElement;
11
+ }
@@ -0,0 +1,41 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import "../cells/z-td/index";
3
+ import "../cells/z-th/index";
4
+ /**
5
+ * ZTr component.
6
+ * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row
7
+ * to prevent the row from expanding.
8
+ * @slot - ZTr content (`z-td` or `z-th`).
9
+ */
10
+ export declare class ZTr {
11
+ host: HTMLZTrElement;
12
+ /**
13
+ * Whether the row is expandable.
14
+ * Use a `z-td` as the last cell of the row for the additional content.
15
+ * It will show a button to expand/collapse the row.
16
+ * The last cell will be hidden until the button or row is clicked.
17
+ *
18
+ * If some element inside the expandable row contains the `prevent-expand` css class,
19
+ * the row will not expand by clicking that element.
20
+ */
21
+ expandable: boolean;
22
+ /**
23
+ * Whether the row is currently expanded.
24
+ */
25
+ expanded: boolean;
26
+ /**
27
+ * HTML Id of the expandable content.
28
+ * It is used to link the button to the content through the `aria-controls` attribute.
29
+ */
30
+ expandableContentId: string;
31
+ /** Row has been expanded */
32
+ expand: EventEmitter;
33
+ protected updateColumns(): void;
34
+ /**
35
+ * Handle click on row.
36
+ * Skip expansion if the click is on a element with `prevent-expand` css class.
37
+ */
38
+ private onRowClick;
39
+ componentWillLoad(): void;
40
+ render(): HTMLZTrElement;
41
+ }