@ukic/canary-web-components 2.0.0-canary.14 → 2.0.0-canary.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (516) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-6d736902.js → helpers-4f5f087e.js} +59 -99
  3. package/dist/cjs/helpers-4f5f087e.js.map +1 -0
  4. package/dist/cjs/{helpers-f75cf7cf.js → helpers-fc9441f8.js} +34 -1
  5. package/dist/cjs/helpers-fc9441f8.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +3 -1
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +15 -9
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +55 -77
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +14 -14
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js +23 -16
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox.cjs.entry.js +33 -31
  24. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-chip.cjs.entry.js +21 -31
  26. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +57 -0
  29. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -0
  30. package/dist/cjs/ic-data-table.cjs.entry.js +163 -36
  31. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-dialog.cjs.entry.js +4 -2
  35. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-empty-state_2.cjs.entry.js +345 -0
  38. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -0
  39. package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-hero.cjs.entry.js +3 -2
  45. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -3
  47. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +2 -2
  49. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-menu-item.cjs.entry.js +4 -10
  54. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +176 -35
  56. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-menu.cjs.entry.js +4 -4
  58. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-pagination_4.cjs.entry.js +54 -29
  66. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-popover-menu.cjs.entry.js +13 -18
  68. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-radio-group.cjs.entry.js +12 -16
  70. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-radio-option.cjs.entry.js +37 -37
  72. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  74. package/dist/cjs/ic-select-with-multi.cjs.entry.js +1 -1
  75. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  76. package/dist/cjs/ic-skeleton.cjs.entry.js +16 -35
  77. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  79. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  81. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-switch.cjs.entry.js +2 -2
  83. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  85. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  86. package/dist/cjs/ic-tab.cjs.entry.js +2 -2
  87. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-theme.cjs.entry.js +13 -15
  89. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  91. package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
  92. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -24
  94. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  96. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  97. package/dist/cjs/index-4cf27b16.js +8 -8
  98. package/dist/cjs/loader.cjs.js +1 -1
  99. package/dist/collection/collection-manifest.json +1 -0
  100. package/dist/collection/components/ic-data-table/ic-data-table.css +76 -1
  101. package/dist/collection/components/ic-data-table/ic-data-table.js +372 -53
  102. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  103. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  104. package/dist/collection/components/ic-data-table/story-data.js +262 -4
  105. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  106. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +324 -3
  107. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  108. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +91 -0
  109. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +160 -0
  110. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -0
  111. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js +11 -0
  112. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -0
  113. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js +70 -0
  114. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js.map +1 -0
  115. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +176 -35
  116. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  117. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +226 -49
  118. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  119. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +180 -119
  120. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  121. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +56 -11
  122. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  123. package/dist/collection/utils/helpers.js +4 -1
  124. package/dist/collection/utils/helpers.js.map +1 -1
  125. package/dist/collection/utils/types.js.map +1 -1
  126. package/dist/components/helpers.js +57 -97
  127. package/dist/components/helpers.js.map +1 -1
  128. package/dist/components/helpers2.js +31 -1
  129. package/dist/components/helpers2.js.map +1 -1
  130. package/dist/components/ic-accordion-group.js +2 -1
  131. package/dist/components/ic-accordion-group.js.map +1 -1
  132. package/dist/components/ic-back-to-top.js +22 -9
  133. package/dist/components/ic-back-to-top.js.map +1 -1
  134. package/dist/components/ic-badge.js +59 -77
  135. package/dist/components/ic-badge.js.map +1 -1
  136. package/dist/components/ic-breadcrumb-group.js +2 -0
  137. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  138. package/dist/components/ic-button2.js +11 -11
  139. package/dist/components/ic-button2.js.map +1 -1
  140. package/dist/components/ic-card.js.map +1 -1
  141. package/dist/components/ic-checkbox-group.js +26 -16
  142. package/dist/components/ic-checkbox-group.js.map +1 -1
  143. package/dist/components/ic-checkbox.js +33 -31
  144. package/dist/components/ic-checkbox.js.map +1 -1
  145. package/dist/components/ic-chip.js +21 -31
  146. package/dist/components/ic-chip.js.map +1 -1
  147. package/dist/components/ic-data-table-title-bar.d.ts +11 -0
  148. package/dist/components/ic-data-table-title-bar.js +136 -0
  149. package/dist/components/ic-data-table-title-bar.js.map +1 -0
  150. package/dist/components/ic-data-table.js +189 -43
  151. package/dist/components/ic-data-table.js.map +1 -1
  152. package/dist/components/ic-date-input2.js +1 -1
  153. package/dist/components/ic-date-picker.js +1 -1
  154. package/dist/components/ic-dialog.js +4 -2
  155. package/dist/components/ic-dialog.js.map +1 -1
  156. package/dist/components/ic-divider2.js +1 -1
  157. package/dist/components/ic-empty-state.js +1 -57
  158. package/dist/components/ic-empty-state.js.map +1 -1
  159. package/dist/{esm/ic-empty-state.entry.js → components/ic-empty-state2.js} +38 -11
  160. package/dist/components/ic-empty-state2.js.map +1 -0
  161. package/dist/components/ic-footer-link-group.js +2 -2
  162. package/dist/components/ic-footer-link-group.js.map +1 -1
  163. package/dist/components/ic-footer-link.js +1 -1
  164. package/dist/components/ic-footer.js +2 -2
  165. package/dist/components/ic-footer.js.map +1 -1
  166. package/dist/components/ic-hero.js +3 -2
  167. package/dist/components/ic-hero.js.map +1 -1
  168. package/dist/components/ic-horizontal-scroll2.js +1 -2
  169. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  170. package/dist/components/ic-input-component-container2.js +2 -2
  171. package/dist/components/ic-input-component-container2.js.map +1 -1
  172. package/dist/components/ic-link2.js +1 -1
  173. package/dist/components/ic-link2.js.map +1 -1
  174. package/dist/components/ic-loading-indicator2.js +1 -1
  175. package/dist/components/ic-loading-indicator2.js.map +1 -1
  176. package/dist/components/ic-menu-item2.js +4 -10
  177. package/dist/components/ic-menu-item2.js.map +1 -1
  178. package/dist/components/ic-menu2.js +3 -3
  179. package/dist/components/ic-menu2.js.map +1 -1
  180. package/dist/components/ic-menu3.js +177 -36
  181. package/dist/components/ic-menu3.js.map +1 -1
  182. package/dist/components/ic-navigation-button.js +1 -1
  183. package/dist/components/ic-navigation-group.js +1 -1
  184. package/dist/components/ic-navigation-item.js +2 -2
  185. package/dist/components/ic-navigation-item.js.map +1 -1
  186. package/dist/components/ic-pagination-bar2.js +160 -103
  187. package/dist/components/ic-pagination-bar2.js.map +1 -1
  188. package/dist/components/ic-pagination-item2.js +22 -12
  189. package/dist/components/ic-pagination-item2.js.map +1 -1
  190. package/dist/components/ic-pagination2.js +23 -8
  191. package/dist/components/ic-pagination2.js.map +1 -1
  192. package/dist/components/ic-popover-menu.js +12 -17
  193. package/dist/components/ic-popover-menu.js.map +1 -1
  194. package/dist/components/ic-radio-group.js +11 -15
  195. package/dist/components/ic-radio-group.js.map +1 -1
  196. package/dist/components/ic-radio-option.js +37 -37
  197. package/dist/components/ic-radio-option.js.map +1 -1
  198. package/dist/components/ic-search-bar.js +1 -1
  199. package/dist/components/ic-select-with-multi.js +1 -1
  200. package/dist/components/ic-select2.js +10 -6
  201. package/dist/components/ic-select2.js.map +1 -1
  202. package/dist/components/ic-side-navigation.js +1 -1
  203. package/dist/components/ic-skeleton.js +17 -40
  204. package/dist/components/ic-skeleton.js.map +1 -1
  205. package/dist/components/ic-status-tag.js.map +1 -1
  206. package/dist/components/ic-switch.js +1 -1
  207. package/dist/components/ic-switch.js.map +1 -1
  208. package/dist/components/ic-tab.js +1 -1
  209. package/dist/components/ic-tab.js.map +1 -1
  210. package/dist/components/ic-text-field2.js +8 -8
  211. package/dist/components/ic-text-field2.js.map +1 -1
  212. package/dist/components/ic-theme.js +13 -15
  213. package/dist/components/ic-theme.js.map +1 -1
  214. package/dist/components/ic-toggle-button.js +1 -1
  215. package/dist/components/ic-toggle-button.js.map +1 -1
  216. package/dist/components/ic-tooltip2.js +1 -1
  217. package/dist/components/ic-tooltip2.js.map +1 -1
  218. package/dist/components/ic-top-navigation.js +15 -24
  219. package/dist/components/ic-top-navigation.js.map +1 -1
  220. package/dist/components/ic-typography2.js +1 -1
  221. package/dist/components/ic-typography2.js.map +1 -1
  222. package/dist/core/core.css +2 -2
  223. package/dist/core/core.esm.js +1 -1
  224. package/dist/core/core.esm.js.map +1 -1
  225. package/dist/core/p-0e51d58e.entry.js +2 -0
  226. package/dist/core/p-0e51d58e.entry.js.map +1 -0
  227. package/dist/core/{p-4fd58768.entry.js → p-11b243c9.entry.js} +2 -2
  228. package/dist/core/{p-4bd13376.entry.js → p-185e91f0.entry.js} +2 -2
  229. package/dist/core/p-185e91f0.entry.js.map +1 -0
  230. package/dist/core/p-1a45f961.entry.js +2 -0
  231. package/dist/core/{p-e8151d13.entry.js.map → p-1a45f961.entry.js.map} +1 -1
  232. package/dist/core/p-1b4f852c.js +2 -0
  233. package/dist/core/p-1b4f852c.js.map +1 -0
  234. package/dist/core/{p-4ad3012a.entry.js → p-1fb48c84.entry.js} +2 -2
  235. package/dist/core/{p-6dce8e88.entry.js → p-1fff20ce.entry.js} +2 -2
  236. package/dist/core/p-1fff20ce.entry.js.map +1 -0
  237. package/dist/core/{p-1a91e842.entry.js → p-201ec29e.entry.js} +2 -2
  238. package/dist/core/{p-1a91e842.entry.js.map → p-201ec29e.entry.js.map} +1 -1
  239. package/dist/core/p-20d4ded5.js +2 -0
  240. package/dist/core/p-20d4ded5.js.map +1 -0
  241. package/dist/core/p-20f244ad.entry.js +2 -0
  242. package/dist/core/p-20f244ad.entry.js.map +1 -0
  243. package/dist/core/p-2536b95b.entry.js +2 -0
  244. package/dist/core/p-2536b95b.entry.js.map +1 -0
  245. package/dist/core/{p-730f058b.entry.js → p-25bbf4be.entry.js} +2 -2
  246. package/dist/core/p-25bbf4be.entry.js.map +1 -0
  247. package/dist/core/p-303dc008.entry.js +2 -0
  248. package/dist/core/p-303dc008.entry.js.map +1 -0
  249. package/dist/core/p-3484b15b.entry.js +2 -0
  250. package/dist/core/p-3484b15b.entry.js.map +1 -0
  251. package/dist/core/{p-aabab75f.entry.js → p-3fa986f8.entry.js} +2 -2
  252. package/dist/core/{p-f8f36680.entry.js → p-450f72b2.entry.js} +2 -2
  253. package/dist/core/{p-8b820365.entry.js → p-48c39d2a.entry.js} +2 -2
  254. package/dist/core/{p-a2dc10d8.entry.js → p-4aac2373.entry.js} +2 -2
  255. package/dist/core/{p-db3a35fb.entry.js → p-5201cd2b.entry.js} +2 -2
  256. package/dist/core/{p-db3a35fb.entry.js.map → p-5201cd2b.entry.js.map} +1 -1
  257. package/dist/core/p-53aeca18.entry.js +2 -0
  258. package/dist/core/p-53aeca18.entry.js.map +1 -0
  259. package/dist/core/{p-6eb58b0a.entry.js → p-5447f2fd.entry.js} +2 -2
  260. package/dist/core/{p-e1963c78.entry.js → p-5a5a52d3.entry.js} +2 -2
  261. package/dist/core/p-5a5a52d3.entry.js.map +1 -0
  262. package/dist/core/{p-946625a3.entry.js → p-60494f69.entry.js} +2 -2
  263. package/dist/core/p-60494f69.entry.js.map +1 -0
  264. package/dist/core/p-646b886c.entry.js +2 -0
  265. package/dist/core/p-646b886c.entry.js.map +1 -0
  266. package/dist/core/p-6996b750.entry.js +2 -0
  267. package/dist/core/p-6996b750.entry.js.map +1 -0
  268. package/dist/core/{p-849f43c3.entry.js → p-7114ae3b.entry.js} +2 -2
  269. package/dist/core/{p-494c3cbe.entry.js → p-71ddb6d9.entry.js} +2 -2
  270. package/dist/core/{p-baf81f30.entry.js → p-787ffd96.entry.js} +2 -2
  271. package/dist/core/p-787ffd96.entry.js.map +1 -0
  272. package/dist/core/p-7c569c2d.entry.js +2 -0
  273. package/dist/core/p-7c569c2d.entry.js.map +1 -0
  274. package/dist/core/{p-c621d6b0.entry.js → p-7f6de032.entry.js} +2 -2
  275. package/dist/core/p-7f6de032.entry.js.map +1 -0
  276. package/dist/core/{p-c14a897d.entry.js → p-7fe37432.entry.js} +2 -2
  277. package/dist/core/{p-9567c117.entry.js → p-86e679ab.entry.js} +2 -2
  278. package/dist/core/{p-a8c15117.entry.js → p-87075008.entry.js} +2 -2
  279. package/dist/core/p-895472da.entry.js +2 -0
  280. package/dist/core/p-895472da.entry.js.map +1 -0
  281. package/dist/core/{p-00bd7919.entry.js → p-8a67e960.entry.js} +2 -2
  282. package/dist/core/{p-9d8883d7.entry.js → p-8ccb23bd.entry.js} +2 -2
  283. package/dist/core/{p-9d8883d7.entry.js.map → p-8ccb23bd.entry.js.map} +1 -1
  284. package/dist/core/{p-d2d63a61.entry.js → p-9c22b14f.entry.js} +2 -2
  285. package/dist/core/{p-d2d63a61.entry.js.map → p-9c22b14f.entry.js.map} +1 -1
  286. package/dist/core/{p-19c1e271.entry.js → p-a1df23b4.entry.js} +2 -2
  287. package/dist/core/p-a1df23b4.entry.js.map +1 -0
  288. package/dist/core/{p-3dcc61cc.entry.js → p-a821c21f.entry.js} +2 -2
  289. package/dist/core/{p-3dcc61cc.entry.js.map → p-a821c21f.entry.js.map} +1 -1
  290. package/dist/core/{p-cca482e2.entry.js → p-b3b834b3.entry.js} +2 -2
  291. package/dist/core/p-b3b834b3.entry.js.map +1 -0
  292. package/dist/core/p-b4949e9a.entry.js +2 -0
  293. package/dist/core/p-b4949e9a.entry.js.map +1 -0
  294. package/dist/core/p-b7c644d1.entry.js +2 -0
  295. package/dist/core/p-b7c644d1.entry.js.map +1 -0
  296. package/dist/core/{p-0af27517.entry.js → p-b94ef8de.entry.js} +2 -2
  297. package/dist/core/p-ba1c1804.entry.js +2 -0
  298. package/dist/core/p-ba1c1804.entry.js.map +1 -0
  299. package/dist/core/{p-7fda2f94.entry.js → p-bbb1ce94.entry.js} +2 -2
  300. package/dist/core/p-bda7d350.entry.js +2 -0
  301. package/dist/core/p-bda7d350.entry.js.map +1 -0
  302. package/dist/core/{p-8b1f9648.entry.js → p-c5147498.entry.js} +2 -2
  303. package/dist/core/{p-ff6f1e3a.entry.js → p-d3a13342.entry.js} +2 -2
  304. package/dist/core/{p-843bdaae.entry.js → p-d4fed5f6.entry.js} +2 -2
  305. package/dist/core/p-d4fed5f6.entry.js.map +1 -0
  306. package/dist/core/p-d6ad82d8.entry.js +2 -0
  307. package/dist/core/p-d6ad82d8.entry.js.map +1 -0
  308. package/dist/core/{p-a05755b1.entry.js → p-d79bfead.entry.js} +2 -2
  309. package/dist/core/{p-a05755b1.entry.js.map → p-d79bfead.entry.js.map} +1 -1
  310. package/dist/core/p-db5c4969.entry.js +2 -0
  311. package/dist/core/{p-06c27edb.entry.js.map → p-db5c4969.entry.js.map} +1 -1
  312. package/dist/core/{p-957de939.entry.js → p-dd787b5b.entry.js} +2 -2
  313. package/dist/core/p-e42b66d5.entry.js +2 -0
  314. package/dist/core/p-e42b66d5.entry.js.map +1 -0
  315. package/dist/core/{p-9528b29e.entry.js → p-e4e89a4d.entry.js} +2 -2
  316. package/dist/core/{p-e16f73ba.entry.js → p-f704629e.entry.js} +2 -2
  317. package/dist/core/p-f704629e.entry.js.map +1 -0
  318. package/dist/core/p-fae5b518.entry.js +2 -0
  319. package/dist/core/p-fae5b518.entry.js.map +1 -0
  320. package/dist/core/{p-00c5639e.entry.js → p-ff697d68.entry.js} +2 -2
  321. package/dist/core/p-ff697d68.entry.js.map +1 -0
  322. package/dist/esm/core.js +1 -1
  323. package/dist/esm/{helpers-f328a7b6.js → helpers-1cd71f8a.js} +32 -2
  324. package/dist/esm/helpers-1cd71f8a.js.map +1 -0
  325. package/dist/esm/{helpers-c34e4042.js → helpers-84d21612.js} +58 -98
  326. package/dist/esm/helpers-84d21612.js.map +1 -0
  327. package/dist/esm/ic-accordion-group.entry.js +3 -1
  328. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  329. package/dist/esm/ic-accordion.entry.js +1 -1
  330. package/dist/esm/ic-alert.entry.js +1 -1
  331. package/dist/esm/ic-back-to-top.entry.js +15 -9
  332. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  333. package/dist/esm/ic-badge.entry.js +55 -77
  334. package/dist/esm/ic-badge.entry.js.map +1 -1
  335. package/dist/esm/ic-breadcrumb-group.entry.js +3 -1
  336. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  337. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  338. package/dist/esm/ic-button_3.entry.js +14 -14
  339. package/dist/esm/ic-button_3.entry.js.map +1 -1
  340. package/dist/esm/ic-card.entry.js +1 -1
  341. package/dist/esm/ic-card.entry.js.map +1 -1
  342. package/dist/esm/ic-checkbox-group.entry.js +23 -16
  343. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  344. package/dist/esm/ic-checkbox.entry.js +33 -31
  345. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  346. package/dist/esm/ic-chip.entry.js +21 -31
  347. package/dist/esm/ic-chip.entry.js.map +1 -1
  348. package/dist/esm/ic-data-row.entry.js +1 -1
  349. package/dist/esm/ic-data-table-title-bar.entry.js +53 -0
  350. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -0
  351. package/dist/esm/ic-data-table.entry.js +164 -37
  352. package/dist/esm/ic-data-table.entry.js.map +1 -1
  353. package/dist/esm/ic-date-input.entry.js +1 -1
  354. package/dist/esm/ic-date-picker.entry.js +1 -1
  355. package/dist/esm/ic-dialog.entry.js +4 -2
  356. package/dist/esm/ic-dialog.entry.js.map +1 -1
  357. package/dist/esm/ic-divider.entry.js +1 -1
  358. package/dist/esm/ic-empty-state_2.entry.js +340 -0
  359. package/dist/esm/ic-empty-state_2.entry.js.map +1 -0
  360. package/dist/esm/ic-footer-link-group.entry.js +2 -2
  361. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  362. package/dist/esm/ic-footer-link.entry.js +1 -1
  363. package/dist/esm/ic-footer.entry.js +2 -2
  364. package/dist/esm/ic-footer.entry.js.map +1 -1
  365. package/dist/esm/ic-hero.entry.js +3 -2
  366. package/dist/esm/ic-hero.entry.js.map +1 -1
  367. package/dist/esm/ic-horizontal-scroll.entry.js +2 -3
  368. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  369. package/dist/esm/ic-input-component-container_4.entry.js +2 -2
  370. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  371. package/dist/esm/ic-link.entry.js +2 -2
  372. package/dist/esm/ic-link.entry.js.map +1 -1
  373. package/dist/esm/ic-menu-group.entry.js +1 -1
  374. package/dist/esm/ic-menu-item.entry.js +4 -10
  375. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  376. package/dist/esm/ic-menu-with-multi.entry.js +176 -35
  377. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  378. package/dist/esm/ic-menu.entry.js +4 -4
  379. package/dist/esm/ic-menu.entry.js.map +1 -1
  380. package/dist/esm/ic-navigation-button.entry.js +1 -1
  381. package/dist/esm/ic-navigation-group.entry.js +1 -1
  382. package/dist/esm/ic-navigation-item.entry.js +2 -2
  383. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  384. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  385. package/dist/esm/ic-page-header.entry.js +1 -1
  386. package/dist/esm/ic-pagination_4.entry.js +54 -29
  387. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  388. package/dist/esm/ic-popover-menu.entry.js +13 -18
  389. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  390. package/dist/esm/ic-radio-group.entry.js +12 -16
  391. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  392. package/dist/esm/ic-radio-option.entry.js +37 -37
  393. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  394. package/dist/esm/ic-search-bar.entry.js +1 -1
  395. package/dist/esm/ic-select-with-multi.entry.js +1 -1
  396. package/dist/esm/ic-side-navigation.entry.js +1 -1
  397. package/dist/esm/ic-skeleton.entry.js +16 -35
  398. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  399. package/dist/esm/ic-status-tag.entry.js +1 -1
  400. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  401. package/dist/esm/ic-step.entry.js +1 -1
  402. package/dist/esm/ic-stepper.entry.js +1 -1
  403. package/dist/esm/ic-switch.entry.js +2 -2
  404. package/dist/esm/ic-switch.entry.js.map +1 -1
  405. package/dist/esm/ic-tab-group.entry.js +1 -1
  406. package/dist/esm/ic-tab-panel.entry.js +1 -1
  407. package/dist/esm/ic-tab.entry.js +2 -2
  408. package/dist/esm/ic-tab.entry.js.map +1 -1
  409. package/dist/esm/ic-theme.entry.js +13 -15
  410. package/dist/esm/ic-theme.entry.js.map +1 -1
  411. package/dist/esm/ic-toast.entry.js +1 -1
  412. package/dist/esm/ic-toggle-button.entry.js +2 -2
  413. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  414. package/dist/esm/ic-top-navigation.entry.js +15 -24
  415. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  416. package/dist/esm/ic-typography.entry.js +2 -2
  417. package/dist/esm/ic-typography.entry.js.map +1 -1
  418. package/dist/esm/index-93509377.js +8 -8
  419. package/dist/esm/loader.js +1 -1
  420. package/dist/types/components/ic-data-table/ic-data-table.d.ts +79 -13
  421. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +9 -0
  422. package/dist/types/components/ic-data-table/story-data.d.ts +59 -0
  423. package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +36 -0
  424. package/dist/types/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.d.ts +1 -0
  425. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +10 -0
  426. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +33 -13
  427. package/dist/types/components.d.ts +211 -46
  428. package/dist/types/utils/helpers.d.ts +1 -0
  429. package/dist/types/utils/types.d.ts +21 -5
  430. package/hydrate/index.js +1414 -1058
  431. package/package.json +3 -3
  432. package/dist/cjs/helpers-6d736902.js.map +0 -1
  433. package/dist/cjs/helpers-f75cf7cf.js.map +0 -1
  434. package/dist/cjs/ic-empty-state.cjs.entry.js +0 -38
  435. package/dist/cjs/ic-empty-state.cjs.entry.js.map +0 -1
  436. package/dist/cjs/ic-pagination-bar.cjs.entry.js +0 -269
  437. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +0 -1
  438. package/dist/collection/components/ic-pagination/ic-pagination.types.js +0 -2
  439. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +0 -1
  440. package/dist/core/p-00c5639e.entry.js.map +0 -1
  441. package/dist/core/p-06c27edb.entry.js +0 -2
  442. package/dist/core/p-162f3e36.entry.js +0 -2
  443. package/dist/core/p-162f3e36.entry.js.map +0 -1
  444. package/dist/core/p-19c1e271.entry.js.map +0 -1
  445. package/dist/core/p-1c3bd46d.entry.js +0 -2
  446. package/dist/core/p-1c3bd46d.entry.js.map +0 -1
  447. package/dist/core/p-2c9d6334.entry.js +0 -2
  448. package/dist/core/p-2c9d6334.entry.js.map +0 -1
  449. package/dist/core/p-3e9a8977.entry.js +0 -2
  450. package/dist/core/p-3e9a8977.entry.js.map +0 -1
  451. package/dist/core/p-41b682dc.entry.js +0 -2
  452. package/dist/core/p-41b682dc.entry.js.map +0 -1
  453. package/dist/core/p-4bd13376.entry.js.map +0 -1
  454. package/dist/core/p-6dce8e88.entry.js.map +0 -1
  455. package/dist/core/p-730f058b.entry.js.map +0 -1
  456. package/dist/core/p-7f53d1be.entry.js +0 -2
  457. package/dist/core/p-7f53d1be.entry.js.map +0 -1
  458. package/dist/core/p-843bdaae.entry.js.map +0 -1
  459. package/dist/core/p-946625a3.entry.js.map +0 -1
  460. package/dist/core/p-99bf38e3.entry.js +0 -2
  461. package/dist/core/p-99bf38e3.entry.js.map +0 -1
  462. package/dist/core/p-9e3178e8.entry.js +0 -2
  463. package/dist/core/p-9e3178e8.entry.js.map +0 -1
  464. package/dist/core/p-a1556d97.entry.js +0 -2
  465. package/dist/core/p-a1556d97.entry.js.map +0 -1
  466. package/dist/core/p-baf81f30.entry.js.map +0 -1
  467. package/dist/core/p-c621d6b0.entry.js.map +0 -1
  468. package/dist/core/p-c7590421.entry.js +0 -2
  469. package/dist/core/p-c7590421.entry.js.map +0 -1
  470. package/dist/core/p-c953edb9.entry.js +0 -2
  471. package/dist/core/p-c953edb9.entry.js.map +0 -1
  472. package/dist/core/p-cca482e2.entry.js.map +0 -1
  473. package/dist/core/p-cd799087.js +0 -2
  474. package/dist/core/p-cd799087.js.map +0 -1
  475. package/dist/core/p-d32d331b.entry.js +0 -2
  476. package/dist/core/p-d32d331b.entry.js.map +0 -1
  477. package/dist/core/p-dc5e1f8f.entry.js +0 -2
  478. package/dist/core/p-dc5e1f8f.entry.js.map +0 -1
  479. package/dist/core/p-e16f73ba.entry.js.map +0 -1
  480. package/dist/core/p-e189f1d0.entry.js +0 -2
  481. package/dist/core/p-e189f1d0.entry.js.map +0 -1
  482. package/dist/core/p-e1963c78.entry.js.map +0 -1
  483. package/dist/core/p-e8151d13.entry.js +0 -2
  484. package/dist/core/p-ee765ad5.js +0 -2
  485. package/dist/core/p-ee765ad5.js.map +0 -1
  486. package/dist/core/p-f2147136.entry.js +0 -2
  487. package/dist/core/p-f2147136.entry.js.map +0 -1
  488. package/dist/core/p-fca46bd9.entry.js +0 -2
  489. package/dist/core/p-fca46bd9.entry.js.map +0 -1
  490. package/dist/core/p-ff3a01f3.entry.js +0 -2
  491. package/dist/core/p-ff3a01f3.entry.js.map +0 -1
  492. package/dist/esm/helpers-c34e4042.js.map +0 -1
  493. package/dist/esm/helpers-f328a7b6.js.map +0 -1
  494. package/dist/esm/ic-empty-state.entry.js.map +0 -1
  495. package/dist/esm/ic-pagination-bar.entry.js +0 -265
  496. package/dist/esm/ic-pagination-bar.entry.js.map +0 -1
  497. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +0 -6
  498. /package/dist/core/{p-4fd58768.entry.js.map → p-11b243c9.entry.js.map} +0 -0
  499. /package/dist/core/{p-4ad3012a.entry.js.map → p-1fb48c84.entry.js.map} +0 -0
  500. /package/dist/core/{p-aabab75f.entry.js.map → p-3fa986f8.entry.js.map} +0 -0
  501. /package/dist/core/{p-f8f36680.entry.js.map → p-450f72b2.entry.js.map} +0 -0
  502. /package/dist/core/{p-8b820365.entry.js.map → p-48c39d2a.entry.js.map} +0 -0
  503. /package/dist/core/{p-a2dc10d8.entry.js.map → p-4aac2373.entry.js.map} +0 -0
  504. /package/dist/core/{p-6eb58b0a.entry.js.map → p-5447f2fd.entry.js.map} +0 -0
  505. /package/dist/core/{p-849f43c3.entry.js.map → p-7114ae3b.entry.js.map} +0 -0
  506. /package/dist/core/{p-494c3cbe.entry.js.map → p-71ddb6d9.entry.js.map} +0 -0
  507. /package/dist/core/{p-c14a897d.entry.js.map → p-7fe37432.entry.js.map} +0 -0
  508. /package/dist/core/{p-9567c117.entry.js.map → p-86e679ab.entry.js.map} +0 -0
  509. /package/dist/core/{p-a8c15117.entry.js.map → p-87075008.entry.js.map} +0 -0
  510. /package/dist/core/{p-00bd7919.entry.js.map → p-8a67e960.entry.js.map} +0 -0
  511. /package/dist/core/{p-0af27517.entry.js.map → p-b94ef8de.entry.js.map} +0 -0
  512. /package/dist/core/{p-7fda2f94.entry.js.map → p-bbb1ce94.entry.js.map} +0 -0
  513. /package/dist/core/{p-8b1f9648.entry.js.map → p-c5147498.entry.js.map} +0 -0
  514. /package/dist/core/{p-ff6f1e3a.entry.js.map → p-d3a13342.entry.js.map} +0 -0
  515. /package/dist/core/{p-957de939.entry.js.map → p-dd787b5b.entry.js.map} +0 -0
  516. /package/dist/core/{p-9528b29e.entry.js.map → p-e4e89a4d.entry.js.map} +0 -0
