@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,32 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
+ import { B as ButtonVariant, d as ButtonSize } from './index-9c5d63ea.js';
3
+
4
+ const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}";
5
+
6
+ const ZTableCell = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ /** Set padding size of cell, if special 0px padding will be set */
10
+ this.padding = "medium";
11
+ this.isMenuOpened = false;
12
+ }
13
+ handleMenu() {
14
+ this.isMenuOpened = !this.isMenuOpened;
15
+ }
16
+ componentWillRender() {
17
+ this.host.setAttribute("role", "cell");
18
+ }
19
+ render() {
20
+ return (h(Host, null, this.showButton && (h("div", { class: {
21
+ "button-container": true,
22
+ "visible": this.isMenuOpened,
23
+ } }, h("div", { class: "button-content" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenu() }), h("div", { class: {
24
+ "contextual-menu-container": true,
25
+ "visible": this.isMenuOpened,
26
+ } }, h("slot", { name: "contextual-menu" }))))), h("slot", null)));
27
+ }
28
+ get host() { return getElement(this); }
29
+ };
30
+ ZTableCell.style = stylesCss;
31
+
32
+ export { ZTableCell as Z };
@@ -0,0 +1,20 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
4
+
5
+ const ZTableBody = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ componentWillRender() {
10
+ this.host.setAttribute("role", "rowgroup");
11
+ Array.from(this.host.children).forEach((child, index) => child.setAttribute("aria-rowindex", `${index}`));
12
+ }
13
+ render() {
14
+ return h("slot", null);
15
+ }
16
+ get host() { return getElement(this); }
17
+ };
18
+ ZTableBody.style = stylesCss;
19
+
20
+ export { ZTableBody as Z };
@@ -0,0 +1,27 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";
4
+
5
+ const ZTableEmptyBox = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** Sets main title message*/
9
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare.";
10
+ /** Sets message */
11
+ this.subtitle = "";
12
+ }
13
+ componentWillLoad() {
14
+ this.hasCta1Slot = !!this.hostElement.querySelector('[slot="cta1"]');
15
+ this.hasCta2Slot = !!this.hostElement.querySelector('[slot="cta2"]');
16
+ }
17
+ render() {
18
+ return (h(Host, null, h("span", { class: "body-3-sb" }, this.message), h("br", null), !!this.subtitle && h("span", { class: "body-4" }, this.subtitle), (!!this.hasCta1Slot || !!this.hasCta2Slot) && (h("div", { class: {
19
+ "cta": true,
20
+ "has-2-cta": !!this.hasCta1Slot && !!this.hasCta2Slot,
21
+ } }, h("slot", { name: "cta1" }), h("slot", { name: "cta2" })))));
22
+ }
23
+ get hostElement() { return getElement(this); }
24
+ };
25
+ ZTableEmptyBox.style = stylesCss;
26
+
27
+ export { ZTableEmptyBox as Z };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-surface02\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";
4
+
5
+ const ZThead = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
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
+ };
17
+ ZThead.style = stylesCss;
18
+
19
+ export { ZThead as Z };
@@ -0,0 +1,47 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
+ import { B as ButtonVariant, e as ControlSize } from './index-9c5d63ea.js';
3
+
4
+ const stylesCss = ":host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:\"\";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}";
5
+
6
+ const ZTd = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.colspanChange = createEvent(this, "colspanChange", 6);
10
+ /**
11
+ * Whether the cell should stick.
12
+ */
13
+ this.sticky = false;
14
+ /**
15
+ * Enables the contextual menu.
16
+ * Can be set to "hover" or "always" to show the button only on cell hover or always.
17
+ * Set a nullish value to hide the menu button.
18
+ */
19
+ this.showMenu = null;
20
+ /**
21
+ * Store the open state of the menu.
22
+ */
23
+ this.isMenuOpen = false;
24
+ }
25
+ updateColspan() {
26
+ if (this.colspan) {
27
+ this.host.style.gridColumn = `span ${this.colspan}`;
28
+ }
29
+ else {
30
+ this.host.style.removeProperty("grid-column");
31
+ }
32
+ this.colspanChange.emit(this.colspan || 1);
33
+ }
34
+ componentWillLoad() {
35
+ this.updateColspan();
36
+ }
37
+ render() {
38
+ return (h(Host, { role: "cell", "menu-open": this.isMenuOpen }, h("slot", null), this.showMenu && (h("div", { class: "cell--menu-container prevent-expand" }, 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" }))))));
39
+ }
40
+ get host() { return getElement(this); }
41
+ static get watchers() { return {
42
+ "colspan": ["updateColspan"]
43
+ }; }
44
+ };
45
+ ZTd.style = stylesCss;
46
+
47
+ export { ZTd as Z };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ":host{display:none;background-color:var(--gray50)}:host>td>div.content-container{margin-bottom:calc(var(--space-unit) / 2);box-shadow:var(--shadow-2)}";
4
+
5
+ const ZTableExpandedRow = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h("td", { colSpan: this.colSpan }, h("div", { class: "content-container" }, h("slot", null))));
11
+ }
12
+ };
13
+ ZTableExpandedRow.style = stylesCss;
14
+
15
+ export { ZTableExpandedRow as Z };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ":host{display:block;box-sizing:border-box;border-top:1px solid var(--color-surface03);border-bottom:1px solid var(--color-surface03)}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}";
4
+
5
+ const ZTfoot = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
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
+ };
17
+ ZTfoot.style = stylesCss;
18
+
19
+ export { ZTfoot as Z };
@@ -134,7 +134,6 @@ var SortDirection;
134
134
  (function (SortDirection) {
135
135
  SortDirection["ASC"] = "asc";
136
136
  SortDirection["DESC"] = "desc";
137
- SortDirection["NONE"] = "none";
138
137
  })(SortDirection || (SortDirection = {}));
