@ukic/canary-web-components 3.0.0-canary.19 → 3.0.0-canary.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-f4e7322b.js → helpers-274ac318.js} +30 -32
  3. package/dist/cjs/helpers-274ac318.js.map +1 -0
  4. package/dist/cjs/{helpers-a5405964.js → helpers-da852478.js} +4 -2
  5. package/dist/cjs/helpers-da852478.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js +135 -142
  14. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -5
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox_3.cjs.entry.js +4 -4
  20. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  23. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  25. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-data-table.cjs.entry.js +91 -48
  28. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-date-input.cjs.entry.js +5 -5
  30. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-date-picker.cjs.entry.js +11 -11
  32. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
  34. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  38. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  41. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  43. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +19 -14
  45. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-input-label_2.cjs.entry.js +36 -13
  47. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  49. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-navigation-button.cjs.entry.js +31 -39
  54. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -4
  56. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  58. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  60. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  62. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-pagination_4.cjs.entry.js +20 -20
  64. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
  66. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-radio-group.cjs.entry.js +6 -6
  68. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  70. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-search-bar.cjs.entry.js +28 -12
  72. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  74. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-side-navigation.cjs.entry.js +16 -17
  76. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  78. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  80. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  82. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  84. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  86. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-switch.cjs.entry.js +6 -6
  88. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  90. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  92. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  94. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  96. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  97. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  99. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  101. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  103. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  105. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -9
  107. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tree-item.cjs.entry.js +31 -33
  109. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tree-view.cjs.entry.js +4 -15
  111. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  113. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  114. package/dist/cjs/loader.cjs.js +1 -1
  115. package/dist/collection/components/ic-data-table/ic-data-table.css +12 -6
  116. package/dist/collection/components/ic-data-table/ic-data-table.js +119 -46
  117. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  118. package/dist/collection/components/ic-data-table/ic-data-table.stories.js +15 -1
  119. package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
  120. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  121. package/dist/collection/components/ic-data-table/story-data.js +121 -6
  122. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  123. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.stories.js +5 -1
  124. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.stories.js.map +1 -1
  125. package/dist/collection/components/ic-date-input/ic-date-input.js +7 -4
  126. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  127. package/dist/collection/components/ic-date-input/ic-date-input.stories.js +13 -4
  128. package/dist/collection/components/ic-date-input/ic-date-input.stories.js.map +1 -1
  129. package/dist/collection/components/ic-date-picker/ic-date-picker.js +13 -10
  130. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  131. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js +9 -1
  132. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
  133. package/dist/collection/components/ic-date-picker/story-data.js +25 -0
  134. package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
  135. package/dist/collection/components/ic-tree-item/ic-tree-item.css +12 -21
  136. package/dist/collection/components/ic-tree-item/ic-tree-item.js +50 -56
  137. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  138. package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -36
  139. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  140. package/dist/collection/components/ic-tree-view/ic-tree-view.stories.js +29 -54
  141. package/dist/collection/components/ic-tree-view/ic-tree-view.stories.js.map +1 -1
  142. package/dist/collection/components/ic-tree-view/ic-tree-view.types.js.map +1 -1
  143. package/dist/collection/utils/helpers.js +3 -1
  144. package/dist/collection/utils/helpers.js.map +1 -1
  145. package/dist/components/helpers.js +29 -32
  146. package/dist/components/helpers.js.map +1 -1
  147. package/dist/components/helpers2.js +3 -1
  148. package/dist/components/helpers2.js.map +1 -1
  149. package/dist/components/ic-button2.js +3 -3
  150. package/dist/components/ic-button2.js.map +1 -1
  151. package/dist/components/ic-checkbox-group.js +4 -4
  152. package/dist/components/ic-checkbox-group.js.map +1 -1
  153. package/dist/components/ic-data-list.js +2 -2
  154. package/dist/components/ic-data-list.js.map +1 -1
  155. package/dist/components/ic-data-row.js +2 -2
  156. package/dist/components/ic-data-row.js.map +1 -1
  157. package/dist/components/ic-data-table.js +91 -47
  158. package/dist/components/ic-data-table.js.map +1 -1
  159. package/dist/components/ic-date-input2.js +4 -4
  160. package/dist/components/ic-date-input2.js.map +1 -1
  161. package/dist/components/ic-date-picker.js +10 -10
  162. package/dist/components/ic-date-picker.js.map +1 -1
  163. package/dist/components/ic-dialog.js +1 -1
  164. package/dist/components/ic-dialog.js.map +1 -1
  165. package/dist/components/ic-empty-state2.js +2 -2
  166. package/dist/components/ic-empty-state2.js.map +1 -1
  167. package/dist/components/ic-footer-link.js +2 -2
  168. package/dist/components/ic-footer-link.js.map +1 -1
  169. package/dist/components/ic-hero.js +4 -4
  170. package/dist/components/ic-hero.js.map +1 -1
  171. package/dist/components/ic-horizontal-scroll2.js +5 -5
  172. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  173. package/dist/components/ic-input-component-container2.js +3 -3
  174. package/dist/components/ic-input-component-container2.js.map +1 -1
  175. package/dist/components/ic-input-container2.js +2 -2
  176. package/dist/components/ic-input-container2.js.map +1 -1
  177. package/dist/components/ic-input-label2.js +33 -10
  178. package/dist/components/ic-input-label2.js.map +1 -1
  179. package/dist/components/ic-input-validation2.js +3 -3
  180. package/dist/components/ic-input-validation2.js.map +1 -1
  181. package/dist/components/ic-link2.js +1 -1
  182. package/dist/components/ic-link2.js.map +1 -1
  183. package/dist/components/ic-loading-indicator2.js +139 -143
  184. package/dist/components/ic-loading-indicator2.js.map +1 -1
  185. package/dist/components/ic-menu-group.js +1 -1
  186. package/dist/components/ic-menu-group.js.map +1 -1
  187. package/dist/components/ic-menu2.js +16 -9
  188. package/dist/components/ic-menu2.js.map +1 -1
  189. package/dist/components/ic-navigation-button.js +32 -41
  190. package/dist/components/ic-navigation-button.js.map +1 -1
  191. package/dist/components/ic-navigation-group.js +8 -5
  192. package/dist/components/ic-navigation-group.js.map +1 -1
  193. package/dist/components/ic-navigation-item.js +2 -2
  194. package/dist/components/ic-navigation-item.js.map +1 -1
  195. package/dist/components/ic-navigation-menu2.js +5 -5
  196. package/dist/components/ic-navigation-menu2.js.map +1 -1
  197. package/dist/components/ic-page-header.js +6 -6
  198. package/dist/components/ic-page-header.js.map +1 -1
  199. package/dist/components/ic-pagination-item2.js +1 -1
  200. package/dist/components/ic-pagination-item2.js.map +1 -1
  201. package/dist/components/ic-pagination2.js +4 -4
  202. package/dist/components/ic-pagination2.js.map +1 -1
  203. package/dist/components/ic-popover-menu.js +4 -4
  204. package/dist/components/ic-popover-menu.js.map +1 -1
  205. package/dist/components/ic-radio-group.js +5 -5
  206. package/dist/components/ic-radio-group.js.map +1 -1
  207. package/dist/components/ic-radio-option.js +4 -4
  208. package/dist/components/ic-radio-option.js.map +1 -1
  209. package/dist/components/ic-search-bar.js +31 -12
  210. package/dist/components/ic-search-bar.js.map +1 -1
  211. package/dist/components/ic-section-container2.js +2 -2
  212. package/dist/components/ic-section-container2.js.map +1 -1
  213. package/dist/components/ic-select2.js +7 -7
  214. package/dist/components/ic-select2.js.map +1 -1
  215. package/dist/components/ic-side-navigation.js +16 -17
  216. package/dist/components/ic-side-navigation.js.map +1 -1
  217. package/dist/components/ic-skeleton.js +2 -2
  218. package/dist/components/ic-skeleton.js.map +1 -1
  219. package/dist/components/ic-skip-link.js +2 -2
  220. package/dist/components/ic-skip-link.js.map +1 -1
  221. package/dist/components/ic-status-tag.js +2 -2
  222. package/dist/components/ic-status-tag.js.map +1 -1
  223. package/dist/components/ic-step.js +13 -13
  224. package/dist/components/ic-step.js.map +1 -1
  225. package/dist/components/ic-stepper.js +2 -2
  226. package/dist/components/ic-stepper.js.map +1 -1
  227. package/dist/components/ic-switch.js +5 -5
  228. package/dist/components/ic-switch.js.map +1 -1
  229. package/dist/components/ic-tab-context.js +1 -1
  230. package/dist/components/ic-tab-context.js.map +1 -1
  231. package/dist/components/ic-tab-group.js +2 -2
  232. package/dist/components/ic-tab-group.js.map +1 -1
  233. package/dist/components/ic-tab-panel.js +2 -2
  234. package/dist/components/ic-tab-panel.js.map +1 -1
  235. package/dist/components/ic-text-field2.js +7 -7
  236. package/dist/components/ic-text-field2.js.map +1 -1
  237. package/dist/components/ic-theme.js +2 -2
  238. package/dist/components/ic-theme.js.map +1 -1
  239. package/dist/components/ic-toast-region.js +1 -1
  240. package/dist/components/ic-toast-region.js.map +1 -1
  241. package/dist/components/ic-toast.js +4 -4
  242. package/dist/components/ic-toast.js.map +1 -1
  243. package/dist/components/ic-toggle-button-group.js +2 -2
  244. package/dist/components/ic-toggle-button-group.js.map +1 -1
  245. package/dist/components/ic-toggle-button.js +3 -3
  246. package/dist/components/ic-toggle-button.js.map +1 -1
  247. package/dist/components/ic-top-navigation.js +15 -9
  248. package/dist/components/ic-top-navigation.js.map +1 -1
  249. package/dist/components/ic-tree-item.js +31 -33
  250. package/dist/components/ic-tree-item.js.map +1 -1
  251. package/dist/components/ic-tree-view.js +3 -16
  252. package/dist/components/ic-tree-view.js.map +1 -1
  253. package/dist/components/ic-typography2.js +2 -2
  254. package/dist/components/ic-typography2.js.map +1 -1
  255. package/dist/core/core.css +29 -25
  256. package/dist/core/core.esm.js +1 -1
  257. package/dist/core/core.esm.js.map +1 -1
  258. package/dist/core/{p-b7d117e8.entry.js → p-09acf70a.entry.js} +2 -2
  259. package/dist/core/{p-578a02ff.entry.js → p-0bc8652d.entry.js} +2 -2
  260. package/dist/core/{p-578a02ff.entry.js.map → p-0bc8652d.entry.js.map} +1 -1
  261. package/dist/core/{p-c5ffe2cf.entry.js → p-0f86ea09.entry.js} +2 -2
  262. package/dist/core/{p-c5ffe2cf.entry.js.map → p-0f86ea09.entry.js.map} +1 -1
  263. package/dist/core/p-13f52d7b.js +2 -0
  264. package/dist/core/p-13f52d7b.js.map +1 -0
  265. package/dist/core/{p-e38dd019.entry.js → p-28b10396.entry.js} +2 -2
  266. package/dist/core/{p-1fd22368.entry.js → p-29601c16.entry.js} +2 -2
  267. package/dist/core/{p-1673d010.entry.js → p-2c27c85b.entry.js} +2 -2
  268. package/dist/core/{p-1673d010.entry.js.map → p-2c27c85b.entry.js.map} +1 -1
  269. package/dist/core/{p-976f4280.entry.js → p-301131d6.entry.js} +2 -2
  270. package/dist/core/{p-976f4280.entry.js.map → p-301131d6.entry.js.map} +1 -1
  271. package/dist/core/{p-887b1302.entry.js → p-304c6a01.entry.js} +2 -2
  272. package/dist/core/p-304c6a01.entry.js.map +1 -0
  273. package/dist/core/{p-8d2d9e11.entry.js → p-3352cb6c.entry.js} +2 -2
  274. package/dist/core/{p-8d2d9e11.entry.js.map → p-3352cb6c.entry.js.map} +1 -1
  275. package/dist/core/{p-dee21f6d.entry.js → p-3448c713.entry.js} +2 -2
  276. package/dist/core/{p-dee21f6d.entry.js.map → p-3448c713.entry.js.map} +1 -1
  277. package/dist/core/{p-e003ad46.entry.js → p-3b994e61.entry.js} +2 -2
  278. package/dist/core/{p-e003ad46.entry.js.map → p-3b994e61.entry.js.map} +1 -1
  279. package/dist/core/{p-1f18bbf6.entry.js → p-3f45c7ce.entry.js} +2 -2
  280. package/dist/core/{p-1f18bbf6.entry.js.map → p-3f45c7ce.entry.js.map} +1 -1
  281. package/dist/core/{p-f9e78341.entry.js → p-4150f333.entry.js} +2 -2
  282. package/dist/core/p-4150f333.entry.js.map +1 -0
  283. package/dist/core/{p-16e78c1d.entry.js → p-4271e7f4.entry.js} +2 -2
  284. package/dist/core/{p-16e78c1d.entry.js.map → p-4271e7f4.entry.js.map} +1 -1
  285. package/dist/core/{p-6e0f4278.entry.js → p-4d5dfb71.entry.js} +2 -2
  286. package/dist/core/{p-ba5e1b21.entry.js → p-4e2ef907.entry.js} +2 -2
  287. package/dist/core/p-4f941e4c.entry.js +2 -0
  288. package/dist/core/p-4f941e4c.entry.js.map +1 -0
  289. package/dist/core/{p-920f6480.entry.js → p-57e881b4.entry.js} +2 -2
  290. package/dist/core/{p-920f6480.entry.js.map → p-57e881b4.entry.js.map} +1 -1
  291. package/dist/core/p-5f8b09e4.entry.js +2 -0
  292. package/dist/core/p-5f8b09e4.entry.js.map +1 -0
  293. package/dist/core/{p-8ae0fd6f.entry.js → p-6938e1d9.entry.js} +2 -2
  294. package/dist/core/{p-671acf27.entry.js → p-693a568b.entry.js} +2 -2
  295. package/dist/core/{p-29a49ea2.entry.js → p-6c97db37.entry.js} +2 -2
  296. package/dist/core/{p-29a49ea2.entry.js.map → p-6c97db37.entry.js.map} +1 -1
  297. package/dist/core/{p-d4903dcd.entry.js → p-6dd73165.entry.js} +2 -2
  298. package/dist/core/{p-d4903dcd.entry.js.map → p-6dd73165.entry.js.map} +1 -1
  299. package/dist/core/{p-5926c2b2.entry.js → p-6f7e8b3e.entry.js} +2 -2
  300. package/dist/core/{p-5926c2b2.entry.js.map → p-6f7e8b3e.entry.js.map} +1 -1
  301. package/dist/core/p-7001f1c1.entry.js +2 -0
  302. package/dist/core/p-7001f1c1.entry.js.map +1 -0
  303. package/dist/core/p-704c5fee.entry.js +2 -0
  304. package/dist/core/{p-b92727c0.entry.js.map → p-704c5fee.entry.js.map} +1 -1
  305. package/dist/core/{p-a894ddb6.entry.js → p-7436d8de.entry.js} +2 -2
  306. package/dist/core/p-795afeb2.entry.js +2 -0
  307. package/dist/core/p-795afeb2.entry.js.map +1 -0
  308. package/dist/core/p-7dcdb89b.entry.js +2 -0
  309. package/dist/core/p-7dcdb89b.entry.js.map +1 -0
  310. package/dist/core/p-826a4e46.entry.js +2 -0
  311. package/dist/core/p-826a4e46.entry.js.map +1 -0
  312. package/dist/core/{p-9989ec00.entry.js → p-82941d0a.entry.js} +2 -2
  313. package/dist/core/{p-9989ec00.entry.js.map → p-82941d0a.entry.js.map} +1 -1
  314. package/dist/core/{p-7e4f5717.entry.js → p-856e0cda.entry.js} +2 -2
  315. package/dist/core/{p-7e4f5717.entry.js.map → p-856e0cda.entry.js.map} +1 -1
  316. package/dist/core/p-8e70b907.entry.js +2 -0
  317. package/dist/core/p-8e70b907.entry.js.map +1 -0
  318. package/dist/core/{p-7eaa223b.entry.js → p-91eacea5.entry.js} +2 -2
  319. package/dist/core/{p-7eaa223b.entry.js.map → p-91eacea5.entry.js.map} +1 -1
  320. package/dist/core/{p-8112444e.entry.js → p-95d3ff68.entry.js} +2 -2
  321. package/dist/core/{p-c3be8a0f.entry.js → p-961d7718.entry.js} +2 -2
  322. package/dist/core/p-961d7718.entry.js.map +1 -0
  323. package/dist/core/{p-b92e5fb3.entry.js → p-972f21fa.entry.js} +2 -2
  324. package/dist/core/{p-3cb4ecef.entry.js → p-9e051db4.entry.js} +2 -2
  325. package/dist/core/{p-3cb4ecef.entry.js.map → p-9e051db4.entry.js.map} +1 -1
  326. package/dist/core/{p-9aecbfe9.entry.js → p-9e19560f.entry.js} +2 -2
  327. package/dist/core/{p-9aecbfe9.entry.js.map → p-9e19560f.entry.js.map} +1 -1
  328. package/dist/core/p-a34c894b.entry.js +2 -0
  329. package/dist/core/p-a34c894b.entry.js.map +1 -0
  330. package/dist/core/{p-abcaf14d.entry.js → p-a6b573c0.entry.js} +2 -2
  331. package/dist/core/p-a6b573c0.entry.js.map +1 -0
  332. package/dist/core/{p-6a63a73a.entry.js → p-acc884bc.entry.js} +2 -2
  333. package/dist/core/{p-6a63a73a.entry.js.map → p-acc884bc.entry.js.map} +1 -1
  334. package/dist/core/{p-f6eaec92.entry.js → p-afff5652.entry.js} +2 -2
  335. package/dist/core/{p-864e337f.entry.js → p-b093cecd.entry.js} +2 -2
  336. package/dist/core/{p-864e337f.entry.js.map → p-b093cecd.entry.js.map} +1 -1
  337. package/dist/core/{p-e2629bfe.entry.js → p-b1b27b7e.entry.js} +2 -2
  338. package/dist/core/{p-e2629bfe.entry.js.map → p-b1b27b7e.entry.js.map} +1 -1
  339. package/dist/core/{p-fedfd000.entry.js → p-b3509380.entry.js} +2 -2
  340. package/dist/core/{p-e546d477.entry.js → p-b401ff42.entry.js} +2 -2
  341. package/dist/core/{p-9a78f449.entry.js → p-b522ce0a.entry.js} +2 -2
  342. package/dist/core/{p-9a78f449.entry.js.map → p-b522ce0a.entry.js.map} +1 -1
  343. package/dist/core/{p-2667c808.entry.js → p-b9369ce5.entry.js} +2 -2
  344. package/dist/core/p-b9369ce5.entry.js.map +1 -0
  345. package/dist/core/{p-eb74cab5.entry.js → p-c21317e5.entry.js} +2 -2
  346. package/dist/core/{p-28611f52.entry.js → p-c6bd71e5.entry.js} +2 -2
  347. package/dist/core/p-c6bd71e5.entry.js.map +1 -0
  348. package/dist/core/p-c73418dc.entry.js +2 -0
  349. package/dist/core/p-c73418dc.entry.js.map +1 -0
  350. package/dist/core/p-cd21aee7.entry.js +2 -0
  351. package/dist/core/p-cd21aee7.entry.js.map +1 -0
  352. package/dist/core/{p-de1e04ac.entry.js → p-d281c3cf.entry.js} +2 -2
  353. package/dist/core/{p-de1e04ac.entry.js.map → p-d281c3cf.entry.js.map} +1 -1
  354. package/dist/core/{p-9687e929.entry.js → p-da82bbef.entry.js} +2 -2
  355. package/dist/core/{p-9687e929.entry.js.map → p-da82bbef.entry.js.map} +1 -1
  356. package/dist/core/{p-ca7e1219.entry.js → p-e04d2e51.entry.js} +2 -2
  357. package/dist/core/p-e04d2e51.entry.js.map +1 -0
  358. package/dist/core/p-e253a857.js +2 -0
  359. package/dist/core/p-e253a857.js.map +1 -0
  360. package/dist/core/{p-4444e787.entry.js → p-e3059589.entry.js} +2 -2
  361. package/dist/core/{p-4444e787.entry.js.map → p-e3059589.entry.js.map} +1 -1
  362. package/dist/core/p-e4bff243.entry.js +2 -0
  363. package/dist/core/p-e4bff243.entry.js.map +1 -0
  364. package/dist/core/{p-85a17585.entry.js → p-ead0acc3.entry.js} +2 -2
  365. package/dist/core/{p-6bfff7ba.entry.js → p-ef444b18.entry.js} +2 -2
  366. package/dist/core/{p-6bfff7ba.entry.js.map → p-ef444b18.entry.js.map} +1 -1
  367. package/dist/core/{p-e64e27be.entry.js → p-f35563a0.entry.js} +2 -2
  368. package/dist/core/{p-bf3b853e.entry.js → p-fc5661ac.entry.js} +2 -2
  369. package/dist/core/{p-bf3b853e.entry.js.map → p-fc5661ac.entry.js.map} +1 -1
  370. package/dist/esm/core.js +1 -1
  371. package/dist/esm/{helpers-ef2db990.js → helpers-d9387cd3.js} +4 -2
  372. package/dist/esm/helpers-d9387cd3.js.map +1 -0
  373. package/dist/esm/{helpers-fc03923c.js → helpers-f094ef64.js} +30 -33
  374. package/dist/esm/helpers-f094ef64.js.map +1 -0
  375. package/dist/esm/ic-accordion-group.entry.js +1 -1
  376. package/dist/esm/ic-accordion.entry.js +1 -1
  377. package/dist/esm/ic-alert.entry.js +1 -1
  378. package/dist/esm/ic-back-to-top.entry.js +1 -1
  379. package/dist/esm/ic-badge.entry.js +1 -1
  380. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  381. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  382. package/dist/esm/ic-button_3.entry.js +135 -142
  383. package/dist/esm/ic-button_3.entry.js.map +1 -1
  384. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  385. package/dist/esm/ic-card-vertical.entry.js +1 -1
  386. package/dist/esm/ic-checkbox-group.entry.js +5 -5
  387. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  388. package/dist/esm/ic-checkbox_3.entry.js +4 -4
  389. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  390. package/dist/esm/ic-chip.entry.js +1 -1
  391. package/dist/esm/ic-data-list.entry.js +2 -2
  392. package/dist/esm/ic-data-list.entry.js.map +1 -1
  393. package/dist/esm/ic-data-row.entry.js +3 -3
  394. package/dist/esm/ic-data-row.entry.js.map +1 -1
  395. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  396. package/dist/esm/ic-data-table.entry.js +91 -48
  397. package/dist/esm/ic-data-table.entry.js.map +1 -1
  398. package/dist/esm/ic-date-input.entry.js +5 -5
  399. package/dist/esm/ic-date-input.entry.js.map +1 -1
  400. package/dist/esm/ic-date-picker.entry.js +11 -11
  401. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  402. package/dist/esm/ic-dialog.entry.js +2 -2
  403. package/dist/esm/ic-dialog.entry.js.map +1 -1
  404. package/dist/esm/ic-divider.entry.js +1 -1
  405. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  406. package/dist/esm/ic-footer-link.entry.js +3 -3
  407. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  408. package/dist/esm/ic-footer.entry.js +1 -1
  409. package/dist/esm/ic-hero.entry.js +5 -5
  410. package/dist/esm/ic-hero.entry.js.map +1 -1
  411. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  412. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  413. package/dist/esm/ic-input-component-container_3.entry.js +19 -14
  414. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  415. package/dist/esm/ic-input-label_2.entry.js +36 -13
  416. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  417. package/dist/esm/ic-link.entry.js +2 -2
  418. package/dist/esm/ic-link.entry.js.map +1 -1
  419. package/dist/esm/ic-menu-group.entry.js +2 -2
  420. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  421. package/dist/esm/ic-menu-item.entry.js +1 -1
  422. package/dist/esm/ic-navigation-button.entry.js +31 -39
  423. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  424. package/dist/esm/ic-navigation-group.entry.js +7 -4
  425. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  426. package/dist/esm/ic-navigation-item.entry.js +2 -2
  427. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  428. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  429. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  430. package/dist/esm/ic-page-header.entry.js +7 -7
  431. package/dist/esm/ic-page-header.entry.js.map +1 -1
  432. package/dist/esm/ic-pagination_4.entry.js +20 -20
  433. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  434. package/dist/esm/ic-popover-menu.entry.js +5 -5
  435. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  436. package/dist/esm/ic-radio-group.entry.js +6 -6
  437. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  438. package/dist/esm/ic-radio-option.entry.js +5 -5
  439. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  440. package/dist/esm/ic-search-bar.entry.js +28 -12
  441. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  442. package/dist/esm/ic-section-container.entry.js +2 -2
  443. package/dist/esm/ic-section-container.entry.js.map +1 -1
  444. package/dist/esm/ic-side-navigation.entry.js +16 -17
  445. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  446. package/dist/esm/ic-skeleton.entry.js +2 -2
  447. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  448. package/dist/esm/ic-skip-link.entry.js +2 -2
  449. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  450. package/dist/esm/ic-status-tag.entry.js +3 -3
  451. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  452. package/dist/esm/ic-step.entry.js +14 -14
  453. package/dist/esm/ic-step.entry.js.map +1 -1
  454. package/dist/esm/ic-stepper.entry.js +3 -3
  455. package/dist/esm/ic-stepper.entry.js.map +1 -1
  456. package/dist/esm/ic-switch.entry.js +6 -6
  457. package/dist/esm/ic-switch.entry.js.map +1 -1
  458. package/dist/esm/ic-tab-context.entry.js +1 -1
  459. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  460. package/dist/esm/ic-tab-group.entry.js +3 -3
  461. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  462. package/dist/esm/ic-tab-panel.entry.js +2 -2
  463. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  464. package/dist/esm/ic-tab.entry.js +1 -1
  465. package/dist/esm/ic-theme.entry.js +2 -2
  466. package/dist/esm/ic-theme.entry.js.map +1 -1
  467. package/dist/esm/ic-toast-region.entry.js +1 -1
  468. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  469. package/dist/esm/ic-toast.entry.js +4 -4
  470. package/dist/esm/ic-toast.entry.js.map +1 -1
  471. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  472. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  473. package/dist/esm/ic-toggle-button.entry.js +3 -3
  474. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  475. package/dist/esm/ic-top-navigation.entry.js +15 -9
  476. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  477. package/dist/esm/ic-tree-item.entry.js +31 -33
  478. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  479. package/dist/esm/ic-tree-view.entry.js +4 -15
  480. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  481. package/dist/esm/ic-typography.entry.js +3 -3
  482. package/dist/esm/ic-typography.entry.js.map +1 -1
  483. package/dist/esm/loader.js +1 -1
  484. package/dist/types/components/ic-data-table/ic-data-table.d.ts +13 -1
  485. package/dist/types/components/ic-data-table/ic-data-table.stories.d.ts +44 -32
  486. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +2 -0
  487. package/dist/types/components/ic-data-table/story-data.d.ts +4 -0
  488. package/dist/types/components/ic-date-input/ic-date-input.d.ts +3 -0
  489. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +3 -0
  490. package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +26 -18
  491. package/dist/types/components/ic-date-picker/story-data.d.ts +3 -0
  492. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +5 -5
  493. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +0 -5
  494. package/dist/types/components/ic-tree-view/ic-tree-view.stories.d.ts +22 -22
  495. package/dist/types/components/ic-tree-view/ic-tree-view.types.d.ts +1 -0
  496. package/dist/types/components.d.ts +26 -11
  497. package/dist/types/utils/helpers.d.ts +1 -1
  498. package/hydrate/index.js +592 -506
  499. package/hydrate/index.mjs +592 -506
  500. package/package.json +4 -6
  501. package/dist/cjs/helpers-a5405964.js.map +0 -1
  502. package/dist/cjs/helpers-f4e7322b.js.map +0 -1
  503. package/dist/core/p-0c9c6c31.entry.js +0 -2
  504. package/dist/core/p-0c9c6c31.entry.js.map +0 -1
  505. package/dist/core/p-0e0e0942.js +0 -2
  506. package/dist/core/p-0e0e0942.js.map +0 -1
  507. package/dist/core/p-17926ee3.entry.js +0 -2
  508. package/dist/core/p-17926ee3.entry.js.map +0 -1
  509. package/dist/core/p-188ba287.entry.js +0 -2
  510. package/dist/core/p-188ba287.entry.js.map +0 -1
  511. package/dist/core/p-2667c808.entry.js.map +0 -1
  512. package/dist/core/p-28611f52.entry.js.map +0 -1
  513. package/dist/core/p-4aaf10a5.entry.js +0 -2
  514. package/dist/core/p-4aaf10a5.entry.js.map +0 -1
  515. package/dist/core/p-582da938.entry.js +0 -2
  516. package/dist/core/p-582da938.entry.js.map +0 -1
  517. package/dist/core/p-61e78ce0.entry.js +0 -2
  518. package/dist/core/p-61e78ce0.entry.js.map +0 -1
  519. package/dist/core/p-7c3cd0b8.entry.js +0 -2
  520. package/dist/core/p-7c3cd0b8.entry.js.map +0 -1
  521. package/dist/core/p-887b1302.entry.js.map +0 -1
  522. package/dist/core/p-abcaf14d.entry.js.map +0 -1
  523. package/dist/core/p-aeeff0e5.entry.js +0 -2
  524. package/dist/core/p-aeeff0e5.entry.js.map +0 -1
  525. package/dist/core/p-b92727c0.entry.js +0 -2
  526. package/dist/core/p-c3be8a0f.entry.js.map +0 -1
  527. package/dist/core/p-c8d207e1.entry.js +0 -2
  528. package/dist/core/p-c8d207e1.entry.js.map +0 -1
  529. package/dist/core/p-ca7e1219.entry.js.map +0 -1
  530. package/dist/core/p-d0c38d58.entry.js +0 -2
  531. package/dist/core/p-d0c38d58.entry.js.map +0 -1
  532. package/dist/core/p-ead9900a.entry.js +0 -2
  533. package/dist/core/p-ead9900a.entry.js.map +0 -1
  534. package/dist/core/p-eca2fea1.js +0 -2
  535. package/dist/core/p-eca2fea1.js.map +0 -1
  536. package/dist/core/p-f9e78341.entry.js.map +0 -1
  537. package/dist/esm/helpers-ef2db990.js.map +0 -1
  538. package/dist/esm/helpers-fc03923c.js.map +0 -1
  539. /package/dist/core/{p-b7d117e8.entry.js.map → p-09acf70a.entry.js.map} +0 -0
  540. /package/dist/core/{p-e38dd019.entry.js.map → p-28b10396.entry.js.map} +0 -0
  541. /package/dist/core/{p-1fd22368.entry.js.map → p-29601c16.entry.js.map} +0 -0
  542. /package/dist/core/{p-6e0f4278.entry.js.map → p-4d5dfb71.entry.js.map} +0 -0
  543. /package/dist/core/{p-ba5e1b21.entry.js.map → p-4e2ef907.entry.js.map} +0 -0
  544. /package/dist/core/{p-8ae0fd6f.entry.js.map → p-6938e1d9.entry.js.map} +0 -0
  545. /package/dist/core/{p-671acf27.entry.js.map → p-693a568b.entry.js.map} +0 -0
  546. /package/dist/core/{p-a894ddb6.entry.js.map → p-7436d8de.entry.js.map} +0 -0
  547. /package/dist/core/{p-8112444e.entry.js.map → p-95d3ff68.entry.js.map} +0 -0
  548. /package/dist/core/{p-b92e5fb3.entry.js.map → p-972f21fa.entry.js.map} +0 -0
  549. /package/dist/core/{p-f6eaec92.entry.js.map → p-afff5652.entry.js.map} +0 -0
  550. /package/dist/core/{p-fedfd000.entry.js.map → p-b3509380.entry.js.map} +0 -0
  551. /package/dist/core/{p-e546d477.entry.js.map → p-b401ff42.entry.js.map} +0 -0
  552. /package/dist/core/{p-eb74cab5.entry.js.map → p-c21317e5.entry.js.map} +0 -0
  553. /package/dist/core/{p-85a17585.entry.js.map → p-ead0acc3.entry.js.map} +0 -0
  554. /package/dist/core/{p-e64e27be.entry.js.map → p-f35563a0.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-d337cd8a.js');
6
- const helpers = require('./helpers-f4e7322b.js');
6
+ const helpers = require('./helpers-274ac318.js');
7
7
 
8
8
  const icDataRowCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0;--ic-typography-color:var(--ic-data-list-text-cell)}.label{width:12.5rem;min-width:12.5rem;margin-right:var(--ic-space-md);--ic-typography-color:var(--ic-data-list-text-label)}.value{flex-grow:1}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]){margin-top:calc(var(--ic-space-xs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]){margin-top:calc(var(--ic-space-xxs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]){margin-top:calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs))}.end-component{width:-moz-fit-content;width:fit-content;margin-left:3.5rem}.divider{margin-top:var(--ic-space-md);height:var(--ic-border-width);background-color:var(--ic-data-list-keyline-cell)}:host(.ic-data-row-small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:10rem;min-width:10rem}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:8rem;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