@@ -1,14 +1,37 @@
1
- import { h } from "@stencil/core";
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import { h, Fragment, } from "@stencil/core";
2
3
  import unsortedIcon from "./assets/unsorted-icon.svg";
3
4
  import ascendingIcon from "./assets/ascending-icon.svg";
4
5
  import descendingIcon from "./assets/descending-icon.svg";
6
+ // Unable to import helper functions via @ukic/web-components
7
+ import { getSlotContent, isSlotUsed } from "../../utils/helpers";
8
+ /**
9
+ * @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
10
+ * @slot {COLUMN_KEY}-{ROW_INDEX}[-icon] - Each cell should have its own slot, named using the column tag and the row index, allowing for custom elements to be displayed. Include `-icon` at the end for that cell's icon slot.
11
+ * @slot {COLUMN_KEY}-column-icon - The icon slot for a column header.
12
+ * @slot title-bar - A custom ic-data-table-title-bar can be slotted above the column headers to display additional information about the table.
13
+ */
5
14
  export class DataTable {
6
15
  constructor() {
16
+ this.DENSITY_HEIGHT_MULTIPLIER = {
17
+ dense: 0.8,
18
+ default: 1,
19
+ spacious: 1.2,
20
+ };
7
21
  this.SORT_ICONS = {
8
22
  unsorted: unsortedIcon,
9
23
  ascending: ascendingIcon,
10
24
  descending: descendingIcon,
11
25
  };
26
+ this.hasLoadedForOneSecond = true;
27
+ this.startLoadingTimer = () => {
28
+ this.hasLoadedForOneSecond = false;
29
+ this.timerStarted = Date.now();
30
+ setTimeout(() => {
31
+ this.hasLoadedForOneSecond = true;
32
+ this.timerStarted = null;
33
+ }, this.minimumLoadingDisplayDuration);
34
+ };
12
35
  this.isObject = (value) => typeof value === "object";
13
36
  this.notDefaultDensity = () => this.density !== "default";
14
37
  this.getCellContent = (cell, dataType) => {
@@ -26,7 +49,11 @@ export class DataTable {
26
49
  return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
27
50
  }
28
51
  };
29
- this.createCells = (row) => {
52
+ this.createUpdatingIndicator = () => {
53
+ const { appearance, description, max, min, progress } = this.updatingOptions || {};
54
+ return (h("th", { colSpan: this.columns.length, class: "updating-state" }, h("ic-loading-indicator", { appearance: appearance, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
55
+ };
56
+ this.createCells = (row, rowIndex) => {
30
57
  const rowValues = Object.values(row);
31
58
  const rowKeys = Object.keys(row);
32
59
  let rowAlignment;
@@ -37,43 +64,56 @@ export class DataTable {
37
64
  rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
38
65
  }
39
66
  return rowValues.map((cell, index) => {
40
- const { columnAlignment, dataType, emphasis } = this.columns[index];
67
+ var _a, _b, _c, _d, _e;
68
+ const columnProps = this.columns[index];
69
+ const cellSlotName = `${columnProps === null || columnProps === void 0 ? void 0 : columnProps.key}-${rowIndex}`;
70
+ const hasIcon = this.isObject(cell) && Object.keys(cell).includes("icon");
41
71
  const cellValue = (key) => this.getObjectValue(cell, key);
42
72
  return rowKeys[index] === "header" ? (h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
43
73
  ["row-header"]: true,
44
74
  [`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
45
75
  ["row-header-sticky"]: this.stickyRowHeaders,
46
- } }, cellValue("title"))) : (h("td", { innerHTML: dataType === "element" ? cell : null, class: {
76
+ } }, cellValue("title"))) : (h("td", { class: {
47
77
  ["table-cell"]: true,
48
78
  [`table-density-${this.density}`]: this.notDefaultDensity(),
49
- [`data-type-${dataType}`]: true,
50
- [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
51
- this.getCellAlignment(cell, "horizontal")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
52
- !!this.getCellAlignment(cell, "horizontal"),
53
- [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
79
+ [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
80
+ [`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
54
81
  rowAlignment ||
55
- this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
82
+ this.getCellAlignment(cell, "vertical")}`]: !!((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
56
83
  !!rowAlignment ||
57
84
  !!this.getCellAlignment(cell, "vertical"),
58
- } }, h("ic-typography", { variant: "body", class: {
85
+ } }, h("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
86
+ !isSlotUsed(this.el, cellSlotName)
87
+ ? cell
88
+ : null, class: {
89
+ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element",
90
+ [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
91
+ [`cell-alignment-${((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
92
+ this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
93
+ !!this.getCellAlignment(cell, "horizontal"),
94
+ } }, isSlotUsed(this.el, cellSlotName) ? (h("slot", { name: cellSlotName })) : (h(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (h("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_e = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _e === void 0 ? void 0 : _e.onAllCells)) && (h("span", { class: "icon", innerHTML: cellValue("icon") || (columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon.icon) }))), h("ic-typography", { variant: "body", class: {
59
95
  [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
60
- emphasis ||
96
+ (columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
61
97
  rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
62
- !!emphasis ||
98
+ !!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
63
99
  !!rowEmphasis,
64
100
  [`text-${this.density}`]: this.notDefaultDensity(),
65
- } }, this.isObject(cell) && dataType !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, dataType)))));
101
+ } }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))))))));
66
102
  });