139
138
  var AvatarSize;
140
139
  (function (AvatarSize) {
@@ -149,14 +148,6 @@ var ListSize;
149
148
  ListSize["LARGE"] = "large";
150
149
  ListSize["X_LARGE"] = "x-large";
151
150
  })(ListSize || (ListSize = {}));
152
- var Size;
153
- (function (Size) {
154
- Size["X_SMALL"] = "x-small";
155
- Size["SMALL"] = "small";
156
- Size["MEDIUM"] = "medium";
157
- Size["LARGE"] = "large";
158
- Size["SPECIAL"] = "special";
159
- })(Size || (Size = {}));
160
151
  var ExpandableListStyle;
161
152
  (function (ExpandableListStyle) {
162
153
  ExpandableListStyle["ACCORDION"] = "accordion";
@@ -334,5 +325,10 @@ var BreadcrumbHomepageVariant;
334
325
  BreadcrumbHomepageVariant["TEXT"] = "text";
335
326
  BreadcrumbHomepageVariant["ICON"] = "icon";
336
327
  })(BreadcrumbHomepageVariant || (BreadcrumbHomepageVariant = {}));
328
+ var VisibilityCondition;
329
+ (function (VisibilityCondition) {
330
+ VisibilityCondition["HOVER"] = "hover";
331
+ VisibilityCondition["ALWAYS"] = "always";
332
+ })(VisibilityCondition || (VisibilityCondition = {}));
337
333
 
