@ukic/canary-web-components 3.0.0-canary.3 → 3.0.0-canary.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (620) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-36cdc6cb.js → helpers-55099147.js} +5 -4
  3. package/dist/cjs/helpers-55099147.js.map +1 -0
  4. package/dist/cjs/{helpers-a67ad3a4.js → helpers-c80f6ce4.js} +13 -11
  5. package/dist/cjs/helpers-c80f6ce4.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +10 -10
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +5 -5
  9. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-alert.cjs.entry.js +7 -5
  11. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js +8 -5
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-badge.cjs.entry.js +2 -2
  15. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +43 -20
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-button_3.cjs.entry.js +11 -13
  21. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-card-horizontal.cjs.entry.js +22 -27
  23. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-card-vertical.cjs.entry.js +25 -26
  25. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js +16 -5
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-checkbox.cjs.entry.js +5 -3
  29. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +7 -7
  35. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-data-table.cjs.entry.js +84 -26
  37. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-date-input.cjs.entry.js +11 -10
  39. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-date-picker.cjs.entry.js +9 -5
  41. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-dialog.cjs.entry.js +4 -2
  43. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-divider.cjs.entry.js +71 -7
  45. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-empty-state_2.cjs.entry.js +25 -11
  47. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-footer-link-group.cjs.entry.js +3 -3
  49. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-footer.cjs.entry.js +2 -2
  53. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-hero.cjs.entry.js +2 -2
  55. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +15 -7
  57. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +14 -25
  59. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-input-label_2.cjs.entry.js +21 -25
  61. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-link.cjs.entry.js +3 -8
  63. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  65. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-menu-item.cjs.entry.js +18 -17
  67. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-navigation-button.cjs.entry.js +7 -3
  69. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -4
  71. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-navigation-item.cjs.entry.js +57 -5
  73. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -4
  75. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-page-header.cjs.entry.js +5 -3
  77. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-pagination_4.cjs.entry.js +52 -50
  79. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-popover-menu.cjs.entry.js +9 -9
  81. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-radio-group.cjs.entry.js +14 -5
  83. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-radio-option.cjs.entry.js +8 -4
  85. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-search-bar.cjs.entry.js +12 -9
  87. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-side-navigation.cjs.entry.js +13 -8
  89. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-status-tag.cjs.entry.js +5 -4
  91. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  93. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  94. package/dist/cjs/ic-switch.cjs.entry.js +2 -2
  95. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-tab-context.cjs.entry.js +2 -1
  97. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -19
  99. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  101. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  102. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  103. package/dist/cjs/ic-toast.cjs.entry.js +3 -3
  104. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +29 -5
  106. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toggle-button.cjs.entry.js +9 -6
  108. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-top-navigation.cjs.entry.js +6 -4
  110. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-tree-item.cjs.entry.js +8 -6
  112. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-tree-view.cjs.entry.js +13 -13
  114. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  116. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  117. package/dist/cjs/loader.cjs.js +1 -1
  118. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +22 -25
  119. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +45 -26
  120. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  121. package/dist/collection/components/ic-data-table/ic-data-table.css +80 -32
  122. package/dist/collection/components/ic-data-table/ic-data-table.js +135 -45
  123. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  124. package/dist/collection/components/ic-data-table/story-data.js +50 -0
  125. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  126. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +18 -1
  127. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  128. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +9 -4
  129. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +5 -5
  130. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  131. package/dist/collection/components/ic-date-input/ic-date-input.css +66 -6
  132. package/dist/collection/components/ic-date-input/ic-date-input.js +34 -9
  133. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  134. package/dist/collection/components/ic-date-picker/ic-date-picker.css +17 -15
  135. package/dist/collection/components/ic-date-picker/ic-date-picker.js +31 -3
  136. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  137. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +4 -7
  138. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +65 -33
  139. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  140. package/dist/collection/components/ic-tree-item/ic-tree-item.css +18 -22
  141. package/dist/collection/components/ic-tree-item/ic-tree-item.js +30 -31
  142. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  143. package/dist/collection/components/ic-tree-view/ic-tree-view.css +8 -9
  144. package/dist/collection/components/ic-tree-view/ic-tree-view.js +36 -36
  145. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  146. package/dist/collection/utils/helpers.js +12 -10
  147. package/dist/collection/utils/helpers.js.map +1 -1
  148. package/dist/collection/utils/types.js.map +1 -1
  149. package/dist/components/helpers.js +5 -4
  150. package/dist/components/helpers.js.map +1 -1
  151. package/dist/components/helpers2.js +13 -11
  152. package/dist/components/helpers2.js.map +1 -1
  153. package/dist/components/ic-accordion-group.js +11 -11
  154. package/dist/components/ic-accordion-group.js.map +1 -1
  155. package/dist/components/ic-accordion.js +5 -5
  156. package/dist/components/ic-accordion.js.map +1 -1
  157. package/dist/components/ic-alert.js +8 -5
  158. package/dist/components/ic-alert.js.map +1 -1
  159. package/dist/components/ic-back-to-top.js +9 -5
  160. package/dist/components/ic-back-to-top.js.map +1 -1
  161. package/dist/components/ic-badge.js +1 -1
  162. package/dist/components/ic-badge.js.map +1 -1
  163. package/dist/components/ic-breadcrumb-group.js +43 -19
  164. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  165. package/dist/components/ic-breadcrumb2.js +1 -1
  166. package/dist/components/ic-breadcrumb2.js.map +1 -1
  167. package/dist/components/ic-button2.js +12 -13
  168. package/dist/components/ic-button2.js.map +1 -1
  169. package/dist/components/ic-card-horizontal.js +23 -27
  170. package/dist/components/ic-card-horizontal.js.map +1 -1
  171. package/dist/components/ic-card-vertical.js +27 -27
  172. package/dist/components/ic-card-vertical.js.map +1 -1
  173. package/dist/components/ic-checkbox-group.js +18 -5
  174. package/dist/components/ic-checkbox-group.js.map +1 -1
  175. package/dist/components/ic-checkbox.js +5 -2
  176. package/dist/components/ic-checkbox.js.map +1 -1
  177. package/dist/components/ic-classification-banner.js +1 -1
  178. package/dist/components/ic-classification-banner.js.map +1 -1
  179. package/dist/components/ic-data-table-title-bar.js +6 -6
  180. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  181. package/dist/components/ic-data-table.js +87 -26
  182. package/dist/components/ic-data-table.js.map +1 -1
  183. package/dist/components/ic-date-input2.js +12 -10
  184. package/dist/components/ic-date-input2.js.map +1 -1
  185. package/dist/components/ic-date-picker.js +9 -4
  186. package/dist/components/ic-date-picker.js.map +1 -1
  187. package/dist/components/ic-dialog.js +4 -1
  188. package/dist/components/ic-dialog.js.map +1 -1
  189. package/dist/components/ic-divider2.js +86 -9
  190. package/dist/components/ic-divider2.js.map +1 -1
  191. package/dist/components/ic-footer-link-group.js +2 -2
  192. package/dist/components/ic-footer-link-group.js.map +1 -1
  193. package/dist/components/ic-footer-link.js +1 -1
  194. package/dist/components/ic-footer-link.js.map +1 -1
  195. package/dist/components/ic-footer.js +1 -1
  196. package/dist/components/ic-footer.js.map +1 -1
  197. package/dist/components/ic-hero.js +1 -1
  198. package/dist/components/ic-hero.js.map +1 -1
  199. package/dist/components/ic-horizontal-scroll2.js +16 -6
  200. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  201. package/dist/components/ic-input-component-container2.js +9 -22
  202. package/dist/components/ic-input-component-container2.js.map +1 -1
  203. package/dist/components/ic-input-label2.js +12 -17
  204. package/dist/components/ic-input-label2.js.map +1 -1
  205. package/dist/components/ic-input-validation2.js +8 -8
  206. package/dist/components/ic-input-validation2.js.map +1 -1
  207. package/dist/components/ic-link2.js +4 -9
  208. package/dist/components/ic-link2.js.map +1 -1
  209. package/dist/components/ic-menu-group.js +1 -1
  210. package/dist/components/ic-menu-group.js.map +1 -1
  211. package/dist/components/ic-menu-item2.js +20 -19
  212. package/dist/components/ic-menu-item2.js.map +1 -1
  213. package/dist/components/ic-menu2.js +4 -3
  214. package/dist/components/ic-menu2.js.map +1 -1
  215. package/dist/components/ic-navigation-button.js +7 -2
  216. package/dist/components/ic-navigation-button.js.map +1 -1
  217. package/dist/components/ic-navigation-group.js +7 -3
  218. package/dist/components/ic-navigation-group.js.map +1 -1
  219. package/dist/components/ic-navigation-item.js +60 -6
  220. package/dist/components/ic-navigation-item.js.map +1 -1
  221. package/dist/components/ic-navigation-menu2.js +6 -4
  222. package/dist/components/ic-navigation-menu2.js.map +1 -1
  223. package/dist/components/ic-page-header.js +5 -2
  224. package/dist/components/ic-page-header.js.map +1 -1
  225. package/dist/components/ic-pagination-bar2.js +27 -12
  226. package/dist/components/ic-pagination-bar2.js.map +1 -1
  227. package/dist/components/ic-pagination-item2.js +9 -11
  228. package/dist/components/ic-pagination-item2.js.map +1 -1
  229. package/dist/components/ic-pagination2.js +20 -15
  230. package/dist/components/ic-pagination2.js.map +1 -1
  231. package/dist/components/ic-popover-menu.js +8 -8
  232. package/dist/components/ic-popover-menu.js.map +1 -1
  233. package/dist/components/ic-radio-group.js +16 -5
  234. package/dist/components/ic-radio-group.js.map +1 -1
  235. package/dist/components/ic-radio-option.js +8 -3
  236. package/dist/components/ic-radio-option.js.map +1 -1
  237. package/dist/components/ic-search-bar.js +13 -9
  238. package/dist/components/ic-search-bar.js.map +1 -1
  239. package/dist/components/ic-select2.js +11 -12
  240. package/dist/components/ic-select2.js.map +1 -1
  241. package/dist/components/ic-side-navigation.js +13 -8
  242. package/dist/components/ic-side-navigation.js.map +1 -1
  243. package/dist/components/ic-status-tag.js +5 -3
  244. package/dist/components/ic-status-tag.js.map +1 -1
  245. package/dist/components/ic-switch.js +1 -1
  246. package/dist/components/ic-switch.js.map +1 -1
  247. package/dist/components/ic-tab-context.js +2 -1
  248. package/dist/components/ic-tab-context.js.map +1 -1
  249. package/dist/components/ic-tab-group.js +2 -18
  250. package/dist/components/ic-tab-group.js.map +1 -1
  251. package/dist/components/ic-text-field2.js +18 -14
  252. package/dist/components/ic-text-field2.js.map +1 -1
  253. package/dist/components/ic-toast.js +3 -3
  254. package/dist/components/ic-toast.js.map +1 -1
  255. package/dist/components/ic-toggle-button-group.js +36 -7
  256. package/dist/components/ic-toggle-button-group.js.map +1 -1
  257. package/dist/components/ic-toggle-button.js +11 -7
  258. package/dist/components/ic-toggle-button.js.map +1 -1
  259. package/dist/components/ic-top-navigation.js +7 -4
  260. package/dist/components/ic-top-navigation.js.map +1 -1
  261. package/dist/components/ic-tree-item.js +8 -6
  262. package/dist/components/ic-tree-item.js.map +1 -1
  263. package/dist/components/ic-tree-view.js +15 -15
  264. package/dist/components/ic-tree-view.js.map +1 -1
  265. package/dist/components/ic-typography2.js +1 -1
  266. package/dist/components/ic-typography2.js.map +1 -1
  267. package/dist/core/core.css +934 -66
  268. package/dist/core/core.esm.js +1 -1
  269. package/dist/core/core.esm.js.map +1 -1
  270. package/dist/core/p-006afa83.entry.js +2 -0
  271. package/dist/core/p-006afa83.entry.js.map +1 -0
  272. package/dist/core/{p-7e1603cc.entry.js → p-01ab3a15.entry.js} +2 -2
  273. package/dist/core/p-01ab3a15.entry.js.map +1 -0
  274. package/dist/core/p-0687cc81.entry.js +2 -0
  275. package/dist/core/p-0687cc81.entry.js.map +1 -0
  276. package/dist/core/{p-8bec76d1.entry.js → p-10afa533.entry.js} +2 -2
  277. package/dist/core/p-10afa533.entry.js.map +1 -0
  278. package/dist/core/p-12b1db1b.entry.js +2 -0
  279. package/dist/core/p-12b1db1b.entry.js.map +1 -0
  280. package/dist/core/p-160de322.entry.js +2 -0
  281. package/dist/core/p-160de322.entry.js.map +1 -0
  282. package/dist/core/p-199ce579.entry.js +2 -0
  283. package/dist/core/p-199ce579.entry.js.map +1 -0
  284. package/dist/core/{p-89be0a21.js → p-25597c03.js} +2 -2
  285. package/dist/core/p-25597c03.js.map +1 -0
  286. package/dist/core/p-29623ad5.entry.js +2 -0
  287. package/dist/core/p-29623ad5.entry.js.map +1 -0
  288. package/dist/core/p-2d6fffa4.entry.js +2 -0
  289. package/dist/core/p-2d6fffa4.entry.js.map +1 -0
  290. package/dist/core/{p-fbb5c8f2.entry.js → p-3106c4fd.entry.js} +2 -2
  291. package/dist/core/p-31082e64.entry.js +2 -0
  292. package/dist/core/p-31082e64.entry.js.map +1 -0
  293. package/dist/core/p-3b3a8108.entry.js +2 -0
  294. package/dist/core/p-3b3a8108.entry.js.map +1 -0
  295. package/dist/core/p-3bbfefcc.entry.js +2 -0
  296. package/dist/core/p-3bbfefcc.entry.js.map +1 -0
  297. package/dist/core/p-3d478ba9.entry.js +2 -0
  298. package/dist/core/p-3d478ba9.entry.js.map +1 -0
  299. package/dist/core/{p-82aa8136.entry.js → p-40f94113.entry.js} +2 -2
  300. package/dist/core/p-40f94113.entry.js.map +1 -0
  301. package/dist/core/p-43891495.entry.js +2 -0
  302. package/dist/core/p-43891495.entry.js.map +1 -0
  303. package/dist/core/p-47ae7d10.entry.js +2 -0
  304. package/dist/core/p-47ae7d10.entry.js.map +1 -0
  305. package/dist/core/p-59d48811.entry.js +2 -0
  306. package/dist/core/p-59d48811.entry.js.map +1 -0
  307. package/dist/core/p-690d0bbd.entry.js +2 -0
  308. package/dist/core/p-690d0bbd.entry.js.map +1 -0
  309. package/dist/core/p-6f7cf143.entry.js +2 -0
  310. package/dist/core/p-6f7cf143.entry.js.map +1 -0
  311. package/dist/core/{p-51ea45cb.entry.js → p-6f92ee7a.entry.js} +2 -2
  312. package/dist/core/p-6f92ee7a.entry.js.map +1 -0
  313. package/dist/core/p-70543f44.entry.js +2 -0
  314. package/dist/core/p-70543f44.entry.js.map +1 -0
  315. package/dist/core/p-7a1f1e0d.entry.js +2 -0
  316. package/dist/core/p-7a1f1e0d.entry.js.map +1 -0
  317. package/dist/core/{p-044689ef.entry.js → p-7c843bc8.entry.js} +2 -2
  318. package/dist/core/p-7c843bc8.entry.js.map +1 -0
  319. package/dist/core/p-7e358f32.entry.js +2 -0
  320. package/dist/core/p-7e358f32.entry.js.map +1 -0
  321. package/dist/core/p-81da002e.entry.js +2 -0
  322. package/dist/core/p-81da002e.entry.js.map +1 -0
  323. package/dist/core/p-83c09d8d.entry.js +2 -0
  324. package/dist/core/p-83c09d8d.entry.js.map +1 -0
  325. package/dist/core/p-8d933976.entry.js +2 -0
  326. package/dist/core/p-8d933976.entry.js.map +1 -0
  327. package/dist/core/{p-878df16f.entry.js → p-91cf88d6.entry.js} +2 -2
  328. package/dist/core/p-9235425c.entry.js +2 -0
  329. package/dist/core/p-9235425c.entry.js.map +1 -0
  330. package/dist/core/p-92f443aa.entry.js +2 -0
  331. package/dist/core/p-92f443aa.entry.js.map +1 -0
  332. package/dist/core/p-982deb94.entry.js +2 -0
  333. package/dist/core/p-982deb94.entry.js.map +1 -0
  334. package/dist/core/p-99c76218.entry.js +2 -0
  335. package/dist/core/p-99c76218.entry.js.map +1 -0
  336. package/dist/core/p-9ae77f11.entry.js +2 -0
  337. package/dist/core/p-9ae77f11.entry.js.map +1 -0
  338. package/dist/core/{p-7aa6b76e.entry.js → p-9da6df82.entry.js} +2 -2
  339. package/dist/core/{p-26613dbd.entry.js → p-a0c3f221.entry.js} +2 -2
  340. package/dist/core/p-a0c3f221.entry.js.map +1 -0
  341. package/dist/core/{p-13e01a1e.entry.js → p-a67c358a.entry.js} +2 -2
  342. package/dist/core/p-a67c358a.entry.js.map +1 -0
  343. package/dist/core/p-acb0eddb.entry.js +2 -0
  344. package/dist/core/p-acb0eddb.entry.js.map +1 -0
  345. package/dist/core/{p-043cf5de.js → p-b2389339.js} +2 -2
  346. package/dist/core/p-b2389339.js.map +1 -0
  347. package/dist/core/p-b4dd4835.entry.js +2 -0
  348. package/dist/core/p-b4dd4835.entry.js.map +1 -0
  349. package/dist/core/p-b4eb1c6d.entry.js +2 -0
  350. package/dist/core/p-b4eb1c6d.entry.js.map +1 -0
  351. package/dist/core/p-bc7d33e1.entry.js +2 -0
  352. package/dist/core/p-bc7d33e1.entry.js.map +1 -0
  353. package/dist/core/{p-80b296cd.entry.js → p-bd5aada7.entry.js} +2 -2
  354. package/dist/core/p-bdce46ca.entry.js +2 -0
  355. package/dist/core/p-bdce46ca.entry.js.map +1 -0
  356. package/dist/core/{p-24d03bbd.entry.js → p-be7bc371.entry.js} +2 -2
  357. package/dist/core/p-c12f3582.entry.js +2 -0
  358. package/dist/core/p-c12f3582.entry.js.map +1 -0
  359. package/dist/core/p-c4dc8fdf.entry.js +2 -0
  360. package/dist/core/p-c4dc8fdf.entry.js.map +1 -0
  361. package/dist/core/p-c5ea1e19.entry.js +2 -0
  362. package/dist/core/p-c5ea1e19.entry.js.map +1 -0
  363. package/dist/core/p-c894bc8f.entry.js +2 -0
  364. package/dist/core/p-c894bc8f.entry.js.map +1 -0
  365. package/dist/core/p-dd3a9cb1.entry.js +2 -0
  366. package/dist/core/p-dd3a9cb1.entry.js.map +1 -0
  367. package/dist/core/{p-94416b6b.entry.js → p-df05b999.entry.js} +2 -2
  368. package/dist/core/{p-94416b6b.entry.js.map → p-df05b999.entry.js.map} +1 -1
  369. package/dist/core/{p-44ee5375.entry.js → p-e3e0cf46.entry.js} +2 -2
  370. package/dist/core/p-e3e0cf46.entry.js.map +1 -0
  371. package/dist/core/p-e4b9221b.entry.js +2 -0
  372. package/dist/core/p-e4b9221b.entry.js.map +1 -0
  373. package/dist/core/{p-b3d93bc1.entry.js → p-e532fa26.entry.js} +2 -2
  374. package/dist/core/p-e89e5ec8.entry.js +2 -0
  375. package/dist/core/p-e89e5ec8.entry.js.map +1 -0
  376. package/dist/core/p-f08723ca.entry.js +2 -0
  377. package/dist/core/p-f08723ca.entry.js.map +1 -0
  378. package/dist/core/p-f4414801.entry.js +2 -0
  379. package/dist/core/p-f4414801.entry.js.map +1 -0
  380. package/dist/core/p-f5d1e747.entry.js +2 -0
  381. package/dist/core/p-f5d1e747.entry.js.map +1 -0
  382. package/dist/core/{p-cc22644d.entry.js → p-fca3589b.entry.js} +2 -2
  383. package/dist/core/p-ffe923ae.entry.js +2 -0
  384. package/dist/core/p-ffe923ae.entry.js.map +1 -0
  385. package/dist/esm/core.js +1 -1
  386. package/dist/esm/{helpers-c326255f.js → helpers-d3091c8c.js} +6 -5
  387. package/dist/esm/helpers-d3091c8c.js.map +1 -0
  388. package/dist/esm/{helpers-a7b13f5a.js → helpers-d399f9c8.js} +14 -12
  389. package/dist/esm/helpers-d399f9c8.js.map +1 -0
  390. package/dist/esm/ic-accordion-group.entry.js +10 -10
  391. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  392. package/dist/esm/ic-accordion.entry.js +5 -5
  393. package/dist/esm/ic-accordion.entry.js.map +1 -1
  394. package/dist/esm/ic-alert.entry.js +7 -5
  395. package/dist/esm/ic-alert.entry.js.map +1 -1
  396. package/dist/esm/ic-back-to-top.entry.js +9 -6
  397. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  398. package/dist/esm/ic-badge.entry.js +2 -2
  399. package/dist/esm/ic-badge.entry.js.map +1 -1
  400. package/dist/esm/ic-breadcrumb-group.entry.js +43 -20
  401. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  402. package/dist/esm/ic-breadcrumb.entry.js +2 -2
  403. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  404. package/dist/esm/ic-button_3.entry.js +11 -13
  405. package/dist/esm/ic-button_3.entry.js.map +1 -1
  406. package/dist/esm/ic-card-horizontal.entry.js +23 -28
  407. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  408. package/dist/esm/ic-card-vertical.entry.js +26 -27
  409. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  410. package/dist/esm/ic-checkbox-group.entry.js +16 -5
  411. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  412. package/dist/esm/ic-checkbox.entry.js +5 -3
  413. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  414. package/dist/esm/ic-chip.entry.js +1 -1
  415. package/dist/esm/ic-classification-banner.entry.js +1 -1
  416. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  417. package/dist/esm/ic-data-row.entry.js +1 -1
  418. package/dist/esm/ic-data-table-title-bar.entry.js +7 -7
  419. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  420. package/dist/esm/ic-data-table.entry.js +84 -26
  421. package/dist/esm/ic-data-table.entry.js.map +1 -1
  422. package/dist/esm/ic-date-input.entry.js +11 -10
  423. package/dist/esm/ic-date-input.entry.js.map +1 -1
  424. package/dist/esm/ic-date-picker.entry.js +9 -5
  425. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  426. package/dist/esm/ic-dialog.entry.js +4 -2
  427. package/dist/esm/ic-dialog.entry.js.map +1 -1
  428. package/dist/esm/ic-divider.entry.js +72 -8
  429. package/dist/esm/ic-divider.entry.js.map +1 -1
  430. package/dist/esm/ic-empty-state_2.entry.js +25 -11
  431. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  432. package/dist/esm/ic-footer-link-group.entry.js +3 -3
  433. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  434. package/dist/esm/ic-footer-link.entry.js +2 -2
  435. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  436. package/dist/esm/ic-footer.entry.js +2 -2
  437. package/dist/esm/ic-footer.entry.js.map +1 -1
  438. package/dist/esm/ic-hero.entry.js +2 -2
  439. package/dist/esm/ic-hero.entry.js.map +1 -1
  440. package/dist/esm/ic-horizontal-scroll.entry.js +15 -7
  441. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  442. package/dist/esm/ic-input-component-container_3.entry.js +14 -25
  443. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  444. package/dist/esm/ic-input-label_2.entry.js +21 -25
  445. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  446. package/dist/esm/ic-link.entry.js +3 -8
  447. package/dist/esm/ic-link.entry.js.map +1 -1
  448. package/dist/esm/ic-menu-group.entry.js +2 -2
  449. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  450. package/dist/esm/ic-menu-item.entry.js +18 -17
  451. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  452. package/dist/esm/ic-navigation-button.entry.js +7 -3
  453. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  454. package/dist/esm/ic-navigation-group.entry.js +7 -4
  455. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  456. package/dist/esm/ic-navigation-item.entry.js +58 -6
  457. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  458. package/dist/esm/ic-navigation-menu.entry.js +5 -4
  459. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  460. package/dist/esm/ic-page-header.entry.js +5 -3
  461. package/dist/esm/ic-page-header.entry.js.map +1 -1
  462. package/dist/esm/ic-pagination_4.entry.js +52 -50
  463. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  464. package/dist/esm/ic-popover-menu.entry.js +9 -9
  465. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  466. package/dist/esm/ic-radio-group.entry.js +14 -5
  467. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  468. package/dist/esm/ic-radio-option.entry.js +8 -4
  469. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  470. package/dist/esm/ic-search-bar.entry.js +12 -9
  471. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  472. package/dist/esm/ic-side-navigation.entry.js +13 -8
  473. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  474. package/dist/esm/ic-status-tag.entry.js +5 -4
  475. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  476. package/dist/esm/ic-step.entry.js +1 -1
  477. package/dist/esm/ic-stepper.entry.js +1 -1
  478. package/dist/esm/ic-switch.entry.js +2 -2
  479. package/dist/esm/ic-switch.entry.js.map +1 -1
  480. package/dist/esm/ic-tab-context.entry.js +2 -1
  481. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  482. package/dist/esm/ic-tab-group.entry.js +3 -19
  483. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  484. package/dist/esm/ic-tab-panel.entry.js +1 -1
  485. package/dist/esm/ic-tab.entry.js +1 -1
  486. package/dist/esm/ic-theme.entry.js +1 -1
  487. package/dist/esm/ic-toast.entry.js +3 -3
  488. package/dist/esm/ic-toast.entry.js.map +1 -1
  489. package/dist/esm/ic-toggle-button-group.entry.js +29 -5
  490. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  491. package/dist/esm/ic-toggle-button.entry.js +9 -6
  492. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  493. package/dist/esm/ic-top-navigation.entry.js +6 -4
  494. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  495. package/dist/esm/ic-tree-item.entry.js +8 -6
  496. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  497. package/dist/esm/ic-tree-view.entry.js +13 -13
  498. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  499. package/dist/esm/ic-typography.entry.js +2 -2
  500. package/dist/esm/ic-typography.entry.js.map +1 -1
  501. package/dist/esm/loader.js +1 -1
  502. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +6 -2
  503. package/dist/types/components/ic-data-table/ic-data-table.d.ts +17 -5
  504. package/dist/types/components/ic-data-table/story-data.d.ts +26 -0
  505. package/dist/types/components/ic-date-input/ic-date-input.d.ts +5 -1
  506. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +5 -1
  507. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +10 -5
  508. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +5 -5
  509. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +6 -6
  510. package/dist/types/components.d.ts +75 -28
  511. package/dist/types/utils/types.d.ts +3 -1
  512. package/hydrate/index.js +742 -440
  513. package/package.json +3 -3
  514. package/dist/cjs/helpers-36cdc6cb.js.map +0 -1
  515. package/dist/cjs/helpers-a67ad3a4.js.map +0 -1
  516. package/dist/core/p-036d251b.entry.js +0 -2
  517. package/dist/core/p-036d251b.entry.js.map +0 -1
  518. package/dist/core/p-043cf5de.js.map +0 -1
  519. package/dist/core/p-044689ef.entry.js.map +0 -1
  520. package/dist/core/p-095da817.entry.js +0 -2
  521. package/dist/core/p-095da817.entry.js.map +0 -1
  522. package/dist/core/p-13d2db9b.entry.js +0 -2
  523. package/dist/core/p-13d2db9b.entry.js.map +0 -1
  524. package/dist/core/p-13e01a1e.entry.js.map +0 -1
  525. package/dist/core/p-1ae71507.entry.js +0 -2
  526. package/dist/core/p-1ae71507.entry.js.map +0 -1
  527. package/dist/core/p-2200ca85.entry.js +0 -2
  528. package/dist/core/p-2200ca85.entry.js.map +0 -1
  529. package/dist/core/p-2257f5e8.entry.js +0 -2
  530. package/dist/core/p-2257f5e8.entry.js.map +0 -1
  531. package/dist/core/p-266098ee.entry.js +0 -2
  532. package/dist/core/p-266098ee.entry.js.map +0 -1
  533. package/dist/core/p-26613dbd.entry.js.map +0 -1
  534. package/dist/core/p-283a2274.entry.js +0 -2
  535. package/dist/core/p-283a2274.entry.js.map +0 -1
  536. package/dist/core/p-2a3bd99a.entry.js +0 -2
  537. package/dist/core/p-2a3bd99a.entry.js.map +0 -1
  538. package/dist/core/p-42f88966.entry.js +0 -2
  539. package/dist/core/p-42f88966.entry.js.map +0 -1
  540. package/dist/core/p-44ee5375.entry.js.map +0 -1
  541. package/dist/core/p-48a78218.entry.js +0 -2
  542. package/dist/core/p-48a78218.entry.js.map +0 -1
  543. package/dist/core/p-4e316ae5.entry.js +0 -2
  544. package/dist/core/p-4e316ae5.entry.js.map +0 -1
  545. package/dist/core/p-50dd2744.entry.js +0 -2
  546. package/dist/core/p-50dd2744.entry.js.map +0 -1
  547. package/dist/core/p-51ea45cb.entry.js.map +0 -1
  548. package/dist/core/p-5458d818.entry.js +0 -2
  549. package/dist/core/p-5458d818.entry.js.map +0 -1
  550. package/dist/core/p-5ad1a7fb.entry.js +0 -2
  551. package/dist/core/p-5ad1a7fb.entry.js.map +0 -1
  552. package/dist/core/p-5b061abc.entry.js +0 -2
  553. package/dist/core/p-5b061abc.entry.js.map +0 -1
  554. package/dist/core/p-5cfb5821.entry.js +0 -2
  555. package/dist/core/p-5cfb5821.entry.js.map +0 -1
  556. package/dist/core/p-6727166b.entry.js +0 -2
  557. package/dist/core/p-6727166b.entry.js.map +0 -1
  558. package/dist/core/p-6dc00a8f.entry.js +0 -2
  559. package/dist/core/p-6dc00a8f.entry.js.map +0 -1
  560. package/dist/core/p-6dffaac0.entry.js +0 -2
  561. package/dist/core/p-6dffaac0.entry.js.map +0 -1
  562. package/dist/core/p-6fd89ed5.entry.js +0 -2
  563. package/dist/core/p-6fd89ed5.entry.js.map +0 -1
  564. package/dist/core/p-7b90f0ae.entry.js +0 -2
  565. package/dist/core/p-7b90f0ae.entry.js.map +0 -1
  566. package/dist/core/p-7e1603cc.entry.js.map +0 -1
  567. package/dist/core/p-7e5b0fff.entry.js +0 -2
  568. package/dist/core/p-7e5b0fff.entry.js.map +0 -1
  569. package/dist/core/p-82aa8136.entry.js.map +0 -1
  570. package/dist/core/p-83b4efe2.entry.js +0 -2
  571. package/dist/core/p-83b4efe2.entry.js.map +0 -1
  572. package/dist/core/p-83e4d955.entry.js +0 -2
  573. package/dist/core/p-83e4d955.entry.js.map +0 -1
  574. package/dist/core/p-86b608b5.entry.js +0 -2
  575. package/dist/core/p-86b608b5.entry.js.map +0 -1
  576. package/dist/core/p-89be0a21.js.map +0 -1
  577. package/dist/core/p-8bec76d1.entry.js.map +0 -1
  578. package/dist/core/p-94141606.entry.js +0 -2
  579. package/dist/core/p-94141606.entry.js.map +0 -1
  580. package/dist/core/p-a4439688.entry.js +0 -2
  581. package/dist/core/p-a4439688.entry.js.map +0 -1
  582. package/dist/core/p-a8106c56.entry.js +0 -2
  583. package/dist/core/p-a8106c56.entry.js.map +0 -1
  584. package/dist/core/p-affd7f55.entry.js +0 -2
  585. package/dist/core/p-affd7f55.entry.js.map +0 -1
  586. package/dist/core/p-bac2beeb.entry.js +0 -2
  587. package/dist/core/p-bac2beeb.entry.js.map +0 -1
  588. package/dist/core/p-c29b2b48.entry.js +0 -2
  589. package/dist/core/p-c29b2b48.entry.js.map +0 -1
  590. package/dist/core/p-c40c57ee.entry.js +0 -2
  591. package/dist/core/p-c40c57ee.entry.js.map +0 -1
  592. package/dist/core/p-c6a62d1b.entry.js +0 -2
  593. package/dist/core/p-c6a62d1b.entry.js.map +0 -1
  594. package/dist/core/p-cfd81370.entry.js +0 -2
  595. package/dist/core/p-cfd81370.entry.js.map +0 -1
  596. package/dist/core/p-d53fb899.entry.js +0 -2
  597. package/dist/core/p-d53fb899.entry.js.map +0 -1
  598. package/dist/core/p-d5e9cf81.entry.js +0 -2
  599. package/dist/core/p-d5e9cf81.entry.js.map +0 -1
  600. package/dist/core/p-d7632baf.entry.js +0 -2
  601. package/dist/core/p-d7632baf.entry.js.map +0 -1
  602. package/dist/core/p-dcccd9c1.entry.js +0 -2
  603. package/dist/core/p-dcccd9c1.entry.js.map +0 -1
  604. package/dist/core/p-edfd0946.entry.js +0 -2
  605. package/dist/core/p-edfd0946.entry.js.map +0 -1
  606. package/dist/core/p-f1842a68.entry.js +0 -2
  607. package/dist/core/p-f1842a68.entry.js.map +0 -1
  608. package/dist/core/p-f8c1d7e8.entry.js +0 -2
  609. package/dist/core/p-f8c1d7e8.entry.js.map +0 -1
  610. package/dist/core/p-fc2f336d.entry.js +0 -2
  611. package/dist/core/p-fc2f336d.entry.js.map +0 -1
  612. package/dist/esm/helpers-a7b13f5a.js.map +0 -1
  613. package/dist/esm/helpers-c326255f.js.map +0 -1
  614. /package/dist/core/{p-fbb5c8f2.entry.js.map → p-3106c4fd.entry.js.map} +0 -0
  615. /package/dist/core/{p-878df16f.entry.js.map → p-91cf88d6.entry.js.map} +0 -0
  616. /package/dist/core/{p-7aa6b76e.entry.js.map → p-9da6df82.entry.js.map} +0 -0
  617. /package/dist/core/{p-80b296cd.entry.js.map → p-bd5aada7.entry.js.map} +0 -0
  618. /package/dist/core/{p-24d03bbd.entry.js.map → p-be7bc371.entry.js.map} +0 -0
  619. /package/dist/core/{p-b3d93bc1.entry.js.map → p-e532fa26.entry.js.map} +0 -0
  620. /package/dist/core/{p-cc22644d.entry.js.map → p-fca3589b.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ic-classification-banner.entry.js","mappings":";;AAAA,MAAM,yBAAyB,GAAG,s5HAAs5H;;ACCx7H,MAAM,kBAAkB,GAAG;IACvB,OAAO,EAAE,4BAA4B;IACrC,QAAQ,EAAE,UAAU;IACpB,oBAAoB,EAAE,oBAAoB;IAC1C,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,YAAY;CAC7B,CAAC;MACW,oBAAoB;IAC7B;;QACI,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;KACrB;IACD,MAAM;QACF,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;;QAE9B,IAAI,EAAE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;QAC5D,IAAI,CAAC,OAAO;YACR,OAAO,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,mBAAmB;YACpB,mBAAmB,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC,cAAc;aACd,cAAc,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;YACvD,cAAc,GAAG,SAAS,CAAC;QAC/B,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,iCAAiC,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,oBAAoB,EAAE,KAAK,EAAE;gBAC7H,CAAC,uBAAuB,GAAG,IAAI;gBAC/B,CAAC,GAAG,cAAc,EAAE,GAAG,cAAc;aACxC,EAAE,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,yCAAyC,EAAE,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,cAAc,KAAK,SAAS;cAC/M,kBAAkB,CAAC,cAAc,CAAC;cAClC,GAAG,IAAI,GAAG,OAAO,GAAG,EAAE;iBACnB,OAAO;iBACP,kBAAkB,CAAC,cAAc,CAAC;iBAClC,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE;KACtC;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-classification-banner/ic-classification-banner.css?tag=ic-classification-banner&encapsulation=shadow","../web-components/dist/collection/components/ic-classification-banner/ic-classification-banner.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/**\n * @prop --ic-z-index-classification-banner: z-index of classification banner\n */\n\n:host {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n height: var(--ic-space-lg);\n z-index: var(--ic-z-index-classification-banner);\n\n --ic-typography-color: currentcolor;\n\n /* classification official */\n --ic-color-classification-official: var(--ic-color-classification-blue);\n --ic-color-classification-official-foreground: #fff;\n\n /* classification secret */\n --ic-color-classification-secret: var(--ic-color-classification-yellow);\n --ic-color-classification-secret-foreground: #000;\n\n /* classification top secret */\n --ic-color-classification-top-secret: var(--ic-color-classification-red);\n --ic-color-classification-top-secret-foreground: #fff;\n\n /* classification not set */\n --ic-color-classification-not-set: var(--ic-color-classification-grey);\n --ic-color-classification-not-set-foreground: #fff;\n}\n\n:host(.ic-classification-banner-inline) {\n position: static;\n left: auto;\n bottom: auto;\n}\n\n.classification-banner {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: var(--ic-space-xxxs) var(--ic-space-md);\n}\n\n.default {\n background-color: var(--ic-color-classification-not-set);\n color: var(--ic-color-classification-not-set-foreground);\n}\n\n.official,\n.official-sensitive {\n background-color: var(--ic-color-classification-official);\n color: var(--ic-color-classification-official-foreground);\n}\n\n.secret {\n background-color: var(--ic-color-classification-secret);\n color: var(--ic-color-classification-secret-foreground);\n}\n\n.top-secret {\n background-color: var(--ic-color-classification-top-secret);\n color: var(--ic-color-classification-top-secret-foreground);\n}\n\n.offscreen {\n position: absolute;\n left: -9999px;\n background-color: #fff;\n color: #000;\n text-transform: none;\n}\n\n@media (forced-colors: active) {\n .classification-banner {\n border: var(--ic-border-hc);\n }\n}\n","import { h, Host } from \"@stencil/core\";\nconst classificationText = {\n default: \"protective marking not set\",\n official: \"official\",\n \"official-sensitive\": \"official sensitive\",\n secret: \"secret\",\n \"top-secret\": \"top secret\",\n};\nexport class ClassificationBanner {\n constructor() {\n this.additionalSelectors = \"\";\n this.classification = \"default\";\n this.country = \"uk\";\n this.inline = false;\n this.upTo = false;\n }\n render() {\n const { inline, upTo } = this;\n // In case of unrecognized props, fallback to default\n let { country, additionalSelectors, classification } = this;\n if (!country)\n country = \"\";\n if (!additionalSelectors)\n additionalSelectors = \"\";\n if (!classification ||\n (classification && !classificationText[classification]))\n classification = \"default\";\n return (h(Host, { class: { [\"ic-classification-banner-inline\"]: inline } }, h(\"banner\", { \"aria-label\": \"Protective marking\", class: {\n [\"classification-banner\"]: true,\n [`${classification}`]: classification,\n } }, classification !== \"default\" ? (h(\"span\", { class: \"offscreen\" }, \"The protective marking of this page is:\", \" \")) : null, h(\"ic-typography\", { variant: \"caption-uppercase\" }, classification === \"default\"\n ? classificationText[classification]\n : `${upTo ? \"up to\" : \"\"} \n ${country} \n ${classificationText[classification]} \n ${additionalSelectors}`))));\n }\n static get is() { return \"ic-classification-banner\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-classification-banner.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-classification-banner.css\"]\n };\n }\n static get properties() {\n return {\n \"additionalSelectors\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The additional information that will be displayed after the classification.\"\n },\n \"attribute\": \"additional-selectors\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"classification\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcProtectiveMarkings\",\n \"resolved\": \"\\\"default\\\" | \\\"official\\\" | \\\"official-sensitive\\\" | \\\"secret\\\" | \\\"top-secret\\\"\",\n \"references\": {\n \"IcProtectiveMarkings\": {\n \"location\": \"import\",\n \"path\": \"./ic-classification-banner.types\",\n \"id\": \"src/components/ic-classification-banner/ic-classification-banner.types.tsx::IcProtectiveMarkings\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The classification level to be displayed - also determines the banner and text colour.\"\n },\n \"attribute\": \"classification\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"country\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional text that will be displayed before classification to specify relevant country/countries.\"\n },\n \"attribute\": \"country\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"uk\\\"\"\n },\n \"inline\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.\"\n },\n \"attribute\": \"inline\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"upTo\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, \\\"Up to\\\" will be displayed before the classification and country.\"\n },\n \"attribute\": \"up-to\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n}\n//# sourceMappingURL=ic-classification-banner.js.map\n"],"version":3}
1
+ {"file":"ic-classification-banner.entry.js","mappings":";;AAAA,MAAM,yBAAyB,GAAG,+gHAA+gH;;ACCjjH,MAAM,kBAAkB,GAAG;IACvB,OAAO,EAAE,4BAA4B;IACrC,QAAQ,EAAE,UAAU;IACpB,oBAAoB,EAAE,oBAAoB;IAC1C,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,YAAY;CAC7B,CAAC;MACW,oBAAoB;IAC7B;;QACI,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;KACrB;IACD,MAAM;QACF,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;;QAE9B,IAAI,EAAE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;QAC5D,IAAI,CAAC,OAAO;YACR,OAAO,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,mBAAmB;YACpB,mBAAmB,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC,cAAc;aACd,cAAc,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;YACvD,cAAc,GAAG,SAAS,CAAC;QAC/B,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,iCAAiC,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,oBAAoB,EAAE,KAAK,EAAE;gBAC7H,CAAC,uBAAuB,GAAG,IAAI;gBAC/B,CAAC,GAAG,cAAc,EAAE,GAAG,cAAc;aACxC,EAAE,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,yCAAyC,EAAE,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,cAAc,KAAK,SAAS;cAC/M,kBAAkB,CAAC,cAAc,CAAC;cAClC,GAAG,IAAI,GAAG,OAAO,GAAG,EAAE;iBACnB,OAAO;iBACP,kBAAkB,CAAC,cAAc,CAAC;iBAClC,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE;KACtC;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-classification-banner/ic-classification-banner.css?tag=ic-classification-banner&encapsulation=shadow","../web-components/dist/collection/components/ic-classification-banner/ic-classification-banner.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/**\n * @prop --ic-z-index-classification-banner: z-index of classification banner\n */\n\n:host {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n height: var(--ic-space-lg);\n z-index: var(--ic-z-index-classification-banner);\n\n --ic-typography-color: currentcolor;\n}\n\n:host(.ic-classification-banner-inline) {\n position: static;\n left: auto;\n bottom: auto;\n}\n\n.classification-banner {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: var(--ic-space-xxxs) var(--ic-space-md);\n}\n\n.default {\n background-color: var(--ic-classification-banner-not-set);\n color: var(--ic-classification-banner-text-inverted);\n}\n\n.official {\n background-color: var(--ic-classification-banner-official);\n color: var(--ic-classification-banner-text-inverted);\n}\n\n.official-sensitive {\n background-color: var(--ic-classification-banner-official-sensitive);\n color: var(--ic-classification-banner-text-inverted);\n}\n\n.secret {\n background-color: var(--ic-classification-banner-secret);\n color: var(--ic-classification-banner-text);\n}\n\n.top-secret {\n background-color: var(--ic-classification-banner-top-secret);\n color: var(--ic-classification-banner-text-inverted);\n}\n\n.offscreen {\n position: absolute;\n left: -9999px;\n background-color: #fff;\n color: #000;\n text-transform: none;\n}\n\n@media (forced-colors: active) {\n .classification-banner {\n border: var(--ic-border-hc);\n }\n}\n","import { h, Host } from \"@stencil/core\";\nconst classificationText = {\n default: \"protective marking not set\",\n official: \"official\",\n \"official-sensitive\": \"official sensitive\",\n secret: \"secret\",\n \"top-secret\": \"top secret\",\n};\nexport class ClassificationBanner {\n constructor() {\n this.additionalSelectors = \"\";\n this.classification = \"default\";\n this.country = \"uk\";\n this.inline = false;\n this.upTo = false;\n }\n render() {\n const { inline, upTo } = this;\n // In case of unrecognized props, fallback to default\n let { country, additionalSelectors, classification } = this;\n if (!country)\n country = \"\";\n if (!additionalSelectors)\n additionalSelectors = \"\";\n if (!classification ||\n (classification && !classificationText[classification]))\n classification = \"default\";\n return (h(Host, { class: { [\"ic-classification-banner-inline\"]: inline } }, h(\"banner\", { \"aria-label\": \"Protective marking\", class: {\n [\"classification-banner\"]: true,\n [`${classification}`]: classification,\n } }, classification !== \"default\" ? (h(\"span\", { class: \"offscreen\" }, \"The protective marking of this page is:\", \" \")) : null, h(\"ic-typography\", { variant: \"caption-uppercase\" }, classification === \"default\"\n ? classificationText[classification]\n : `${upTo ? \"up to\" : \"\"} \n ${country} \n ${classificationText[classification]} \n ${additionalSelectors}`))));\n }\n static get is() { return \"ic-classification-banner\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-classification-banner.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-classification-banner.css\"]\n };\n }\n static get properties() {\n return {\n \"additionalSelectors\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The additional information that will be displayed after the classification.\"\n },\n \"attribute\": \"additional-selectors\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"classification\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcProtectiveMarkings\",\n \"resolved\": \"\\\"default\\\" | \\\"official\\\" | \\\"official-sensitive\\\" | \\\"secret\\\" | \\\"top-secret\\\"\",\n \"references\": {\n \"IcProtectiveMarkings\": {\n \"location\": \"import\",\n \"path\": \"./ic-classification-banner.types\",\n \"id\": \"src/components/ic-classification-banner/ic-classification-banner.types.tsx::IcProtectiveMarkings\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The classification level to be displayed - also determines the banner and text colour.\"\n },\n \"attribute\": \"classification\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"country\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional text that will be displayed before classification to specify relevant country/countries.\"\n },\n \"attribute\": \"country\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"uk\\\"\"\n },\n \"inline\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.\"\n },\n \"attribute\": \"inline\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"upTo\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, \\\"Up to\\\" will be displayed before the classification and country.\"\n },\n \"attribute\": \"up-to\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n}\n//# sourceMappingURL=ic-classification-banner.js.map\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { i as isSlotUsed, D as DEVICE_SIZES, e as getCurrentDeviceSize, s as slotHasContent, f as checkResizeObserver } from './helpers-c326255f.js';
2
+ import { i as isSlotUsed, D as DEVICE_SIZES, e as getCurrentDeviceSize, s as slotHasContent, f as checkResizeObserver } from './helpers-d3091c8c.js';
3
3
 
4
4
  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}}";
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-93509377.js';
2
- import { i as isSlotUsed } from './helpers-a7b13f5a.js';
2
+ import { i as isSlotUsed } from './helpers-d399f9c8.js';
3
3
 
4
- 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 var(--ic-architectural-300)}.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-color-text-tertiary)}ic-typography.ic-typography-h3,::slotted([slot=\"header\"]){max-width:50rem}ic-typography.ic-typography-body,::slotted([slot=\"description\"]){color:var(--ic-color-text-secondary);--ic-typography-color:var(--ic-color-text-secondary)}ic-typography.ic-typography-body,ic-typography.ic-typography-subtitle-small,::slotted([slot=\"description\"]){max-width:40rem}.density-input{--input-width:7.625rem}@media screen and (max-width: 1200px){.header-container{flex-direction:column}}@media screen and (min-width: 1201px){.header-container{gap:var(--ic-space-xs);align-items:baseline}}@media screen and (min-width: 769px){.description-actions{justify-content:space-between}}@media screen and (max-width: 768px){.description-actions{flex-direction:column;align-items:flex-start;gap:var(--ic-space-xs)}}@media screen and (min-width: 577px){.action-area{align-items:center}}@media screen and (max-width: 576px){.action-area{flex-direction:column}}";
4
+ 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 screen and (max-width: 1200px){.header-container{flex-direction:column}}@media screen and (min-width: 1201px){.header-container{gap:var(--ic-space-xs);align-items:baseline}}@media screen and (min-width: 769px){.description-actions{justify-content:space-between}}@media screen and (max-width: 768px){.description-actions{flex-direction:column;align-items:flex-start;gap:var(--ic-space-xs)}}@media screen and (min-width: 577px){.action-area{align-items:center}}@media screen and (max-width: 576px){.action-area{flex-direction:column}}";
5
5
 
6
6
  const DEFAULT_TITLE_BAR_HEADING = "Title Bar";
7
7
  const DataTableTitleBar = class {
@@ -21,11 +21,11 @@ const DataTableTitleBar = class {
21
21
  componentWillLoad() {
22
22
  const parentEl = this.el.parentElement;
23
23
  if (parentEl.tagName === "IC-DATA-TABLE") {
24
- const dataTable = parentEl;
25
- this.initialDensitySelectOption = dataTable.density;
26
- this.isEmbedded = dataTable.embedded;
24
+ const { caption, density, embedded } = parentEl;
25
+ this.initialDensitySelectOption = density;
26
+ this.isEmbedded = embedded;
27
27
  if (this.heading === DEFAULT_TITLE_BAR_HEADING) {
28
- this.heading = dataTable.caption;
28
+ this.heading = caption;
29
29
  }
30
30
  }
31
31
  }
@@ -38,7 +38,7 @@ const DataTableTitleBar = class {
38
38
  return (h("div", { class: {
39
39
  "title-bar-wrapper": true,
40
40
  "full-width": isEmbedded,
41
- } }, h("div", { class: "header-container" }, h("slot", { name: "heading" }, h("ic-typography", { variant: "h3", className: "heading" }, h("h3", null, heading))), metadata && (h("ic-typography", { variant: "subtitle-small" }, metadata))), (showActionArea || hasDescription) && (h("div", { class: "description-actions" }, h("slot", { name: "description" }, description && (h("ic-typography", { variant: "body" }, description))), showActionArea && (h("div", { class: "action-area" }, isSlotUsed(el, "custom-actions") && (h("div", { class: "custom-actions-wrapper" }, h("slot", { name: "custom-actions" }))), !hideDensitySelect && (h("ic-select", { size: "small", label: "Change density", class: "density-input", hideLabel: true, options: [
41
+ } }, h("div", { class: "header-container" }, h("slot", { name: "heading" }, h("ic-typography", { variant: "h3", class: "heading" }, h("h3", null, heading))), metadata && (h("ic-typography", { variant: "subtitle-small" }, metadata))), (showActionArea || hasDescription) && (h("div", { class: "description-actions" }, h("slot", { name: "description" }, description && (h("ic-typography", { variant: "body" }, description))), showActionArea && (h("div", { class: "action-area" }, isSlotUsed(el, "custom-actions") && (h("div", { class: "custom-actions-wrapper" }, h("slot", { name: "custom-actions" }))), !hideDensitySelect && (h("ic-select", { size: "small", label: "Change density", class: "density-input", hideLabel: true, options: [
42
42
  { label: "Default", value: "default" },
43
43
  { label: "Dense", value: "dense" },
44
44
  { label: "Spacious", value: "spacious" },
@@ -1 +1 @@
1
- {"file":"ic-data-table-title-bar.entry.js","mappings":";;;AAAA,MAAM,sBAAsB,GAAG,67CAA67C;;ACe59C,MAAM,yBAAyB,GAAG,WAAW,CAAC;MAajC,iBAAiB;;;;QACpB,+BAA0B,GAA8B,SAAS,CAAC;QAClE,eAAU,GAAY,KAAK,CAAC;QAyC5B,kBAAa,GAAG,CACtB,EAAmD;YAEnD,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;SAC5D,CAAC;;uBAjCyB,yBAAyB;iCAKd,KAAK;;;IAY3C,iBAAiB;QACf,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC;QACvC,IAAI,QAAQ,CAAC,OAAO,KAAK,eAAe,EAAE;YACxC,MAAM,SAAS,GAAG,QAAkC,CAAC;YACrD,IAAI,CAAC,0BAA0B,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC;YACrC,IAAI,IAAI,CAAC,OAAO,KAAK,yBAAyB,EAAE;gBAC9C,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC;aAClC;SACF;KACF;IAQD,MAAM;QACJ,MAAM,EACJ,aAAa,EACb,WAAW,EACX,EAAE,EACF,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,UAAU,EACV,QAAQ,GACT,GAAG,IAAI,CAAC;QACT,MAAM,cAAc,GAClB,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC;YAChC,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC;YAChC,CAAC,iBAAiB,CAAC;QAErB,MAAM,cAAc,GAAG,UAAU,CAAC,EAAE,EAAE,aAAa,CAAC,IAAI,WAAW,CAAC;QACpE,QACE,WACE,KAAK,EAAE;gBACL,mBAAmB,EAAE,IAAI;gBACzB,YAAY,EAAE,UAAU;aACzB,IAED,WAAK,KAAK,EAAC,kBAAkB,IAC3B,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,SAAS,IAC7C,cAAK,OAAO,CAAM,CACJ,CACX,EACN,QAAQ,KACP,qBAAe,OAAO,EAAC,gBAAgB,IAAE,QAAQ,CAAiB,CACnE,CACG,EACL,CAAC,cAAc,IAAI,cAAc,MAChC,WAAK,KAAK,EAAC,qBAAqB,IAC9B,YAAM,IAAI,EAAC,aAAa,IACrB,WAAW,KACV,qBAAe,OAAO,EAAC,MAAM,IAAE,WAAW,CAAiB,CAC5D,CACI,EACN,cAAc,KACb,WAAK,KAAK,EAAC,aAAa,IACrB,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC,KAC/B,WAAK,KAAK,EAAC,wBAAwB,IACjC,YAAM,IAAI,EAAC,gBAAgB,GAAG,CAC1B,CACP,EACA,CAAC,iBAAiB,KACjB,iBACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,gBAAgB,EACtB,KAAK,EAAC,eAAe,EACrB,SAAS,QACT,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;gBACtC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;aACzC,EACD,KAAK,EAAE,0BAA0B,EACjC,UAAU,EAAE,aAAa,GACd,CACd,EACA,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC,KAC/B,YAAM,IAAI,EAAC,gBAAgB,GAAG,CAC/B,CACG,CACP,CACG,CACP,CACG,EACN;KACH;;;;;;;","names":[],"sources":["src/components/ic-data-table-title-bar/ic-data-table-title-bar.css?tag=ic-data-table-title-bar&encapsulation=shadow","src/components/ic-data-table-title-bar/ic-data-table-title-bar.tsx"],"sourcesContent":[".title-bar-wrapper,\n.header-container,\n.description-actions,\n.action-area,\n.custom-actions-wrapper {\n display: flex;\n}\n\n.title-bar-wrapper,\n.action-area,\n.custom-actions-wrapper {\n gap: var(--ic-space-xs);\n}\n\n.title-bar-wrapper {\n flex-direction: column;\n padding: var(--ic-space-sm) var(--ic-space-xs);\n border-bottom: var(--ic-space-1px) solid var(--ic-architectural-300);\n}\n\n.full-width {\n padding: var(--ic-space-sm) 0;\n border-bottom: none;\n}\n\nic-typography.heading h3 {\n margin: 0;\n}\n\nic-typography.ic-typography-subtitle-small {\n --ic-typography-color: var(--ic-color-text-tertiary);\n}\n\nic-typography.ic-typography-h3,\n::slotted([slot=\"header\"]) {\n max-width: 50rem;\n}\n\nic-typography.ic-typography-body,\n::slotted([slot=\"description\"]) {\n color: var(--ic-color-text-secondary);\n\n --ic-typography-color: var(--ic-color-text-secondary);\n}\n\nic-typography.ic-typography-body,\nic-typography.ic-typography-subtitle-small,\n::slotted([slot=\"description\"]) {\n max-width: 40rem;\n}\n\n.density-input {\n --input-width: 7.625rem;\n}\n\n@media screen and (max-width: 1200px) {\n .header-container {\n flex-direction: column;\n }\n}\n\n@media screen and (min-width: 1201px) {\n .header-container {\n gap: var(--ic-space-xs);\n align-items: baseline;\n }\n}\n\n@media screen and (min-width: 769px) {\n .description-actions {\n justify-content: space-between;\n }\n}\n\n@media screen and (max-width: 768px) {\n .description-actions {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n }\n}\n\n@media screen and (min-width: 577px) {\n .action-area {\n align-items: center;\n }\n}\n\n@media screen and (max-width: 576px) {\n .action-area {\n flex-direction: column;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n h,\n} from \"@stencil/core\";\nimport { IcSelectCustomEvent } from \"@ukic/web-components/dist/types/interface\";\nimport {\n IcDataTableDensityOptions,\n IcDensityUpdateEventDetail,\n} from \"../ic-data-table/ic-data-table.types\";\nimport { isSlotUsed } from \"../../utils/helpers\";\n\nconst DEFAULT_TITLE_BAR_HEADING = \"Title Bar\";\n\n/**\n * @slot primary-action - Render an interactive element that will perform a primary action. Renders to the right of the density select.\n * @slot custom-actions - Render additional custom actions to the left of the density select.\n * @slot heading - The heading to render on the data table title bar.\n * @slot description - Render an alternative description in the description section.\n */\n@Component({\n tag: \"ic-data-table-title-bar\",\n styleUrl: \"ic-data-table-title-bar.css\",\n shadow: true,\n})\nexport class DataTableTitleBar {\n private initialDensitySelectOption: IcDataTableDensityOptions = \"default\";\n private isEmbedded: boolean = false;\n\n @Element() el: HTMLIcDataTableTitleBarElement;\n\n /**\n * The description that is displayed below the `heading` and `metadata`. Can be overridden with the `description` slot.\n */\n @Prop() description?: string;\n\n /**\n * The heading of the title bar. Can be overridden with the `heading` slot. If used with an `ic-data-table` it will default to the table's `caption` unless overridden.\n */\n @Prop() heading?: string = DEFAULT_TITLE_BAR_HEADING;\n\n /**\n * When `true`, the density select will not be rendered.\n */\n @Prop() hideDensitySelect?: boolean = false;\n\n /**\n * The metadata displayed next to the `heading`.\n */\n @Prop() metadata?: string;\n\n /**\n * Emitted when the table density select value is changed.\n */\n @Event() icTableDensityUpdate: EventEmitter<IcDensityUpdateEventDetail>;\n\n componentWillLoad(): void {\n const parentEl = this.el.parentElement;\n if (parentEl.tagName === \"IC-DATA-TABLE\") {\n const dataTable = parentEl as HTMLIcDataTableElement;\n this.initialDensitySelectOption = dataTable.density;\n this.isEmbedded = dataTable.embedded;\n if (this.heading === DEFAULT_TITLE_BAR_HEADING) {\n this.heading = dataTable.caption;\n }\n }\n }\n\n private changeDensity = (\n ev: IcSelectCustomEvent<IcDensityUpdateEventDetail>\n ) => {\n this.icTableDensityUpdate.emit({ value: ev.detail.value });\n };\n\n render() {\n const {\n changeDensity,\n description,\n el,\n heading,\n hideDensitySelect,\n initialDensitySelectOption,\n isEmbedded,\n metadata,\n } = this;\n const showActionArea =\n isSlotUsed(el, \"primary-action\") ||\n isSlotUsed(el, \"custom-actions\") ||\n !hideDensitySelect;\n\n const hasDescription = isSlotUsed(el, \"description\") || description;\n return (\n <div\n class={{\n \"title-bar-wrapper\": true,\n \"full-width\": isEmbedded,\n }}\n >\n <div class=\"header-container\">\n <slot name=\"heading\">\n <ic-typography variant=\"h3\" className=\"heading\">\n <h3>{heading}</h3>\n </ic-typography>\n </slot>\n {metadata && (\n <ic-typography variant=\"subtitle-small\">{metadata}</ic-typography>\n )}\n </div>\n {(showActionArea || hasDescription) && (\n <div class=\"description-actions\">\n <slot name=\"description\">\n {description && (\n <ic-typography variant=\"body\">{description}</ic-typography>\n )}\n </slot>\n {showActionArea && (\n <div class=\"action-area\">\n {isSlotUsed(el, \"custom-actions\") && (\n <div class=\"custom-actions-wrapper\">\n <slot name=\"custom-actions\" />\n </div>\n )}\n {!hideDensitySelect && (\n <ic-select\n size=\"small\"\n label=\"Change density\"\n class=\"density-input\"\n hideLabel\n options={[\n { label: \"Default\", value: \"default\" },\n { label: \"Dense\", value: \"dense\" },\n { label: \"Spacious\", value: \"spacious\" },\n ]}\n value={initialDensitySelectOption}\n onIcChange={changeDensity}\n ></ic-select>\n )}\n {isSlotUsed(el, \"primary-action\") && (\n <slot name=\"primary-action\" />\n )}\n </div>\n )}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-data-table-title-bar.entry.js","mappings":";;;AAAA,MAAM,sBAAsB,GAAG,mpDAAmpD;;ACelrD,MAAM,yBAAyB,GAAG,WAAW,CAAC;MAajC,iBAAiB;;;;QACpB,+BAA0B,GAA8B,SAAS,CAAC;QAClE,eAAU,GAAY,KAAK,CAAC;QAyC5B,kBAAa,GAAG,CACtB,EAAmD;YAEnD,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;SAC5D,CAAC;;uBAjCyB,yBAAyB;iCAKd,KAAK;;;IAY3C,iBAAiB;QACf,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC;QACvC,IAAI,QAAQ,CAAC,OAAO,KAAK,eAAe,EAAE;YACxC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,QAAkC,CAAC;YAC1E,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC;YAC1C,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;YAC3B,IAAI,IAAI,CAAC,OAAO,KAAK,yBAAyB,EAAE;gBAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;aACxB;SACF;KACF;IAQD,MAAM;QACJ,MAAM,EACJ,aAAa,EACb,WAAW,EACX,EAAE,EACF,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,UAAU,EACV,QAAQ,GACT,GAAG,IAAI,CAAC;QACT,MAAM,cAAc,GAClB,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC;YAChC,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC;YAChC,CAAC,iBAAiB,CAAC;QAErB,MAAM,cAAc,GAAG,UAAU,CAAC,EAAE,EAAE,aAAa,CAAC,IAAI,WAAW,CAAC;QACpE,QACE,WACE,KAAK,EAAE;gBACL,mBAAmB,EAAE,IAAI;gBACzB,YAAY,EAAE,UAAU;aACzB,IAED,WAAK,KAAK,EAAC,kBAAkB,IAC3B,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,IACzC,cAAK,OAAO,CAAM,CACJ,CACX,EACN,QAAQ,KACP,qBAAe,OAAO,EAAC,gBAAgB,IAAE,QAAQ,CAAiB,CACnE,CACG,EACL,CAAC,cAAc,IAAI,cAAc,MAChC,WAAK,KAAK,EAAC,qBAAqB,IAC9B,YAAM,IAAI,EAAC,aAAa,IACrB,WAAW,KACV,qBAAe,OAAO,EAAC,MAAM,IAAE,WAAW,CAAiB,CAC5D,CACI,EACN,cAAc,KACb,WAAK,KAAK,EAAC,aAAa,IACrB,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC,KAC/B,WAAK,KAAK,EAAC,wBAAwB,IACjC,YAAM,IAAI,EAAC,gBAAgB,GAAG,CAC1B,CACP,EACA,CAAC,iBAAiB,KACjB,iBACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,gBAAgB,EACtB,KAAK,EAAC,eAAe,EACrB,SAAS,QACT,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;gBACtC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;aACzC,EACD,KAAK,EAAE,0BAA0B,EACjC,UAAU,EAAE,aAAa,GACd,CACd,EACA,UAAU,CAAC,EAAE,EAAE,gBAAgB,CAAC,KAC/B,YAAM,IAAI,EAAC,gBAAgB,GAAG,CAC/B,CACG,CACP,CACG,CACP,CACG,EACN;KACH;;;;;;;","names":[],"sources":["src/components/ic-data-table-title-bar/ic-data-table-title-bar.css?tag=ic-data-table-title-bar&encapsulation=shadow","src/components/ic-data-table-title-bar/ic-data-table-title-bar.tsx"],"sourcesContent":[".title-bar-wrapper,\n.header-container,\n.description-actions,\n.action-area,\n.custom-actions-wrapper {\n display: flex;\n}\n\n.title-bar-wrapper,\n.action-area,\n.custom-actions-wrapper {\n gap: var(--ic-space-xs);\n}\n\n.title-bar-wrapper {\n flex-direction: column;\n padding: var(--ic-space-sm) var(--ic-space-xs);\n border-bottom: var(--ic-space-1px) solid\n var(--ic-data-table-title-bar-keyline);\n background-color: var(--ic-data-table-title-bar-background);\n}\n\n.full-width {\n padding: var(--ic-space-sm) 0;\n border-bottom: none;\n}\n\nic-typography.heading h3 {\n margin: 0;\n}\n\nic-typography.ic-typography-subtitle-small {\n --ic-typography-color: var(--ic-data-table-title-bar-information);\n}\n\nic-typography.ic-typography-h3,\n::slotted([slot=\"header\"]) {\n max-width: 50rem;\n color: var(--ic-data-table-title-bar-title);\n\n --ic-typography-color: var(--ic-data-table-title-bar-title);\n}\n\nic-typography.ic-typography-body,\n::slotted([slot=\"description\"]) {\n color: var(--ic-data-table-title-bar-description);\n\n --ic-typography-color: var(--ic-data-table-title-bar-description);\n}\n\nic-typography.ic-typography-body,\nic-typography.ic-typography-subtitle-small,\n::slotted([slot=\"description\"]) {\n max-width: 40rem;\n}\n\n.density-input {\n --input-width: 7.625rem;\n}\n\n@media screen and (max-width: 1200px) {\n .header-container {\n flex-direction: column;\n }\n}\n\n@media screen and (min-width: 1201px) {\n .header-container {\n gap: var(--ic-space-xs);\n align-items: baseline;\n }\n}\n\n@media screen and (min-width: 769px) {\n .description-actions {\n justify-content: space-between;\n }\n}\n\n@media screen and (max-width: 768px) {\n .description-actions {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n }\n}\n\n@media screen and (min-width: 577px) {\n .action-area {\n align-items: center;\n }\n}\n\n@media screen and (max-width: 576px) {\n .action-area {\n flex-direction: column;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n h,\n} from \"@stencil/core\";\nimport { IcSelectCustomEvent } from \"@ukic/web-components/dist/types/interface\";\nimport {\n IcDataTableDensityOptions,\n IcDensityUpdateEventDetail,\n} from \"../ic-data-table/ic-data-table.types\";\nimport { isSlotUsed } from \"../../utils/helpers\";\n\nconst DEFAULT_TITLE_BAR_HEADING = \"Title Bar\";\n\n/**\n * @slot primary-action - Render an interactive element that will perform a primary action. Renders to the right of the density select.\n * @slot custom-actions - Render additional custom actions to the left of the density select.\n * @slot heading - The heading to render on the data table title bar.\n * @slot description - Render an alternative description in the description section.\n */\n@Component({\n tag: \"ic-data-table-title-bar\",\n styleUrl: \"ic-data-table-title-bar.css\",\n shadow: true,\n})\nexport class DataTableTitleBar {\n private initialDensitySelectOption: IcDataTableDensityOptions = \"default\";\n private isEmbedded: boolean = false;\n\n @Element() el: HTMLIcDataTableTitleBarElement;\n\n /**\n * The description that is displayed below the `heading` and `metadata`. Can be overridden with the `description` slot.\n */\n @Prop() description?: string;\n\n /**\n * The heading of the title bar. Can be overridden with the `heading` slot. If used with an `ic-data-table` it will default to the table's `caption` unless overridden.\n */\n @Prop() heading?: string = DEFAULT_TITLE_BAR_HEADING;\n\n /**\n * When `true`, the density select will not be rendered.\n */\n @Prop() hideDensitySelect?: boolean = false;\n\n /**\n * The metadata displayed next to the `heading`.\n */\n @Prop() metadata?: string;\n\n /**\n * Emitted when the table density select value is changed.\n */\n @Event() icTableDensityUpdate: EventEmitter<IcDensityUpdateEventDetail>;\n\n componentWillLoad(): void {\n const parentEl = this.el.parentElement;\n if (parentEl.tagName === \"IC-DATA-TABLE\") {\n const { caption, density, embedded } = parentEl as HTMLIcDataTableElement;\n this.initialDensitySelectOption = density;\n this.isEmbedded = embedded;\n if (this.heading === DEFAULT_TITLE_BAR_HEADING) {\n this.heading = caption;\n }\n }\n }\n\n private changeDensity = (\n ev: IcSelectCustomEvent<IcDensityUpdateEventDetail>\n ) => {\n this.icTableDensityUpdate.emit({ value: ev.detail.value });\n };\n\n render() {\n const {\n changeDensity,\n description,\n el,\n heading,\n hideDensitySelect,\n initialDensitySelectOption,\n isEmbedded,\n metadata,\n } = this;\n const showActionArea =\n isSlotUsed(el, \"primary-action\") ||\n isSlotUsed(el, \"custom-actions\") ||\n !hideDensitySelect;\n\n const hasDescription = isSlotUsed(el, \"description\") || description;\n return (\n <div\n class={{\n \"title-bar-wrapper\": true,\n \"full-width\": isEmbedded,\n }}\n >\n <div class=\"header-container\">\n <slot name=\"heading\">\n <ic-typography variant=\"h3\" class=\"heading\">\n <h3>{heading}</h3>\n </ic-typography>\n </slot>\n {metadata && (\n <ic-typography variant=\"subtitle-small\">{metadata}</ic-typography>\n )}\n </div>\n {(showActionArea || hasDescription) && (\n <div class=\"description-actions\">\n <slot name=\"description\">\n {description && (\n <ic-typography variant=\"body\">{description}</ic-typography>\n )}\n </slot>\n {showActionArea && (\n <div class=\"action-area\">\n {isSlotUsed(el, \"custom-actions\") && (\n <div class=\"custom-actions-wrapper\">\n <slot name=\"custom-actions\" />\n </div>\n )}\n {!hideDensitySelect && (\n <ic-select\n size=\"small\"\n label=\"Change density\"\n class=\"density-input\"\n hideLabel\n options={[\n { label: \"Default\", value: \"default\" },\n { label: \"Dense\", value: \"dense\" },\n { label: \"Spacious\", value: \"spacious\" },\n ]}\n value={initialDensitySelectOption}\n onIcChange={changeDensity}\n ></ic-select>\n )}\n {isSlotUsed(el, \"primary-action\") && (\n <slot name=\"primary-action\" />\n )}\n </div>\n )}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-93509377.js';
2
- import { d as dynamicDebounce, a as isEmptyString, p as pxToRem, i as isSlotUsed, b as addDataToPosition, e as getSlotElements } from './helpers-a7b13f5a.js';
2
+ import { d as dynamicDebounce, a as isEmptyString, p as pxToRem, i as isSlotUsed, b as addDataToPosition, e as getSlotElements, f as checkResizeObserver } from './helpers-d399f9c8.js';
3
3
 
4
4
  const unsortedIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24">
5
5
  <path d="M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z"></path>
@@ -13,7 +13,7 @@ const descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 2
13
13
  <path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
14
14
  </svg>`;
15
15
 
16
- const icDataTableCss = ":host{position:relative;display:inline-flex;max-height:100%;width:var(--table-width, 100%);height:100%;min-width:var(--table-min-width);max-width:var(--table-max-width)}tbody{vertical-align:top}.table-container{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column;width:100%}.cell-container{display:flex;min-height:1.5rem;overflow-y:hidden;height:var(--row-height)}.truncation-show-hide{overflow:visible;display:block}.cell-icon.truncation-show-hide{display:flex}.cell-container:not(.data-type-element,.truncation-show-hide){overflow-x:hidden}ic-loading-indicator{position:sticky;top:20px}ic-loading-indicator.ic-theme-dark{--inner-color:var(--ic-action-default-dark);--outer-color:var(--ic-action-neutral-light);--label-color:var(--ic-color-text-primary-dark)}ic-loading-indicator.ic-theme-dark.ic-loading-indicator-monochrome{--inner-color:var(--ic-action-light);--outer-color:var(--ic-action-neutral-dark);--label-color:var(--ic-color-text-inverse-dark)}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-row-container{border:var(--ic-border-light)}.column-header-inner-container{padding:var(--ic-space-xs);box-sizing:border-box}.column-header-sticky{position:sticky;top:0;z-index:1}.column-header-overlay{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}.row-header-sticky{position:sticky;left:0}.column-header,.table-row{box-sizing:border-box}.table-row-selected{background-color:var(--ic-table-row-selected) !important}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-action-dark-bg-hover)}.sort-button:active{background-color:var(--ic-action-dark-bg-pressed)}.sort-button svg{color:var(--ic-architectural-black)}.sort-button-unsorted svg{color:var(--ic-color-text-tertiary)}.table-density-dense .column-header-inner-container,td.table-density-dense{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}.text-dense{font-size:var(--ic-font-size-label)}.table-density-spacious .column-header-inner-container,td.table-density-spacious{padding:0.625rem var(--ic-space-xs) !important}.text-spacious{font-size:1.125rem}.column-header-text{font-weight:var(--ic-font-weight-bold)}.row-header,.column-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}.column-header{padding:0;width:var(--column-width);min-width:var(--column-min-width, 4rem);max-width:var(--column-max-width)}.column-header:last-child{border-right:none}.scrollable .column-header:last-child{border-right:var(--ic-border-light) !important}:host([embedded=\"true\"]) tr:last-child .table-cell,:host([embedded=\"true\"]) tr:last-child .row-header{border-bottom:none}.column-header-alignment-left,.row-header-alignment-left,.cell-alignment-left{text-align:left !important;justify-content:start !important}.column-header-alignment-right,.row-header-alignment-right,.cell-alignment-right{text-align:right !important;justify-content:end !important}.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.cell-alignment-right.truncation-show-hide ic-typography{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.column-header-alignment-center,.row-header-alignment-center,.cell-alignment-center{text-align:center !important;justify-content:center !important}.table-row:nth-child(even){background-color:var(--ic-architectural-20)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}.table-cell.with-overflow{overflow:visible}.data-type-string,.data-type-address{text-align:left;vertical-align:top}.data-type-number,.data-type-date{text-align:right;justify-content:end;vertical-align:top}.cell-alignment-top{vertical-align:top;align-items:flex-start}.cell-alignment-middle{vertical-align:middle;align-items:center}.cell-alignment-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low{--ic-typography-color:var(--ic-color-text-secondary)}.cell-emphasis-high{font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}.screen-reader-sort-text,.table-caption{position:absolute;left:-100rem}.table-cell,.column-header,.row-header{word-wrap:break-word;white-space:pre-wrap}.loading-empty{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}.updating-state{padding:0;border-bottom:var(--ic-border-light)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading.show-background{background-color:var(--ic-architectural-white);border:var(--ic-border-light)}.loading.show{opacity:1}.icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}.column-header-alignment-right>.icon,.row-header-alignment-right>.icon,.cell-alignment-right>.icon,.column-header-alignment-right>::slotted(svg),.row-header-alignment-right>::slotted(svg),.cell-alignment-right>::slotted(svg){margin-right:auto}.column-header-alignment-center>ic-typography,.row-header-alignment-right>ic-typography,.cell-alignment-center>ic-typography{flex:1}.icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.truncation-tooltip ic-typography{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}.truncation-tooltip ic-typography,.truncation-show-hide ic-typography{white-space:normal}.ic-tooltip-overflow{overflow:hidden;width:100%}@media screen and (min-width: 577px){.column-header-inner-container{display:flex;align-items:center}}";
16
+ 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{overflow:visible;display:block}.cell-icon.truncation-show-hide{display:flex}.cell-container:not(.data-type-element,.truncation-show-hide){overflow-x:hidden}ic-loading-indicator{position:sticky;top:20px}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-row-container{border:var(--ic-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;vertical-align:top}.data-type-number,.data-type-date{text-align:right;justify-content:end;vertical-align:top}.cell-alignment-top{vertical-align:top;align-items:flex-start}.cell-alignment-middle{vertical-align:middle;align-items:center}.cell-alignment-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low 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)}.loading.show-background{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){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,.row-header-alignment-right>ic-typography,.cell-alignment-center>ic-typography{flex:1}.icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.truncation-tooltip ic-typography{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}.truncation-tooltip ic-typography,.truncation-show-hide ic-typography{white-space:normal}.ic-tooltip-overflow{overflow:hidden;width:100%}@media screen and (min-width: 577px){.column-header-inner-container{display:flex;align-items:center}}";
17
17
 
18
18
  const DataTable = class {
19
19
  constructor(hostRef) {
@@ -54,6 +54,34 @@ const DataTable = class {
54
54
  this.densityUpdate = false;
55
55
  this.truncationPatternUpdated = false;
56
56
  this.isNewDebounceDelaySet = false;
57
+ this.headerResizeObserver = null;
58
+ this.IC_TOOLTIP_STRING = "ic-tooltip";
59
+ this.SHOW_TRUNC_TOOLTIP_STRING = "show-trunc-tooltip";
60
+ this.runHeaderResizeObserver = () => {
61
+ this.headerResizeObserver = new ResizeObserver(() => {
62
+ this.headerResizeCallback();
63
+ });
64
+ this.headerResizeObserver.observe(this.el);
65
+ };
66
+ this.headerResizeCallback = () => {
67
+ if (!this.hideColumnHeaders && this.columnHeaderTruncation) {
68
+ const tableContainerWidth = this.el.shadowRoot.querySelector(".table-container").clientWidth;
69
+ if (tableContainerWidth !== this.prevTableContainerWidth) {
70
+ const headers = this.el.shadowRoot.querySelectorAll("th.column-header");
71
+ headers.forEach((header) => {
72
+ const tooltip = header.querySelector(this.IC_TOOLTIP_STRING);
73
+ const typographyEls = header.querySelectorAll("ic-typography");
74
+ if (tooltip && typographyEls && typographyEls.length === 2) {
75
+ tooltip.classList.remove(this.SHOW_TRUNC_TOOLTIP_STRING);
76
+ if (typographyEls[1].clientWidth > typographyEls[0].clientWidth) {
77
+ tooltip.classList.add(this.SHOW_TRUNC_TOOLTIP_STRING);
78
+ }
79
+ }
80
+ });
81
+ this.prevTableContainerWidth = tableContainerWidth;
82
+ }
83
+ }
84
+ };
57
85
  this.updateSetRowHeight = (typographyEl) => {
58
86
  const fontSize = parseInt(getComputedStyle(document.documentElement).fontSize);
59
87
  if (typographyEl) {
@@ -210,8 +238,8 @@ const DataTable = class {
210
238
  return this.getObjectValue(cell, key);
211
239
  };
212
240
  this.createUpdatingIndicator = () => {
213
- const { appearance, description, max, min, progress, monochrome } = this.updatingOptions || {};
214
- return (h("th", { colSpan: this.columns.length, class: "updating-state" }, h("ic-loading-indicator", { theme: appearance, monochrome: monochrome, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
241
+ const { description, max, min, progress, monochrome } = this.updatingOptions || {};
242
+ return (h("th", { colSpan: this.columns.length, class: "updating-state" }, 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" })));
215
243
  };
216
244
  this.setRowHeight = (height) => {
217
245
  return pxToRem(`${height * this.DENSITY_HEIGHT_MULTIPLIER[this.density] -
@@ -302,35 +330,38 @@ const DataTable = class {
302
330
  !!((_h = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _h === void 0 ? void 0 : _h.horizontal) ||
303
331
  !!this.getCellAlignment(cell, "horizontal"), [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true, [this.TEXT_WRAP_STRING]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) ||
304
332
  (rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap) ||
305
- !!this.getCellOptions(cell, "textWrap"), ["cell-icon"]: hasIcon || !!((_j = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _j === void 0 ? void 0 : _j.icon) }, this.setTruncationClass()), style: Object.assign(Object.assign({}, this.getRowHeight(currentRowHeight, columnProps, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, cell)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
333
+ !!this.getCellOptions(cell, "textWrap"), ["cell-icon"]: hasIcon || !!((_j = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _j === void 0 ? void 0 : _j.icon), [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
334
+ (columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
335
+ rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
336
+ !!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
337
+ !!rowEmphasis }, this.setTruncationClass()), style: Object.assign(Object.assign({}, this.getRowHeight(currentRowHeight, columnProps, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, cell)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
306
338
  ? this.setRowHeight(currentRowHeight)
307
339
  : null }, isSlotUsed(this.el, cellSlotName) ? (h("slot", { name: cellSlotName })) : (h(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (h("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_k = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _k === void 0 ? void 0 : _k.onAllCells)) &&
308
340
  (cellValue("icon") || ((_l = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _l === void 0 ? void 0 : _l.icon)) && (h("span", { class: "icon", innerHTML: cellValue("icon") || ((_m = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _m === void 0 ? void 0 : _m.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
309
341
  !isSlotUsed(this.el, cellSlotName) && (h("ic-typography", { variant: "body", class: {
310
- [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
311
- (columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
312
- rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
313
- !!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
314
- !!rowEmphasis,
315
342
  [`text-${this.density}`]: this.notDefaultDensity(),
316
343
  } }, this.isObject(cell) &&
317
- (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType)))))))));
344
+ (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href"), theme: this.theme }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType)))))))));
318
345
  }
319
346
  });
320
347
  };
321
348
  this.createColumnHeaders = () => {
322
- return this.columns.map(({ cellAlignment, colspan, icon, key, title, columnWidth }) => (h("th", { scope: "col", class: {
349
+ return this.columns.map(({ cellAlignment, colspan, icon, key, title, columnWidth }, index) => (h("th", { scope: "col", class: {
323
350
  ["column-header"]: true,
324
351
  [`table-density-${this.density}`]: this.notDefaultDensity(),
325
352
  ["updating-state-headers"]: this.updating && !this.loading,
326
353
  }, style: Object.assign({}, this.getColumnWidth(columnWidth)), colSpan: colspan }, h("div", { class: {
327
354
  "column-header-inner-container": true,
355
+ "truncation-tooltip": this.columnHeaderTruncation,
328
356
  [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
329
357
  } }, isSlotUsed(this.el, `${key}-column-icon`) ? (h("slot", { name: `${key}-column-icon` })) : (icon &&
330
- !icon.hideOnHeader && (h("span", { class: "icon", innerHTML: icon.icon }))), h("ic-typography", { variant: "body", class: {
358
+ !icon.hideOnHeader && (h("span", { class: "icon", innerHTML: icon.icon }))), this.columnHeaderTruncation ? (h("ic-tooltip", { label: title, target: `column-header-${index}` }, h("ic-typography", { id: `column-header-${index}`, variant: "body", class: {
331
359
  ["column-header-text"]: true,
332
360
  [`text-${this.density}`]: this.notDefaultDensity(),
333
- } }, title), this.sortable && (h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
361
+ } }, title))) : (h("ic-typography", { variant: "body", class: {
362
+ ["column-header-text"]: true,
363
+ [`text-${this.density}`]: this.notDefaultDensity(),
364
+ } }, title)), this.sortable && (h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
334
365
  // eslint-disable-next-line react/jsx-no-bind
335
366
  onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
336
367
  ? this.sortedColumnOrder
@@ -338,7 +369,11 @@ const DataTable = class {
338
369
  ["sort-button"]: true,
339
370
  ["sort-button-unsorted"]: this.sortedColumn !== key ||
340
371
  this.sortedColumnOrder === "unsorted",
341
- } }))))));
372
+ } }))), this.columnHeaderTruncation && (h("ic-typography", { variant: "body", "aria-hidden": "true", class: {
373
+ ["column-header-text"]: true,
374
+ ["dummy-column-header-text"]: this.columnHeaderTruncation,
375
+ [`text-${this.density}`]: this.notDefaultDensity(),
376
+ } }, title)))));
342
377
  };
343
378
  this.onRowClick = (row) => {
344
379
  this.selectedRow =
@@ -357,7 +392,9 @@ const DataTable = class {
357
392
  const organisedData = data.map((row, rowIndex) => {
358
393
  const slottedColumns = this.columns
359
394
  .map(({ key }, index) => isSlotUsed(this.el, `${key}-${rowIndex}`) && { key, index })
360
- .filter((col) => !!col);
395
+ .filter((col) => !!col &&
396
+ // skip the column if its already in the row
397
+ !Object.prototype.hasOwnProperty.call(row, col.key));
361
398
  return slottedColumns.length > 0
362
399
  ? addDataToPosition(row, slottedColumns, "")
363
400
  : row;
@@ -483,7 +520,7 @@ const DataTable = class {
483
520
  var _a;
484
521
  const tooltipEl = (slottedEl.tagName === "IC-TOOLTIP"
485
522
  ? slottedEl
486
- : (_a = slottedEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("ic-tooltip"));
523
+ : (_a = slottedEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.IC_TOOLTIP_STRING));
487
524
  if (tooltipEl) {
488
525
  tooltipEl.setExternalPopperProps({
489
526
  strategy: "fixed",
@@ -504,6 +541,7 @@ const DataTable = class {
504
541
  this.currentRowHeight = undefined;
505
542
  this.debounceDelay = 0;
506
543
  this.caption = undefined;
544
+ this.columnHeaderTruncation = false;
507
545
  this.columns = undefined;
508
546
  this.data = undefined;
509
547
  this.density = "default";
@@ -527,11 +565,11 @@ const DataTable = class {
527
565
  showItemsPerPageControl: true,
528
566
  showGoToPageControl: true,
529
567
  alignment: "right",
530
- appearance: "default",
531
568
  itemLabel: "Item",
532
569
  pageLabel: "Page",
533
570
  hideRangeLabel: false,
534
571
  hideAllFromItemsPerPage: false,
572
+ monochrome: false,
535
573
  };
536
574
  this.showPagination = false;
537
575
  this.sortable = false;
@@ -542,15 +580,31 @@ const DataTable = class {
542
580
  this.stickyColumnHeaders = false;
543
581
  this.stickyRowHeaders = false;
544
582
  this.tableLayout = "fixed";
583
+ this.theme = "inherit";
545
584
  this.truncationPattern = undefined;
546
585
  this.updating = false;
547
586
  this.updatingOptions = undefined;
548
587
  this.variableRowHeight = undefined;
549
588
  this.width = undefined;
550
589
  }
590
+ headerTruncationChangeHandler() {
591
+ if (this.columnHeaderTruncation) {
592
+ this.prevTableContainerWidth = 0;
593
+ }
594
+ else {
595
+ const headers = this.el.shadowRoot.querySelectorAll("th.column-header");
596
+ headers.forEach((header) => {
597
+ const tooltip = header.querySelector(this.IC_TOOLTIP_STRING);
598
+ if (tooltip) {
599
+ tooltip.classList.remove(this.SHOW_TRUNC_TOOLTIP_STRING);
600
+ }
601
+ });
602
+ }
603
+ }
551
604
  disconnectedCallback() {
552
- var _a;
605
+ var _a, _b;
553
606
  (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
607
+ (_b = this.headerResizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
554
608
  }
555
609
  componentWillLoad() {
556
610
  var _a;
@@ -566,6 +620,7 @@ const DataTable = class {
566
620
  componentDidLoad() {
567
621
  const tableElement = this.el.shadowRoot.querySelector("table");
568
622
  const tableContainer = this.el.shadowRoot.querySelector(".table-container");
623
+ checkResizeObserver(this.runHeaderResizeObserver);
569
624
  if (this.dataUpdated) {
570
625
  this.dataUpdated = false;
571
626
  }
@@ -935,7 +990,8 @@ const DataTable = class {
935
990
  this.variableRowHeight = null;
936
991
  }
937
992
  showLoadingIndicator() {
938
- this.loadingIndicator.classList.add("show");
993
+ var _a;
994
+ (_a = this.loadingIndicator) === null || _a === void 0 ? void 0 : _a.classList.add("show");
939
995
  }
940
996
  getRowOptions(rowKeys, rowValues) {
941
997
  const rowOptionsIndex = rowKeys.indexOf("rowOptions");
@@ -980,7 +1036,7 @@ const DataTable = class {
980
1036
  typographyEl.setAttribute("style", `--ic-line-clamp: ${this.getLines(cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)}`);
981
1037
  }
982
1038
  createTruncationTooltip(typographyEl, cellContainer) {
983
- const tooltipEl = document.createElement("ic-tooltip");
1039
+ const tooltipEl = document.createElement(this.IC_TOOLTIP_STRING);
984
1040
  tooltipEl.setAttribute("target", typographyEl.id);
985
1041
  tooltipEl.setAttribute("label", typographyEl.textContent);
986
1042
  tooltipEl.classList.add("ic-tooltip-overflow");
@@ -992,11 +1048,12 @@ const DataTable = class {
992
1048
  tooltipEl.appendChild(typographyEl);
993
1049
  }
994
1050
  render() {
995
- const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, } = this;
996
- return (h(Host, { style: Object.assign({}, this.setTableDimensions()) }, h("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && h("slot", { name: "title-bar" }), h("div", { class: {
1051
+ var _a;
1052
+ const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, theme, } = this;
1053
+ return (h(Host, { style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, h("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && h("slot", { name: "title-bar" }), h("div", { class: {
997
1054
  ["table-row-container"]: true,
998
1055
  scrollable,
999
- }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, isSlotUsed(this.el, "title-bar") && h("slot", { name: "title-bar" }), h("table", { style: {
1056
+ }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, h("table", { style: {
1000
1057
  ["--table-layout"]: this.tableLayout,
1001
1058
  } }, h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (h("thead", { class: {
1002
1059
  ["column-header-sticky"]: stickyColumnHeaders,
@@ -1005,16 +1062,17 @@ const DataTable = class {
1005
1062
  !loading &&
1006
1063
  (hideColumnHeaders ? (h("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), (data === null || data === void 0 ? void 0 : data.length) > 0 && !loading && h("tbody", null, createRows())), !(data === null || data === void 0 ? void 0 : data.length) &&
1007
1064
  !loading &&
1008
- (isSlotUsed(this.el, "empty-state") ? (h("slot", { name: "empty-state" })) : (h("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (h("ic-loading-indicator", { theme: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.appearance, monochrome: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.monochrome, class: {
1065
+ (isSlotUsed(this.el, "empty-state") ? (h("slot", { name: "empty-state" })) : (h("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (h("ic-loading-indicator", { theme: theme, monochrome: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.monochrome, class: {
1009
1066
  "loading-empty": loading,
1010
1067
  loading: true,
1011
1068
  "show-background": loadingOptions.showBackground,
1012
- }, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (h("div", { class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (h("slot", { name: "pagination-bar" })) : (h("ic-pagination-bar", { totalItems: data.length, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, appearance: paginationBarOptions.appearance, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage })))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
1069
+ }, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (h("div", { class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (h("slot", { name: "pagination-bar" })) : (h("ic-pagination-bar", { totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, theme: theme, monochrome: paginationBarOptions.monochrome, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage })))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
1013
1070
  ? `${sortedColumn} sorted ${sortedColumnOrder}`
1014
1071
  : "table unsorted")))));
1015
1072
  }
1016
1073
  get el() { return getElement(this); }
1017
1074
  static get watchers() { return {
1075
+ "columnHeaderTruncation": ["headerTruncationChangeHandler"],
1018
1076
  "loading": ["loadingHandler"],
1019
1077
  "truncationPattern": ["truncationPatternHandler"],
1020
1078
  "data": ["dataHandler"],