67
103
  };
68
104
  this.createColumnHeaders = () => {
69
- return this.columns.map(({ cellAlignment, colspan, key, title }) => (h("th", { scope: "col", class: {
105
+ return this.columns.map(({ cellAlignment, colspan, icon, key, title }) => (h("th", { scope: "col", class: {
70
106
  ["column-header"]: true,
71
- [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
72
107
  [`table-density-${this.density}`]: this.notDefaultDensity(),
73
- }, colSpan: colspan }, this.sortable ? (h("div", { class: "column-header-inner-container" }, h("ic-typography", { variant: "body", class: {
108
+ ["updating-state-headers"]: this.updating && !this.loading,
109
+ }, colSpan: colspan }, h("div", { class: {
110
+ "column-header-inner-container": true,
111
+ [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
112
+ } }, isSlotUsed(this.el, `${key}-column-icon`) ? (h("slot", { name: `${key}-column-icon` })) : (icon &&
113
+ !icon.hideOnHeader && (h("span", { class: "icon", innerHTML: icon.icon }))), h("ic-typography", { variant: "body", class: {
74
114
  ["column-header-text"]: true,
75
115
  [`text-${this.density}`]: this.notDefaultDensity(),
76
- } }, title), h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
116
+ } }, title), this.sortable && (h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
77
117
  // eslint-disable-next-line react/jsx-no-bind
78
118
  onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
79
119
  ? this.sortedColumnOrder
@@ -81,21 +121,48 @@ export class DataTable {
81
121
  ["sort-button"]: true,
82
122
  ["sort-button-unsorted"]: this.sortedColumn !== key ||
83
123
  this.sortedColumnOrder === "unsorted",
84
- } }))) : (h("ic-typography", { variant: "body", class: {
85
- ["column-header-text"]: true,
86
- [`text-${this.density}`]: this.notDefaultDensity(),
87
- } }, title)))));
124
+ } }))))));
88
125
  };
