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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-6d736902.js → helpers-191dca49.js} +54 -98
  3. package/dist/cjs/helpers-191dca49.js.map +1 -0
  4. package/dist/cjs/{helpers-f75cf7cf.js → helpers-765a5118.js} +30 -1
  5. package/dist/cjs/helpers-765a5118.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +3 -1
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +15 -9
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +55 -77
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js +23 -16
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-checkbox.cjs.entry.js +32 -30
  23. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-chip.cjs.entry.js +21 -31
  25. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +57 -0
  28. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-data-table.cjs.entry.js +154 -31
  30. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-empty-state_2.cjs.entry.js +322 -0
  36. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -0
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  47. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +176 -35
  49. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-menu.cjs.entry.js +3 -3
  51. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-pagination_4.cjs.entry.js +10 -6
  58. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -2
  60. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-select-with-multi.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  69. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  71. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-theme.cjs.entry.js +13 -15
  74. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  76. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  77. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  78. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  79. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  80. package/dist/cjs/index-4cf27b16.js +8 -8
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/ic-data-table/ic-data-table.css +76 -1
  84. package/dist/collection/components/ic-data-table/ic-data-table.js +368 -43
  85. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  86. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  87. package/dist/collection/components/ic-data-table/story-data.js +258 -0
  88. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  89. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +320 -1
  90. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  91. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +91 -0
  92. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +160 -0
  93. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -0
  94. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js +11 -0
  95. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -0
  96. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js +70 -0
  97. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js.map +1 -0
  98. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +176 -35
  99. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  100. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +180 -3
  101. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  102. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +145 -116
  103. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  104. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +47 -10
  105. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  106. package/dist/collection/utils/types.js.map +1 -1
  107. package/dist/components/helpers.js +53 -96
  108. package/dist/components/helpers.js.map +1 -1
  109. package/dist/components/helpers2.js +28 -1
  110. package/dist/components/helpers2.js.map +1 -1
  111. package/dist/components/ic-accordion-group.js +2 -1
  112. package/dist/components/ic-accordion-group.js.map +1 -1
  113. package/dist/components/ic-back-to-top.js +22 -9
  114. package/dist/components/ic-back-to-top.js.map +1 -1
  115. package/dist/components/ic-badge.js +59 -77
  116. package/dist/components/ic-badge.js.map +1 -1
  117. package/dist/components/ic-breadcrumb-group.js +2 -0
  118. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  119. package/dist/components/ic-checkbox-group.js +26 -16
  120. package/dist/components/ic-checkbox-group.js.map +1 -1
  121. package/dist/components/ic-checkbox.js +32 -30
  122. package/dist/components/ic-checkbox.js.map +1 -1
  123. package/dist/components/ic-chip.js +21 -31
  124. package/dist/components/ic-chip.js.map +1 -1
  125. package/dist/components/ic-data-table-title-bar.d.ts +11 -0
  126. package/dist/components/ic-data-table-title-bar.js +136 -0
  127. package/dist/components/ic-data-table-title-bar.js.map +1 -0
  128. package/dist/components/ic-data-table.js +179 -37
  129. package/dist/components/ic-data-table.js.map +1 -1
  130. package/dist/components/ic-date-input2.js +1 -1
  131. package/dist/components/ic-date-picker.js +1 -1
  132. package/dist/components/ic-divider2.js +1 -1
  133. package/dist/components/ic-empty-state.js +1 -57
  134. package/dist/components/ic-empty-state.js.map +1 -1
  135. package/dist/{esm/ic-empty-state.entry.js → components/ic-empty-state2.js} +38 -11
  136. package/dist/components/ic-empty-state2.js.map +1 -0
  137. package/dist/components/ic-footer-link-group.js +1 -1
  138. package/dist/components/ic-footer-link.js +1 -1
  139. package/dist/components/ic-footer.js +1 -1
  140. package/dist/components/ic-hero.js +1 -1
  141. package/dist/components/ic-horizontal-scroll2.js +1 -1
  142. package/dist/components/ic-link2.js +1 -1
  143. package/dist/components/ic-link2.js.map +1 -1
  144. package/dist/components/ic-menu-item2.js +2 -2
  145. package/dist/components/ic-menu-item2.js.map +1 -1
  146. package/dist/components/ic-menu2.js +2 -2
  147. package/dist/components/ic-menu2.js.map +1 -1
  148. package/dist/components/ic-menu3.js +177 -36
  149. package/dist/components/ic-menu3.js.map +1 -1
  150. package/dist/components/ic-navigation-button.js +1 -1
  151. package/dist/components/ic-navigation-group.js +1 -1
  152. package/dist/components/ic-navigation-item.js +1 -1
  153. package/dist/components/ic-navigation-menu2.js +1 -1
  154. package/dist/components/ic-pagination-bar2.js +126 -99
  155. package/dist/components/ic-pagination-bar2.js.map +1 -1
  156. package/dist/components/ic-pagination-item2.js +1 -1
  157. package/dist/components/ic-pagination-item2.js.map +1 -1
  158. package/dist/components/ic-popover-menu.js +3 -2
  159. package/dist/components/ic-popover-menu.js.map +1 -1
  160. package/dist/components/ic-radio-option.js +1 -1
  161. package/dist/components/ic-search-bar.js +1 -1
  162. package/dist/components/ic-select-with-multi.js +1 -1
  163. package/dist/components/ic-select2.js +8 -4
  164. package/dist/components/ic-select2.js.map +1 -1
  165. package/dist/components/ic-side-navigation.js +1 -1
  166. package/dist/components/ic-stepper.js +1 -1
  167. package/dist/components/ic-theme.js +13 -15
  168. package/dist/components/ic-theme.js.map +1 -1
  169. package/dist/components/ic-toast.js +1 -1
  170. package/dist/components/ic-tooltip2.js +1 -1
  171. package/dist/components/ic-tooltip2.js.map +1 -1
  172. package/dist/components/ic-top-navigation.js +1 -1
  173. package/dist/components/ic-typography2.js +1 -1
  174. package/dist/components/ic-typography2.js.map +1 -1
  175. package/dist/core/core.css +2 -2
  176. package/dist/core/core.esm.js +1 -1
  177. package/dist/core/core.esm.js.map +1 -1
  178. package/dist/core/{p-a8c15117.entry.js → p-005e83b0.entry.js} +2 -2
  179. package/dist/core/{p-c621d6b0.entry.js → p-05df3901.entry.js} +2 -2
  180. package/dist/core/{p-a2dc10d8.entry.js → p-0646ef0c.entry.js} +2 -2
  181. package/dist/core/p-0ec09955.entry.js +2 -0
  182. package/dist/core/p-0ec09955.entry.js.map +1 -0
  183. package/dist/core/{p-3dcc61cc.entry.js → p-114bea92.entry.js} +2 -2
  184. package/dist/core/{p-3dcc61cc.entry.js.map → p-114bea92.entry.js.map} +1 -1
  185. package/dist/core/p-11bbb09c.js +2 -0
  186. package/dist/core/p-11bbb09c.js.map +1 -0
  187. package/dist/core/p-11e736a3.entry.js +2 -0
  188. package/dist/core/p-11e736a3.entry.js.map +1 -0
  189. package/dist/core/{p-6dce8e88.entry.js → p-16c82b13.entry.js} +2 -2
  190. package/dist/core/p-1b35b6af.entry.js +2 -0
  191. package/dist/core/{p-dc5e1f8f.entry.js.map → p-1b35b6af.entry.js.map} +1 -1
  192. package/dist/core/p-1cf8a04e.entry.js +2 -0
  193. package/dist/core/p-1cf8a04e.entry.js.map +1 -0
  194. package/dist/core/{p-849f43c3.entry.js → p-2170f59e.entry.js} +2 -2
  195. package/dist/core/{p-00c5639e.entry.js → p-2e167ebb.entry.js} +2 -2
  196. package/dist/core/p-2e167ebb.entry.js.map +1 -0
  197. package/dist/core/p-3f20608d.entry.js +2 -0
  198. package/dist/core/p-3f20608d.entry.js.map +1 -0
  199. package/dist/core/p-41606de1.entry.js +2 -0
  200. package/dist/core/p-41606de1.entry.js.map +1 -0
  201. package/dist/core/{p-d2d63a61.entry.js → p-4415c93f.entry.js} +2 -2
  202. package/dist/core/{p-730f058b.entry.js → p-457dd939.entry.js} +2 -2
  203. package/dist/core/p-457dd939.entry.js.map +1 -0
  204. package/dist/core/{p-e1963c78.entry.js → p-4737844f.entry.js} +2 -2
  205. package/dist/core/{p-9d8883d7.entry.js → p-53374a27.entry.js} +2 -2
  206. package/dist/core/p-53e45d51.entry.js +2 -0
  207. package/dist/core/{p-3e9a8977.entry.js.map → p-53e45d51.entry.js.map} +1 -1
  208. package/dist/core/{p-1a91e842.entry.js → p-593f0318.entry.js} +2 -2
  209. package/dist/core/{p-aabab75f.entry.js → p-5d5979fa.entry.js} +2 -2
  210. package/dist/core/{p-db3a35fb.entry.js → p-66af5958.entry.js} +2 -2
  211. package/dist/core/p-67b0faac.entry.js +2 -0
  212. package/dist/core/p-67b0faac.entry.js.map +1 -0
  213. package/dist/core/{p-7f53d1be.entry.js → p-6b277e09.entry.js} +2 -2
  214. package/dist/core/{p-7f53d1be.entry.js.map → p-6b277e09.entry.js.map} +1 -1
  215. package/dist/core/{p-9567c117.entry.js → p-72cea8fd.entry.js} +2 -2
  216. package/dist/core/p-73dad5cf.entry.js +2 -0
  217. package/dist/core/{p-06c27edb.entry.js.map → p-73dad5cf.entry.js.map} +1 -1
  218. package/dist/core/{p-e16f73ba.entry.js → p-85e2a9af.entry.js} +2 -2
  219. package/dist/core/p-85e2a9af.entry.js.map +1 -0
  220. package/dist/core/{p-957de939.entry.js → p-872c3555.entry.js} +2 -2
  221. package/dist/core/p-87743c4a.entry.js +2 -0
  222. package/dist/core/{p-e8151d13.entry.js.map → p-87743c4a.entry.js.map} +1 -1
  223. package/dist/core/p-8cfc74da.entry.js +2 -0
  224. package/dist/core/{p-162f3e36.entry.js.map → p-8cfc74da.entry.js.map} +1 -1
  225. package/dist/core/{p-7fda2f94.entry.js → p-9729086f.entry.js} +2 -2
  226. package/dist/core/{p-8b1f9648.entry.js → p-9cc19e91.entry.js} +2 -2
  227. package/dist/core/{p-9528b29e.entry.js → p-9de20265.entry.js} +2 -2
  228. package/dist/core/{p-843bdaae.entry.js → p-a088373e.entry.js} +2 -2
  229. package/dist/core/p-a088373e.entry.js.map +1 -0
  230. package/dist/core/{p-00bd7919.entry.js → p-a0e42564.entry.js} +2 -2
  231. package/dist/core/p-a8110c27.entry.js +2 -0
  232. package/dist/core/p-a8110c27.entry.js.map +1 -0
  233. package/dist/core/{p-946625a3.entry.js → p-a9d07792.entry.js} +2 -2
  234. package/dist/core/p-a9d07792.entry.js.map +1 -0
  235. package/dist/core/{p-a05755b1.entry.js → p-b08f4371.entry.js} +2 -2
  236. package/dist/core/{p-0af27517.entry.js → p-b79c0631.entry.js} +2 -2
  237. package/dist/core/{p-4bd13376.entry.js → p-b8247636.entry.js} +2 -2
  238. package/dist/core/{p-fca46bd9.entry.js → p-badfdf2a.entry.js} +2 -2
  239. package/dist/core/{p-99bf38e3.entry.js → p-be56fa17.entry.js} +2 -2
  240. package/dist/core/{p-ff6f1e3a.entry.js → p-bebf535f.entry.js} +2 -2
  241. package/dist/core/p-c07cef0e.js +2 -0
  242. package/dist/core/p-c07cef0e.js.map +1 -0
  243. package/dist/core/{p-494c3cbe.entry.js → p-c0d88af8.entry.js} +2 -2
  244. package/dist/core/{p-4ad3012a.entry.js → p-c3af5dab.entry.js} +2 -2
  245. package/dist/core/{p-4fd58768.entry.js → p-c3dabce4.entry.js} +2 -2
  246. package/dist/core/{p-6eb58b0a.entry.js → p-c7e932b5.entry.js} +2 -2
  247. package/dist/core/{p-c14a897d.entry.js → p-d09aaa5b.entry.js} +2 -2
  248. package/dist/core/{p-41b682dc.entry.js → p-d59a72a9.entry.js} +2 -2
  249. package/dist/core/p-d59a72a9.entry.js.map +1 -0
  250. package/dist/core/{p-8b820365.entry.js → p-d71e9cb5.entry.js} +2 -2
  251. package/dist/core/{p-cca482e2.entry.js → p-ecd6d123.entry.js} +2 -2
  252. package/dist/core/p-ecd6d123.entry.js.map +1 -0
  253. package/dist/core/p-ee52a11a.entry.js +2 -0
  254. package/dist/core/p-ee52a11a.entry.js.map +1 -0
  255. package/dist/core/p-f11597df.entry.js +2 -0
  256. package/dist/core/p-f11597df.entry.js.map +1 -0
  257. package/dist/core/p-f1f3acd2.entry.js +2 -0
  258. package/dist/core/p-f1f3acd2.entry.js.map +1 -0
  259. package/dist/core/{p-19c1e271.entry.js → p-f659e5eb.entry.js} +2 -2
  260. package/dist/core/{p-f8f36680.entry.js → p-fc2551c0.entry.js} +2 -2
  261. package/dist/esm/core.js +1 -1
  262. package/dist/esm/{helpers-f328a7b6.js → helpers-8df79303.js} +29 -2
  263. package/dist/esm/helpers-8df79303.js.map +1 -0
  264. package/dist/esm/{helpers-c34e4042.js → helpers-da05c476.js} +54 -97
  265. package/dist/esm/helpers-da05c476.js.map +1 -0
  266. package/dist/esm/ic-accordion-group.entry.js +3 -1
  267. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  268. package/dist/esm/ic-accordion.entry.js +1 -1
  269. package/dist/esm/ic-alert.entry.js +1 -1
  270. package/dist/esm/ic-back-to-top.entry.js +15 -9
  271. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  272. package/dist/esm/ic-badge.entry.js +55 -77
  273. package/dist/esm/ic-badge.entry.js.map +1 -1
  274. package/dist/esm/ic-breadcrumb-group.entry.js +3 -1
  275. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  276. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  277. package/dist/esm/ic-button_3.entry.js +2 -2
  278. package/dist/esm/ic-button_3.entry.js.map +1 -1
  279. package/dist/esm/ic-card.entry.js +1 -1
  280. package/dist/esm/ic-checkbox-group.entry.js +23 -16
  281. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  282. package/dist/esm/ic-checkbox.entry.js +32 -30
  283. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  284. package/dist/esm/ic-chip.entry.js +21 -31
  285. package/dist/esm/ic-chip.entry.js.map +1 -1
  286. package/dist/esm/ic-data-row.entry.js +1 -1
  287. package/dist/esm/ic-data-table-title-bar.entry.js +53 -0
  288. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -0
  289. package/dist/esm/ic-data-table.entry.js +155 -32
  290. package/dist/esm/ic-data-table.entry.js.map +1 -1
  291. package/dist/esm/ic-date-input.entry.js +1 -1
  292. package/dist/esm/ic-date-picker.entry.js +1 -1
  293. package/dist/esm/ic-dialog.entry.js +1 -1
  294. package/dist/esm/ic-divider.entry.js +1 -1
  295. package/dist/esm/ic-empty-state_2.entry.js +317 -0
  296. package/dist/esm/ic-empty-state_2.entry.js.map +1 -0
  297. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  298. package/dist/esm/ic-footer-link.entry.js +1 -1
  299. package/dist/esm/ic-footer.entry.js +1 -1
  300. package/dist/esm/ic-hero.entry.js +1 -1
  301. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  302. package/dist/esm/ic-input-component-container_4.entry.js +1 -1
  303. package/dist/esm/ic-link.entry.js +2 -2
  304. package/dist/esm/ic-link.entry.js.map +1 -1
  305. package/dist/esm/ic-menu-group.entry.js +1 -1
  306. package/dist/esm/ic-menu-item.entry.js +2 -2
  307. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  308. package/dist/esm/ic-menu-with-multi.entry.js +176 -35
  309. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  310. package/dist/esm/ic-menu.entry.js +3 -3
  311. package/dist/esm/ic-menu.entry.js.map +1 -1
  312. package/dist/esm/ic-navigation-button.entry.js +1 -1
  313. package/dist/esm/ic-navigation-group.entry.js +1 -1
  314. package/dist/esm/ic-navigation-item.entry.js +1 -1
  315. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  316. package/dist/esm/ic-page-header.entry.js +1 -1
  317. package/dist/esm/ic-pagination_4.entry.js +10 -6
  318. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  319. package/dist/esm/ic-popover-menu.entry.js +3 -2
  320. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  321. package/dist/esm/ic-radio-group.entry.js +1 -1
  322. package/dist/esm/ic-radio-option.entry.js +1 -1
  323. package/dist/esm/ic-search-bar.entry.js +1 -1
  324. package/dist/esm/ic-select-with-multi.entry.js +1 -1
  325. package/dist/esm/ic-side-navigation.entry.js +1 -1
  326. package/dist/esm/ic-status-tag.entry.js +1 -1
  327. package/dist/esm/ic-step.entry.js +1 -1
  328. package/dist/esm/ic-stepper.entry.js +1 -1
  329. package/dist/esm/ic-switch.entry.js +1 -1
  330. package/dist/esm/ic-tab-group.entry.js +1 -1
  331. package/dist/esm/ic-tab-panel.entry.js +1 -1
  332. package/dist/esm/ic-tab.entry.js +1 -1
  333. package/dist/esm/ic-theme.entry.js +13 -15
  334. package/dist/esm/ic-theme.entry.js.map +1 -1
  335. package/dist/esm/ic-toast.entry.js +1 -1
  336. package/dist/esm/ic-toggle-button.entry.js +1 -1
  337. package/dist/esm/ic-top-navigation.entry.js +1 -1
  338. package/dist/esm/ic-typography.entry.js +2 -2
  339. package/dist/esm/ic-typography.entry.js.map +1 -1
  340. package/dist/esm/index-93509377.js +8 -8
  341. package/dist/esm/loader.js +1 -1
  342. package/dist/types/components/ic-data-table/ic-data-table.d.ts +79 -3
  343. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +9 -0
  344. package/dist/types/components/ic-data-table/story-data.d.ts +59 -0
  345. package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +36 -0
  346. package/dist/types/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.d.ts +1 -0
  347. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +10 -0
  348. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +24 -14
  349. package/dist/types/components.d.ts +207 -28
  350. package/dist/types/utils/types.d.ts +5 -5
  351. package/hydrate/index.js +1253 -909
  352. package/package.json +3 -3
  353. package/dist/cjs/helpers-6d736902.js.map +0 -1
  354. package/dist/cjs/helpers-f75cf7cf.js.map +0 -1
  355. package/dist/cjs/ic-empty-state.cjs.entry.js +0 -38
  356. package/dist/cjs/ic-empty-state.cjs.entry.js.map +0 -1
  357. package/dist/cjs/ic-pagination-bar.cjs.entry.js +0 -269
  358. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +0 -1
  359. package/dist/collection/components/ic-pagination/ic-pagination.types.js +0 -2
  360. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +0 -1
  361. package/dist/core/p-00c5639e.entry.js.map +0 -1
  362. package/dist/core/p-06c27edb.entry.js +0 -2
  363. package/dist/core/p-162f3e36.entry.js +0 -2
  364. package/dist/core/p-1c3bd46d.entry.js +0 -2
  365. package/dist/core/p-1c3bd46d.entry.js.map +0 -1
  366. package/dist/core/p-2c9d6334.entry.js +0 -2
  367. package/dist/core/p-2c9d6334.entry.js.map +0 -1
  368. package/dist/core/p-3e9a8977.entry.js +0 -2
  369. package/dist/core/p-41b682dc.entry.js.map +0 -1
  370. package/dist/core/p-730f058b.entry.js.map +0 -1
  371. package/dist/core/p-843bdaae.entry.js.map +0 -1
  372. package/dist/core/p-946625a3.entry.js.map +0 -1
  373. package/dist/core/p-9e3178e8.entry.js +0 -2
  374. package/dist/core/p-9e3178e8.entry.js.map +0 -1
  375. package/dist/core/p-a1556d97.entry.js +0 -2
  376. package/dist/core/p-a1556d97.entry.js.map +0 -1
  377. package/dist/core/p-c7590421.entry.js +0 -2
  378. package/dist/core/p-c7590421.entry.js.map +0 -1
  379. package/dist/core/p-c953edb9.entry.js +0 -2
  380. package/dist/core/p-c953edb9.entry.js.map +0 -1
  381. package/dist/core/p-cca482e2.entry.js.map +0 -1
  382. package/dist/core/p-cd799087.js +0 -2
  383. package/dist/core/p-cd799087.js.map +0 -1
  384. package/dist/core/p-d32d331b.entry.js +0 -2
  385. package/dist/core/p-d32d331b.entry.js.map +0 -1
  386. package/dist/core/p-dc5e1f8f.entry.js +0 -2
  387. package/dist/core/p-e16f73ba.entry.js.map +0 -1
  388. package/dist/core/p-e189f1d0.entry.js +0 -2
  389. package/dist/core/p-e189f1d0.entry.js.map +0 -1
  390. package/dist/core/p-e8151d13.entry.js +0 -2
  391. package/dist/core/p-ee765ad5.js +0 -2
  392. package/dist/core/p-ee765ad5.js.map +0 -1
  393. package/dist/core/p-f2147136.entry.js +0 -2
  394. package/dist/core/p-f2147136.entry.js.map +0 -1
  395. package/dist/core/p-ff3a01f3.entry.js +0 -2
  396. package/dist/core/p-ff3a01f3.entry.js.map +0 -1
  397. package/dist/esm/helpers-c34e4042.js.map +0 -1
  398. package/dist/esm/helpers-f328a7b6.js.map +0 -1
  399. package/dist/esm/ic-empty-state.entry.js.map +0 -1
  400. package/dist/esm/ic-pagination-bar.entry.js +0 -265
  401. package/dist/esm/ic-pagination-bar.entry.js.map +0 -1
  402. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +0 -6
  403. /package/dist/core/{p-a8c15117.entry.js.map → p-005e83b0.entry.js.map} +0 -0
  404. /package/dist/core/{p-c621d6b0.entry.js.map → p-05df3901.entry.js.map} +0 -0
  405. /package/dist/core/{p-a2dc10d8.entry.js.map → p-0646ef0c.entry.js.map} +0 -0
  406. /package/dist/core/{p-6dce8e88.entry.js.map → p-16c82b13.entry.js.map} +0 -0
  407. /package/dist/core/{p-849f43c3.entry.js.map → p-2170f59e.entry.js.map} +0 -0
  408. /package/dist/core/{p-d2d63a61.entry.js.map → p-4415c93f.entry.js.map} +0 -0
  409. /package/dist/core/{p-e1963c78.entry.js.map → p-4737844f.entry.js.map} +0 -0
  410. /package/dist/core/{p-9d8883d7.entry.js.map → p-53374a27.entry.js.map} +0 -0
  411. /package/dist/core/{p-1a91e842.entry.js.map → p-593f0318.entry.js.map} +0 -0
  412. /package/dist/core/{p-aabab75f.entry.js.map → p-5d5979fa.entry.js.map} +0 -0
  413. /package/dist/core/{p-db3a35fb.entry.js.map → p-66af5958.entry.js.map} +0 -0
  414. /package/dist/core/{p-9567c117.entry.js.map → p-72cea8fd.entry.js.map} +0 -0
  415. /package/dist/core/{p-957de939.entry.js.map → p-872c3555.entry.js.map} +0 -0
  416. /package/dist/core/{p-7fda2f94.entry.js.map → p-9729086f.entry.js.map} +0 -0
  417. /package/dist/core/{p-8b1f9648.entry.js.map → p-9cc19e91.entry.js.map} +0 -0
  418. /package/dist/core/{p-9528b29e.entry.js.map → p-9de20265.entry.js.map} +0 -0
  419. /package/dist/core/{p-00bd7919.entry.js.map → p-a0e42564.entry.js.map} +0 -0
  420. /package/dist/core/{p-a05755b1.entry.js.map → p-b08f4371.entry.js.map} +0 -0
  421. /package/dist/core/{p-0af27517.entry.js.map → p-b79c0631.entry.js.map} +0 -0
  422. /package/dist/core/{p-4bd13376.entry.js.map → p-b8247636.entry.js.map} +0 -0
  423. /package/dist/core/{p-fca46bd9.entry.js.map → p-badfdf2a.entry.js.map} +0 -0
  424. /package/dist/core/{p-99bf38e3.entry.js.map → p-be56fa17.entry.js.map} +0 -0
  425. /package/dist/core/{p-ff6f1e3a.entry.js.map → p-bebf535f.entry.js.map} +0 -0
  426. /package/dist/core/{p-494c3cbe.entry.js.map → p-c0d88af8.entry.js.map} +0 -0
  427. /package/dist/core/{p-4ad3012a.entry.js.map → p-c3af5dab.entry.js.map} +0 -0
  428. /package/dist/core/{p-4fd58768.entry.js.map → p-c3dabce4.entry.js.map} +0 -0
  429. /package/dist/core/{p-6eb58b0a.entry.js.map → p-c7e932b5.entry.js.map} +0 -0
  430. /package/dist/core/{p-c14a897d.entry.js.map → p-d09aaa5b.entry.js.map} +0 -0
  431. /package/dist/core/{p-8b820365.entry.js.map → p-d71e9cb5.entry.js.map} +0 -0
  432. /package/dist/core/{p-19c1e271.entry.js.map → p-f659e5eb.entry.js.map} +0 -0
  433. /package/dist/core/{p-f8f36680.entry.js.map → p-fc2551c0.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -7928,25 +7928,26 @@ const getThemeColorBrightness = () => {
7928
7928
  /**
7929
7929
  * Returns if dark or light foreground colors should be used for color contrast reasons
7930
7930
  * @returns "dark" or "light"
7931
+ * @param brightness - Optional custom brightness value. Defaults to `getThemeColorBrightness`
7931
7932
  */
7932
- const getThemeForegroundColor = () => getThemeColorBrightness() > DARK_MODE_THRESHOLD
7933
+ const getThemeForegroundColor = (brightness = getThemeColorBrightness()) => brightness > DARK_MODE_THRESHOLD
7933
7934
  ? IcThemeForegroundEnum$1.Dark
7934
7935
  : IcThemeForegroundEnum$1.Light;
7935
- const getSlot = (element, name) => {
7936
+ const getSlot$1 = (element, name) => {
7936
7937
  if (element && element.querySelector) {
7937
7938
  return element.querySelector(`[slot="${name}"]`);
7938
7939
  }
7939
7940
  return null;
7940
7941
  };
7941
- const slotHasContent = (element, name) => getSlot(element, name) !== null;
7942
- const getSlotContent = (element, name) => {
7943
- const slot = getSlot(element, name);
7942
+ const slotHasContent = (element, name) => getSlot$1(element, name) !== null;
7943
+ const getSlotContent$1 = (element, name) => {
7944
+ const slot = getSlot$1(element, name);
7944
7945
  if (slot) {
7945
- return getSlotElements(slot);
7946
+ return getSlotElements$1(slot);
7946
7947
  }
7947
7948
  return null;
7948
7949
  };
7949
- const getSlotElements = (slot) => {
7950
+ const getSlotElements$1 = (slot) => {
7950
7951
  const slotContent = slot.firstElementChild;
7951
7952
  if (slotContent !== null) {
7952
7953
  const elements = slotContent.assignedElements
@@ -7959,17 +7960,17 @@ const getSlotElements = (slot) => {
7959
7960
  return slot === null ? null : [slot];
7960
7961
  }
7961
7962
  };
7962
- const getNavItemParentDetails = (el) => {
7963
+ const getNavItemParentDetails = ({ parentElement, }) => {
7963
7964
  let navType = { navType: "", parent: null };
7964
- switch (getParentElementType(el)) {
7965
+ switch (parentElement.tagName) {
7965
7966
  case "IC-NAVIGATION-GROUP":
7966
- navType = getNavItemParentDetails(el.parentElement);
7967
+ navType = getNavItemParentDetails(parentElement);
7967
7968
  break;
7968
7969
  case "IC-TOP-NAVIGATION":
7969
- navType = { navType: "top", parent: getParentElement(el) };
7970
+ navType = { navType: "top", parent: parentElement };
7970
7971
  break;
7971
7972
  case "IC-SIDE-NAVIGATION":
7972
- navType = { navType: "side", parent: getParentElement(el) };
7973
+ navType = { navType: "side", parent: parentElement };
7973
7974
  break;
7974
7975
  case "IC-PAGE-HEADER":
7975
7976
  navType = { navType: "page-header", parent: null };
@@ -7985,10 +7986,8 @@ const DEVICE_SIZES = {
7985
7986
  XL: Number(getCssProperty$1("--ic-breakpoint-xl").replace("px", "")), // 1200
7986
7987
  UNDEFINED: 1200,
7987
7988
  };
7988
- const hasValidationStatus$1 = (status, disabled) => {
7989
- return status !== "" && !disabled;
7990
- };
7991
- const isSlotUsed = (element, slotName) => Array.from(element.children).some((child) => child.getAttribute("slot") === slotName);
7989
+ const hasValidationStatus$1 = (status, disabled) => !!status && !disabled;
7990
+ const isSlotUsed$1 = ({ children }, slotName) => Array.from(children).some((child) => child.getAttribute("slot") === slotName);
7992
7991
  // added as a common method to allow detection of gatsby hydration issue, where (camelCase) props are initially undefined & then update
7993
7992
  // with a value. Allows a callback function to be executed when this is the case
7994
7993
  const onComponentPropUndefinedChange = (oldValue, newValue, callback) => {
@@ -7997,100 +7996,61 @@ const onComponentPropUndefinedChange = (oldValue, newValue, callback) => {
7997
7996
  }
7998
7997
  };
7999
7998
  const onComponentRequiredPropUndefined$1 = (props, component) => {
8000
- for (let i = 0; i < props.length; i++) {
8001
- const { prop, propName } = props[i];
7999
+ props.forEach(({ prop, propName }) => {
8002
8000
  if (prop === null || prop === undefined) {
8003
8001
  console.error(`No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase$1(propName)}' (react) required`);
8004
8002
  }
8005
- }
8006
- };
8007
- const kebabToCamelCase$1 = (kebabCase) => {
8008
- kebabCase = kebabCase.toLowerCase();
8009
- const individualWords = kebabCase.split("-");
8010
- let camelCase = individualWords[0];
8011
- for (let i = 1; i < individualWords.length; i++) {
8012
- camelCase +=
8013
- individualWords[i].substring(0, 1).toUpperCase() +
8014
- individualWords[i].substring(1);
8015
- }
8016
- return camelCase;
8003
+ });
8017
8004
  };
8005
+ const kebabToCamelCase$1 = (kebabCase) => kebabCase
8006
+ .toLowerCase()
8007
+ .split("-")
8008
+ .map((word, index) => index === 0
8009
+ ? word
8010
+ : `${word.substring(0, 1).toUpperCase()}${word.substring(1)}`)
8011
+ .join("");
8018
8012
  const checkResizeObserver$1 = (callbackFn) => {
8019
8013
  if (typeof window !== "undefined" &&
8020
8014
  typeof window.ResizeObserver !== "undefined") {
8021
8015
  callbackFn();
8022
8016
  }
8023
8017
  };
8024
- const hex2dec = function (v) {
8025
- return parseInt(v, 16);
8026
- };
8018
+ const hex2dec = (v) => parseInt(v, 16);
8027
8019
  const hexToRgba = (hex) => {
8028
- let c;
8029
- if (hex.length === 4) {
8030
- c = hex.replace("#", "").split("");
8031
- return {
8032
- r: hex2dec(c[0] + c[0]),
8033
- g: hex2dec(c[1] + c[1]),
8034
- b: hex2dec(c[2] + c[2]),
8035
- a: 1,
8036
- };
8037
- }
8038
- else {
8039
- return {
8040
- r: hex2dec(hex.slice(1, 3)),
8041
- g: hex2dec(hex.slice(3, 5)),
8042
- b: hex2dec(hex.slice(5)),
8043
- a: 1,
8044
- };
8045
- }
8020
+ const hexChars = hex
8021
+ .replace("#", "")
8022
+ .split("")
8023
+ .map((char) => char.repeat(2));
8024
+ return {
8025
+ r: hex2dec(hex.length === 4 ? hexChars[0] : hex.slice(1, 3)),
8026
+ g: hex2dec(hex.length === 4 ? hexChars[1] : hex.slice(3, 5)),
8027
+ b: hex2dec(hex.length === 4 ? hexChars[2] : hex.slice(5)),
8028
+ a: 1,
8029
+ };
8046
8030
  };
8047
8031
  const rgbaStrToObj = (rgbaStr) => {
8048
- const fourthChar = rgbaStr.slice(3, 4);
8049
- let colorRGBA;
8050
- if (fourthChar.toLowerCase() === "a") {
8051
- colorRGBA = { r: null, g: null, b: null, a: null };
8052
- const rgba = rgbaStr
8053
- .substring(5, rgbaStr.length - 1)
8054
- .replace(/ /g, "")
8055
- .split(",");
8056
- colorRGBA.r = Number(rgba[0]);
8057
- colorRGBA.g = Number(rgba[1]);
8058
- colorRGBA.b = Number(rgba[2]);
8059
- colorRGBA.a = Number(rgba[3]);
8060
- }
8061
- else {
8062
- colorRGBA = { r: null, g: null, b: null, a: 1 };
8063
- const rgb = rgbaStr
8064
- .substring(4, rgbaStr.length - 1)
8065
- .replace(/ /g, "")
8066
- .split(",");
8067
- colorRGBA.r = Number(rgb[0]);
8068
- colorRGBA.g = Number(rgb[1]);
8069
- colorRGBA.b = Number(rgb[2]);
8070
- }
8071
- return colorRGBA;
8032
+ const isRGBA = rgbaStr.slice(3, 4).toLowerCase() === "a";
8033
+ const rgbValues = rgbaStr
8034
+ .substring(isRGBA ? 5 : 4, rgbaStr.length - 1)
8035
+ .replace(/ /g, "")
8036
+ .split(",")
8037
+ .map(Number);
8038
+ return {
8039
+ r: rgbValues[0],
8040
+ g: rgbValues[1],
8041
+ b: rgbValues[2],
8042
+ a: isRGBA ? rgbValues[3] : 1,
8043
+ };
8072
8044
  };
8073
- const elementOverflowsX = (element) => element.scrollWidth > element.clientWidth;
8074
- /**
8075
- *
8076
- * @param child - The child element
8077
- * @returns string
8078
- */
8079
- const getParentElementType = (child) => child.parentElement.tagName;
8080
- const getParentElement = (child) => child.parentElement;
8045
+ const elementOverflowsX = ({ scrollWidth, clientWidth, }) => scrollWidth > clientWidth;
8081
8046
  const hasClassificationBanner = () => !!document.querySelector("ic-classification-banner:not([inline='true'])");
8082
- const getForm$1 = (el) => el.closest("FORM");
8083
8047
  const addFormResetListener$1 = (el, callbackFn) => {
8084
- const form = getForm$1(el);
8085
- if (form !== null) {
8086
- form.addEventListener("reset", callbackFn);
8087
- }
8048
+ var _a;
8049
+ (_a = el.closest("FORM")) === null || _a === void 0 ? void 0 : _a.addEventListener("reset", callbackFn);
8088
8050
  };
8089
8051
  const removeFormResetListener$1 = (el, callbackFn) => {
8090
- const form = getForm$1(el);
8091
- if (form !== null) {
8092
- form.removeEventListener("reset", callbackFn);
8093
- }
8052
+ var _a;
8053
+ (_a = el.closest("FORM")) === null || _a === void 0 ? void 0 : _a.removeEventListener("reset", callbackFn);
8094
8054
  };
8095
8055
  const pxToRem = (px, base = 16) => `${(1 / base) * parseInt(px)}rem`;
8096
8056
  const removeDisabledFalse$1 = (disabled, element) => {
@@ -8099,15 +8059,12 @@ const removeDisabledFalse$1 = (disabled, element) => {
8099
8059
  }
8100
8060
  };
8101
8061
  const convertToRGBA = (color) => {
8102
- let colorRGBA = null;
8103
- const firstChar = color.slice(0, 1);
8104
- if (firstChar === "#") {
8105
- colorRGBA = hexToRgba(color);
8106
- }
8107
- else if (firstChar.toLowerCase() === "r") {
8108
- colorRGBA = rgbaStrToObj(color);
8109
- }
8110
- return colorRGBA;
8062
+ const firstChar = color === null || color === void 0 ? void 0 : color.slice(0, 1).toLowerCase();
8063
+ return firstChar === "#"
8064
+ ? hexToRgba(color)
8065
+ : firstChar === "r"
8066
+ ? rgbaStrToObj(color)
8067
+ : null;
8111
8068
  };
8112
8069
 
8113
8070
  var chevronIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -8212,7 +8169,7 @@ class Accordion {
8212
8169
  [`${size}`]: true,
8213
8170
  ["section-button"]: true,
8214
8171
  ["section-button-open"]: expanded && !disabled,
8215
- }, "aria-expanded": `${expanded}`, "aria-controls": "expanded-content-area", onClick: this.toggleExpanded }, isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { variant: "subtitle-large", class: "section-header" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (this.heading)), hAsync("span", { class: {
8172
+ }, "aria-expanded": `${expanded}`, "aria-controls": "expanded-content-area", onClick: this.toggleExpanded }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { variant: "subtitle-large", class: "section-header" }, isSlotUsed$1(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (this.heading)), hAsync("span", { class: {
8216
8173
  ["expand-chevron"]: true,
8217
8174
  ["content-expanded-chevron"]: expanded && !disabled,
8218
8175
  }, "aria-hidden": "true", innerHTML: chevronIcon })), hAsync("div", { class: {
@@ -8245,6 +8202,9 @@ class Accordion {
8245
8202
  const icAccordionGroupCss = "/*!@html*/html.sc-ic-accordion-group{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-accordion-group{margin:0}/*!@main*/main.sc-ic-accordion-group{display:block}/*!@h1*/h1.sc-ic-accordion-group{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-accordion-group{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-accordion-group{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-accordion-group{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-accordion-group{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-accordion-group,strong.sc-ic-accordion-group{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-accordion-group,kbd.sc-ic-accordion-group,samp.sc-ic-accordion-group{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-accordion-group{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-accordion-group,sup.sc-ic-accordion-group{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-accordion-group{bottom:-0.25em}/*!@sup*/sup.sc-ic-accordion-group{top:-0.5em}/*!@img*/img.sc-ic-accordion-group{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-accordion-group,input.sc-ic-accordion-group,optgroup.sc-ic-accordion-group,select.sc-ic-accordion-group,textarea.sc-ic-accordion-group{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-accordion-group,input.sc-ic-accordion-group{overflow:visible}/*!@button,\nselect*/button.sc-ic-accordion-group,select.sc-ic-accordion-group{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-accordion-group,[type=\"button\"].sc-ic-accordion-group,[type=\"reset\"].sc-ic-accordion-group,[type=\"submit\"].sc-ic-accordion-group{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-accordion-group::-moz-focus-inner,[type=\"button\"].sc-ic-accordion-group::-moz-focus-inner,[type=\"reset\"].sc-ic-accordion-group::-moz-focus-inner,[type=\"submit\"].sc-ic-accordion-group::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-accordion-group:-moz-focusring,[type=\"button\"].sc-ic-accordion-group:-moz-focusring,[type=\"reset\"].sc-ic-accordion-group:-moz-focusring,[type=\"submit\"].sc-ic-accordion-group:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-accordion-group{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-accordion-group{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-accordion-group{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-accordion-group{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-accordion-group,[type=\"radio\"].sc-ic-accordion-group{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-accordion-group::-webkit-inner-spin-button,[type=\"number\"].sc-ic-accordion-group::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-accordion-group{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-accordion-group::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-accordion-group::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-accordion-group{display:block}/*!@summary*/summary.sc-ic-accordion-group{display:list-item}/*!@template*/template.sc-ic-accordion-group{display:none}/*!@[hidden]*/[hidden].sc-ic-accordion-group{display:none}/*!@html,\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*/html.sc-ic-accordion-group,body.sc-ic-accordion-group,div.sc-ic-accordion-group,span.sc-ic-accordion-group,applet.sc-ic-accordion-group,object.sc-ic-accordion-group,iframe.sc-ic-accordion-group,h1.sc-ic-accordion-group,h2.sc-ic-accordion-group,h3.sc-ic-accordion-group,h4.sc-ic-accordion-group,h5.sc-ic-accordion-group,h6.sc-ic-accordion-group,p.sc-ic-accordion-group,blockquote.sc-ic-accordion-group,pre.sc-ic-accordion-group,a.sc-ic-accordion-group,abbr.sc-ic-accordion-group,acronym.sc-ic-accordion-group,address.sc-ic-accordion-group,big.sc-ic-accordion-group,cite.sc-ic-accordion-group,code.sc-ic-accordion-group,del.sc-ic-accordion-group,dfn.sc-ic-accordion-group,em.sc-ic-accordion-group,img.sc-ic-accordion-group,ins.sc-ic-accordion-group,kbd.sc-ic-accordion-group,q.sc-ic-accordion-group,s.sc-ic-accordion-group,samp.sc-ic-accordion-group,small.sc-ic-accordion-group,strike.sc-ic-accordion-group,strong.sc-ic-accordion-group,sub.sc-ic-accordion-group,sup.sc-ic-accordion-group,tt.sc-ic-accordion-group,var.sc-ic-accordion-group,b.sc-ic-accordion-group,u.sc-ic-accordion-group,i.sc-ic-accordion-group,center.sc-ic-accordion-group,dl.sc-ic-accordion-group,dt.sc-ic-accordion-group,dd.sc-ic-accordion-group,ol.sc-ic-accordion-group,ul.sc-ic-accordion-group,li.sc-ic-accordion-group,fieldset.sc-ic-accordion-group,form.sc-ic-accordion-group,label.sc-ic-accordion-group,legend.sc-ic-accordion-group,table.sc-ic-accordion-group,caption.sc-ic-accordion-group,tbody.sc-ic-accordion-group,tfoot.sc-ic-accordion-group,thead.sc-ic-accordion-group,tr.sc-ic-accordion-group,th.sc-ic-accordion-group,td.sc-ic-accordion-group,article.sc-ic-accordion-group,aside.sc-ic-accordion-group,canvas.sc-ic-accordion-group,details.sc-ic-accordion-group,embed.sc-ic-accordion-group,figure.sc-ic-accordion-group,figcaption.sc-ic-accordion-group,footer.sc-ic-accordion-group,header.sc-ic-accordion-group,hgroup.sc-ic-accordion-group,menu.sc-ic-accordion-group,nav.sc-ic-accordion-group,output.sc-ic-accordion-group,ruby.sc-ic-accordion-group,section.sc-ic-accordion-group,summary.sc-ic-accordion-group,time.sc-ic-accordion-group,mark.sc-ic-accordion-group,audio.sc-ic-accordion-group,video.sc-ic-accordion-group{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@.group-title-container*/.group-title-container.sc-ic-accordion-group{padding:var(--ic-space-xs);display:flex;justify-content:space-between;align-items:center}/*!@:host(.small) .group-title-container*/.small.sc-ic-accordion-group-h .group-title-container.sc-ic-accordion-group{padding:var(--ic-space-xxs) var(--ic-space-xs)}/*!@:host(.large) .group-title-container*/.large.sc-ic-accordion-group-h .group-title-container.sc-ic-accordion-group{padding:var(--ic-space-sm) var(--ic-space-xs)}/*!@:host(.light)*/.light.sc-ic-accordion-group-h{color:var(--ic-architectural-white)}/*!@:host(.accordion-group.dark) ::slotted(ic-accordion)*/.sc-ic-accordion-group-h.accordion-group.dark .sc-ic-accordion-group-s>ic-accordion{color:var(--ic-architectural-white)}";
8246
8203
 
8247
8204
  let accordionGroupIds = 0;
8205
+ /**
8206
+ * @slot group-title - Content is placed as the accordion group title.
8207
+ */
8248
8208
  class AccordionGroup {
8249
8209
  constructor(hostRef) {
8250
8210
  registerInstance(this, hostRef);
@@ -8334,7 +8294,7 @@ class AccordionGroup {
8334
8294
  [`${appearance}`]: true,
8335
8295
  [`${size}`]: true,
8336
8296
  ["accordion-group"]: true,
8337
- } }, hAsync("div", { class: "group-title-container" }, hAsync("ic-typography", { variant: "h4" }, hAsync("h3", null, groupTitle)), !singleExpansion && (hAsync("ic-button", { ref: (el) => (this.allButtonEl = el), appearance: appearance === "light" ? "light" : "default", onClick: this.handleExpanded, variant: "tertiary", "aria-label": `${this.accordionOpenBtnText()} ${accessibleButtonLabel}` }, this.accordionOpenBtnText()))), hAsync("slot", null)));
8297
+ } }, hAsync("div", { class: "group-title-container" }, hAsync("ic-typography", { variant: "h4" }, hAsync("h3", null, isSlotUsed$1(this.el, "group-title") ? (hAsync("slot", { name: "group-title" })) : (groupTitle))), !singleExpansion && (hAsync("ic-button", { ref: (el) => (this.allButtonEl = el), appearance: appearance === "light" ? "light" : "default", onClick: this.handleExpanded, variant: "tertiary", "aria-label": `${this.accordionOpenBtnText()} ${accessibleButtonLabel}` }, this.accordionOpenBtnText()))), hAsync("slot", null)));
8338
8298
  }
8339
8299
  get el() { return getElement(this); }
8340
8300
  static get style() { return icAccordionGroupCss; }
@@ -8421,7 +8381,7 @@ class Alert {
8421
8381
  } }, heading && (hAsync("ic-typography", { class: {
8422
8382
  ["alert-title"]: true,
8423
8383
  ["alert-title-above"]: titleAbove || this.alertTitleWrap,
8424
- }, variant: "subtitle-large" }, hAsync("p", null, heading))), hAsync("slot", { name: "message" }, hAsync("ic-typography", { variant: "body" }, message))), isSlotUsed(this.el, "action") && (hAsync("div", { class: "alert-action-container" }, hAsync("slot", { name: "action" })))), hAsync("div", { class: "dismiss-icon-container" }, dismissible && (hAsync("ic-button", { class: {
8384
+ }, variant: "subtitle-large" }, hAsync("p", null, heading))), hAsync("slot", { name: "message" }, hAsync("ic-typography", { variant: "body" }, message))), isSlotUsed$1(this.el, "action") && (hAsync("div", { class: "alert-action-container" }, hAsync("slot", { name: "action" })))), hAsync("div", { class: "dismiss-icon-container" }, dismissible && (hAsync("ic-button", { class: {
8425
8385
  ["svg-container"]: true,
8426
8386
  ["dismiss-icon"]: true,
8427
8387
  }, innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", appearance: IcThemeForegroundEnum$1.Dark, title: "dismiss" })))))));
@@ -8452,7 +8412,7 @@ var ArrowUpward = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" a
8452
8412
  </svg>
8453
8413
  `;
8454
8414
 
8455
- const icBackToTopCss = "/*!@html*/html.sc-ic-back-to-top{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-back-to-top{margin:0}/*!@main*/main.sc-ic-back-to-top{display:block}/*!@h1*/h1.sc-ic-back-to-top{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-back-to-top{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-back-to-top{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-back-to-top{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-back-to-top{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-back-to-top,strong.sc-ic-back-to-top{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-back-to-top,kbd.sc-ic-back-to-top,samp.sc-ic-back-to-top{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-back-to-top{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-back-to-top,sup.sc-ic-back-to-top{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-back-to-top{bottom:-0.25em}/*!@sup*/sup.sc-ic-back-to-top{top:-0.5em}/*!@img*/img.sc-ic-back-to-top{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-back-to-top,input.sc-ic-back-to-top,optgroup.sc-ic-back-to-top,select.sc-ic-back-to-top,textarea.sc-ic-back-to-top{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-back-to-top,input.sc-ic-back-to-top{overflow:visible}/*!@button,\nselect*/button.sc-ic-back-to-top,select.sc-ic-back-to-top{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-back-to-top,[type=\"button\"].sc-ic-back-to-top,[type=\"reset\"].sc-ic-back-to-top,[type=\"submit\"].sc-ic-back-to-top{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-back-to-top::-moz-focus-inner,[type=\"button\"].sc-ic-back-to-top::-moz-focus-inner,[type=\"reset\"].sc-ic-back-to-top::-moz-focus-inner,[type=\"submit\"].sc-ic-back-to-top::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-back-to-top:-moz-focusring,[type=\"button\"].sc-ic-back-to-top:-moz-focusring,[type=\"reset\"].sc-ic-back-to-top:-moz-focusring,[type=\"submit\"].sc-ic-back-to-top:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-back-to-top{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-back-to-top{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-back-to-top{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-back-to-top{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-back-to-top,[type=\"radio\"].sc-ic-back-to-top{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-back-to-top::-webkit-inner-spin-button,[type=\"number\"].sc-ic-back-to-top::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-back-to-top{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-back-to-top::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-back-to-top::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-back-to-top{display:block}/*!@summary*/summary.sc-ic-back-to-top{display:list-item}/*!@template*/template.sc-ic-back-to-top{display:none}/*!@[hidden]*/[hidden].sc-ic-back-to-top{display:none}/*!@html,\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*/html.sc-ic-back-to-top,body.sc-ic-back-to-top,div.sc-ic-back-to-top,span.sc-ic-back-to-top,applet.sc-ic-back-to-top,object.sc-ic-back-to-top,iframe.sc-ic-back-to-top,h1.sc-ic-back-to-top,h2.sc-ic-back-to-top,h3.sc-ic-back-to-top,h4.sc-ic-back-to-top,h5.sc-ic-back-to-top,h6.sc-ic-back-to-top,p.sc-ic-back-to-top,blockquote.sc-ic-back-to-top,pre.sc-ic-back-to-top,a.sc-ic-back-to-top,abbr.sc-ic-back-to-top,acronym.sc-ic-back-to-top,address.sc-ic-back-to-top,big.sc-ic-back-to-top,cite.sc-ic-back-to-top,code.sc-ic-back-to-top,del.sc-ic-back-to-top,dfn.sc-ic-back-to-top,em.sc-ic-back-to-top,img.sc-ic-back-to-top,ins.sc-ic-back-to-top,kbd.sc-ic-back-to-top,q.sc-ic-back-to-top,s.sc-ic-back-to-top,samp.sc-ic-back-to-top,small.sc-ic-back-to-top,strike.sc-ic-back-to-top,strong.sc-ic-back-to-top,sub.sc-ic-back-to-top,sup.sc-ic-back-to-top,tt.sc-ic-back-to-top,var.sc-ic-back-to-top,b.sc-ic-back-to-top,u.sc-ic-back-to-top,i.sc-ic-back-to-top,center.sc-ic-back-to-top,dl.sc-ic-back-to-top,dt.sc-ic-back-to-top,dd.sc-ic-back-to-top,ol.sc-ic-back-to-top,ul.sc-ic-back-to-top,li.sc-ic-back-to-top,fieldset.sc-ic-back-to-top,form.sc-ic-back-to-top,label.sc-ic-back-to-top,legend.sc-ic-back-to-top,table.sc-ic-back-to-top,caption.sc-ic-back-to-top,tbody.sc-ic-back-to-top,tfoot.sc-ic-back-to-top,thead.sc-ic-back-to-top,tr.sc-ic-back-to-top,th.sc-ic-back-to-top,td.sc-ic-back-to-top,article.sc-ic-back-to-top,aside.sc-ic-back-to-top,canvas.sc-ic-back-to-top,details.sc-ic-back-to-top,embed.sc-ic-back-to-top,figure.sc-ic-back-to-top,figcaption.sc-ic-back-to-top,footer.sc-ic-back-to-top,header.sc-ic-back-to-top,hgroup.sc-ic-back-to-top,menu.sc-ic-back-to-top,nav.sc-ic-back-to-top,output.sc-ic-back-to-top,ruby.sc-ic-back-to-top,section.sc-ic-back-to-top,summary.sc-ic-back-to-top,time.sc-ic-back-to-top,mark.sc-ic-back-to-top,audio.sc-ic-back-to-top,video.sc-ic-back-to-top{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-back-to-top-h{display:block;position:absolute;right:0}/*!@button*/button.sc-ic-back-to-top{position:fixed;right:var(--ic-space-md);bottom:var(--ic-space-md);height:2.5rem;align-items:center;padding:var(--ic-space-xs) var(--ic-space-md) var(--ic-space-xs)\n var(--ic-space-sm);margin:0;gap:var(--ic-space-xs);display:flex;background-color:var(--ic-architectural-white);border:var(--ic-border-width) solid var(--ic-action-default);outline-width:inherit;box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:5rem;text-decoration:none;visibility:hidden;opacity:0;transition:visibility 0s linear var(--ic-transition-duration-slow),\n opacity var(--ic-transition-duration-slow);cursor:pointer;z-index:var(--ic-z-index-back-to-top)}/*!@button:hover*/button.sc-ic-back-to-top:hover{text-decoration:none;background-color:var(--ic-action-default-bg-hover-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-hover)}/*!@button:active*/button.sc-ic-back-to-top:active{text-decoration:none;background-color:var(--ic-action-default-bg-active-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-active)}/*!@button:focus*/button.sc-ic-back-to-top:focus{box-shadow:var(--ic-border-focus)}/*!@.ic-back-to-top-link.show*/.ic-back-to-top-link.show.sc-ic-back-to-top{visibility:visible;opacity:1;transition:visibility 0s linear 0s,\n opacity var(--ic-transition-duration-slow),\n box-shadow var(--ic-easing-transition-fast)}/*!@.ic-back-to-top-link.by-footer*/.ic-back-to-top-link.by-footer.sc-ic-back-to-top{position:relative;right:var(--ic-space-md);bottom:3.5rem}/*!@.ic-back-to-top-link.offset-banner*/.ic-back-to-top-link.offset-banner.sc-ic-back-to-top{margin-bottom:var(--ic-space-lg)}/*!@.ic-back-to-top-icon*/.ic-back-to-top-icon.sc-ic-back-to-top{fill:var(--ic-action-default);padding-left:var(--ic-space-xxs);padding-top:var(--ic-space-xxxs)}/*!@.ic-back-to-top-icon > svg*/.ic-back-to-top-icon.sc-ic-back-to-top>svg.sc-ic-back-to-top{height:var(--ic-space-md);width:var(--ic-space-md);display:inline-block}/*!@.ic-back-to-top-link span*/.ic-back-to-top-link.sc-ic-back-to-top span.sc-ic-back-to-top{color:var(--ic-action-default)}/*!@.ic-back-to-top-link:hover .ic-back-to-top-icon*/.ic-back-to-top-link.sc-ic-back-to-top:hover .ic-back-to-top-icon.sc-ic-back-to-top{fill:var(--ic-action-default-hover)}/*!@.ic-back-to-top-link:hover span*/.ic-back-to-top-link.sc-ic-back-to-top:hover span.sc-ic-back-to-top{color:var(--ic-action-default-hover)}@media (forced-colors: active){/*!@.ic-back-to-top-icon*/.ic-back-to-top-icon.sc-ic-back-to-top{fill:currentcolor}}";
8415
+ const icBackToTopCss = "/*!@html*/html.sc-ic-back-to-top{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-back-to-top{margin:0}/*!@main*/main.sc-ic-back-to-top{display:block}/*!@h1*/h1.sc-ic-back-to-top{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-back-to-top{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-back-to-top{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-back-to-top{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-back-to-top{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-back-to-top,strong.sc-ic-back-to-top{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-back-to-top,kbd.sc-ic-back-to-top,samp.sc-ic-back-to-top{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-back-to-top{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-back-to-top,sup.sc-ic-back-to-top{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-back-to-top{bottom:-0.25em}/*!@sup*/sup.sc-ic-back-to-top{top:-0.5em}/*!@img*/img.sc-ic-back-to-top{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-back-to-top,input.sc-ic-back-to-top,optgroup.sc-ic-back-to-top,select.sc-ic-back-to-top,textarea.sc-ic-back-to-top{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-back-to-top,input.sc-ic-back-to-top{overflow:visible}/*!@button,\nselect*/button.sc-ic-back-to-top,select.sc-ic-back-to-top{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-back-to-top,[type=\"button\"].sc-ic-back-to-top,[type=\"reset\"].sc-ic-back-to-top,[type=\"submit\"].sc-ic-back-to-top{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-back-to-top::-moz-focus-inner,[type=\"button\"].sc-ic-back-to-top::-moz-focus-inner,[type=\"reset\"].sc-ic-back-to-top::-moz-focus-inner,[type=\"submit\"].sc-ic-back-to-top::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-back-to-top:-moz-focusring,[type=\"button\"].sc-ic-back-to-top:-moz-focusring,[type=\"reset\"].sc-ic-back-to-top:-moz-focusring,[type=\"submit\"].sc-ic-back-to-top:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-back-to-top{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-back-to-top{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-back-to-top{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-back-to-top{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-back-to-top,[type=\"radio\"].sc-ic-back-to-top{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-back-to-top::-webkit-inner-spin-button,[type=\"number\"].sc-ic-back-to-top::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-back-to-top{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-back-to-top::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-back-to-top::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-back-to-top{display:block}/*!@summary*/summary.sc-ic-back-to-top{display:list-item}/*!@template*/template.sc-ic-back-to-top{display:none}/*!@[hidden]*/[hidden].sc-ic-back-to-top{display:none}/*!@html,\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*/html.sc-ic-back-to-top,body.sc-ic-back-to-top,div.sc-ic-back-to-top,span.sc-ic-back-to-top,applet.sc-ic-back-to-top,object.sc-ic-back-to-top,iframe.sc-ic-back-to-top,h1.sc-ic-back-to-top,h2.sc-ic-back-to-top,h3.sc-ic-back-to-top,h4.sc-ic-back-to-top,h5.sc-ic-back-to-top,h6.sc-ic-back-to-top,p.sc-ic-back-to-top,blockquote.sc-ic-back-to-top,pre.sc-ic-back-to-top,a.sc-ic-back-to-top,abbr.sc-ic-back-to-top,acronym.sc-ic-back-to-top,address.sc-ic-back-to-top,big.sc-ic-back-to-top,cite.sc-ic-back-to-top,code.sc-ic-back-to-top,del.sc-ic-back-to-top,dfn.sc-ic-back-to-top,em.sc-ic-back-to-top,img.sc-ic-back-to-top,ins.sc-ic-back-to-top,kbd.sc-ic-back-to-top,q.sc-ic-back-to-top,s.sc-ic-back-to-top,samp.sc-ic-back-to-top,small.sc-ic-back-to-top,strike.sc-ic-back-to-top,strong.sc-ic-back-to-top,sub.sc-ic-back-to-top,sup.sc-ic-back-to-top,tt.sc-ic-back-to-top,var.sc-ic-back-to-top,b.sc-ic-back-to-top,u.sc-ic-back-to-top,i.sc-ic-back-to-top,center.sc-ic-back-to-top,dl.sc-ic-back-to-top,dt.sc-ic-back-to-top,dd.sc-ic-back-to-top,ol.sc-ic-back-to-top,ul.sc-ic-back-to-top,li.sc-ic-back-to-top,fieldset.sc-ic-back-to-top,form.sc-ic-back-to-top,label.sc-ic-back-to-top,legend.sc-ic-back-to-top,table.sc-ic-back-to-top,caption.sc-ic-back-to-top,tbody.sc-ic-back-to-top,tfoot.sc-ic-back-to-top,thead.sc-ic-back-to-top,tr.sc-ic-back-to-top,th.sc-ic-back-to-top,td.sc-ic-back-to-top,article.sc-ic-back-to-top,aside.sc-ic-back-to-top,canvas.sc-ic-back-to-top,details.sc-ic-back-to-top,embed.sc-ic-back-to-top,figure.sc-ic-back-to-top,figcaption.sc-ic-back-to-top,footer.sc-ic-back-to-top,header.sc-ic-back-to-top,hgroup.sc-ic-back-to-top,menu.sc-ic-back-to-top,nav.sc-ic-back-to-top,output.sc-ic-back-to-top,ruby.sc-ic-back-to-top,section.sc-ic-back-to-top,summary.sc-ic-back-to-top,time.sc-ic-back-to-top,mark.sc-ic-back-to-top,audio.sc-ic-back-to-top,video.sc-ic-back-to-top{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-back-to-top-h{display:block;position:absolute;right:0}/*!@.positioning*/.positioning.sc-ic-back-to-top{position:fixed;right:var(--ic-space-md);bottom:var(--ic-space-md);transition:visibility 0s linear var(--ic-transition-duration-slow),\n opacity var(--ic-transition-duration-slow);z-index:var(--ic-z-index-back-to-top)}/*!@button*/button.sc-ic-back-to-top{height:2.5rem;align-items:center;padding:var(--ic-space-xs) var(--ic-space-md) var(--ic-space-xs)\n var(--ic-space-sm);margin:0;gap:var(--ic-space-xs);display:flex;background-color:var(--ic-architectural-white);border:var(--ic-border-width) solid var(--ic-action-default);outline-width:inherit;box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:5rem;text-decoration:none;visibility:hidden;opacity:0;cursor:pointer}/*!@button:hover*/button.sc-ic-back-to-top:hover{text-decoration:none;background-color:var(--ic-action-default-bg-hover-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-hover)}/*!@button:active*/button.sc-ic-back-to-top:active{text-decoration:none;background-color:var(--ic-action-default-bg-active-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-active)}/*!@button:focus*/button.sc-ic-back-to-top:focus{box-shadow:var(--ic-border-focus)}/*!@.ic-back-to-top-link.show*/.ic-back-to-top-link.show.sc-ic-back-to-top{visibility:visible;opacity:1;transition:visibility 0s linear 0s,\n opacity var(--ic-transition-duration-slow),\n box-shadow var(--ic-easing-transition-fast)}/*!@.ic-back-to-top-link.by-footer*/.ic-back-to-top-link.by-footer.sc-ic-back-to-top{position:relative;right:var(--ic-space-md);bottom:3.5rem}/*!@.ic-back-to-top-link.offset-banner*/.ic-back-to-top-link.offset-banner.sc-ic-back-to-top{margin-bottom:var(--ic-space-lg)}/*!@.ic-back-to-top-icon*/.ic-back-to-top-icon.sc-ic-back-to-top{fill:var(--ic-action-default);padding-left:var(--ic-space-xxs);padding-top:var(--ic-space-xxxs)}/*!@.ic-back-to-top-icon > svg*/.ic-back-to-top-icon.sc-ic-back-to-top>svg.sc-ic-back-to-top{height:var(--ic-space-md);width:var(--ic-space-md);display:inline-block}/*!@.ic-back-to-top-link span*/.ic-back-to-top-link.sc-ic-back-to-top span.sc-ic-back-to-top{color:var(--ic-action-default)}/*!@.ic-back-to-top-link:hover .ic-back-to-top-icon*/.ic-back-to-top-link.sc-ic-back-to-top:hover .ic-back-to-top-icon.sc-ic-back-to-top{fill:var(--ic-action-default-hover)}/*!@.ic-back-to-top-link:hover span*/.ic-back-to-top-link.sc-ic-back-to-top:hover span.sc-ic-back-to-top{color:var(--ic-action-default-hover)}@media (forced-colors: active){/*!@.ic-back-to-top-icon*/.ic-back-to-top-icon.sc-ic-back-to-top{fill:currentcolor}}";
8456
8416
 
8457
8417
  const backToTopLabel = "Back to top";
8458
8418
  class BackToTop {
@@ -8531,10 +8491,21 @@ class BackToTop {
8531
8491
  const banners = document.querySelectorAll("ic-classification-banner:not([inline='true'])");
8532
8492
  this.bannerOffset = banners.length > 0;
8533
8493
  };
8494
+ this.buildButton = () => {
8495
+ const { bannerOffset, targetElVisible, footerVisible, variant } = this;
8496
+ return (hAsync("button", { class: {
8497
+ ["ic-back-to-top-link"]: true,
8498
+ ["offset-banner"]: bannerOffset,
8499
+ ["show"]: !targetElVisible,
8500
+ ["by-footer"]: footerVisible,
8501
+ ["positioning"]: variant !== "icon",
8502
+ }, "aria-label": backToTopLabel, onClick: this.handleClick }, hAsync("span", { class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), this.variant !== "icon" && (hAsync("ic-typography", { variant: "subtitle-small" }, hAsync("span", null, backToTopLabel)))));
8503
+ };
8534
8504
  this.bannerOffset = false;
8535
8505
  this.footerVisible = false;
8536
8506
  this.targetElVisible = true;
8537
8507
  this.target = undefined;
8508
+ this.variant = "default";
8538
8509
  }
8539
8510
  watchPropHandler(newValue, oldValue) {
8540
8511
  //added for gatsby rehydration issue where prop is initially undefined but then changes to actual value
@@ -8561,13 +8532,8 @@ class BackToTop {
8561
8532
  onComponentRequiredPropUndefined$1([{ prop: this.target, propName: "target" }], "Back to Top");
8562
8533
  }
8563
8534
  render() {
8564
- const { bannerOffset, targetElVisible, footerVisible } = this;
8565
- return (hAsync("button", { class: {
8566
- ["ic-back-to-top-link"]: true,
8567
- ["offset-banner"]: bannerOffset,
8568
- ["show"]: !targetElVisible,
8569
- ["by-footer"]: footerVisible,
8570
- }, "aria-label": backToTopLabel, onClick: this.handleClick }, hAsync("span", { class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), hAsync("ic-typography", { variant: "subtitle-small" }, hAsync("span", null, backToTopLabel))));
8535
+ const { variant, buildButton } = this;
8536
+ return variant === "icon" ? (hAsync("ic-tooltip", { label: backToTopLabel, placement: "top", class: "positioning" }, buildButton())) : (buildButton());
8571
8537
  }
8572
8538
  static get delegatesFocus() { return true; }
8573
8539
  get el() { return getElement(this); }
@@ -8580,6 +8546,7 @@ class BackToTop {
8580
8546
  "$tagName$": "ic-back-to-top",
8581
8547
  "$members$": {
8582
8548
  "target": [1],
8549
+ "variant": [1],
8583
8550
  "bannerOffset": [32],
8584
8551
  "footerVisible": [32],
8585
8552
  "targetElVisible": [32]
@@ -8600,102 +8567,59 @@ class Badge {
8600
8567
  registerInstance(this, hostRef);
8601
8568
  this.ariaLabel = null;
8602
8569
  this.setBadgeColour = () => {
8603
- if (this.customColor !== null && convertToRGBA(this.customColor) !== null) {
8604
- const colorRGBA = convertToRGBA(this.customColor);
8570
+ const colorRGBA = convertToRGBA(this.customColor);
8571
+ if (colorRGBA) {
8605
8572
  this.customColorRGBA = colorRGBA;
8606
- this.el.style.backgroundColor = `rgba(${colorRGBA.r.toString()}, ${colorRGBA.g.toString()}, ${colorRGBA.b.toString()}, ${colorRGBA.a.toString()})`;
8573
+ const { r, g, b, a } = colorRGBA;
8574
+ this.el.style.backgroundColor = `rgba(${r}, ${g}, ${b}, ${a})`;
8607
8575
  }
8608
8576
  };
8609
- this.getBadgeForeground = () => {
8610
- let red;
8611
- let green;
8612
- let blue;
8577
+ this.getBadgeRGB = () => {
8613
8578
  switch (this.variant) {
8614
8579
  case "custom":
8615
- red = this.customColorRGBA.r;
8616
- green = this.customColorRGBA.g;
8617
- blue = this.customColorRGBA.b;
8618
- break;
8580
+ return this.customColorRGBA;
8619
8581
  case "error":
8620
- red = parseInt(getCssProperty$1("--ic-status-error-r"));
8621
- green = parseInt(getCssProperty$1("--ic-status-error-g"));
8622
- blue = parseInt(getCssProperty$1("--ic-status-error-b"));
8623
- break;
8624
8582
  case "success":
8625
- red = parseInt(getCssProperty$1("--ic-status-success-r"));
8626
- green = parseInt(getCssProperty$1("--ic-status-success-g"));
8627
- blue = parseInt(getCssProperty$1("--ic-status-success-b"));
8628
- break;
8629
8583
  case "warning":
8630
- red = parseInt(getCssProperty$1("--ic-status-warning-r"));
8631
- green = parseInt(getCssProperty$1("--ic-status-warning-g"));
8632
- blue = parseInt(getCssProperty$1("--ic-status-warning-b"));
8633
- break;
8634
8584
  case "info": {
8635
- const info = hexToRgba(getCssProperty$1("--ic-status-info"));
8636
- red = info.r;
8637
- green = info.g;
8638
- blue = info.b;
8639
- break;
8640
- }
8641
- case "neutral": {
8642
- const neutral = hexToRgba(getCssProperty$1("--ic-architectural-500"));
8643
- red = neutral.r;
8644
- green = neutral.g;
8645
- blue = neutral.b;
8646
- break;
8647
- }
8648
- case "light": {
8649
- const light = hexToRgba(getCssProperty$1("--ic-architectural-40"));
8650
- red = light.r;
8651
- green = light.g;
8652
- blue = light.b;
8653
- break;
8585
+ return rgbaStrToObj(getCssProperty$1(`--ic-status-${this.variant}`));
8654
8586
  }
8587
+ case "neutral":
8588
+ case "light":
8589
+ return hexToRgba(getCssProperty$1(`--ic-architectural-${this.variant === "neutral" ? 500 : 40}`));
8655
8590
  }
8656
- const brightness = (red * 299 + green * 587 + blue * 114) / 1000;
8657
- this.foregroundColour =
8658
- brightness > 133.3505
8659
- ? IcThemeForegroundEnum$1.Dark
8660
- : IcThemeForegroundEnum$1.Light;
8661
8591
  };
8662
- this.getTextLabel = () => {
8663
- let label;
8664
- if (this.textLabel !== null) {
8665
- if (this.maxNumber !== null) {
8666
- label =
8667
- Number(this.textLabel) > this.maxNumber
8668
- ? `${this.maxNumber}+`
8669
- : this.textLabel;
8670
- }
8671
- else {
8672
- label = this.textLabel;
8673
- }
8674
- }
8675
- return label;
8592
+ this.getBadgeForeground = () => {
8593
+ const { r, g, b } = this.getBadgeRGB();
8594
+ this.foregroundColour = getThemeForegroundColor((r * 299 + g * 587 + b * 114) / 1000);
8676
8595
  };
8596
+ this.getTextLabel = () => this.maxNumber && Number(this.textLabel) > this.maxNumber
8597
+ ? `${this.maxNumber}+`
8598
+ : this.textLabel;
8677
8599
  // Set aria-label on badge and / or parent element
8678
8600
  // Aria-describedby seems to not work, probably due to shadow DOM
8679
8601
  this.setAccessibleLabel = () => {
8680
- const parentElType = getParentElementType(this.el);
8681
- const parentElAriaLabel = getParentElement(this.el).ariaLabel;
8602
+ const parentEl = this.el.parentElement;
8682
8603
  const defaultAriaLabel = this.isAccessibleLabelDefined()
8683
8604
  ? this.accessibleLabel
8684
8605
  : this.textLabel || "with badge being displayed";
8685
- if (getParentElement(this.el) !== null) {
8686
- if (parentElType !== "IC-CARD" &&
8687
- (parentElType !== "IC-TAB" ||
8688
- (parentElType === "IC-TAB" && parentElAriaLabel))) {
8689
- getParentElement(this.el).ariaLabel = `${parentElAriaLabel ? `${parentElAriaLabel} ,` : ""} ${defaultAriaLabel}`;
8606
+ if (parentEl) {
8607
+ const { tagName } = parentEl;
8608
+ if (tagName !== "IC-CARD" &&
8609
+ (tagName !== "IC-TAB" || (tagName === "IC-TAB" && this.parentAriaLabel))) {
8610
+ const ariaLabelPrefix = this.parentAriaLabel
8611
+ ? `${this.parentAriaLabel} ,`
8612
+ : "";
8613
+ parentEl.ariaLabel = this.visible
8614
+ ? `${ariaLabelPrefix} ${defaultAriaLabel}`
8615
+ : undefined;
8690
8616
  }
8691
8617
  else {
8692
8618
  this.ariaLabel = `, ${defaultAriaLabel}`;
8693
8619
  }
8694
8620
  }
8695
8621
  };
8696
- this.isAccessibleLabelDefined = () => {
8697
- return isPropDefined(this.accessibleLabel) && this.accessibleLabel !== null;
8698
- };
8622
+ this.isAccessibleLabelDefined = () => isPropDefined(this.accessibleLabel) && this.accessibleLabel !== null;
8699
8623
  this.accessibleLabel = undefined;
8700
8624
  this.customColor = null;
8701
8625
  this.maxNumber = undefined;
@@ -8706,9 +8630,25 @@ class Badge {
8706
8630
  this.variant = "neutral";
8707
8631
  this.visible = true;
8708
8632
  }
8633
+ accessibleLabelHandler() {
8634
+ this.setAccessibleLabel();
8635
+ }
8636
+ customColorHandler() {
8637
+ this.variant === "custom" && this.setBadgeColour();
8638
+ }
8639
+ variantHandler() {
8640
+ this.getBadgeForeground();
8641
+ }
8642
+ visibleHandler() {
8643
+ this.setAccessibleLabel();
8644
+ }
8709
8645
  componentWillLoad() {
8646
+ var _a;
8710
8647
  this.variant === "custom" && this.setBadgeColour();
8711
8648
  this.getBadgeForeground();
8649
+ const ariaLabel = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.ariaLabel;
8650
+ if (ariaLabel)
8651
+ this.parentAriaLabel = ariaLabel;
8712
8652
  this.setAccessibleLabel();
8713
8653
  }
8714
8654
  componentDidLoad() {
@@ -8728,19 +8668,24 @@ class Badge {
8728
8668
  this.visible = false;
8729
8669
  }
8730
8670
  render() {
8731
- const { position, size, type, variant, foregroundColour, visible } = this;
8671
+ const { ariaLabel, el, foregroundColour, getTextLabel, position, size, textLabel, type, variant, visible, } = this;
8732
8672
  return (hAsync(Host, { class: {
8733
8673
  [`${position}`]: true,
8734
8674
  [`${size}`]: true,
8735
8675
  [`${variant}`]: true,
8736
8676
  [`${type}`]: true,
8737
8677
  [`foreground-${foregroundColour}`]: foregroundColour !== null,
8738
- ["show"]: visible,
8739
- ["hide"]: !visible,
8740
- }, id: this.el.id || null, "aria-label": this.ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { name: "badge-icon" }), type === "text" && (hAsync("ic-typography", { variant: size === "small" ? "badge-small" : "badge" }, this.getTextLabel()))));
8678
+ [`${visible ? "show" : "hide"}`]: true,
8679
+ }, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { name: "badge-icon" }), type === "text" && textLabel && (hAsync("ic-typography", { variant: size === "small" ? "badge-small" : "badge" }, getTextLabel()))));
8741
8680
  }
8742
8681
  static get delegatesFocus() { return true; }
8743
8682
  get el() { return getElement(this); }
8683
+ static get watchers() { return {
8684
+ "accessibleLabel": ["accessibleLabelHandler"],
8685
+ "customColor": ["customColorHandler"],
8686
+ "variant": ["variantHandler"],
8687
+ "visible": ["visibleHandler"]
8688
+ }; }
8744
8689
  static get style() { return icBadgeCss; }
8745
8690
  static get cmpMeta() { return {
8746
8691
  "$flags$": 25,
@@ -8783,9 +8728,9 @@ class Breadcrumb {
8783
8728
  return (hAsync("span", { class: {
8784
8729
  "current-page-container": current,
8785
8730
  [this.appearance]: true,
8786
- } }, isSlotUsed(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle));
8731
+ } }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle));
8787
8732
  }
8788
- return (hAsync("ic-link", { appearance: this.appearance, href: href, class: "breadcrumb-link", "aria-describedby": this.showBackIcon && describedById && describedById }, this.showBackIcon && (hAsync("div", { class: "back-icon", innerHTML: backIcon })), isSlotUsed(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle));
8733
+ return (hAsync("ic-link", { appearance: this.appearance, href: href, class: "breadcrumb-link", "aria-describedby": this.showBackIcon && describedById && describedById }, this.showBackIcon && (hAsync("div", { class: "back-icon", innerHTML: backIcon })), isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle));
8789
8734
  };
8790
8735
  this.setSlottedCurrentPageClass = () => {
8791
8736
  const icLink = this.el.querySelector("ic-link");
@@ -8933,6 +8878,8 @@ class BreadcrumbGroup {
8933
8878
  this.removeVisuallyHiddenClass(breadcrumb);
8934
8879
  });
8935
8880
  this.expandedBreadcrumbs = true;
8881
+ // Set focus to first unhidden breadcrumb
8882
+ this.collapsedBreadcrumbs[0].setFocus();
8936
8883
  };
8937
8884
  this.transitionendHandler = (event) => {
8938
8885
  if (event.propertyName === "opacity") {
@@ -9326,15 +9273,15 @@ class Button {
9326
9273
  ["dark"]: this.appearance === IcThemeForegroundEnum$1.Dark,
9327
9274
  ["light"]: this.appearance === IcThemeForegroundEnum$1.Light,
9328
9275
  ["full-width"]: this.fullWidth,
9329
- ["with-badge"]: isSlotUsed(this.el, "badge"),
9276
+ ["with-badge"]: isSlotUsed$1(this.el, "badge"),
9330
9277
  ["dropdown-no-icon"]: this.dropdown &&
9331
- !isSlotUsed(this.el, "icon") &&
9332
- !isSlotUsed(this.el, "left-icon"),
9333
- ["top-icon"]: isSlotUsed(this.el, "top-icon"),
9278
+ !isSlotUsed$1(this.el, "icon") &&
9279
+ !isSlotUsed$1(this.el, "left-icon"),
9280
+ ["top-icon"]: isSlotUsed$1(this.el, "top-icon"),
9334
9281
  ["white-background"]: this.variant === "secondary" &&
9335
9282
  !this.transparentBackground &&
9336
9283
  this.appearance !== "light",
9337
- }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (hAsync("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && (!!title || !!ariaLabel) }, this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync(ButtonContent, null)))), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" }), !this.hasTooltip &&
9284
+ }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (hAsync("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && (!!title || !!ariaLabel) }, this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync(ButtonContent, null)))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { name: "badge" }), !this.hasTooltip &&
9338
9285
  (this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync(ButtonContent, null))), this.describedByContent && (hAsync("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
9339
9286
  }
9340
9287
  static get delegatesFocus() { return true; }
@@ -9452,7 +9399,7 @@ class Card {
9452
9399
  removeDisabledFalse$1(this.disabled, this.el);
9453
9400
  }
9454
9401
  componentDidLoad() {
9455
- !isSlotUsed(this.el, "heading") &&
9402
+ !isSlotUsed$1(this.el, "heading") &&
9456
9403
  onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Card");
9457
9404
  this.updateTheme();
9458
9405
  }
@@ -9505,12 +9452,12 @@ class Card {
9505
9452
  ["fullwidth"]: fullWidth,
9506
9453
  ["focussed"]: isFocussed,
9507
9454
  ["dark"]: this.appearance === IcThemeForegroundEnum$1.Dark,
9508
- }, tabindex: clickable && !parentIsAnchorTag ? 0 : null, "aria-disabled": disabled ? "true" : null, disabled: disabled ? true : null }, attrs), isSlotUsed(this.el, "image-top") && (hAsync("div", { class: "image-top" }, hAsync("slot", { name: "image-top" }))), hAsync("div", { class: "card-header" }, isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync("div", { class: "card-title" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4" }, hAsync("p", null, heading)))), isSlotUsed(this.el, "interaction-button") && (hAsync("div", { class: "interaction-button" }, hAsync("slot", { name: "interaction-button" })))), (subheading || isSlotUsed(this.el, "subheading")) && (hAsync("div", { class: "subheading" }, hAsync("slot", { name: "subheading" }, hAsync("ic-typography", { variant: "subtitle-small" }, subheading)))), isSlotUsed(this.el, "adornment") && (hAsync("div", { class: "adornment" }, hAsync("slot", { name: "adornment" }))), isSlotUsed(this.el, "image-mid") && (hAsync("div", { class: "image-mid" }, hAsync("slot", { name: "image-mid" }))), (message || isSlotUsed(this.el, "message")) && (hAsync("div", { class: {
9455
+ }, tabindex: clickable && !parentIsAnchorTag ? 0 : null, "aria-disabled": disabled ? "true" : null, disabled: disabled ? true : null }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { class: "image-top" }, hAsync("slot", { name: "image-top" }))), hAsync("div", { class: "card-header" }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync("div", { class: "card-title" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4" }, hAsync("p", null, heading)))), isSlotUsed$1(this.el, "interaction-button") && (hAsync("div", { class: "interaction-button" }, hAsync("slot", { name: "interaction-button" })))), (subheading || isSlotUsed$1(this.el, "subheading")) && (hAsync("div", { class: "subheading" }, hAsync("slot", { name: "subheading" }, hAsync("ic-typography", { variant: "subtitle-small" }, subheading)))), isSlotUsed$1(this.el, "adornment") && (hAsync("div", { class: "adornment" }, hAsync("slot", { name: "adornment" }))), isSlotUsed$1(this.el, "image-mid") && (hAsync("div", { class: "image-mid" }, hAsync("slot", { name: "image-mid" }))), (message || isSlotUsed$1(this.el, "message")) && (hAsync("div", { class: {
9509
9456
  ["card-message"]: true,
9510
- } }, message && hAsync("ic-typography", { variant: "body" }, message), isSlotUsed(this.el, "message") && hAsync("slot", { name: "message" }))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (hAsync("div", { class: "interaction-area" }, hAsync("div", { class: "interaction-controls" }, hAsync("slot", { name: "interaction-controls" })), expandable && (hAsync("ic-tooltip", { id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, hAsync("button", { class: {
9457
+ } }, message && hAsync("ic-typography", { variant: "body" }, message), isSlotUsed$1(this.el, "message") && hAsync("slot", { name: "message" }))), (isSlotUsed$1(this.el, "interaction-controls") || expandable) && (hAsync("div", { class: "interaction-area" }, hAsync("div", { class: "interaction-controls" }, hAsync("slot", { name: "interaction-controls" })), expandable && (hAsync("ic-tooltip", { id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, hAsync("button", { class: {
9511
9458
  ["toggle-button"]: true,
9512
9459
  [`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
9513
- }, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { class: "expanded-content", id: "expanded-content-area" }, hAsync("slot", { name: "expanded-content" }))), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" })));
9460
+ }, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed$1(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { class: "expanded-content", id: "expanded-content-area" }, hAsync("slot", { name: "expanded-content" }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { name: "badge" })));
9514
9461
  }
9515
9462
  get el() { return getElement(this); }
9516
9463
  static get style() { return icCardCss; }
@@ -9554,7 +9501,6 @@ class Checkbox {
9554
9501
  registerInstance(this, hostRef);
9555
9502
  this.checkboxChecked = createEvent(this, "checkboxChecked", 7);
9556
9503
  this.icCheck = createEvent(this, "icCheck", 7);
9557
- this.IC_TEXT_FIELD = "ic-text-field";
9558
9504
  this.handleClick = () => {
9559
9505
  this.checked = !this.checked;
9560
9506
  this.icCheck.emit();
@@ -9585,6 +9531,12 @@ class Checkbox {
9585
9531
  componentWillLoad() {
9586
9532
  removeDisabledFalse$1(this.disabled, this.el);
9587
9533
  addFormResetListener$1(this.el, this.handleFormReset);
9534
+ const checkboxGroup = this.el.parentElement;
9535
+ if (checkboxGroup) {
9536
+ if (!this.name)
9537
+ this.name = checkboxGroup.name;
9538
+ this.groupLabel = checkboxGroup.label;
9539
+ }
9588
9540
  }
9589
9541
  componentDidLoad() {
9590
9542
  onComponentRequiredPropUndefined$1([
@@ -9594,21 +9546,18 @@ class Checkbox {
9594
9546
  }
9595
9547
  componentDidRender() {
9596
9548
  if (this.additionalFieldDisplay === "static") {
9597
- const textfield = this.el.querySelector(this.IC_TEXT_FIELD);
9549
+ const textfield = this.el.querySelector("ic-text-field");
9598
9550
  if (!this.checked) {
9599
- textfield && textfield.setAttribute("disabled", "");
9551
+ textfield === null || textfield === void 0 ? void 0 : textfield.setAttribute("disabled", "");
9600
9552
  }
9601
9553
  else {
9602
- textfield && textfield.removeAttribute("disabled");
9554
+ textfield === null || textfield === void 0 ? void 0 : textfield.removeAttribute("disabled");
9603
9555
  }
9604
9556
  }
9605
9557
  else if (this.additionalFieldContainer) {
9606
- if (!this.checked) {
9607
- this.additionalFieldContainer.style.display = "none";
9608
- }
9609
- else {
9610
- this.additionalFieldContainer.style.display = "flex";
9611
- }
9558
+ this.additionalFieldContainer.style.display = !this.checked
9559
+ ? "none"
9560
+ : "flex";
9612
9561
  }
9613
9562
  }
9614
9563
  disconnectedCallback() {
@@ -9618,28 +9567,28 @@ class Checkbox {
9618
9567
  * Sets focus on the checkbox.
9619
9568
  */
9620
9569
  async setFocus() {
9621
- const checkboxEl = this.el.shadowRoot.querySelector(".checkbox");
9622
- if (checkboxEl) {
9623
- checkboxEl.focus();
9624
- }
9570
+ var _a;
9571
+ (_a = this.el.shadowRoot.querySelector(".checkbox")) === null || _a === void 0 ? void 0 : _a.focus();
9625
9572
  }
9626
9573
  render() {
9627
- let id = `ic-checkbox-${isPropDefined(this.label) ? this.label : this.value}-${this.groupLabel}`;
9628
- id = id.replace(/ /g, "-");
9629
- const parentElementSize = this.el.parentElement.size;
9630
- this.checked
9631
- ? renderHiddenInput$1(true, this.el, this.name, this.checked && this.value, this.disabled)
9632
- : removeHiddenInput(this.el);
9574
+ const { additionalFieldDisplay, checked, disabled, dynamicText, el, form, formaction, formenctype, formmethod, formnovalidate, formtarget, indeterminate, groupLabel, label, name, size, small, value, } = this;
9575
+ const id = `ic-checkbox-${isPropDefined(label) || value}-${groupLabel}`.replace(/ /g, "-");
9576
+ const parentElementSize = el.parentElement
9577
+ .size;
9578
+ checked
9579
+ ? renderHiddenInput$1(true, el, name, checked && value, disabled)
9580
+ : removeHiddenInput(el);
9633
9581
  return (hAsync(Host, { class: {
9634
- ["disabled"]: this.disabled,
9635
- ["small"]: this.small,
9636
- [`${this.size || parentElementSize}`]: true,
9637
- } }, hAsync("div", { class: "container" }, this.checked && !this.indeterminate && (hAsync("svg", { class: "checkmark", width: "1.5rem", height: "1.5rem", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, hAsync("title", null, "checkmark icon"), hAsync("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" }))), this.checked && this.indeterminate && (hAsync("div", { class: "indeterminate-symbol" })), hAsync("input", { role: "checkbox", class: {
9638
- ["checkbox"]: true,
9639
- ["checked"]: this.checked,
9640
- ["indeterminate"]: this.indeterminate,
9641
- }, type: "checkbox", name: this.name, id: id, value: this.value, disabled: this.disabled ? true : null, checked: this.checked, indeterminate: this.indeterminate, onClick: this.handleClick, form: this.form, formaction: this.formaction, formenctype: this.formenctype, formmethod: this.formmethod, formnovalidate: this.formnovalidate, formtarget: this.formtarget }), hAsync("ic-typography", { class: "checkbox-label", variant: "body" }, hAsync("label", { htmlFor: id }, this.label))), isSlotUsed(this.el, "additional-field") && (hAsync("div", { class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, this.additionalFieldDisplay === "dynamic" && (hAsync("div", { class: "branch-corner" })), hAsync("div", null, this.additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { variant: "caption" }, hAsync("p", { class: "dynamic-text", "aria-live": "polite" }, this.dynamicText))), hAsync("div", { class: {
9642
- "additional-field-wrapper": this.additionalFieldDisplay === "static",
9582
+ disabled,
9583
+ small,
9584
+ [`${size || parentElementSize}`]: true,
9585
+ } }, hAsync("div", { class: "container" }, checked &&
9586
+ (!indeterminate ? (hAsync("svg", { class: "checkmark", width: "1.5rem", height: "1.5rem", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, hAsync("title", null, "checkmark icon"), hAsync("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" }))) : (hAsync("div", { class: "indeterminate-symbol" }))), hAsync("input", { role: "checkbox", class: {
9587
+ checkbox: true,
9588
+ checked,
9589
+ indeterminate,
9590
+ }, type: "checkbox", name: name, id: id, value: value, disabled: disabled ? true : null, checked: checked, indeterminate: indeterminate, onClick: this.handleClick, form: form, formaction: formaction, formenctype: formenctype, formmethod: formmethod, formnovalidate: formnovalidate, formtarget: formtarget }), hAsync("ic-typography", { class: "checkbox-label", variant: "body" }, hAsync("label", { htmlFor: id }, label))), isSlotUsed$1(el, "additional-field") && (hAsync("div", { class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, additionalFieldDisplay === "dynamic" && (hAsync("div", { class: "branch-corner" })), hAsync("div", null, additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { variant: "caption" }, hAsync("p", { class: "dynamic-text", "aria-live": "polite" }, dynamicText))), hAsync("div", { class: {
9591
+ "additional-field-wrapper": additionalFieldDisplay === "static",
9643
9592
  } }, hAsync("slot", { name: "additional-field" })))))));
9644
9593
  }
9645
9594
  static get delegatesFocus() { return true; }
@@ -9693,6 +9642,16 @@ class CheckboxGroup {
9693
9642
  this.validationStatus = "";
9694
9643
  this.validationText = "";
9695
9644
  }
9645
+ labelNameHandler(newValue, oldValue, propName) {
9646
+ Array.from(this.el.querySelectorAll("ic-checkbox")).forEach((checkbox) => {
9647
+ if (propName === "label")
9648
+ checkbox.groupLabel = newValue;
9649
+ else if (checkbox.name === oldValue) {
9650
+ // If the checkbox name has been set by the parent, then override it
9651
+ checkbox.name = newValue;
9652
+ }
9653
+ });
9654
+ }
9696
9655
  handleChange(ev) {
9697
9656
  //don't pass on the event if it has come from slotted text field
9698
9657
  //otherwise any icChange handler bound to the checkbox group will also run
@@ -9704,20 +9663,15 @@ class CheckboxGroup {
9704
9663
  removeDisabledFalse$1(this.disabled, this.el);
9705
9664
  }
9706
9665
  componentDidLoad() {
9707
- Array.from(this.el.querySelectorAll("ic-checkbox")).forEach((checkbox) => {
9708
- if (!checkbox.name)
9709
- checkbox.name = this.name;
9710
- checkbox.groupLabel = this.label;
9711
- });
9712
9666
  onComponentRequiredPropUndefined$1([
9713
9667
  { prop: this.label, propName: "label" },
9714
9668
  { prop: this.name, propName: "name" },
9715
9669
  ], "Checkbox Group");
9716
9670
  }
9717
- selectHandler(ev) {
9718
- const checkedOptions = Array.from(this.el.querySelectorAll("ic-checkbox")).filter((checkbox) => checkbox.checked && !checkbox.disabled);
9671
+ selectHandler({ target }) {
9672
+ const checkedOptions = Array.from(this.el.querySelectorAll("ic-checkbox")).filter(({ checked, disabled }) => checked && !disabled);
9719
9673
  this.icChange.emit({
9720
- value: checkedOptions.map((opt) => opt.value),
9674
+ value: checkedOptions.map(({ value }) => value),
9721
9675
  checkedOptions: checkedOptions.map((opt) => {
9722
9676
  var _a;
9723
9677
  return ({
@@ -9725,19 +9679,21 @@ class CheckboxGroup {
9725
9679
  textFieldValue: (_a = opt.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.value,
9726
9680
  });
9727
9681
  }),
9728
- selectedOption: ev.target,
9682
+ selectedOption: target,
9729
9683
  });
9730
9684
  }
9731
9685
  render() {
9732
- const describedBy = getInputDescribedByText$1(this.name, this.helperText !== "", this.validationStatus !== "");
9733
- const hadValidationStatus = hasValidationStatus$1(this.validationStatus, this.disabled);
9734
- return (hAsync(Host, { class: { ["small"]: this.small, [`${this.size}`]: true } }, (this.validationStatus === "error" ||
9735
- this.required ||
9736
- this.hideLabel) && (hAsync("span", { id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, this.label, " ", this.validationStatus === "error" ? "invalid data " : null, " ", this.required ? "required" : null)), hAsync("fieldset", { id: this.name, "aria-labelledby": `${this.validationStatus === "error" || this.required || this.hideLabel
9686
+ const { disabled, helperText, hideLabel, label, name, required, size, small, validationStatus, validationText, } = this;
9687
+ const describedBy = getInputDescribedByText$1(name, helperText !== "", validationStatus !== "");
9688
+ return (hAsync(Host, { class: { ["small"]: small, [`${size}`]: true } }, (validationStatus === "error" || required || hideLabel) && (hAsync("span", { id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { id: name, "aria-labelledby": `${validationStatus === "error" || required || hideLabel
9737
9689
  ? "screenReaderOnlyText"
9738
- : ""} ${describedBy}`.trim(), disabled: this.disabled }, !this.hideLabel && (hAsync("legend", null, hAsync("ic-input-label", { class: { [`${this.validationStatus}`]: true }, label: this.label, helperText: this.helperText, required: this.required, disabled: this.disabled, for: this.name }))), hAsync("div", { class: "checkboxes-container" }, hAsync("slot", null))), hadValidationStatus && (hAsync("ic-input-validation", { for: this.name, ariaLiveMode: "polite", status: this.validationStatus, message: this.validationText }))));
9690
+ : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", null, hAsync("ic-input-label", { class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, for: name }))), hAsync("div", { class: "checkboxes-container" }, hAsync("slot", null))), hasValidationStatus$1(validationStatus, disabled) && (hAsync("ic-input-validation", { for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
9739
9691
  }
9740
9692
  get el() { return getElement(this); }
9693
+ static get watchers() { return {
9694
+ "label": ["labelNameHandler"],
9695
+ "name": ["labelNameHandler"]
9696
+ }; }
9741
9697
  static get style() { return icCheckboxGroupCss; }
9742
9698
  static get cmpMeta() { return {
9743
9699
  "$flags$": 9,
@@ -9765,7 +9721,7 @@ var dismissIcon = `<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org
9765
9721
  </svg>
9766
9722
  `;
9767
9723
 
9768
- const icChipCss = "/*!@html*/html.sc-ic-chip{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-chip{margin:0}/*!@main*/main.sc-ic-chip{display:block}/*!@h1*/h1.sc-ic-chip{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-chip{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-chip{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-chip{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-chip{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-chip,strong.sc-ic-chip{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-chip,kbd.sc-ic-chip,samp.sc-ic-chip{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-chip{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-chip,sup.sc-ic-chip{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-chip{bottom:-0.25em}/*!@sup*/sup.sc-ic-chip{top:-0.5em}/*!@img*/img.sc-ic-chip{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-chip,input.sc-ic-chip,optgroup.sc-ic-chip,select.sc-ic-chip,textarea.sc-ic-chip{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-chip,input.sc-ic-chip{overflow:visible}/*!@button,\nselect*/button.sc-ic-chip,select.sc-ic-chip{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-chip,[type=\"button\"].sc-ic-chip,[type=\"reset\"].sc-ic-chip,[type=\"submit\"].sc-ic-chip{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-chip::-moz-focus-inner,[type=\"button\"].sc-ic-chip::-moz-focus-inner,[type=\"reset\"].sc-ic-chip::-moz-focus-inner,[type=\"submit\"].sc-ic-chip::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-chip:-moz-focusring,[type=\"button\"].sc-ic-chip:-moz-focusring,[type=\"reset\"].sc-ic-chip:-moz-focusring,[type=\"submit\"].sc-ic-chip:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-chip{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-chip{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-chip{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-chip{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-chip,[type=\"radio\"].sc-ic-chip{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-chip::-webkit-inner-spin-button,[type=\"number\"].sc-ic-chip::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-chip{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-chip::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-chip::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-chip{display:block}/*!@summary*/summary.sc-ic-chip{display:list-item}/*!@template*/template.sc-ic-chip{display:none}/*!@[hidden]*/[hidden].sc-ic-chip{display:none}/*!@html,\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*/html.sc-ic-chip,body.sc-ic-chip,div.sc-ic-chip,span.sc-ic-chip,applet.sc-ic-chip,object.sc-ic-chip,iframe.sc-ic-chip,h1.sc-ic-chip,h2.sc-ic-chip,h3.sc-ic-chip,h4.sc-ic-chip,h5.sc-ic-chip,h6.sc-ic-chip,p.sc-ic-chip,blockquote.sc-ic-chip,pre.sc-ic-chip,a.sc-ic-chip,abbr.sc-ic-chip,acronym.sc-ic-chip,address.sc-ic-chip,big.sc-ic-chip,cite.sc-ic-chip,code.sc-ic-chip,del.sc-ic-chip,dfn.sc-ic-chip,em.sc-ic-chip,img.sc-ic-chip,ins.sc-ic-chip,kbd.sc-ic-chip,q.sc-ic-chip,s.sc-ic-chip,samp.sc-ic-chip,small.sc-ic-chip,strike.sc-ic-chip,strong.sc-ic-chip,sub.sc-ic-chip,sup.sc-ic-chip,tt.sc-ic-chip,var.sc-ic-chip,b.sc-ic-chip,u.sc-ic-chip,i.sc-ic-chip,center.sc-ic-chip,dl.sc-ic-chip,dt.sc-ic-chip,dd.sc-ic-chip,ol.sc-ic-chip,ul.sc-ic-chip,li.sc-ic-chip,fieldset.sc-ic-chip,form.sc-ic-chip,label.sc-ic-chip,legend.sc-ic-chip,table.sc-ic-chip,caption.sc-ic-chip,tbody.sc-ic-chip,tfoot.sc-ic-chip,thead.sc-ic-chip,tr.sc-ic-chip,th.sc-ic-chip,td.sc-ic-chip,article.sc-ic-chip,aside.sc-ic-chip,canvas.sc-ic-chip,details.sc-ic-chip,embed.sc-ic-chip,figure.sc-ic-chip,figcaption.sc-ic-chip,footer.sc-ic-chip,header.sc-ic-chip,hgroup.sc-ic-chip,menu.sc-ic-chip,nav.sc-ic-chip,output.sc-ic-chip,ruby.sc-ic-chip,section.sc-ic-chip,summary.sc-ic-chip,time.sc-ic-chip,mark.sc-ic-chip,audio.sc-ic-chip,video.sc-ic-chip{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-chip-h{display:inline-block}/*!@.chip*/.chip.sc-ic-chip{display:flex;padding:var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative}/*!@.chip.small*/.chip.small.sc-ic-chip{padding:var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}/*!@.chip.large*/.chip.large.sc-ic-chip{padding:var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}/*!@.label*/.label.sc-ic-chip{padding:0 var(--ic-space-xs)}/*!@.chip.hovered:not(:focus-within)*/.chip.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-architectural-300)}/*!@.chip:focus-within*/.chip.sc-ic-chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}/*!@.chip.outline.hovered:not(:focus-within),\n.chip.outlined.hovered:not(:focus-within)*/.chip.outline.hovered.sc-ic-chip:not(:focus-within),.chip.outlined.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-action-dark-bg-hover)}/*!@ic-tooltip:focus-within*/ic-tooltip.sc-ic-chip:focus-within{z-index:1}/*!@.filled*/.filled.sc-ic-chip{background-color:var(--chip-custom-color, var(--ic-architectural-200));color:var(--chip-custom-foreground-color, black);border:none}/*!@.filled.disabled*/.filled.disabled.sc-ic-chip{background-color:var(--ic-architectural-100)}/*!@.outline,\n.outlined*/.outline.sc-ic-chip,.outlined.sc-ic-chip{color:var(--ic-architectural-900);border:var(--ic-border-width) solid\n var(--chip-custom-color, var(--ic-architectural-900));padding:calc(var(--ic-space-xxs) - var(--ic-space-1px))}/*!@.outline.small,\n.outlined.small*/.outline.small.sc-ic-chip,.outlined.small.sc-ic-chip{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}/*!@.outline.large,\n.outlined.large*/.outline.large.sc-ic-chip,.outlined.large.sc-ic-chip{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}/*!@.outline.disabled,\n.outlined.disabled*/.outline.disabled.sc-ic-chip,.outlined.disabled.sc-ic-chip{border:var(--ic-border-disabled);background:none}/*!@.chip.disabled ic-typography*/.chip.disabled.sc-ic-chip ic-typography.sc-ic-chip{color:var(--ic-architectural-200)}/*!@.dismiss-icon*/.dismiss-icon.sc-ic-chip{border:none;border-radius:50%;padding:0;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}/*!@.dismiss-icon:focus*/.dismiss-icon.sc-ic-chip:focus{outline:var(--ic-hc-focus-outline)}/*!@.dismiss-icon[disabled]*/.dismiss-icon[disabled].sc-ic-chip{pointer-events:none;color:var(--ic-architectural-200)}/*!@.icon*/.icon.sc-ic-chip{padding:var(--ic-space-xxxs);box-sizing:border-box}/*!@.icon,\nic-tooltip*/.icon.sc-ic-chip,ic-tooltip.sc-ic-chip{width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@.chip.disabled path,\n.chip.disabled ::slotted(svg)*/.chip.disabled.sc-ic-chip path.sc-ic-chip,.chip.disabled.sc-ic-chip-s>svg,.chip.disabled .sc-ic-chip-s>svg{fill:var(--ic-architectural-200)}/*!@.chip.white-background*/.chip.white-background.sc-ic-chip{background-color:var(--ic-architectural-white)}/*!@.chip.white-background.hovered:not(:focus-within)*/.chip.white-background.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-action-dark-bg-hover-no-alpha) !important}@media (forced-colors: active){/*!@.chip*/.chip.sc-ic-chip{border:var(--ic-hc-border)}/*!@.filled.small*/.filled.small.sc-ic-chip{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}/*!@.filled*/.filled.sc-ic-chip{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}/*!@.filled.large*/.filled.large.sc-ic-chip{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}/*!@.chip.disabled*/.chip.disabled.sc-ic-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}/*!@.chip.disabled ic-typography*/.chip.disabled.sc-ic-chip ic-typography.sc-ic-chip{color:GrayText}/*!@.chip.disabled path,\n .chip.disabled ::slotted(svg)*/.chip.disabled.sc-ic-chip path.sc-ic-chip,.chip.disabled.sc-ic-chip-s>svg,.chip.disabled .sc-ic-chip-s>svg{fill:GrayText}/*!@.chip:focus-within*/.chip.sc-ic-chip:focus-within{outline:none;border-color:Highlight}}";
9724
+ const icChipCss = "/*!@html*/html.sc-ic-chip{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-chip{margin:0}/*!@main*/main.sc-ic-chip{display:block}/*!@h1*/h1.sc-ic-chip{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-chip{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-chip{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-chip{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-chip{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-chip,strong.sc-ic-chip{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-chip,kbd.sc-ic-chip,samp.sc-ic-chip{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-chip{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-chip,sup.sc-ic-chip{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-chip{bottom:-0.25em}/*!@sup*/sup.sc-ic-chip{top:-0.5em}/*!@img*/img.sc-ic-chip{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-chip,input.sc-ic-chip,optgroup.sc-ic-chip,select.sc-ic-chip,textarea.sc-ic-chip{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-chip,input.sc-ic-chip{overflow:visible}/*!@button,\nselect*/button.sc-ic-chip,select.sc-ic-chip{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-chip,[type=\"button\"].sc-ic-chip,[type=\"reset\"].sc-ic-chip,[type=\"submit\"].sc-ic-chip{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-chip::-moz-focus-inner,[type=\"button\"].sc-ic-chip::-moz-focus-inner,[type=\"reset\"].sc-ic-chip::-moz-focus-inner,[type=\"submit\"].sc-ic-chip::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-chip:-moz-focusring,[type=\"button\"].sc-ic-chip:-moz-focusring,[type=\"reset\"].sc-ic-chip:-moz-focusring,[type=\"submit\"].sc-ic-chip:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-chip{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-chip{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-chip{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-chip{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-chip,[type=\"radio\"].sc-ic-chip{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-chip::-webkit-inner-spin-button,[type=\"number\"].sc-ic-chip::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-chip{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-chip::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-chip::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-chip{display:block}/*!@summary*/summary.sc-ic-chip{display:list-item}/*!@template*/template.sc-ic-chip{display:none}/*!@[hidden]*/[hidden].sc-ic-chip{display:none}/*!@html,\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*/html.sc-ic-chip,body.sc-ic-chip,div.sc-ic-chip,span.sc-ic-chip,applet.sc-ic-chip,object.sc-ic-chip,iframe.sc-ic-chip,h1.sc-ic-chip,h2.sc-ic-chip,h3.sc-ic-chip,h4.sc-ic-chip,h5.sc-ic-chip,h6.sc-ic-chip,p.sc-ic-chip,blockquote.sc-ic-chip,pre.sc-ic-chip,a.sc-ic-chip,abbr.sc-ic-chip,acronym.sc-ic-chip,address.sc-ic-chip,big.sc-ic-chip,cite.sc-ic-chip,code.sc-ic-chip,del.sc-ic-chip,dfn.sc-ic-chip,em.sc-ic-chip,img.sc-ic-chip,ins.sc-ic-chip,kbd.sc-ic-chip,q.sc-ic-chip,s.sc-ic-chip,samp.sc-ic-chip,small.sc-ic-chip,strike.sc-ic-chip,strong.sc-ic-chip,sub.sc-ic-chip,sup.sc-ic-chip,tt.sc-ic-chip,var.sc-ic-chip,b.sc-ic-chip,u.sc-ic-chip,i.sc-ic-chip,center.sc-ic-chip,dl.sc-ic-chip,dt.sc-ic-chip,dd.sc-ic-chip,ol.sc-ic-chip,ul.sc-ic-chip,li.sc-ic-chip,fieldset.sc-ic-chip,form.sc-ic-chip,label.sc-ic-chip,legend.sc-ic-chip,table.sc-ic-chip,caption.sc-ic-chip,tbody.sc-ic-chip,tfoot.sc-ic-chip,thead.sc-ic-chip,tr.sc-ic-chip,th.sc-ic-chip,td.sc-ic-chip,article.sc-ic-chip,aside.sc-ic-chip,canvas.sc-ic-chip,details.sc-ic-chip,embed.sc-ic-chip,figure.sc-ic-chip,figcaption.sc-ic-chip,footer.sc-ic-chip,header.sc-ic-chip,hgroup.sc-ic-chip,menu.sc-ic-chip,nav.sc-ic-chip,output.sc-ic-chip,ruby.sc-ic-chip,section.sc-ic-chip,summary.sc-ic-chip,time.sc-ic-chip,mark.sc-ic-chip,audio.sc-ic-chip,video.sc-ic-chip{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-chip-h{display:inline-block}/*!@.chip*/.chip.sc-ic-chip{display:flex;padding:var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative}/*!@.chip.small*/.chip.small.sc-ic-chip{padding:var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}/*!@.chip.large*/.chip.large.sc-ic-chip{padding:var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}/*!@.label*/.label.sc-ic-chip{padding:0 var(--ic-space-xs)}/*!@.chip.hovered:not(:focus-within)*/.chip.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-architectural-300)}/*!@.chip:focus-within*/.chip.sc-ic-chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}/*!@.chip.outline.hovered:not(:focus-within),\n.chip.outlined.hovered:not(:focus-within)*/.chip.outline.hovered.sc-ic-chip:not(:focus-within),.chip.outlined.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-action-dark-bg-hover)}/*!@ic-tooltip:focus-within*/ic-tooltip.sc-ic-chip:focus-within{z-index:1}/*!@.filled*/.filled.sc-ic-chip{background-color:var(--chip-custom-color, var(--ic-architectural-200));color:var(--chip-custom-foreground-color, black);border:none}/*!@.filled.disabled*/.filled.disabled.sc-ic-chip{background-color:var(--ic-architectural-100)}/*!@.outline,\n.outlined*/.outline.sc-ic-chip,.outlined.sc-ic-chip{color:var(--ic-architectural-900);border:var(--ic-border-width) solid\n var(--chip-custom-color, var(--ic-architectural-900));padding:calc(var(--ic-space-xxs) - var(--ic-space-1px))}/*!@.outline.small,\n.outlined.small*/.outline.small.sc-ic-chip,.outlined.small.sc-ic-chip{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}/*!@.outline.large,\n.outlined.large*/.outline.large.sc-ic-chip,.outlined.large.sc-ic-chip{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}/*!@.outline.disabled,\n.outlined.disabled*/.outline.disabled.sc-ic-chip,.outlined.disabled.sc-ic-chip{border:var(--ic-border-disabled);background:none}/*!@.chip.disabled ic-typography*/.chip.disabled.sc-ic-chip ic-typography.sc-ic-chip{color:var(--ic-architectural-500)}/*!@.filled.disabled ic-typography*/.filled.disabled.sc-ic-chip ic-typography.sc-ic-chip{color:var(--ic-architectural-600)}/*!@.dismiss-icon*/.dismiss-icon.sc-ic-chip{border:none;border-radius:50%;padding:0;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}/*!@.dismiss-icon:focus*/.dismiss-icon.sc-ic-chip:focus{outline:var(--ic-hc-focus-outline)}/*!@.dismiss-icon[disabled]*/.dismiss-icon[disabled].sc-ic-chip{pointer-events:none;color:var(--ic-architectural-200)}/*!@.icon*/.icon.sc-ic-chip{padding:var(--ic-space-xxxs);box-sizing:border-box}/*!@.icon,\nic-tooltip*/.icon.sc-ic-chip,ic-tooltip.sc-ic-chip{width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@.chip.disabled path,\n.chip.disabled ::slotted(svg)*/.chip.disabled.sc-ic-chip path.sc-ic-chip,.chip.disabled.sc-ic-chip-s>svg,.chip.disabled .sc-ic-chip-s>svg{fill:var(--ic-architectural-200)}/*!@.chip.white-background*/.chip.white-background.sc-ic-chip{background-color:var(--ic-architectural-white)}/*!@.chip.white-background.hovered:not(:focus-within)*/.chip.white-background.hovered.sc-ic-chip:not(:focus-within){background-color:var(--ic-action-dark-bg-hover-no-alpha) !important}@media (forced-colors: active){/*!@.chip*/.chip.sc-ic-chip{border:var(--ic-hc-border)}/*!@.filled.small*/.filled.small.sc-ic-chip{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}/*!@.filled*/.filled.sc-ic-chip{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}/*!@.filled.large*/.filled.large.sc-ic-chip{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}/*!@.chip.disabled*/.chip.disabled.sc-ic-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}/*!@.chip.disabled ic-typography*/.chip.disabled.sc-ic-chip ic-typography.sc-ic-chip{color:GrayText}/*!@.chip.disabled path,\n .chip.disabled ::slotted(svg)*/.chip.disabled.sc-ic-chip path.sc-ic-chip,.chip.disabled.sc-ic-chip-s>svg,.chip.disabled .sc-ic-chip-s>svg{fill:GrayText}/*!@.chip:focus-within*/.chip.sc-ic-chip:focus-within{outline:none;border-color:Highlight}}";
9769
9725
 
9770
9726
  /**
9771
9727
  * @slot icon - Content will be rendered at the start of the chip.
@@ -9781,23 +9737,20 @@ class Chip {
9781
9737
  this.icDismiss.emit();
9782
9738
  };
9783
9739
  this.mouseEnterHandler = () => {
9784
- this.isHovered = true;
9740
+ this.hovered = true;
9785
9741
  };
9786
9742
  this.mouseLeaveHandler = () => {
9787
- this.isHovered = false;
9743
+ this.hovered = false;
9788
9744
  };
9789
9745
  this.setChipColour = () => {
9790
- if (convertToRGBA(this.customColor) !== null) {
9791
- const colorRGBA = convertToRGBA(this.customColor);
9792
- const rgbaValue = `rgba(${colorRGBA.r.toString()}, ${colorRGBA.g.toString()}, ${colorRGBA.b.toString()}, ${colorRGBA.a.toString()})`;
9793
- const brightness = (colorRGBA.r * 299 + colorRGBA.g * 587 + colorRGBA.b * 114) / 1000;
9794
- const foregroundColour = brightness > 133.3505
9795
- ? "var(--ic-architectural-black)"
9796
- : "var(--ic-architectural-white)";
9797
- this.el.setAttribute("style", `--chip-custom-color: ${rgbaValue}; --chip-custom-foreground-color: ${foregroundColour};`);
9746
+ const colorRGBA = convertToRGBA(this.customColor);
9747
+ if (colorRGBA) {
9748
+ const { r, g, b, a } = colorRGBA;
9749
+ const foregroundColour = (r * 299 + g * 587 + b * 114) / 1000 > 133.3505 ? "black" : "white";
9750
+ this.el.setAttribute("style", `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a}); --chip-custom-foreground-color: var(--ic-architectural-${foregroundColour})`);
9798
9751
  }
9799
9752
  };
9800
- this.isHovered = false;
9753
+ this.hovered = false;
9801
9754
  this.visible = true;
9802
9755
  this.appearance = undefined;
9803
9756
  this.customColor = null;
@@ -9809,13 +9762,13 @@ class Chip {
9809
9762
  this.variant = "filled";
9810
9763
  }
9811
9764
  customColorHandler() {
9812
- if (!this.dismissible && this.customColor !== null) {
9765
+ if (!this.dismissible) {
9813
9766
  this.setChipColour();
9814
9767
  }
9815
9768
  }
9816
9769
  componentWillLoad() {
9817
9770
  removeDisabledFalse$1(this.disabled, this.el);
9818
- if (!this.dismissible && this.customColor !== null) {
9771
+ if (!this.dismissible) {
9819
9772
  this.setChipColour();
9820
9773
  }
9821
9774
  if (this.appearance === "outline") {
@@ -9823,10 +9776,6 @@ class Chip {
9823
9776
  }
9824
9777
  }
9825
9778
  componentDidLoad() {
9826
- var _a;
9827
- this.dismissible &&
9828
- ((_a = this.el.shadowRoot
9829
- .querySelector("span.ic-tooltip-label")) === null || _a === void 0 ? void 0 : _a.setAttribute("aria-hidden", "true"));
9830
9779
  onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
9831
9780
  }
9832
9781
  handleClick() {
@@ -9836,24 +9785,21 @@ class Chip {
9836
9785
  * Sets focus on the chip.
9837
9786
  */
9838
9787
  async setFocus() {
9839
- if (this.el.shadowRoot.querySelector("button")) {
9840
- this.el.shadowRoot.querySelector("button").focus();
9841
- }
9788
+ var _a;
9789
+ (_a = this.el.shadowRoot.querySelector("button")) === null || _a === void 0 ? void 0 : _a.focus();
9842
9790
  }
9843
9791
  render() {
9844
- const { label, appearance, variant, size, dismissible, visible, disabled, isHovered, } = this;
9792
+ const { label, appearance, variant, size, dismissible, visible, disabled, hovered, } = this;
9845
9793
  return (visible && (hAsync("div", { class: {
9846
- ["chip"]: true,
9794
+ chip: true,
9847
9795
  [`${appearance}`]: appearance !== undefined,
9848
9796
  [`${variant}`]: true,
9849
9797
  [`${size}`]: true,
9850
- ["disabled"]: disabled,
9851
- ["dismissible"]: dismissible,
9852
- ["hovered"]: isHovered,
9853
- ["white-background"]: this.variant === "outlined" && !this.transparentBackground,
9854
- } }, isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { variant: "label", "apply-vertical-margins": false, class: "label" }, hAsync("span", null, label)), dismissible && (hAsync("ic-tooltip", { label: "Dismiss", target: "dismiss-icon", class: { ["tooltip-disabled"]: disabled } }, hAsync("button", { id: "dismiss-icon", class: {
9855
- ["dismiss-icon"]: true,
9856
- }, "aria-label": `Dismiss ${label} chip`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" }))));
9798
+ disabled,
9799
+ dismissible,
9800
+ hovered,
9801
+ "white-background": this.variant === "outlined" && !this.transparentBackground,
9802
+ } }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { variant: "label", "apply-vertical-margins": false, class: "label" }, hAsync("span", null, label)), dismissible && (hAsync("ic-tooltip", { label: "Dismiss", target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { id: "dismiss-icon", class: "dismiss-icon", "aria-label": `Dismiss ${label} chip`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { name: "badge" }))));
9857
9803
  }
9858
9804
  static get delegatesFocus() { return true; }
9859
9805
  get el() { return getElement(this); }
@@ -9873,7 +9819,7 @@ class Chip {
9873
9819
  "size": [1],
9874
9820
  "transparentBackground": [4, "transparent-background"],
9875
9821
  "variant": [1],
9876
- "isHovered": [32],
9822
+ "hovered": [32],
9877
9823
  "visible": [32],
9878
9824
  "setFocus": [64]
9879
9825
  },
@@ -9985,7 +9931,7 @@ class DataRow {
9985
9931
  };
9986
9932
  this.renderCellContent = (cell) => {
9987
9933
  const isValue = cell === "value";
9988
- return (hAsync("div", { class: cell }, isSlotUsed(this.el, cell) ? (hAsync("slot", { name: cell })) : (hAsync("ic-typography", { variant: isValue
9934
+ return (hAsync("div", { class: cell }, isSlotUsed$1(this.el, cell) ? (hAsync("slot", { name: cell })) : (hAsync("ic-typography", { variant: isValue
9989
9935
  ? "body"
9990
9936
  : this.entitySize === "xs"
9991
9937
  ? "label"
@@ -10031,7 +9977,7 @@ class DataRow {
10031
9977
  ["small"]: small || size === "small",
10032
9978
  ["breakpoint-medium"]: entitySize === "m",
10033
9979
  ["breakpoint-xs"]: entitySize === "xs",
10034
- }, role: "listitem" }, hAsync("div", { class: "data" }, hAsync("div", { class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { class: "end-component" }, hAsync("slot", { name: "end-component" })))), hAsync("div", { class: "divider" })));
9980
+ }, role: "listitem" }, hAsync("div", { class: "data" }, hAsync("div", { class: "text-cells" }, (isSlotUsed$1(el, "label") || label) && renderCellContent("label"), (isSlotUsed$1(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { class: "end-component" }, hAsync("slot", { name: "end-component" })))), hAsync("div", { class: "divider" })));
10035
9981
  }
10036
9982
  get el() { return getElement(this); }
10037
9983
  static get style() { return icDataRowCss; }
@@ -10064,81 +10010,433 @@ var descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24
10064
10010
  <path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
10065
10011
  </svg>`;
10066
10012
 
10067
- const icDataTableCss = "/*!@:host*/.sc-ic-data-table-h{position:relative;display:block;height:100%;max-height:100%}/*!@.table-container*/.table-container.sc-ic-data-table{position:relative;height:calc(100% - var(--ic-space-xxxs))}/*!@.table-row-container*/.table-row-container.sc-ic-data-table{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}/*!@:host([show-pagination=\"true\"]) .table-row-container*/[show-pagination=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{height:calc(100% - 3.5625rem)}/*!@table*/table.sc-ic-data-table{table-layout:fixed;border-spacing:0;width:100%}/*!@.table-row-container:focus*/.table-row-container.sc-ic-data-table: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-container*/[embedded=\"true\"].sc-ic-data-table-h .table-container.sc-ic-data-table{border:var(--ic-border-light)}/*!@.column-header-sticky*/.column-header-sticky.sc-ic-data-table{position:sticky;top:0;z-index:1}/*!@.column-header-overlay*/.column-header-overlay.sc-ic-data-table{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*/.row-header-sticky.sc-ic-data-table{position:sticky;left:0}/*!@.column-header,\n.table-row*/.column-header.sc-ic-data-table,.table-row.sc-ic-data-table{box-sizing:border-box}/*!@.table-row-selected*/.table-row-selected.sc-ic-data-table{background-color:var(--ic-table-row-selected) !important}/*!@.sort-button*/.sort-button.sc-ic-data-table{margin-left:auto}/*!@.sort-button:hover*/.sort-button.sc-ic-data-table:hover{background-color:var(--ic-action-dark-bg-hover)}/*!@.sort-button:active*/.sort-button.sc-ic-data-table:active{background-color:var(--ic-action-dark-bg-active)}/*!@.sort-button svg*/.sort-button.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-architectural-black)}/*!@.sort-button-unsorted svg*/.sort-button-unsorted.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-color-tertiary-text)}/*!@.table-density-dense*/.table-density-dense.sc-ic-data-table{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}/*!@.text-dense*/.text-dense.sc-ic-data-table{font-size:var(--ic-font-size-label)}/*!@.table-density-spacious*/.table-density-spacious.sc-ic-data-table{padding:0.625rem var(--ic-space-xs) !important}/*!@.text-spacious*/.text-spacious.sc-ic-data-table{font-size:1.125rem}/*!@.column-header-text*/.column-header-text.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.column-header,\n.row-header*/.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}/*!@.column-header:last-child*/.column-header.sc-ic-data-table:last-child{border-right:none}/*!@.scrollable .column-header:last-child*/.scrollable.sc-ic-data-table .column-header.sc-ic-data-table:last-child{border-right:var(--ic-border-light) !important}/*!@:host([embedded=\"true\"]) tr:last-child .table-cell,\n:host([embedded=\"true\"]) tr:last-child .row-header*/[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .table-cell.sc-ic-data-table,[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .row-header.sc-ic-data-table{border-bottom:none}/*!@.column-header-alignment-left,\n.row-header-alignment-left,\n.cell-alignment-left*/.column-header-alignment-left.sc-ic-data-table,.row-header-alignment-left.sc-ic-data-table,.cell-alignment-left.sc-ic-data-table{text-align:left !important}/*!@.column-header-alignment-right,\n.row-header-alignment-right,\n.cell-alignment-right*/.column-header-alignment-right.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table{text-align:right !important}/*!@.column-header-alignment-center,\n.row-header-alignment-center,\n.cell-alignment-center*/.column-header-alignment-center.sc-ic-data-table,.row-header-alignment-center.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table{text-align:center !important}/*!@.table-row:nth-child(even)*/.table-row.sc-ic-data-table:nth-child(even){background-color:var(--ic-architectural-20)}/*!@.table-cell*/.table-cell.sc-ic-data-table{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px)}/*!@.data-type-string*/.data-type-string.sc-ic-data-table{text-align:left;vertical-align:top}/*!@.data-type-number,\n.data-type-date*/.data-type-number.sc-ic-data-table,.data-type-date.sc-ic-data-table{text-align:right;vertical-align:top}/*!@.cell-alignment-top*/.cell-alignment-top.sc-ic-data-table{vertical-align:top}/*!@.cell-alignment-middle*/.cell-alignment-middle.sc-ic-data-table{vertical-align:middle}/*!@.cell-alignment-bottom*/.cell-alignment-bottom.sc-ic-data-table{vertical-align:bottom}/*!@.cell-emphasis-low*/.cell-emphasis-low.sc-ic-data-table{color:var(--ic-color-secondary-text)}/*!@.cell-emphasis-high*/.cell-emphasis-high.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.pagination-container*/.pagination-container.sc-ic-data-table{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}/*!@.screen-reader-sort-text,\n.table-caption*/.screen-reader-sort-text.sc-ic-data-table,.table-caption.sc-ic-data-table{position:absolute;left:-100rem}/*!@.table-cell,\n.column-header,\n.row-header*/.table-cell.sc-ic-data-table,.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{word-wrap:break-word;white-space:pre-wrap}@media screen and (min-width: 576px){/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{display:flex;align-items:center}}";
10013
+ // Global ARIA attributes
10014
+ const IC_INHERITED_ARIA = [
10015
+ "aria-atomic",
10016
+ "aria-autocomplete",
10017
+ "aria-busy",
10018
+ "aria-controls",
10019
+ "aria-current",
10020
+ "aria-describedby",
10021
+ "aria-description",
10022
+ "aria-details",
10023
+ "aria-disabled",
10024
+ "aria-dropeffect",
10025
+ "aria-errormessage",
10026
+ "aria-expanded",
10027
+ "aria-flowto",
10028
+ "aria-grabbed",
10029
+ "aria-haspopup",
10030
+ "aria-hidden",
10031
+ "aria-invalid",
10032
+ "aria-keyshortcuts",
10033
+ "aria-label",
10034
+ "aria-labelledby",
10035
+ "aria-live",
10036
+ "aria-owns",
10037
+ "aria-relevant",
10038
+ "aria-roledescription",
10039
+ ];
10040
+
10041
+ var IcInformationStatus;
10042
+ (function (IcInformationStatus) {
10043
+ IcInformationStatus["Warning"] = "warning";
10044
+ IcInformationStatus["Error"] = "error";
10045
+ IcInformationStatus["Success"] = "success";
10046
+ })(IcInformationStatus || (IcInformationStatus = {}));
10047
+ var IcThemeForegroundEnum;
10048
+ (function (IcThemeForegroundEnum) {
10049
+ IcThemeForegroundEnum["Default"] = "default";
10050
+ IcThemeForegroundEnum["Dark"] = "dark";
10051
+ IcThemeForegroundEnum["Light"] = "light";
10052
+ })(IcThemeForegroundEnum || (IcThemeForegroundEnum = {}));
10053
+ var IcDateInputMonths;
10054
+ (function (IcDateInputMonths) {
10055
+ IcDateInputMonths[IcDateInputMonths["January"] = 0] = "January";
10056
+ IcDateInputMonths[IcDateInputMonths["February"] = 1] = "February";
10057
+ IcDateInputMonths[IcDateInputMonths["March"] = 2] = "March";
10058
+ IcDateInputMonths[IcDateInputMonths["April"] = 3] = "April";
10059
+ IcDateInputMonths[IcDateInputMonths["May"] = 4] = "May";
10060
+ IcDateInputMonths[IcDateInputMonths["June"] = 5] = "June";
10061
+ IcDateInputMonths[IcDateInputMonths["July"] = 6] = "July";
10062
+ IcDateInputMonths[IcDateInputMonths["August"] = 7] = "August";
10063
+ IcDateInputMonths[IcDateInputMonths["September"] = 8] = "September";
10064
+ IcDateInputMonths[IcDateInputMonths["October"] = 9] = "October";
10065
+ IcDateInputMonths[IcDateInputMonths["November"] = 10] = "November";
10066
+ IcDateInputMonths[IcDateInputMonths["December"] = 11] = "December";
10067
+ })(IcDateInputMonths || (IcDateInputMonths = {}));
10068
+ var IcShortDayNames;
10069
+ (function (IcShortDayNames) {
10070
+ IcShortDayNames[IcShortDayNames["Sun"] = 0] = "Sun";
10071
+ IcShortDayNames[IcShortDayNames["Mon"] = 1] = "Mon";
10072
+ IcShortDayNames[IcShortDayNames["Tue"] = 2] = "Tue";
10073
+ IcShortDayNames[IcShortDayNames["Wed"] = 3] = "Wed";
10074
+ IcShortDayNames[IcShortDayNames["Thu"] = 4] = "Thu";
10075
+ IcShortDayNames[IcShortDayNames["Fri"] = 5] = "Fri";
10076
+ IcShortDayNames[IcShortDayNames["Sat"] = 6] = "Sat";
10077
+ })(IcShortDayNames || (IcShortDayNames = {}));
10078
+ var IcDayNames;
10079
+ (function (IcDayNames) {
10080
+ IcDayNames[IcDayNames["Sunday"] = 0] = "Sunday";
10081
+ IcDayNames[IcDayNames["Monday"] = 1] = "Monday";
10082
+ IcDayNames[IcDayNames["Tuesday"] = 2] = "Tuesday";
10083
+ IcDayNames[IcDayNames["Wednesday"] = 3] = "Wednesday";
10084
+ IcDayNames[IcDayNames["Thursday"] = 4] = "Thursday";
10085
+ IcDayNames[IcDayNames["Friday"] = 5] = "Friday";
10086
+ IcDayNames[IcDayNames["Saturday"] = 6] = "Saturday";
10087
+ })(IcDayNames || (IcDayNames = {}));
10088
+ var IcWeekDays;
10089
+ (function (IcWeekDays) {
10090
+ IcWeekDays[IcWeekDays["Sunday"] = 0] = "Sunday";
10091
+ IcWeekDays[IcWeekDays["Monday"] = 1] = "Monday";
10092
+ IcWeekDays[IcWeekDays["Tuesday"] = 2] = "Tuesday";
10093
+ IcWeekDays[IcWeekDays["Wednesday"] = 3] = "Wednesday";
10094
+ IcWeekDays[IcWeekDays["Thursday"] = 4] = "Thursday";
10095
+ IcWeekDays[IcWeekDays["Friday"] = 5] = "Friday";
10096
+ IcWeekDays[IcWeekDays["Saturday"] = 6] = "Saturday";
10097
+ })(IcWeekDays || (IcWeekDays = {}));
10068
10098
 
10069
- class DataTable {
10070
- constructor(hostRef) {
10071
- registerInstance(this, hostRef);
10072
- this.SORT_ICONS = {
10073
- unsorted: unsortedIcon,
10074
- ascending: ascendingIcon,
10075
- descending: descendingIcon,
10076
- };
10077
- this.isObject = (value) => typeof value === "object";
10078
- this.notDefaultDensity = () => this.density !== "default";
10079
- this.getCellContent = (cell, dataType) => {
10080
- switch (dataType) {
10081
- case "element":
10082
- return undefined;
10083
- case "date":
10084
- return (cell instanceof Date ? cell : new Date(cell)).toLocaleDateString();
10085
- default:
10086
- return cell;
10087
- }
10088
- };
10089
- this.getCellAlignment = (cell, alignment) => {
10090
- if (this.isObject(cell) && Object.keys(cell).includes("cellAlignment")) {
10091
- return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
10092
- }
10093
- };
10094
- this.createCells = (row) => {
10095
- const rowValues = Object.values(row);
10096
- const rowKeys = Object.keys(row);
10097
- let rowAlignment;
10098
- let rowEmphasis;
10099
- const headerIndex = rowKeys.indexOf("header");
10100
- if (headerIndex > -1) {
10101
- rowAlignment = this.getObjectValue(rowValues[headerIndex], "rowAlignment");
10102
- rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
10099
+ /**
10100
+ * converts an enum of strings into an array of strings
10101
+ */
10102
+ const stringEnumToArray = (theEnum) => {
10103
+ const arr = [];
10104
+ Object.values(theEnum).forEach((val) => {
10105
+ if (isNaN(Number(val))) {
10106
+ const str = val;
10107
+ arr.push(str);
10108
+ }
10109
+ });
10110
+ return arr;
10111
+ };
10112
+ /**
10113
+ * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
10114
+ * to a variable that is later used in the render function.
10115
+ *
10116
+ * This does not need to be reactive as changing attributes on the host element
10117
+ * does not trigger a re-render.
10118
+ */
10119
+ const inheritAttributes = (element, attributes = []) => {
10120
+ const attributeObject = {};
10121
+ attributes.forEach((attr) => {
10122
+ if (element.hasAttribute(attr)) {
10123
+ const value = element.getAttribute(attr);
10124
+ if (value !== null) {
10125
+ attributeObject[attr] = element.getAttribute(attr);
10103
10126
  }
10104
- return rowValues.map((cell, index) => {
10105
- const { columnAlignment, dataType, emphasis } = this.columns[index];
10106
- const cellValue = (key) => this.getObjectValue(cell, key);
10127
+ element.removeAttribute(attr);
10128
+ }
10129
+ });
10130
+ return attributeObject;
10131
+ };
10132
+ /**
10133
+ * This method is used to add a hidden input to a host element that contains
10134
+ * a Shadow DOM. It does not add the input inside of the Shadow root which
10135
+ * allows it to be picked up inside of forms. It should contain the same
10136
+ * values as the host element.
10137
+ *
10138
+ * @param always Add a hidden input even if the container does not use Shadow
10139
+ * @param container The element where the input will be added
10140
+ * @param name The name of the input
10141
+ * @param value The value of the input
10142
+ * @param disabled If true, the input is disabled
10143
+ */
10144
+ const renderHiddenInput = (always, container, name, value, disabled) => {
10145
+ if (name !== undefined && (always || hasShadowDom(container))) {
10146
+ const inputs = container.querySelectorAll("input.ic-input");
10147
+ const inputEls = Array.from(inputs);
10148
+ const filtered = inputEls.filter((el) => container === el.parentElement);
10149
+ let input = filtered[0];
10150
+ if (input === null || input === undefined) {
10151
+ input = container.ownerDocument.createElement("input");
10152
+ input.type = "hidden";
10153
+ input.classList.add("ic-input");
10154
+ container.appendChild(input);
10155
+ }
10156
+ input.disabled = disabled;
10157
+ input.name = name;
10158
+ if (value instanceof Date) {
10159
+ input.value = value ? value.toISOString() : null;
10160
+ }
10161
+ else {
10162
+ input.value = value || "";
10163
+ }
10164
+ }
10165
+ };
10166
+ const isEmptyString = (value) => value ? value.trim().length === 0 : true;
10167
+ const getCssProperty = (cssVar) => getComputedStyle(document.documentElement).getPropertyValue(cssVar);
10168
+ const getSlot = (element, name) => {
10169
+ if (element && element.querySelector) {
10170
+ return element.querySelector(`[slot="${name}"]`);
10171
+ }
10172
+ return null;
10173
+ };
10174
+ const getSlotContent = (element, name) => {
10175
+ const slot = getSlot(element, name);
10176
+ if (slot) {
10177
+ return getSlotElements(slot);
10178
+ }
10179
+ return null;
10180
+ };
10181
+ const getSlotElements = (slot) => {
10182
+ const slotContent = slot.firstElementChild;
10183
+ if (slotContent !== null) {
10184
+ const elements = slotContent.assignedElements
10185
+ ? slotContent.assignedElements()
10186
+ : slotContent.childNodes;
10187
+ return elements.length ? elements : null;
10188
+ }
10189
+ else {
10190
+ //check for single element
10191
+ return slot === null ? null : [slot];
10192
+ }
10193
+ };
10194
+ ({
10195
+ XS: Number(getCssProperty("--ic-breakpoint-xs").replace("px", "")),
10196
+ S: Number(getCssProperty("--ic-breakpoint-sm").replace("px", "")),
10197
+ M: Number(getCssProperty("--ic-breakpoint-md").replace("px", "")),
10198
+ L: Number(getCssProperty("--ic-breakpoint-lg").replace("px", "")),
10199
+ XL: Number(getCssProperty("--ic-breakpoint-xl").replace("px", "")),
10200
+ UNDEFINED: 1200,
10201
+ });
10202
+ const isSlotUsed = (element, slotName) => Array.from(element.children).some((child) => child.getAttribute("slot") === slotName);
10203
+ const hasShadowDom = (el) => !!el.shadowRoot && !!el.attachShadow;
10204
+ const getInputHelperTextID = (id) => id + "-helper-text";
10205
+ const getInputValidationTextID = (id) => id + "-validation-text";
10206
+ const getInputDescribedByText = (inputId, helperText, validationText) => `${helperText ? getInputHelperTextID(inputId) : ""} ${validationText ? getInputValidationTextID(inputId) : ""}`.trim();
10207
+ const isMobileOrTablet = () => "maxTouchPoints" in navigator ? navigator.maxTouchPoints > 0 : false;
10208
+ /**
10209
+ * Extracts the label using the value from an object. Requires the object to have a label and value property.
10210
+ * @param value - value from object
10211
+ * @param options - list of menu items
10212
+ * @returns - label corresponding to value
10213
+ */
10214
+ const getLabelFromValue = (value, options, valueField = "value", labelField = "label") => {
10215
+ const ungroupedOptions = [];
10216
+ if (options.length > 0 && options.map) {
10217
+ options.map((option) => {
10218
+ if (option.children) {
10219
+ option.children.map((option) => ungroupedOptions.push(option));
10220
+ }
10221
+ else {
10222
+ ungroupedOptions.push(option);
10223
+ }
10224
+ });
10225
+ const matchingValue = ungroupedOptions.find((option) => option[valueField] === value);
10226
+ if (matchingValue !== undefined)
10227
+ return matchingValue[labelField];
10228
+ }
10229
+ return undefined;
10230
+ };
10231
+ /**
10232
+ * Filters the options based on the search string.
10233
+ * @param options - array of options
10234
+ * @param includeDescriptions - determines whether option descriptions are included when filtering options
10235
+ * @param searchString - string used to filter the options
10236
+ * @param position - whether the search string matches the start of or anywhere in the options
10237
+ * @returns filtered array of options
10238
+ */
10239
+ const getFilteredMenuOptions = (options, includeDescriptions, searchString, position, labelField = "label") => options.filter((option) => {
10240
+ var _a;
10241
+ const label = option[labelField].toLowerCase();
10242
+ const description = (_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase();
10243
+ const lowerSearchString = searchString.toLowerCase();
10244
+ return position === "anywhere"
10245
+ ? includeDescriptions
10246
+ ? label.includes(lowerSearchString) ||
10247
+ (description === null || description === void 0 ? void 0 : description.includes(lowerSearchString))
10248
+ : label.includes(lowerSearchString)
10249
+ : includeDescriptions
10250
+ ? label.startsWith(lowerSearchString) ||
10251
+ (description === null || description === void 0 ? void 0 : description.startsWith(lowerSearchString))
10252
+ : label.startsWith(lowerSearchString);
10253
+ });
10254
+ /**
10255
+ * Gets count of options where only group title "parent" options have been removed.
10256
+ * Disabled options are included in the count.
10257
+ * @param options - array of options
10258
+ * @returns number of options not including group titles
10259
+ */
10260
+ const getOptionsWithoutGroupTitlesCount = (options) => {
10261
+ const optionsWithoutGroupTitles = [];
10262
+ if (options.length > 0 && options.map) {
10263
+ options.map((option) => {
10264
+ if (option.children) {
10265
+ option.children.map((option) => optionsWithoutGroupTitles.push(option));
10266
+ }
10267
+ else {
10268
+ optionsWithoutGroupTitles.push(option);
10269
+ }
10270
+ });
10271
+ }
10272
+ return optionsWithoutGroupTitles.length;
10273
+ };
10274
+ const isNumeric = (value) => {
10275
+ return /^-?\d+$/.test(value);
10276
+ };
10277
+ const hasValidationStatus = (status, disabled) => {
10278
+ return status !== "" && !disabled;
10279
+ };
10280
+ const onComponentRequiredPropUndefined = (props, component) => {
10281
+ for (let i = 0; i < props.length; i++) {
10282
+ const { prop, propName } = props[i];
10283
+ if (prop === null || prop === undefined) {
10284
+ console.error(`No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(propName)}' (react) required`);
10285
+ }
10286
+ }
10287
+ };
10288
+ const kebabToCamelCase = (kebabCase) => {
10289
+ kebabCase = kebabCase.toLowerCase();
10290
+ const individualWords = kebabCase.split("-");
10291
+ let camelCase = individualWords[0];
10292
+ for (let i = 1; i < individualWords.length; i++) {
10293
+ camelCase +=
10294
+ individualWords[i].substring(0, 1).toUpperCase() +
10295
+ individualWords[i].substring(1);
10296
+ }
10297
+ return camelCase;
10298
+ };
10299
+ const checkResizeObserver = (callbackFn) => {
10300
+ if (typeof window !== "undefined" &&
10301
+ typeof window.ResizeObserver !== "undefined") {
10302
+ callbackFn();
10303
+ }
10304
+ };
10305
+ const getForm = (el) => el.closest("FORM");
10306
+ const addFormResetListener = (el, callbackFn) => {
10307
+ const form = getForm(el);
10308
+ if (form !== null) {
10309
+ form.addEventListener("reset", callbackFn);
10310
+ }
10311
+ };
10312
+ const removeFormResetListener = (el, callbackFn) => {
10313
+ const form = getForm(el);
10314
+ if (form !== null) {
10315
+ form.removeEventListener("reset", callbackFn);
10316
+ }
10317
+ };
10318
+ const removeDisabledFalse = (disabled, element) => {
10319
+ if (!disabled) {
10320
+ element.removeAttribute("disabled");
10321
+ }
10322
+ };
10323
+ const isMacDevice = () => {
10324
+ return window.navigator.userAgent.toUpperCase().indexOf("MAC") >= 0;
10325
+ };
10326
+
10327
+ const icDataTableCss = "/*!@:host*/.sc-ic-data-table-h{position:relative;display:block;height:100%;max-height:100%}/*!@.table-container*/.table-container.sc-ic-data-table{position:relative;height:calc(100% - var(--ic-space-xxxs))}/*!@ic-loading-indicator*/ic-loading-indicator.sc-ic-data-table{position:sticky;top:20px}/*!@.table-row-container*/.table-row-container.sc-ic-data-table{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}/*!@:host([show-pagination=\"true\"]) .table-row-container*/[show-pagination=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{height:calc(100% - 3.5625rem)}/*!@table*/table.sc-ic-data-table{table-layout:fixed;border-spacing:0;width:100%}/*!@.table-row-container:focus*/.table-row-container.sc-ic-data-table: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*/[embedded=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{border:var(--ic-border-light)}/*!@.column-header-sticky*/.column-header-sticky.sc-ic-data-table{position:sticky;top:0;z-index:1}/*!@.column-header-overlay*/.column-header-overlay.sc-ic-data-table{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*/.row-header-sticky.sc-ic-data-table{position:sticky;left:0}/*!@.column-header,\n.table-row*/.column-header.sc-ic-data-table,.table-row.sc-ic-data-table{box-sizing:border-box}/*!@.table-row-selected*/.table-row-selected.sc-ic-data-table{background-color:var(--ic-table-row-selected) !important}/*!@.sort-button*/.sort-button.sc-ic-data-table{margin-left:auto}/*!@.sort-button:hover*/.sort-button.sc-ic-data-table:hover{background-color:var(--ic-action-dark-bg-hover)}/*!@.sort-button:active*/.sort-button.sc-ic-data-table:active{background-color:var(--ic-action-dark-bg-active)}/*!@.sort-button svg*/.sort-button.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-architectural-black)}/*!@.sort-button-unsorted svg*/.sort-button-unsorted.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-color-tertiary-text)}/*!@.table-density-dense*/.table-density-dense.sc-ic-data-table{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}/*!@.text-dense*/.text-dense.sc-ic-data-table{font-size:var(--ic-font-size-label)}/*!@.table-density-spacious*/.table-density-spacious.sc-ic-data-table{padding:0.625rem var(--ic-space-xs) !important}/*!@.text-spacious*/.text-spacious.sc-ic-data-table{font-size:1.125rem}/*!@.column-header-text*/.column-header-text.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.column-header,\n.row-header*/.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}/*!@.column-header:last-child*/.column-header.sc-ic-data-table:last-child{border-right:none}/*!@.scrollable .column-header:last-child*/.scrollable.sc-ic-data-table .column-header.sc-ic-data-table:last-child{border-right:var(--ic-border-light) !important}/*!@:host([embedded=\"true\"]) tr:last-child .table-cell,\n:host([embedded=\"true\"]) tr:last-child .row-header*/[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .table-cell.sc-ic-data-table,[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .row-header.sc-ic-data-table{border-bottom:none}/*!@.column-header-alignment-left,\n.row-header-alignment-left,\n.cell-alignment-left*/.column-header-alignment-left.sc-ic-data-table,.row-header-alignment-left.sc-ic-data-table,.cell-alignment-left.sc-ic-data-table{text-align:left !important;justify-content:start !important}/*!@.column-header-alignment-right,\n.row-header-alignment-right,\n.cell-alignment-right*/.column-header-alignment-right.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table{text-align:right !important;justify-content:end !important}/*!@.column-header-alignment-center,\n.row-header-alignment-center,\n.cell-alignment-center*/.column-header-alignment-center.sc-ic-data-table,.row-header-alignment-center.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table{text-align:center !important;justify-content:center !important}/*!@.table-row:nth-child(even)*/.table-row.sc-ic-data-table:nth-child(even){background-color:var(--ic-architectural-20)}/*!@.table-cell*/.table-cell.sc-ic-data-table{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px)}/*!@.data-type-string*/.data-type-string.sc-ic-data-table{text-align:left;vertical-align:top}/*!@.data-type-number,\n.data-type-date*/.data-type-number.sc-ic-data-table,.data-type-date.sc-ic-data-table{text-align:right;justify-content:end;vertical-align:top}/*!@.cell-alignment-top*/.cell-alignment-top.sc-ic-data-table{vertical-align:top}/*!@.cell-alignment-middle*/.cell-alignment-middle.sc-ic-data-table{vertical-align:middle}/*!@.cell-alignment-bottom*/.cell-alignment-bottom.sc-ic-data-table{vertical-align:bottom}/*!@.cell-emphasis-low*/.cell-emphasis-low.sc-ic-data-table{color:var(--ic-color-secondary-text)}/*!@.cell-emphasis-high*/.cell-emphasis-high.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.pagination-container*/.pagination-container.sc-ic-data-table{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}/*!@.screen-reader-sort-text,\n.table-caption*/.screen-reader-sort-text.sc-ic-data-table,.table-caption.sc-ic-data-table{position:absolute;left:-100rem}/*!@.table-cell,\n.column-header,\n.row-header*/.table-cell.sc-ic-data-table,.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{word-wrap:break-word;white-space:pre-wrap}/*!@.loading-empty*/.loading-empty.sc-ic-data-table{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}/*!@.updating-state*/.updating-state.sc-ic-data-table{padding:0;border-bottom:var(--ic-border-light)}/*!@.updating-state-headers*/.updating-state-headers.sc-ic-data-table{border-bottom:none}/*!@.loading*/.loading.sc-ic-data-table{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow)}/*!@.loading.show-background*/.loading.show-background.sc-ic-data-table{background-color:var(--ic-architectural-white);border:var(--ic-border-light)}/*!@.loading.show*/.loading.show.sc-ic-data-table{opacity:1}/*!@.icon,\n::slotted(svg)*/.icon.sc-ic-data-table,.sc-ic-data-table-s>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}/*!@.column-header-alignment-right > .icon,\n.row-header-alignment-right > .icon,\n.cell-alignment-right > .icon,\n.column-header-alignment-right > ::slotted(svg),\n.row-header-alignment-right > ::slotted(svg),\n.cell-alignment-right > ::slotted(svg)*/.column-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.column-header-alignment-right>.sc-ic-data-table-s>svg,.row-header-alignment-right>.sc-ic-data-table-s>svg,.cell-alignment-right>.sc-ic-data-table-s>svg{margin-right:auto}/*!@.column-header-alignment-center > ic-typography,\n.row-header-alignment-right > ic-typography,\n.cell-alignment-center > ic-typography*/.column-header-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>ic-typography.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table{flex:1}/*!@.icon > svg*/.icon.sc-ic-data-table>svg.sc-ic-data-table{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}@media screen and (min-width: 576px){/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{display:flex;align-items:center}/*!@.cell-container*/.cell-container.sc-ic-data-table{display:flex}}";
10328
+
10329
+ /**
10330
+ * @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
10331
+ * @slot {COLUMN_KEY}-{ROW_INDEX}[-icon] - Each cell should have its own slot, named using the column tag and the row index, allowing for custom elements to be displayed. Include `-icon` at the end for that cell's icon slot.
10332
+ * @slot {COLUMN_KEY}-column-icon - The icon slot for a column header.
10333
+ * @slot title-bar - A custom ic-data-table-title-bar can be slotted above the column headers to display additional information about the table.
10334
+ */
10335
+ class DataTable {
10336
+ constructor(hostRef) {
10337
+ registerInstance(this, hostRef);
10338
+ this.icRowHeightChange = createEvent(this, "icRowHeightChange", 7);
10339
+ this.DENSITY_HEIGHT_MULTIPLIER = {
10340
+ dense: 0.8,
10341
+ default: 1,
10342
+ spacious: 1.2,
10343
+ };
10344
+ this.SORT_ICONS = {
10345
+ unsorted: unsortedIcon,
10346
+ ascending: ascendingIcon,
10347
+ descending: descendingIcon,
10348
+ };
10349
+ this.hasLoadedForOneSecond = true;
10350
+ this.startLoadingTimer = () => {
10351
+ this.hasLoadedForOneSecond = false;
10352
+ this.timerStarted = Date.now();
10353
+ setTimeout(() => {
10354
+ this.hasLoadedForOneSecond = true;
10355
+ this.timerStarted = null;
10356
+ }, this.minimumLoadingDisplayDuration);
10357
+ };
10358
+ this.isObject = (value) => typeof value === "object";
10359
+ this.notDefaultDensity = () => this.density !== "default";
10360
+ this.getCellContent = (cell, dataType) => {
10361
+ switch (dataType) {
10362
+ case "element":
10363
+ return undefined;
10364
+ case "date":
10365
+ return (cell instanceof Date ? cell : new Date(cell)).toLocaleDateString();
10366
+ default:
10367
+ return cell;
10368
+ }
10369
+ };
10370
+ this.getCellAlignment = (cell, alignment) => {
10371
+ if (this.isObject(cell) && Object.keys(cell).includes("cellAlignment")) {
10372
+ return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
10373
+ }
10374
+ };
10375
+ this.createUpdatingIndicator = () => {
10376
+ const { appearance, description, max, min, progress } = this.updatingOptions || {};
10377
+ return (hAsync("th", { colSpan: this.columns.length, class: "updating-state" }, hAsync("ic-loading-indicator", { appearance: appearance, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
10378
+ };
10379
+ this.createCells = (row, rowIndex) => {
10380
+ const rowValues = Object.values(row);
10381
+ const rowKeys = Object.keys(row);
10382
+ let rowAlignment;
10383
+ let rowEmphasis;
10384
+ const headerIndex = rowKeys.indexOf("header");
10385
+ if (headerIndex > -1) {
10386
+ rowAlignment = this.getObjectValue(rowValues[headerIndex], "rowAlignment");
10387
+ rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
10388
+ }
10389
+ return rowValues.map((cell, index) => {
10390
+ var _a, _b, _c, _d, _e;
10391
+ const columnProps = this.columns[index];
10392
+ const cellSlotName = `${columnProps === null || columnProps === void 0 ? void 0 : columnProps.key}-${rowIndex}`;
10393
+ const hasIcon = this.isObject(cell) && Object.keys(cell).includes("icon");
10394
+ const cellValue = (key) => this.getObjectValue(cell, key);
10107
10395
  return rowKeys[index] === "header" ? (hAsync("th", { scope: "row", colSpan: cellValue("colspan"), class: {
10108
10396
  ["row-header"]: true,
10109
10397
  [`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
10110
10398
  ["row-header-sticky"]: this.stickyRowHeaders,
10111
- } }, cellValue("title"))) : (hAsync("td", { innerHTML: dataType === "element" ? cell : null, class: {
10399
+ } }, cellValue("title"))) : (hAsync("td", { class: {
10112
10400
  ["table-cell"]: true,
10113
10401
  [`table-density-${this.density}`]: this.notDefaultDensity(),
10114
- [`data-type-${dataType}`]: true,
10115
- [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
10116
- this.getCellAlignment(cell, "horizontal")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
10117
- !!this.getCellAlignment(cell, "horizontal"),
10118
- [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
10402
+ [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
10403
+ [`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
10119
10404
  rowAlignment ||
10120
- this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
10405
+ this.getCellAlignment(cell, "vertical")}`]: !!((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
10121
10406
  !!rowAlignment ||
10122
10407
  !!this.getCellAlignment(cell, "vertical"),
10123
- } }, hAsync("ic-typography", { variant: "body", class: {
10408
+ } }, hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
10409
+ !isSlotUsed(this.el, cellSlotName)
10410
+ ? cell
10411
+ : null, class: {
10412
+ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element",
10413
+ [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
10414
+ [`cell-alignment-${((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
10415
+ this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
10416
+ !!this.getCellAlignment(cell, "horizontal"),
10417
+ } }, isSlotUsed(this.el, cellSlotName) ? (hAsync("slot", { name: cellSlotName })) : (hAsync(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (hAsync("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_e = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _e === void 0 ? void 0 : _e.onAllCells)) && (hAsync("span", { class: "icon", innerHTML: cellValue("icon") || (columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon.icon) }))), hAsync("ic-typography", { variant: "body", class: {
10124
10418
  [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
10125
- emphasis ||
10419
+ (columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
10126
10420
  rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
10127
- !!emphasis ||
10421
+ !!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
10128
10422
  !!rowEmphasis,
10129
10423
  [`text-${this.density}`]: this.notDefaultDensity(),
10130
- } }, this.isObject(cell) && dataType !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, dataType)))));
10424
+ } }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))))))));
10131
10425
  });
10132
10426
  };
10133
10427
  this.createColumnHeaders = () => {
10134
- return this.columns.map(({ cellAlignment, colspan, key, title }) => (hAsync("th", { scope: "col", class: {
10428
+ return this.columns.map(({ cellAlignment, colspan, icon, key, title }) => (hAsync("th", { scope: "col", class: {
10135
10429
  ["column-header"]: true,
10136
- [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
10137
10430
  [`table-density-${this.density}`]: this.notDefaultDensity(),
10138
- }, colSpan: colspan }, this.sortable ? (hAsync("div", { class: "column-header-inner-container" }, hAsync("ic-typography", { variant: "body", class: {
10431
+ ["updating-state-headers"]: this.updating && !this.loading,
10432
+ }, colSpan: colspan }, hAsync("div", { class: {
10433
+ "column-header-inner-container": true,
10434
+ [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
10435
+ } }, isSlotUsed(this.el, `${key}-column-icon`) ? (hAsync("slot", { name: `${key}-column-icon` })) : (icon &&
10436
+ !icon.hideOnHeader && (hAsync("span", { class: "icon", innerHTML: icon.icon }))), hAsync("ic-typography", { variant: "body", class: {
10139
10437
  ["column-header-text"]: true,
10140
10438
  [`text-${this.density}`]: this.notDefaultDensity(),
10141
- } }, title), hAsync("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
10439
+ } }, title), this.sortable && (hAsync("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
10142
10440
  // eslint-disable-next-line react/jsx-no-bind
10143
10441
  onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
10144
10442
  ? this.sortedColumnOrder
@@ -10146,21 +10444,48 @@ class DataTable {
10146
10444
  ["sort-button"]: true,
10147
10445
  ["sort-button-unsorted"]: this.sortedColumn !== key ||
10148
10446
  this.sortedColumnOrder === "unsorted",
10149
- } }))) : (hAsync("ic-typography", { variant: "body", class: {
10150
- ["column-header-text"]: true,
10151
- [`text-${this.density}`]: this.notDefaultDensity(),
10152
- } }, title)))));
10447
+ } }))))));
10153
10448
  };
10154
10449
  this.createRows = () => {
10155
10450
  const data = this.showPagination
10156
10451
  ? this.data.slice(this.fromRow, this.toRow)
10157
10452
  : this.data.slice();
10453
+ /**
10454
+ * Ensures that createCells has a value in data to map over to actually render the slot.
10455
+ * Removes the need for the user to add it multiple times.
10456
+ */
10457
+ this.columns.forEach(({ key }) => {
10458
+ data.forEach((row, rowIndex) => {
10459
+ const cellSlotName = `${key}-${rowIndex}`;
10460
+ if (isSlotUsed(this.el, cellSlotName)) {
10461
+ row[key] = getSlotContent(this.el, cellSlotName);
10462
+ }
10463
+ });
10464
+ });
10158
10465
  return data
10159
10466
  .sort(!this.sortable ? undefined : this.getSortFunction())
10160
- .map((row) => (hAsync("tr", { onClick: () => (this.selectedRow = this.selectedRow !== row && row), class: {
10161
- ["table-row"]: true,
10162
- ["table-row-selected"]: this.selectedRow === row,
10163
- } }, this.createCells(row))));
10467
+ .map((row, index) => {
10468
+ var _a;
10469
+ const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index }));
10470
+ const findRowHeight = variableRowHeightVal
10471
+ ? variableRowHeightVal !== "auto" && variableRowHeightVal
10472
+ : this.globalRowHeight !== "auto" && this.globalRowHeight;
10473
+ return (hAsync("tr", {
10474
+ // eslint-disable-next-line react/jsx-no-bind
10475
+ onClick: () => (this.selectedRow =
10476
+ this.selectedRow !== row &&
10477
+ !this.loading &&
10478
+ !this.updating &&
10479
+ row), class: {
10480
+ ["table-row"]: true,
10481
+ ["table-row-selected"]: this.selectedRow === row,
10482
+ }, style: {
10483
+ height: findRowHeight
10484
+ ? `${findRowHeight * this.DENSITY_HEIGHT_MULTIPLIER[this.density]}px`
10485
+ : null,
10486
+ }
10487
+ }, this.createCells(row, index)));
10488
+ });
10164
10489
  };
10165
10490
  this.getObjectValue = (cell, key) => {
10166
10491
  return Object.values(cell)[Object.keys(cell).indexOf(key)];
@@ -10238,15 +10563,19 @@ class DataTable {
10238
10563
  this.data = undefined;
10239
10564
  this.density = "default";
10240
10565
  this.embedded = false;
10566
+ this.globalRowHeight = 40;
10241
10567
  this.hideColumnHeaders = false;
10568
+ this.loading = false;
10569
+ this.loadingOptions = undefined;
10570
+ this.minimumLoadingDisplayDuration = 1000;
10242
10571
  this.paginationOptions = {
10243
10572
  itemsPerPage: [
10244
10573
  { label: "10", value: "10" },
10245
10574
  { label: "25", value: "25" },
10246
10575
  { label: "50", value: "50" },
10247
10576
  ],
10248
- type: "page",
10249
- control: "simple",
10577
+ rangeLabelType: "page",
10578
+ type: "simple",
10250
10579
  itemsPerPageControl: true,
10251
10580
  goToPageControl: true,
10252
10581
  alignment: "right",
@@ -10259,13 +10588,18 @@ class DataTable {
10259
10588
  };
10260
10589
  this.stickyColumnHeaders = false;
10261
10590
  this.stickyRowHeaders = false;
10591
+ this.updating = false;
10592
+ this.updatingOptions = undefined;
10593
+ this.variableRowHeight = undefined;
10262
10594
  }
10263
10595
  componentWillLoad() {
10596
+ var _a;
10264
10597
  this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);
10265
10598
  this.previousRowsPerPage = this.rowsPerPage;
10266
10599
  this.toRow = this.rowsPerPage;
10267
10600
  this.sortedColumn = this.sortOptions.defaultColumn;
10268
10601
  this.sortedColumnOrder = this.sortOptions.sortOrders[0];
10602
+ this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 });
10269
10603
  }
10270
10604
  componentDidLoad() {
10271
10605
  const tableElement = this.el.shadowRoot.querySelector("table");
@@ -10274,6 +10608,10 @@ class DataTable {
10274
10608
  (tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientWidth) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientWidth)) {
10275
10609
  this.scrollable = true;
10276
10610
  }
10611
+ if (this.loading) {
10612
+ this.startLoadingTimer();
10613
+ this.showLoadingIndicator();
10614
+ }
10277
10615
  }
10278
10616
  handleItemsPerPageChange(ev) {
10279
10617
  this.previousRowsPerPage = this.rowsPerPage;
@@ -10294,23 +10632,73 @@ class DataTable {
10294
10632
  this.previousRowsPerPage = this.rowsPerPage;
10295
10633
  }
10296
10634
  }
10635
+ handleDensityChange(ev) {
10636
+ this.density = ev.detail.value;
10637
+ }
10297
10638
  clickListener(ev) {
10298
10639
  if (ev.target !== this.el)
10299
10640
  this.selectedRow = undefined;
10300
10641
  }
10642
+ loadingHandler(newValue) {
10643
+ if (newValue)
10644
+ this.startLoadingTimer();
10645
+ if (this.loading) {
10646
+ setTimeout(() => {
10647
+ this.showLoadingIndicator();
10648
+ }, 500);
10649
+ }
10650
+ }
10651
+ dataHandler(newData) {
10652
+ this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: (newData === null || newData === void 0 ? void 0 : newData.length) > 0 });
10653
+ if (this.loading) {
10654
+ !this.hasLoadedForOneSecond
10655
+ ? setTimeout(() => (this.loading = false), this.minimumLoadingDisplayDuration -
10656
+ (Date.now() - this.timerStarted))
10657
+ : (this.loading = false);
10658
+ }
10659
+ if (this.updating)
10660
+ this.updating = false;
10661
+ }
10662
+ rowHeightChangeHandler() {
10663
+ this.icRowHeightChange.emit();
10664
+ }
10665
+ /**
10666
+ * Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.
10667
+ */
10668
+ async resetRowHeights() {
10669
+ this.globalRowHeight = 40;
10670
+ this.variableRowHeight = null;
10671
+ }
10672
+ showLoadingIndicator() {
10673
+ this.loadingIndicator.classList.add("show");
10674
+ }
10301
10675
  render() {
10302
- const { caption, createColumnHeaders, createRows, data, hideColumnHeaders, paginationOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, } = this;
10303
- return (hAsync("div", { class: "table-container" }, hAsync("div", { class: {
10676
+ const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, } = this;
10677
+ return (hAsync("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { name: "title-bar" }), hAsync("div", { class: {
10304
10678
  ["table-row-container"]: true,
10305
10679
  scrollable,
10306
10680
  }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, hAsync("table", null, hAsync("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { class: {
10307
10681
  ["column-header-sticky"]: stickyColumnHeaders,
10308
10682
  ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
10309
- } }, hAsync("tr", null, createColumnHeaders()))), (data === null || data === void 0 ? void 0 : data.length) > 0 && hAsync("tbody", null, createRows()))), showPagination && (hAsync("div", { class: "pagination-container" }, hAsync("ic-pagination-bar", { totalItems: data.length, paginationType: paginationOptions.type, paginationControl: paginationOptions.control, showItemsPerPageControl: paginationOptions.itemsPerPageControl, showGoToPageControl: paginationOptions.goToPageControl, itemsPerPageOptions: paginationOptions.itemsPerPage, alignment: paginationOptions.alignment }))), sortable && (hAsync("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
10683
+ } }, hAsync("tr", null, createColumnHeaders()))), updating &&
10684
+ !loading &&
10685
+ (hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), (data === null || data === void 0 ? void 0 : data.length) > 0 && hAsync("tbody", null, createRows())), !(data === null || data === void 0 ? void 0 : data.length) &&
10686
+ !loading &&
10687
+ (isSlotUsed(this.el, "empty-state") ? (hAsync("slot", { name: "empty-state" })) : (hAsync("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (hAsync("ic-loading-indicator", { appearance: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.appearance, class: {
10688
+ "loading-empty": loading,
10689
+ loading: true,
10690
+ "show-background": loadingOptions.showBackground,
10691
+ }, 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 && (hAsync("div", { class: "pagination-container" }, hAsync("ic-pagination-bar", { totalItems: data.length, type: paginationOptions.type, rangeLabelType: paginationOptions.rangeLabelType, showItemsPerPageControl: paginationOptions.itemsPerPageControl, showGoToPageControl: paginationOptions.goToPageControl, itemsPerPageOptions: paginationOptions.itemsPerPage, alignment: paginationOptions.alignment }))), sortable && (hAsync("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
10310
10692
  ? `${sortedColumn} sorted ${sortedColumnOrder}`
10311
10693
  : "table unsorted"))));
10312
10694
  }
10313
10695
  get el() { return getElement(this); }
10696
+ static get watchers() { return {
10697
+ "loading": ["loadingHandler"],
10698
+ "data": ["dataHandler"],
10699
+ "globalRowHeight": ["rowHeightChangeHandler"],
10700
+ "variableRowHeight": ["rowHeightChangeHandler"]
10701
+ }; }
10314
10702
  static get style() { return icDataTableCss; }
10315
10703
  static get cmpMeta() { return {
10316
10704
  "$flags$": 9,
@@ -10319,15 +10707,22 @@ class DataTable {
10319
10707
  "caption": [1],
10320
10708
  "columns": [16],
10321
10709
  "data": [16],
10322
- "density": [1],
10710
+ "density": [1025],
10323
10711
  "embedded": [4],
10712
+ "globalRowHeight": [1032, "global-row-height"],
10324
10713
  "hideColumnHeaders": [4, "hide-column-headers"],
10714
+ "loading": [1028],
10715
+ "loadingOptions": [16],
10716
+ "minimumLoadingDisplayDuration": [2, "minimum-loading-display-duration"],
10325
10717
  "paginationOptions": [16],
10326
10718
  "showPagination": [4, "show-pagination"],
10327
10719
  "sortable": [4],
10328
10720
  "sortOptions": [16],
10329
10721
  "stickyColumnHeaders": [4, "sticky-column-headers"],
10330
10722
  "stickyRowHeaders": [4, "sticky-row-headers"],
10723
+ "updating": [4],
10724
+ "updatingOptions": [16],
10725
+ "variableRowHeight": [1040],
10331
10726
  "fromRow": [32],
10332
10727
  "previousRowsPerPage": [32],
10333
10728
  "rowsPerPage": [32],
@@ -10336,71 +10731,80 @@ class DataTable {
10336
10731
  "selectedRow": [32],
10337
10732
  "sortedColumn": [32],
10338
10733
  "sortedColumnOrder": [32],
10339
- "toRow": [32]
10734
+ "toRow": [32],
10735
+ "resetRowHeights": [64]
10340
10736
  },
10341
- "$listeners$": [[0, "icItemsPerPageChange", "handleItemsPerPageChange"], [0, "icPageChange", "handlePageChange"], [8, "click", "clickListener"]],
10737
+ "$listeners$": [[0, "icItemsPerPageChange", "handleItemsPerPageChange"], [0, "icPageChange", "handlePageChange"], [0, "icTableDensityUpdate", "handleDensityChange"], [8, "click", "clickListener"]],
10342
10738
  "$lazyBundleId$": "-",
10343
10739
  "$attrsToReflect$": []
10344
10740
  }; }
10345
10741
  }
10346
10742
 
10347
- var IcInformationStatus;
10348
- (function (IcInformationStatus) {
10349
- IcInformationStatus["Warning"] = "warning";
10350
- IcInformationStatus["Error"] = "error";
10351
- IcInformationStatus["Success"] = "success";
10352
- })(IcInformationStatus || (IcInformationStatus = {}));
10353
- var IcThemeForegroundEnum;
10354
- (function (IcThemeForegroundEnum) {
10355
- IcThemeForegroundEnum["Default"] = "default";
10356
- IcThemeForegroundEnum["Dark"] = "dark";
10357
- IcThemeForegroundEnum["Light"] = "light";
10358
- })(IcThemeForegroundEnum || (IcThemeForegroundEnum = {}));
10359
- var IcDateInputMonths;
10360
- (function (IcDateInputMonths) {
10361
- IcDateInputMonths[IcDateInputMonths["January"] = 0] = "January";
10362
- IcDateInputMonths[IcDateInputMonths["February"] = 1] = "February";
10363
- IcDateInputMonths[IcDateInputMonths["March"] = 2] = "March";
10364
- IcDateInputMonths[IcDateInputMonths["April"] = 3] = "April";
10365
- IcDateInputMonths[IcDateInputMonths["May"] = 4] = "May";
10366
- IcDateInputMonths[IcDateInputMonths["June"] = 5] = "June";
10367
- IcDateInputMonths[IcDateInputMonths["July"] = 6] = "July";
10368
- IcDateInputMonths[IcDateInputMonths["August"] = 7] = "August";
10369
- IcDateInputMonths[IcDateInputMonths["September"] = 8] = "September";
10370
- IcDateInputMonths[IcDateInputMonths["October"] = 9] = "October";
10371
- IcDateInputMonths[IcDateInputMonths["November"] = 10] = "November";
10372
- IcDateInputMonths[IcDateInputMonths["December"] = 11] = "December";
10373
- })(IcDateInputMonths || (IcDateInputMonths = {}));
10374
- var IcShortDayNames;
10375
- (function (IcShortDayNames) {
10376
- IcShortDayNames[IcShortDayNames["Sun"] = 0] = "Sun";
10377
- IcShortDayNames[IcShortDayNames["Mon"] = 1] = "Mon";
10378
- IcShortDayNames[IcShortDayNames["Tue"] = 2] = "Tue";
10379
- IcShortDayNames[IcShortDayNames["Wed"] = 3] = "Wed";
10380
- IcShortDayNames[IcShortDayNames["Thu"] = 4] = "Thu";
10381
- IcShortDayNames[IcShortDayNames["Fri"] = 5] = "Fri";
10382
- IcShortDayNames[IcShortDayNames["Sat"] = 6] = "Sat";
10383
- })(IcShortDayNames || (IcShortDayNames = {}));
10384
- var IcDayNames;
10385
- (function (IcDayNames) {
10386
- IcDayNames[IcDayNames["Sunday"] = 0] = "Sunday";
10387
- IcDayNames[IcDayNames["Monday"] = 1] = "Monday";
10388
- IcDayNames[IcDayNames["Tuesday"] = 2] = "Tuesday";
10389
- IcDayNames[IcDayNames["Wednesday"] = 3] = "Wednesday";
10390
- IcDayNames[IcDayNames["Thursday"] = 4] = "Thursday";
10391
- IcDayNames[IcDayNames["Friday"] = 5] = "Friday";
10392
- IcDayNames[IcDayNames["Saturday"] = 6] = "Saturday";
10393
- })(IcDayNames || (IcDayNames = {}));
10394
- var IcWeekDays;
10395
- (function (IcWeekDays) {
10396
- IcWeekDays[IcWeekDays["Sunday"] = 0] = "Sunday";
10397
- IcWeekDays[IcWeekDays["Monday"] = 1] = "Monday";
10398
- IcWeekDays[IcWeekDays["Tuesday"] = 2] = "Tuesday";
10399
- IcWeekDays[IcWeekDays["Wednesday"] = 3] = "Wednesday";
10400
- IcWeekDays[IcWeekDays["Thursday"] = 4] = "Thursday";
10401
- IcWeekDays[IcWeekDays["Friday"] = 5] = "Friday";
10402
- IcWeekDays[IcWeekDays["Saturday"] = 6] = "Saturday";
10403
- })(IcWeekDays || (IcWeekDays = {}));
10743
+ const icDataTableTitleBarCss = "/*!@.title-bar-wrapper,\n.header-container,\n.description-actions,\n.action-area,\n.custom-actions-wrapper*/.title-bar-wrapper.sc-ic-data-table-title-bar,.header-container.sc-ic-data-table-title-bar,.description-actions.sc-ic-data-table-title-bar,.action-area.sc-ic-data-table-title-bar,.custom-actions-wrapper.sc-ic-data-table-title-bar{display:flex}/*!@.title-bar-wrapper,\n.action-area,\n.custom-actions-wrapper*/.title-bar-wrapper.sc-ic-data-table-title-bar,.action-area.sc-ic-data-table-title-bar,.custom-actions-wrapper.sc-ic-data-table-title-bar{gap:var(--ic-space-xs)}/*!@.title-bar-wrapper*/.title-bar-wrapper.sc-ic-data-table-title-bar{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*/.full-width.sc-ic-data-table-title-bar{padding:var(--ic-space-sm) 0;border-bottom:none}/*!@ic-typography.heading h3*/ic-typography.heading.sc-ic-data-table-title-bar h3.sc-ic-data-table-title-bar{margin:0}/*!@ic-typography.ic-typography-subtitle-small*/ic-typography.ic-typography-subtitle-small.sc-ic-data-table-title-bar{color:var(--ic-color-tertiary-text)}/*!@ic-typography.ic-typography-h3,\n::slotted([slot=\"header\"])*/ic-typography.ic-typography-h3.sc-ic-data-table-title-bar,.sc-ic-data-table-title-bar-s>[slot=\"header\"]{max-width:50rem}/*!@ic-typography.ic-typography-body,\n::slotted([slot=\"description\"])*/ic-typography.ic-typography-body.sc-ic-data-table-title-bar,.sc-ic-data-table-title-bar-s>[slot=\"description\"]{color:var(--ic-color-secondary-text)}/*!@ic-typography.ic-typography-body,\nic-typography.ic-typography-subtitle-small,\n::slotted([slot=\"description\"])*/ic-typography.ic-typography-body.sc-ic-data-table-title-bar,ic-typography.ic-typography-subtitle-small.sc-ic-data-table-title-bar,.sc-ic-data-table-title-bar-s>[slot=\"description\"]{max-width:40rem}/*!@.density-input*/.density-input.sc-ic-data-table-title-bar{--input-width:7.625rem}@media screen and (max-width: 1200px){/*!@.header-container*/.header-container.sc-ic-data-table-title-bar{flex-direction:column}}@media screen and (min-width: 1201px){/*!@.header-container*/.header-container.sc-ic-data-table-title-bar{gap:var(--ic-space-xs);align-items:baseline}}@media screen and (min-width: 769px){/*!@.description-actions*/.description-actions.sc-ic-data-table-title-bar{justify-content:space-between}}@media screen and (max-width: 768px){/*!@.description-actions*/.description-actions.sc-ic-data-table-title-bar{flex-direction:column;align-items:flex-start;gap:var(--ic-space-xs)}}@media screen and (min-width: 577px){/*!@.action-area*/.action-area.sc-ic-data-table-title-bar{align-items:center}}@media screen and (max-width: 576px){/*!@.action-area*/.action-area.sc-ic-data-table-title-bar{flex-direction:column}}";
10744
+
10745
+ const DEFAULT_TITLE_BAR_HEADING = "Title Bar";
10746
+ /**
10747
+ * @slot primary-action - Render an interactive element that will perform a primary action. Renders to the right of the density select.
10748
+ * @slot custom-actions - Render additional custom actions to the left of the density select.
10749
+ * @slot heading - The heading to render on the data table title bar.
10750
+ * @slot description - Render an alternative description in the description section.
10751
+ */
10752
+ class DataTableTitleBar {
10753
+ constructor(hostRef) {
10754
+ registerInstance(this, hostRef);
10755
+ this.icTableDensityUpdate = createEvent(this, "icTableDensityUpdate", 7);
10756
+ this.initialDensitySelectOption = "default";
10757
+ this.isEmbedded = false;
10758
+ this.changeDensity = (ev) => {
10759
+ this.icTableDensityUpdate.emit({ value: ev.detail.value });
10760
+ };
10761
+ this.description = undefined;
10762
+ this.heading = DEFAULT_TITLE_BAR_HEADING;
10763
+ this.hideDensitySelect = false;
10764
+ this.metadata = undefined;
10765
+ }
10766
+ componentWillLoad() {
10767
+ const parentEl = this.el.parentElement;
10768
+ if (parentEl.tagName === "IC-DATA-TABLE") {
10769
+ const dataTable = parentEl;
10770
+ this.initialDensitySelectOption = dataTable.density;
10771
+ this.isEmbedded = dataTable.embedded;
10772
+ if (this.heading === DEFAULT_TITLE_BAR_HEADING) {
10773
+ this.heading = dataTable.caption;
10774
+ }
10775
+ }
10776
+ }
10777
+ render() {
10778
+ const { changeDensity, description, el, heading, hideDensitySelect, initialDensitySelectOption, isEmbedded, metadata, } = this;
10779
+ const showActionArea = isSlotUsed(el, "primary-action") ||
10780
+ isSlotUsed(el, "custom-actions") ||
10781
+ !hideDensitySelect;
10782
+ const hasDescription = isSlotUsed(el, "description") || description;
10783
+ return (hAsync("div", { class: {
10784
+ "title-bar-wrapper": true,
10785
+ "full-width": isEmbedded,
10786
+ } }, hAsync("div", { class: "header-container" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h3", className: "heading" }, hAsync("h3", null, heading))), metadata && (hAsync("ic-typography", { variant: "subtitle-small" }, metadata))), (showActionArea || hasDescription) && (hAsync("div", { class: "description-actions" }, hAsync("slot", { name: "description" }, description && (hAsync("ic-typography", { variant: "body" }, description))), showActionArea && (hAsync("div", { class: "action-area" }, isSlotUsed(el, "custom-actions") && (hAsync("div", { class: "custom-actions-wrapper" }, hAsync("slot", { name: "custom-actions" }))), !hideDensitySelect && (hAsync("ic-select", { small: true, label: "Change density", class: "density-input", hideLabel: true, options: [
10787
+ { label: "Default", value: "default" },
10788
+ { label: "Dense", value: "dense" },
10789
+ { label: "Spacious", value: "spacious" },
10790
+ ], value: initialDensitySelectOption, onIcChange: changeDensity })), isSlotUsed(el, "primary-action") && (hAsync("slot", { name: "primary-action" }))))))));
10791
+ }
10792
+ get el() { return getElement(this); }
10793
+ static get style() { return icDataTableTitleBarCss; }
10794
+ static get cmpMeta() { return {
10795
+ "$flags$": 9,
10796
+ "$tagName$": "ic-data-table-title-bar",
10797
+ "$members$": {
10798
+ "description": [1],
10799
+ "heading": [1],
10800
+ "hideDensitySelect": [4, "hide-density-select"],
10801
+ "metadata": [1]
10802
+ },
10803
+ "$listeners$": undefined,
10804
+ "$lazyBundleId$": "-",
10805
+ "$attrsToReflect$": []
10806
+ }; }
10807
+ }
10404
10808
 
10405
10809
  const isMonthFirstFormat = (dateString) => {
10406
10810
  const monthFirstFormat = /^(0[1-9]|1[0-2])(\/|-)(0[1-9]|[12][0-9]|3[01])(\/|-)\d{4}$/;
@@ -10450,318 +10854,89 @@ const splitStringDate = (date, dateFormat) => {
10450
10854
  else {
10451
10855
  const newDateStr = dateParts.join("/");
10452
10856
  const validDayFirst = isDayFirstFormat(newDateStr);
10453
- const validMonthFirst = isMonthFirstFormat(newDateStr);
10454
- if (validDayFirst && validMonthFirst) {
10455
- if (dateFormat.charAt(0) === "M") {
10456
- newDate = [dateParts[2], dateParts[0], dateParts[1]];
10457
- }
10458
- else {
10459
- newDate = [dateParts[2], dateParts[1], dateParts[0]];
10460
- }
10461
- }
10462
- else if (validMonthFirst) {
10463
- newDate = [dateParts[2], dateParts[0], dateParts[1]];
10464
- }
10465
- else {
10466
- newDate = [dateParts[2], dateParts[1], dateParts[0]];
10467
- }
10468
- }
10469
- }
10470
- return newDate;
10471
- };
10472
- const convertToDoubleDigits = (value) => {
10473
- if (+value < 10) {
10474
- return `0${value}`;
10475
- }
10476
- return value.toString();
10477
- };
10478
- const getWeekStart = (date, startDay) => {
10479
- const tmpDate = new Date(date);
10480
- const day = tmpDate.getDay();
10481
- const diff = (day < startDay ? 7 : 0) + day - startDay;
10482
- tmpDate.setDate(tmpDate.getDate() - diff);
10483
- return tmpDate;
10484
- };
10485
- const getWeekEnd = (date, startDay) => {
10486
- const d = new Date(date);
10487
- const day = d.getDay();
10488
- const diff = (day < startDay ? -7 : 0) + 6 - (day - startDay);
10489
- d.setDate(d.getDate() + diff);
10490
- return d;
10491
- };
10492
- const getMonthStart = (date) => {
10493
- return new Date(date.getFullYear(), date.getMonth(), 1);
10494
- };
10495
- const getMonthEnd = (date) => {
10496
- return new Date(date.getFullYear(), date.getMonth() + 1, 0);
10497
- };
10498
- /**
10499
- * Compare if two dates are equal exactly equal
10500
- */
10501
- const dateMatches = (a, b) => {
10502
- if (a === null || b === null) {
10503
- return false;
10504
- }
10505
- return (a.getFullYear() === b.getFullYear() &&
10506
- a.getMonth() === b.getMonth() &&
10507
- a.getDate() === b.getDate());
10508
- };
10509
- const clampDate = (date, min, max) => {
10510
- const time = date.getTime();
10511
- if (min !== null && time < min.getTime()) {
10512
- return min;
10513
- }
10514
- if (max !== null && time > max.getTime()) {
10515
- return max;
10516
- }
10517
- return date;
10518
- };
10519
- /**
10520
- * Compare if date is within specified range
10521
- */
10522
- const dateInRange = (date, min, max) => {
10523
- return clampDate(date, min, max) === date;
10524
- };
10525
- const yearInRange = (year, min, max) => {
10526
- let allowed = true;
10527
- if (year !== null) {
10528
- if (min !== null && year < min.getFullYear()) {
10529
- allowed = false;
10530
- }
10531
- if (allowed && max !== null && year > max.getFullYear()) {
10532
- allowed = false;
10533
- }
10534
- }
10535
- return allowed;
10536
- };
10537
-
10538
- // Global ARIA attributes
10539
- const IC_INHERITED_ARIA = [
10540
- "aria-atomic",
10541
- "aria-autocomplete",
10542
- "aria-busy",
10543
- "aria-controls",
10544
- "aria-current",
10545
- "aria-describedby",
10546
- "aria-description",
10547
- "aria-details",
10548
- "aria-disabled",
10549
- "aria-dropeffect",
10550
- "aria-errormessage",
10551
- "aria-expanded",
10552
- "aria-flowto",
10553
- "aria-grabbed",
10554
- "aria-haspopup",
10555
- "aria-hidden",
10556
- "aria-invalid",
10557
- "aria-keyshortcuts",
10558
- "aria-label",
10559
- "aria-labelledby",
10560
- "aria-live",
10561
- "aria-owns",
10562
- "aria-relevant",
10563
- "aria-roledescription",
10564
- ];
10565
-
10566
- /**
10567
- * converts an enum of strings into an array of strings
10568
- */
10569
- const stringEnumToArray = (theEnum) => {
10570
- const arr = [];
10571
- Object.values(theEnum).forEach((val) => {
10572
- if (isNaN(Number(val))) {
10573
- const str = val;
10574
- arr.push(str);
10575
- }
10576
- });
10577
- return arr;
10578
- };
10579
- /**
10580
- * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
10581
- * to a variable that is later used in the render function.
10582
- *
10583
- * This does not need to be reactive as changing attributes on the host element
10584
- * does not trigger a re-render.
10585
- */
10586
- const inheritAttributes = (element, attributes = []) => {
10587
- const attributeObject = {};
10588
- attributes.forEach((attr) => {
10589
- if (element.hasAttribute(attr)) {
10590
- const value = element.getAttribute(attr);
10591
- if (value !== null) {
10592
- attributeObject[attr] = element.getAttribute(attr);
10593
- }
10594
- element.removeAttribute(attr);
10595
- }
10596
- });
10597
- return attributeObject;
10598
- };
10599
- /**
10600
- * This method is used to add a hidden input to a host element that contains
10601
- * a Shadow DOM. It does not add the input inside of the Shadow root which
10602
- * allows it to be picked up inside of forms. It should contain the same
10603
- * values as the host element.
10604
- *
10605
- * @param always Add a hidden input even if the container does not use Shadow
10606
- * @param container The element where the input will be added
10607
- * @param name The name of the input
10608
- * @param value The value of the input
10609
- * @param disabled If true, the input is disabled
10610
- */
10611
- const renderHiddenInput = (always, container, name, value, disabled) => {
10612
- if (name !== undefined && (always || hasShadowDom(container))) {
10613
- const inputs = container.querySelectorAll("input.ic-input");
10614
- const inputEls = Array.from(inputs);
10615
- const filtered = inputEls.filter((el) => container === el.parentElement);
10616
- let input = filtered[0];
10617
- if (input === null || input === undefined) {
10618
- input = container.ownerDocument.createElement("input");
10619
- input.type = "hidden";
10620
- input.classList.add("ic-input");
10621
- container.appendChild(input);
10622
- }
10623
- input.disabled = disabled;
10624
- input.name = name;
10625
- if (value instanceof Date) {
10626
- input.value = value ? value.toISOString() : null;
10627
- }
10628
- else {
10629
- input.value = value || "";
10630
- }
10631
- }
10632
- };
10633
- const isEmptyString = (value) => value ? value.trim().length === 0 : true;
10634
- const getCssProperty = (cssVar) => getComputedStyle(document.documentElement).getPropertyValue(cssVar);
10635
- ({
10636
- XS: Number(getCssProperty("--ic-breakpoint-xs").replace("px", "")),
10637
- S: Number(getCssProperty("--ic-breakpoint-sm").replace("px", "")),
10638
- M: Number(getCssProperty("--ic-breakpoint-md").replace("px", "")),
10639
- L: Number(getCssProperty("--ic-breakpoint-lg").replace("px", "")),
10640
- XL: Number(getCssProperty("--ic-breakpoint-xl").replace("px", "")),
10641
- UNDEFINED: 1200,
10642
- });
10643
- const hasShadowDom = (el) => !!el.shadowRoot && !!el.attachShadow;
10644
- const getInputHelperTextID = (id) => id + "-helper-text";
10645
- const getInputValidationTextID = (id) => id + "-validation-text";
10646
- const getInputDescribedByText = (inputId, helperText, validationText) => `${helperText ? getInputHelperTextID(inputId) : ""} ${validationText ? getInputValidationTextID(inputId) : ""}`.trim();
10647
- const isMobileOrTablet = () => "maxTouchPoints" in navigator ? navigator.maxTouchPoints > 0 : false;
10648
- /**
10649
- * Extracts the label using the value from an object. Requires the object to have a label and value property.
10650
- * @param value - value from object
10651
- * @param options - list of menu items
10652
- * @returns - label corresponding to value
10653
- */
10654
- const getLabelFromValue = (value, options, valueField = "value", labelField = "label") => {
10655
- const ungroupedOptions = [];
10656
- if (options.length > 0 && options.map) {
10657
- options.map((option) => {
10658
- if (option.children) {
10659
- option.children.map((option) => ungroupedOptions.push(option));
10857
+ const validMonthFirst = isMonthFirstFormat(newDateStr);
10858
+ if (validDayFirst && validMonthFirst) {
10859
+ if (dateFormat.charAt(0) === "M") {
10860
+ newDate = [dateParts[2], dateParts[0], dateParts[1]];
10861
+ }
10862
+ else {
10863
+ newDate = [dateParts[2], dateParts[1], dateParts[0]];
10864
+ }
10865
+ }
10866
+ else if (validMonthFirst) {
10867
+ newDate = [dateParts[2], dateParts[0], dateParts[1]];
10660
10868
  }
10661
10869
  else {
10662
- ungroupedOptions.push(option);
10870
+ newDate = [dateParts[2], dateParts[1], dateParts[0]];
10663
10871
  }
10664
- });
10665
- const matchingValue = ungroupedOptions.find((option) => option[valueField] === value);
10666
- if (matchingValue !== undefined)
10667
- return matchingValue[labelField];
10872
+ }
10668
10873
  }
10669
- return undefined;
10874
+ return newDate;
10670
10875
  };
10671
- /**
10672
- * Filters the options based on the search string.
10673
- * @param options - array of options
10674
- * @param includeDescriptions - determines whether option descriptions are included when filtering options
10675
- * @param searchString - string used to filter the options
10676
- * @param position - whether the search string matches the start of or anywhere in the options
10677
- * @returns filtered array of options
10678
- */
10679
- const getFilteredMenuOptions = (options, includeDescriptions, searchString, position, labelField = "label") => options.filter((option) => {
10680
- var _a;
10681
- const label = option[labelField].toLowerCase();
10682
- const description = (_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase();
10683
- const lowerSearchString = searchString.toLowerCase();
10684
- return position === "anywhere"
10685
- ? includeDescriptions
10686
- ? label.includes(lowerSearchString) ||
10687
- (description === null || description === void 0 ? void 0 : description.includes(lowerSearchString))
10688
- : label.includes(lowerSearchString)
10689
- : includeDescriptions
10690
- ? label.startsWith(lowerSearchString) ||
10691
- (description === null || description === void 0 ? void 0 : description.startsWith(lowerSearchString))
10692
- : label.startsWith(lowerSearchString);
10693
- });
10694
- /**
10695
- * Gets count of options where only group title "parent" options have been removed.
10696
- * Disabled options are included in the count.
10697
- * @param options - array of options
10698
- * @returns number of options not including group titles
10699
- */
10700
- const getOptionsWithoutGroupTitlesCount = (options) => {
10701
- const optionsWithoutGroupTitles = [];
10702
- if (options.length > 0 && options.map) {
10703
- options.map((option) => {
10704
- if (option.children) {
10705
- option.children.map((option) => optionsWithoutGroupTitles.push(option));
10706
- }
10707
- else {
10708
- optionsWithoutGroupTitles.push(option);
10709
- }
10710
- });
10876
+ const convertToDoubleDigits = (value) => {
10877
+ if (+value < 10) {
10878
+ return `0${value}`;
10711
10879
  }
10712
- return optionsWithoutGroupTitles.length;
10880
+ return value.toString();
10713
10881
  };
10714
- const isNumeric = (value) => {
10715
- return /^-?\d+$/.test(value);
10882
+ const getWeekStart = (date, startDay) => {
10883
+ const tmpDate = new Date(date);
10884
+ const day = tmpDate.getDay();
10885
+ const diff = (day < startDay ? 7 : 0) + day - startDay;
10886
+ tmpDate.setDate(tmpDate.getDate() - diff);
10887
+ return tmpDate;
10716
10888
  };
10717
- const hasValidationStatus = (status, disabled) => {
10718
- return status !== "" && !disabled;
10889
+ const getWeekEnd = (date, startDay) => {
10890
+ const d = new Date(date);
10891
+ const day = d.getDay();
10892
+ const diff = (day < startDay ? -7 : 0) + 6 - (day - startDay);
10893
+ d.setDate(d.getDate() + diff);
10894
+ return d;
10719
10895
  };
10720
- const onComponentRequiredPropUndefined = (props, component) => {
10721
- for (let i = 0; i < props.length; i++) {
10722
- const { prop, propName } = props[i];
10723
- if (prop === null || prop === undefined) {
10724
- console.error(`No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(propName)}' (react) required`);
10725
- }
10726
- }
10896
+ const getMonthStart = (date) => {
10897
+ return new Date(date.getFullYear(), date.getMonth(), 1);
10727
10898
  };
10728
- const kebabToCamelCase = (kebabCase) => {
10729
- kebabCase = kebabCase.toLowerCase();
10730
- const individualWords = kebabCase.split("-");
10731
- let camelCase = individualWords[0];
10732
- for (let i = 1; i < individualWords.length; i++) {
10733
- camelCase +=
10734
- individualWords[i].substring(0, 1).toUpperCase() +
10735
- individualWords[i].substring(1);
10736
- }
10737
- return camelCase;
10899
+ const getMonthEnd = (date) => {
10900
+ return new Date(date.getFullYear(), date.getMonth() + 1, 0);
10738
10901
  };
10739
- const checkResizeObserver = (callbackFn) => {
10740
- if (typeof window !== "undefined" &&
10741
- typeof window.ResizeObserver !== "undefined") {
10742
- callbackFn();
10902
+ /**
10903
+ * Compare if two dates are equal exactly equal
10904
+ */
10905
+ const dateMatches = (a, b) => {
10906
+ if (a === null || b === null) {
10907
+ return false;
10743
10908
  }
10909
+ return (a.getFullYear() === b.getFullYear() &&
10910
+ a.getMonth() === b.getMonth() &&
10911
+ a.getDate() === b.getDate());
10744
10912
  };
10745
- const getForm = (el) => el.closest("FORM");
10746
- const addFormResetListener = (el, callbackFn) => {
10747
- const form = getForm(el);
10748
- if (form !== null) {
10749
- form.addEventListener("reset", callbackFn);
10913
+ const clampDate = (date, min, max) => {
10914
+ const time = date.getTime();
10915
+ if (min !== null && time < min.getTime()) {
10916
+ return min;
10750
10917
  }
10751
- };
10752
- const removeFormResetListener = (el, callbackFn) => {
10753
- const form = getForm(el);
10754
- if (form !== null) {
10755
- form.removeEventListener("reset", callbackFn);
10918
+ if (max !== null && time > max.getTime()) {
10919
+ return max;
10756
10920
  }
10921
+ return date;
10757
10922
  };
10758
- const removeDisabledFalse = (disabled, element) => {
10759
- if (!disabled) {
10760
- element.removeAttribute("disabled");
10761
- }
10923
+ /**
10924
+ * Compare if date is within specified range
10925
+ */
10926
+ const dateInRange = (date, min, max) => {
10927
+ return clampDate(date, min, max) === date;
10762
10928
  };
10763
- const isMacDevice = () => {
10764
- return window.navigator.userAgent.toUpperCase().indexOf("MAC") >= 0;
10929
+ const yearInRange = (year, min, max) => {
10930
+ let allowed = true;
10931
+ if (year !== null) {
10932
+ if (min !== null && year < min.getFullYear()) {
10933
+ allowed = false;
10934
+ }
10935
+ if (allowed && max !== null && year > max.getFullYear()) {
10936
+ allowed = false;
10937
+ }
10938
+ }
10939
+ return allowed;
10765
10940
  };
10766
10941
 
10767
10942
  var Clear$2 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -13209,10 +13384,10 @@ class Dialog {
13209
13384
  [`${size}`]: true,
13210
13385
  ["disable-height-constraint"]: this.disableHeightConstraint,
13211
13386
  ["disable-width-constraint"]: this.disableWidthConstraint,
13212
- }, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, hAsync("div", { class: "heading-area" }, hAsync("div", { class: "heading-content" }, hAsync("div", { class: "label" }, hAsync("slot", { name: "label" }, hAsync("ic-typography", { variant: "label", id: "dialog-label" }, label))), hAsync("div", { class: "heading" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), !hideCloseButton && (hAsync("ic-button", { class: "close-icon", variant: "icon", innerHTML: closeIcon, "aria-label": dismissLabel, onClick: this.closeIconClick, "data-gets-focus": destructive || !buttons ? "" : null }))), hAsync("div", { class: "content-area" }, isSlotUsed(this.el, "alert") ? (hAsync("slot", { name: "alert" })) : (status && (hAsync("ic-alert", { variant: status, heading: alertHeading, message: alertMessage, "title-above": true, class: "status-alert", id: "dialog-alert" }))), hAsync("div", { id: "dialog-content" }, hAsync("slot", null))), (buttons || isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (hAsync("div", { class: {
13387
+ }, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, hAsync("div", { class: "heading-area" }, hAsync("div", { class: "heading-content" }, hAsync("div", { class: "label" }, hAsync("slot", { name: "label" }, hAsync("ic-typography", { variant: "label", id: "dialog-label" }, label))), hAsync("div", { class: "heading" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), !hideCloseButton && (hAsync("ic-button", { class: "close-icon", variant: "icon", innerHTML: closeIcon, "aria-label": dismissLabel, onClick: this.closeIconClick, "data-gets-focus": destructive || !buttons ? "" : null }))), hAsync("div", { class: "content-area" }, isSlotUsed$1(this.el, "alert") ? (hAsync("slot", { name: "alert" })) : (status && (hAsync("ic-alert", { variant: status, heading: alertHeading, message: alertMessage, "title-above": true, class: "status-alert", id: "dialog-alert" }))), hAsync("div", { id: "dialog-content" }, hAsync("slot", null))), (buttons || isSlotUsed$1(this.el, this.DIALOG_CONTROLS)) && (hAsync("div", { class: {
13213
13388
  [this.DIALOG_CONTROLS]: true,
13214
13389
  ["triple-button"]: buttonProps.length === 3,
13215
- } }, hAsync("slot", { name: this.DIALOG_CONTROLS }, !isSlotUsed(this.el, this.DIALOG_CONTROLS) &&
13390
+ } }, hAsync("slot", { name: this.DIALOG_CONTROLS }, !isSlotUsed$1(this.el, this.DIALOG_CONTROLS) &&
13216
13391
  buttonProps.map((props, index) => {
13217
13392
  if (index > 2) {
13218
13393
  return;
@@ -13457,15 +13632,15 @@ class EmptyState {
13457
13632
  this.subheading = undefined;
13458
13633
  }
13459
13634
  componentDidLoad() {
13460
- !isSlotUsed(this.el, "heading") &&
13635
+ !isSlotUsed$1(this.el, "heading") &&
13461
13636
  onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Empty State");
13462
13637
  }
13463
13638
  render() {
13464
13639
  const { aligned, body, bodyMaxLines, heading, imageSize, subheading } = this;
13465
13640
  return (hAsync(Host, { class: {
13466
13641
  [`${aligned}`]: true,
13467
- [`image-${imageSize}`]: isSlotUsed(this.el, "image"),
13468
- } }, isSlotUsed(this.el, "image") && hAsync("slot", { name: "image" }), hAsync("div", null, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4" }, heading)), hAsync("slot", { name: "subheading" }, hAsync("ic-typography", { variant: "subtitle-small" }, subheading)), hAsync("slot", { name: "body" }, hAsync("ic-typography", { maxLines: bodyMaxLines }, body))), isSlotUsed(this.el, "actions") && (hAsync("div", { class: "action-area" }, hAsync("slot", { name: "actions" })))));
13642
+ [`image-${imageSize}`]: isSlotUsed$1(this.el, "image"),
13643
+ } }, isSlotUsed$1(this.el, "image") && hAsync("slot", { name: "image" }), hAsync("div", null, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4" }, heading)), hAsync("slot", { name: "subheading" }, hAsync("ic-typography", { variant: "subtitle-small" }, subheading)), hAsync("slot", { name: "body" }, hAsync("ic-typography", { maxLines: bodyMaxLines }, body))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { class: "action-area" }, hAsync("slot", { name: "actions" })))));
13469
13644
  }
13470
13645
  get el() { return getElement(this); }
13471
13646
  static get style() { return icEmptyStateCss; }
@@ -13561,7 +13736,7 @@ class Footer {
13561
13736
  // Slots will be able to infer their own color
13562
13737
  [IcThemeForegroundEnum$1.Dark]: foregroundColor === IcThemeForegroundEnum$1.Dark,
13563
13738
  [IcThemeForegroundEnum$1.Light]: foregroundColor === IcThemeForegroundEnum$1.Light,
13564
- } }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, description && (hAsync("div", { class: "footer-description" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-description-inner" }, hAsync("ic-typography", { variant: "body" }, hAsync("slot", { name: "description" }, description)))))), isSlotUsed(this.el, "link") && (hAsync("div", { class: "footer-links" }, groupLinks && small ? (hAsync("div", { class: "footer-links-inner" }, hAsync("slot", { name: "link" }))) : (hAsync("ic-section-container", { fullHeight: true, aligned: aligned }, hAsync("div", { class: "footer-links-inner" }, hAsync("slot", { name: "link" })))))), hAsync("div", { class: "footer-compliance" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-compliance-inner" }, isSlotUsed(this.el, "logo") && (hAsync("div", { class: "footer-logo" }, hAsync("slot", { name: "logo" }))), (isSlotUsed(this.el, "caption") || caption) && (hAsync("div", { class: "footer-caption" }, hAsync("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
13739
+ } }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, description && (hAsync("div", { class: "footer-description" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-description-inner" }, hAsync("ic-typography", { variant: "body" }, hAsync("slot", { name: "description" }, description)))))), isSlotUsed$1(this.el, "link") && (hAsync("div", { class: "footer-links" }, groupLinks && small ? (hAsync("div", { class: "footer-links-inner" }, hAsync("slot", { name: "link" }))) : (hAsync("ic-section-container", { fullHeight: true, aligned: aligned }, hAsync("div", { class: "footer-links-inner" }, hAsync("slot", { name: "link" })))))), hAsync("div", { class: "footer-compliance" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-compliance-inner" }, isSlotUsed$1(this.el, "logo") && (hAsync("div", { class: "footer-logo" }, hAsync("slot", { name: "logo" }))), (isSlotUsed$1(this.el, "caption") || caption) && (hAsync("div", { class: "footer-caption" }, hAsync("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
13565
13740
  ? "caption"
13566
13741
  : "body" }, hAsync("slot", { name: "caption" }, caption)))), copyright && (hAsync("div", { class: {
13567
13742
  ["footer-copyright"]: true,
@@ -13928,7 +14103,7 @@ class HorizontalScroll {
13928
14103
  componentWillLoad() {
13929
14104
  this.itemsContainerEl = this.el.children[0];
13930
14105
  this.itemsContainerEl.addEventListener("scroll", this.scrollHandler);
13931
- this.items = (getSlotElements(this.itemsContainerEl) ||
14106
+ this.items = (getSlotElements$1(this.itemsContainerEl) ||
13932
14107
  Array.from(this.itemsContainerEl.children));
13933
14108
  this.items.forEach((item) => {
13934
14109
  if (item.addEventListener) {
@@ -14054,7 +14229,7 @@ class InputComponentContainer {
14054
14229
  }, "aria-disabled": disabled && `${disabled}` }, hAsync("div", { class: {
14055
14230
  "focus-indicator": true,
14056
14231
  dark: dark || appearance === "dark",
14057
- } }, isSlotUsed(this.el, "left-icon") && (hAsync("div", { class: {
14232
+ } }, isSlotUsed$1(this.el, "left-icon") && (hAsync("div", { class: {
14058
14233
  ["icon-container"]: true,
14059
14234
  } }, hAsync("slot", { name: "left-icon" }))), hAsync("slot", null), validationInline &&
14060
14235
  validationStatus === IcInformationStatus$1.Success && (hAsync("span", { class: {
@@ -14222,7 +14397,7 @@ class InputValidation {
14222
14397
  }; }
14223
14398
  }
14224
14399
 
14225
- const icLinkCss = "/*!@html*/html.sc-ic-link{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-link{margin:0}/*!@main*/main.sc-ic-link{display:block}/*!@h1*/h1.sc-ic-link{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-link{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-link{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-link{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-link{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-link,strong.sc-ic-link{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-link,kbd.sc-ic-link,samp.sc-ic-link{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-link{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-link,sup.sc-ic-link{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-link{bottom:-0.25em}/*!@sup*/sup.sc-ic-link{top:-0.5em}/*!@img*/img.sc-ic-link{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-link,input.sc-ic-link,optgroup.sc-ic-link,select.sc-ic-link,textarea.sc-ic-link{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-link,input.sc-ic-link{overflow:visible}/*!@button,\nselect*/button.sc-ic-link,select.sc-ic-link{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-link,[type=\"button\"].sc-ic-link,[type=\"reset\"].sc-ic-link,[type=\"submit\"].sc-ic-link{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-link::-moz-focus-inner,[type=\"button\"].sc-ic-link::-moz-focus-inner,[type=\"reset\"].sc-ic-link::-moz-focus-inner,[type=\"submit\"].sc-ic-link::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-link:-moz-focusring,[type=\"button\"].sc-ic-link:-moz-focusring,[type=\"reset\"].sc-ic-link:-moz-focusring,[type=\"submit\"].sc-ic-link:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-link{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-link{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-link{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-link{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-link,[type=\"radio\"].sc-ic-link{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-link::-webkit-inner-spin-button,[type=\"number\"].sc-ic-link::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-link{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-link::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-link::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-link{display:block}/*!@summary*/summary.sc-ic-link{display:list-item}/*!@template*/template.sc-ic-link{display:none}/*!@[hidden]*/[hidden].sc-ic-link{display:none}/*!@html,\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*/html.sc-ic-link,body.sc-ic-link,div.sc-ic-link,span.sc-ic-link,applet.sc-ic-link,object.sc-ic-link,iframe.sc-ic-link,h1.sc-ic-link,h2.sc-ic-link,h3.sc-ic-link,h4.sc-ic-link,h5.sc-ic-link,h6.sc-ic-link,p.sc-ic-link,blockquote.sc-ic-link,pre.sc-ic-link,a.sc-ic-link,abbr.sc-ic-link,acronym.sc-ic-link,address.sc-ic-link,big.sc-ic-link,cite.sc-ic-link,code.sc-ic-link,del.sc-ic-link,dfn.sc-ic-link,em.sc-ic-link,img.sc-ic-link,ins.sc-ic-link,kbd.sc-ic-link,q.sc-ic-link,s.sc-ic-link,samp.sc-ic-link,small.sc-ic-link,strike.sc-ic-link,strong.sc-ic-link,sub.sc-ic-link,sup.sc-ic-link,tt.sc-ic-link,var.sc-ic-link,b.sc-ic-link,u.sc-ic-link,i.sc-ic-link,center.sc-ic-link,dl.sc-ic-link,dt.sc-ic-link,dd.sc-ic-link,ol.sc-ic-link,ul.sc-ic-link,li.sc-ic-link,fieldset.sc-ic-link,form.sc-ic-link,label.sc-ic-link,legend.sc-ic-link,table.sc-ic-link,caption.sc-ic-link,tbody.sc-ic-link,tfoot.sc-ic-link,thead.sc-ic-link,tr.sc-ic-link,th.sc-ic-link,td.sc-ic-link,article.sc-ic-link,aside.sc-ic-link,canvas.sc-ic-link,details.sc-ic-link,embed.sc-ic-link,figure.sc-ic-link,figcaption.sc-ic-link,footer.sc-ic-link,header.sc-ic-link,hgroup.sc-ic-link,menu.sc-ic-link,nav.sc-ic-link,output.sc-ic-link,ruby.sc-ic-link,section.sc-ic-link,summary.sc-ic-link,time.sc-ic-link,mark.sc-ic-link,audio.sc-ic-link,video.sc-ic-link{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.link) .ic-link,\n:host(.link) ::slotted(a)*/.link.sc-ic-link-h .ic-link.sc-ic-link,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link .sc-ic-link-s>a{color:var(--ic-hyperlink);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}/*!@:host(.link.dark) .ic-link.dark,\n:host(.link.dark) ::slotted(a)*/.link.dark.sc-ic-link-h .ic-link.dark.sc-ic-link,.sc-ic-link-h.link.dark.sc-ic-link-s>a,.sc-ic-link-h.link.dark .sc-ic-link-s>a{color:var(--ic-color-primary-text)}/*!@:host(.link.light) .ic-link.light,\n:host(.link.light) ::slotted(a)*/.link.light.sc-ic-link-h .ic-link.light.sc-ic-link,.sc-ic-link-h.link.light.sc-ic-link-s>a,.sc-ic-link-h.link.light .sc-ic-link-s>a{color:var(--ic-color-white-text)}/*!@:host(.link) .ic-link:visited,\n:host(.link) ::slotted(a:visited)*/.link.sc-ic-link-h .ic-link.sc-ic-link:visited,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:visited,.sc-ic-link-h.link .sc-ic-link-s>a:visited{color:var(--ic-hyperlink-visited)}/*!@:host(.link) .ic-link:hover,\n:host(.link) .ic-link:focus,\n:host(.link) ::slotted(a:hover),\n:host(.link) ::slotted(a:focus)*/.link.sc-ic-link-h .ic-link.sc-ic-link:hover,.link.sc-ic-link-h .ic-link.sc-ic-link:focus,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:hover,.sc-ic-link-h.link .sc-ic-link-s>a:hover,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link .sc-ic-link-s>a:focus{outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){/*!@:host(.link) .ic-link:hover,\n :host(.link) .ic-link:focus,\n :host(.link) ::slotted(a:hover),\n :host(.link) ::slotted(a:focus)*/.link.sc-ic-link-h .ic-link.sc-ic-link:hover,.link.sc-ic-link-h .ic-link.sc-ic-link:focus,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:hover,.sc-ic-link-h.link .sc-ic-link-s>a:hover,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link .sc-ic-link-s>a:focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}/*!@:host(.link) .ic-link:active,\n:host(.link) .ic-link:focus:active,\n:host(.link) .ic-link:visited:active,\n:host(.link) ::slotted(a:active),\n:host(.link) ::slotted(a:focus:active),\n:host(.link) ::slotted(a:visited:active)*/.link.sc-ic-link-h .ic-link.sc-ic-link:active,.link.sc-ic-link-h .ic-link.sc-ic-link:focus:active,.link.sc-ic-link-h .ic-link.sc-ic-link:visited:active,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:active,.sc-ic-link-h.link .sc-ic-link-s>a:active,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link.sc-ic-link-s>a:focus:active,.sc-ic-link-h.link .sc-ic-link-s>a:focus:active,.sc-ic-link-h.link.sc-ic-link-s>a:visited,.sc-ic-link-h.link.sc-ic-link-s>a:visited:active,.sc-ic-link-h.link .sc-ic-link-s>a:visited:active{text-decoration:none}/*!@.ic-link-open-in-new-icon*/.ic-link-open-in-new-icon.sc-ic-link{vertical-align:middle;margin-left:var(--ic-space-xxs)}/*!@.ic-link > .ic-link-open-in-new-icon*/.ic-link.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink)}/*!@.ic-link.dark > .ic-link-open-in-new-icon*/.ic-link.dark.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-color-primary-text)}/*!@.ic-link.light > .ic-link-open-in-new-icon*/.ic-link.light.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-color-white-text)}/*!@.ic-link-open-in-new-icon > svg*/.ic-link-open-in-new-icon.sc-ic-link>svg.sc-ic-link{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}/*!@.ic-link:visited > .ic-link-open-in-new-icon*/.ic-link.sc-ic-link:visited>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink-visited)}/*!@.ic-link.light:visited > .ic-link-open-in-new-icon*/.ic-link.light.sc-ic-link:visited>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink-contrast-visited)}/*!@:host(.breadcrumb-link) .ic-link*/.breadcrumb-link.sc-ic-link-h .ic-link.sc-ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}/*!@:host(.breadcrumb-link) .ic-link ::slotted(.back-icon)*/.sc-ic-link-h.breadcrumb-link .ic-link .sc-ic-link-s>.back-icon{height:var(--ic-space-lg);width:var(--ic-space-lg)}/*!@:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a)*/.breadcrumb-link.current-page.sc-ic-link-h a.sc-ic-link,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a,.sc-ic-link-h.breadcrumb-link.current-page .sc-ic-link-s>a{font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}/*!@:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus)*/.breadcrumb-link.current-page.sc-ic-link-h .ic-link.sc-ic-link,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a:focus,.sc-ic-link-h.breadcrumb-link.current-page .sc-ic-link-s>a:focus{outline:var(--ic-hc-focus-outline);text-decoration:none}/*!@:host(.breadcrumb-link.current-page) .ic-link:visited*/.breadcrumb-link.current-page.sc-ic-link-h .ic-link.sc-ic-link:visited{color:var(--ic-color-primary-text)}";
14400
+ const icLinkCss = "/*!@html*/html.sc-ic-link{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-link{margin:0}/*!@main*/main.sc-ic-link{display:block}/*!@h1*/h1.sc-ic-link{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-link{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-link{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-link{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-link{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-link,strong.sc-ic-link{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-link,kbd.sc-ic-link,samp.sc-ic-link{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-link{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-link,sup.sc-ic-link{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-link{bottom:-0.25em}/*!@sup*/sup.sc-ic-link{top:-0.5em}/*!@img*/img.sc-ic-link{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-link,input.sc-ic-link,optgroup.sc-ic-link,select.sc-ic-link,textarea.sc-ic-link{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-link,input.sc-ic-link{overflow:visible}/*!@button,\nselect*/button.sc-ic-link,select.sc-ic-link{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-link,[type=\"button\"].sc-ic-link,[type=\"reset\"].sc-ic-link,[type=\"submit\"].sc-ic-link{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-link::-moz-focus-inner,[type=\"button\"].sc-ic-link::-moz-focus-inner,[type=\"reset\"].sc-ic-link::-moz-focus-inner,[type=\"submit\"].sc-ic-link::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-link:-moz-focusring,[type=\"button\"].sc-ic-link:-moz-focusring,[type=\"reset\"].sc-ic-link:-moz-focusring,[type=\"submit\"].sc-ic-link:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-link{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-link{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-link{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-link{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-link,[type=\"radio\"].sc-ic-link{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-link::-webkit-inner-spin-button,[type=\"number\"].sc-ic-link::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-link{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-link::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-link::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-link{display:block}/*!@summary*/summary.sc-ic-link{display:list-item}/*!@template*/template.sc-ic-link{display:none}/*!@[hidden]*/[hidden].sc-ic-link{display:none}/*!@html,\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*/html.sc-ic-link,body.sc-ic-link,div.sc-ic-link,span.sc-ic-link,applet.sc-ic-link,object.sc-ic-link,iframe.sc-ic-link,h1.sc-ic-link,h2.sc-ic-link,h3.sc-ic-link,h4.sc-ic-link,h5.sc-ic-link,h6.sc-ic-link,p.sc-ic-link,blockquote.sc-ic-link,pre.sc-ic-link,a.sc-ic-link,abbr.sc-ic-link,acronym.sc-ic-link,address.sc-ic-link,big.sc-ic-link,cite.sc-ic-link,code.sc-ic-link,del.sc-ic-link,dfn.sc-ic-link,em.sc-ic-link,img.sc-ic-link,ins.sc-ic-link,kbd.sc-ic-link,q.sc-ic-link,s.sc-ic-link,samp.sc-ic-link,small.sc-ic-link,strike.sc-ic-link,strong.sc-ic-link,sub.sc-ic-link,sup.sc-ic-link,tt.sc-ic-link,var.sc-ic-link,b.sc-ic-link,u.sc-ic-link,i.sc-ic-link,center.sc-ic-link,dl.sc-ic-link,dt.sc-ic-link,dd.sc-ic-link,ol.sc-ic-link,ul.sc-ic-link,li.sc-ic-link,fieldset.sc-ic-link,form.sc-ic-link,label.sc-ic-link,legend.sc-ic-link,table.sc-ic-link,caption.sc-ic-link,tbody.sc-ic-link,tfoot.sc-ic-link,thead.sc-ic-link,tr.sc-ic-link,th.sc-ic-link,td.sc-ic-link,article.sc-ic-link,aside.sc-ic-link,canvas.sc-ic-link,details.sc-ic-link,embed.sc-ic-link,figure.sc-ic-link,figcaption.sc-ic-link,footer.sc-ic-link,header.sc-ic-link,hgroup.sc-ic-link,menu.sc-ic-link,nav.sc-ic-link,output.sc-ic-link,ruby.sc-ic-link,section.sc-ic-link,summary.sc-ic-link,time.sc-ic-link,mark.sc-ic-link,audio.sc-ic-link,video.sc-ic-link{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.link) .ic-link,\n:host(.link) ::slotted(a)*/.link.sc-ic-link-h .ic-link.sc-ic-link,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link .sc-ic-link-s>a{color:var(--ic-hyperlink);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}/*!@:host(.link.dark) .ic-link.dark,\n:host(.link.dark) ::slotted(a)*/.link.dark.sc-ic-link-h .ic-link.dark.sc-ic-link,.sc-ic-link-h.link.dark.sc-ic-link-s>a,.sc-ic-link-h.link.dark .sc-ic-link-s>a{color:var(--ic-color-primary-text)}/*!@:host(.link.light) .ic-link.light,\n:host(.link.light) ::slotted(a)*/.link.light.sc-ic-link-h .ic-link.light.sc-ic-link,.sc-ic-link-h.link.light.sc-ic-link-s>a,.sc-ic-link-h.link.light .sc-ic-link-s>a{color:var(--ic-color-white-text)}/*!@:host(.link) .ic-link:visited,\n:host(.link) ::slotted(a:visited)*/.link.sc-ic-link-h .ic-link.sc-ic-link:visited,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:visited,.sc-ic-link-h.link .sc-ic-link-s>a:visited{color:var(--ic-hyperlink-visited)}/*!@:host(.link) .ic-link:hover,\n:host(.link) .ic-link:focus,\n:host(.link) ::slotted(a:hover),\n:host(.link) ::slotted(a:focus)*/.link.sc-ic-link-h .ic-link.sc-ic-link:hover,.link.sc-ic-link-h .ic-link.sc-ic-link:focus,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:hover,.sc-ic-link-h.link .sc-ic-link-s>a:hover,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link .sc-ic-link-s>a:focus{outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){/*!@:host(.link) .ic-link:hover,\n :host(.link) .ic-link:focus,\n :host(.link) ::slotted(a:hover),\n :host(.link) ::slotted(a:focus)*/.link.sc-ic-link-h .ic-link.sc-ic-link:hover,.link.sc-ic-link-h .ic-link.sc-ic-link:focus,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:hover,.sc-ic-link-h.link .sc-ic-link-s>a:hover,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link .sc-ic-link-s>a:focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:10%;border-bottom:0 !important;margin-bottom:0 !important}}/*!@:host(.link) .ic-link:active,\n:host(.link) .ic-link:focus:active,\n:host(.link) .ic-link:visited:active,\n:host(.link) ::slotted(a:active),\n:host(.link) ::slotted(a:focus:active),\n:host(.link) ::slotted(a:visited:active)*/.link.sc-ic-link-h .ic-link.sc-ic-link:active,.link.sc-ic-link-h .ic-link.sc-ic-link:focus:active,.link.sc-ic-link-h .ic-link.sc-ic-link:visited:active,.sc-ic-link-h.link.sc-ic-link-s>a,.sc-ic-link-h.link.sc-ic-link-s>a:active,.sc-ic-link-h.link .sc-ic-link-s>a:active,.sc-ic-link-h.link.sc-ic-link-s>a:focus,.sc-ic-link-h.link.sc-ic-link-s>a:focus:active,.sc-ic-link-h.link .sc-ic-link-s>a:focus:active,.sc-ic-link-h.link.sc-ic-link-s>a:visited,.sc-ic-link-h.link.sc-ic-link-s>a:visited:active,.sc-ic-link-h.link .sc-ic-link-s>a:visited:active{text-decoration:none}/*!@.ic-link-open-in-new-icon*/.ic-link-open-in-new-icon.sc-ic-link{vertical-align:middle;margin-left:var(--ic-space-xxs)}/*!@.ic-link > .ic-link-open-in-new-icon*/.ic-link.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink)}/*!@.ic-link.dark > .ic-link-open-in-new-icon*/.ic-link.dark.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-color-primary-text)}/*!@.ic-link.light > .ic-link-open-in-new-icon*/.ic-link.light.sc-ic-link>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-color-white-text)}/*!@.ic-link-open-in-new-icon > svg*/.ic-link-open-in-new-icon.sc-ic-link>svg.sc-ic-link{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}/*!@.ic-link:visited > .ic-link-open-in-new-icon*/.ic-link.sc-ic-link:visited>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink-visited)}/*!@.ic-link.light:visited > .ic-link-open-in-new-icon*/.ic-link.light.sc-ic-link:visited>.ic-link-open-in-new-icon.sc-ic-link{fill:var(--ic-hyperlink-contrast-visited)}/*!@:host(.breadcrumb-link) .ic-link*/.breadcrumb-link.sc-ic-link-h .ic-link.sc-ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}/*!@:host(.breadcrumb-link) .ic-link ::slotted(.back-icon)*/.sc-ic-link-h.breadcrumb-link .ic-link .sc-ic-link-s>.back-icon{height:var(--ic-space-lg);width:var(--ic-space-lg)}/*!@:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a)*/.breadcrumb-link.current-page.sc-ic-link-h a.sc-ic-link,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a,.sc-ic-link-h.breadcrumb-link.current-page .sc-ic-link-s>a{font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}/*!@:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus)*/.breadcrumb-link.current-page.sc-ic-link-h .ic-link.sc-ic-link,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a,.sc-ic-link-h.breadcrumb-link.current-page.sc-ic-link-s>a:focus,.sc-ic-link-h.breadcrumb-link.current-page .sc-ic-link-s>a:focus{outline:var(--ic-hc-focus-outline);text-decoration:none}/*!@:host(.breadcrumb-link.current-page) .ic-link:visited*/.breadcrumb-link.current-page.sc-ic-link-h .ic-link.sc-ic-link:visited{color:var(--ic-color-primary-text)}";
14226
14401
 
14227
14402
  /**
14228
14403
  * @slot router-item - Handle routing by nesting your routes in this slot.
@@ -16697,7 +16872,7 @@ class Menu$1 {
16697
16872
  this.scrollToSelected = (menu) => {
16698
16873
  const selectedOption = this.selectOnEnter
16699
16874
  ? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
16700
- : menu.querySelector(".option[aria-selected]");
16875
+ : menu.querySelector(".option[aria-selected='true']");
16701
16876
  if (selectedOption) {
16702
16877
  const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
16703
16878
  if (elTop > menu.scrollTop + menu.offsetHeight ||
@@ -16759,7 +16934,7 @@ class Menu$1 {
16759
16934
  option[this.valueField] === optionHighlighted) &&
16760
16935
  keyboardNav
16761
16936
  ? "0"
16762
- : "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", { id: "error-title" }, "Error"), hAsync("g", { id: "close-octagon" }, hAsync("path", { id: "Vector", d: "M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" }))), hAsync("ic-typography", { variant: "label" }, option[this.labelField])), hAsync("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
16937
+ : "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": `${option[this.valueField] === value}`, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", { id: "error-title" }, "Error"), hAsync("g", { id: "close-octagon" }, hAsync("path", { id: "Vector", d: "M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" }))), hAsync("ic-typography", { variant: "label" }, option[this.labelField])), hAsync("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
16763
16938
  };
16764
16939
  this.focusFromSearchKeypress = false;
16765
16940
  this.initialOptionsListRender = false;
@@ -18826,9 +19001,12 @@ class Menu {
18826
19001
  this.isMultiSelect = false;
18827
19002
  this.isSearchBar = false;
18828
19003
  this.isSearchableSelect = false;
19004
+ this.lastOptionSelected = null; // Index of last option selected
19005
+ this.lastOptionFocused = null; // Index of last option focused
18829
19006
  this.multiOptionClicked = null;
18830
19007
  this.preventClickOpen = false; // Prevents menu re-opening immediately after it is closed on blur when clicking input.
18831
19008
  this.preventMenuFocus = false; // (When multiple) ensures focus moves straight to select all button from menu.
19009
+ this.shiftPressed = false;
18832
19010
  this.ungroupedOptions = [];
18833
19011
  this.handleClearListener = () => {
18834
19012
  this.optionHighlighted = "";
@@ -18948,7 +19126,6 @@ class Menu {
18948
19126
  }
18949
19127
  else {
18950
19128
  this.setInputValue(highlightedOptionIndex);
18951
- this.value = options[highlightedOptionIndex][this.valueField];
18952
19129
  }
18953
19130
  }
18954
19131
  }
@@ -18961,16 +19138,38 @@ class Menu {
18961
19138
  this.handleMenuChange(true);
18962
19139
  }
18963
19140
  };
19141
+ // Check if option is selected based on the index of the option
19142
+ this.isOptionSelected = (index) => {
19143
+ const menuOptions = this.getMenuOptions();
19144
+ return this.value
19145
+ ? this.value.includes(menuOptions[index][this.valueField])
19146
+ : false;
19147
+ };
19148
+ // Deselect currently selected options when shift pressed, but keep certain options selected
19149
+ this.deselectSelectedOptions = (optionsToKeepSelected) => {
19150
+ const menuOptions = this.getMenuOptions();
19151
+ if (this.value) {
19152
+ const selectedOptionIndexes = this.value.map((value) => {
19153
+ return menuOptions.findIndex((option) => option[this.valueField] === value);
19154
+ });
19155
+ // Call setInputValue (which toggles the selected state) on options that need to be deselected
19156
+ selectedOptionIndexes.forEach((index) => !optionsToKeepSelected.includes(index) && this.setInputValue(index));
19157
+ }
19158
+ };
18964
19159
  // Determines keyboard behaviour when selection is manual (i.e. when you have to press Enter to select an option)
18965
19160
  this.manualSetInputValueKeyboardOpen = (event) => {
18966
19161
  const menuOptions = this.getMenuOptions();
18967
- this.keyboardNav = false;
18968
- const highlightedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
19162
+ // Prevent focus disappearing on currently focused option when Shift / Cmd / Ctrl pressed
19163
+ // (i.e. when user is likely in the middle of executing a keyboard combination to select options)
19164
+ if (!(event.shiftKey || event.metaKey || event.ctrlKey)) {
19165
+ this.keyboardNav = false;
19166
+ }
19167
+ const highlightedOptionIndex = this.getOptionHighlightedIndex();
18969
19168
  const clickedMultiOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.multiOptionClicked);
18970
19169
  const getOptionId = (index) => { var _a; return (_a = Array.from(this.el.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
18971
19170
  // Space press should be equivalent to Enter when multi-select
18972
19171
  if (event.key === " " && this.isMultiSelect) {
18973
- this.selectHighlightedOption(event.target, menuOptions, highlightedOptionIndex);
19172
+ this.handleOptionSelect(event, highlightedOptionIndex);
18974
19173
  }
18975
19174
  else {
18976
19175
  switch (event.key) {
@@ -18983,18 +19182,32 @@ class Menu {
18983
19182
  this.setHighlightedOption(clickedMultiOptionIndex);
18984
19183
  this.multiOptionClicked = null;
18985
19184
  }
18986
- else if (highlightedOptionIndex < menuOptions.length - 1) {
18987
- this.setHighlightedOption(highlightedOptionIndex + 1);
18988
- this.menuOptionId.emit({
18989
- optionId: getOptionId(highlightedOptionIndex + 1),
18990
- });
18991
- }
18992
19185
  else {
18993
- this.setHighlightedOption(0);
18994
- this.menuOptionId.emit({
18995
- optionId: getOptionId(0),
18996
- });
19186
+ this.handleSingleShiftSelect(event, highlightedOptionIndex, menuOptions);
19187
+ if (highlightedOptionIndex < menuOptions.length - 1) {
19188
+ this.setHighlightedOption(highlightedOptionIndex + 1);
19189
+ this.menuOptionId.emit({
19190
+ optionId: getOptionId(highlightedOptionIndex + 1),
19191
+ });
19192
+ this.handleSingleShiftSelect(event, highlightedOptionIndex + 1, menuOptions);
19193
+ }
19194
+ else {
19195
+ this.setHighlightedOption(0);
19196
+ this.menuOptionId.emit({
19197
+ optionId: getOptionId(0),
19198
+ });
19199
+ this.handleSingleShiftSelect(event, 0, menuOptions);
19200
+ }
19201
+ // Deselect currently selected options if arrow was pressed for first time after shift is held
19202
+ if (this.isMultiSelect && this.shiftPressed) {
19203
+ this.deselectSelectedOptions([
19204
+ highlightedOptionIndex,
19205
+ this.getOptionHighlightedIndex(),
19206
+ ]);
19207
+ this.shiftPressed = false;
19208
+ }
18997
19209
  }
19210
+ this.lastOptionFocused = this.getOptionHighlightedIndex();
18998
19211
  this.preventIncorrectTabOrder = false;
18999
19212
  this.focusFromSearchKeypress = false;
19000
19213
  break;
@@ -19007,40 +19220,68 @@ class Menu {
19007
19220
  this.setHighlightedOption(clickedMultiOptionIndex);
19008
19221
  this.multiOptionClicked = null;
19009
19222
  }
19010
- else if (highlightedOptionIndex <= 0 ||
19011
- highlightedOptionIndex > menuOptions.length + 1) {
19012
- this.setHighlightedOption(menuOptions.length - 1);
19013
- this.menuOptionId.emit({
19014
- optionId: getOptionId(menuOptions.length - 1),
19015
- });
19016
- }
19017
19223
  else {
19018
- this.setHighlightedOption(highlightedOptionIndex - 1);
19019
- this.menuOptionId.emit({
19020
- optionId: getOptionId(highlightedOptionIndex - 1),
19021
- });
19224
+ this.handleSingleShiftSelect(event, highlightedOptionIndex, menuOptions);
19225
+ if (highlightedOptionIndex <= 0 ||
19226
+ highlightedOptionIndex > menuOptions.length + 1) {
19227
+ this.setHighlightedOption(menuOptions.length - 1);
19228
+ this.menuOptionId.emit({
19229
+ optionId: getOptionId(menuOptions.length - 1),
19230
+ });
19231
+ this.handleSingleShiftSelect(event, menuOptions.length - 1, menuOptions);
19232
+ }
19233
+ else {
19234
+ this.setHighlightedOption(highlightedOptionIndex - 1);
19235
+ this.menuOptionId.emit({
19236
+ optionId: getOptionId(highlightedOptionIndex - 1),
19237
+ });
19238
+ this.handleSingleShiftSelect(event, highlightedOptionIndex - 1, menuOptions);
19239
+ }
19240
+ // Deselect currently selected options if arrow was pressed for first time after shift is held
19241
+ if (this.isMultiSelect && this.shiftPressed) {
19242
+ this.deselectSelectedOptions([
19243
+ highlightedOptionIndex,
19244
+ this.getOptionHighlightedIndex(),
19245
+ ]);
19246
+ this.shiftPressed = false;
19247
+ }
19022
19248
  }
19249
+ this.lastOptionFocused = this.getOptionHighlightedIndex();
19023
19250
  this.preventIncorrectTabOrder = false;
19024
19251
  this.focusFromSearchKeypress = false;
19025
19252
  break;
19026
- case "Home":
19253
+ case "Home": {
19254
+ const startOptionIndex = 0;
19027
19255
  this.keyboardNav = true;
19028
19256
  event.preventDefault();
19029
19257
  this.arrowBehaviour(event);
19030
- this.setHighlightedOption(0);
19258
+ this.setHighlightedOption(startOptionIndex);
19031
19259
  this.menuOptionId.emit({
19032
- optionId: getOptionId(0),
19260
+ optionId: getOptionId(startOptionIndex),
19033
19261
  });
19262
+ if (event.shiftKey && event.ctrlKey) {
19263
+ this.handleMultipleShiftSelect(startOptionIndex);
19264
+ }
19265
+ this.lastOptionFocused = startOptionIndex;
19266
+ this.lastOptionSelected = startOptionIndex;
19034
19267
  break;
19035
- case "End":
19268
+ }
19269
+ case "End": {
19270
+ const endOptionIndex = menuOptions.length - 1;
19036
19271
  this.keyboardNav = true;
19037
19272
  event.preventDefault();
19038
19273
  this.arrowBehaviour(event);
19039
- this.setHighlightedOption(menuOptions.length - 1);
19274
+ this.setHighlightedOption(endOptionIndex);
19040
19275
  this.menuOptionId.emit({
19041
- optionId: getOptionId(menuOptions.length - 1),
19276
+ optionId: getOptionId(endOptionIndex),
19042
19277
  });
19278
+ if (event.shiftKey && event.ctrlKey) {
19279
+ this.handleMultipleShiftSelect(endOptionIndex);
19280
+ }
19281
+ this.lastOptionFocused = endOptionIndex;
19282
+ this.lastOptionSelected = endOptionIndex;
19043
19283
  break;
19284
+ }
19044
19285
  case " ":
19045
19286
  if (this.isSearchBar || this.isSearchableSelect) {
19046
19287
  break;
@@ -19053,7 +19294,7 @@ class Menu {
19053
19294
  break;
19054
19295
  case "Enter":
19055
19296
  event.preventDefault();
19056
- this.selectHighlightedOption(event.target, menuOptions, highlightedOptionIndex);
19297
+ this.handleOptionSelect(event, highlightedOptionIndex);
19057
19298
  break;
19058
19299
  case "Escape":
19059
19300
  if (this.open) {
@@ -19068,10 +19309,15 @@ class Menu {
19068
19309
  if ((isMacDevice() && event.metaKey) ||
19069
19310
  (!isMacDevice() && event.ctrlKey)) {
19070
19311
  this.emitSelectAll();
19312
+ this.lastOptionFocused = null;
19313
+ this.lastOptionSelected = null;
19071
19314
  }
19072
19315
  break;
19073
19316
  case "Shift":
19074
19317
  case "Tab":
19318
+ if (event.key === "Shift") {
19319
+ this.shiftPressed = true;
19320
+ }
19075
19321
  if (this.isSearchBar) {
19076
19322
  this.keyboardNav = true;
19077
19323
  }
@@ -19137,14 +19383,17 @@ class Menu {
19137
19383
  };
19138
19384
  this.handleOptionClick = (event) => {
19139
19385
  const { value, label } = event.target.dataset;
19140
- this.menuOptionSelect.emit({ value, label });
19141
- this.optionHighlighted = undefined;
19142
19386
  if (this.isMultiSelect) {
19387
+ const menuOptions = this.getMenuOptions();
19388
+ const selectedOptionIndex = menuOptions.findIndex((option) => option.value === value);
19389
+ this.handleOptionSelect(event, selectedOptionIndex, true);
19143
19390
  this.multiOptionClicked = value;
19144
19391
  }
19145
19392
  else {
19393
+ this.menuOptionSelect.emit({ value, label });
19146
19394
  this.handleMenuChange(false);
19147
19395
  }
19396
+ this.optionHighlighted = undefined;
19148
19397
  };
19149
19398
  this.handleRetry = () => {
19150
19399
  this.retryButtonClicked.emit({ value: this.value });
@@ -19164,12 +19413,16 @@ class Menu {
19164
19413
  event.relatedTarget === this.selectAllButton)) {
19165
19414
  this.handleMenuChange(false, this.hasPreviouslyBlurred);
19166
19415
  this.menu.removeAttribute(this.activeDescendantAttr);
19416
+ this.lastOptionFocused = null;
19417
+ this.lastOptionSelected = null;
19167
19418
  }
19168
19419
  }
19169
19420
  else {
19170
19421
  this.handleMenuChange(false);
19171
19422
  this.preventClickOpen = true;
19172
19423
  this.menu.removeAttribute(this.activeDescendantAttr);
19424
+ this.lastOptionFocused = null;
19425
+ this.lastOptionSelected = null;
19173
19426
  }
19174
19427
  if (!this.isSearchBar)
19175
19428
  this.hasPreviouslyBlurred = !!event.relatedTarget;
@@ -19193,11 +19446,16 @@ class Menu {
19193
19446
  this.disabledOptionSelected = false;
19194
19447
  event.stopImmediatePropagation();
19195
19448
  }
19449
+ if (event.key === "Shift") {
19450
+ this.shiftPressed = false;
19451
+ }
19196
19452
  };
19197
19453
  this.handleSelectAllClick = () => {
19198
19454
  this.keyboardNav = false;
19199
19455
  this.menu.focus();
19200
19456
  this.emitSelectAll();
19457
+ this.lastOptionFocused = null;
19458
+ this.lastOptionSelected = null;
19201
19459
  };
19202
19460
  this.handleSelectAllBlur = (event) => {
19203
19461
  this.el.classList.remove("select-all-focused");
@@ -19207,11 +19465,65 @@ class Menu {
19207
19465
  };
19208
19466
  this.handleSelectAllFocus = () => {
19209
19467
  this.el.classList.add("select-all-focused");
19468
+ this.lastOptionFocused = null;
19469
+ this.lastOptionSelected = null;
19210
19470
  };
19211
19471
  // Fix for Safari - select all button click was causing menu to close
19212
19472
  this.handleSelectAllMouseDown = (event) => {
19213
19473
  event.preventDefault();
19214
19474
  };
19475
+ // When shift key is being used to select contiguous options one by one on a multi-select
19476
+ // I.e. holding shift and pressing up and down arrow keys
19477
+ this.handleSingleShiftSelect = (event, optionToSelectIndex, options) => {
19478
+ if (this.isMultiSelect &&
19479
+ event.shiftKey &&
19480
+ !this.isOptionSelected(optionToSelectIndex)) {
19481
+ this.selectHighlightedOption(event.target, options, optionToSelectIndex);
19482
+ this.lastOptionSelected = optionToSelectIndex;
19483
+ }
19484
+ };
19485
+ // When shift key is being used to select multiple options at once on a multi-select
19486
+ // I.e. holding shift when selecting another option
19487
+ this.handleMultipleShiftSelect = (lastOptionInSelection, useFocusForSelection = false, firstOptionSelected = null) => {
19488
+ this.shiftPressed = false;
19489
+ const firstOptionInSelection = firstOptionSelected === null
19490
+ ? this.getFirstOptionInSelection(useFocusForSelection)
19491
+ : firstOptionSelected;
19492
+ if (firstOptionInSelection !== null) {
19493
+ const optionsToSelect = [];
19494
+ if (firstOptionInSelection < lastOptionInSelection) {
19495
+ for (let i = firstOptionInSelection; i < lastOptionInSelection + 1; i++) {
19496
+ optionsToSelect.push(i);
19497
+ }
19498
+ }
19499
+ else {
19500
+ for (let i = firstOptionInSelection; i > lastOptionInSelection - 1; i--) {
19501
+ optionsToSelect.push(i);
19502
+ }
19503
+ }
19504
+ optionsToSelect.forEach((optionIndex) => !this.isOptionSelected(optionIndex) && this.setInputValue(optionIndex));
19505
+ this.deselectSelectedOptions(optionsToSelect);
19506
+ }
19507
+ };
19508
+ this.handleOptionSelect = (event, optionIndex, useFocusForSelection = false) => {
19509
+ const menuOptions = this.getMenuOptions();
19510
+ const firstOptionInSelection = this.getFirstOptionInSelection(useFocusForSelection);
19511
+ if (event.shiftKey && firstOptionInSelection !== null) {
19512
+ this.handleMultipleShiftSelect(optionIndex, useFocusForSelection, firstOptionInSelection);
19513
+ }
19514
+ else {
19515
+ this.selectHighlightedOption(event.target, menuOptions, optionIndex);
19516
+ }
19517
+ this.lastOptionFocused = optionIndex;
19518
+ this.lastOptionSelected = optionIndex;
19519
+ };
19520
+ this.getFirstOptionInSelection = (useFocusForSelection) => {
19521
+ return useFocusForSelection && this.lastOptionFocused !== null
19522
+ ? this.lastOptionFocused
19523
+ : this.lastOptionSelected !== null
19524
+ ? this.lastOptionSelected
19525
+ : null;
19526
+ };
19215
19527
  this.emitSelectAll = () => {
19216
19528
  var _a;
19217
19529
  // Select all if there is either no value or not all options are selected
@@ -19310,6 +19622,10 @@ class Menu {
19310
19622
  }
19311
19623
  return sorted;
19312
19624
  };
19625
+ this.getOptionHighlightedIndex = () => {
19626
+ const menuOptions = this.getMenuOptions();
19627
+ return menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
19628
+ };
19313
19629
  this.isManualMode = this.activationType === "manual";
19314
19630
  this.scrollToSelected = (menu) => {
19315
19631
  const selectedOption = this.selectOnEnter
@@ -19615,7 +19931,7 @@ class Menu {
19615
19931
  "size": [1],
19616
19932
  "small": [4],
19617
19933
  "options": [16],
19618
- "value": [1025],
19934
+ "value": [1],
19619
19935
  "valueField": [1, "value-field"],
19620
19936
  "focusFromSearchKeypress": [32],
19621
19937
  "initialOptionsListRender": [32],
@@ -19702,7 +20018,7 @@ class MenuItem {
19702
20018
  if (this.el.classList.contains("ic-popover-submenu-back-button")) {
19703
20019
  ariaLabel = "Go back to parent menu";
19704
20020
  }
19705
- const parentEl = getParentElement(this.el);
20021
+ const parentEl = this.el.parentElement;
19706
20022
  if (parentEl.tagName === "IC-MENU-GROUP" &&
19707
20023
  parentEl.label) {
19708
20024
  return `${ariaLabel}, ${parentEl.label} menu group`;
@@ -19757,7 +20073,7 @@ class MenuItem {
19757
20073
  ? "menu"
19758
20074
  : false, ariaOwnsId: isPropDefined(this.submenuTriggerFor)
19759
20075
  ? `ic-popover-submenu-${this.submenuTriggerFor}`
19760
- : false }, hAsync("div", { class: "focus-border" }, isSlotUsed(this.el, "icon") && (hAsync("span", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync(MenuItemInformation, null), this.variant === "toggle" && (hAsync("span", { class: {
20076
+ : false }, hAsync("div", { class: "focus-border" }, isSlotUsed$1(this.el, "icon") && (hAsync("span", { class: "icon" }, hAsync("slot", { name: "icon" }))), hAsync(MenuItemInformation, null), this.variant === "toggle" && (hAsync("span", { class: {
19761
20077
  ["check-icon"]: true,
19762
20078
  ["hide"]: !this.toggleChecked,
19763
20079
  }, "aria-hidden": "true", innerHTML: checkIcon })), isPropDefined(this.submenuTriggerFor) && (hAsync("span", { class: { ["submenu-icon"]: true }, "aria-hidden": "true", innerHTML: chevronIcon })))))));
@@ -19885,7 +20201,7 @@ class NavigationButton {
19885
20201
  fullWidth,
19886
20202
  disableTooltip,
19887
20203
  };
19888
- return (hAsync(Host, { class: { ["in-side-menu"]: this.mode === "menu" } }, hAsync("ic-button", Object.assign({ class: className, "aria-label": variant == "icon" ? this.label : null, ref: (el) => (this.buttonEl = el) }, buttonProps, this.inheritedAttributes), label, hAsync("slot", { slot: "left-icon", name: "icon" }), isSlotUsed(this.el, "badge") && variant === "icon" && (hAsync("slot", { name: "badge" })))));
20204
+ return (hAsync(Host, { class: { ["in-side-menu"]: this.mode === "menu" } }, hAsync("ic-button", Object.assign({ class: className, "aria-label": variant == "icon" ? this.label : null, ref: (el) => (this.buttonEl = el) }, buttonProps, this.inheritedAttributes), label, hAsync("slot", { slot: "left-icon", name: "icon" }), isSlotUsed$1(this.el, "badge") && variant === "icon" && (hAsync("slot", { name: "badge" })))));
19889
20205
  }
19890
20206
  static get delegatesFocus() { return true; }
19891
20207
  get el() { return getElement(this); }
@@ -20246,7 +20562,7 @@ class NavigationItem {
20246
20562
  this.displayDefaultNavigationItem = (href, hreflang, target, rel, referrerpolicy, download, label) => {
20247
20563
  const variant = this.isTopNavChild || this.inTopNavSideMenu ? "body" : "label";
20248
20564
  const ChevronIconComponent = this.expandable && (hAsync("div", { class: { svg: true }, innerHTML: chevronIcon }));
20249
- const IconComponent = this.el.querySelector('[slot="icon"]') && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" })));
20565
+ const IconComponent = this.el.querySelector('[slot="icon"]') && (hAsync("div", { class: "icon" }, hAsync("slot", { name: "icon" }), isSlotUsed$1(this.el, "badge") && hAsync("slot", { name: "badge" })));
20250
20566
  if (href !== "") {
20251
20567
  return (hAsync("a", { href: href, target: target, rel: rel, hreflang: hreflang, referrerPolicy: referrerpolicy, download: download !== false ? download : null, class: "link", ref: (el) => (this.itemEl = el), part: "link" }, IconComponent, hAsync("ic-typography", { variant: variant }, label), hAsync("div", { class: "chevron-container" }, ChevronIconComponent), target === "_blank" && (hAsync("span", { class: "open-in-new-icon", innerHTML: OpenInNew }))));
20252
20568
  }
@@ -20467,7 +20783,7 @@ class NavigationMenu {
20467
20783
  }
20468
20784
  componentWillLoad() {
20469
20785
  this.navBarEl = document.querySelector("ic-top-navigation");
20470
- const navigationEls = getSlotContent(this.el, "navigation");
20786
+ const navigationEls = getSlotContent$1(this.el, "navigation");
20471
20787
  if (navigationEls) {
20472
20788
  this.hasNavigation = true;
20473
20789
  const lastEl = navigationEls[navigationEls.length - 1];
@@ -20479,7 +20795,7 @@ class NavigationMenu {
20479
20795
  this.navGroupFirst = true;
20480
20796
  }
20481
20797
  }
20482
- const buttonContent = getSlotContent(this.el, "buttons");
20798
+ const buttonContent = getSlotContent$1(this.el, "buttons");
20483
20799
  if (buttonContent !== null) {
20484
20800
  this.hasButtons = true;
20485
20801
  this.lastTabStop = buttonContent[buttonContent.length - 1];
@@ -20488,7 +20804,7 @@ class NavigationMenu {
20488
20804
  if (this.hasNavigation) {
20489
20805
  const lastEl = navigationEls[navigationEls.length - 1];
20490
20806
  //check for slotted content i.e. react router link
20491
- const slotContent = getSlot(lastEl, "navigation-item");
20807
+ const slotContent = getSlot$1(lastEl, "navigation-item");
20492
20808
  if (slotContent !== null) {
20493
20809
  this.lastTabStop = slotContent;
20494
20810
  }
@@ -20502,8 +20818,8 @@ class NavigationMenu {
20502
20818
  this.focusCloseButton();
20503
20819
  }
20504
20820
  componentWillRender() {
20505
- this.hasNavigation = isSlotUsed(this.el, "navigation");
20506
- this.hasButtons = isSlotUsed(this.el, "buttons");
20821
+ this.hasNavigation = isSlotUsed$1(this.el, "navigation");
20822
+ this.hasButtons = isSlotUsed$1(this.el, "buttons");
20507
20823
  }
20508
20824
  navItemClickHandler() {
20509
20825
  this.closeMenu();
@@ -20570,7 +20886,7 @@ class PageHeader {
20570
20886
  registerInstance(this, hostRef);
20571
20887
  this.resizeObserver = null;
20572
20888
  this.resizeObserverCallback = () => {
20573
- if (this.reverseOrder && isSlotUsed(this.el, "actions")) {
20889
+ if (this.reverseOrder && isSlotUsed$1(this.el, "actions")) {
20574
20890
  this.applyReverseOrder();
20575
20891
  }
20576
20892
  };
@@ -20652,13 +20968,13 @@ class PageHeader {
20652
20968
  ["sticky-desktop"]: !sticky && stickyDesktopOnly,
20653
20969
  } }, hAsync("header", { class: {
20654
20970
  ["border-bottom"]: border,
20655
- ["tabs"]: isSlotUsed(this.el, "tabs"),
20656
- } }, hAsync("ic-section-container", { aligned: aligned, fullHeight: isSlotUsed(this.el, "tabs") }, isSlotUsed(this.el, "breadcrumbs") && (hAsync("div", { class: "breadcrumb-area" }, hAsync("slot", { name: "breadcrumbs" }))), hAsync("div", { class: "main-content" }, hAsync("div", { class: "title-area" }, hAsync("div", { class: "header-content" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: small || size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", null, heading))), hAsync("slot", { name: "heading-adornment" })), hAsync("div", null, hAsync("slot", { name: "subheading" }, subheading && (hAsync("ic-typography", { variant: "body", class: {
20971
+ ["tabs"]: isSlotUsed$1(this.el, "tabs"),
20972
+ } }, hAsync("ic-section-container", { aligned: aligned, fullHeight: isSlotUsed$1(this.el, "tabs") }, isSlotUsed$1(this.el, "breadcrumbs") && (hAsync("div", { class: "breadcrumb-area" }, hAsync("slot", { name: "breadcrumbs" }))), hAsync("div", { class: "main-content" }, hAsync("div", { class: "title-area" }, hAsync("div", { class: "header-content" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: small || size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", null, heading))), hAsync("slot", { name: "heading-adornment" })), hAsync("div", null, hAsync("slot", { name: "subheading" }, subheading && (hAsync("ic-typography", { variant: "body", class: {
20657
20973
  ["subheading"]: true,
20658
20974
  ["small"]: small || size === "small",
20659
- } }, subheading))))), isSlotUsed(this.el, "actions") && (hAsync("div", { class: "action-area" }, hAsync("slot", { name: "actions" }))), isSlotUsed(this.el, "input") && (hAsync("div", { class: "input-area" }, hAsync("slot", { name: "input" })))), (isSlotUsed(this.el, "stepper") ||
20660
- isSlotUsed(this.el, "tabs")) && (hAsync("div", { class: "navigation-area" }, isSlotUsed(this.el, "stepper") &&
20661
- !isSlotUsed(this.el, "tabs") && hAsync("slot", { name: "stepper" }), isSlotUsed(this.el, "tabs") && (hAsync("nav", { "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", null, hAsync("ul", { class: "tabs-slot" }, hAsync("slot", { name: "tabs" })))))))))));
20975
+ } }, subheading))))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { class: "action-area" }, hAsync("slot", { name: "actions" }))), isSlotUsed$1(this.el, "input") && (hAsync("div", { class: "input-area" }, hAsync("slot", { name: "input" })))), (isSlotUsed$1(this.el, "stepper") ||
20976
+ isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { class: "navigation-area" }, isSlotUsed$1(this.el, "stepper") &&
20977
+ !isSlotUsed$1(this.el, "tabs") && hAsync("slot", { name: "stepper" }), isSlotUsed$1(this.el, "tabs") && (hAsync("nav", { "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", null, hAsync("ul", { class: "tabs-slot" }, hAsync("slot", { name: "tabs" })))))))))));
20662
20978
  }
20663
20979
  get el() { return getElement(this); }
20664
20980
  static get style() { return icPageHeaderCss; }
@@ -20935,86 +21251,59 @@ class PaginationBar {
20935
21251
  registerInstance(this, hostRef);
20936
21252
  this.icPageChange = createEvent(this, "icPageChange", 7);
20937
21253
  this.icItemsPerPageChange = createEvent(this, "icItemsPerPageChange", 7);
20938
- this.PAGINATION = "ic-pagination";
20939
- this.TEXT_FIELD = "ic-text-field";
20940
- this.TOOLTIP = "ic-tooltip";
20941
21254
  this.PAGE_INPUT_FIELD_ID = "go-to-page-input";
20942
21255
  this.INVALID_PAGE_ERROR = "Please enter a valid page";
20943
21256
  this.NAN_ERROR = "Please enter a number";
20944
21257
  this.resizeObserver = null;
20945
21258
  this.changeItemsPerPage = () => {
20946
- const select = this.el.shadowRoot.querySelector("ic-select");
20947
- const value = select.value;
20948
- this.itemsPerPage = value;
20949
- this.setNumberPages();
20950
- this.setUpperBound();
20951
- const pagination = this.el.shadowRoot.querySelector(this.PAGINATION);
20952
- if (this.currentPage > this.totalPages) {
20953
- pagination.setCurrentPage(this.totalPages);
20954
- this.currentPage = this.totalPages;
20955
- }
20956
- this.icItemsPerPageChange.emit({ value: Number(this.itemsPerPage) });
20957
- this.icPageChange.emit({ value: this.currentPage });
21259
+ this.setItemsPerPage(Number(this.pageDropdownEl.value));
20958
21260
  };
20959
21261
  this.changePage = (page) => {
20960
21262
  this.currentPage = page;
20961
- this.lowerBound =
20962
- page !== 1 ? (page - 1) * Number(this.itemsPerPage) + 1 : page;
21263
+ this.lowerBound = page !== 1 ? (page - 1) * this.itemsPerPage + 1 : page;
20963
21264
  this.setUpperBound();
20964
21265
  };
20965
21266
  this.goToPage = () => {
20966
- const input = this.el.shadowRoot.querySelector(this.TEXT_FIELD);
21267
+ const input = this.pageInputEl;
20967
21268
  const page = Number(input.value);
20968
- const tooltip = this.el.shadowRoot.querySelector("ic-tooltip");
20969
21269
  if (page <= this.totalPages && page > 0) {
20970
21270
  this.changePage(page);
20971
- const pagination = this.el.shadowRoot.querySelector(this.PAGINATION);
20972
- pagination.setCurrentPage(page);
21271
+ this.paginationEl.setCurrentPage(page);
20973
21272
  this.currentPage = page;
20974
21273
  input.value = "";
20975
21274
  this.icPageChange.emit({ value: page });
20976
- tooltip.displayTooltip(false, false);
21275
+ this.pageInputTooltipEl.displayTooltip(false, false);
20977
21276
  input.validationStatus = "";
20978
21277
  }
20979
21278
  else {
20980
- this.inputError = this.INVALID_PAGE_ERROR;
20981
- input.validationStatus = "error";
20982
- input.setFocus();
21279
+ this.setInputError(input, this.INVALID_PAGE_ERROR);
20983
21280
  }
20984
21281
  };
20985
21282
  this.handleBlur = () => {
20986
- var _a, _b;
20987
- const textField = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.TEXT_FIELD);
20988
- const tooltip = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(this.TOOLTIP);
21283
+ const textField = this.pageInputEl;
20989
21284
  if ((Number(textField.value) <= this.totalPages &&
20990
21285
  Number(textField.value) > 0) ||
20991
21286
  textField.value === "") {
20992
21287
  textField.validationStatus = "";
20993
21288
  }
20994
- tooltip.displayTooltip(false, false);
21289
+ this.pageInputTooltipEl.displayTooltip(false, false);
20995
21290
  };
20996
21291
  this.handleFocus = () => {
20997
- var _a, _b;
20998
- const textField = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.TEXT_FIELD);
20999
- const tooltip = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(this.TOOLTIP);
21000
- if (textField.validationStatus === "error") {
21001
- tooltip.displayTooltip(true, true);
21292
+ if (this.pageInputEl.validationStatus === "error") {
21293
+ this.pageInputTooltipEl.displayTooltip(true, true);
21002
21294
  }
21003
21295
  };
21004
21296
  this.handleInputChange = () => {
21005
- const tooltip = this.el.shadowRoot.querySelector(this.TOOLTIP);
21006
- const textField = this.el.shadowRoot.querySelector(this.TEXT_FIELD);
21297
+ const textField = this.pageInputEl;
21007
21298
  const inputValue = parseInt(textField.value);
21008
21299
  if (inputValue > this.totalPages || inputValue <= 0) {
21009
- this.inputError = this.INVALID_PAGE_ERROR;
21010
- tooltip.displayTooltip(true, true);
21011
- textField.validationStatus = "error";
21012
- textField.focus();
21300
+ this.setInputError(textField, this.INVALID_PAGE_ERROR);
21301
+ this.pageInputTooltipEl.displayTooltip(true, true);
21013
21302
  }
21014
21303
  };
21015
21304
  this.handleKeydown = (ev) => {
21016
- const tooltip = this.el.shadowRoot.querySelector(this.TOOLTIP);
21017
- const textField = this.el.shadowRoot.querySelector(this.TEXT_FIELD);
21305
+ const tooltip = this.pageInputTooltipEl;
21306
+ const textField = this.pageInputEl;
21018
21307
  if (ev.key === "Enter") {
21019
21308
  if (textField.validationStatus === "error") {
21020
21309
  tooltip.displayTooltip(true, true);
@@ -21029,23 +21318,20 @@ class PaginationBar {
21029
21318
  }
21030
21319
  };
21031
21320
  this.handleKeyUp = (ev) => {
21032
- const tooltip = this.el.shadowRoot.querySelector(this.TOOLTIP);
21033
- const textField = this.el.shadowRoot.querySelector(this.TEXT_FIELD);
21321
+ const textField = this.pageInputEl;
21034
21322
  const inputValue = parseInt(textField.value);
21035
21323
  if (Number.isNaN(inputValue) &&
21036
21324
  ev.key !== "Backspace" &&
21037
21325
  ev.key !== "Enter" &&
21038
21326
  ev.key !== "Tab" &&
21039
21327
  ev.key !== "Shift") {
21040
- this.inputError = this.NAN_ERROR;
21041
- tooltip.displayTooltip(true, false);
21042
- textField.validationStatus = "error";
21328
+ this.setInputError(textField, this.NAN_ERROR, false);
21329
+ this.pageInputTooltipEl.displayTooltip(true, false);
21043
21330
  }
21044
21331
  };
21045
21332
  this.paginationShouldWrap = () => {
21046
- const pagination = this.el.shadowRoot.querySelector(this.PAGINATION);
21047
- if (this.paginationControl === "simple") {
21048
- if (pagination.clientHeight > 63) {
21333
+ if (this.type === "simple") {
21334
+ if (this.paginationEl.clientHeight > 63) {
21049
21335
  this.paginationWrapped = true;
21050
21336
  }
21051
21337
  else {
@@ -21067,24 +21353,25 @@ class PaginationBar {
21067
21353
  });
21068
21354
  this.resizeObserver.observe(this.paginationBarEl);
21069
21355
  };
21070
- this.setDefaultItemsPerPage = () => {
21071
- this.itemsPerPage = this.itemsPerPageOptions[0].value;
21072
- };
21073
- this.setDefaultItemsPerPageOptions = () => {
21074
- this.itemsPerPageOptions =
21075
- this.totalItems <= 100
21076
- ? [
21077
- { label: "10", value: "10" },
21078
- { label: "25", value: "25" },
21079
- { label: "50", value: "50" },
21080
- { label: "All", value: String(this.totalItems) },
21081
- ]
21082
- : [
21083
- { label: "25", value: "25" },
21084
- { label: "100", value: "100" },
21085
- { label: "1000", value: "1000" },
21086
- { label: "All", value: String(this.totalItems) },
21087
- ];
21356
+ this.setDisplayedItemsPerPageOptions = () => {
21357
+ if (this.itemsPerPageOptions === undefined ||
21358
+ this.itemsPerPageOptions === null) {
21359
+ this.displayedItemsPerPageOptions =
21360
+ this.totalItems <= 100
21361
+ ? [
21362
+ { label: "10", value: "10" },
21363
+ { label: "25", value: "25" },
21364
+ { label: "50", value: "50" },
21365
+ ]
21366
+ : [
21367
+ { label: "25", value: "25" },
21368
+ { label: "100", value: "100" },
21369
+ { label: "1000", value: "1000" },
21370
+ ];
21371
+ }
21372
+ else {
21373
+ this.displayedItemsPerPageOptions = this.itemsPerPageOptions.slice(0, 3);
21374
+ }
21088
21375
  };
21089
21376
  this.setGoToPageInputStyles = () => {
21090
21377
  var _a, _b;
@@ -21097,27 +21384,74 @@ class PaginationBar {
21097
21384
  }
21098
21385
  }
21099
21386
  };
21387
+ this.setInputError = (el, error, focus = true) => {
21388
+ this.inputError = error;
21389
+ el.validationStatus = "error";
21390
+ if (focus)
21391
+ el.setFocus();
21392
+ };
21393
+ this.setItemsPerPage = (newValue) => {
21394
+ if (this.itemsPerPage !== newValue) {
21395
+ this.itemsPerPage = newValue;
21396
+ this.icItemsPerPageChange.emit({ value: this.itemsPerPage });
21397
+ }
21398
+ this.setNumberPages();
21399
+ this.setUpperBound();
21400
+ if (this.currentPage > this.totalPages) {
21401
+ this.paginationEl.setCurrentPage(this.totalPages);
21402
+ this.currentPage = this.totalPages;
21403
+ }
21404
+ this.icPageChange.emit({ value: this.currentPage });
21405
+ };
21100
21406
  this.setNumberPages = () => {
21101
- this.totalPages = Math.ceil(this.totalItems / Number(this.itemsPerPage));
21407
+ const numItemsPerPage = this.itemsPerPage;
21408
+ if (this.totalItems <= numItemsPerPage) {
21409
+ this.totalPages = 1;
21410
+ }
21411
+ else {
21412
+ this.totalPages = Math.ceil(this.totalItems / numItemsPerPage);
21413
+ }
21414
+ };
21415
+ this.setPaginationBarContent = () => {
21416
+ this.setDisplayedItemsPerPageOptions();
21417
+ this.trimItemsPerPageOptions();
21418
+ this.updateItemsPerPage();
21102
21419
  };
21103
21420
  this.setUpperBound = () => {
21104
- this.upperBound = Math.min(this.lowerBound + Number(this.itemsPerPage) - 1, this.totalItems);
21421
+ this.upperBound = Math.min(this.lowerBound + this.itemsPerPage - 1, this.totalItems);
21105
21422
  };
21106
21423
  this.trimItemsPerPageOptions = () => {
21107
- this.itemsPerPageOptions = this.itemsPerPageOptions.slice(0, 3);
21108
- this.itemsPerPageOptions.push({
21424
+ this.displayedItemsPerPageOptions.push({
21109
21425
  label: "All",
21110
21426
  value: String(this.totalItems),
21111
21427
  });
21112
- for (let i = 0; i < this.itemsPerPageOptions.length - 1; i++) {
21113
- if (this.totalItems <= Number(this.itemsPerPageOptions[i].value)) {
21114
- this.itemsPerPageOptions.splice(i, this.itemsPerPageOptions.length - (i + 1));
21428
+ for (let i = 0; i < this.displayedItemsPerPageOptions.length - 1; i++) {
21429
+ if (this.totalItems <= Number(this.displayedItemsPerPageOptions[i].value)) {
21430
+ this.displayedItemsPerPageOptions.splice(i, this.displayedItemsPerPageOptions.length - (i + 1));
21115
21431
  }
21116
21432
  }
21117
21433
  };
21434
+ this.updateItemsPerPage = () => {
21435
+ let newItemsPerPage = this.itemsPerPage;
21436
+ let updated = false;
21437
+ let lastOptionValue = 0;
21438
+ for (let i = 0; i < this.displayedItemsPerPageOptions.length; i++) {
21439
+ lastOptionValue = Number(this.displayedItemsPerPageOptions[i].value);
21440
+ if (this.itemsPerPage <= lastOptionValue) {
21441
+ newItemsPerPage = lastOptionValue;
21442
+ updated = true;
21443
+ i = this.displayedItemsPerPageOptions.length;
21444
+ }
21445
+ }
21446
+ if (!updated && this.itemsPerPage > lastOptionValue) {
21447
+ newItemsPerPage = lastOptionValue;
21448
+ }
21449
+ this.setItemsPerPage(newItemsPerPage);
21450
+ };
21118
21451
  this.currentPage = 1;
21452
+ this.displayedItemsPerPageOptions = undefined;
21119
21453
  this.inputError = "Please enter a valid page";
21120
- this.itemsPerPage = undefined;
21454
+ this.itemsPerPage = 0;
21121
21455
  this.lowerBound = 1;
21122
21456
  this.paginationWidth = undefined;
21123
21457
  this.paginationWrapped = false;
@@ -21125,30 +21459,29 @@ class PaginationBar {
21125
21459
  this.upperBound = undefined;
21126
21460
  this.alignment = "right";
21127
21461
  this.appearance = "default";
21128
- this.itemLabel = "Item";
21462
+ this.rangeItemLabel = "Item";
21129
21463
  this.itemsPerPageOptions = undefined;
21130
- this.paginationControl = "simple";
21131
- this.paginationType = "page";
21464
+ this.type = "simple";
21465
+ this.rangeLabelType = "page";
21132
21466
  this.pageLabel = "Page";
21133
21467
  this.showGoToPageControl = false;
21134
- this.showItemsPerPage = true;
21468
+ this.hideRangeLabel = false;
21135
21469
  this.showItemsPerPageControl = false;
21136
21470
  this.totalItems = undefined;
21137
21471
  }
21472
+ watchItemsPerPageOptionsHandler() {
21473
+ this.setPaginationBarContent();
21474
+ }
21475
+ watchTotalItemsHandler() {
21476
+ this.setPaginationBarContent();
21477
+ }
21138
21478
  disconnectedCallback() {
21139
21479
  if (this.resizeObserver !== null) {
21140
21480
  this.resizeObserver.disconnect();
21141
21481
  }
21142
21482
  }
21143
21483
  componentWillLoad() {
21144
- if (this.itemsPerPageOptions === undefined ||
21145
- this.itemsPerPageOptions === null) {
21146
- this.setDefaultItemsPerPageOptions();
21147
- }
21148
- this.trimItemsPerPageOptions();
21149
- this.setDefaultItemsPerPage();
21150
- this.setNumberPages();
21151
- this.setUpperBound();
21484
+ this.setPaginationBarContent();
21152
21485
  }
21153
21486
  componentDidLoad() {
21154
21487
  this.paginationWidth = this.paginationBarEl.clientWidth;
@@ -21161,7 +21494,7 @@ class PaginationBar {
21161
21494
  this.changePage(page);
21162
21495
  }
21163
21496
  render() {
21164
- const { appearance, alignment, itemsPerPageOptions, PAGE_INPUT_FIELD_ID, paginationControl, paginationType, showItemsPerPage, showItemsPerPageControl, showGoToPageControl, } = this;
21497
+ const { appearance, alignment, displayedItemsPerPageOptions, PAGE_INPUT_FIELD_ID, type, rangeLabelType, hideRangeLabel, showItemsPerPageControl, showGoToPageControl, } = this;
21165
21498
  const focusElFromLabel = (el) => {
21166
21499
  var _a;
21167
21500
  (_a = this.paginationBarEl.querySelector(el)) === null || _a === void 0 ? void 0 : _a.setFocus();
@@ -21169,21 +21502,27 @@ class PaginationBar {
21169
21502
  return (hAsync("div", { class: {
21170
21503
  ["pagination-bar"]: true,
21171
21504
  [`pagination-bar-${alignment}`]: true,
21172
- }, ref: (el) => (this.paginationBarEl = el) }, (showItemsPerPage || showItemsPerPageControl) && (hAsync("div", { class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { class: "items-per-page-holder" }, hAsync("ic-typography", { class: {
21505
+ }, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { class: "items-per-page-holder" }, hAsync("ic-typography", { class: {
21173
21506
  [`pagination-text-${appearance}`]: true,
21174
21507
  ["items-per-page-control-label"]: true,
21175
- }, variant: "label", onClick: () => focusElFromLabel("ic-select") }, this.itemLabel, "s per ", this.pageLabel.toLowerCase()), hAsync("ic-select", { small: true, label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: itemsPerPageOptions, value: this.itemsPerPage, onIcChange: () => this.changeItemsPerPage() }))), showItemsPerPage && paginationType === "data" ? (hAsync("ic-typography", { class: {
21508
+ }, variant: "label", onClick: () => focusElFromLabel("ic-select") }, this.rangeItemLabel, "s per ", this.pageLabel.toLowerCase()), hAsync("ic-select", { small: true, label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: displayedItemsPerPageOptions, value: this.itemsPerPage.toString(), onIcChange: () => this.changeItemsPerPage(), ref: (el) => (this.pageDropdownEl = el) }))), !hideRangeLabel && rangeLabelType === "data" ? (hAsync("ic-typography", { class: {
21176
21509
  [`pagination-text-${appearance}`]: true,
21177
21510
  ["item-pagination-label"]: true,
21178
- }, variant: "label", "aria-live": "polite" }, this.lowerBound, " - ", this.upperBound, " of ", this.totalItems, " ", this.itemLabel.toLowerCase(), this.totalItems > 1 ? "s" : "")) : (showItemsPerPage && (hAsync("ic-typography", { class: {
21511
+ }, variant: "label", "aria-live": "polite" }, this.upperBound === 0 &&
21512
+ `0 ${this.rangeItemLabel.toLowerCase()}s`, this.upperBound > 0 &&
21513
+ `${this.lowerBound} - ${this.upperBound} of ${this.totalItems} ${this.rangeItemLabel.toLowerCase()}${this.totalItems > 1 ? "s" : ""}`)) : (!hideRangeLabel && (hAsync("ic-typography", { class: {
21179
21514
  [`pagination-text-${appearance}`]: true,
21180
21515
  ["page-pagination-label"]: true,
21181
21516
  }, variant: "label", "aria-live": "polite" }, this.pageLabel, " ", this.currentPage, " of ", this.totalPages))))), hAsync("div", { class: {
21182
21517
  ["pagination-controls"]: true,
21183
21518
  ["pagination-controls-wrap"]: this.paginationWrapped,
21184
- } }, hAsync("div", { class: "pagination-holder" }, hAsync("ic-pagination", { appearance: appearance, type: paginationControl, pages: this.totalPages })), showGoToPageControl && (hAsync("div", { class: "go-to-page-holder" }, hAsync("ic-typography", { class: { [`pagination-text-${appearance}`]: true }, variant: "label", onClick: () => focusElFromLabel("ic-text-field") }, "Go to ", this.pageLabel.toLowerCase()), hAsync("ic-tooltip", { label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true }, hAsync("ic-text-field", { type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: (ev) => this.handleKeydown(ev), onKeyUp: (ev) => this.handleKeyUp(ev), onInput: () => this.handleInputChange(), max: this.totalPages, min: "1", validationInlineInternal: true, onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus() })), hAsync("ic-button", { appearance: appearance, variant: "secondary", onClick: () => this.goToPage(), size: "small", class: "go-to-page-button" }, "Go"))))));
21519
+ } }, hAsync("div", { class: "pagination-holder" }, hAsync("ic-pagination", { appearance: appearance, type: type, pages: this.totalPages, ref: (el) => (this.paginationEl = el) })), showGoToPageControl && (hAsync("div", { class: "go-to-page-holder" }, hAsync("ic-typography", { class: { [`pagination-text-${appearance}`]: true }, variant: "label", onClick: () => focusElFromLabel("ic-text-field") }, "Go to ", this.pageLabel.toLowerCase()), hAsync("ic-tooltip", { label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true, ref: (el) => (this.pageInputTooltipEl = el) }, hAsync("ic-text-field", { type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: (ev) => this.handleKeydown(ev), onKeyUp: (ev) => this.handleKeyUp(ev), onInput: () => this.handleInputChange(), max: this.totalPages, min: "1", validationInlineInternal: true, onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), ref: (el) => (this.pageInputEl = el) })), hAsync("ic-button", { appearance: appearance, variant: "secondary", onClick: () => this.goToPage(), size: "small", class: "go-to-page-button" }, "Go"))))));
21185
21520
  }
21186
21521
  get el() { return getElement(this); }
21522
+ static get watchers() { return {
21523
+ "itemsPerPageOptions": ["watchItemsPerPageOptionsHandler"],
21524
+ "totalItems": ["watchTotalItemsHandler"]
21525
+ }; }
21187
21526
  static get style() { return icPaginationBarCss; }
21188
21527
  static get cmpMeta() { return {
21189
21528
  "$flags$": 9,
@@ -21191,16 +21530,17 @@ class PaginationBar {
21191
21530
  "$members$": {
21192
21531
  "alignment": [1],
21193
21532
  "appearance": [1],
21194
- "itemLabel": [1, "item-label"],
21195
- "itemsPerPageOptions": [1040],
21196
- "paginationControl": [1, "pagination-control"],
21197
- "paginationType": [1, "pagination-type"],
21533
+ "rangeItemLabel": [1, "range-item-label"],
21534
+ "itemsPerPageOptions": [16],
21535
+ "type": [1],
21536
+ "rangeLabelType": [1, "range-label-type"],
21198
21537
  "pageLabel": [1, "page-label"],
21199
21538
  "showGoToPageControl": [4, "show-go-to-page-control"],
21200
- "showItemsPerPage": [4, "show-items-per-page"],
21539
+ "hideRangeLabel": [4, "hide-range-label"],
21201
21540
  "showItemsPerPageControl": [4, "show-items-per-page-control"],
21202
21541
  "totalItems": [2, "total-items"],
21203
21542
  "currentPage": [32],
21543
+ "displayedItemsPerPageOptions": [32],
21204
21544
  "inputError": [32],
21205
21545
  "itemsPerPage": [32],
21206
21546
  "lowerBound": [32],
@@ -21215,7 +21555,7 @@ class PaginationBar {
21215
21555
  }; }
21216
21556
  }
21217
21557
 
21218
- const icPaginationItemCss = "/*!@html*/html.sc-ic-pagination-item{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-pagination-item{margin:0}/*!@main*/main.sc-ic-pagination-item{display:block}/*!@h1*/h1.sc-ic-pagination-item{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-pagination-item{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-pagination-item{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-pagination-item{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-pagination-item{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-pagination-item,strong.sc-ic-pagination-item{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-pagination-item,kbd.sc-ic-pagination-item,samp.sc-ic-pagination-item{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-pagination-item{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-pagination-item,sup.sc-ic-pagination-item{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-pagination-item{bottom:-0.25em}/*!@sup*/sup.sc-ic-pagination-item{top:-0.5em}/*!@img*/img.sc-ic-pagination-item{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-pagination-item,input.sc-ic-pagination-item,optgroup.sc-ic-pagination-item,select.sc-ic-pagination-item,textarea.sc-ic-pagination-item{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-pagination-item,input.sc-ic-pagination-item{overflow:visible}/*!@button,\nselect*/button.sc-ic-pagination-item,select.sc-ic-pagination-item{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-pagination-item,[type=\"button\"].sc-ic-pagination-item,[type=\"reset\"].sc-ic-pagination-item,[type=\"submit\"].sc-ic-pagination-item{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-pagination-item::-moz-focus-inner,[type=\"button\"].sc-ic-pagination-item::-moz-focus-inner,[type=\"reset\"].sc-ic-pagination-item::-moz-focus-inner,[type=\"submit\"].sc-ic-pagination-item::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-pagination-item:-moz-focusring,[type=\"button\"].sc-ic-pagination-item:-moz-focusring,[type=\"reset\"].sc-ic-pagination-item:-moz-focusring,[type=\"submit\"].sc-ic-pagination-item:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-pagination-item{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-pagination-item{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-pagination-item{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-pagination-item{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-pagination-item,[type=\"radio\"].sc-ic-pagination-item{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-pagination-item::-webkit-inner-spin-button,[type=\"number\"].sc-ic-pagination-item::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-pagination-item{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-pagination-item::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-pagination-item::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-pagination-item{display:block}/*!@summary*/summary.sc-ic-pagination-item{display:list-item}/*!@template*/template.sc-ic-pagination-item{display:none}/*!@[hidden]*/[hidden].sc-ic-pagination-item{display:none}/*!@html,\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*/html.sc-ic-pagination-item,body.sc-ic-pagination-item,div.sc-ic-pagination-item,span.sc-ic-pagination-item,applet.sc-ic-pagination-item,object.sc-ic-pagination-item,iframe.sc-ic-pagination-item,h1.sc-ic-pagination-item,h2.sc-ic-pagination-item,h3.sc-ic-pagination-item,h4.sc-ic-pagination-item,h5.sc-ic-pagination-item,h6.sc-ic-pagination-item,p.sc-ic-pagination-item,blockquote.sc-ic-pagination-item,pre.sc-ic-pagination-item,a.sc-ic-pagination-item,abbr.sc-ic-pagination-item,acronym.sc-ic-pagination-item,address.sc-ic-pagination-item,big.sc-ic-pagination-item,cite.sc-ic-pagination-item,code.sc-ic-pagination-item,del.sc-ic-pagination-item,dfn.sc-ic-pagination-item,em.sc-ic-pagination-item,img.sc-ic-pagination-item,ins.sc-ic-pagination-item,kbd.sc-ic-pagination-item,q.sc-ic-pagination-item,s.sc-ic-pagination-item,samp.sc-ic-pagination-item,small.sc-ic-pagination-item,strike.sc-ic-pagination-item,strong.sc-ic-pagination-item,sub.sc-ic-pagination-item,sup.sc-ic-pagination-item,tt.sc-ic-pagination-item,var.sc-ic-pagination-item,b.sc-ic-pagination-item,u.sc-ic-pagination-item,i.sc-ic-pagination-item,center.sc-ic-pagination-item,dl.sc-ic-pagination-item,dt.sc-ic-pagination-item,dd.sc-ic-pagination-item,ol.sc-ic-pagination-item,ul.sc-ic-pagination-item,li.sc-ic-pagination-item,fieldset.sc-ic-pagination-item,form.sc-ic-pagination-item,label.sc-ic-pagination-item,legend.sc-ic-pagination-item,table.sc-ic-pagination-item,caption.sc-ic-pagination-item,tbody.sc-ic-pagination-item,tfoot.sc-ic-pagination-item,thead.sc-ic-pagination-item,tr.sc-ic-pagination-item,th.sc-ic-pagination-item,td.sc-ic-pagination-item,article.sc-ic-pagination-item,aside.sc-ic-pagination-item,canvas.sc-ic-pagination-item,details.sc-ic-pagination-item,embed.sc-ic-pagination-item,figure.sc-ic-pagination-item,figcaption.sc-ic-pagination-item,footer.sc-ic-pagination-item,header.sc-ic-pagination-item,hgroup.sc-ic-pagination-item,menu.sc-ic-pagination-item,nav.sc-ic-pagination-item,output.sc-ic-pagination-item,ruby.sc-ic-pagination-item,section.sc-ic-pagination-item,summary.sc-ic-pagination-item,time.sc-ic-pagination-item,mark.sc-ic-pagination-item,audio.sc-ic-pagination-item,video.sc-ic-pagination-item{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@a*/a.sc-ic-pagination-item{text-align:center}/*!@.item-container*/.item-container.sc-ic-pagination-item{display:flex;justify-content:center;align-items:center;width:calc(var(--ic-space-xl) + var(--ic-space-sm));height:var(--ic-space-xl);margin:var(--ic-space-xxs) var(--ic-space-xxxs);cursor:pointer;text-decoration:none}/*!@button*/button.sc-ic-pagination-item{background:none;border:none;outline:inherit;position:relative}/*!@.ellipsis*/.ellipsis.sc-ic-pagination-item{pointer-events:none;color:var(--ic-color-secondary-text)}/*!@.item-container:focus*/.item-container.sc-ic-pagination-item:focus{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}/*!@.page*/.page.sc-ic-pagination-item{color:var(--ic-action-default)}/*!@.simple-current*/.simple-current.sc-ic-pagination-item{width:calc(var(--ic-space-xxl) + var(--ic-space-md));height:var(--ic-space-lg);cursor:default}/*!@.item-container.page:hover:not(.selected):not(:focus)*/.item-container.page.sc-ic-pagination-item:hover:not(.selected):not(:focus){border-radius:var(--ic-border-radius);background-color:var(--ic-action-default-bg-hover)}/*!@.item-container.page:active:not(.selected):not(:focus)*/.item-container.page.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-default-bg-active)}/*!@.selected*/.selected.sc-ic-pagination-item{pointer-events:none;outline:none}/*!@.selected::after*/.selected.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-default)}/*!@.page-selected*/.page-selected.sc-ic-pagination-item{color:var(--ic-color-primary-text)}/*!@.item-container.page.light:hover:not(.selected):not(:focus)*/.item-container.page.light.sc-ic-pagination-item:hover:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-hover)}/*!@.item-container.page.light:active:not(.selected):not(:focus)*/.item-container.page.light.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-active)}/*!@ic-typography.light*/ic-typography.light.sc-ic-pagination-item{color:var(--ic-color-white-text)}/*!@.selected.light::after*/.selected.light.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-light)}/*!@.item-container.page.dark:hover:not(.selected):not(:focus)*/.item-container.page.dark.sc-ic-pagination-item:hover:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-hover)}/*!@.item-container.page.dark:active:not(.selected):not(:focus)*/.item-container.page.dark.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-active)}/*!@ic-typography.dark*/ic-typography.dark.sc-ic-pagination-item{color:var(--ic-color-primary-text)}/*!@.selected.dark::after*/.selected.dark.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-dark)}/*!@.disabled*/.disabled.sc-ic-pagination-item{color:var(--ic-architectural-200);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (forced-colors: active){/*!@.selected::after*/.selected.sc-ic-pagination-item::after{background-color:Highlight}/*!@.selected.light::after*/.selected.light.sc-ic-pagination-item::after{background-color:Highlight}/*!@.selected.dark::after*/.selected.dark.sc-ic-pagination-item::after{background-color:Highlight}}";
21558
+ const icPaginationItemCss = "/*!@html*/html.sc-ic-pagination-item{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-pagination-item{margin:0}/*!@main*/main.sc-ic-pagination-item{display:block}/*!@h1*/h1.sc-ic-pagination-item{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-pagination-item{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-pagination-item{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-pagination-item{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-pagination-item{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-pagination-item,strong.sc-ic-pagination-item{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-pagination-item,kbd.sc-ic-pagination-item,samp.sc-ic-pagination-item{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-pagination-item{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-pagination-item,sup.sc-ic-pagination-item{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-pagination-item{bottom:-0.25em}/*!@sup*/sup.sc-ic-pagination-item{top:-0.5em}/*!@img*/img.sc-ic-pagination-item{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-pagination-item,input.sc-ic-pagination-item,optgroup.sc-ic-pagination-item,select.sc-ic-pagination-item,textarea.sc-ic-pagination-item{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-pagination-item,input.sc-ic-pagination-item{overflow:visible}/*!@button,\nselect*/button.sc-ic-pagination-item,select.sc-ic-pagination-item{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-pagination-item,[type=\"button\"].sc-ic-pagination-item,[type=\"reset\"].sc-ic-pagination-item,[type=\"submit\"].sc-ic-pagination-item{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-pagination-item::-moz-focus-inner,[type=\"button\"].sc-ic-pagination-item::-moz-focus-inner,[type=\"reset\"].sc-ic-pagination-item::-moz-focus-inner,[type=\"submit\"].sc-ic-pagination-item::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-pagination-item:-moz-focusring,[type=\"button\"].sc-ic-pagination-item:-moz-focusring,[type=\"reset\"].sc-ic-pagination-item:-moz-focusring,[type=\"submit\"].sc-ic-pagination-item:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-pagination-item{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-pagination-item{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-pagination-item{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-pagination-item{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-pagination-item,[type=\"radio\"].sc-ic-pagination-item{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-pagination-item::-webkit-inner-spin-button,[type=\"number\"].sc-ic-pagination-item::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-pagination-item{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-pagination-item::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-pagination-item::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-pagination-item{display:block}/*!@summary*/summary.sc-ic-pagination-item{display:list-item}/*!@template*/template.sc-ic-pagination-item{display:none}/*!@[hidden]*/[hidden].sc-ic-pagination-item{display:none}/*!@html,\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*/html.sc-ic-pagination-item,body.sc-ic-pagination-item,div.sc-ic-pagination-item,span.sc-ic-pagination-item,applet.sc-ic-pagination-item,object.sc-ic-pagination-item,iframe.sc-ic-pagination-item,h1.sc-ic-pagination-item,h2.sc-ic-pagination-item,h3.sc-ic-pagination-item,h4.sc-ic-pagination-item,h5.sc-ic-pagination-item,h6.sc-ic-pagination-item,p.sc-ic-pagination-item,blockquote.sc-ic-pagination-item,pre.sc-ic-pagination-item,a.sc-ic-pagination-item,abbr.sc-ic-pagination-item,acronym.sc-ic-pagination-item,address.sc-ic-pagination-item,big.sc-ic-pagination-item,cite.sc-ic-pagination-item,code.sc-ic-pagination-item,del.sc-ic-pagination-item,dfn.sc-ic-pagination-item,em.sc-ic-pagination-item,img.sc-ic-pagination-item,ins.sc-ic-pagination-item,kbd.sc-ic-pagination-item,q.sc-ic-pagination-item,s.sc-ic-pagination-item,samp.sc-ic-pagination-item,small.sc-ic-pagination-item,strike.sc-ic-pagination-item,strong.sc-ic-pagination-item,sub.sc-ic-pagination-item,sup.sc-ic-pagination-item,tt.sc-ic-pagination-item,var.sc-ic-pagination-item,b.sc-ic-pagination-item,u.sc-ic-pagination-item,i.sc-ic-pagination-item,center.sc-ic-pagination-item,dl.sc-ic-pagination-item,dt.sc-ic-pagination-item,dd.sc-ic-pagination-item,ol.sc-ic-pagination-item,ul.sc-ic-pagination-item,li.sc-ic-pagination-item,fieldset.sc-ic-pagination-item,form.sc-ic-pagination-item,label.sc-ic-pagination-item,legend.sc-ic-pagination-item,table.sc-ic-pagination-item,caption.sc-ic-pagination-item,tbody.sc-ic-pagination-item,tfoot.sc-ic-pagination-item,thead.sc-ic-pagination-item,tr.sc-ic-pagination-item,th.sc-ic-pagination-item,td.sc-ic-pagination-item,article.sc-ic-pagination-item,aside.sc-ic-pagination-item,canvas.sc-ic-pagination-item,details.sc-ic-pagination-item,embed.sc-ic-pagination-item,figure.sc-ic-pagination-item,figcaption.sc-ic-pagination-item,footer.sc-ic-pagination-item,header.sc-ic-pagination-item,hgroup.sc-ic-pagination-item,menu.sc-ic-pagination-item,nav.sc-ic-pagination-item,output.sc-ic-pagination-item,ruby.sc-ic-pagination-item,section.sc-ic-pagination-item,summary.sc-ic-pagination-item,time.sc-ic-pagination-item,mark.sc-ic-pagination-item,audio.sc-ic-pagination-item,video.sc-ic-pagination-item{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@a*/a.sc-ic-pagination-item{text-align:center}/*!@.item-container*/.item-container.sc-ic-pagination-item{display:flex;justify-content:center;align-items:center;width:calc(var(--ic-space-xl) + var(--ic-space-sm));height:var(--ic-space-xl);margin:var(--ic-space-xxs) var(--ic-space-xxxs);cursor:pointer;text-decoration:none}/*!@button*/button.sc-ic-pagination-item{background:none;border:none;outline:inherit;position:relative}/*!@.ellipsis*/.ellipsis.sc-ic-pagination-item{pointer-events:none;color:var(--ic-color-secondary-text)}/*!@.item-container:focus*/.item-container.sc-ic-pagination-item:focus{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}/*!@.page*/.page.sc-ic-pagination-item{color:var(--ic-action-default)}/*!@.simple-current*/.simple-current.sc-ic-pagination-item{min-width:calc(var(--ic-space-xxl) + var(--ic-space-md));height:var(--ic-space-lg);cursor:default}/*!@.item-container.page:hover:not(.selected):not(:focus)*/.item-container.page.sc-ic-pagination-item:hover:not(.selected):not(:focus){border-radius:var(--ic-border-radius);background-color:var(--ic-action-default-bg-hover)}/*!@.item-container.page:active:not(.selected):not(:focus)*/.item-container.page.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-default-bg-active)}/*!@.selected*/.selected.sc-ic-pagination-item{pointer-events:none;outline:none}/*!@.selected::after*/.selected.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-default)}/*!@.page-selected*/.page-selected.sc-ic-pagination-item{color:var(--ic-color-primary-text)}/*!@.item-container.page.light:hover:not(.selected):not(:focus)*/.item-container.page.light.sc-ic-pagination-item:hover:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-hover)}/*!@.item-container.page.light:active:not(.selected):not(:focus)*/.item-container.page.light.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-active)}/*!@ic-typography.light*/ic-typography.light.sc-ic-pagination-item{color:var(--ic-color-white-text)}/*!@.selected.light::after*/.selected.light.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-light)}/*!@.item-container.page.dark:hover:not(.selected):not(:focus)*/.item-container.page.dark.sc-ic-pagination-item:hover:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-hover)}/*!@.item-container.page.dark:active:not(.selected):not(:focus)*/.item-container.page.dark.sc-ic-pagination-item:active:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-active)}/*!@ic-typography.dark*/ic-typography.dark.sc-ic-pagination-item{color:var(--ic-color-primary-text)}/*!@.selected.dark::after*/.selected.dark.sc-ic-pagination-item::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-dark)}/*!@.disabled*/.disabled.sc-ic-pagination-item{color:var(--ic-architectural-200);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (forced-colors: active){/*!@.selected::after*/.selected.sc-ic-pagination-item::after{background-color:Highlight}/*!@.selected.light::after*/.selected.light.sc-ic-pagination-item::after{background-color:Highlight}/*!@.selected.dark::after*/.selected.dark.sc-ic-pagination-item::after{background-color:Highlight}}";
21219
21559
 
21220
21560
  class PaginationItem {
21221
21561
  constructor(hostRef) {
@@ -21346,7 +21686,7 @@ class PopoverMenu {
21346
21686
  }
21347
21687
  else if (el.tagName === "IC-MENU-GROUP") {
21348
21688
  const groupSlotWrapper = el.shadowRoot.querySelector("ul");
21349
- const menuGroupElements = getSlotElements(groupSlotWrapper);
21689
+ const menuGroupElements = getSlotElements$1(groupSlotWrapper);
21350
21690
  this.addMenuItems(menuGroupElements);
21351
21691
  }
21352
21692
  }
@@ -21411,13 +21751,14 @@ class PopoverMenu {
21411
21751
  }
21412
21752
  }
21413
21753
  disconnectedCallback() {
21414
- if (this.popperInstance !== undefined) {
21754
+ if (this.popperInstance) {
21415
21755
  this.popperInstance.destroy();
21756
+ this.popperInstance = null;
21416
21757
  }
21417
21758
  }
21418
21759
  componentDidLoad() {
21419
21760
  const slotWrapper = this.el.shadowRoot.querySelector("ul.button");
21420
- const popoverMenuElements = getSlotElements(slotWrapper);
21761
+ const popoverMenuElements = getSlotElements$1(slotWrapper);
21421
21762
  if (popoverMenuElements !== null) {
21422
21763
  this.addMenuItems(popoverMenuElements);
21423
21764
  }
@@ -21623,8 +21964,8 @@ class RadioGroup {
21623
21964
  this.radioOptions !== undefined &&
21624
21965
  (this.radioOptions.length > 2 ||
21625
21966
  (this.radioOptions.length === 2 &&
21626
- (isSlotUsed(this.radioOptions[0], "additional-field") ||
21627
- isSlotUsed(this.radioOptions[1], "additional-field"))))) {
21967
+ (isSlotUsed$1(this.radioOptions[0], "additional-field") ||
21968
+ isSlotUsed$1(this.radioOptions[1], "additional-field"))))) {
21628
21969
  this.currentOrientation = "vertical";
21629
21970
  }
21630
21971
  };
@@ -21817,7 +22158,7 @@ class RadioOption {
21817
22158
  removeFormResetListener$1(this.el, this.handleFormReset);
21818
22159
  }
21819
22160
  componentWillLoad() {
21820
- const additionalFieldContent = getSlotContent(this.el, "additional-field");
22161
+ const additionalFieldContent = getSlotContent$1(this.el, "additional-field");
21821
22162
  if (additionalFieldContent !== null) {
21822
22163
  this.hasAdditionalField = true;
21823
22164
  const Element = additionalFieldContent[0];
@@ -22616,7 +22957,8 @@ class Select$1 {
22616
22957
  * Loop through options array and for all options with no value, infer it from the label
22617
22958
  */
22618
22959
  this.setOptionsValuesFromLabels = () => {
22619
- if (this.options.length > 0 && this.options.map) {
22960
+ var _a;
22961
+ if (((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.options.map) {
22620
22962
  this.options.map((option) => {
22621
22963
  if (!option.value) {
22622
22964
  option.value = option.label;
@@ -23028,11 +23370,12 @@ class Select$1 {
23028
23370
  newValue && this.triggerLoading();
23029
23371
  }
23030
23372
  watchOptionsHandler() {
23373
+ var _a;
23031
23374
  if (!this.hasTimedOut) {
23032
23375
  this.loading = false;
23033
23376
  clearTimeout(this.timeoutTimer);
23034
23377
  if (this.isExternalFiltering()) {
23035
- if (this.options.length > 0) {
23378
+ if (((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0) {
23036
23379
  this.setOptionsValuesFromLabels();
23037
23380
  this.noOptions = null;
23038
23381
  this.uniqueOptions = this.deduplicateOptions(this.options);
@@ -23057,8 +23400,9 @@ class Select$1 {
23057
23400
  }
23058
23401
  }
23059
23402
  else {
23060
- if (!this.searchable)
23403
+ if (!this.searchable) {
23061
23404
  this.options = this.noOptions;
23405
+ }
23062
23406
  }
23063
23407
  }
23064
23408
  debounceChangedHandler(newValue) {
@@ -23082,11 +23426,12 @@ class Select$1 {
23082
23426
  (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
23083
23427
  }
23084
23428
  componentWillLoad() {
23429
+ var _a;
23085
23430
  this.inheritedAttributes = inheritAttributes$1(this.el, MUTABLE_ATTRIBUTES$1);
23086
23431
  removeDisabledFalse$1(this.disabled, this.el);
23087
23432
  this.setOptionsValuesFromLabels();
23088
23433
  addFormResetListener$1(this.el, this.handleFormReset);
23089
- if (!this.options.length) {
23434
+ if (!((_a = this.options) === null || _a === void 0 ? void 0 : _a.length)) {
23090
23435
  this.initialOptionsEmpty = true;
23091
23436
  this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
23092
23437
  this.uniqueOptions = this.noOptions;
@@ -24216,7 +24561,7 @@ class SideNavigation {
24216
24561
  this.arrangeSlottedNavigationItem = (menuExpanded) => {
24217
24562
  const navItems = this.el.querySelectorAll("ic-navigation-item");
24218
24563
  navItems.forEach((navItem) => {
24219
- const isNamedSlot = isSlotUsed(navItem, "navigation-item");
24564
+ const isNamedSlot = isSlotUsed$1(navItem, "navigation-item");
24220
24565
  const isUnnamedSlot = navItem.children[0] && !navItem.children[0].getAttribute("slot");
24221
24566
  if (isNamedSlot || isUnnamedSlot) {
24222
24567
  let navItemSlot;
@@ -24435,14 +24780,14 @@ class SideNavigation {
24435
24780
  };
24436
24781
  this.renderTopBar = ({ isSDevice, foregroundColor, menuOpen, href, isAppNameSubtitleVariant, }) => {
24437
24782
  const hasTitle = this.appTitle !== "" && isPropDefined(this.appTitle);
24438
- const Component = isSlotUsed(this.el, "app-title") ? "div" : "a";
24783
+ const Component = isSlotUsed$1(this.el, "app-title") ? "div" : "a";
24439
24784
  const attrs = Component == "a" && {
24440
24785
  href: href,
24441
24786
  };
24442
24787
  return (hAsync("div", { class: {
24443
24788
  "top-bar": true,
24444
24789
  [this.foregroundColor]: true,
24445
- } }, isSDevice && (hAsync("nav", { "aria-labelledby": "menu-navigation-toggle-button-landmark", "aria-hidden": "false" }, hAsync("ic-button", { "aria-label": "Open navigation menu", class: "menu-button", id: "menu-button", variant: "secondary", size: "small", "full-width": "true", appearance: foregroundColor, onClick: this.toggleMenu, ariaOwnsId: "side-navigation", "aria-haspopup": "true", "aria-expanded": "false", ref: (el) => (this.menuButton = el) }, hAsync("span", { class: "mobile-top-bar-menu-icon", slot: "icon", innerHTML: menuOpen ? closeIcon : menuIcon }), menuOpen ? "Close" : "Menu"), hAsync("span", { id: "menu-navigation-toggle-button-landmark", class: "navigation-landmark-title", "aria-hidden": "true" }, "Navigation menu toggle button"))), hAsync("div", { class: "app-title-wrapper" }, (hasTitle || isSlotUsed(this.el, "app-title")) && (hAsync(Component, Object.assign({}, attrs, { class: "title-link" }), hAsync("div", { class: "app-icon-container", "aria-hidden": "true" }, hAsync("slot", { name: "app-icon" })), hAsync("div", { class: "app-title-inner-wrapper" }, isSlotUsed(this.el, "app-title") ? (hAsync("slot", { name: "app-title" })) : (this.renderAppTitle(isAppNameSubtitleVariant))))))));
24790
+ } }, isSDevice && (hAsync("nav", { "aria-labelledby": "menu-navigation-toggle-button-landmark", "aria-hidden": "false" }, hAsync("ic-button", { "aria-label": "Open navigation menu", class: "menu-button", id: "menu-button", variant: "secondary", size: "small", "full-width": "true", appearance: foregroundColor, onClick: this.toggleMenu, ariaOwnsId: "side-navigation", "aria-haspopup": "true", "aria-expanded": "false", ref: (el) => (this.menuButton = el) }, hAsync("span", { class: "mobile-top-bar-menu-icon", slot: "icon", innerHTML: menuOpen ? closeIcon : menuIcon }), menuOpen ? "Close" : "Menu"), hAsync("span", { id: "menu-navigation-toggle-button-landmark", class: "navigation-landmark-title", "aria-hidden": "true" }, "Navigation menu toggle button"))), hAsync("div", { class: "app-title-wrapper" }, (hasTitle || isSlotUsed$1(this.el, "app-title")) && (hAsync(Component, Object.assign({}, attrs, { class: "title-link" }), hAsync("div", { class: "app-icon-container", "aria-hidden": "true" }, hAsync("slot", { name: "app-icon" })), hAsync("div", { class: "app-title-inner-wrapper" }, isSlotUsed$1(this.el, "app-title") ? (hAsync("slot", { name: "app-title" })) : (this.renderAppTitle(isAppNameSubtitleVariant))))))));
24446
24791
  };
24447
24792
  this.deviceSize = getCurrentDeviceSize();
24448
24793
  this.deviceSizeAppTitle = DEVICE_SIZES.S;
@@ -24470,7 +24815,7 @@ class SideNavigation {
24470
24815
  if (this.collapsedIconLabels) {
24471
24816
  this.setCollapsedIconLabels();
24472
24817
  }
24473
- this.hasSecondaryNavigation = isSlotUsed(this.el, "secondary-navigation");
24818
+ this.hasSecondaryNavigation = isSlotUsed$1(this.el, "secondary-navigation");
24474
24819
  }
24475
24820
  componentDidLoad() {
24476
24821
  this.emitSideNavigationExpanded({
@@ -24482,7 +24827,7 @@ class SideNavigation {
24482
24827
  this.arrangeSlottedNavigationItem(this.menuExpanded);
24483
24828
  this.displayTooltipWithExpandedLongLabel(this.menuExpanded);
24484
24829
  this.setExpandedButtonHeight();
24485
- !isSlotUsed(this.el, "app-title") &&
24830
+ !isSlotUsed$1(this.el, "app-title") &&
24486
24831
  onComponentRequiredPropUndefined$1([{ prop: this.appTitle, propName: "app-title" }], "Side Navigation");
24487
24832
  }
24488
24833
  disconnectedCallback() {
@@ -24518,10 +24863,10 @@ class SideNavigation {
24518
24863
  [IcThemeForegroundEnum$1.Dark]: foregroundColor === IcThemeForegroundEnum$1.Dark,
24519
24864
  ["collapsed-labels"]: !isSDevice && !menuExpanded && collapsedIconLabels,
24520
24865
  ["inline"]: inline,
24521
- } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "primary-navigation" }))))), hAsync("div", { class: {
24866
+ } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { class: "side-navigation-inner" }, isSlotUsed$1(this.el, "primary-navigation") && (hAsync("nav", { class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "primary-navigation" }))))), hAsync("div", { class: {
24522
24867
  ["bottom-wrapper"]: true,
24523
24868
  ["classification-spacing"]: hasClassificationBanner(),
24524
- } }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "secondary-navigation" })))), hAsync("div", { class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", null), displayExpandBtn && (hAsync("button", { class: "menu-expand-button", innerHTML: chevronIcon, onClick: this.toggleMenuExpanded, "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { class: "app-status-wrapper" }, status !== "" && (hAsync("div", { class: {
24869
+ } }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { class: "navigation-list" }, hAsync("slot", { name: "secondary-navigation" })))), hAsync("div", { class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", null), displayExpandBtn && (hAsync("button", { class: "menu-expand-button", innerHTML: chevronIcon, onClick: this.toggleMenuExpanded, "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { class: "app-status-wrapper" }, status !== "" && (hAsync("div", { class: {
24525
24870
  ["app-status"]: true,
24526
24871
  } }, hAsync("ic-typography", { "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version !== "" && (hAsync("ic-typography", { variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
24527
24872
  }
@@ -25258,7 +25603,7 @@ class Tab {
25258
25603
  ["ic-tab-light"]: appearance === IcThemeForegroundEnum$1.Light,
25259
25604
  ["selected"]: selected,
25260
25605
  ["disabled"]: disabled,
25261
- }, role: "tab", "aria-selected": selected ? "true" : "false", onClick: this.handleClick, onFocus: this.handleFocus, onMouseDown: this.handleMouseDown, "aria-disabled": disabled ? "true" : "false", tabindex: this.selected ? 0 : -1 }, this.el.querySelector('[slot="icon"]') && hAsync("slot", { name: "icon" }), hAsync("ic-typography", { class: "ic-tab-label", variant: "label" }, hAsync("span", null, hAsync("slot", null))), isSlotUsed(this.el, "badge") && hAsync("slot", { name: "badge" })));
25606
+ }, role: "tab", "aria-selected": selected ? "true" : "false", onClick: this.handleClick, onFocus: this.handleFocus, onMouseDown: this.handleMouseDown, "aria-disabled": disabled ? "true" : "false", tabindex: this.selected ? 0 : -1 }, this.el.querySelector('[slot="icon"]') && hAsync("slot", { name: "icon" }), hAsync("ic-typography", { class: "ic-tab-label", variant: "label" }, hAsync("span", null, hAsync("slot", null))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { name: "badge" })));
25262
25607
  }
25263
25608
  get el() { return getElement(this); }
25264
25609
  static get watchers() { return {
@@ -25909,7 +26254,7 @@ class TextField {
25909
26254
  ["no-resize"]: resize === false || readonly,
25910
26255
  ["no-left-pad"]: !this.showLeftIcon && readonly,
25911
26256
  ["readonly"]: readonly,
25912
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (hAsync("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (hAsync("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && hAsync("slot", { name: "menu" }), (!isEmptyString$1(validationStatus) ||
26257
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes))), isSlotUsed$1(this.el, "clear-button") && (hAsync("slot", { name: "clear-button" })), isSlotUsed$1(this.el, "search-submit-button") && (hAsync("slot", { name: "search-submit-button" }))), isSlotUsed$1(this.el, "menu") && hAsync("slot", { name: "menu" }), (!isEmptyString$1(validationStatus) ||
25913
26258
  !isEmptyString$1(validationText) ||
25914
26259
  maxNumChars > 0 ||
25915
26260
  maxValueExceeded ||
@@ -26003,21 +26348,19 @@ class Theme {
26003
26348
  }
26004
26349
  };
26005
26350
  this.setThemeColor = () => {
26006
- if (this.color !== null && convertToRGBA(this.color) !== null) {
26007
- const colorRGBA = convertToRGBA(this.color);
26008
- this.setThemeRGBA(colorRGBA);
26009
- }
26010
- };
26011
- this.setThemeRGBA = (colorRGBA) => {
26012
- if (colorRGBA !== null) {
26013
- const root = document.documentElement;
26014
- root.style.setProperty("--ic-theme-primary-r", colorRGBA.r.toString());
26015
- root.style.setProperty("--ic-theme-primary-g", colorRGBA.g.toString());
26016
- root.style.setProperty("--ic-theme-primary-b", colorRGBA.b.toString());
26017
- root.style.setProperty("--ic-theme-primary-a", colorRGBA.a.toString());
26351
+ const colorRGBA = convertToRGBA(this.color);
26352
+ if (colorRGBA) {
26353
+ const { r, g, b, a } = colorRGBA;
26354
+ const { style } = document.documentElement;
26355
+ style.setProperty("--ic-theme-primary-r", `${r}`);
26356
+ style.setProperty("--ic-theme-primary-g", `${g}`);
26357
+ style.setProperty("--ic-theme-primary-b", `${b}`);
26358
+ style.setProperty("--ic-theme-primary-a", `${a}`);
26018
26359
  this.checkThemeColorContrast();
26019
- const foregroundColor = getThemeForegroundColor();
26020
- this.themeChange.emit({ mode: foregroundColor, color: colorRGBA });
26360
+ this.themeChange.emit({
26361
+ mode: getThemeForegroundColor(),
26362
+ color: colorRGBA,
26363
+ });
26021
26364
  }
26022
26365
  };
26023
26366
  this.color = null;
@@ -26086,10 +26429,10 @@ class Toast {
26086
26429
  this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);
26087
26430
  if (this.autoDismissTimeout < 5000)
26088
26431
  this.autoDismissTimeout = 5000;
26089
- if (isSlotUsed(this.el, "action"))
26432
+ if (isSlotUsed$1(this.el, "action"))
26090
26433
  this.dismissMode = "manual";
26091
26434
  this.isManual = this.dismissMode === "manual";
26092
- if (isSlotUsed(this.el, "neutral-icon"))
26435
+ if (isSlotUsed$1(this.el, "neutral-icon"))
26093
26436
  this.variant = "neutral";
26094
26437
  if (this.variant === "neutral") {
26095
26438
  this.neutralVariantLabel =
@@ -26108,7 +26451,7 @@ class Toast {
26108
26451
  }
26109
26452
  componentDidLoad() {
26110
26453
  onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Toast");
26111
- const actionContent = getSlot(this.el, "action");
26454
+ const actionContent = getSlot$1(this.el, "action");
26112
26455
  const dismissButton = this.el.shadowRoot.querySelector("ic-button");
26113
26456
  if (actionContent)
26114
26457
  this.interactiveElements.push(actionContent);
@@ -26198,8 +26541,8 @@ class Toast {
26198
26541
  [`divider-${variant}`]: true,
26199
26542
  } }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { class: {
26200
26543
  ["toast-content"]: true,
26201
- ["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
26202
- } }, hAsync("div", { class: "toast-message" }, hAsync("ic-typography", { variant: "subtitle-large" }, visible && hAsync("h5", null, heading)), message && (hAsync("ic-typography", { variant: "body" }, visible && hAsync("p", null, message)))), isSlotUsed(this.el, "action") && (hAsync("div", { class: "toast-action-container" }, hAsync("slot", { name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", appearance: IcThemeForegroundEnum$1.Light, "aria-label": dismissButtonAriaLabel })))));
26544
+ ["no-icon"]: variant === "neutral" && !isSlotUsed$1(this.el, "neutral-icon"),
26545
+ } }, hAsync("div", { class: "toast-message" }, hAsync("ic-typography", { variant: "subtitle-large" }, visible && hAsync("h5", null, heading)), message && (hAsync("ic-typography", { variant: "body" }, visible && hAsync("p", null, message)))), isSlotUsed$1(this.el, "action") && (hAsync("div", { class: "toast-action-container" }, hAsync("slot", { name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", appearance: IcThemeForegroundEnum$1.Light, "aria-label": dismissButtonAriaLabel })))));
26203
26546
  }
26204
26547
  get el() { return getElement(this); }
26205
26548
  static get style() { return icToastCss; }
@@ -26345,7 +26688,7 @@ class ToggleButton {
26345
26688
  ["icon"]: this.variant === "icon",
26346
26689
  [`${this.size}`]: true,
26347
26690
  ["loading"]: this.loading,
26348
- }, onFocus: this.handleFocus }, hAsync("ic-button", { "aria-pressed": this.toggleChecked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.toggleChecked ? "ticked" : "unticked"}`, disabled: this.disabled, appearance: this.appearance, size: this.size, fullWidth: this.fullWidth, loading: this.loading, "aria-disabled": `${this.disabled}` }, this.variant !== "icon" && this.label, hAsync("slot", null), isSlotUsed(this.el, "icon") && (hAsync("slot", { name: "icon", slot: `${this.iconPlacement ? `${this.iconPlacement}-icon` : "icon"}` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { name: "badge", slot: "badge" })))));
26691
+ }, onFocus: this.handleFocus }, hAsync("ic-button", { "aria-pressed": this.toggleChecked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.toggleChecked ? "ticked" : "unticked"}`, disabled: this.disabled, appearance: this.appearance, size: this.size, fullWidth: this.fullWidth, loading: this.loading, "aria-disabled": `${this.disabled}` }, this.variant !== "icon" && this.label, hAsync("slot", null), isSlotUsed$1(this.el, "icon") && (hAsync("slot", { name: "icon", slot: `${this.iconPlacement ? `${this.iconPlacement}-icon` : "icon"}` })), isSlotUsed$1(this.el, "badge") && (hAsync("slot", { name: "badge", slot: "badge" })))));
26349
26692
  }
26350
26693
  static get delegatesFocus() { return true; }
26351
26694
  get el() { return getElement(this); }
@@ -26566,7 +26909,7 @@ class ToggleButtonGroup {
26566
26909
  }; }
26567
26910
  }
26568
26911
 
26569
- const icTooltipCss = "/*!@html*/html.sc-ic-tooltip{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-tooltip{margin:0}/*!@main*/main.sc-ic-tooltip{display:block}/*!@h1*/h1.sc-ic-tooltip{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-tooltip{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-tooltip{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-tooltip{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-tooltip{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-tooltip,strong.sc-ic-tooltip{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-tooltip,kbd.sc-ic-tooltip,samp.sc-ic-tooltip{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-tooltip{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-tooltip,sup.sc-ic-tooltip{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-tooltip{bottom:-0.25em}/*!@sup*/sup.sc-ic-tooltip{top:-0.5em}/*!@img*/img.sc-ic-tooltip{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-tooltip,input.sc-ic-tooltip,optgroup.sc-ic-tooltip,select.sc-ic-tooltip,textarea.sc-ic-tooltip{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-tooltip,input.sc-ic-tooltip{overflow:visible}/*!@button,\nselect*/button.sc-ic-tooltip,select.sc-ic-tooltip{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-tooltip,[type=\"button\"].sc-ic-tooltip,[type=\"reset\"].sc-ic-tooltip,[type=\"submit\"].sc-ic-tooltip{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-tooltip::-moz-focus-inner,[type=\"button\"].sc-ic-tooltip::-moz-focus-inner,[type=\"reset\"].sc-ic-tooltip::-moz-focus-inner,[type=\"submit\"].sc-ic-tooltip::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-tooltip:-moz-focusring,[type=\"button\"].sc-ic-tooltip:-moz-focusring,[type=\"reset\"].sc-ic-tooltip:-moz-focusring,[type=\"submit\"].sc-ic-tooltip:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-tooltip{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-tooltip{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-tooltip{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-tooltip{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-tooltip,[type=\"radio\"].sc-ic-tooltip{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-tooltip::-webkit-inner-spin-button,[type=\"number\"].sc-ic-tooltip::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-tooltip{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-tooltip::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-tooltip::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-tooltip{display:block}/*!@summary*/summary.sc-ic-tooltip{display:list-item}/*!@template*/template.sc-ic-tooltip{display:none}/*!@[hidden]*/[hidden].sc-ic-tooltip{display:none}/*!@html,\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*/html.sc-ic-tooltip,body.sc-ic-tooltip,div.sc-ic-tooltip,span.sc-ic-tooltip,applet.sc-ic-tooltip,object.sc-ic-tooltip,iframe.sc-ic-tooltip,h1.sc-ic-tooltip,h2.sc-ic-tooltip,h3.sc-ic-tooltip,h4.sc-ic-tooltip,h5.sc-ic-tooltip,h6.sc-ic-tooltip,p.sc-ic-tooltip,blockquote.sc-ic-tooltip,pre.sc-ic-tooltip,a.sc-ic-tooltip,abbr.sc-ic-tooltip,acronym.sc-ic-tooltip,address.sc-ic-tooltip,big.sc-ic-tooltip,cite.sc-ic-tooltip,code.sc-ic-tooltip,del.sc-ic-tooltip,dfn.sc-ic-tooltip,em.sc-ic-tooltip,img.sc-ic-tooltip,ins.sc-ic-tooltip,kbd.sc-ic-tooltip,q.sc-ic-tooltip,s.sc-ic-tooltip,samp.sc-ic-tooltip,small.sc-ic-tooltip,strike.sc-ic-tooltip,strong.sc-ic-tooltip,sub.sc-ic-tooltip,sup.sc-ic-tooltip,tt.sc-ic-tooltip,var.sc-ic-tooltip,b.sc-ic-tooltip,u.sc-ic-tooltip,i.sc-ic-tooltip,center.sc-ic-tooltip,dl.sc-ic-tooltip,dt.sc-ic-tooltip,dd.sc-ic-tooltip,ol.sc-ic-tooltip,ul.sc-ic-tooltip,li.sc-ic-tooltip,fieldset.sc-ic-tooltip,form.sc-ic-tooltip,label.sc-ic-tooltip,legend.sc-ic-tooltip,table.sc-ic-tooltip,caption.sc-ic-tooltip,tbody.sc-ic-tooltip,tfoot.sc-ic-tooltip,thead.sc-ic-tooltip,tr.sc-ic-tooltip,th.sc-ic-tooltip,td.sc-ic-tooltip,article.sc-ic-tooltip,aside.sc-ic-tooltip,canvas.sc-ic-tooltip,details.sc-ic-tooltip,embed.sc-ic-tooltip,figure.sc-ic-tooltip,figcaption.sc-ic-tooltip,footer.sc-ic-tooltip,header.sc-ic-tooltip,hgroup.sc-ic-tooltip,menu.sc-ic-tooltip,nav.sc-ic-tooltip,output.sc-ic-tooltip,ruby.sc-ic-tooltip,section.sc-ic-tooltip,summary.sc-ic-tooltip,time.sc-ic-tooltip,mark.sc-ic-tooltip,audio.sc-ic-tooltip,video.sc-ic-tooltip{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.ic-tooltip) .ic-tooltip-container*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}/*!@:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed))\n .ic-tooltip-container,\n:host(.tooltip-disabled) .ic-tooltip-container*/.tooltip-navigation-item.sc-ic-tooltip-h:not(.tooltip-navigation-item-side-nav-collapsed) .ic-tooltip-container.sc-ic-tooltip,.tooltip-disabled.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{display:none !important}/*!@:host(.tooltip-long-label-navigation-item-side-nav-expanded)\n .ic-tooltip-container[data-show]*/.tooltip-long-label-navigation-item-side-nav-expanded.sc-ic-tooltip-h .ic-tooltip-container[data-show].sc-ic-tooltip{display:block !important}/*!@:host(.ic-tooltip) .ic-tooltip-arrow,\n:host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip,.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{position:absolute;background:inherit}/*!@:host(.ic-tooltip) .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}/*!@:host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-architectural-40);width:100%;height:100%}/*!@:host(.ic-tooltip) .ic-tooltip-container[data-show]*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-show].sc-ic-tooltip{display:block}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"top\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"top\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{height:var(--ic-space-xxxs)}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"top\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"top\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"bottom\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"bottom\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"bottom\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"bottom\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"left\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"left\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"left\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"left\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"right\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"right\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"right\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"right\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}/*!@:host(.on-dialog) .ic-tooltip-container*/.on-dialog.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{transform:translate(\n var(--tooltip-translate-x),\n var(--tooltip-translate-y)\n ) !important}@media screen and (max-width: 576px){/*!@:host(.ic-tooltip) .ic-tooltip-container*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{max-width:18.875rem}}@media (forced-colors: active){/*!@:host(.ic-tooltip) .ic-tooltip-container,\n :host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip,.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{border:var(--ic-hc-border)}}";
26912
+ const icTooltipCss = "/*!@html*/html.sc-ic-tooltip{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-tooltip{margin:0}/*!@main*/main.sc-ic-tooltip{display:block}/*!@h1*/h1.sc-ic-tooltip{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-tooltip{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-tooltip{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-tooltip{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-tooltip{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-tooltip,strong.sc-ic-tooltip{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-tooltip,kbd.sc-ic-tooltip,samp.sc-ic-tooltip{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-tooltip{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-tooltip,sup.sc-ic-tooltip{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-tooltip{bottom:-0.25em}/*!@sup*/sup.sc-ic-tooltip{top:-0.5em}/*!@img*/img.sc-ic-tooltip{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-tooltip,input.sc-ic-tooltip,optgroup.sc-ic-tooltip,select.sc-ic-tooltip,textarea.sc-ic-tooltip{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-tooltip,input.sc-ic-tooltip{overflow:visible}/*!@button,\nselect*/button.sc-ic-tooltip,select.sc-ic-tooltip{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-tooltip,[type=\"button\"].sc-ic-tooltip,[type=\"reset\"].sc-ic-tooltip,[type=\"submit\"].sc-ic-tooltip{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-tooltip::-moz-focus-inner,[type=\"button\"].sc-ic-tooltip::-moz-focus-inner,[type=\"reset\"].sc-ic-tooltip::-moz-focus-inner,[type=\"submit\"].sc-ic-tooltip::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-tooltip:-moz-focusring,[type=\"button\"].sc-ic-tooltip:-moz-focusring,[type=\"reset\"].sc-ic-tooltip:-moz-focusring,[type=\"submit\"].sc-ic-tooltip:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-tooltip{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-tooltip{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-tooltip{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-tooltip{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-tooltip,[type=\"radio\"].sc-ic-tooltip{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-tooltip::-webkit-inner-spin-button,[type=\"number\"].sc-ic-tooltip::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-tooltip{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-tooltip::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-tooltip::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-tooltip{display:block}/*!@summary*/summary.sc-ic-tooltip{display:list-item}/*!@template*/template.sc-ic-tooltip{display:none}/*!@[hidden]*/[hidden].sc-ic-tooltip{display:none}/*!@html,\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*/html.sc-ic-tooltip,body.sc-ic-tooltip,div.sc-ic-tooltip,span.sc-ic-tooltip,applet.sc-ic-tooltip,object.sc-ic-tooltip,iframe.sc-ic-tooltip,h1.sc-ic-tooltip,h2.sc-ic-tooltip,h3.sc-ic-tooltip,h4.sc-ic-tooltip,h5.sc-ic-tooltip,h6.sc-ic-tooltip,p.sc-ic-tooltip,blockquote.sc-ic-tooltip,pre.sc-ic-tooltip,a.sc-ic-tooltip,abbr.sc-ic-tooltip,acronym.sc-ic-tooltip,address.sc-ic-tooltip,big.sc-ic-tooltip,cite.sc-ic-tooltip,code.sc-ic-tooltip,del.sc-ic-tooltip,dfn.sc-ic-tooltip,em.sc-ic-tooltip,img.sc-ic-tooltip,ins.sc-ic-tooltip,kbd.sc-ic-tooltip,q.sc-ic-tooltip,s.sc-ic-tooltip,samp.sc-ic-tooltip,small.sc-ic-tooltip,strike.sc-ic-tooltip,strong.sc-ic-tooltip,sub.sc-ic-tooltip,sup.sc-ic-tooltip,tt.sc-ic-tooltip,var.sc-ic-tooltip,b.sc-ic-tooltip,u.sc-ic-tooltip,i.sc-ic-tooltip,center.sc-ic-tooltip,dl.sc-ic-tooltip,dt.sc-ic-tooltip,dd.sc-ic-tooltip,ol.sc-ic-tooltip,ul.sc-ic-tooltip,li.sc-ic-tooltip,fieldset.sc-ic-tooltip,form.sc-ic-tooltip,label.sc-ic-tooltip,legend.sc-ic-tooltip,table.sc-ic-tooltip,caption.sc-ic-tooltip,tbody.sc-ic-tooltip,tfoot.sc-ic-tooltip,thead.sc-ic-tooltip,tr.sc-ic-tooltip,th.sc-ic-tooltip,td.sc-ic-tooltip,article.sc-ic-tooltip,aside.sc-ic-tooltip,canvas.sc-ic-tooltip,details.sc-ic-tooltip,embed.sc-ic-tooltip,figure.sc-ic-tooltip,figcaption.sc-ic-tooltip,footer.sc-ic-tooltip,header.sc-ic-tooltip,hgroup.sc-ic-tooltip,menu.sc-ic-tooltip,nav.sc-ic-tooltip,output.sc-ic-tooltip,ruby.sc-ic-tooltip,section.sc-ic-tooltip,summary.sc-ic-tooltip,time.sc-ic-tooltip,mark.sc-ic-tooltip,audio.sc-ic-tooltip,video.sc-ic-tooltip{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.ic-tooltip)*/.ic-tooltip.sc-ic-tooltip-h{width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content}/*!@:host(.ic-tooltip) .ic-tooltip-container*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}/*!@:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed))\n .ic-tooltip-container,\n:host(.tooltip-disabled) .ic-tooltip-container*/.tooltip-navigation-item.sc-ic-tooltip-h:not(.tooltip-navigation-item-side-nav-collapsed) .ic-tooltip-container.sc-ic-tooltip,.tooltip-disabled.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{display:none !important}/*!@:host(.tooltip-long-label-navigation-item-side-nav-expanded)\n .ic-tooltip-container[data-show]*/.tooltip-long-label-navigation-item-side-nav-expanded.sc-ic-tooltip-h .ic-tooltip-container[data-show].sc-ic-tooltip{display:block !important}/*!@:host(.ic-tooltip) .ic-tooltip-arrow,\n:host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip,.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{position:absolute;background:inherit}/*!@:host(.ic-tooltip) .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}/*!@:host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-architectural-40);width:100%;height:100%}/*!@:host(.ic-tooltip) .ic-tooltip-container[data-show]*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-show].sc-ic-tooltip{display:block}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"top\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"top\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{height:var(--ic-space-xxxs)}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"top\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"top\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"bottom\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"bottom\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"bottom\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"bottom\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"left\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"left\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"left\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"left\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"right\"]\n > .ic-tooltip-arrow*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"right\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}/*!@:host(.ic-tooltip)\n .ic-tooltip-container[data-popper-placement^=\"right\"]\n > .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container[data-popper-placement^=\"right\"].sc-ic-tooltip>.ic-tooltip-arrow.sc-ic-tooltip::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}/*!@:host(.on-dialog) .ic-tooltip-container*/.on-dialog.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{transform:translate(\n var(--tooltip-translate-x),\n var(--tooltip-translate-y)\n ) !important}@media screen and (max-width: 576px){/*!@:host(.ic-tooltip) .ic-tooltip-container*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip{max-width:18.875rem}}@media (forced-colors: active){/*!@:host(.ic-tooltip) .ic-tooltip-container,\n :host(.ic-tooltip) .ic-tooltip-arrow::before*/.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-container.sc-ic-tooltip,.ic-tooltip.sc-ic-tooltip-h .ic-tooltip-arrow.sc-ic-tooltip::before{border:var(--ic-hc-border)}}";
26570
26913
 
26571
26914
  class Tooltip {
26572
26915
  constructor(hostRef) {
@@ -26810,7 +27153,7 @@ class TopNavigation {
26810
27153
  this.searchBar = null;
26811
27154
  this.initialiseSearchBar = () => {
26812
27155
  if (this.hasSearchSlotContent) {
26813
- const slot = getSlot(this.el, "search");
27156
+ const slot = getSlot$1(this.el, "search");
26814
27157
  if ((slot === null || slot === void 0 ? void 0 : slot.tagName) === "IC-SEARCH-BAR") {
26815
27158
  this.searchBar = slot;
26816
27159
  }
@@ -26889,23 +27232,23 @@ class TopNavigation {
26889
27232
  }
26890
27233
  }
26891
27234
  componentWillLoad() {
26892
- this.hasAppIcon = isSlotUsed(this.el, "app-icon");
26893
- this.hasNavigation = isSlotUsed(this.el, "navigation");
26894
- this.hasIconButtons = isSlotUsed(this.el, "buttons");
26895
- this.hasSearchSlotContent = isSlotUsed(this.el, "search");
27235
+ this.hasAppIcon = isSlotUsed$1(this.el, "app-icon");
27236
+ this.hasNavigation = isSlotUsed$1(this.el, "navigation");
27237
+ this.hasIconButtons = isSlotUsed$1(this.el, "buttons");
27238
+ this.hasSearchSlotContent = isSlotUsed$1(this.el, "search");
26896
27239
  this.deviceSize = getCurrentDeviceSize();
26897
27240
  this.initialiseSearchBar();
26898
27241
  }
26899
27242
  componentDidLoad() {
26900
27243
  checkResizeObserver$1(this.runResizeObserver);
26901
- !isSlotUsed(this.el, "app-title") &&
27244
+ !isSlotUsed$1(this.el, "app-title") &&
26902
27245
  onComponentRequiredPropUndefined$1([{ prop: this.appTitle, propName: "app-title" }], "Top Navigation");
26903
27246
  }
26904
27247
  componentWillRender() {
26905
- this.hasNavigation = isSlotUsed(this.el, "navigation");
26906
- this.hasSearchSlotContent = isSlotUsed(this.el, "search");
26907
- this.hasIconButtons = isSlotUsed(this.el, "buttons");
26908
- this.hasAppIcon = isSlotUsed(this.el, "app-icon");
27248
+ this.hasNavigation = isSlotUsed$1(this.el, "navigation");
27249
+ this.hasSearchSlotContent = isSlotUsed$1(this.el, "search");
27250
+ this.hasIconButtons = isSlotUsed$1(this.el, "buttons");
27251
+ this.hasAppIcon = isSlotUsed$1(this.el, "app-icon");
26909
27252
  }
26910
27253
  navBarMenuCloseHandler() {
26911
27254
  this.showNavMenu(false);
@@ -26967,8 +27310,8 @@ class TopNavigation {
26967
27310
  : "h3";
26968
27311
  const mobileSearchButtonTitle = `${mobileSearchBarVisible ? "Hide" : "Show"} search`;
26969
27312
  const menuSize = deviceSize <= DEVICE_SIZES.S ? "small" : "default";
26970
- const shortAppTitleSlot = isSlotUsed(el, "short-app-title");
26971
- const hasAppTitleSlot = isSlotUsed(el, "app-title");
27313
+ const shortAppTitleSlot = isSlotUsed$1(el, "short-app-title");
27314
+ const hasAppTitleSlot = isSlotUsed$1(el, "app-title");
26972
27315
  const Component = hasAppTitleSlot ? "div" : "a";
26973
27316
  const attrs = Component == "a" && {
26974
27317
  href: href,
@@ -27015,7 +27358,7 @@ class TopNavigation {
27015
27358
  }; }
27016
27359
  }
27017
27360
 
27018
- const icTypographyCss = "/*!@html*/html.sc-ic-typography{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-typography{margin:0}/*!@main*/main.sc-ic-typography{display:block}/*!@h1*/h1.sc-ic-typography{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-typography{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-typography{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-typography{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-typography{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-typography,strong.sc-ic-typography{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-typography,kbd.sc-ic-typography,samp.sc-ic-typography{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-typography{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-typography,sup.sc-ic-typography{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-typography{bottom:-0.25em}/*!@sup*/sup.sc-ic-typography{top:-0.5em}/*!@img*/img.sc-ic-typography{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-typography,input.sc-ic-typography,optgroup.sc-ic-typography,select.sc-ic-typography,textarea.sc-ic-typography{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-typography,input.sc-ic-typography{overflow:visible}/*!@button,\nselect*/button.sc-ic-typography,select.sc-ic-typography{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-typography,[type=\"button\"].sc-ic-typography,[type=\"reset\"].sc-ic-typography,[type=\"submit\"].sc-ic-typography{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-typography::-moz-focus-inner,[type=\"button\"].sc-ic-typography::-moz-focus-inner,[type=\"reset\"].sc-ic-typography::-moz-focus-inner,[type=\"submit\"].sc-ic-typography::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-typography:-moz-focusring,[type=\"button\"].sc-ic-typography:-moz-focusring,[type=\"reset\"].sc-ic-typography:-moz-focusring,[type=\"submit\"].sc-ic-typography:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-typography{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-typography{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-typography{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-typography{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-typography,[type=\"radio\"].sc-ic-typography{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-typography::-webkit-inner-spin-button,[type=\"number\"].sc-ic-typography::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-typography{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-typography::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-typography::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-typography{display:block}/*!@summary*/summary.sc-ic-typography{display:list-item}/*!@template*/template.sc-ic-typography{display:none}/*!@[hidden]*/[hidden].sc-ic-typography{display:none}/*!@html,\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*/html.sc-ic-typography,body.sc-ic-typography,div.sc-ic-typography,span.sc-ic-typography,applet.sc-ic-typography,object.sc-ic-typography,iframe.sc-ic-typography,h1.sc-ic-typography,h2.sc-ic-typography,h3.sc-ic-typography,h4.sc-ic-typography,h5.sc-ic-typography,h6.sc-ic-typography,p.sc-ic-typography,blockquote.sc-ic-typography,pre.sc-ic-typography,a.sc-ic-typography,abbr.sc-ic-typography,acronym.sc-ic-typography,address.sc-ic-typography,big.sc-ic-typography,cite.sc-ic-typography,code.sc-ic-typography,del.sc-ic-typography,dfn.sc-ic-typography,em.sc-ic-typography,img.sc-ic-typography,ins.sc-ic-typography,kbd.sc-ic-typography,q.sc-ic-typography,s.sc-ic-typography,samp.sc-ic-typography,small.sc-ic-typography,strike.sc-ic-typography,strong.sc-ic-typography,sub.sc-ic-typography,sup.sc-ic-typography,tt.sc-ic-typography,var.sc-ic-typography,b.sc-ic-typography,u.sc-ic-typography,i.sc-ic-typography,center.sc-ic-typography,dl.sc-ic-typography,dt.sc-ic-typography,dd.sc-ic-typography,ol.sc-ic-typography,ul.sc-ic-typography,li.sc-ic-typography,fieldset.sc-ic-typography,form.sc-ic-typography,label.sc-ic-typography,legend.sc-ic-typography,table.sc-ic-typography,caption.sc-ic-typography,tbody.sc-ic-typography,tfoot.sc-ic-typography,thead.sc-ic-typography,tr.sc-ic-typography,th.sc-ic-typography,td.sc-ic-typography,article.sc-ic-typography,aside.sc-ic-typography,canvas.sc-ic-typography,details.sc-ic-typography,embed.sc-ic-typography,figure.sc-ic-typography,figcaption.sc-ic-typography,footer.sc-ic-typography,header.sc-ic-typography,hgroup.sc-ic-typography,menu.sc-ic-typography,nav.sc-ic-typography,output.sc-ic-typography,ruby.sc-ic-typography,section.sc-ic-typography,summary.sc-ic-typography,time.sc-ic-typography,mark.sc-ic-typography,audio.sc-ic-typography,video.sc-ic-typography{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-typography-h{display:block;position:relative}/*!@:host(.ic-typography-vertical-margins-h1)*/.ic-typography-vertical-margins-h1.sc-ic-typography-h{margin:0 0 var(--ic-space-xl)}/*!@:host(.ic-typography-vertical-margins-h2)*/.ic-typography-vertical-margins-h2.sc-ic-typography-h{margin:var(--ic-space-xxl) 0 var(--ic-space-lg)}/*!@:host(.ic-typography-vertical-margins-h3)*/.ic-typography-vertical-margins-h3.sc-ic-typography-h{margin:var(--ic-space-xl) 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-h4)*/.ic-typography-vertical-margins-h4.sc-ic-typography-h{margin:var(--ic-space-lg) 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-subtitle-large),\n:host(.ic-typography-vertical-margins-subtitle-small),\n:host(.ic-typography-vertical-margins-body),\n:host(.ic-typography-vertical-margins-code-large),\n:host(.ic-typography-vertical-margins-code-small),\n:host(.ic-typography-vertical-margins-code-extra-small)*/.ic-typography-vertical-margins-subtitle-large.sc-ic-typography-h,.ic-typography-vertical-margins-subtitle-small.sc-ic-typography-h,.ic-typography-vertical-margins-body.sc-ic-typography-h,.ic-typography-vertical-margins-code-large.sc-ic-typography-h,.ic-typography-vertical-margins-code-small.sc-ic-typography-h,.ic-typography-vertical-margins-code-extra-small.sc-ic-typography-h{margin:0 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-caption),\n:host(.ic-typography-vertical-margins-caption-uppercase)*/.ic-typography-vertical-margins-caption.sc-ic-typography-h,.ic-typography-vertical-margins-caption-uppercase.sc-ic-typography-h{margin:0 0 var(--ic-space-xs)}/*!@:host(.ic-typography-vertical-margins-h2:first-child),\n:host(.ic-typography-vertical-margins-h3:first-child),\n:host(.ic-typography-vertical-margins-h4:first-child)*/.ic-typography-vertical-margins-h2.sc-ic-typography-h:first-child,.ic-typography-vertical-margins-h3.sc-ic-typography-h:first-child,.ic-typography-vertical-margins-h4.sc-ic-typography-h:first-child{margin-top:0}/*!@:host(.ic-typography-h1)*/.ic-typography-h1.sc-ic-typography-h{font:var(--ic-font-h1) !important}/*!@:host(.ic-typography-h2)*/.ic-typography-h2.sc-ic-typography-h{font:var(--ic-font-h2);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-h3)*/.ic-typography-h3.sc-ic-typography-h{font:var(--ic-font-h3)}/*!@:host(.ic-typography-h4)*/.ic-typography-h4.sc-ic-typography-h{font:var(--ic-font-h4);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-subtitle-large)*/.ic-typography-subtitle-large.sc-ic-typography-h{font:var(--ic-font-subtitle-large);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-subtitle-small)*/.ic-typography-subtitle-small.sc-ic-typography-h{font:var(--ic-font-subtitle-small);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-body)*/.ic-typography-body.sc-ic-typography-h{font:var(--ic-font-body);letter-spacing:var(--ic-font-letter-spacing-0pt005)}/*!@:host(.ic-typography-caption)*/.ic-typography-caption.sc-ic-typography-h{font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-caption-uppercase)*/.ic-typography-caption-uppercase.sc-ic-typography-h{font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025);text-transform:uppercase}/*!@:host(.ic-typography-label)*/.ic-typography-label.sc-ic-typography-h{font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-label-uppercase)*/.ic-typography-label-uppercase.sc-ic-typography-h{font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025);text-transform:uppercase}/*!@:host(.ic-typography-code-large)*/.ic-typography-code-large.sc-ic-typography-h{font:var(--ic-font-code-large);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-code-small)*/.ic-typography-code-small.sc-ic-typography-h{font:var(--ic-font-code-small);letter-spacing:var(--ic-font-letter-spacing-0pt005)}/*!@:host(.ic-typography-code-extra-small)*/.ic-typography-code-extra-small.sc-ic-typography-h{font:var(--ic-font-code-extra-small);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-badge)*/.ic-typography-badge.sc-ic-typography-h{font:var(--ic-font-badge);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-badge-small)*/.ic-typography-badge-small.sc-ic-typography-h{font:var(--ic-font-badge-small);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-no-wrap)*/.ic-typography-no-wrap.sc-ic-typography-h{white-space:nowrap}/*!@:host ::slotted(h1),\n:host ::slotted(h2),\n:host ::slotted(h3),\n:host ::slotted(h4),\n:host ::slotted(h5),\n:host ::slotted(h6),\n:host ::slotted(p),\n:host ::slotted(label)*/.sc-ic-typography-h .sc-ic-typography-s>h1,.sc-ic-typography-h.sc-ic-typography-s>h2,.sc-ic-typography-h .sc-ic-typography-s>h2,.sc-ic-typography-h.sc-ic-typography-s>h3,.sc-ic-typography-h .sc-ic-typography-s>h3,.sc-ic-typography-h.sc-ic-typography-s>h4,.sc-ic-typography-h .sc-ic-typography-s>h4,.sc-ic-typography-h.sc-ic-typography-s>h5,.sc-ic-typography-h .sc-ic-typography-s>h5,.sc-ic-typography-h.sc-ic-typography-s>h6,.sc-ic-typography-h .sc-ic-typography-s>h6,.sc-ic-typography-h.sc-ic-typography-s>p,.sc-ic-typography-h .sc-ic-typography-s>p,.sc-ic-typography-h.sc-ic-typography-s>label,.sc-ic-typography-h .sc-ic-typography-s>label{font:inherit;letter-spacing:inherit}/*!@.trunc-wrapper*/.trunc-wrapper.sc-ic-typography{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--truncation-max-lines, initial);-webkit-line-clamp:var(--truncation-max-lines, initial);overflow:hidden}/*!@.trunc-btn*/.trunc-btn.sc-ic-typography{border:none;background:none;padding:0;color:var(--ic-color-primary-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}/*!@.trunc-btn:hover,\n.trunc-btn.focus*/.trunc-btn.sc-ic-typography:hover,.trunc-btn.focus.sc-ic-typography{outline:none;border-bottom:var(--ic-space-xxs) solid !important;margin-bottom:calc(-1 * var(--ic-space-xxs)) !important;text-decoration:none;cursor:pointer}/*!@:host(.strikethrough)*/.strikethrough.sc-ic-typography-h{text-decoration:line-through}/*!@:host(.underline)*/.underline.sc-ic-typography-h{text-decoration:underline}/*!@:host(.underline.strikethrough)*/.underline.strikethrough.sc-ic-typography-h{text-decoration:line-through underline}/*!@:host(.italic)*/.italic.sc-ic-typography-h{font-style:italic !important}/*!@:host(.bold)*/.bold.sc-ic-typography-h{font-weight:var(--ic-font-weight-bold)}@supports (text-decoration-thickness: 25%){/*!@.trunc-btn:hover,\n .trunc-btn.focus*/.trunc-btn.sc-ic-typography:hover,.trunc-btn.focus.sc-ic-typography{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
27361
+ const icTypographyCss = "/*!@html*/html.sc-ic-typography{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-typography{margin:0}/*!@main*/main.sc-ic-typography{display:block}/*!@h1*/h1.sc-ic-typography{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-typography{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-typography{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-typography{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-typography{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-typography,strong.sc-ic-typography{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-typography,kbd.sc-ic-typography,samp.sc-ic-typography{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-typography{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-typography,sup.sc-ic-typography{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-typography{bottom:-0.25em}/*!@sup*/sup.sc-ic-typography{top:-0.5em}/*!@img*/img.sc-ic-typography{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-typography,input.sc-ic-typography,optgroup.sc-ic-typography,select.sc-ic-typography,textarea.sc-ic-typography{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-typography,input.sc-ic-typography{overflow:visible}/*!@button,\nselect*/button.sc-ic-typography,select.sc-ic-typography{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-typography,[type=\"button\"].sc-ic-typography,[type=\"reset\"].sc-ic-typography,[type=\"submit\"].sc-ic-typography{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-typography::-moz-focus-inner,[type=\"button\"].sc-ic-typography::-moz-focus-inner,[type=\"reset\"].sc-ic-typography::-moz-focus-inner,[type=\"submit\"].sc-ic-typography::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-typography:-moz-focusring,[type=\"button\"].sc-ic-typography:-moz-focusring,[type=\"reset\"].sc-ic-typography:-moz-focusring,[type=\"submit\"].sc-ic-typography:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-typography{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-typography{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-typography{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-typography{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-typography,[type=\"radio\"].sc-ic-typography{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-typography::-webkit-inner-spin-button,[type=\"number\"].sc-ic-typography::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-typography{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-typography::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-typography::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-typography{display:block}/*!@summary*/summary.sc-ic-typography{display:list-item}/*!@template*/template.sc-ic-typography{display:none}/*!@[hidden]*/[hidden].sc-ic-typography{display:none}/*!@html,\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*/html.sc-ic-typography,body.sc-ic-typography,div.sc-ic-typography,span.sc-ic-typography,applet.sc-ic-typography,object.sc-ic-typography,iframe.sc-ic-typography,h1.sc-ic-typography,h2.sc-ic-typography,h3.sc-ic-typography,h4.sc-ic-typography,h5.sc-ic-typography,h6.sc-ic-typography,p.sc-ic-typography,blockquote.sc-ic-typography,pre.sc-ic-typography,a.sc-ic-typography,abbr.sc-ic-typography,acronym.sc-ic-typography,address.sc-ic-typography,big.sc-ic-typography,cite.sc-ic-typography,code.sc-ic-typography,del.sc-ic-typography,dfn.sc-ic-typography,em.sc-ic-typography,img.sc-ic-typography,ins.sc-ic-typography,kbd.sc-ic-typography,q.sc-ic-typography,s.sc-ic-typography,samp.sc-ic-typography,small.sc-ic-typography,strike.sc-ic-typography,strong.sc-ic-typography,sub.sc-ic-typography,sup.sc-ic-typography,tt.sc-ic-typography,var.sc-ic-typography,b.sc-ic-typography,u.sc-ic-typography,i.sc-ic-typography,center.sc-ic-typography,dl.sc-ic-typography,dt.sc-ic-typography,dd.sc-ic-typography,ol.sc-ic-typography,ul.sc-ic-typography,li.sc-ic-typography,fieldset.sc-ic-typography,form.sc-ic-typography,label.sc-ic-typography,legend.sc-ic-typography,table.sc-ic-typography,caption.sc-ic-typography,tbody.sc-ic-typography,tfoot.sc-ic-typography,thead.sc-ic-typography,tr.sc-ic-typography,th.sc-ic-typography,td.sc-ic-typography,article.sc-ic-typography,aside.sc-ic-typography,canvas.sc-ic-typography,details.sc-ic-typography,embed.sc-ic-typography,figure.sc-ic-typography,figcaption.sc-ic-typography,footer.sc-ic-typography,header.sc-ic-typography,hgroup.sc-ic-typography,menu.sc-ic-typography,nav.sc-ic-typography,output.sc-ic-typography,ruby.sc-ic-typography,section.sc-ic-typography,summary.sc-ic-typography,time.sc-ic-typography,mark.sc-ic-typography,audio.sc-ic-typography,video.sc-ic-typography{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-typography-h{display:block;position:relative}/*!@:host(.ic-typography-vertical-margins-h1)*/.ic-typography-vertical-margins-h1.sc-ic-typography-h{margin:0 0 var(--ic-space-xl)}/*!@:host(.ic-typography-vertical-margins-h2)*/.ic-typography-vertical-margins-h2.sc-ic-typography-h{margin:var(--ic-space-xxl) 0 var(--ic-space-lg)}/*!@:host(.ic-typography-vertical-margins-h3)*/.ic-typography-vertical-margins-h3.sc-ic-typography-h{margin:var(--ic-space-xl) 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-h4)*/.ic-typography-vertical-margins-h4.sc-ic-typography-h{margin:var(--ic-space-lg) 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-subtitle-large),\n:host(.ic-typography-vertical-margins-subtitle-small),\n:host(.ic-typography-vertical-margins-body),\n:host(.ic-typography-vertical-margins-code-large),\n:host(.ic-typography-vertical-margins-code-small),\n:host(.ic-typography-vertical-margins-code-extra-small)*/.ic-typography-vertical-margins-subtitle-large.sc-ic-typography-h,.ic-typography-vertical-margins-subtitle-small.sc-ic-typography-h,.ic-typography-vertical-margins-body.sc-ic-typography-h,.ic-typography-vertical-margins-code-large.sc-ic-typography-h,.ic-typography-vertical-margins-code-small.sc-ic-typography-h,.ic-typography-vertical-margins-code-extra-small.sc-ic-typography-h{margin:0 0 var(--ic-space-md)}/*!@:host(.ic-typography-vertical-margins-caption),\n:host(.ic-typography-vertical-margins-caption-uppercase)*/.ic-typography-vertical-margins-caption.sc-ic-typography-h,.ic-typography-vertical-margins-caption-uppercase.sc-ic-typography-h{margin:0 0 var(--ic-space-xs)}/*!@:host(.ic-typography-vertical-margins-h2:first-child),\n:host(.ic-typography-vertical-margins-h3:first-child),\n:host(.ic-typography-vertical-margins-h4:first-child)*/.ic-typography-vertical-margins-h2.sc-ic-typography-h:first-child,.ic-typography-vertical-margins-h3.sc-ic-typography-h:first-child,.ic-typography-vertical-margins-h4.sc-ic-typography-h:first-child{margin-top:0}/*!@:host(.ic-typography-h1)*/.ic-typography-h1.sc-ic-typography-h{font:var(--ic-font-h1) !important}/*!@:host(.ic-typography-h2)*/.ic-typography-h2.sc-ic-typography-h{font:var(--ic-font-h2);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-h3)*/.ic-typography-h3.sc-ic-typography-h{font:var(--ic-font-h3)}/*!@:host(.ic-typography-h4)*/.ic-typography-h4.sc-ic-typography-h{font:var(--ic-font-h4);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-subtitle-large)*/.ic-typography-subtitle-large.sc-ic-typography-h{font:var(--ic-font-subtitle-large);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-subtitle-small)*/.ic-typography-subtitle-small.sc-ic-typography-h{font:var(--ic-font-subtitle-small);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}/*!@:host(.ic-typography-body)*/.ic-typography-body.sc-ic-typography-h{font:var(--ic-font-body);letter-spacing:var(--ic-font-letter-spacing-0pt005)}/*!@:host(.ic-typography-caption)*/.ic-typography-caption.sc-ic-typography-h{font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-caption-uppercase)*/.ic-typography-caption-uppercase.sc-ic-typography-h{font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025);text-transform:uppercase}/*!@:host(.ic-typography-label)*/.ic-typography-label.sc-ic-typography-h{font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-label-uppercase)*/.ic-typography-label-uppercase.sc-ic-typography-h{font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025);text-transform:uppercase}/*!@:host(.ic-typography-code-large)*/.ic-typography-code-large.sc-ic-typography-h{font:var(--ic-font-code-large);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-code-small)*/.ic-typography-code-small.sc-ic-typography-h{font:var(--ic-font-code-small);letter-spacing:var(--ic-font-letter-spacing-0pt005)}/*!@:host(.ic-typography-code-extra-small)*/.ic-typography-code-extra-small.sc-ic-typography-h{font:var(--ic-font-code-extra-small);letter-spacing:var(--ic-font-letter-spacing-0pt025)}/*!@:host(.ic-typography-badge)*/.ic-typography-badge.sc-ic-typography-h{font:var(--ic-font-badge);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-badge-small)*/.ic-typography-badge-small.sc-ic-typography-h{font:var(--ic-font-badge-small);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}/*!@:host(.ic-typography-no-wrap)*/.ic-typography-no-wrap.sc-ic-typography-h{white-space:nowrap}/*!@:host ::slotted(h1),\n:host ::slotted(h2),\n:host ::slotted(h3),\n:host ::slotted(h4),\n:host ::slotted(h5),\n:host ::slotted(h6),\n:host ::slotted(p),\n:host ::slotted(label)*/.sc-ic-typography-h .sc-ic-typography-s>h1,.sc-ic-typography-h.sc-ic-typography-s>h2,.sc-ic-typography-h .sc-ic-typography-s>h2,.sc-ic-typography-h.sc-ic-typography-s>h3,.sc-ic-typography-h .sc-ic-typography-s>h3,.sc-ic-typography-h.sc-ic-typography-s>h4,.sc-ic-typography-h .sc-ic-typography-s>h4,.sc-ic-typography-h.sc-ic-typography-s>h5,.sc-ic-typography-h .sc-ic-typography-s>h5,.sc-ic-typography-h.sc-ic-typography-s>h6,.sc-ic-typography-h .sc-ic-typography-s>h6,.sc-ic-typography-h.sc-ic-typography-s>p,.sc-ic-typography-h .sc-ic-typography-s>p,.sc-ic-typography-h.sc-ic-typography-s>label,.sc-ic-typography-h .sc-ic-typography-s>label{font:inherit;letter-spacing:inherit}/*!@.trunc-wrapper*/.trunc-wrapper.sc-ic-typography{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--truncation-max-lines, initial);-webkit-line-clamp:var(--truncation-max-lines, initial);overflow:hidden}/*!@.trunc-btn*/.trunc-btn.sc-ic-typography{border:none;background:none;padding:0;color:var(--ic-color-primary-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}/*!@.trunc-btn:hover,\n.trunc-btn.focus*/.trunc-btn.sc-ic-typography:hover,.trunc-btn.focus.sc-ic-typography{outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none;cursor:pointer}/*!@:host(.strikethrough)*/.strikethrough.sc-ic-typography-h{text-decoration:line-through}/*!@:host(.underline)*/.underline.sc-ic-typography-h{text-decoration:underline}/*!@:host(.underline.strikethrough)*/.underline.strikethrough.sc-ic-typography-h{text-decoration:line-through underline}/*!@:host(.italic)*/.italic.sc-ic-typography-h{font-style:italic !important}/*!@:host(.bold)*/.bold.sc-ic-typography-h{font-weight:var(--ic-font-weight-bold)}@supports (text-decoration-thickness: 25%){/*!@.trunc-btn:hover,\n .trunc-btn.focus*/.trunc-btn.sc-ic-typography:hover,.trunc-btn.focus.sc-ic-typography{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
27019
27362
 
27020
27363
  class Typography {
27021
27364
  constructor(hostRef) {
@@ -27176,6 +27519,7 @@ registerComponents([
27176
27519
  DataEntity,
27177
27520
  DataRow,
27178
27521
  DataTable,
27522
+ DataTableTitleBar,
27179
27523
  DateInput,
27180
27524
  DatePicker,
27181
27525
  Dialog,