9
9
  const IcDataRowStyle0 = icDataRowCss;
@@ -72,12 +72,12 @@ const DataRow = class {
72
72
  }
73
73
  render() {
74
74
  const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
75
- return (index.h(index.Host, { key: '34f5970795bba243994fce6f2006d699c786cc51', class: {
75
+ return (index.h(index.Host, { key: '2faf353c648f521406dc1318be100192dece1aab', class: {
76
76
  ["ic-data-row-small"]: size === "small",
77
77
  ["breakpoint-medium"]: listSize === "m",
78
78
  ["breakpoint-xs"]: listSize === "xs",
79
79
  [`ic-theme-${theme}`]: theme !== "inherit",
80
- }, role: "listitem" }, index.h("div", { key: 'f855811376a3e1db1d4a8bab563715d028c07341', class: "data" }, index.h("div", { key: '2395506f64696056aadfce34d46ffc99ab6db356', class: "text-cells" }, (helpers.isSlotUsed(el, "label") || label) && renderCellContent("label"), (helpers.isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (index.h("div", { key: '87993084bf9673f61edc6f0c04c937f20cd5a10d', class: "end-component" }, index.h("slot", { key: 'f051b30c5f67e8ea324656391356699a5eeef818', name: "end-component" })))), index.h("div", { key: 'bf023260ea85682f165370fb1295bd6facf8c45e', class: "divider" })));
80
+ }, role: "listitem" }, index.h("div", { key: '3d8e82d44292400dc5cf92230967eb3c9cc57cd0', class: "data" }, index.h("div", { key: '1e1edf0e3cefbe7cf2bb7e6ab973e55eeab1c0e3', class: "text-cells" }, (helpers.isSlotUsed(el, "label") || label) && renderCellContent("label"), (helpers.isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (index.h("div", { key: '0b60b67c17cce484293060ec5ba89619f527e5c9', class: "end-component" }, index.h("slot", { key: '403f6290fd00ef44fa02baaeed36932caf6f9902', name: "end-component" })))), index.h("div", { key: '653123df7e4243474aa5254d948b1666c9b50722', class: "divider" })));
81
81
  }
82
82
  get el() { return index.getElement(this); }
83
83
  };
@@ -1 +1 @@
1
- {"file":"ic-data-row.entry.cjs.js","mappings":"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","names":["DEVICE_SIZES","h","isSlotUsed","getCurrentDeviceSize","slotHasContent","checkResizeObserver","Host"],"sources":["../web-components/dist/collection/components/ic-data-row/ic-data-row.css?tag=ic-data-row&encapsulation=shadow","../web-components/dist/collection/components/ic-data-row/ic-data-row.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n position: relative;\n display: block;\n}\n\n.data {\n display: flex;\n align-items: center;\n}\n\n.text-cells {\n display: flex;\n flex-grow: 1;\n min-width: 0;\n\n --ic-typography-color: var(--ic-data-list-text-cell);\n}\n\n.label {\n width: 12.5rem;\n min-width: 12.5rem;\n margin-right: var(--ic-space-md);\n\n --ic-typography-color: var(--ic-data-list-text-label);\n}\n\n.value {\n flex-grow: 1;\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xxs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]) {\n margin-top: calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs));\n}\n\n.end-component {\n width: -moz-fit-content;\n width: fit-content;\n margin-left: 3.5rem;\n}\n\n.divider {\n margin-top: var(--ic-space-md);\n height: var(--ic-border-width);\n background-color: var(--ic-data-list-keyline-cell);\n}\n\n:host(.ic-data-row-small) .divider {\n margin-top: var(--ic-space-xs);\n}\n\n:host(.breakpoint-medium) .label {\n width: 10rem;\n min-width: 10rem;\n}\n\n:host(.breakpoint-xs) .text-cells {\n flex-direction: column;\n}\n\n:host(.breakpoint-xs) .label {\n width: 8rem;\n margin-bottom: var(--ic-space-xs);\n}\n\n:host(.breakpoint-xs) .value {\n max-width: 95%;\n}\n\n:host(.breakpoint-xs) .end-component {\n margin-left: 0;\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport { checkResizeObserver, DEVICE_SIZES, getCurrentDeviceSize, isSlotUsed, slotHasContent, } from \"../../utils/helpers\";\n/**\n * @slot label - Content will be rendered in the leftmost cell.\n * @slot value - Content will be rendered to the right of the label.\n * @slot end-component - Content will be displayed in the rightmost cell.\n */\nexport class DataRow {\n constructor() {\n this.hasEndComponent = false;\n this.resizeObserver = null;\n this.deviceSize = DEVICE_SIZES.XL;\n /**\n * The size of the data row component.\n */\n this.size = \"medium\";\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n this.runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkLabelAbove();\n });\n this.resizeObserver.observe(this.el);\n };\n this.renderCellContent = (cell) => {\n const isValue = cell === \"value\";\n return (h(\"div\", { class: cell }, isSlotUsed(this.el, cell) ? (h(\"slot\", { name: cell })) : (h(\"ic-typography\", { variant: isValue\n ? \"body\"\n : this.listSize === \"xs\"\n ? \"label\"\n : \"subtitle-large\" }, isValue ? this.value : this.label))));\n };\n }\n disconnectedCallback() {\n var _a;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.deviceSize = getCurrentDeviceSize();\n this.hasEndComponent = slotHasContent(this.el, \"end-component\");\n this.checkLabelAbove();\n }\n componentDidLoad() {\n checkResizeObserver(this.runResizeObserver);\n if (this.hasEndComponent)\n this.labelEndComponent();\n }\n checkLabelAbove() {\n var _a;\n const row = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(\".data\");\n if (row) {\n const rowSize = (row === null || row === void 0 ? void 0 : row.clientWidth) + 46;\n if (rowSize) {\n this.listSize =\n rowSize < DEVICE_SIZES.S\n ? \"xs\"\n : rowSize < DEVICE_SIZES.M\n ? \"m\"\n : \"xl\";\n }\n }\n }\n labelEndComponent() {\n var _a;\n (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"slot[name=end-component]\").forEach((child) => child.setAttribute(\"aria-label\", `for ${this.label} row`));\n }\n render() {\n const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;\n return (h(Host, { key: '34f5970795bba243994fce6f2006d699c786cc51', class: {\n [\"ic-data-row-small\"]: size === \"small\",\n [\"breakpoint-medium\"]: listSize === \"m\",\n [\"breakpoint-xs\"]: listSize === \"xs\",\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }, role: \"listitem\" }, h(\"div\", { key: 'f855811376a3e1db1d4a8bab563715d028c07341', class: \"data\" }, h(\"div\", { key: '2395506f64696056aadfce34d46ffc99ab6db356', class: \"text-cells\" }, (isSlotUsed(el, \"label\") || label) && renderCellContent(\"label\"), (isSlotUsed(el, \"value\") || value) && renderCellContent(\"value\")), hasEndComponent && (h(\"div\", { key: '87993084bf9673f61edc6f0c04c937f20cd5a10d', class: \"end-component\" }, h(\"slot\", { key: 'f051b30c5f67e8ea324656391356699a5eeef818', name: \"end-component\" })))), h(\"div\", { key: 'bf023260ea85682f165370fb1295bd6facf8c45e', class: \"divider\" })));\n }\n static get is() { return \"ic-data-row\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-data-row.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-data-row.css\"]\n };\n }\n static get properties() {\n return {\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label in the leftmost cell of the row.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizesNoLarge\",\n \"resolved\": \"\\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcSizesNoLarge\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizesNoLarge\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the data row component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the middle (right if no end-component supplied) cell of the row.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"value\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"deviceSize\": {},\n \"listSize\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-data-row.js.map\n"],"version":3}
1
+ {"file":"ic-data-row.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,+oHAA+oH,CAAC;AACrqH,wBAAe,YAAY;;MCMd,OAAO;IAChB;;QACI,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAGA,oBAAY,CAAC,EAAE,CAAC;;;;QAIlC,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;;;;QAIrB,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QACvB,IAAI,CAAC,iBAAiB,GAAG;YACrB,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC;gBACrC,IAAI,CAAC,eAAe,EAAE,CAAC;aAC1B,CAAC,CAAC;YACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SACxC,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG,CAAC,IAAI;YAC1B,MAAM,OAAO,GAAG,IAAI,KAAK,OAAO,CAAC;YACjC,QAAQC,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAEC,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAID,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,KAAKA,OAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO;sBACxH,MAAM;sBACN,IAAI,CAAC,QAAQ,KAAK,IAAI;0BAClB,OAAO;0BACP,gBAAgB,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;SAC3E,CAAC;KACL;IACD,oBAAoB;QAChB,IAAI,EAAE,CAAC;QACP,CAAC,EAAE,GAAG,IAAI,CAAC,cAAc,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC;KACnF;IACD,iBAAiB;QACb,IAAI,CAAC,UAAU,GAAGE,4BAAoB,EAAE,CAAC;QACzC,IAAI,CAAC,eAAe,GAAGC,sBAAc,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;QAChE,IAAI,CAAC,eAAe,EAAE,CAAC;KAC1B;IACD,gBAAgB;QACZC,2BAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAC5C,IAAI,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAChC;IACD,eAAe;QACX,IAAI,EAAE,CAAC;QACP,MAAM,GAAG,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACrG,IAAI,GAAG,EAAE;YACL,MAAM,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC;YACjF,IAAI,OAAO,EAAE;gBACT,IAAI,CAAC,QAAQ;oBACT,OAAO,GAAGL,oBAAY,CAAC,CAAC;0BAClB,IAAI;0BACJ,OAAO,GAAGA,oBAAY,CAAC,CAAC;8BACpB,GAAG;8BACH,IAAI,CAAC;aACtB;SACJ;KACJ;IACD,iBAAiB;QACb,IAAI,EAAE,CAAC;QACP,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC;KAChM;IACD,MAAM;QACF,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,GAAG,IAAI,CAAC;QAC9F,QAAQC,OAAC,CAACK,UAAI,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE;gBAClE,CAAC,mBAAmB,GAAG,IAAI,KAAK,OAAO;gBACvC,CAAC,mBAAmB,GAAG,QAAQ,KAAK,GAAG;gBACvC,CAAC,eAAe,GAAG,QAAQ,KAAK,IAAI;gBACpC,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;aAC7C,EAAE,IAAI,EAAE,UAAU,EAAE,EAAEL,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,MAAM,EAAE,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAACC,kBAAU,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,KAAK,KAAK,iBAAiB,CAAC,OAAO,CAAC,EAAE,CAACA,kBAAU,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,KAAK,KAAK,iBAAiB,CAAC,OAAO,CAAC,CAAC,EAAE,eAAe,KAAKD,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,eAAe,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC,CAAC,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;KACzlB;;;;;;;","names":["DEVICE_SIZES","h","isSlotUsed","getCurrentDeviceSize","slotHasContent","checkResizeObserver","Host"],"sources":["../web-components/dist/collection/components/ic-data-row/ic-data-row.css?tag=ic-data-row&encapsulation=shadow","../web-components/dist/collection/components/ic-data-row/ic-data-row.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n position: relative;\n display: block;\n}\n\n.data {\n display: flex;\n align-items: center;\n}\n\n.text-cells {\n display: flex;\n flex-grow: 1;\n min-width: 0;\n\n --ic-typography-color: var(--ic-data-list-text-cell);\n}\n\n.label {\n width: 12.5rem;\n min-width: 12.5rem;\n margin-right: var(--ic-space-md);\n\n --ic-typography-color: var(--ic-data-list-text-label);\n}\n\n.value {\n flex-grow: 1;\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xxs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]) {\n margin-top: calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs));\n}\n\n.end-component {\n width: -moz-fit-content;\n width: fit-content;\n margin-left: 3.5rem;\n}\n\n.divider {\n margin-top: var(--ic-space-md);\n height: var(--ic-border-width);\n background-color: var(--ic-data-list-keyline-cell);\n}\n\n:host(.ic-data-row-small) .divider {\n margin-top: var(--ic-space-xs);\n}\n\n:host(.breakpoint-medium) .label {\n width: 10rem;\n min-width: 10rem;\n}\n\n:host(.breakpoint-xs) .text-cells {\n flex-direction: column;\n}\n\n:host(.breakpoint-xs) .label {\n width: 8rem;\n margin-bottom: var(--ic-space-xs);\n}\n\n:host(.breakpoint-xs) .value {\n max-width: 95%;\n}\n\n:host(.breakpoint-xs) .end-component {\n margin-left: 0;\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport { checkResizeObserver, DEVICE_SIZES, getCurrentDeviceSize, isSlotUsed, slotHasContent, } from \"../../utils/helpers\";\n/**\n * @slot label - Content will be rendered in the leftmost cell.\n * @slot value - Content will be rendered to the right of the label.\n * @slot end-component - Content will be displayed in the rightmost cell.\n */\nexport class DataRow {\n constructor() {\n this.hasEndComponent = false;\n this.resizeObserver = null;\n this.deviceSize = DEVICE_SIZES.XL;\n /**\n * The size of the data row component.\n */\n this.size = \"medium\";\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n this.runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkLabelAbove();\n });\n this.resizeObserver.observe(this.el);\n };\n this.renderCellContent = (cell) => {\n const isValue = cell === \"value\";\n return (h(\"div\", { class: cell }, isSlotUsed(this.el, cell) ? (h(\"slot\", { name: cell })) : (h(\"ic-typography\", { variant: isValue\n ? \"body\"\n : this.listSize === \"xs\"\n ? \"label\"\n : \"subtitle-large\" }, isValue ? this.value : this.label))));\n };\n }\n disconnectedCallback() {\n var _a;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.deviceSize = getCurrentDeviceSize();\n this.hasEndComponent = slotHasContent(this.el, \"end-component\");\n this.checkLabelAbove();\n }\n componentDidLoad() {\n checkResizeObserver(this.runResizeObserver);\n if (this.hasEndComponent)\n this.labelEndComponent();\n }\n checkLabelAbove() {\n var _a;\n const row = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(\".data\");\n if (row) {\n const rowSize = (row === null || row === void 0 ? void 0 : row.clientWidth) + 46;\n if (rowSize) {\n this.listSize =\n rowSize < DEVICE_SIZES.S\n ? \"xs\"\n : rowSize < DEVICE_SIZES.M\n ? \"m\"\n : \"xl\";\n }\n }\n }\n labelEndComponent() {\n var _a;\n (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"slot[name=end-component]\").forEach((child) => child.setAttribute(\"aria-label\", `for ${this.label} row`));\n }\n render() {\n const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;\n return (h(Host, { key: '2faf353c648f521406dc1318be100192dece1aab', class: {\n [\"ic-data-row-small\"]: size === \"small\",\n [\"breakpoint-medium\"]: listSize === \"m\",\n [\"breakpoint-xs\"]: listSize === \"xs\",\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }, role: \"listitem\" }, h(\"div\", { key: '3d8e82d44292400dc5cf92230967eb3c9cc57cd0', class: \"data\" }, h(\"div\", { key: '1e1edf0e3cefbe7cf2bb7e6ab973e55eeab1c0e3', class: \"text-cells\" }, (isSlotUsed(el, \"label\") || label) && renderCellContent(\"label\"), (isSlotUsed(el, \"value\") || value) && renderCellContent(\"value\")), hasEndComponent && (h(\"div\", { key: '0b60b67c17cce484293060ec5ba89619f527e5c9', class: \"end-component\" }, h(\"slot\", { key: '403f6290fd00ef44fa02baaeed36932caf6f9902', name: \"end-component\" })))), h(\"div\", { key: '653123df7e4243474aa5254d948b1666c9b50722', class: \"divider\" })));\n }\n static get is() { return \"ic-data-row\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-data-row.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-data-row.css\"]\n };\n }\n static get properties() {\n return {\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label in the leftmost cell of the row.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizesNoLarge\",\n \"resolved\": \"\\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcSizesNoLarge\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizesNoLarge\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the data row component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the middle (right if no end-component supplied) cell of the row.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"value\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"deviceSize\": {},\n \"listSize\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-data-row.js.map\n"],"version":3}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d337cd8a.js');
6
- const helpers = require('./helpers-a5405964.js');
6
+ const helpers = require('./helpers-da852478.js');
7
7
 
8
8
  const icDataTableTitleBarCss = ".title-bar-wrapper,.header-container,.description-actions,.action-area,.custom-actions-wrapper{display:flex}.title-bar-wrapper,.action-area,.custom-actions-wrapper{gap:var(--ic-space-xs)}.title-bar-wrapper{flex-direction:column;padding:var(--ic-space-sm) var(--ic-space-xs);border-bottom:var(--ic-space-1px) solid\n var(--ic-data-table-title-bar-keyline);background-color:var(--ic-data-table-title-bar-background)}.full-width{padding:var(--ic-space-sm) 0;border-bottom:none}ic-typography.heading h3{margin:0}ic-typography.ic-typography-subtitle-small{--ic-typography-color:var(--ic-data-table-title-bar-information)}ic-typography.ic-typography-h3,::slotted([slot=\"header\"]){max-width:50rem;color:var(--ic-data-table-title-bar-title);--ic-typography-color:var(--ic-data-table-title-bar-title)}ic-typography.ic-typography-body,::slotted([slot=\"description\"]){color:var(--ic-data-table-title-bar-description);--ic-typography-color:var(--ic-data-table-title-bar-description)}ic-typography.ic-typography-body,ic-typography.ic-typography-subtitle-small,::slotted([slot=\"description\"]){max-width:40rem}.density-input{--input-width:7.625rem}@media (max-width: 1200px){.header-container{flex-direction:column}}@media (min-width: 1201px){.header-container{gap:var(--ic-space-xs);align-items:baseline}}@media (min-width: 769px){.description-actions{justify-content:space-between}}@media (max-width: 768px){.description-actions{flex-direction:column;align-items:flex-start;gap:var(--ic-space-xs)}}@media (min-width: 577px){.action-area{align-items:center}}@media (max-width: 576px){.action-area{flex-direction:column}}";
9
9
  const IcDataTableTitleBarStyle0 = icDataTableTitleBarCss;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d337cd8a.js');
6
- const helpers = require('./helpers-a5405964.js');
6
+ const helpers = require('./helpers-da852478.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,7 +17,7 @@ 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: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);--ic-typography-color:var(--ic-data-table-text-default-emphasis)}.truncation-show-hide{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-space-1px) solid var(--ic-data-table-border)}.column-header-inner-container{padding:var(--ic-space-xs);box-sizing:border-box}.column-header-inner-container ic-tooltip{pointer-events:none}.column-header-inner-container ic-tooltip.show-trunc-tooltip{pointer-events:auto}.column-header-inner-container ic-tooltip .column-header-text{--ic-line-clamp:1}.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-data-table-cell-background-selected) !important}.table-row:hover{background-color:var(--ic-data-table-cell-background-hover) !important}.table-row-selected:hover{background-color:var(\n --ic-data-table-cell-background-selected-hover\n ) !important}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-data-table-icon-button-background-hover)}.sort-button:active{background-color:var(--ic-data-table-icon-button-background-pressed)}.sort-button svg{color:var(--ic-data-table-sort-toggle-icon)}.sort-button-unsorted svg{color:var(--ic-data-table-sort-toggle-icon-default)}.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)}.dummy-column-header-text{white-space:nowrap;overflow:hidden;height:0;width:-moz-fit-content;width:fit-content}.row-header,.column-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-data-table-header-background);border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);color:var(--ic-data-table-header-text)}.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-space-1px) solid var(--ic-data-table-header-keyline) !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{background-color:var(--ic-data-table-cell-background)}.table-row:nth-child(even){background-color:var(--ic-data-table-cell-background-stripe)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-data-table-cell-keyline) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}.table-cell.with-overflow{overflow:visible}.data-type-string,.data-type-address{text-align:left}.data-type-number,.data-type-date{text-align:right;justify-content:end}.cell-vertical-align-top{vertical-align:top;align-items:flex-start}.cell-vertical-align-middle{vertical-align:middle;align-items:center}.cell-vertical-align-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low ic-typography{--ic-typography-color:var(--ic-data-table-text-low-emphasis)}.cell-emphasis-high ic-typography{--ic-typography-color:var(--ic-data-table-text-high-emphasis);font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-data-table-pagination-bar-background-color);border-top:var(--ic-space-1px) solid\n var(--ic-data-table-pagination-bar-keyline)}.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-space-1px) solid var(--ic-data-table-header-keyline)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow);z-index:calc(var(--ic-z-index-dialog) - 1);background-color:var(--ic-data-table-overlay-background);border:var(--ic-space-1px) solid var(--ic-data-table-overlay-border)}.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 .icon>svg,.column-header ::slotted(svg){fill:var(--ic-data-table-icon)}.table-cell .icon>svg,.table-cell ::slotted(svg),.cell-description-icon>svg{fill:var(--ic-data-table-icon-default-emphasis)}.cell-emphasis-high .icon>svg,.cell-emphasis-high ::slotted(svg){fill:var(--ic-data-table-icon-high-emphasis)}.cell-emphasis-low .icon>svg,.cell-emphasis-low ::slotted(svg){fill:var(--ic-data-table-icon-low-emphasis)}.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,.column-header-alignment-center>.cell-text-wrapper,.row-header-alignment-right>ic-typography,.row-header-alignment-right>.cell-text-wrapper,.cell-alignment-center>ic-typography,.cell-alignment-center>.cell-text-wrapper{flex:1}.checkbox-cell{--column-width:var(--ic-space-xxl);align-content:center;border-right:none}.table-density-dense.checkbox-cell{--column-width:2.5rem}.checkbox-wrapper{display:flex;justify-content:center}.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%}.action-element{display:flex;justify-content:right}.cell-grid-wrapper{display:grid;grid-template-columns:auto auto}.loading-overlay{visibility:hidden;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ic-data-table-loading-indicator-overlay-background);z-index:calc(var(--ic-z-index-dialog) - 2);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading-overlay.show{visibility:visible;opacity:0.6}.sr-only{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){.loading-overlay{transition:none}}.cell-text-wrapper{overflow:hidden}.cell-text-wrapper>ic-typography{margin-left:2px}.cell-text-no-wrap{word-wrap:initial}.cell-container-with-description{display:flex;flex-direction:row}.cell-description{display:flex;flex-direction:row;margin-top:var(--ic-space-xxs);word-break:break-all}.cell-description-text{color:var(--ic-data-table-cell-description-text)}.cell-description-icon{padding-right:var(--ic-space-xs)}.cell-description-icon>svg{height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs));display:flex}@media (min-width: 577px){.column-header-inner-container{display:flex;align-items:center}}@media (max-width: 577px){.cell-icon{flex-wrap:wrap}.cell-description-icon{padding-right:0}}@media (forced-colors: active){.icon,::slotted(svg),.cell-description-icon>svg{fill:currentcolor}.sort-button svg{color:currentcolor}.table-row-selected{background-color:Highlight !important}}";
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);--ic-typography-color:var(--ic-data-table-text-default-emphasis)}.truncation-show-hide{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-space-1px) solid var(--ic-data-table-border)}.column-header-inner-container{padding:var(--ic-space-xs);box-sizing:border-box}.column-header-inner-container ic-tooltip{pointer-events:none}.column-header-inner-container ic-tooltip.show-trunc-tooltip{pointer-events:auto}.column-header-inner-container ic-tooltip .column-header-text{--ic-line-clamp:1}.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-image:linear-gradient(\n var(--ic-data-table-cell-background-selected) 0 0\n );background-color:var(--ic-data-table-cell-background) !important}.table-row:hover{background-image:linear-gradient(\n var(--ic-data-table-cell-background-hover) 0 0\n );background-color:var(--ic-data-table-cell-background) !important}.table-row-selected:hover{background-image:linear-gradient(\n var(--ic-data-table-cell-background-selected-hover) 0 0\n )}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-data-table-icon-button-background-hover)}.sort-button:active{background-color:var(--ic-data-table-icon-button-background-pressed)}.sort-button svg{color:var(--ic-data-table-sort-toggle-icon)}.sort-button-unsorted svg{color:var(--ic-data-table-sort-toggle-icon-default)}.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)}.dummy-column-header-text{white-space:nowrap;overflow:hidden;height:0;width:-moz-fit-content;width:fit-content}.row-header,.column-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-data-table-header-background);border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);color:var(--ic-data-table-header-text)}.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-space-1px) solid var(--ic-data-table-header-keyline) !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{background-color:var(--ic-data-table-cell-background)}.table-row:nth-child(even){background-color:var(--ic-data-table-cell-background-stripe)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-data-table-cell-keyline) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}.table-cell.with-overflow{overflow:visible}.data-type-string,.data-type-address{text-align:left}.data-type-number,.data-type-date{text-align:right;justify-content:end}.cell-vertical-align-top{vertical-align:top;align-items:flex-start}.cell-vertical-align-middle{vertical-align:middle;align-items:center}.cell-vertical-align-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low ic-typography{--ic-typography-color:var(--ic-data-table-text-low-emphasis)}.cell-emphasis-high ic-typography{--ic-typography-color:var(--ic-data-table-text-high-emphasis);font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-data-table-pagination-bar-background-color);border-top:var(--ic-space-1px) solid\n var(--ic-data-table-pagination-bar-keyline)}.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-space-1px) solid var(--ic-data-table-header-keyline)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow);z-index:calc(var(--ic-z-index-dialog) - 1);background-color:var(--ic-data-table-overlay-background);border:var(--ic-space-1px) solid var(--ic-data-table-overlay-border)}.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 .icon>svg,.column-header ::slotted(svg){fill:var(--ic-data-table-icon)}.table-cell .icon>svg,.table-cell ::slotted(svg),.cell-description-icon>svg{fill:var(--ic-data-table-icon-default-emphasis)}.cell-emphasis-high .icon>svg,.cell-emphasis-high ::slotted(svg){fill:var(--ic-data-table-icon-high-emphasis)}.cell-emphasis-low .icon>svg,.cell-emphasis-low ::slotted(svg){fill:var(--ic-data-table-icon-low-emphasis)}.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,.column-header-alignment-center>.cell-text-wrapper,.row-header-alignment-right>ic-typography,.row-header-alignment-right>.cell-text-wrapper,.cell-alignment-center>ic-typography,.cell-alignment-center>.cell-text-wrapper{flex:1}.checkbox-cell{--column-width:var(--ic-space-xxl);align-content:center;border-right:none}.table-density-dense.checkbox-cell{--column-width:2.5rem}.checkbox-wrapper{display:flex;justify-content:center}.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%}.action-element{display:flex;justify-content:right}.cell-grid-wrapper{display:grid;grid-template-columns:auto auto}.loading-overlay{visibility:hidden;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ic-data-table-loading-indicator-overlay-background);z-index:calc(var(--ic-z-index-dialog) - 2);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading-overlay.show{visibility:visible;opacity:0.6}.sr-only{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){.loading-overlay{transition:none}}.cell-text-wrapper{overflow:hidden}.cell-text-wrapper>ic-typography{margin-left:2px}.cell-text-no-wrap{word-wrap:initial}.cell-container-with-description{display:flex;flex-direction:row}.cell-description{display:flex;flex-direction:row;margin-top:var(--ic-space-xxs);word-break:break-all}.cell-description-text{color:var(--ic-data-table-cell-data-description)}.cell-description-icon{padding-right:var(--ic-space-xs)}.cell-description-icon>svg{height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs));display:flex}@media (min-width: 577px){.column-header-inner-container{display:flex;align-items:center}}@media (max-width: 577px){.cell-icon{flex-wrap:wrap}.cell-description-icon{padding-right:0}}@media (forced-colors: active){.icon,::slotted(svg),.cell-description-icon>svg{fill:currentcolor}.sort-button svg{color:currentcolor}.table-row-selected{background-color:Highlight !important}}";
21
21
  const IcDataTableStyle0 = icDataTableCss;