89
126
  this.createRows = () => {
90
127
  const data = this.showPagination
91
128
  ? this.data.slice(this.fromRow, this.toRow)
92
129
  : this.data.slice();
130
+ /**
131
+ * Ensures that createCells has a value in data to map over to actually render the slot.
132
+ * Removes the need for the user to add it multiple times.
133
+ */
134
+ this.columns.forEach(({ key }) => {
135
+ data.forEach((row, rowIndex) => {
136
+ const cellSlotName = `${key}-${rowIndex}`;
137
+ if (isSlotUsed(this.el, cellSlotName)) {
138
+ row[key] = getSlotContent(this.el, cellSlotName);
139
+ }
140
+ });
141
+ });
93
142
  return data
94
143
  .sort(!this.sortable ? undefined : this.getSortFunction())
95
- .map((row) => (h("tr", { onClick: () => (this.selectedRow = this.selectedRow !== row && row), class: {
96
- ["table-row"]: true,
97
- ["table-row-selected"]: this.selectedRow === row,
98
- } }, this.createCells(row))));
144
+ .map((row, index) => {
145
+ var _a;
146
+ const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index }));
147
+ const findRowHeight = variableRowHeightVal
148
+ ? variableRowHeightVal !== "auto" && variableRowHeightVal
149
+ : this.globalRowHeight !== "auto" && this.globalRowHeight;
150
+ return (h("tr", {
151
+ // eslint-disable-next-line react/jsx-no-bind
152
+ onClick: () => (this.selectedRow =
153
+ this.selectedRow !== row &&
154
+ !this.loading &&
155
+ !this.updating &&
156
+ row), class: {
157
+ ["table-row"]: true,
158
+ ["table-row-selected"]: this.selectedRow === row,
159
+ }, style: {
160
+ height: findRowHeight
161
+ ? `${findRowHeight * this.DENSITY_HEIGHT_MULTIPLIER[this.density]}px`
162
+ : null,
163
+ }
164
+ }, this.createCells(row, index)));
165
+ });
99
166
  };