338
- export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E, ZDatePickerMode as F, ZDatePickerModeValue as G, ZDatePickerPosition as H, InputType as I, ZRangePickerMode as J, KeyboardKeyCode as K, LicenseType as L, InfoRevealPosition as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, CoverHeroVariant as Q, CoverHeroContentPosition as R, SortDirection as S, ThemeVariant as T, CarouselArrowsPosition as U, CarouselProgressMode as V, BreadcrumbPathStyle as W, BreadcrumbHomepageVariant as X, ZTableRowExpandedType as Z, NavigationTabsSize as a, NavigationTabsKeyboardEvents as b, ButtonType as c, ButtonSize as d, ControlSize as e, InputStatus as f, KeyboardCode as g, DividerOrientation as h, ListSize as i, Size as j, ExpandableListButtonAlign as k, LabelPosition as l, ListDividerType as m, ListType as n, NotificationType as o, AlertType as p, Device as q, PocketStatus as r, ToastNotification as s, ToastNotificationTransition as t, ToastNotificationPosition as u, ZAriaAlertMode as v, TransitionDirection as w, ZFileUploadType as x, ZChipType as y, ZSectionTitleDividerPosition as z };
334
+ export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E, ZDatePickerModeValue as F, ZDatePickerPosition as G, ZRangePickerMode as H, InputType as I, InfoRevealPosition as J, KeyboardKeyCode as K, LicenseType as L, CoverHeroVariant as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, CoverHeroContentPosition as Q, CarouselArrowsPosition as R, SortDirection as S, ThemeVariant as T, CarouselProgressMode as U, BreadcrumbPathStyle as V, BreadcrumbHomepageVariant as W, VisibilityCondition as X, ZTableRowExpandedType as Z, NavigationTabsSize as a, NavigationTabsKeyboardEvents as b, ButtonType as c, ButtonSize as d, ControlSize as e, InputStatus as f, KeyboardCode as g, DividerOrientation as h, ListSize as i, ExpandableListButtonAlign as j, LabelPosition as k, ListDividerType as l, ListType as m, NotificationType as n, AlertType as o, Device as p, PocketStatus as q, ToastNotification as r, ToastNotificationTransition as s, ToastNotificationPosition as t, ZAriaAlertMode as u, TransitionDirection as v, ZFileUploadType as w, ZChipType as x, ZSectionTitleDividerPosition as y, ZDatePickerMode as z };
@@ -2080,6 +2080,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2080
2080
  return import(
2081
2081
  /* webpackMode: "lazy" */
2082
2082
  './z-table-body.entry.js').then(processMod, consoleError);
2083
+ case 'z-table-deprecated':
2084
+ return import(
2085
+ /* webpackMode: "lazy" */
2086
+ './z-table-deprecated.entry.js').then(processMod, consoleError);
2083
2087
  case 'z-table-expanded-row':