22
22
 
23
23
  const DataTable = class {
@@ -26,6 +26,8 @@ const DataTable = class {
26
26
  this.icRowHeightChange = index.createEvent(this, "icRowHeightChange", 7);
27
27
  this.icSelectAllRows = index.createEvent(this, "icSelectAllRows", 7);
28
28
  this.icSelectedRowChange = index.createEvent(this, "icSelectedRowChange", 7);
29
+ this.icColumnsLoaded = index.createEvent(this, "icColumnsLoaded", 7);
30
+ this.icDataLoaded = index.createEvent(this, "icDataLoaded", 7);
29
31
  this.icSortChange = index.createEvent(this, "icSortChange", 7);
30
32
  this.DENSITY_HEIGHT_MULTIPLIER = {
31
33
  dense: 0.8,
@@ -51,6 +53,7 @@ const DataTable = class {
51
53
  this.TEXT_WRAP_STRING = "text-wrap";
52
54
  this.TEXT_WRAP_CLASS = `.${this.TEXT_WRAP_STRING}`;
53
55
  this.dataUpdated = false;
56
+ this.columnsUpdated = false;
54
57
  this.rowHeightSet = false;
55
58
  this.initialLoad = false;
56
59
  this.icPageChangeEvent = false;
@@ -194,6 +197,10 @@ const DataTable = class {
194
197
  }
195
198
  }
196
199
  };
200
+ this.handleResize = () => {
201
+ this.updateCellHeightsWithDescriptions();
202
+ this.fixCellSelect();
203
+ };
197
204
  this.getRowHeight = (cellContainer) => parseInt(getComputedStyle(document.documentElement).fontSize) *
198
205
  parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING) || "");