100
167
  this.getObjectValue = (cell, key) => {
101
168
  return Object.values(cell)[Object.keys(cell).indexOf(key)];
@@ -173,18 +240,26 @@ export class DataTable {
173
240
  this.data = undefined;
174
241
  this.density = "default";
175
242
  this.embedded = false;
243
+ this.globalRowHeight = 40;
176
244
  this.hideColumnHeaders = false;
177
- this.paginationOptions = {
178
- itemsPerPage: [
245
+ this.loading = false;
246
+ this.loadingOptions = undefined;
247
+ this.minimumLoadingDisplayDuration = 1000;
248
+ this.paginationBarOptions = {
249
+ itemsPerPageOptions: [
179
250
  { label: "10", value: "10" },
180
251
  { label: "25", value: "25" },
181
252
  { label: "50", value: "50" },
182
253
  ],
183
- type: "page",
184
- control: "simple",
185
- itemsPerPageControl: true,
186
- goToPageControl: true,
254
+ rangeLabelType: "page",
255
+ type: "simple",
256
+ showItemsPerPageControl: true,
257
+ showGoToPageControl: true,
187
258
  alignment: "right",
259
+ appearance: "default",
260
+ itemLabel: "Item",
261
+ pageLabel: "Page",
262
+ hideRangeLabel: false,
188
263
  };
189
264
  this.showPagination = false;
190
265
  this.sortable = false;
@@ -194,13 +269,18 @@ export class DataTable {
194
269
  };
195
270
  this.stickyColumnHeaders = false;
196
271
  this.stickyRowHeaders = false;
272
+ this.updating = false;
273
+ this.updatingOptions = undefined;
274
+ this.variableRowHeight = undefined;
197
275
  }
198
276
  componentWillLoad() {
199
- this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);
277
+ var _a;
278
+ this.rowsPerPage = Number(this.paginationBarOptions.itemsPerPageOptions[0].value);
200
279
  this.previousRowsPerPage = this.rowsPerPage;
201
280
  this.toRow = this.rowsPerPage;
202
281
  this.sortedColumn = this.sortOptions.defaultColumn;
203
282
  this.sortedColumnOrder = this.sortOptions.sortOrders[0];
283
+ this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 });
204
284
  }
