@ukic/canary-web-components 2.0.0-canary.23 → 2.0.0-canary.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (674) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-85c5ca15.js → helpers-6817cfbb.js} +20 -31
  3. package/dist/cjs/helpers-6817cfbb.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +7 -7
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +3 -3
  7. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +11 -4
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +14 -11
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +26 -14
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-button_3.cjs.entry.js +21 -18
  19. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  21. package/dist/cjs/{ic-card-vertical.cjs.entry.js → ic-card.cjs.entry.js} +5 -5
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -5
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +14 -5
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +9 -2
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-entity.cjs.entry.js +29 -0
  32. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
  33. package/dist/cjs/ic-data-row.cjs.entry.js +9 -8
  34. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-data-table.cjs.entry.js +205 -51
  38. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-date-input.cjs.entry.js +3 -2
  40. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-date-picker.cjs.entry.js +5 -3
  42. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-dialog.cjs.entry.js +96 -11
  44. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-empty-state_2.cjs.entry.js +7 -7
  46. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
  48. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-footer-link.cjs.entry.js +6 -5
  50. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-footer.cjs.entry.js +7 -7
  52. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-hero.cjs.entry.js +8 -7
  54. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +4 -4
  56. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +24 -20
  58. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-link.cjs.entry.js +6 -5
  60. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +11 -9
  64. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-menu.cjs.entry.js +9 -7
  66. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-group.cjs.entry.js +8 -8
  68. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
  70. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-page-header.cjs.entry.js +7 -6
  74. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-pagination_4.cjs.entry.js +99 -92
  76. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +2 -2
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +25 -14
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +17 -4
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +23 -17
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-select-with-multi.cjs.entry.js +21 -13
  86. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  88. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-skeleton.cjs.entry.js +5 -4
  90. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-status-tag.cjs.entry.js +10 -1
  92. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-step.cjs.entry.js +42 -39
  94. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  96. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-switch.cjs.entry.js +5 -4
  98. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab-context.cjs.entry.js +11 -0
  100. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tab-group.cjs.entry.js +4 -3
  102. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab-panel.cjs.entry.js +7 -0
  104. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  106. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toast-region.cjs.entry.js +7 -0
  108. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-toast.cjs.entry.js +34 -82
  110. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +16 -16
  112. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-toggle-button.cjs.entry.js +12 -12
  114. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-top-navigation.cjs.entry.js +3 -3
  116. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ic-tree-item.cjs.entry.js +1 -1
  118. package/dist/cjs/ic-tree-view.cjs.entry.js +1 -1
  119. package/dist/cjs/ic-typography.cjs.entry.js +5 -5
  120. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  121. package/dist/cjs/index-4cf27b16.js +10 -10
  122. package/dist/cjs/loader.cjs.js +1 -1
  123. package/dist/collection/collection-manifest.json +2 -2
  124. package/dist/collection/components/ic-data-table/ic-data-table.css +31 -7
  125. package/dist/collection/components/ic-data-table/ic-data-table.js +323 -56
  126. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  127. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  128. package/dist/collection/components/ic-data-table/story-data.js +149 -54
  129. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  130. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +15 -0
  131. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  132. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +1 -1
  133. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  134. package/dist/collection/components/ic-date-input/ic-date-input.js +20 -1
  135. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  136. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +9 -0
  137. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -1
  138. package/dist/collection/components/ic-date-picker/ic-date-picker.css +24 -24
  139. package/dist/collection/components/ic-date-picker/ic-date-picker.js +21 -1
  140. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  141. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +10 -0
  142. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +1 -1
  143. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +11 -11
  144. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +30 -7
  145. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  146. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +1 -1
  147. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  148. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  149. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  150. package/dist/collection/components/ic-select-with-multi/ic-select.css +12 -14
  151. package/dist/collection/components/ic-select-with-multi/ic-select.js +142 -13
  152. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  153. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +1 -1
  154. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -1
  155. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +6 -6
  156. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -1
  157. package/dist/collection/utils/helpers.js +22 -0
  158. package/dist/collection/utils/helpers.js.map +1 -1
  159. package/dist/collection/utils/types.js.map +1 -1
  160. package/dist/components/helpers2.js +18 -29
  161. package/dist/components/helpers2.js.map +1 -1
  162. package/dist/components/ic-accordion-group.js +8 -8
  163. package/dist/components/ic-accordion-group.js.map +1 -1
  164. package/dist/components/ic-accordion.js +3 -3
  165. package/dist/components/ic-accordion.js.map +1 -1
  166. package/dist/components/ic-alert.js +1 -127
  167. package/dist/components/ic-alert.js.map +1 -1
  168. package/dist/components/ic-alert2.js +139 -0
  169. package/dist/components/ic-alert2.js.map +1 -0
  170. package/dist/components/ic-back-to-top.js +15 -24
  171. package/dist/components/ic-back-to-top.js.map +1 -1
  172. package/dist/components/ic-badge.js +30 -16
  173. package/dist/components/ic-badge.js.map +1 -1
  174. package/dist/components/ic-breadcrumb-group.js +3 -3
  175. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  176. package/dist/components/ic-breadcrumb2.js +2 -2
  177. package/dist/components/ic-breadcrumb2.js.map +1 -1
  178. package/dist/components/ic-button2.js +14 -11
  179. package/dist/components/ic-button2.js.map +1 -1
  180. package/dist/components/{ic-card-vertical.js → ic-card.js} +10 -10
  181. package/dist/components/ic-card.js.map +1 -0
  182. package/dist/components/ic-checkbox-group.js +5 -5
  183. package/dist/components/ic-checkbox-group.js.map +1 -1
  184. package/dist/components/ic-checkbox.js +20 -5
  185. package/dist/components/ic-checkbox.js.map +1 -1
  186. package/dist/components/ic-chip.js +10 -2
  187. package/dist/components/ic-chip.js.map +1 -1
  188. package/dist/components/ic-classification-banner.js +2 -2
  189. package/dist/components/ic-classification-banner.js.map +1 -1
  190. package/dist/components/ic-data-entity.js +53 -0
  191. package/dist/components/ic-data-entity.js.map +1 -0
  192. package/dist/components/ic-data-row.js +11 -9
  193. package/dist/components/ic-data-row.js.map +1 -1
  194. package/dist/components/ic-data-table-title-bar.js +1 -1
  195. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  196. package/dist/components/ic-data-table.js +212 -52
  197. package/dist/components/ic-data-table.js.map +1 -1
  198. package/dist/components/ic-date-input2.js +3 -1
  199. package/dist/components/ic-date-input2.js.map +1 -1
  200. package/dist/components/ic-date-picker.js +5 -2
  201. package/dist/components/ic-date-picker.js.map +1 -1
  202. package/dist/components/ic-dialog.js +112 -14
  203. package/dist/components/ic-dialog.js.map +1 -1
  204. package/dist/components/ic-empty-state2.js +6 -6
  205. package/dist/components/ic-empty-state2.js.map +1 -1
  206. package/dist/components/ic-footer-link-group.js +9 -9
  207. package/dist/components/ic-footer-link-group.js.map +1 -1
  208. package/dist/components/ic-footer-link.js +7 -12
  209. package/dist/components/ic-footer-link.js.map +1 -1
  210. package/dist/components/ic-footer.js +7 -7
  211. package/dist/components/ic-footer.js.map +1 -1
  212. package/dist/components/ic-hero.js +9 -7
  213. package/dist/components/ic-hero.js.map +1 -1
  214. package/dist/components/ic-horizontal-scroll2.js +4 -4
  215. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  216. package/dist/components/ic-input-component-container2.js +15 -10
  217. package/dist/components/ic-input-component-container2.js.map +1 -1
  218. package/dist/components/ic-input-label2.js +11 -9
  219. package/dist/components/ic-input-label2.js.map +1 -1
  220. package/dist/components/ic-input-validation2.js +3 -3
  221. package/dist/components/ic-input-validation2.js.map +1 -1
  222. package/dist/components/ic-link2.js +7 -5
  223. package/dist/components/ic-link2.js.map +1 -1
  224. package/dist/components/ic-loading-indicator2.js +8 -8
  225. package/dist/components/ic-loading-indicator2.js.map +1 -1
  226. package/dist/components/ic-menu-item2.js +2 -2
  227. package/dist/components/ic-menu-item2.js.map +1 -1
  228. package/dist/components/ic-menu2.js +10 -7
  229. package/dist/components/ic-menu2.js.map +1 -1
  230. package/dist/components/ic-menu3.js +11 -8
  231. package/dist/components/ic-menu3.js.map +1 -1
  232. package/dist/components/ic-navigation-group.js +8 -8
  233. package/dist/components/ic-navigation-group.js.map +1 -1
  234. package/dist/components/ic-navigation-item.js +4 -4
  235. package/dist/components/ic-navigation-item.js.map +1 -1
  236. package/dist/components/ic-navigation-menu2.js +1 -1
  237. package/dist/components/ic-navigation-menu2.js.map +1 -1
  238. package/dist/components/ic-page-header.js +8 -6
  239. package/dist/components/ic-page-header.js.map +1 -1
  240. package/dist/components/ic-pagination-bar2.js +1 -1
  241. package/dist/components/ic-pagination-bar2.js.map +1 -1
  242. package/dist/components/ic-pagination2.js +34 -36
  243. package/dist/components/ic-pagination2.js.map +1 -1
  244. package/dist/components/ic-popover-menu.js +2 -2
  245. package/dist/components/ic-popover-menu.js.map +1 -1
  246. package/dist/components/ic-radio-group.js +27 -15
  247. package/dist/components/ic-radio-group.js.map +1 -1
  248. package/dist/components/ic-radio-option.js +25 -6
  249. package/dist/components/ic-radio-option.js.map +1 -1
  250. package/dist/components/ic-search-bar.js +26 -19
  251. package/dist/components/ic-search-bar.js.map +1 -1
  252. package/dist/components/ic-select-with-multi.js +28 -13
  253. package/dist/components/ic-select-with-multi.js.map +1 -1
  254. package/dist/components/ic-select2.js +28 -13
  255. package/dist/components/ic-select2.js.map +1 -1
  256. package/dist/components/ic-side-navigation.js +6 -6
  257. package/dist/components/ic-side-navigation.js.map +1 -1
  258. package/dist/components/ic-skeleton.js +6 -4
  259. package/dist/components/ic-skeleton.js.map +1 -1
  260. package/dist/components/ic-status-tag.js +12 -1
  261. package/dist/components/ic-status-tag.js.map +1 -1
  262. package/dist/components/ic-step.js +48 -45
  263. package/dist/components/ic-step.js.map +1 -1
  264. package/dist/components/ic-stepper.js +15 -15
  265. package/dist/components/ic-stepper.js.map +1 -1
  266. package/dist/components/ic-switch.js +6 -4
  267. package/dist/components/ic-switch.js.map +1 -1
  268. package/dist/components/ic-tab-context.js +11 -0
  269. package/dist/components/ic-tab-context.js.map +1 -1
  270. package/dist/components/ic-tab-group.js +5 -3
  271. package/dist/components/ic-tab-group.js.map +1 -1
  272. package/dist/components/ic-tab-panel.js +8 -0
  273. package/dist/components/ic-tab-panel.js.map +1 -1
  274. package/dist/components/ic-tab.js +3 -3
  275. package/dist/components/ic-tab.js.map +1 -1
  276. package/dist/components/ic-text-field2.js +54 -50
  277. package/dist/components/ic-text-field2.js.map +1 -1
  278. package/dist/components/ic-toast-region.js +9 -1
  279. package/dist/components/ic-toast-region.js.map +1 -1
  280. package/dist/components/ic-toast.js +35 -85
  281. package/dist/components/ic-toast.js.map +1 -1
  282. package/dist/components/ic-toggle-button-group.js +16 -16
  283. package/dist/components/ic-toggle-button-group.js.map +1 -1
  284. package/dist/components/ic-toggle-button.js +13 -13
  285. package/dist/components/ic-toggle-button.js.map +1 -1
  286. package/dist/components/ic-top-navigation.js +3 -3
  287. package/dist/components/ic-top-navigation.js.map +1 -1
  288. package/dist/components/ic-typography2.js +5 -5
  289. package/dist/components/ic-typography2.js.map +1 -1
  290. package/dist/core/core.css +1 -1
  291. package/dist/core/core.esm.js +1 -1
  292. package/dist/core/core.esm.js.map +1 -1
  293. package/dist/core/{p-0896531a.entry.js → p-0180e00a.entry.js} +2 -2
  294. package/dist/core/p-0180e00a.entry.js.map +1 -0
  295. package/dist/core/p-046f4de6.entry.js +2 -0
  296. package/dist/core/p-046f4de6.entry.js.map +1 -0
  297. package/dist/core/{p-00b29b5c.entry.js → p-0ec04c16.entry.js} +2 -2
  298. package/dist/core/p-0ec04c16.entry.js.map +1 -0
  299. package/dist/core/p-13993bf3.entry.js +2 -0
  300. package/dist/core/p-13993bf3.entry.js.map +1 -0
  301. package/dist/core/p-16a48a63.entry.js +2 -0
  302. package/dist/core/p-16a48a63.entry.js.map +1 -0
  303. package/dist/core/{p-401d0c66.entry.js → p-20997691.entry.js} +2 -2
  304. package/dist/core/{p-64b1e4a8.entry.js → p-216fbd5e.entry.js} +2 -2
  305. package/dist/core/p-216fbd5e.entry.js.map +1 -0
  306. package/dist/core/p-297e99cf.js +2 -0
  307. package/dist/core/p-297e99cf.js.map +1 -0
  308. package/dist/core/p-2d063032.entry.js +2 -0
  309. package/dist/core/p-2d063032.entry.js.map +1 -0
  310. package/dist/core/p-2ee5d3fb.entry.js +2 -0
  311. package/dist/core/p-2ee5d3fb.entry.js.map +1 -0
  312. package/dist/core/p-2f7e6e38.entry.js +2 -0
  313. package/dist/core/p-2f7e6e38.entry.js.map +1 -0
  314. package/dist/core/p-3a59391f.entry.js +2 -0
  315. package/dist/core/p-3a59391f.entry.js.map +1 -0
  316. package/dist/core/p-3ba4335c.entry.js +2 -0
  317. package/dist/core/p-3ba4335c.entry.js.map +1 -0
  318. package/dist/core/p-40e5fa80.entry.js +2 -0
  319. package/dist/core/p-40e5fa80.entry.js.map +1 -0
  320. package/dist/core/p-418a84d4.entry.js +2 -0
  321. package/dist/core/p-418a84d4.entry.js.map +1 -0
  322. package/dist/core/p-41916ef7.entry.js +2 -0
  323. package/dist/core/p-41916ef7.entry.js.map +1 -0
  324. package/dist/core/{p-4188b38a.entry.js → p-452985d9.entry.js} +2 -2
  325. package/dist/core/{p-f1072c28.entry.js.map → p-452985d9.entry.js.map} +1 -1
  326. package/dist/core/p-486a6957.entry.js +2 -0
  327. package/dist/core/p-486a6957.entry.js.map +1 -0
  328. package/dist/core/{p-21ecca00.entry.js → p-5348af01.entry.js} +2 -2
  329. package/dist/core/p-5348af01.entry.js.map +1 -0
  330. package/dist/core/{p-54306250.entry.js → p-5fea8f1c.entry.js} +2 -2
  331. package/dist/core/{p-54306250.entry.js.map → p-5fea8f1c.entry.js.map} +1 -1
  332. package/dist/core/p-6358925c.entry.js +2 -0
  333. package/dist/core/p-6358925c.entry.js.map +1 -0
  334. package/dist/core/p-6398a726.entry.js +2 -0
  335. package/dist/core/p-6398a726.entry.js.map +1 -0
  336. package/dist/core/{p-3f2ae26e.entry.js → p-648fb902.entry.js} +2 -2
  337. package/dist/core/p-648fb902.entry.js.map +1 -0
  338. package/dist/core/p-673a4a62.entry.js +2 -0
  339. package/dist/core/p-673a4a62.entry.js.map +1 -0
  340. package/dist/core/{p-88ba5a88.entry.js → p-67ae9d37.entry.js} +2 -2
  341. package/dist/core/p-6af080d3.entry.js +2 -0
  342. package/dist/core/p-6af080d3.entry.js.map +1 -0
  343. package/dist/core/{p-bcf04b18.entry.js → p-6b01e096.entry.js} +2 -2
  344. package/dist/core/p-6b01e096.entry.js.map +1 -0
  345. package/dist/core/{p-cbd730aa.entry.js → p-6b1fcf87.entry.js} +2 -2
  346. package/dist/core/p-6b1fcf87.entry.js.map +1 -0
  347. package/dist/core/{p-22260ed4.entry.js → p-6fb3d61e.entry.js} +2 -2
  348. package/dist/core/p-74abc3bb.entry.js +2 -0
  349. package/dist/core/p-74abc3bb.entry.js.map +1 -0
  350. package/dist/core/{p-f1072c28.entry.js → p-787ffd96.entry.js} +2 -2
  351. package/dist/core/p-787ffd96.entry.js.map +1 -0
  352. package/dist/core/p-789ae7f5.entry.js +2 -0
  353. package/dist/core/p-789ae7f5.entry.js.map +1 -0
  354. package/dist/core/{p-4309460f.entry.js → p-80d6a6b5.entry.js} +2 -2
  355. package/dist/core/{p-2fb52051.js → p-8128572e.js} +2 -2
  356. package/dist/core/p-89c7ea3e.entry.js +2 -0
  357. package/dist/core/p-89c7ea3e.entry.js.map +1 -0
  358. package/dist/core/p-8d276e8f.entry.js +2 -0
  359. package/dist/core/p-8d276e8f.entry.js.map +1 -0
  360. package/dist/core/{p-30d385c6.entry.js → p-92f701e7.entry.js} +2 -2
  361. package/dist/core/p-92f701e7.entry.js.map +1 -0
  362. package/dist/core/p-969cadfa.entry.js +2 -0
  363. package/dist/core/p-969cadfa.entry.js.map +1 -0
  364. package/dist/core/p-9777ebb1.entry.js +2 -0
  365. package/dist/core/p-9777ebb1.entry.js.map +1 -0
  366. package/dist/core/{p-41a53070.entry.js → p-97f141a6.entry.js} +2 -2
  367. package/dist/core/p-97f141a6.entry.js.map +1 -0
  368. package/dist/core/p-989310a8.entry.js +2 -0
  369. package/dist/core/p-989310a8.entry.js.map +1 -0
  370. package/dist/core/p-99185fd5.entry.js +2 -0
  371. package/dist/core/p-99185fd5.entry.js.map +1 -0
  372. package/dist/core/p-99f96c33.entry.js +2 -0
  373. package/dist/core/p-99f96c33.entry.js.map +1 -0
  374. package/dist/core/{p-ede631c5.entry.js → p-9b34989b.entry.js} +2 -2
  375. package/dist/core/{p-b6e208e3.entry.js → p-a72af8db.entry.js} +2 -2
  376. package/dist/core/p-aa72f551.entry.js +2 -0
  377. package/dist/core/p-aa72f551.entry.js.map +1 -0
  378. package/dist/core/p-aaaa9261.entry.js +2 -0
  379. package/dist/core/p-aaaa9261.entry.js.map +1 -0
  380. package/dist/core/p-b2c433e2.entry.js +2 -0
  381. package/dist/core/p-b2c433e2.entry.js.map +1 -0
  382. package/dist/core/p-bd1f8741.entry.js +2 -0
  383. package/dist/core/p-bd1f8741.entry.js.map +1 -0
  384. package/dist/core/p-bee3fdb0.entry.js +2 -0
  385. package/dist/core/p-bee3fdb0.entry.js.map +1 -0
  386. package/dist/core/{p-2533d147.entry.js → p-bfc5f3f4.entry.js} +2 -2
  387. package/dist/core/p-bfc5f3f4.entry.js.map +1 -0
  388. package/dist/core/p-c6bdbe69.entry.js +2 -0
  389. package/dist/core/p-c6bdbe69.entry.js.map +1 -0
  390. package/dist/core/p-c98ce508.entry.js +2 -0
  391. package/dist/core/p-c98ce508.entry.js.map +1 -0
  392. package/dist/core/p-cb3afdbf.entry.js +2 -0
  393. package/dist/core/p-cb3afdbf.entry.js.map +1 -0
  394. package/dist/core/p-ccf72538.entry.js +2 -0
  395. package/dist/core/p-ccf72538.entry.js.map +1 -0
  396. package/dist/core/p-ce0999f1.entry.js +2 -0
  397. package/dist/core/p-ce0999f1.entry.js.map +1 -0
  398. package/dist/core/p-d02a4d1b.entry.js +2 -0
  399. package/dist/core/p-d02a4d1b.entry.js.map +1 -0
  400. package/dist/core/p-d362992d.entry.js +2 -0
  401. package/dist/core/p-d362992d.entry.js.map +1 -0
  402. package/dist/core/p-d8322108.entry.js +2 -0
  403. package/dist/core/p-d8322108.entry.js.map +1 -0
  404. package/dist/core/{p-125bc120.entry.js → p-d86cdbc8.entry.js} +2 -2
  405. package/dist/core/{p-a4d0f166.entry.js → p-da8255b8.entry.js} +2 -2
  406. package/dist/core/p-da8255b8.entry.js.map +1 -0
  407. package/dist/core/p-ee8a3de6.entry.js +2 -0
  408. package/dist/core/p-ee8a3de6.entry.js.map +1 -0
  409. package/dist/core/{p-be70c278.entry.js → p-f09b2041.entry.js} +2 -2
  410. package/dist/core/{p-be70c278.entry.js.map → p-f09b2041.entry.js.map} +1 -1
  411. package/dist/core/p-f1044e4d.entry.js +2 -0
  412. package/dist/core/p-f1044e4d.entry.js.map +1 -0
  413. package/dist/core/p-f10f7f37.entry.js +2 -0
  414. package/dist/core/p-f10f7f37.entry.js.map +1 -0
  415. package/dist/core/p-fa77211d.entry.js +2 -0
  416. package/dist/core/p-fa77211d.entry.js.map +1 -0
  417. package/dist/esm/core.js +1 -1
  418. package/dist/esm/{helpers-f543bc77.js → helpers-5bd2012a.js} +19 -30
  419. package/dist/esm/helpers-5bd2012a.js.map +1 -0
  420. package/dist/esm/{helpers-0f5fe29b.js → helpers-886489d5.js} +2 -2
  421. package/dist/esm/{helpers-0f5fe29b.js.map → helpers-886489d5.js.map} +1 -1
  422. package/dist/esm/ic-accordion-group.entry.js +8 -8
  423. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  424. package/dist/esm/ic-accordion.entry.js +4 -4
  425. package/dist/esm/ic-accordion.entry.js.map +1 -1
  426. package/dist/esm/ic-alert.entry.js +12 -5
  427. package/dist/esm/ic-alert.entry.js.map +1 -1
  428. package/dist/esm/ic-back-to-top.entry.js +15 -12
  429. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  430. package/dist/esm/ic-badge.entry.js +27 -15
  431. package/dist/esm/ic-badge.entry.js.map +1 -1
  432. package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
  433. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  434. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  435. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  436. package/dist/esm/ic-button_3.entry.js +22 -19
  437. package/dist/esm/ic-button_3.entry.js.map +1 -1
  438. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  439. package/dist/esm/{ic-card-vertical.entry.js → ic-card.entry.js} +6 -6
  440. package/dist/esm/ic-card.entry.js.map +1 -0
  441. package/dist/esm/ic-checkbox-group.entry.js +5 -6
  442. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  443. package/dist/esm/ic-checkbox.entry.js +15 -6
  444. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  445. package/dist/esm/ic-chip.entry.js +10 -3
  446. package/dist/esm/ic-chip.entry.js.map +1 -1
  447. package/dist/esm/ic-classification-banner.entry.js +2 -2
  448. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  449. package/dist/esm/ic-data-entity.entry.js +25 -0
  450. package/dist/esm/ic-data-entity.entry.js.map +1 -0
  451. package/dist/esm/ic-data-row.entry.js +10 -9
  452. package/dist/esm/ic-data-row.entry.js.map +1 -1
  453. package/dist/esm/ic-data-table-title-bar.entry.js +2 -2
  454. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  455. package/dist/esm/ic-data-table.entry.js +206 -52
  456. package/dist/esm/ic-data-table.entry.js.map +1 -1
  457. package/dist/esm/ic-date-input.entry.js +3 -2
  458. package/dist/esm/ic-date-input.entry.js.map +1 -1
  459. package/dist/esm/ic-date-picker.entry.js +5 -3
  460. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  461. package/dist/esm/ic-dialog.entry.js +97 -12
  462. package/dist/esm/ic-dialog.entry.js.map +1 -1
  463. package/dist/esm/ic-divider.entry.js +1 -1
  464. package/dist/esm/ic-empty-state_2.entry.js +8 -8
  465. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  466. package/dist/esm/ic-footer-link-group.entry.js +9 -9
  467. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  468. package/dist/esm/ic-footer-link.entry.js +7 -6
  469. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  470. package/dist/esm/ic-footer.entry.js +8 -8
  471. package/dist/esm/ic-footer.entry.js.map +1 -1
  472. package/dist/esm/ic-hero.entry.js +9 -8
  473. package/dist/esm/ic-hero.entry.js.map +1 -1
  474. package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
  475. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  476. package/dist/esm/ic-input-component-container_4.entry.js +25 -21
  477. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  478. package/dist/esm/ic-link.entry.js +7 -6
  479. package/dist/esm/ic-link.entry.js.map +1 -1
  480. package/dist/esm/ic-menu-group.entry.js +1 -1
  481. package/dist/esm/ic-menu-item.entry.js +3 -3
  482. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  483. package/dist/esm/ic-menu-with-multi.entry.js +11 -9
  484. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  485. package/dist/esm/ic-menu.entry.js +10 -8
  486. package/dist/esm/ic-menu.entry.js.map +1 -1
  487. package/dist/esm/ic-navigation-button.entry.js +1 -1
  488. package/dist/esm/ic-navigation-group.entry.js +9 -9
  489. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-item.entry.js +5 -5
  491. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  492. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  493. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  494. package/dist/esm/ic-page-header.entry.js +8 -7
  495. package/dist/esm/ic-page-header.entry.js.map +1 -1
  496. package/dist/esm/ic-pagination_4.entry.js +100 -93
  497. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  498. package/dist/esm/ic-popover-menu.entry.js +3 -3
  499. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  500. package/dist/esm/ic-radio-group.entry.js +26 -15
  501. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  502. package/dist/esm/ic-radio-option.entry.js +18 -5
  503. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  504. package/dist/esm/ic-search-bar.entry.js +24 -18
  505. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  506. package/dist/esm/ic-select-with-multi.entry.js +21 -13
  507. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  508. package/dist/esm/ic-side-navigation.entry.js +7 -7
  509. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  510. package/dist/esm/ic-skeleton.entry.js +5 -4
  511. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  512. package/dist/esm/ic-status-tag.entry.js +11 -2
  513. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  514. package/dist/esm/ic-step.entry.js +43 -40
  515. package/dist/esm/ic-step.entry.js.map +1 -1
  516. package/dist/esm/ic-stepper.entry.js +16 -16
  517. package/dist/esm/ic-stepper.entry.js.map +1 -1
  518. package/dist/esm/ic-switch.entry.js +6 -5
  519. package/dist/esm/ic-switch.entry.js.map +1 -1
  520. package/dist/esm/ic-tab-context.entry.js +11 -0
  521. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  522. package/dist/esm/ic-tab-group.entry.js +5 -4
  523. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  524. package/dist/esm/ic-tab-panel.entry.js +8 -1
  525. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  526. package/dist/esm/ic-tab.entry.js +4 -4
  527. package/dist/esm/ic-tab.entry.js.map +1 -1
  528. package/dist/esm/ic-theme.entry.js +1 -1
  529. package/dist/esm/ic-toast-region.entry.js +7 -0
  530. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  531. package/dist/esm/ic-toast.entry.js +35 -83
  532. package/dist/esm/ic-toast.entry.js.map +1 -1
  533. package/dist/esm/ic-toggle-button-group.entry.js +16 -16
  534. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  535. package/dist/esm/ic-toggle-button.entry.js +13 -13
  536. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  537. package/dist/esm/ic-top-navigation.entry.js +4 -4
  538. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  539. package/dist/esm/ic-tree-item.entry.js +1 -1
  540. package/dist/esm/ic-tree-view.entry.js +1 -1
  541. package/dist/esm/ic-typography.entry.js +6 -6
  542. package/dist/esm/ic-typography.entry.js.map +1 -1
  543. package/dist/esm/index-93509377.js +10 -10
  544. package/dist/esm/loader.js +1 -1
  545. package/dist/types/components/ic-data-table/ic-data-table.d.ts +36 -9
  546. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +16 -4
  547. package/dist/types/components/ic-data-table/story-data.d.ts +69 -8
  548. package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
  549. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  550. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +4 -0
  551. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +31 -1
  552. package/dist/types/components.d.ts +133 -8
  553. package/dist/types/interface.d.ts +1 -0
  554. package/dist/types/utils/helpers.d.ts +6 -0
  555. package/dist/types/utils/types.d.ts +1 -1
  556. package/hydrate/index.js +1231 -843
  557. package/package.json +3 -3
  558. package/dist/cjs/helpers-85c5ca15.js.map +0 -1
  559. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +0 -1
  560. package/dist/cjs/ic-data-list.cjs.entry.js +0 -28
  561. package/dist/cjs/ic-data-list.cjs.entry.js.map +0 -1
  562. package/dist/components/ic-card-vertical.js.map +0 -1
  563. package/dist/components/ic-data-list.js +0 -51
  564. package/dist/components/ic-data-list.js.map +0 -1
  565. package/dist/core/p-00b29b5c.entry.js.map +0 -1
  566. package/dist/core/p-01937eb0.entry.js +0 -2
  567. package/dist/core/p-01937eb0.entry.js.map +0 -1
  568. package/dist/core/p-06db67a5.entry.js +0 -2
  569. package/dist/core/p-06db67a5.entry.js.map +0 -1
  570. package/dist/core/p-0896531a.entry.js.map +0 -1
  571. package/dist/core/p-155054f4.entry.js +0 -2
  572. package/dist/core/p-155054f4.entry.js.map +0 -1
  573. package/dist/core/p-19be677b.entry.js +0 -2
  574. package/dist/core/p-19be677b.entry.js.map +0 -1
  575. package/dist/core/p-20aae323.entry.js +0 -2
  576. package/dist/core/p-20aae323.entry.js.map +0 -1
  577. package/dist/core/p-21ecca00.entry.js.map +0 -1
  578. package/dist/core/p-2533d147.entry.js.map +0 -1
  579. package/dist/core/p-2ec4ced3.entry.js +0 -2
  580. package/dist/core/p-2ec4ced3.entry.js.map +0 -1
  581. package/dist/core/p-30d385c6.entry.js.map +0 -1
  582. package/dist/core/p-3bd8a4fa.entry.js +0 -2
  583. package/dist/core/p-3bd8a4fa.entry.js.map +0 -1
  584. package/dist/core/p-3f2ae26e.entry.js.map +0 -1
  585. package/dist/core/p-4188b38a.entry.js.map +0 -1
  586. package/dist/core/p-41a53070.entry.js.map +0 -1
  587. package/dist/core/p-436d179b.entry.js +0 -2
  588. package/dist/core/p-436d179b.entry.js.map +0 -1
  589. package/dist/core/p-439d1a97.entry.js +0 -2
  590. package/dist/core/p-439d1a97.entry.js.map +0 -1
  591. package/dist/core/p-4974da93.entry.js +0 -2
  592. package/dist/core/p-4974da93.entry.js.map +0 -1
  593. package/dist/core/p-4d316a43.entry.js +0 -2
  594. package/dist/core/p-4d316a43.entry.js.map +0 -1
  595. package/dist/core/p-57527684.entry.js +0 -2
  596. package/dist/core/p-57527684.entry.js.map +0 -1
  597. package/dist/core/p-5a95dd44.entry.js +0 -2
  598. package/dist/core/p-5a95dd44.entry.js.map +0 -1
  599. package/dist/core/p-5cecbd1f.entry.js +0 -2
  600. package/dist/core/p-5cecbd1f.entry.js.map +0 -1
  601. package/dist/core/p-5e41f96d.entry.js +0 -2
  602. package/dist/core/p-5e41f96d.entry.js.map +0 -1
  603. package/dist/core/p-64826d54.entry.js +0 -2
  604. package/dist/core/p-64826d54.entry.js.map +0 -1
  605. package/dist/core/p-64b1e4a8.entry.js.map +0 -1
  606. package/dist/core/p-65cf6a11.entry.js +0 -2
  607. package/dist/core/p-65cf6a11.entry.js.map +0 -1
  608. package/dist/core/p-6a5ffe7d.entry.js +0 -2
  609. package/dist/core/p-6a5ffe7d.entry.js.map +0 -1
  610. package/dist/core/p-6c6c71ba.entry.js +0 -2
  611. package/dist/core/p-6c6c71ba.entry.js.map +0 -1
  612. package/dist/core/p-6f0e9434.entry.js +0 -2
  613. package/dist/core/p-6f0e9434.entry.js.map +0 -1
  614. package/dist/core/p-84eaa486.entry.js +0 -2
  615. package/dist/core/p-84eaa486.entry.js.map +0 -1
  616. package/dist/core/p-85cb6bb7.entry.js +0 -2
  617. package/dist/core/p-85cb6bb7.entry.js.map +0 -1
  618. package/dist/core/p-8c5b63c6.entry.js +0 -2
  619. package/dist/core/p-8c5b63c6.entry.js.map +0 -1
  620. package/dist/core/p-8da08c05.entry.js +0 -2
  621. package/dist/core/p-8da08c05.entry.js.map +0 -1
  622. package/dist/core/p-91cf89c8.entry.js +0 -2
  623. package/dist/core/p-91cf89c8.entry.js.map +0 -1
  624. package/dist/core/p-98981fa7.entry.js +0 -2
  625. package/dist/core/p-98981fa7.entry.js.map +0 -1
  626. package/dist/core/p-9d3e0e60.entry.js +0 -2
  627. package/dist/core/p-9d3e0e60.entry.js.map +0 -1
  628. package/dist/core/p-a2194364.entry.js +0 -2
  629. package/dist/core/p-a2194364.entry.js.map +0 -1
  630. package/dist/core/p-a4d0f166.entry.js.map +0 -1
  631. package/dist/core/p-aaa6f849.entry.js +0 -2
  632. package/dist/core/p-aaa6f849.entry.js.map +0 -1
  633. package/dist/core/p-adbe0d89.js +0 -2
  634. package/dist/core/p-adbe0d89.js.map +0 -1
  635. package/dist/core/p-b4ab627a.entry.js +0 -2
  636. package/dist/core/p-b4ab627a.entry.js.map +0 -1
  637. package/dist/core/p-b7abaec8.entry.js +0 -2
  638. package/dist/core/p-b7abaec8.entry.js.map +0 -1
  639. package/dist/core/p-bc4aec3a.entry.js +0 -2
  640. package/dist/core/p-bc4aec3a.entry.js.map +0 -1
  641. package/dist/core/p-bcf04b18.entry.js.map +0 -1
  642. package/dist/core/p-bf009b9a.entry.js +0 -2
  643. package/dist/core/p-bf009b9a.entry.js.map +0 -1
  644. package/dist/core/p-cbd730aa.entry.js.map +0 -1
  645. package/dist/core/p-d76e24e4.entry.js +0 -2
  646. package/dist/core/p-d76e24e4.entry.js.map +0 -1
  647. package/dist/core/p-d7bf1057.entry.js +0 -2
  648. package/dist/core/p-d7bf1057.entry.js.map +0 -1
  649. package/dist/core/p-d9254b14.entry.js +0 -2
  650. package/dist/core/p-d9254b14.entry.js.map +0 -1
  651. package/dist/core/p-e20f8772.entry.js +0 -2
  652. package/dist/core/p-e20f8772.entry.js.map +0 -1
  653. package/dist/core/p-e26769b0.entry.js +0 -2
  654. package/dist/core/p-e26769b0.entry.js.map +0 -1
  655. package/dist/core/p-e2dba05a.entry.js +0 -2
  656. package/dist/core/p-e2dba05a.entry.js.map +0 -1
  657. package/dist/core/p-ec862c7e.entry.js +0 -2
  658. package/dist/core/p-ec862c7e.entry.js.map +0 -1
  659. package/dist/core/p-ef9175d8.entry.js +0 -2
  660. package/dist/core/p-ef9175d8.entry.js.map +0 -1
  661. package/dist/core/p-f4db39eb.entry.js +0 -2
  662. package/dist/core/p-f4db39eb.entry.js.map +0 -1
  663. package/dist/esm/helpers-f543bc77.js.map +0 -1
  664. package/dist/esm/ic-card-vertical.entry.js.map +0 -1
  665. package/dist/esm/ic-data-list.entry.js +0 -24
  666. package/dist/esm/ic-data-list.entry.js.map +0 -1
  667. /package/dist/core/{p-401d0c66.entry.js.map → p-20997691.entry.js.map} +0 -0
  668. /package/dist/core/{p-88ba5a88.entry.js.map → p-67ae9d37.entry.js.map} +0 -0
  669. /package/dist/core/{p-22260ed4.entry.js.map → p-6fb3d61e.entry.js.map} +0 -0
  670. /package/dist/core/{p-4309460f.entry.js.map → p-80d6a6b5.entry.js.map} +0 -0
  671. /package/dist/core/{p-2fb52051.js.map → p-8128572e.js.map} +0 -0
  672. /package/dist/core/{p-ede631c5.entry.js.map → p-9b34989b.entry.js.map} +0 -0
  673. /package/dist/core/{p-b6e208e3.entry.js.map → p-a72af8db.entry.js.map} +0 -0
  674. /package/dist/core/{p-125bc120.entry.js.map → p-d86cdbc8.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-4cf27b16.js');
6
- const helpers = require('./helpers-85c5ca15.js');
6
+ const helpers = require('./helpers-6817cfbb.js');
7
7
 
8
8
  const unsortedIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24">
9
9
  <path d="M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z"></path>
@@ -17,12 +17,13 @@ const descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 2
17
17
  <path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
18
18
  </svg>`;
19
19
 
20
- const icDataTableCss = ":host{position:relative;display:block;height:100%;max-height:100%}tbody{vertical-align:top}.table-container{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column}.cell-container{display:flex;min-height:1.5rem;overflow-y:hidden}.truncation-show-hide{overflow:visible;display:block}.cell-icon.truncation-show-hide{display:flex}.cell-container:not(.data-type-element,.truncation-show-hide){overflow-x:hidden}ic-loading-indicator{position:sticky;top:20px}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:fixed;border-spacing:0;width:100%}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-row-container{border:var(--ic-border-light)}.column-header-sticky{position:sticky;top:0;z-index:1}.column-header-overlay{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}.row-header-sticky{position:sticky;left:0}.column-header,.table-row{box-sizing:border-box}.table-row-selected{background-color:var(--ic-table-row-selected) !important}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-action-dark-bg-hover)}.sort-button:active{background-color:var(--ic-action-dark-bg-active)}.sort-button svg{color:var(--ic-architectural-black)}.sort-button-unsorted svg{color:var(--ic-color-tertiary-text)}.table-density-dense{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}.text-dense{font-size:var(--ic-font-size-label)}.table-density-spacious{padding:0.625rem var(--ic-space-xs) !important}.text-spacious{font-size:1.125rem}.column-header-text{font-weight:var(--ic-font-weight-bold)}.column-header,.row-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}.column-header:last-child{border-right:none}.scrollable .column-header:last-child{border-right:var(--ic-border-light) !important}:host([embedded=\"true\"]) tr:last-child .table-cell,:host([embedded=\"true\"]) tr:last-child .row-header{border-bottom:none}.column-header-alignment-left,.row-header-alignment-left,.cell-alignment-left{text-align:left !important;justify-content:start !important}.column-header-alignment-right,.row-header-alignment-right,.cell-alignment-right{text-align:right !important;justify-content:end !important}.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.cell-alignment-right.truncation-show-hide ic-typography{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.column-header-alignment-center,.row-header-alignment-center,.cell-alignment-center{text-align:center !important;justify-content:center !important}.table-row:nth-child(even){background-color:var(--ic-architectural-20)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px);overflow:hidden}.data-type-string,.data-type-address{text-align:left;vertical-align:top}.data-type-number,.data-type-date{text-align:right;justify-content:end;vertical-align:top}.cell-alignment-top{vertical-align:top;align-items:flex-start}.cell-alignment-middle{vertical-align:middle;align-items:center}.cell-alignment-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low{color:var(--ic-color-secondary-text)}.cell-emphasis-high{font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}.screen-reader-sort-text,.table-caption{position:absolute;left:-100rem}.table-cell,.column-header,.row-header{word-wrap:break-word;white-space:pre-wrap}.loading-empty{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}.updating-state{padding:0;border-bottom:var(--ic-border-light)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading.show-background{background-color:var(--ic-architectural-white);border:var(--ic-border-light)}.loading.show{opacity:1}.icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}.column-header-alignment-right>.icon,.row-header-alignment-right>.icon,.cell-alignment-right>.icon,.column-header-alignment-right>::slotted(svg),.row-header-alignment-right>::slotted(svg),.cell-alignment-right>::slotted(svg){margin-right:auto}.column-header-alignment-center>ic-typography,.row-header-alignment-right>ic-typography,.cell-alignment-center>ic-typography{flex:1}.icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.truncation-tooltip ic-typography{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}.truncation-tooltip ic-typography,.truncation-show-hide ic-typography{white-space:normal}.ic-tooltip-overflow{overflow:hidden}@media screen and (min-width: 576px){.column-header-inner-container{display:flex;align-items:center}}";
20
+ const icDataTableCss = ":host{position:relative;display:inline-flex;max-height:100%;width:var(--table-width, 100%);height:100%;min-width:var(--table-min-width);max-width:var(--table-max-width)}tbody{vertical-align:top}.table-container{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column;width:100%}.cell-container{display:flex;min-height:1.5rem;overflow-y:hidden;height:var(--row-height)}.truncation-show-hide{overflow:visible;display:block}.cell-icon.truncation-show-hide{display:flex}.cell-container:not(.data-type-element,.truncation-show-hide){overflow-x:hidden}ic-loading-indicator{position:sticky;top:20px}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-row-container{border:var(--ic-border-light)}.column-header-inner-container{padding:var(--ic-space-xs);box-sizing:border-box}.column-header-sticky{position:sticky;top:0;z-index:1}.column-header-overlay{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}.row-header-sticky{position:sticky;left:0}.column-header,.table-row{box-sizing:border-box}.table-row-selected{background-color:var(--ic-table-row-selected) !important}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-action-dark-bg-hover)}.sort-button:active{background-color:var(--ic-action-dark-bg-active)}.sort-button svg{color:var(--ic-architectural-black)}.sort-button-unsorted svg{color:var(--ic-color-tertiary-text)}.table-density-dense .column-header-inner-container,td.table-density-dense{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}.text-dense{font-size:var(--ic-font-size-label)}.table-density-spacious .column-header-inner-container,td.table-density-spacious{padding:0.625rem var(--ic-space-xs) !important}.text-spacious{font-size:1.125rem}.column-header-text{font-weight:var(--ic-font-weight-bold)}.row-header,.column-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}.column-header{padding:0;width:var(--column-width);min-width:var(--column-min-width, 4rem);max-width:var(--column-max-width)}.column-header:last-child{border-right:none}.scrollable .column-header:last-child{border-right:var(--ic-border-light) !important}:host([embedded=\"true\"]) tr:last-child .table-cell,:host([embedded=\"true\"]) tr:last-child .row-header{border-bottom:none}.column-header-alignment-left,.row-header-alignment-left,.cell-alignment-left{text-align:left !important;justify-content:start !important}.column-header-alignment-right,.row-header-alignment-right,.cell-alignment-right{text-align:right !important;justify-content:end !important}.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.cell-alignment-right.truncation-show-hide ic-typography{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.column-header-alignment-center,.row-header-alignment-center,.cell-alignment-center{text-align:center !important;justify-content:center !important}.table-row:nth-child(even){background-color:var(--ic-architectural-20)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}.data-type-string,.data-type-address{text-align:left;vertical-align:top}.data-type-number,.data-type-date{text-align:right;justify-content:end;vertical-align:top}.cell-alignment-top{vertical-align:top;align-items:flex-start}.cell-alignment-middle{vertical-align:middle;align-items:center}.cell-alignment-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low{color:var(--ic-color-secondary-text)}.cell-emphasis-high{font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}.screen-reader-sort-text,.table-caption{position:absolute;left:-100rem}.table-cell,.column-header,.row-header{word-wrap:break-word;white-space:pre-wrap}.loading-empty{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}.updating-state{padding:0;border-bottom:var(--ic-border-light)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading.show-background{background-color:var(--ic-architectural-white);border:var(--ic-border-light)}.loading.show{opacity:1}.icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}.column-header-alignment-right>.icon,.row-header-alignment-right>.icon,.cell-alignment-right>.icon,.column-header-alignment-right>::slotted(svg),.row-header-alignment-right>::slotted(svg),.cell-alignment-right>::slotted(svg){margin-right:auto}.column-header-alignment-center>ic-typography,.row-header-alignment-right>ic-typography,.cell-alignment-center>ic-typography{flex:1}.icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.truncation-tooltip ic-typography{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}.truncation-tooltip ic-typography,.truncation-show-hide ic-typography{white-space:normal}.ic-tooltip-overflow{overflow:hidden;width:100%}@media screen and (min-width: 576px){.column-header-inner-container{display:flex;align-items:center}}";
21
21
 
22
22
  const DataTable = class {
23
23
  constructor(hostRef) {
24
24
  index.registerInstance(this, hostRef);
25
25
  this.icRowHeightChange = index.createEvent(this, "icRowHeightChange", 7);
26
+ this.icSortChange = index.createEvent(this, "icSortChange", 7);
26
27
  this.DENSITY_HEIGHT_MULTIPLIER = {
27
28
  dense: 0.8,
28
29
  default: 1,
@@ -52,8 +53,11 @@ const DataTable = class {
52
53
  this.icPageChangeEvent = false;
53
54
  this.itemsPerPageChange = false;
54
55
  this.DATA_ROW_HEIGHT_STRING = "data-row-height";
56
+ this.ROW_HEIGHT_CSS_VARIABLE = "--row-height";
55
57
  this.DEFAULT_LINE_HEIGHT = 24;
56
58
  this.densityUpdate = false;
59
+ this.truncationPatternUpdated = false;
60
+ this.isNewDebounceDelaySet = false;
57
61
  this.updateSetRowHeight = (typographyEl) => {
58
62
  const fontSize = parseInt(getComputedStyle(document.documentElement).fontSize);
59
63
  if (typographyEl) {
@@ -61,7 +65,7 @@ const DataTable = class {
61
65
  const rowHeight = fontSize *
62
66
  parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
63
67
  if (typographyEl.scrollHeight > rowHeight) {
64
- cellContainer.style.removeProperty("height");
68
+ cellContainer.style.removeProperty(this.ROW_HEIGHT_CSS_VARIABLE);
65
69
  }
66
70
  }
67
71
  else {
@@ -70,24 +74,31 @@ const DataTable = class {
70
74
  const rowHeight = fontSize *
71
75
  parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
72
76
  if (typographyEl.scrollHeight > rowHeight) {
73
- cellContainer.style.removeProperty("height");
77
+ cellContainer.style.removeProperty(this.ROW_HEIGHT_CSS_VARIABLE);
74
78
  }
75
79
  });
76
80
  }
77
81
  };
78
82
  this.debounceDataTruncation = () => {
79
83
  this.getTypographyElements().forEach((typographyEl) => {
80
- if (!typographyEl.classList.contains(this.TEXT_WRAP_STRING)) {
84
+ const cellContainer = this.getCellContainer(typographyEl);
85
+ if (!cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
81
86
  this.resizeObserver = new ResizeObserver(
82
87
  // This gets triggered twice due to updated data and see more/see less button
83
- helpers.debounce(() => {
84
- // console.log("resizeObserver triggered");
88
+ helpers.dynamicDebounce(() => {
85
89
  this.dataTruncation(typographyEl);
86
- }, 200));
90
+ if (!this.isNewDebounceDelaySet) {
91
+ this.setNewDebounceDelay(200);
92
+ }
93
+ }, () => this.debounceDelay));
87
94
  this.resizeObserver.observe(typographyEl);
88
95
  }
89
96
  });
90
97
  };
98
+ this.setNewDebounceDelay = (delay) => {
99
+ this.debounceDelay = delay;
100
+ this.isNewDebounceDelaySet = true;
101
+ };
91
102
  this.getLines = (height) => Math.floor(height / this.DEFAULT_LINE_HEIGHT);
92
103
  this.truncate = (typographyEl, cellContainer, tooltip) => {
93
104
  if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)) {
@@ -216,11 +227,40 @@ const DataTable = class {
216
227
  }
217
228
  return {};
218
229
  };
230
+ this.getColumnWidth = (columnWidth) => {
231
+ // TODO: Setting max width on columns
232
+ let columnWidthStyling = {};
233
+ if (columnWidth) {
234
+ if (typeof columnWidth === "string") {
235
+ columnWidthStyling = Object.assign(Object.assign({}, columnWidthStyling), { ["--column-width"]: columnWidth });
236
+ }
237
+ if (typeof columnWidth === "object" && !!Object.keys(columnWidth)) {
238
+ if (columnWidth === null || columnWidth === void 0 ? void 0 : columnWidth.minWidth) {
239
+ columnWidthStyling = Object.assign(Object.assign({}, columnWidthStyling), { ["--column-min-width"]: columnWidth === null || columnWidth === void 0 ? void 0 : columnWidth.minWidth });
240
+ }
241
+ if (columnWidth === null || columnWidth === void 0 ? void 0 : columnWidth.maxWidth) {
242
+ columnWidthStyling = Object.assign(Object.assign({}, columnWidthStyling), { ["--column-max-width"]: columnWidth === null || columnWidth === void 0 ? void 0 : columnWidth.maxWidth });
243
+ }
244
+ }
245
+ }
246
+ return columnWidthStyling;
247
+ };
248
+ this.getRowHeight = (currentRowHeight, columnProps, rowTextWrap, cell) => {
249
+ if ((this.truncationPattern || currentRowHeight) &&
250
+ !(columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) &&
251
+ !rowTextWrap &&
252
+ !this.getCellOptions(cell, "textWrap") &&
253
+ (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element") {
254
+ return {
255
+ [this.ROW_HEIGHT_CSS_VARIABLE]: this.setRowHeight(currentRowHeight),
256
+ };
257
+ }
258
+ return {};
259
+ };
219
260
  this.createCells = (row, rowIndex) => {
220
261
  var _a;
221
262
  const rowValues = Object.values(row);
222
263
  const rowKeys = Object.keys(row);
223
- const index$1 = rowIndex;
224
264
  const rowOptions = this.getRowOptions(rowKeys, rowValues);
225
265
  let rowAlignment;
226
266
  let rowEmphasis;
@@ -229,7 +269,7 @@ const DataTable = class {
229
269
  rowAlignment = this.getObjectValue(rowValues[headerIndex], "rowAlignment");
230
270
  rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
231
271
  }
232
- const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index: index$1 }));
272
+ const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index: rowIndex }));
233
273
  const currentRowHeight = variableRowHeightVal
234
274
  ? variableRowHeightVal !== "auto" && variableRowHeightVal
235
275
  : this.globalRowHeight !== "auto" && this.globalRowHeight;
@@ -250,7 +290,7 @@ const DataTable = class {
250
290
  return (index.h("td", { class: {
251
291
  ["table-cell"]: true,
252
292
  [`table-density-${this.density}`]: this.notDefaultDensity(),
253
- } }, index.h("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
293
+ }, style: Object.assign({}, this.getColumnWidth(columnProps.columnWidth)) }, index.h("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
254
294
  !helpers.isSlotUsed(this.el, cellSlotName)
255
295
  ? cell
256
296
  : null, class: Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
@@ -265,15 +305,7 @@ const DataTable = class {
265
305
  !!((_h = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _h === void 0 ? void 0 : _h.horizontal) ||
266
306
  !!this.getCellAlignment(cell, "horizontal"), [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true, [this.TEXT_WRAP_STRING]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) ||
267
307
  (rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap) ||
268
- !!this.getCellOptions(cell, "textWrap"), ["cell-icon"]: hasIcon || !!((_j = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _j === void 0 ? void 0 : _j.icon) }, this.setTruncationClass()), style: {
269
- height: (this.truncationPattern || currentRowHeight) &&
270
- !columnProps.textWrap &&
271
- !rowOptions.textWrap &&
272
- !this.getCellOptions(cell, "textWrap") &&
273
- (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element"
274
- ? this.setRowHeight(currentRowHeight)
275
- : null,
276
- }, "data-row-height": this.truncationPattern || currentRowHeight
308
+ !!this.getCellOptions(cell, "textWrap"), ["cell-icon"]: hasIcon || !!((_j = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _j === void 0 ? void 0 : _j.icon) }, this.setTruncationClass()), style: Object.assign(Object.assign({}, this.getRowHeight(currentRowHeight, columnProps, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, cell)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
277
309
  ? this.setRowHeight(currentRowHeight)
278
310
  : null }, helpers.isSlotUsed(this.el, cellSlotName) ? (index.h("slot", { name: cellSlotName })) : (index.h(index.Fragment, null, helpers.isSlotUsed(this.el, `${cellSlotName}-icon`) ? (index.h("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_k = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _k === void 0 ? void 0 : _k.onAllCells)) && (index.h("span", { class: "icon", innerHTML: cellValue("icon") || (columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
279
311
  !helpers.isSlotUsed(this.el, cellSlotName) && (index.h("ic-typography", { variant: "body", class: {
@@ -289,11 +321,11 @@ const DataTable = class {
289
321
  });
290
322
  };
291
323
  this.createColumnHeaders = () => {
292
- return this.columns.map(({ cellAlignment, colspan, icon, key, title }) => (index.h("th", { scope: "col", class: {
324
+ return this.columns.map(({ cellAlignment, colspan, icon, key, title, columnWidth }) => (index.h("th", { scope: "col", class: {
293
325
  ["column-header"]: true,
294
326
  [`table-density-${this.density}`]: this.notDefaultDensity(),
295
327
  ["updating-state-headers"]: this.updating && !this.loading,
296
- }, colSpan: colspan }, index.h("div", { class: {
328
+ }, style: Object.assign({}, this.getColumnWidth(columnWidth)), colSpan: colspan }, index.h("div", { class: {
297
329
  "column-header-inner-container": true,
298
330
  [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
299
331
  } }, helpers.isSlotUsed(this.el, `${key}-column-icon`) ? (index.h("slot", { name: `${key}-column-icon` })) : (icon &&
@@ -321,16 +353,18 @@ const DataTable = class {
321
353
  /**
322
354
  * Ensures that createCells has a value in data to map over to actually render the slot.
323
355
  * Removes the need for the user to add it multiple times.
356
+ * `addDataToPosition` used to add the element in the correct column order.
357
+ * Adding empty string value in to give `createCells` something to loop over.
324
358
  */
325
- this.columns.forEach(({ key }) => {
326
- data.forEach((row, rowIndex) => {
327
- const cellSlotName = `${key}-${rowIndex}`;
328
- if (helpers.isSlotUsed(this.el, cellSlotName)) {
329
- row[key] = helpers.getSlotContent(this.el, cellSlotName);
330
- }
331
- });
359
+ const organisedData = data.map((row, rowIndex) => {
360
+ const slottedColumns = this.columns
361
+ .map(({ key }, index) => helpers.isSlotUsed(this.el, `${key}-${rowIndex}`) && { key, index })
362
+ .filter((col) => !!col);
363
+ return slottedColumns.length > 0
364
+ ? helpers.addDataToPosition(row, slottedColumns, "")
365
+ : row;
332
366
  });
333
- return data
367
+ return organisedData
334
368
  .sort(!this.sortable ? undefined : this.getSortFunction())
335
369
  .map((row, index$1) => {
336
370
  return (index.h("tr", {
@@ -401,6 +435,10 @@ const DataTable = class {
401
435
  this.sortedColumnOrder = sortOrders[nextSortOrderIndex];
402
436
  sortButton.setAttribute("aria-label", this.getSortButtonLabel(column));
403
437
  this.tableSorted = true;
438
+ this.icSortChange.emit({
439
+ columnName: column,
440
+ sorted: this.sortedColumnOrder,
441
+ });
404
442
  };
405
443
  this.getTypographyElements = () => {
406
444
  return Array.from(this.el.shadowRoot.querySelectorAll("ic-typography:not(.column-header-text)"));
@@ -423,6 +461,22 @@ const DataTable = class {
423
461
  this.updateScrollOffset = () => {
424
462
  this.scrollOffset = this.el.shadowRoot.querySelector(".table-row-container").scrollTop;
425
463
  };
464
+ this.setTableDimensions = () => {
465
+ let tableHostDimensions = {};
466
+ if (this.width) {
467
+ tableHostDimensions = Object.assign(Object.assign({}, tableHostDimensions), { ["--table-width"]: this.width });
468
+ }
469
+ if (this.height) {
470
+ tableHostDimensions = Object.assign(Object.assign({}, tableHostDimensions), { ["--table-height"]: this.height });
471
+ }
472
+ if (this.maxWidth) {
473
+ tableHostDimensions = Object.assign(Object.assign({}, tableHostDimensions), { ["--table-max-width"]: this.maxWidth });
474
+ }
475
+ if (this.minWidth) {
476
+ tableHostDimensions = Object.assign(Object.assign({}, tableHostDimensions), { ["--table-min-width"]: this.minWidth });
477
+ }
478
+ return tableHostDimensions;
479
+ };
426
480
  this.fromRow = 0;
427
481
  this.previousRowsPerPage = undefined;
428
482
  this.rowsPerPage = undefined;
@@ -433,15 +487,19 @@ const DataTable = class {
433
487
  this.sortedColumnOrder = undefined;
434
488
  this.toRow = undefined;
435
489
  this.currentRowHeight = undefined;
490
+ this.debounceDelay = 0;
436
491
  this.caption = undefined;
437
492
  this.columns = undefined;
438
493
  this.data = undefined;
439
494
  this.density = "default";
440
495
  this.embedded = false;
441
496
  this.globalRowHeight = "auto";
497
+ this.height = undefined;
442
498
  this.hideColumnHeaders = false;
443
499
  this.loading = false;
444
500
  this.loadingOptions = undefined;
501
+ this.maxWidth = undefined;
502
+ this.minWidth = undefined;
445
503
  this.minimumLoadingDisplayDuration = 1000;
446
504
  this.paginationBarOptions = {
447
505
  itemsPerPageOptions: [
@@ -467,10 +525,12 @@ const DataTable = class {
467
525
  };
468
526
  this.stickyColumnHeaders = false;
469
527
  this.stickyRowHeaders = false;
528
+ this.tableLayout = "fixed";
470
529
  this.truncationPattern = undefined;
471
530
  this.updating = false;
472
531
  this.updatingOptions = undefined;
473
532
  this.variableRowHeight = undefined;
533
+ this.width = undefined;
474
534
  }
475
535
  disconnectedCallback() {
476
536
  var _a;
@@ -503,7 +563,8 @@ const DataTable = class {
503
563
  }
504
564
  if (this.truncationPattern) {
505
565
  this.getTypographyElements().forEach((typographyEl) => {
506
- if (!typographyEl.classList.contains(this.TEXT_WRAP_STRING)) {
566
+ const cellContainer = this.getCellContainer(typographyEl);
567
+ if (!cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
507
568
  this.dataTruncation(typographyEl);
508
569
  }
509
570
  });
@@ -514,12 +575,31 @@ const DataTable = class {
514
575
  }
515
576
  }
516
577
  componentDidUpdate() {
517
- this.truncateUpdatedData();
578
+ // truncation updates invoked here once new/updated data has
579
+ // rendered to take into account updated .cell-container/ic-typography box model updates.
580
+ if (this.truncationPattern === this.SHOW_HIDE_STRING ||
581
+ this.truncationPattern === this.TOOLTIP_STRING) {
582
+ this.truncateUpdatedData();
583
+ }
518
584
  }
519
585
  truncateUpdatedData() {
520
586
  if (this.dataUpdated) {
521
587
  if (this.truncationPattern === this.SHOW_HIDE_STRING) {
522
- this.resetShowHideTruncation();
588
+ this.getTypographyElements().forEach((typographyEl) => {
589
+ const truncWrapper = this.getTruncWrapper(typographyEl);
590
+ const cellContainer = this.getCellContainer(typographyEl);
591
+ if ((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) - this.DEFAULT_LINE_HEIGHT >=
592
+ (truncWrapper === null || truncWrapper === void 0 ? void 0 : truncWrapper.scrollHeight)) {
593
+ this.resetShowHideTruncation(typographyEl);
594
+ return;
595
+ }
596
+ setTimeout(() => {
597
+ // slight delay due to data rendering
598
+ if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)) {
599
+ this.addShowHideTruncation(cellContainer, typographyEl);
600
+ }
601
+ }, 150);
602
+ });
523
603
  }
524
604
  if (this.truncationPattern === this.TOOLTIP_STRING) {
525
605
  this.updateTruncationTooltip();
@@ -530,23 +610,49 @@ const DataTable = class {
530
610
  if (this.truncationPattern === this.TOOLTIP_STRING) {
531
611
  this.updateTruncationTooltip();
532
612
  }
613
+ if (this.truncationPattern === this.SHOW_HIDE_STRING) {
614
+ this.getTypographyElements().forEach((typographyEl) => {
615
+ const cellContainer = this.getCellContainer(typographyEl);
616
+ if (!cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
617
+ this.createShowHideTruncation(typographyEl, cellContainer);
618
+ }
619
+ else {
620
+ typographyEl.resetTruncation().then(() => {
621
+ cellContainer.removeAttribute("style");
622
+ });
623
+ }
624
+ });
625
+ }
533
626
  this.tableSorted = false;
534
627
  }
535
628
  // This function recalculates the tooltip truncation when the rowHeight has been set.
536
629
  // This is in componentDidUpdate so a setTimeout is not used to wait for the render to be complete
537
630
  if (this.rowHeightSet) {
538
631
  const fontSize = parseInt(getComputedStyle(document.documentElement).fontSize);
632
+ const hasAutoRowHeight = this.globalRowHeight === "auto";
539
633
  this.getTypographyElements().forEach((typographyEl) => {
540
634
  var _a;
541
635
  const cellContainer = this.getCellContainer(typographyEl);
542
636
  const tooltipEl = this.getTooltip(typographyEl);
637
+ if (hasAutoRowHeight) {
638
+ cellContainer.style.height = null;
639
+ if (this.truncationPattern === this.TOOLTIP_STRING) {
640
+ this.removeTooltip(cellContainer, typographyEl, tooltipEl);
641
+ typographyEl.setAttribute("style", `--ic-line-clamp: 0`);
642
+ }
643
+ else if (this.truncationPattern === this.SHOW_HIDE_STRING) {
644
+ this.resetShowHideTruncation(typographyEl);
645
+ }
646
+ return;
647
+ }
543
648
  const rowHeight = fontSize *
544
649
  parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
545
650
  // If the set row height is bigger than the cell container even
546
651
  // with textWrap, set the row height
547
652
  if (!((_a = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.style) === null || _a === void 0 ? void 0 : _a.height) &&
548
- rowHeight > cellContainer.clientHeight) {
549
- cellContainer.style.setProperty("height", cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
653
+ rowHeight > cellContainer.clientHeight &&
654
+ !cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
655
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
550
656
  }
551
657
  if (this.truncationPattern) {
552
658
  // If the set row height is bigger than the typography truncation wrapper
@@ -612,12 +718,37 @@ const DataTable = class {
612
718
  });
613
719
  this.densityUpdate = false;
614
720
  }
721
+ if (this.truncationPatternUpdated) {
722
+ if (this.truncationPattern === this.TOOLTIP_STRING) {
723
+ this.getTypographyElements().forEach((typographyEl) => {
724
+ const cellContainer = this.getCellContainer(typographyEl);
725
+ const tooltipEl = this.getTooltip(typographyEl);
726
+ if (typographyEl.scrollHeight > cellContainer.clientHeight) {
727
+ this.addTooltipTruncation(typographyEl, cellContainer, tooltipEl);
728
+ }
729
+ });
730
+ }
731
+ else if (this.truncationPattern === this.SHOW_HIDE_STRING) {
732
+ this.getTypographyElements().forEach((typographyEl) => {
733
+ const truncWrapper = this.getTruncWrapper(typographyEl);
734
+ const cellContainer = this.getCellContainer(typographyEl);
735
+ if ((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) - this.DEFAULT_LINE_HEIGHT >
736
+ (truncWrapper === null || truncWrapper === void 0 ? void 0 : truncWrapper.scrollHeight)) {
737
+ this.resetShowHideTruncation(typographyEl);
738
+ return;
739
+ }
740
+ if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)) {
741
+ this.addShowHideTruncation(cellContainer, typographyEl);
742
+ }
743
+ });
744
+ }
745
+ }
615
746
  }
616
747
  createShowHideTruncation(typographyEl, cellContainer) {
617
748
  typographyEl.checkMaxLines(typographyEl.scrollHeight);
618
749
  typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
619
750
  typographyEl.setShowHideExpanded(false);
620
- cellContainer.style.height = null;
751
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
621
752
  }
622
753
  addTooltipTruncation(typographyEl, cellContainer, tooltip) {
623
754
  this.addLineClampCSS(typographyEl, cellContainer);
@@ -637,8 +768,9 @@ const DataTable = class {
637
768
  handleTypographyTruncationExpandToggle({ detail, }) {
638
769
  const { expanded, typographyEl } = detail;
639
770
  const cellContainer = this.getCellContainer(typographyEl);
640
- if (cellContainer.style.height && expanded) {
641
- cellContainer.style.height = "inherit";
771
+ if (cellContainer.style.getPropertyValue(this.ROW_HEIGHT_CSS_VARIABLE) &&
772
+ expanded) {
773
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, "inherit");
642
774
  }
643
775
  }
644
776
  handlePageChange({ detail, target }) {
@@ -688,7 +820,8 @@ const DataTable = class {
688
820
  }
689
821
  }
690
822
  truncationPatternHandler(newValue) {
691
- if (newValue === this.SHOW_HIDE_STRING) {
823
+ if (newValue === this.TOOLTIP_STRING) {
824
+ this.resetShowHideTruncation();
692
825
  this.updateTruncationTooltip(true);
693
826
  // Not using debounceDataTruncation here due to resizeObserver not being triggered
694
827
  this.getTypographyElements().forEach((typographyEl) => {
@@ -697,11 +830,27 @@ const DataTable = class {
697
830
  this.truncate(typographyEl, cellContainer, tooltip);
698
831
  });
699
832
  }
700
- if (newValue === this.TOOLTIP_STRING) {
833
+ if (newValue === this.SHOW_HIDE_STRING) {
701
834
  // ResizeObserver is trigger here due to the see more/see less links being removed.
702
835
  // The resizeObserver will also apply the tooltip where relevant
703
- this.resetShowHideTruncation();
836
+ this.updateTruncationTooltip(true);
837
+ this.getTypographyElements().forEach((typographyEl) => {
838
+ const truncWrapper = this.getTruncWrapper(typographyEl);
839
+ const cellContainer = this.getCellContainer(typographyEl);
840
+ if ((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) - this.DEFAULT_LINE_HEIGHT >
841
+ (truncWrapper === null || truncWrapper === void 0 ? void 0 : truncWrapper.scrollHeight)) {
842
+ this.resetShowHideTruncation(typographyEl);
843
+ return;
844
+ }
845
+ setTimeout(() => {
846
+ // slight delay due to data rendering
847
+ if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)) {
848
+ this.addShowHideTruncation(cellContainer, typographyEl);
849
+ }
850
+ }, 150);
851
+ });
704
852
  }
853
+ this.truncationPatternUpdated = true;
705
854
  }
706
855
  async dataHandler(newData) {
707
856
  this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: (newData === null || newData === void 0 ? void 0 : newData.length) > 0 });
@@ -729,11 +878,13 @@ const DataTable = class {
729
878
  typographyEl.checkMaxLines(truncWrapper.scrollHeight);
730
879
  typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
731
880
  typographyEl.setShowHideExpanded(false);
732
- cellContainer.style.height = null;
881
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
733
882
  }
734
883
  else {
735
884
  typographyEl.resetTruncation().then(() => {
736
- cellContainer.style.setProperty("height", cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
885
+ if (!typographyEl.closest(this.TEXT_WRAP_CLASS)) {
886
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
887
+ }
737
888
  });
738
889
  }
739
890
  }
@@ -741,7 +892,9 @@ const DataTable = class {
741
892
  this.getTypographyElements().forEach((typographyEl) => {
742
893
  const cellContainer = this.getCellContainer(typographyEl);
743
894
  typographyEl.resetTruncation().then(() => {
744
- cellContainer.style.setProperty("height", cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
895
+ if (!typographyEl.closest(this.TEXT_WRAP_CLASS)) {
896
+ cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
897
+ }
745
898
  });
746
899
  });
747
900
  }
@@ -789,11 +942,10 @@ const DataTable = class {
789
942
  if (!typographyEl.getAttribute("style") && this.dataUpdated) {
790
943
  this.addLineClampCSS(typographyEl, cellContainer);
791
944
  }
792
- // Adding the tableSorted boolean prevents the tooltip
793
- // being regenerated and flashing
794
945
  if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) &&
795
- !this.tableSorted) {
796
- if (!typographyEl.getAttribute("style")) {
946
+ this.truncationPattern === this.TOOLTIP_STRING) {
947
+ if (!typographyEl.getAttribute("style") ||
948
+ typographyEl.style.cssText.includes("--ic-line-clamp: 0;")) {
797
949
  this.addLineClampCSS(typographyEl, cellContainer);
798
950
  }
799
951
  this.createTruncationTooltip(typographyEl, cellContainer);
@@ -822,10 +974,12 @@ const DataTable = class {
822
974
  }
823
975
  render() {
824
976
  const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, } = this;
825
- return (index.h("div", { class: "table-container" }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { name: "title-bar" }), index.h("div", { class: {
977
+ return (index.h(index.Host, { style: Object.assign({}, this.setTableDimensions()) }, index.h("div", { class: "table-container" }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { name: "title-bar" }), index.h("div", { class: {
826
978
  ["table-row-container"]: true,
827
979
  scrollable,
828
- }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { name: "title-bar" }), index.h("table", null, index.h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (index.h("thead", { class: {
980
+ }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { name: "title-bar" }), index.h("table", { style: {
981
+ ["--table-layout"]: this.tableLayout,
982
+ } }, index.h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (index.h("thead", { class: {
829
983
  ["column-header-sticky"]: stickyColumnHeaders,
830
984
  ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
831
985
  } }, index.h("tr", null, createColumnHeaders()))), updating &&
@@ -838,7 +992,7 @@ const DataTable = class {
838
992
  "show-background": loadingOptions.showBackground,
839
993
  }, 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 || helpers.isSlotUsed(this.el, "pagination-bar")) && (index.h("div", { class: "pagination-container" }, helpers.isSlotUsed(this.el, "pagination-bar") ? (index.h("slot", { name: "pagination-bar" })) : (index.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 && (index.h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
840
994
  ? `${sortedColumn} sorted ${sortedColumnOrder}`
841
- : "table unsorted"))));
995
+ : "table unsorted")))));
842
996
  }
843
997
  get el() { return index.getElement(this); }
844
998
  static get watchers() { return {