199
206
  this.truncateUpdatedData = () => {
@@ -532,7 +539,8 @@ const DataTable = class {
532
539
  };
533
540
  this.createUpdatingIndicator = () => {
534
541
  const { description, max, min, progress, monochrome } = this.updatingOptions || {};
535
- return (index.h("th", { colSpan: this.columns.length + (this.rowSelection && this.data ? 1 : 0), class: "updating-state" }, index.h("ic-loading-indicator", { theme: this.theme, monochrome: monochrome, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
542
+ const visibleColumnCount = this.columns.filter((col) => col.hidden !== true).length;
543
+ return (index.h("th", { colSpan: visibleColumnCount + (this.rowSelection && this.data ? 1 : 0), class: "updating-state" }, index.h("ic-loading-indicator", { theme: this.theme, monochrome: monochrome, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
536
544
  };
537
545
  this.setRowHeight = (height) => helpers.pxToRem(`${height * this.DENSITY_HEIGHT_MULTIPLIER[this.density] -
538
546
  this.DENSITY_PADDING_HEIGHT_DIFF[this.density]}px`);
@@ -628,43 +636,42 @@ const DataTable = class {
628
636
  const currentRowHeight = variableRowHeightVal
629
637
  ? variableRowHeightVal !== "auto" && variableRowHeightVal
630
638
  : this.globalRowHeight !== "auto" && this.globalRowHeight;
631
- return this.columns.map((columnName, index$1) => {
639
+ return this.columns.map((column, index$1) => {
632
640
  var _a, _b, _c, _d;
633
- const cell = this.getObjectValue(row, columnName["key"]);
634
- const columnProps = this.columns[index$1];
635
- const cellSlotName = `${columnProps === null || columnProps === void 0 ? void 0 : columnProps.key}-${rowIndex}`;
636
- const hasIcon = this.isObject(cell) && Object.keys(cell).includes("icon");
637
- const cellValue = (key) => this.getObjectValue(cell, key);
638
- if (rowKeys[index$1] === "header") {
639
- return (index.h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
640
- ["row-header"]: true,
641
- [`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
642
- ["row-header-sticky"]: this.stickyRowHeaders,
643
- } }, cellValue("title")));
644
- }
645
- const CellContent = this.createCellContent(columnProps, cell, cellSlotName, rowOptions, hasIcon, cellValue, rowEmphasis, currentRowHeight || undefined);
646
- if (rowKeys[index$1] !== "rowOptions") {
647
- return (index.h("td", { class: {
648
- ["table-cell"]: true,
649
- [`table-density-${this.density}`]: this.notDefaultDensity(),
650
- ["with-overflow"]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element",
651
- [`cell-vertical-align-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
652
- ((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
653
- rowAlignment ||
654
- this.getCellAlignment(cell, "vertical")}`]: !!((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
655
- !!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
656
- !!rowAlignment ||
657
- !!this.getCellAlignment(cell, "vertical"),
658
- }, style: Object.assign({}, this.getColumnWidth(columnProps.columnWidth)) }, this.isObject(cell) &&
659
- Object.keys(cell).includes("actionElement") ? (index.h("div", { class: "cell-grid-wrapper" }, CellContent, index.h("span", { class: "action-element", innerHTML: cellValue("actionElement"),
660
- // eslint-disable-next-line react/jsx-no-bind
661
- onClick: cell.actionOnClick
662
- ? (event) => this.handleClick(event, cell.actionOnClick)
663
- : undefined }))) : (CellContent)));
641
+ if (column.hidden !== true) {
642
+ const cell = this.getObjectValue(row, column["key"]);
643
+ const cellValue = (key) => this.getObjectValue(cell, key);
644
+ if (rowKeys[index$1] === "header") {
645
+ return (index.h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
646
+ ["row-header"]: true,
647
+ [`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
648
+ ["row-header-sticky"]: this.stickyRowHeaders,
649
+ } }, cellValue("title")));
650
+ }
651
+ const CellContent = this.createCellContent(column, cell, `${column === null || column === void 0 ? void 0 : column.key}-${rowIndex}`, rowOptions, this.isObject(cell) && Object.keys(cell).includes("icon"), cellValue, rowEmphasis, currentRowHeight || undefined);
652
+ if (rowKeys[index$1] !== "rowOptions") {
653
+ return (index.h("td", { class: {
654
+ ["table-cell"]: true,
655
+ [`table-density-${this.density}`]: this.notDefaultDensity(),
656
+ ["with-overflow"]: (column === null || column === void 0 ? void 0 : column.dataType) === "element",
657
+ [`cell-vertical-align-${((_a = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
658
+ ((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
659
+ rowAlignment ||
660
+ this.getCellAlignment(cell, "vertical")}`]: !!((_c = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
661
+ !!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
662
+ !!rowAlignment ||
663
+ !!this.getCellAlignment(cell, "vertical"),
664
+ }, style: Object.assign({}, this.getColumnWidth(column.columnWidth)) }, this.isObject(cell) &&
665
+ Object.keys(cell).includes("actionElement") ? (index.h("div", { class: "cell-grid-wrapper" }, CellContent, index.h("span", { class: "action-element", innerHTML: cellValue("actionElement"),
666
+ // eslint-disable-next-line react/jsx-no-bind
667
+ onClick: cell.actionOnClick
668
+ ? (event) => this.handleClick(event, cell.actionOnClick)
669
+ : undefined }))) : (CellContent)));
670
+ }
664
671
  }
665
672
  });
666
673
  };
667
- this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth, excludeColumnFromSort, }, index$1) => (index.h("th", { scope: "col", class: {
674
+ this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth, excludeColumnFromSort, hidden, }, index$1) => hidden !== true && (index.h("th", { scope: "col", class: {
668
675
  ["column-header"]: true,
669
676
  [`table-density-${this.density}`]: this.notDefaultDensity(),
670
677
  ["updating-state-headers"]: this.updating && !this.loading,
@@ -679,7 +686,7 @@ const DataTable = class {
679
686
  } }, title))) : (index.h("ic-typography", { variant: "body", class: {
680
687
  ["column-header-text"]: true,
681
688
  [`text-${this.density}`]: this.notDefaultDensity(),
682
- } }, title)), this.sortable && !excludeColumnFromSort && (index.h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
689
+ } }, title)), this.sortable && !excludeColumnFromSort && (index.h("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
683
690
  // eslint-disable-next-line react/jsx-no-bind
684
691
  onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
685
692
  ? this.sortedColumnOrder
@@ -711,7 +718,7 @@ const DataTable = class {
711
718
  this.icSelectAllRows.emit(this.selectedRows);
712
719
  };
713
720
  this.createRows = () => {
714
- var _a, _b, _c;
721
+ var _a, _b, _c, _d;
715
722
  const data = this.showPagination
716
723
  ? (_a = this.data) === null || _a === void 0 ? void 0 : _a.slice(this.fromRow, this.toRow)
717
724
  : (_b = this.data) === null || _b === void 0 ? void 0 : _b.slice();
@@ -735,9 +742,12 @@ const DataTable = class {
735
742
  ? helpers.addDataToPosition(row, slottedColumns, "")
736
743
  : row;
737
744
  });
738
- return (_c = this.organisedData) === null || _c === void 0 ? void 0 : _c.sort(!this.sortable || this.disableAutoSort
739
- ? undefined
740
- : this.getSortFunction()).map((row, index$1) => {
745
+ return (_c = this.organisedData) === null || _c === void 0 ? void 0 : _c.sort(this.sortable &&
746
+ !this.disableAutoSort &&
747
+ this.sortedColumn &&
748
+ !((_d = this.columns.find((col) => col.key === this.sortedColumn)) === null || _d === void 0 ? void 0 : _d.disableAutoSort)
749
+ ? this.getSortFunction()
750
+ : undefined).map((row, index$1) => {
741
751
  const isRowSelected = this.rowSelection && this.selectedRows.includes(row);
742
752
  const cellIndex = index$1 + paginationOffset;
743
753
  return (index.h("tr", { class: {
@@ -927,6 +937,22 @@ const DataTable = class {
927
937
  strategy: "fixed",
928
938
  });
929
939
  };
940
+ this.fixCellSelect = () => {
941
+ var _a, _b;
942
+ (_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".data-type-element")) === null || _b === void 0 ? void 0 : _b.forEach((element) => {
943
+ const children = Array.from(element.children);
944
+ children === null || children === void 0 ? void 0 : children.forEach((el) => {
945
+ var _a;
946
+ if (el.tagName === "IC-SELECT") {
947
+ const menu = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("ic-menu");
948
+ menu === null || menu === void 0 ? void 0 : menu.setExternalPopperProps({
949
+ strategy: "fixed",
950
+ });
951
+ el.style.setProperty("--input-width", `${element.clientWidth}px`);
952
+ }
953
+ });
954
+ });
955
+ };
930
956
  this.fixCellTooltips = () => {
931
957
  var _a, _b, _c, _d;
932
958
  (_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".data-type-element")) === null || _b === void 0 ? void 0 : _b.forEach((element) => {
@@ -997,10 +1023,14 @@ const DataTable = class {
997
1023
  });
998
1024
  }
999
1025
  }
1026
+ columnsChangeHandler() {
1027
+ this.columnsUpdated = true;
1028
+ }
1000
1029
  disconnectedCallback() {
1001
1030
  var _a, _b;
1002
1031
  (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
1003
1032
  (_b = this.headerResizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
1033
+ window.removeEventListener("resize", this.handleResize);
1004
1034
  }
1005
1035
  componentWillLoad() {
1006
1036
  this.rowsPerPage = Number(this.paginationBarOptions.itemsPerPageOptions[0].value);
@@ -1052,7 +1082,10 @@ const DataTable = class {
1052
1082
  if (this.globalRowHeight !== "auto") {
1053
1083
  this.updateSetRowHeight();
1054
1084
  }
1055
- window.addEventListener("resize", this.updateCellHeightsWithDescriptions);
1085
+ window.addEventListener("resize", this.handleResize);
1086
+ this.icColumnsLoaded.emit();
1087
+ if (this.data && !this.loading && !this.updating)
1088
+ this.icDataLoaded.emit();
1056
1089
  }
1057
1090
  componentDidUpdate() {
1058
1091
  // truncation updates invoked here once new/updated data has
@@ -1081,9 +1114,18 @@ const DataTable = class {
1081
1114
  this.truncatePatternUpdated();
1082
1115
  }
1083
1116
  }
1117
+ if (this.columnsUpdated) {
1118
+ this.icColumnsLoaded.emit();
1119
+ this.columnsUpdated = false;
1120
+ }
1121
+ if (this.dataUpdated && !this.loading && !this.updating) {
1122
+ this.icDataLoaded.emit();
1123
+ this.dataUpdated = false;
1124
+ }
1084
1125
  }
1085
1126
  componentDidRender() {
1086
1127
  this.fixCellTooltips();
1128
+ this.fixCellSelect();
1087
1129
  this.updateCellHeightsWithDescriptions();
1088
1130
  this.adjustWidthForActionElement();
1089
1131
  }
@@ -1303,22 +1345,22 @@ const DataTable = class {
1303
1345
  ? "deselect all"
1304
1346
  : "select all remaining"
1305
1347
  : "select all";
1306
- return (index.h(index.Host, { key: '2b548f8d26428034d51e7475883d6e7b407f28ec', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, index.h("div", { key: '5663c5ce124cf6f67435a8d18ddda4bc63a88e4f', class: "table-container" }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { key: '1ea59340e9633ca9a2f6d9fdba53d734050ddf84', name: "title-bar" }), index.h("div", { key: 'f2aef7502ca0c4124bf70b0fb4173e29b892004b', class: {
1348
+ return (index.h(index.Host, { key: '3052bc97a810739103b780229d462a9ba1d63ea5', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, index.h("div", { key: '4ffa82385024818947871897ce977fe95bce8a9d', class: "table-container" }, helpers.isSlotUsed(this.el, "title-bar") && index.h("slot", { key: '91985d43c24fd4bbc76ccf96a67a1fa19ce70461', name: "title-bar" }), index.h("div", { key: '34c7cd54e7e1d91c1fc7a2ce9b4802b9746a82bf', class: {
1307
1349
  ["table-row-container"]: true,
1308
1350
  scrollable,
1309
- }, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, index.h("table", { key: '061ab3f20e857b05a4cd668656b0a730f1d0645a', style: {
1351
+ }, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, index.h("table", { key: '93ef0fbb09a56f3890fa23d5a0dc276af9ad4dda', style: {
1310
1352
  "--table-layout": tableLayout,
1311
- } }, index.h("caption", { key: '727550fa24947c102cd231b1a4e262ffcba6e3b3', class: "table-caption" }, caption), !hideColumnHeaders && (index.h("thead", { key: 'c07fa1fddf4fa8364c52444a3cc8df0d1bdaabaf', class: {
1353
+ } }, index.h("caption", { key: '6add0ea2caa1c21a5625a34145d70fc6228e324c', class: "table-caption" }, caption), !hideColumnHeaders && (index.h("thead", { key: 'de60c4fd48671d474244ff05316deedd44f98fb2', class: {
1312
1354
  ["column-header-sticky"]: stickyColumnHeaders,
1313
1355
  ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
1314
- } }, index.h("tr", { key: '01735185f99abdd22a71edcaf944642d6e2c45de' }, rowSelection && data && (index.h("th", { key: '40c7157f3f3e45b6e9a9a0dfc65e2374526e150d', class: {
1356
+ } }, index.h("tr", { key: 'c7083cfce06a32d81e351b68d2cb722a79f29d7d' }, rowSelection && data && (index.h("th", { key: '736708f68f9736806fa680c9abba7ff82bdb5798', class: {
1315
1357
  "column-header": true,
1316
1358
  "checkbox-cell": true,
1317
1359
  "updating-state-headers": updating && !loading,
1318
1360
  [`table-density-${density}`]: this.notDefaultDensity(),
1319
- } }, index.h("div", { key: '8d53b98f553294d9b2b9483f4ed001da905fcff4', class: "checkbox-wrapper" }, index.h("ic-checkbox", { key: 'b08cd440baff49256037e3ca3d27059a64c19d98', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
1361
+ } }, index.h("div", { key: '46f06aa00589a14972aee324293b8d3c6695f232', class: "checkbox-wrapper" }, index.h("ic-checkbox", { key: 'a39b7d79439620a8d895837043530a3436837d18', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
1320
1362
  !loading &&
1321
- (hideColumnHeaders ? (index.h("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), index.h("div", { key: '8ddc07463825ac2c637cf7f413840acc2662d2c2', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || helpers.isSlotUsed(this.el, "pagination-bar")) && (index.h("div", { key: 'd619ff136af4258047c21f7ea83ad8dd9ec77873', class: "pagination-container" }, helpers.isSlotUsed(this.el, "pagination-bar") ? (index.h("slot", { name: "pagination-bar" })) : (index.h("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (index.h("div", { key: 'f0a61b27a9e5dda26ed7c7ad0b4b7cadb0d910d7', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
1363
+ (hideColumnHeaders ? (index.h("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), index.h("div", { key: 'ca4c4e8ff912756de23061b17d2dc29511a39a81', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || helpers.isSlotUsed(this.el, "pagination-bar")) && (index.h("div", { key: '43601b607b4a32605f3a946b33746c47152fefa7', class: "pagination-container" }, helpers.isSlotUsed(this.el, "pagination-bar") ? (index.h("slot", { name: "pagination-bar" })) : (index.h("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (index.h("div", { key: '69a5c565f55d1d149bad3d2172008dee7d0e8643', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
1322
1364
  ? `${((_b = columns.find((col) => col.key === sortedColumn)) === null || _b === void 0 ? void 0 : _b.title) ||
1323
1365
  sortedColumn} sorted ${sortedColumnOrder}`
1324
1366
  : "table unsorted")))));
@@ -1326,6 +1368,7 @@ const DataTable = class {
1326
1368
  get el() { return index.getElement(this); }
1327
1369
  static get watchers() { return {
1328
1370
  "columnHeaderTruncation": ["headerTruncationChangeHandler"],
1371
+ "columns": ["columnsChangeHandler"],
1329
1372
  "loading": ["loadingHandler"],
1330
1373
  "truncationPattern": ["truncationPatternHandler"],
1331
1374
  "data": ["dataHandler"],