205
285
  componentDidLoad() {
206
286
  const tableElement = this.el.shadowRoot.querySelector("table");
@@ -209,6 +289,10 @@ export class DataTable {
209
289
  (tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientWidth) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientWidth)) {
210
290
  this.scrollable = true;
211
291
  }
292
+ if (this.loading) {
293
+ this.startLoadingTimer();
294
+ this.showLoadingIndicator();
295
+ }
212
296
  }
213
297
  handleItemsPerPageChange(ev) {
214
298
  this.previousRowsPerPage = this.rowsPerPage;
@@ -229,19 +313,63 @@ export class DataTable {
229
313
  this.previousRowsPerPage = this.rowsPerPage;
230
314
  }
231
315
  }
316
+ handleDensityChange(ev) {
317
+ this.density = ev.detail.value;
318
+ }
232
319
  clickListener(ev) {
233
320
  if (ev.target !== this.el)
234
321
  this.selectedRow = undefined;
235
322
  }
323
+ loadingHandler(newValue) {
324
+ if (newValue)
325
+ this.startLoadingTimer();
326
+ if (this.loading) {
327
+ setTimeout(() => {
328
+ this.showLoadingIndicator();
329
+ }, 500);
330
+ }
331
+ }
332
+ dataHandler(newData) {
333
+ this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: (newData === null || newData === void 0 ? void 0 : newData.length) > 0 });
334
+ if (this.loading) {
335
+ !this.hasLoadedForOneSecond
336
+ ? setTimeout(() => (this.loading = false), this.minimumLoadingDisplayDuration -
337
+ (Date.now() - this.timerStarted))
338
+ : (this.loading = false);
339
+ }
340
+ if (this.updating)
341
+ this.updating = false;
342
+ }
343
+ rowHeightChangeHandler() {
344
+ this.icRowHeightChange.emit();
345
+ }
346
+ /**
347
+ * Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.
348
+ */
349
+ async resetRowHeights() {
350
+ this.globalRowHeight = 40;
351
+ this.variableRowHeight = null;
352
+ }
353
+ showLoadingIndicator() {
354
+ this.loadingIndicator.classList.add("show");
355
+ }
236
356
  render() {
237
- const { caption, createColumnHeaders, createRows, data, hideColumnHeaders, paginationOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, } = this;
238
- return (h("div", { class: "table-container" }, h("div", { class: {
357
+ const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, } = this;
358
+ return (h("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && h("slot", { name: "title-bar" }), h("div", { class: {
239
359
  ["table-row-container"]: true,
240
360
  scrollable,
241
361
  }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, h("table", null, h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (h("thead", { class: {
242
362
  ["column-header-sticky"]: stickyColumnHeaders,
243
363
  ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
244
- } }, h("tr", null, createColumnHeaders()))), (data === null || data === void 0 ? void 0 : data.length) > 0 && h("tbody", null, createRows()))), showPagination && (h("div", { class: "pagination-container" }, h("ic-pagination-bar", { totalItems: data.length, paginationType: paginationOptions.type, paginationControl: paginationOptions.control, showItemsPerPageControl: paginationOptions.itemsPerPageControl, showGoToPageControl: paginationOptions.goToPageControl, itemsPerPageOptions: paginationOptions.itemsPerPage, alignment: paginationOptions.alignment }))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
364
+ } }, h("tr", null, createColumnHeaders()))), updating &&
365
+ !loading &&
366
+ (hideColumnHeaders ? (h("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), (data === null || data === void 0 ? void 0 : data.length) > 0 && h("tbody", null, createRows())), !(data === null || data === void 0 ? void 0 : data.length) &&
367
+ !loading &&
368
+ (isSlotUsed(this.el, "empty-state") ? (h("slot", { name: "empty-state" })) : (h("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (h("ic-loading-indicator", { appearance: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.appearance, class: {
369
+ "loading-empty": loading,
370
+ loading: true,
371
+ "show-background": loadingOptions.showBackground,
372
+ }, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })), showPagination && (h("div", { class: "pagination-container" }, h("ic-pagination-bar", { totalItems: data.length, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, appearance: paginationBarOptions.appearance, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel }))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
245
373
  ? `${sortedColumn} sorted ${sortedColumnOrder}`
246
374
  : "table unsorted"))));
247
375
  }