2084
2088
  return import(
2085
2089
  /* webpackMode: "lazy" */
@@ -2108,6 +2112,26 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2108
2112
  return import(
2109
2113
  /* webpackMode: "lazy" */
2110
2114
  './z-tag.entry.js').then(processMod, consoleError);
2115
+ case 'z-tbody':
2116
+ return import(
2117
+ /* webpackMode: "lazy" */
2118
+ './z-tbody.entry.js').then(processMod, consoleError);
2119
+ case 'z-td':
2120
+ return import(
2121
+ /* webpackMode: "lazy" */
2122
+ './z-td.entry.js').then(processMod, consoleError);
2123
+ case 'z-tfoot':
2124
+ return import(
2125
+ /* webpackMode: "lazy" */
2126
+ './z-tfoot.entry.js').then(processMod, consoleError);
2127
+ case 'z-th':
2128
+ return import(
2129
+ /* webpackMode: "lazy" */
2130
+ './z-th.entry.js').then(processMod, consoleError);
2131
+ case 'z-thead':
2132
+ return import(
2133
+ /* webpackMode: "lazy" */
2134
+ './z-thead.entry.js').then(processMod, consoleError);
2111
2135
  case 'z-toast-notification':
2112
2136
  return import(
2113
2137
  /* webpackMode: "lazy" */
@@ -2128,6 +2152,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2128
2152
  return import(
2129
2153
  /* webpackMode: "lazy" */
2130
2154
  './z-tooltip.entry.js').then(processMod, consoleError);
2155
+ case 'z-tr':
2156
+ return import(
2157
+ /* webpackMode: "lazy" */
2158
+ './z-tr.entry.js').then(processMod, consoleError);
2131
2159
  case 'z-visually-hidden':
2132
2160
  return import(
2133
2161
  /* webpackMode: "lazy" */
@@ -0,0 +1,65 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
+ import { r as randomId } from './utils-d7278f26.js';
3
+ import './index-77b7d7ae.js';
4
+ import './index-fff6ed17.js';
5
+
6
+ const stylesCss = ":host{--columns:1;display:grid;min-width:max-content;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-surface02)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";
7
+
8
+ const ZTr = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.expand = createEvent(this, "expand", 7);
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
+ this.expandable = false;
22
+ /**
23
+ * Whether the row is currently expanded.
24
+ */
25
+ this.expanded = false;
26
+ }
27
+ updateColumns() {
28
+ const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
29
+ if (this.expandable) {
30
+ cells.pop();
31
+ }
32
+ const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
33
+ this.host.style.setProperty("--columns", `${columns}`);
34
+ if (this.expandable) {
35
+ const expandableContent = cells.pop();
36
+ expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
37
+ this.expandableContentId = expandableContent.id;
38
+ }
39
+ }
40
+ /**
41
+ * Handle click on row.
42
+ * Skip expansion if the click is on a element with `prevent-expand` css class.
43
+ */
44
+ onRowClick(event) {
45
+ const preventExpand = event.target.closest(".prevent-expand");
46
+ if (!this.expandable || preventExpand) {
47
+ return;
48
+ }
49
+ this.expanded = !this.expanded;
50
+ this.expand.emit({ expanded: this.expanded });
51
+ }
52
+ componentWillLoad() {
53
+ this.updateColumns();
54
+ }
55
+ render() {
56
+ return (h(Host, { role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { class: "z-tr--expand-button-container" }, this.expandable && (h("button", { "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { onSlotchange: this.updateColumns.bind(this) })));
57
+ }
58
+ get host() { return getElement(this); }
59
+ static get watchers() { return {
60
+ "expandable": ["updateColumns"]
61
+ }; }
62
+ };
63
+ ZTr.style = stylesCss;
64
+
65
+ export { ZTr as Z };
@@ -0,0 +1,77 @@
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, P as PopoverPosition } from './index-9c5d63ea.js';
3
+ import { d as getElementTree } from './utils-d7278f26.js';
4
+
5
+ const stylesCss = ":host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}";
6
+
7
+ const ZTableHeader = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.sort = createEvent(this, "sort", 7);
11
+ /** Set padding size of cell, if special 0px padding will be set */
12
+ this.padding = "medium";
13
+ /** [Optional] Default sort order */
14
+ this.defaultSortDirection = "asc";
15
+ /** Sort direction */
16
+ this.sortDirection = "none";
17
+ this.emitOnSort = this.emitOnSort.bind(this);
18
+ }
19
+ emitOnSort() {
20
+ this.sort.emit({
21
+ columnId: this.columnId,
22
+ sortDirection: this.sortDirection,
23
+ });
24
+ }
25
+ handleSort() {
26
+ if (!this.sortable) {
27
+ return;
28
+ }
29
+ this.sortDirection = (() => {
30
+ switch (this.sortDirection) {
31
+ case "asc":
32
+ return "desc";
33
+ case "desc":
34
+ return "asc";
35
+ case "none":
36
+ return this.defaultSortDirection;
37
+ default:
38
+ return "none";
39
+ }
40
+ })();
41
+ this.emitOnSort();
42
+ }
43
+ handleMenuClick() {
44
+ this.popover.open = !this.popover.open;
45
+ }
46
+ handleOutsideClick(e) {
47
+ const tree = getElementTree(e.target);
48
+ const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
49
+ if (!parent && this.popover) {
50
+ this.popover.open = false;
51
+ }
52
+ }
53
+ handleClickHeaders(e) {
54
+ const target = e.target;
55
+ const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-table-header");
56
+ if (!this.sortable || !parent) {
57
+ return;
58
+ }
59
+ const parentColumnId = parent.attributes.getNamedItem("column-id").value;
60
+ const isSortable = target.parentNode.sortable || target.sortable;
61
+ if (parentColumnId !== this.columnId && isSortable) {
62
+ this.sortDirection = "none";
63
+ }
64
+ }
65
+ componentWillRender() {
66
+ this.host.setAttribute("role", "columnheader");
67
+ }
68
+ render() {
69
+ return (h(Host, { class: {
70
+ sortable: this.sortable,
71
+ }, onClick: () => this.handleSort() }, h("div", { class: "container" }, h("slot", null), this.sortable && this.sortDirection !== "none" && (h("z-icon", { name: this.sortDirection === "asc" ? "arrow-up" : "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: "popover-container" }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPosition.BOTTOM, center: true, bindTo: this.triggerButton }, h("div", null, h("slot", { name: "contextual-menu" })))))));
72
+ }
73
+ get host() { return getElement(this); }
74
+ };
75
+ ZTableHeader.style = stylesCss;
76
+
77
+ export { ZTableHeader as Z };
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
4
+
5
+ const ZTableHeaderRow = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ renderExpandHeader() {
10
+ return h("z-table-header", null);
11
+ }
12
+ render() {
13
+ return (h(Host, { role: "row" }, this.expandable && this.renderExpandHeader(), h("slot", null)));
14
+ }
15
+ };
16
+ ZTableHeaderRow.style = stylesCss;
17
+
18
+ export { ZTableHeaderRow as Z };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ":host{display:block;box-sizing:border-box}";
4
+
5
+ const ZTbody = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h(Host, { role: "rowgroup" }, h("slot", null)));
11
+ }
12
+ };
13
+ ZTbody.style = stylesCss;
14
+
15
+ export { ZTbody as Z };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
2
+
3
+ const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
4
+
5
+ const ZTableFooter = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ componentWillRender() {
10
+ this.host.setAttribute("role", "rowgroup");
11
+ }
12
+ render() {
13
+ return h("slot", null);
14
+ }
15
+ get host() { return getElement(this); }
16
+ };
17
+ ZTableFooter.style = stylesCss;
18
+
19
+ export { ZTableFooter as Z };
@@ -0,0 +1,68 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
+ import { S as SortDirection, B as ButtonVariant, e as ControlSize } from './index-9c5d63ea.js';
3
+
4
+ const stylesCss = ":host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:\"\";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-menu=\"hover\"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu=\"hover\"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}:host{background-color:var(--color-surface02);font-weight:var(--font-sb)}:host([sortable]){cursor:pointer}.z-th--sort-button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin-top:auto;background-color:transparent;cursor:pointer}.z-th--sort-button:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
5
+
6
+ const ZTh = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.sort = createEvent(this, "sort", 7);
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
+ get host() { return getElement(this); }
62
+ static get watchers() { return {
63
+ "colspan": ["updateColspan"]
64
+ }; }
65
+ };
66
+ ZTh.style = stylesCss;
67
+
68
+ export { ZTh as Z };
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as colorFromId } from './utils-825aed23.js';
2
- export { p as AlertType, A as AvatarSize, X as BreadcrumbHomepageVariant, W as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, U as CarouselArrowsPosition, V as CarouselProgressMode, e as ControlSize, R as CoverHeroContentPosition, Q as CoverHeroVariant, q as Device, h as DividerOrientation, D as DividerSize, k as ExpandableListButtonAlign, E as ExpandableListStyle, M as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, l as LabelPosition, L as LicenseType, m as ListDividerType, i as ListSize, n as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, o as NotificationType, O as OffCanvasVariant, r as PocketStatus, P as PopoverPosition, j as Size, S as SortDirection, T as ThemeVariant, s as ToastNotification, u as ToastNotificationPosition, t as ToastNotificationTransition, w as TransitionDirection, v as ZAriaAlertMode, y as ZChipType, F as ZDatePickerMode, G as ZDatePickerModeValue, H as ZDatePickerPosition, x as ZFileUploadType, J as ZRangePickerMode, z as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index-7e4df1be.js';
1
+ import { c as colorFromId } from './utils-d7278f26.js';
2
+ export { o as AlertType, A as AvatarSize, W as BreadcrumbHomepageVariant, V as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, R as CarouselArrowsPosition, U as CarouselProgressMode, e as ControlSize, Q as CoverHeroContentPosition, M as CoverHeroVariant, p as Device, h as DividerOrientation, D as DividerSize, j as ExpandableListButtonAlign, E as ExpandableListStyle, J as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, k as LabelPosition, L as LicenseType, l as ListDividerType, i as ListSize, m as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, n as NotificationType, O as OffCanvasVariant, q as PocketStatus, P as PopoverPosition, S as SortDirection, T as ThemeVariant, r as ToastNotification, t as ToastNotificationPosition, s as ToastNotificationTransition, v as TransitionDirection, X as VisibilityCondition, u as ZAriaAlertMode, x as ZChipType, z as ZDatePickerMode, F as ZDatePickerModeValue, G as ZDatePickerPosition, w as ZFileUploadType, H as ZRangePickerMode, y as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index-9c5d63ea.js';
3
3
  import './breakpoints-9b81eb1b.js';
4
4
 
5
5
  const UTILS = {