@@ -314,7 +442,7 @@ export class DataTable {
314
442
  },
315
443
  "density": {
316
444
  "type": "string",
317
- "mutable": false,
445
+ "mutable": true,
318
446
  "complexType": {
319
447
  "original": "IcDataTableDensityOptions",
320
448
  "resolved": "\"default\" | \"dense\" | \"spacious\"",
@@ -354,6 +482,30 @@ export class DataTable {
354
482
  "reflect": false,
355
483
  "defaultValue": "false"
356
484
  },
485
+ "globalRowHeight": {
486
+ "type": "any",
487
+ "mutable": true,
488
+ "complexType": {
489
+ "original": "IcDataTableRowHeights",
490
+ "resolved": "\"auto\" | number",
491
+ "references": {
492
+ "IcDataTableRowHeights": {
493
+ "location": "import",
494
+ "path": "./ic-data-table.types",
495
+ "id": "src/components/ic-data-table/ic-data-table.types.tsx::IcDataTableRowHeights"
496
+ }
497
+ }
498
+ },
499
+ "required": false,
500
+ "optional": true,
501
+ "docs": {
502
+ "tags": [],
503
+ "text": "Sets the row height on all rows in the table that aren't set using the `variableRowHeight` method."
504
+ },
505
+ "attribute": "global-row-height",
506
+ "reflect": false,
507
+ "defaultValue": "40"
508
+ },
357
509
  "hideColumnHeaders": {
358
510
  "type": "boolean",
359
511
  "mutable": false,
@@ -372,27 +524,74 @@ export class DataTable {
372
524
  "reflect": false,
373
525
  "defaultValue": "false"
374
526
  },
375
- "paginationOptions": {
527
+ "loading": {
528
+ "type": "boolean",
529
+ "mutable": true,
530
+ "complexType": {
531
+ "original": "boolean",
532
+ "resolved": "boolean",
533
+ "references": {}
534
+ },
535
+ "required": false,
536
+ "optional": true,
537
+ "docs": {
538
+ "tags": [],
539
+ "text": "When set to `true`, the full table will show a loading state, featuring a radial indicator."
540
+ },
541
+ "attribute": "loading",
542
+ "reflect": false,
543
+ "defaultValue": "false"
544
+ },
545
+ "loadingOptions": {
376
546
  "type": "unknown",
377
547
  "mutable": false,
378
548
  "complexType": {
379
- "original": "{\n itemsPerPage?: { label: string; value: string }[];\n type?: IcPaginationTypes;\n control?: IcPaginationControlTypes;\n itemsPerPageControl?: boolean;\n goToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n }",
380
- "resolved": "{ itemsPerPage?: { label: string; value: string; }[]; type?: IcPaginationTypes; control?: IcPaginationControlTypes; itemsPerPageControl?: boolean; goToPageControl?: boolean; alignment?: IcPaginationAlignmentOptions; }",
549
+ "original": "{\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n label?: string;\n labelDuration?: number;\n max?: number;\n min?: number;\n progress?: number;\n showBackground?: boolean;\n }",
550
+ "resolved": "{ appearance?: IcThemeForegroundNoDefault; description?: string; label?: string; labelDuration?: number; max?: number; min?: number; progress?: number; showBackground?: boolean; }",
381
551
  "references": {
382
- "IcPaginationTypes": {
383
- "location": "import",
384
- "path": "../ic-pagination/ic-pagination.types",
385
- "id": "src/components/ic-pagination/ic-pagination.types.ts::IcPaginationTypes"
386
- },
387
- "IcPaginationControlTypes": {
552
+ "IcThemeForegroundNoDefault": {
388
553
  "location": "import",
389
- "path": "../ic-pagination/ic-pagination.types",
390
- "id": "src/components/ic-pagination/ic-pagination.types.ts::IcPaginationControlTypes"
391
- },
392
- "IcPaginationAlignmentOptions": {
554
+ "path": "@ukic/web-components/dist/types/utils/types",
555
+ "id": "../web-components/dist/types/utils/types.d.ts::IcThemeForegroundNoDefault"
556
+ }
557
+ }
558
+ },
559
+ "required": false,
560
+ "optional": true,
561
+ "docs": {
562
+ "tags": [],
563
+ "text": "Sets the props for the circular loading indicator used in the loading state."
564
+ }
565
+ },
566
+ "minimumLoadingDisplayDuration": {
567
+ "type": "number",
568
+ "mutable": false,
569
+ "complexType": {
570
+ "original": "number",
571
+ "resolved": "number",
572
+ "references": {}
573
+ },
574
+ "required": false,
575
+ "optional": true,
576
+ "docs": {
577
+ "tags": [],
578
+ "text": "The minimum amount of time the `loading` state displays for before showing the data. Used to prevent flashing in the component."
579
+ },
580
+ "attribute": "minimum-loading-display-duration",
581
+ "reflect": false,
582
+ "defaultValue": "1000"
583
+ },
584
+ "paginationBarOptions": {
585
+ "type": "unknown",
586
+ "mutable": false,
587
+ "complexType": {
588
+ "original": "IcPaginationBarOptions",
589
+ "resolved": "IcPaginationBarOptions",
590
+ "references": {
591
+ "IcPaginationBarOptions": {
393
592
  "location": "import",
394
- "path": "../ic-pagination/ic-pagination.types",
395
- "id": "src/components/ic-pagination/ic-pagination.types.ts::IcPaginationAlignmentOptions"
593
+ "path": "../../utils/types",
594
+ "id": "src/utils/types.ts::IcPaginationBarOptions"
396
595
  }
397
596
  }
398
597
  },
@@ -402,7 +601,7 @@ export class DataTable {
402
601
  "tags": [],
403
602
  "text": "Sets the props for the pagination bar."
404
603
  },
405
- "defaultValue": "{\n itemsPerPage: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n type: \"page\",\n control: \"simple\",\n itemsPerPageControl: true,\n goToPageControl: true,\n alignment: \"right\",\n }"
604
+ "defaultValue": "{\n itemsPerPageOptions: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n rangeLabelType: \"page\",\n type: \"simple\",\n showItemsPerPageControl: true,\n showGoToPageControl: true,\n alignment: \"right\",\n appearance: \"default\",\n itemLabel: \"Item\",\n pageLabel: \"Page\",\n hideRangeLabel: false,\n }"
406
605
  },
407
606
  "showPagination": {
408
607
  "type": "boolean",
@@ -497,6 +696,66 @@ export class DataTable {
497
696
  "attribute": "sticky-row-headers",
498
697
  "reflect": false,
499
698
  "defaultValue": "false"
699
+ },
700
+ "updating": {
701
+ "type": "boolean",
702
+ "mutable": false,
703
+ "complexType": {
704
+ "original": "boolean",
705
+ "resolved": "boolean",
706
+ "references": {}
707
+ },
708
+ "required": false,
709
+ "optional": true,
710
+ "docs": {
711
+ "tags": [],
712
+ "text": "If `true`, the table displays a linear loading indicator below the header row to indicate an updating state."
713
+ },
714
+ "attribute": "updating",
715
+ "reflect": false,
716
+ "defaultValue": "false"
717
+ },
718
+ "updatingOptions": {
719
+ "type": "unknown",
720
+ "mutable": false,
721
+ "complexType": {
722
+ "original": "{\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n max?: number;\n min?: number;\n progress?: number;\n }",
723
+ "resolved": "{ appearance?: IcThemeForegroundNoDefault; description?: string; max?: number; min?: number; progress?: number; }",
724
+ "references": {
725
+ "IcThemeForegroundNoDefault": {
726
+ "location": "import",
727
+ "path": "@ukic/web-components/dist/types/utils/types",
728
+ "id": "../web-components/dist/types/utils/types.d.ts::IcThemeForegroundNoDefault"
729
+ }
730
+ }
731
+ },
732
+ "required": false,
733
+ "optional": true,
734
+ "docs": {
735
+ "tags": [],
736
+ "text": "Sets the props for the linear loading indicator used in the updating state."
737
+ }
738
+ },
739
+ "variableRowHeight": {
740
+ "type": "unknown",
741
+ "mutable": true,
742
+ "complexType": {
743
+ "original": "(params: {\n [key: string]: any;\n index: number;\n }) => IcDataTableRowHeights | null",
744
+ "resolved": "(params: { [key: string]: any; index: number; }) => IcDataTableRowHeights",
745
+ "references": {
746
+ "IcDataTableRowHeights": {
747
+ "location": "import",
748
+ "path": "./ic-data-table.types",
749
+ "id": "src/components/ic-data-table/ic-data-table.types.tsx::IcDataTableRowHeights"
750
+ }
751
+ }
752
+ },
753
+ "required": false,
754
+ "optional": true,
755
+ "docs": {
756
+ "tags": [],
757
+ "text": "Allows for custom setting of row heights on individual rows based on an individual value from the `data` prop and the row index.\nIf the function returns `null`, that row's height will be set to the `globalRowHeight` property."
758
+ }
500
759
  }
501
760
  };
502
761
  }
@@ -513,7 +772,61 @@ export class DataTable {
513
772
  "toRow": {}
514
773
  };
515
774
  }
775
+ static get events() {
776
+ return [{
777
+ "method": "icRowHeightChange",
778
+ "name": "icRowHeightChange",
779
+ "bubbles": true,
780
+ "cancelable": true,
781
+ "composed": true,
782
+ "docs": {
783
+ "tags": [],
784
+ "text": "Emitted when the `globalRowHeight` or `variableRowHeight` properties change in the data table."
785
+ },
786
+ "complexType": {
787
+ "original": "void",
788
+ "resolved": "void",
789
+ "references": {}
790
+ }
791
+ }];
792
+ }
793
+ static get methods() {
794
+ return {
795
+ "resetRowHeights": {
796
+ "complexType": {
797
+ "signature": "() => Promise<void>",
798
+ "parameters": [],
799
+ "references": {
800
+ "Promise": {
801
+ "location": "global",
802
+ "id": "global::Promise"
803
+ }
804
+ },
805
+ "return": "Promise<void>"
806
+ },
807
+ "docs": {
808
+ "text": "Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.",
809
+ "tags": []
810
+ }
811
+ }
812
+ };
813
+ }
516
814
  static get elementRef() { return "el"; }
815
+ static get watchers() {
816
+ return [{
817
+ "propName": "loading",
818
+ "methodName": "loadingHandler"
819
+ }, {
820
+ "propName": "data",
821
+ "methodName": "dataHandler"
822
+ }, {
823
+ "propName": "globalRowHeight",
824
+ "methodName": "rowHeightChangeHandler"
825
+ }, {
826
+ "propName": "variableRowHeight",
827
+ "methodName": "rowHeightChangeHandler"
828
+ }];
829
+ }
517
830
  static get listeners() {
518
831
  return [{
519
832
  "name": "icItemsPerPageChange",
@@ -527,6 +840,12 @@ export class DataTable {
527
840
  "target": undefined,
528
841
  "capture": false,
529
842
  "passive": false
843
+ }, {
844
+ "name": "icTableDensityUpdate",
845
+ "method": "handleDensityChange",
846
+ "target": undefined,
847
+ "capture": false,
848
+ "passive": false
530
849
  }, {
531
850
  "name": "click",
532
851
  "method": "clickListener",