@ukic/web-components 3.21.0 → 3.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-3a796e7a.js → helpers-81cd6930.js} +3 -16
  3. package/dist/cjs/helpers-81cd6930.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-action-chip.cjs.entry.js +7 -3
  7. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox.cjs.entry.js +5 -5
  19. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-chip.cjs.entry.js +7 -3
  21. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-classification-banner.cjs.entry.js +13 -5
  23. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +212 -80
  34. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-pagination-bar.cjs.entry.js +389 -0
  46. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-pagination_3.cjs.entry.js +1412 -0
  49. package/dist/cjs/ic-pagination_3.cjs.entry.js.map +1 -0
  50. package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
  51. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-search-bar.cjs.entry.js +11 -11
  54. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  56. package/dist/cjs/ic-side-navigation.cjs.entry.js +18 -9
  57. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  59. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  61. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  62. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  63. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  65. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -2
  66. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  68. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  69. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  71. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-toast.cjs.entry.js +8 -7
  73. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  75. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  76. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  77. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  78. package/dist/cjs/index-d337cd8a.js +12 -16
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/collection/collection-manifest.json +2 -1
  81. package/dist/collection/components/ic-action-chip/ic-action-chip.css +15 -2
  82. package/dist/collection/components/ic-action-chip/ic-action-chip.js +5 -1
  83. package/dist/collection/components/ic-action-chip/ic-action-chip.js.map +1 -1
  84. package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -5
  85. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  86. package/dist/collection/components/ic-chip/ic-chip.css +15 -3
  87. package/dist/collection/components/ic-chip/ic-chip.js +5 -1
  88. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  89. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +33 -5
  90. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  91. package/dist/collection/components/ic-classification-banner/ic-classification-banner.stories.js +32 -0
  92. package/dist/collection/components/ic-menu/ic-menu.css +6 -1
  93. package/dist/collection/components/ic-menu/ic-menu.js +184 -53
  94. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  95. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +104 -0
  96. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +895 -0
  97. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -0
  98. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js +215 -0
  99. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js +2 -0
  100. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js.map +1 -0
  101. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  102. package/dist/collection/components/ic-search-bar/ic-search-bar.js +10 -11
  103. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  104. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  105. package/dist/collection/components/ic-select/ic-select.css +1 -2
  106. package/dist/collection/components/ic-select/ic-select.js +414 -589
  107. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  108. package/dist/collection/components/ic-select/ic-select.types.js +2 -0
  109. package/dist/collection/components/ic-select/ic-select.types.js.map +1 -0
  110. package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +26 -21
  111. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +18 -9
  112. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  113. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  114. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  115. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  116. package/dist/collection/components/ic-step/ic-step.js +13 -13
  117. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  118. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  119. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  120. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -2
  121. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  122. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  123. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  124. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  125. package/dist/collection/components/ic-toast/ic-toast.js +7 -6
  126. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  127. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  128. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  129. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  130. package/dist/collection/utils/helpers.js +2 -15
  131. package/dist/collection/utils/helpers.js.map +1 -1
  132. package/dist/components/helpers.js +3 -16
  133. package/dist/components/helpers.js.map +1 -1
  134. package/dist/components/ic-action-chip.js +6 -2
  135. package/dist/components/ic-action-chip.js.map +1 -1
  136. package/dist/components/ic-card-vertical.js.map +1 -1
  137. package/dist/components/ic-checkbox.js +4 -4
  138. package/dist/components/ic-checkbox.js.map +1 -1
  139. package/dist/components/ic-chip.js +6 -2
  140. package/dist/components/ic-chip.js.map +1 -1
  141. package/dist/components/ic-classification-banner.js +14 -5
  142. package/dist/components/ic-classification-banner.js.map +1 -1
  143. package/dist/components/ic-menu2.js +213 -79
  144. package/dist/components/ic-menu2.js.map +1 -1
  145. package/dist/components/ic-pagination-bar.d.ts +11 -0
  146. package/dist/components/ic-pagination-bar.js +523 -0
  147. package/dist/components/ic-pagination-bar.js.map +1 -0
  148. package/dist/components/ic-pagination.js +1 -375
  149. package/dist/components/ic-pagination.js.map +1 -1
  150. package/dist/{esm/ic-pagination.entry.js → components/ic-pagination2.js} +82 -11
  151. package/dist/components/ic-pagination2.js.map +1 -0
  152. package/dist/components/ic-popover-menu.js +4 -4
  153. package/dist/components/ic-popover-menu.js.map +1 -1
  154. package/dist/components/ic-radio-group.js.map +1 -1
  155. package/dist/components/ic-radio-option.js.map +1 -1
  156. package/dist/components/ic-search-bar.js +11 -11
  157. package/dist/components/ic-search-bar.js.map +1 -1
  158. package/dist/components/ic-section-container2.js +2 -2
  159. package/dist/components/ic-select.js +1 -994
  160. package/dist/components/ic-select.js.map +1 -1
  161. package/dist/components/ic-select2.js +804 -0
  162. package/dist/components/ic-select2.js.map +1 -0
  163. package/dist/components/ic-side-navigation.js +18 -9
  164. package/dist/components/ic-side-navigation.js.map +1 -1
  165. package/dist/components/ic-skeleton.js +2 -2
  166. package/dist/components/ic-skip-link.js +2 -2
  167. package/dist/components/ic-status-tag.js +2 -2
  168. package/dist/components/ic-step.js +13 -13
  169. package/dist/components/ic-stepper.js +2 -2
  170. package/dist/components/ic-stepper.js.map +1 -1
  171. package/dist/components/ic-switch.js +4 -4
  172. package/dist/components/ic-switch.js.map +1 -1
  173. package/dist/components/ic-tab-context.js +1 -2
  174. package/dist/components/ic-tab-context.js.map +1 -1
  175. package/dist/components/ic-tab-group.js +2 -2
  176. package/dist/components/ic-tab-panel.js +2 -2
  177. package/dist/components/ic-tab-panel.js.map +1 -1
  178. package/dist/components/ic-text-field.js +1 -528
  179. package/dist/components/ic-text-field.js.map +1 -1
  180. package/dist/{esm/ic-text-field.entry.js → components/ic-text-field2.js} +114 -11
  181. package/dist/components/ic-text-field2.js.map +1 -0
  182. package/dist/components/ic-theme.js +1 -1
  183. package/dist/components/ic-toast-region.js +1 -1
  184. package/dist/components/ic-toast.js +7 -6
  185. package/dist/components/ic-toast.js.map +1 -1
  186. package/dist/components/ic-toggle-button-group.js +2 -2
  187. package/dist/components/ic-toggle-button.js +2 -2
  188. package/dist/core/core.esm.js +1 -1
  189. package/dist/core/core.esm.js.map +1 -1
  190. package/dist/core/{p-0a24c536.entry.js → p-05fd2707.entry.js} +2 -2
  191. package/dist/core/{p-85e15d01.entry.js → p-09505807.entry.js} +2 -2
  192. package/dist/core/{p-96bc7d24.entry.js → p-09caf7ed.entry.js} +2 -2
  193. package/dist/core/p-09caf7ed.entry.js.map +1 -0
  194. package/dist/core/{p-9057a186.entry.js → p-0b728f50.entry.js} +2 -2
  195. package/dist/core/{p-9057a186.entry.js.map → p-0b728f50.entry.js.map} +1 -1
  196. package/dist/core/p-0fb7f915.entry.js +2 -0
  197. package/dist/core/p-0fb7f915.entry.js.map +1 -0
  198. package/dist/core/{p-41a5da12.entry.js → p-1b81ec88.entry.js} +2 -2
  199. package/dist/core/{p-99951365.entry.js → p-2691cc80.entry.js} +2 -2
  200. package/dist/core/{p-94916588.entry.js → p-2a124daf.entry.js} +2 -2
  201. package/dist/core/{p-04c77b2d.entry.js → p-2b87c592.entry.js} +2 -2
  202. package/dist/core/{p-4aa56990.entry.js → p-2bd80913.entry.js} +2 -2
  203. package/dist/core/{p-aed1c7e7.entry.js → p-347cc084.entry.js} +2 -2
  204. package/dist/core/p-393af2bc.entry.js +2 -0
  205. package/dist/core/p-393af2bc.entry.js.map +1 -0
  206. package/dist/core/{p-a3dea729.entry.js → p-3aed13ba.entry.js} +2 -2
  207. package/dist/core/{p-8da90b72.entry.js → p-46fd555f.entry.js} +2 -2
  208. package/dist/core/{p-43cc0f1d.entry.js → p-48a628f0.entry.js} +2 -2
  209. package/dist/core/{p-9a4e067f.entry.js → p-4f56acff.entry.js} +2 -2
  210. package/dist/core/{p-3021290f.entry.js → p-506d428a.entry.js} +2 -2
  211. package/dist/core/{p-a1b2f483.entry.js → p-50dca790.entry.js} +2 -2
  212. package/dist/core/p-53ab3c0f.entry.js +2 -0
  213. package/dist/core/p-53ab3c0f.entry.js.map +1 -0
  214. package/dist/core/{p-feef7c2c.entry.js → p-56de4f4b.entry.js} +2 -2
  215. package/dist/core/{p-b4e322fe.entry.js → p-5900cb65.entry.js} +2 -2
  216. package/dist/core/{p-78a54069.entry.js → p-5976de6e.entry.js} +2 -2
  217. package/dist/core/{p-2af89564.entry.js → p-61d79fc6.entry.js} +2 -2
  218. package/dist/core/{p-2af89564.entry.js.map → p-61d79fc6.entry.js.map} +1 -1
  219. package/dist/core/p-659d048d.entry.js +2 -0
  220. package/dist/core/{p-1edf2689.entry.js → p-67de1290.entry.js} +2 -2
  221. package/dist/core/p-6b4ec95f.entry.js +3 -0
  222. package/dist/core/p-6b4ec95f.entry.js.map +1 -0
  223. package/dist/core/{p-f700b759.entry.js → p-73043f57.entry.js} +2 -2
  224. package/dist/core/{p-7b8e5926.entry.js → p-735d3096.entry.js} +2 -2
  225. package/dist/core/{p-07075461.entry.js → p-7b538fd1.entry.js} +2 -2
  226. package/dist/core/{p-cfd43558.entry.js → p-80d85403.entry.js} +2 -2
  227. package/dist/core/{p-7f279c8a.entry.js → p-83578f1d.entry.js} +2 -2
  228. package/dist/core/{p-7f279c8a.entry.js.map → p-83578f1d.entry.js.map} +1 -1
  229. package/dist/core/{p-b8c0c142.entry.js → p-880f7548.entry.js} +2 -2
  230. package/dist/core/p-880f7548.entry.js.map +1 -0
  231. package/dist/core/{p-79949920.entry.js → p-8a833e82.entry.js} +2 -2
  232. package/dist/core/{p-0aba9e31.entry.js → p-90678e67.entry.js} +2 -2
  233. package/dist/core/{p-a851eb65.entry.js → p-9502fb86.entry.js} +2 -2
  234. package/dist/core/{p-2ca7f050.entry.js → p-99433296.entry.js} +2 -2
  235. package/dist/core/p-99433296.entry.js.map +1 -0
  236. package/dist/core/{p-f6de08fb.entry.js → p-9c2b2cb9.entry.js} +2 -2
  237. package/dist/core/{p-949d08d3.entry.js → p-9cb83a2e.entry.js} +2 -2
  238. package/dist/core/{p-f0ecb80b.entry.js → p-a08d6b46.entry.js} +2 -2
  239. package/dist/core/p-a321feee.entry.js +2 -0
  240. package/dist/core/p-a321feee.entry.js.map +1 -0
  241. package/dist/core/{p-208f470f.entry.js → p-a780a34b.entry.js} +2 -2
  242. package/dist/core/{p-387b7bca.entry.js → p-aad03a3c.entry.js} +2 -2
  243. package/dist/core/{p-ec14c783.entry.js → p-aaf4e367.entry.js} +2 -2
  244. package/dist/core/{p-707ae6e9.entry.js → p-b52c44eb.entry.js} +2 -2
  245. package/dist/core/{p-716e7eaf.entry.js → p-b777f0a1.entry.js} +2 -2
  246. package/dist/core/p-b777f0a1.entry.js.map +1 -0
  247. package/dist/core/p-b77b1e1f.js +2 -0
  248. package/dist/core/p-b77b1e1f.js.map +1 -0
  249. package/dist/core/{p-780babc0.entry.js → p-b997ad5e.entry.js} +2 -2
  250. package/dist/core/{p-a0af1b0a.entry.js → p-bb7652cd.entry.js} +2 -2
  251. package/dist/core/{p-ded4cd76.entry.js → p-cbca04bb.entry.js} +2 -2
  252. package/dist/core/{p-99687bce.entry.js → p-cc64e5ef.entry.js} +2 -2
  253. package/dist/core/{p-812c5e61.entry.js → p-cfbacca1.entry.js} +2 -2
  254. package/dist/core/{p-0da2caa2.entry.js → p-daec7e69.entry.js} +2 -2
  255. package/dist/core/{p-1590fd69.entry.js → p-e7767c0d.entry.js} +2 -2
  256. package/dist/core/p-e938eb31.entry.js +2 -0
  257. package/dist/core/p-e938eb31.entry.js.map +1 -0
  258. package/dist/core/{p-dce11b9d.entry.js → p-ea7a3d30.entry.js} +2 -2
  259. package/dist/core/{p-880afd4b.entry.js → p-ebd688b9.entry.js} +2 -2
  260. package/dist/core/p-ebd688b9.entry.js.map +1 -0
  261. package/dist/core/{p-a674b13b.entry.js → p-ef70ea50.entry.js} +2 -2
  262. package/dist/core/{p-d25d0aad.entry.js → p-f64996f1.entry.js} +2 -2
  263. package/dist/core/{p-db17a793.entry.js → p-f661ba76.entry.js} +2 -2
  264. package/dist/core/{p-a03bb31c.entry.js → p-f84ac9c6.entry.js} +2 -2
  265. package/dist/core/{p-f3406b42.entry.js → p-fb9376f0.entry.js} +2 -2
  266. package/dist/esm/core.js +1 -1
  267. package/dist/esm/{helpers-0f85537f.js → helpers-66681c73.js} +4 -17
  268. package/dist/esm/helpers-66681c73.js.map +1 -0
  269. package/dist/esm/ic-accordion-group.entry.js +1 -1
  270. package/dist/esm/ic-accordion.entry.js +1 -1
  271. package/dist/esm/ic-action-chip.entry.js +7 -3
  272. package/dist/esm/ic-action-chip.entry.js.map +1 -1
  273. package/dist/esm/ic-alert.entry.js +1 -1
  274. package/dist/esm/ic-back-to-top.entry.js +1 -1
  275. package/dist/esm/ic-badge.entry.js +1 -1
  276. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  277. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  278. package/dist/esm/ic-button_3.entry.js +1 -1
  279. package/dist/esm/ic-button_3.entry.js.map +1 -1
  280. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  281. package/dist/esm/ic-card-vertical.entry.js +1 -1
  282. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  283. package/dist/esm/ic-checkbox.entry.js +5 -5
  284. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  285. package/dist/esm/ic-chip.entry.js +7 -3
  286. package/dist/esm/ic-chip.entry.js.map +1 -1
  287. package/dist/esm/ic-classification-banner.entry.js +13 -5
  288. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  289. package/dist/esm/ic-data-row.entry.js +1 -1
  290. package/dist/esm/ic-dialog.entry.js +1 -1
  291. package/dist/esm/ic-divider.entry.js +1 -1
  292. package/dist/esm/ic-empty-state.entry.js +1 -1
  293. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  294. package/dist/esm/ic-footer-link.entry.js +1 -1
  295. package/dist/esm/ic-footer.entry.js +1 -1
  296. package/dist/esm/ic-hero.entry.js +1 -1
  297. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  298. package/dist/esm/ic-input-component-container_3.entry.js +212 -80
  299. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  300. package/dist/esm/ic-input-label_2.entry.js +1 -1
  301. package/dist/esm/ic-link.entry.js +1 -1
  302. package/dist/esm/ic-menu-group.entry.js +1 -1
  303. package/dist/esm/ic-menu-item.entry.js +1 -1
  304. package/dist/esm/ic-navigation-button.entry.js +1 -1
  305. package/dist/esm/ic-navigation-group.entry.js +1 -1
  306. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  307. package/dist/esm/ic-navigation-item.entry.js +1 -1
  308. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  309. package/dist/esm/ic-page-header.entry.js +1 -1
  310. package/dist/esm/ic-pagination-bar.entry.js +385 -0
  311. package/dist/esm/ic-pagination-bar.entry.js.map +1 -0
  312. package/dist/esm/ic-pagination-item.entry.js +1 -1
  313. package/dist/esm/ic-pagination_3.entry.js +1406 -0
  314. package/dist/esm/ic-pagination_3.entry.js.map +1 -0
  315. package/dist/esm/ic-popover-menu.entry.js +5 -5
  316. package/dist/esm/ic-radio-group.entry.js +1 -1
  317. package/dist/esm/ic-radio-option.entry.js +1 -1
  318. package/dist/esm/ic-search-bar.entry.js +11 -11
  319. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  320. package/dist/esm/ic-section-container.entry.js +2 -2
  321. package/dist/esm/ic-side-navigation.entry.js +18 -9
  322. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  323. package/dist/esm/ic-skeleton.entry.js +2 -2
  324. package/dist/esm/ic-skip-link.entry.js +2 -2
  325. package/dist/esm/ic-status-tag.entry.js +3 -3
  326. package/dist/esm/ic-step.entry.js +14 -14
  327. package/dist/esm/ic-stepper.entry.js +3 -3
  328. package/dist/esm/ic-stepper.entry.js.map +1 -1
  329. package/dist/esm/ic-switch.entry.js +5 -5
  330. package/dist/esm/ic-tab-context.entry.js +1 -2
  331. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  332. package/dist/esm/ic-tab-group.entry.js +3 -3
  333. package/dist/esm/ic-tab-panel.entry.js +2 -2
  334. package/dist/esm/ic-tab.entry.js +1 -1
  335. package/dist/esm/ic-theme.entry.js +2 -2
  336. package/dist/esm/ic-toast-region.entry.js +1 -1
  337. package/dist/esm/ic-toast.entry.js +8 -7
  338. package/dist/esm/ic-toast.entry.js.map +1 -1
  339. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  340. package/dist/esm/ic-toggle-button.entry.js +3 -3
  341. package/dist/esm/ic-top-navigation.entry.js +1 -1
  342. package/dist/esm/ic-typography.entry.js +1 -1
  343. package/dist/esm/index-a7a720e7.js +12 -16
  344. package/dist/esm/loader.js +1 -1
  345. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +4 -0
  346. package/dist/types/components/ic-menu/ic-menu.d.ts +11 -1
  347. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +162 -0
  348. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.types.d.ts +8 -0
  349. package/dist/types/components/ic-select/ic-select.d.ts +53 -80
  350. package/dist/types/components/ic-select/ic-select.types.d.ts +43 -0
  351. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +3 -2
  352. package/dist/types/components.d.ts +234 -5
  353. package/dist/types/utils/helpers.d.ts +2 -4
  354. package/hydrate/index.js +1141 -771
  355. package/hydrate/index.mjs +1141 -771
  356. package/package.json +2 -2
  357. package/vscode-data.json +131 -0
  358. package/dist/cjs/helpers-3a796e7a.js.map +0 -1
  359. package/dist/cjs/ic-pagination.cjs.entry.js +0 -312
  360. package/dist/cjs/ic-pagination.cjs.entry.js.map +0 -1
  361. package/dist/cjs/ic-select.cjs.entry.js +0 -879
  362. package/dist/cjs/ic-select.cjs.entry.js.map +0 -1
  363. package/dist/cjs/ic-text-field.cjs.entry.js +0 -433
  364. package/dist/cjs/ic-text-field.cjs.entry.js.map +0 -1
  365. package/dist/core/p-0d7fd892.entry.js +0 -2
  366. package/dist/core/p-29b61bb5.entry.js +0 -3
  367. package/dist/core/p-29b61bb5.entry.js.map +0 -1
  368. package/dist/core/p-2ca7f050.entry.js.map +0 -1
  369. package/dist/core/p-4aadabc8.entry.js +0 -2
  370. package/dist/core/p-4aadabc8.entry.js.map +0 -1
  371. package/dist/core/p-716e7eaf.entry.js.map +0 -1
  372. package/dist/core/p-808e1ef5.entry.js +0 -2
  373. package/dist/core/p-808e1ef5.entry.js.map +0 -1
  374. package/dist/core/p-880afd4b.entry.js.map +0 -1
  375. package/dist/core/p-8fe4e0ad.entry.js +0 -2
  376. package/dist/core/p-8fe4e0ad.entry.js.map +0 -1
  377. package/dist/core/p-96bc7d24.entry.js.map +0 -1
  378. package/dist/core/p-b8c0c142.entry.js.map +0 -1
  379. package/dist/core/p-c5b9519d.entry.js +0 -2
  380. package/dist/core/p-c5b9519d.entry.js.map +0 -1
  381. package/dist/core/p-d1730d4d.entry.js +0 -2
  382. package/dist/core/p-d1730d4d.entry.js.map +0 -1
  383. package/dist/core/p-dbc8bf0c.js +0 -2
  384. package/dist/core/p-dbc8bf0c.js.map +0 -1
  385. package/dist/core/p-fdb587ab.entry.js +0 -2
  386. package/dist/core/p-fdb587ab.entry.js.map +0 -1
  387. package/dist/esm/helpers-0f85537f.js.map +0 -1
  388. package/dist/esm/ic-pagination.entry.js.map +0 -1
  389. package/dist/esm/ic-select.entry.js +0 -875
  390. package/dist/esm/ic-select.entry.js.map +0 -1
  391. package/dist/esm/ic-text-field.entry.js.map +0 -1
  392. /package/dist/core/{p-0a24c536.entry.js.map → p-05fd2707.entry.js.map} +0 -0
  393. /package/dist/core/{p-85e15d01.entry.js.map → p-09505807.entry.js.map} +0 -0
  394. /package/dist/core/{p-41a5da12.entry.js.map → p-1b81ec88.entry.js.map} +0 -0
  395. /package/dist/core/{p-99951365.entry.js.map → p-2691cc80.entry.js.map} +0 -0
  396. /package/dist/core/{p-94916588.entry.js.map → p-2a124daf.entry.js.map} +0 -0
  397. /package/dist/core/{p-04c77b2d.entry.js.map → p-2b87c592.entry.js.map} +0 -0
  398. /package/dist/core/{p-4aa56990.entry.js.map → p-2bd80913.entry.js.map} +0 -0
  399. /package/dist/core/{p-aed1c7e7.entry.js.map → p-347cc084.entry.js.map} +0 -0
  400. /package/dist/core/{p-a3dea729.entry.js.map → p-3aed13ba.entry.js.map} +0 -0
  401. /package/dist/core/{p-8da90b72.entry.js.map → p-46fd555f.entry.js.map} +0 -0
  402. /package/dist/core/{p-43cc0f1d.entry.js.map → p-48a628f0.entry.js.map} +0 -0
  403. /package/dist/core/{p-9a4e067f.entry.js.map → p-4f56acff.entry.js.map} +0 -0
  404. /package/dist/core/{p-3021290f.entry.js.map → p-506d428a.entry.js.map} +0 -0
  405. /package/dist/core/{p-a1b2f483.entry.js.map → p-50dca790.entry.js.map} +0 -0
  406. /package/dist/core/{p-feef7c2c.entry.js.map → p-56de4f4b.entry.js.map} +0 -0
  407. /package/dist/core/{p-b4e322fe.entry.js.map → p-5900cb65.entry.js.map} +0 -0
  408. /package/dist/core/{p-78a54069.entry.js.map → p-5976de6e.entry.js.map} +0 -0
  409. /package/dist/core/{p-0d7fd892.entry.js.map → p-659d048d.entry.js.map} +0 -0
  410. /package/dist/core/{p-1edf2689.entry.js.map → p-67de1290.entry.js.map} +0 -0
  411. /package/dist/core/{p-f700b759.entry.js.map → p-73043f57.entry.js.map} +0 -0
  412. /package/dist/core/{p-7b8e5926.entry.js.map → p-735d3096.entry.js.map} +0 -0
  413. /package/dist/core/{p-07075461.entry.js.map → p-7b538fd1.entry.js.map} +0 -0
  414. /package/dist/core/{p-cfd43558.entry.js.map → p-80d85403.entry.js.map} +0 -0
  415. /package/dist/core/{p-79949920.entry.js.map → p-8a833e82.entry.js.map} +0 -0
  416. /package/dist/core/{p-0aba9e31.entry.js.map → p-90678e67.entry.js.map} +0 -0
  417. /package/dist/core/{p-a851eb65.entry.js.map → p-9502fb86.entry.js.map} +0 -0
  418. /package/dist/core/{p-f6de08fb.entry.js.map → p-9c2b2cb9.entry.js.map} +0 -0
  419. /package/dist/core/{p-949d08d3.entry.js.map → p-9cb83a2e.entry.js.map} +0 -0
  420. /package/dist/core/{p-f0ecb80b.entry.js.map → p-a08d6b46.entry.js.map} +0 -0
  421. /package/dist/core/{p-208f470f.entry.js.map → p-a780a34b.entry.js.map} +0 -0
  422. /package/dist/core/{p-387b7bca.entry.js.map → p-aad03a3c.entry.js.map} +0 -0
  423. /package/dist/core/{p-ec14c783.entry.js.map → p-aaf4e367.entry.js.map} +0 -0
  424. /package/dist/core/{p-707ae6e9.entry.js.map → p-b52c44eb.entry.js.map} +0 -0
  425. /package/dist/core/{p-780babc0.entry.js.map → p-b997ad5e.entry.js.map} +0 -0
  426. /package/dist/core/{p-a0af1b0a.entry.js.map → p-bb7652cd.entry.js.map} +0 -0
  427. /package/dist/core/{p-ded4cd76.entry.js.map → p-cbca04bb.entry.js.map} +0 -0
  428. /package/dist/core/{p-99687bce.entry.js.map → p-cc64e5ef.entry.js.map} +0 -0
  429. /package/dist/core/{p-812c5e61.entry.js.map → p-cfbacca1.entry.js.map} +0 -0
  430. /package/dist/core/{p-0da2caa2.entry.js.map → p-daec7e69.entry.js.map} +0 -0
  431. /package/dist/core/{p-1590fd69.entry.js.map → p-e7767c0d.entry.js.map} +0 -0
  432. /package/dist/core/{p-dce11b9d.entry.js.map → p-ea7a3d30.entry.js.map} +0 -0
  433. /package/dist/core/{p-a674b13b.entry.js.map → p-ef70ea50.entry.js.map} +0 -0
  434. /package/dist/core/{p-d25d0aad.entry.js.map → p-f64996f1.entry.js.map} +0 -0
  435. /package/dist/core/{p-db17a793.entry.js.map → p-f661ba76.entry.js.map} +0 -0
  436. /package/dist/core/{p-a03bb31c.entry.js.map → p-f84ac9c6.entry.js.map} +0 -0
  437. /package/dist/core/{p-f3406b42.entry.js.map → p-fb9376f0.entry.js.map} +0 -0
package/hydrate/index.mjs CHANGED
@@ -3287,7 +3287,6 @@ const IC_TAB_CONTEXT = "IC-TAB-CONTEXT";
3287
3287
  const IC_TEXT_FIELD = "IC-TEXT-FIELD";
3288
3288
 
3289
3289
  const DARK_MODE_THRESHOLD = 133.3505;
3290
- const ANYWHERE_SEARCH_POSITION = "anywhere";
3291
3290
  const icInput = "ic-input";
3292
3291
  /**
3293
3292
  * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
@@ -3491,25 +3490,13 @@ const getLabelFromValue = (value, options, valueField = "value", labelField = "l
3491
3490
  /**
3492
3491
  * Filters the options based on the search string.
3493
3492
  * @param options - array of options
3494
- * @param includeDescriptions - determines whether option descriptions are included when filtering options
3495
3493
  * @param searchString - string used to filter the options
3496
- * @param position - whether the search string matches the start of or anywhere in the options
3497
3494
  * @returns filtered array of options
3498
3495
  */
3499
- const getFilteredMenuOptions = (options, includeDescriptions, searchString, position = ANYWHERE_SEARCH_POSITION, labelField = "label") => options.filter((option) => {
3500
- var _a;
3496
+ const getFilteredMenuOptions = (options, searchString, labelField = "label") => options.filter((option) => {
3501
3497
  const label = option[labelField].toLowerCase();
3502
- const description = (_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase();
3503
3498
  const lowerSearchString = searchString.toLowerCase();
3504
- return position === ANYWHERE_SEARCH_POSITION
3505
- ? includeDescriptions
3506
- ? label.includes(lowerSearchString) ||
3507
- (description === null || description === void 0 ? void 0 : description.includes(lowerSearchString))
3508
- : label.includes(lowerSearchString)
3509
- : includeDescriptions
3510
- ? label.startsWith(lowerSearchString) ||
3511
- (description === null || description === void 0 ? void 0 : description.startsWith(lowerSearchString))
3512
- : label.startsWith(lowerSearchString);
3499
+ return label.includes(lowerSearchString);
3513
3500
  });
3514
3501
  /**
3515
3502
  * Gets count of options where only group title "parent" options have been removed.
@@ -4208,7 +4195,7 @@ class AccordionGroup {
4208
4195
 
4209
4196
  var OpenInNew = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>`;
4210
4197
 
4211
- const icActionChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n.chip {\n --icon-color: var(--ic-action-chip-filled-icon);\n --text-color: var(--ic-action-chip-filled-label);\n --ic-typography-color: var(--text-color);\n\n align-items: center;\n background-color: var(--ic-action-chip-filled-background-default);\n border: var(--ic-border-width) solid transparent;\n border-radius: var(--ic-space-md);\n color: var(--text-color);\n cursor: pointer;\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n position: relative;\n text-decoration: none;\n\n &:hover {\n background-color: var(--ic-action-chip-filled-background-hover);\n }\n\n &:active {\n background-color: var(--ic-action-chip-filled-background-pressed);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n }\n}\n\n.small {\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n padding: var(--ic-space-1px) var(--ic-space-xxxs);\n}\n\n.large {\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n}\n\n.outlined {\n --icon-color: var(--ic-action-chip-outlined-icon);\n --text-color: var(--ic-action-chip-outlined-label);\n\n background-color: transparent;\n border-color: var(--ic-action-chip-outlined-border-default);\n\n &.non-transparent {\n background-color: var(--ic-action-chip-outlined-background-default);\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-outlined-icon-hover);\n --text-color: var(--ic-action-chip-outlined-label-hover);\n\n background-color: var(--ic-action-chip-outlined-background-hover);\n border-color: var(--ic-action-chip-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-outlined-label-pressed);\n\n background-color: var(--ic-action-chip-outlined-background-pressed);\n border-color: var(--ic-action-chip-outlined-border-pressed);\n }\n}\n\n.monochrome {\n &.filled {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-default\n );\n\n &:hover {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-hover\n );\n }\n\n &:active {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-pressed\n );\n }\n }\n\n &.outlined {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon);\n --text-color: var(--ic-action-chip-monochrome-outlined-label);\n\n border-color: var(--ic-action-chip-monochrome-outlined-border-default);\n\n &.non-transparent {\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-default\n );\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-hover);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-hover);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-hover\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-pressed);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-pressed\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-pressed);\n }\n }\n}\n\n.disabled {\n --icon-color: var(--ic-action-chip-icon-disabled) !important;\n --text-color: var(--ic-action-chip-label-disabled) !important;\n\n background-color: var(--ic-action-chip-background-disabled) !important;\n cursor: default;\n\n &.outlined {\n border-color: var(--ic-action-chip-outlined-border-disabled) !important;\n border-style: dashed;\n\n &:not(.non-transparent) {\n background-color: transparent !important;\n }\n }\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.icon {\n box-sizing: border-box;\n color: var(--icon-color);\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n padding: var(--ic-space-xxxs);\n}\n\n.open-in-new-icon {\n box-sizing: border-box;\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n.open-in-new-icon > svg {\n fill: var(--icon-color);\n height: inherit;\n width: inherit;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n\n &.disabled {\n --text-color: GrayText;\n\n -webkit-appearance: none;\n\n -moz-appearance: none;\n\n appearance: none;\n border-color: GrayText;\n\n svg,\n ::slotted(svg) {\n fill: GrayText;\n }\n }\n\n &:focus {\n border-color: Highlight;\n outline: none;\n }\n }\n}\n";
4198
+ const icActionChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n.chip {\n --icon-color: var(--ic-action-chip-filled-icon);\n --text-color: var(--ic-action-chip-filled-label);\n --ic-typography-color: var(--text-color);\n\n align-items: center;\n background-color: var(--ic-action-chip-filled-background-default);\n border: var(--ic-border-width) solid transparent;\n border-radius: var(--ic-space-md);\n color: var(--text-color);\n cursor: pointer;\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n position: relative;\n text-decoration: none;\n\n &:hover {\n background-color: var(--ic-action-chip-filled-background-hover);\n }\n\n &:active {\n background-color: var(--ic-action-chip-filled-background-pressed);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n }\n}\n\n.small {\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n padding: var(--ic-space-1px) var(--ic-space-xs);\n}\n\n.medium {\n border-radius: var(--ic-space-md);\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xs);\n}\n\n.large {\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n}\n\n.outlined {\n --icon-color: var(--ic-action-chip-outlined-icon);\n --text-color: var(--ic-action-chip-outlined-label);\n\n background-color: transparent;\n border-color: var(--ic-action-chip-outlined-border-default);\n\n &.non-transparent {\n background-color: var(--ic-action-chip-outlined-background-default);\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-outlined-icon-hover);\n --text-color: var(--ic-action-chip-outlined-label-hover);\n\n background-color: var(--ic-action-chip-outlined-background-hover);\n border-color: var(--ic-action-chip-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-outlined-label-pressed);\n\n background-color: var(--ic-action-chip-outlined-background-pressed);\n border-color: var(--ic-action-chip-outlined-border-pressed);\n }\n}\n\n.monochrome {\n &.filled {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-default\n );\n\n &:hover {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-hover\n );\n }\n\n &:active {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-pressed\n );\n }\n }\n\n &.outlined {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon);\n --text-color: var(--ic-action-chip-monochrome-outlined-label);\n\n border-color: var(--ic-action-chip-monochrome-outlined-border-default);\n\n &.non-transparent {\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-default\n );\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-hover);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-hover);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-hover\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-pressed);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-pressed\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-pressed);\n }\n }\n}\n\n.disabled {\n --icon-color: var(--ic-action-chip-icon-disabled) !important;\n --text-color: var(--ic-action-chip-label-disabled) !important;\n\n background-color: var(--ic-action-chip-background-disabled) !important;\n cursor: default;\n\n &.outlined {\n border-color: var(--ic-action-chip-outlined-border-disabled) !important;\n border-style: dashed;\n\n &:not(.non-transparent) {\n background-color: transparent !important;\n }\n }\n}\n\n.label.small {\n padding: 0 var(--ic-space-xxs);\n}\n\n.label.medium {\n padding: 0 calc(var(--ic-space-xs) - var(--ic-space-xxxs));\n}\n\n.label.large {\n padding: 0 var(--ic-space-xs);\n}\n\n.icon {\n box-sizing: border-box;\n color: var(--icon-color);\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n padding: var(--ic-space-xxxs);\n}\n\n.open-in-new-icon {\n box-sizing: border-box;\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n.open-in-new-icon > svg {\n fill: var(--icon-color);\n height: inherit;\n width: inherit;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n\n &.disabled {\n --text-color: GrayText;\n\n -webkit-appearance: none;\n\n -moz-appearance: none;\n\n appearance: none;\n border-color: GrayText;\n\n svg,\n ::slotted(svg) {\n fill: GrayText;\n }\n }\n\n &:focus {\n border-color: Highlight;\n outline: none;\n }\n }\n}\n";
4212
4199
  var IcActionChipStyle0 = icActionChipCss;
4213
4200
 
4214
4201
  /**
@@ -4307,7 +4294,11 @@ class ActionChip {
4307
4294
  "non-transparent": variant === "outlined" && !transparentBackground,
4308
4295
  [`${size}`]: true,
4309
4296
  [`${variant}`]: true,
4310
- }, ref: (el) => (this.chipEl = el) }, chipAttrs), isSlotUsed(this.el, "icon") && (hAsync("div", { key: 'cac34c4420e0b92337b4421088389e79dc2d3e78', class: "icon" }, hAsync("slot", { key: 'fbbdfcf2089a6a31785a33ddc74c66ad433ebe4c', name: "icon" }))), hAsync("ic-typography", { key: '867dfd5c7651cfbce4b5c3ee439fe1a3e78dbecd', variant: "label", class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: 'ce77ac12d3e9a09b409b2ff6bffd1aa09747fad9' }, label)), !isButtonElement && target === "_blank" && (hAsync("span", { key: '994fcfd7c5be9cba20489792f4ec8a26f481e4cb', class: "open-in-new-icon", innerHTML: OpenInNew })), isSlotUsed(this.el, "badge") && hAsync("slot", { key: '7883e63e166ee3e39d70cbe6110fd1fe6f0b63a5', name: "badge" }))));
4297
+ }, ref: (el) => (this.chipEl = el) }, chipAttrs), isSlotUsed(this.el, "icon") && (hAsync("div", { key: 'cac34c4420e0b92337b4421088389e79dc2d3e78', class: "icon" }, hAsync("slot", { key: 'fbbdfcf2089a6a31785a33ddc74c66ad433ebe4c', name: "icon" }))), hAsync("ic-typography", { key: '40643c5bb5b15a64a94913076d06ba0007bac14a', variant: "label", class: {
4298
+ label: true,
4299
+ [`${size}`]: true,
4300
+ "in-ag-grid": isElInAGGrid(this.el),
4301
+ } }, hAsync("span", { key: '84e78294e0f906e9348d0223bd6afb92b90f4263' }, label)), !isButtonElement && target === "_blank" && (hAsync("span", { key: '8767227d1ed7c1822fff1fe71103a26587b00d6e', class: "open-in-new-icon", innerHTML: OpenInNew })), isSlotUsed(this.el, "badge") && hAsync("slot", { key: '8b791d90dadc0a781c88d1a68542929b73495858', name: "badge" }))));
4311
4302
  }
4312
4303
  static get delegatesFocus() { return true; }
4313
4304
  get el() { return getElement(this); }
@@ -5259,7 +5250,7 @@ var arrowDropdown = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
5259
5250
  const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--icon-width:100%;--icon-height:100%}.button,::slotted(a){font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.ic-button-disabled),:host(.ic-button-disabled) .button,:host(.ic-button-disabled) ::slotted(a),:host(.ic-button-loading),:host(.ic-button-loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.ic-button-variant-primary) .button,:host(.ic-button-variant-icon-primary) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background)}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon)}:host(.ic-button-variant-primary) ::slotted(a),:host(.ic-button-variant-icon-primary) ::slotted(a){--ic-typography-color:var(--ic-button-primary-text);color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background) !important}:host(.ic-button-variant-primary) .button:hover,:host(.ic-button-variant-icon-primary) .button:hover{background-color:var(--ic-button-primary-background-hover)}:host(.ic-button-variant-primary) ::slotted(a:hover),:host(.ic-button-variant-icon-primary) ::slotted(a:hover){background-color:var(--ic-button-primary-background-hover) !important}:host(.ic-button-variant-primary.ic-button-loading) .button,:host(.ic-button-variant-primary) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading) .button,:host(.ic-button-variant-icon-primary) .button:active{background-color:var(--ic-button-primary-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-primary-background-pressed)}:host(.ic-button-variant-primary) ::slotted(a:active),:host(.ic-button-variant-icon-primary) ::slotted(a:active){background-color:var(--ic-button-primary-background-pressed) !important}:host(.ic-button-variant-primary.ic-button-disabled) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled) .button{background:var(--ic-button-primary-background-disabled);color:var(--ic-button-primary-text-disabled)}:host(.ic-button-variant-primary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled) ::slotted(a){background:var(--ic-button-primary-background-disabled) !important;--ic-typography-color:var(--ic-button-primary-text-disabled) !important;color:var(--ic-button-primary-text-disabled) !important}:host(.ic-button-variant-primary.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button{color:var(--ic-button-primary-text-monochrome);background-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a){background-color:var(--ic-button-primary-background-monochrome) !important}:host(.ic-button-variant-primary.monochrome) .button:hover,:host(.ic-button-variant-icon-primary.monochrome) .button:hover{background-color:var(--ic-button-primary-background-hover-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-primary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-primary.monochrome) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button:active{background-color:var(--ic-button-primary-background-pressed-monochrome);--button-loading-inner-color:var(--ic-button-primary-text-monochrome);--button-loading-outer-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-primary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) .button{background-color:var(--ic-button-primary-background-disabled-monochrome);color:var(--ic-button-primary-text-disabled-monochrome)}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) ::slotted(a){background-color:var(\n --ic-button-primary-background-disabled-monochrome\n ) !important}:host(.ic-button-variant-secondary) .button,:host(.ic-button-variant-icon-secondary) .button{border:var(--ic-border-width) solid var(--ic-button-secondary-border);color:var(--ic-button-secondary-text)}:host(.ic-button-variant-secondary) ::slotted(a),:host(.ic-button-variant-icon-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--ic-button-secondary-border) !important;color:var(--ic-button-secondary-text) !important;--ic-typography-color:var(--ic-button-secondary-text) !important}:host(.ic-button-variant-secondary) .button:hover,:host(.ic-button-variant-icon-secondary) .button:hover{background-color:var(--ic-button-secondary-background-hover-active);border-color:var(--ic-button-secondary-border-hover);color:var(--ic-button-secondary-text-hover-active)}:host(.ic-button-variant-secondary) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-active\n ) !important}:host(.ic-button-variant-secondary) .button:active,:host(.ic-button-variant-icon-secondary) .button:active{border-color:var(--ic-button-secondary-border-pressed);background-color:var(--ic-button-secondary-background-pressed-active);color:var(--ic-button-secondary-text-pressed-active)}:host(.ic-button-variant-secondary) ::slotted(a:active),:host(.ic-button-variant-icon-secondary) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-active\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading) .button{border-color:var(--ic-button-secondary-border-pressed);background-color:var(\n --loading-button-background,\n var(--ic-button-secondary-background-pressed-active)\n ) !important;color:var(--ic-button-secondary-text-pressed-active);--button-loading-inner-color:var(--ic-button-secondary-border-pressed);--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-active\n )}:host(.ic-button-variant-secondary.ic-button-disabled) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled) .button{border-color:var(--ic-button-secondary-border-disabled);color:var(--ic-button-secondary-text-disabled);background:none}:host(.ic-button-variant-secondary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background) .button,:host(.ic-button-variant-icon-secondary.background) .button{background-color:var(--ic-button-secondary-background)}:host(.ic-button-variant-secondary.background) ::slotted(a),:host(.ic-button-variant-icon-secondary.background) ::slotted(a){background-color:var(--ic-button-secondary-background) !important}:host(.ic-button-variant-secondary.background) .button:hover,:host(.ic-button-variant-icon-secondary.background) .button:hover{background-image:var(--ic-button-secondary-background-non-transparent-hover)}:host(.ic-button-variant-secondary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-secondary.background) .button:active,:host(.ic-button-variant-icon-secondary.background) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-active\n )}:host(.ic-button-variant-secondary.background) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button,:host(.ic-button-variant-icon-secondary.monochrome) .button{background-color:none;border:var(--ic-border-width) solid\n var(--ic-button-secondary-border-monochrome);color:var(--ic-button-secondary-text-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a){background-color:none !important}:host(.ic-button-variant-secondary.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.monochrome) .button:hover{background-color:var(--ic-button-secondary-background-hover-monochrome);border-color:var(--ic-button-secondary-border-hover-monochrome);color:var(--ic-button-secondary-text-hover-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.monochrome) .button:active{background-color:var(--ic-button-secondary-background-pressed-monochrome);border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading.monochrome) .button{background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important;border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-secondary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-monochrome\n )}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) .button{background:none;border-color:var(--ic-button-secondary-border-disabled-monochrome);color:var(--ic-button-secondary-text-disabled-monochrome)}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background.monochrome) .button,:host(.ic-button-variant-icon-secondary.background.monochrome) .button{background-color:var(--ic-button-secondary-background-monochrome)}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a){background-color:var(--ic-button-secondary-background-monochrome) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:hover{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-tertiary) .button,:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-tertiary) ::slotted(a),:host(.ic-button-variant-icon-tertiary) ::slotted(a){color:var(--ic-button-tertiary-text-active);--ic-typography-color:var(--ic-button-tertiary-text-active)}:host(.ic-button-variant-tertiary) .button:hover,:host(.ic-button-variant-icon-tertiary) .button:hover{background-color:var(--ic-button-tertiary-background-hover-active);color:var(--ic-button-tertiary-text-hover-active)}:host(.ic-button-variant-tertiary) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-active\n ) !important}:host(.ic-button-variant-tertiary) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading) .button,:host(.ic-button-variant-icon-tertiary) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading) .button{background-color:var(--ic-button-tertiary-background-pressed-active);color:var(--ic-button-tertiary-text-pressed-active);--button-loading-inner-color:var(--ic-button-tertiary-text-pressed-active);--button-loading-outer-color:var(--ic-button-tertiary-background-pressed)}:host(.ic-button-variant-tertiary) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-active\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled) .button{color:var(--ic-button-tertiary-text-disabled);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background) .button,:host(.ic-button-variant-icon-tertiary.background) .button{background-color:var(--ic-button-tertiary-background)}:host(.ic-button-variant-tertiary.background) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a){background-color:var(--ic-button-tertiary-background) !important}:host(.ic-button-variant-tertiary.background) .button:hover,:host(.ic-button-variant-icon-tertiary.background) .button:hover{background-image:var(--ic-button-tertiary-background-non-transparent-hover)}:host(.ic-button-variant-tertiary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-tertiary.background) .button:active,:host(.ic-button-variant-icon-tertiary.background) .button:active{background-image:var(--ic-button-tertiary-background-non-transparent-active)}:host(.ic-button-variant-tertiary.background) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button,:host(.ic-button-variant-tertiary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a){color:var(--ic-button-tertiary-text-monochrome);--ic-typography-color:var(--ic-button-tertiary-text-monochrome)}:host(.ic-button-variant-tertiary.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.monochrome) .button:hover{background-color:var(--ic-button-tertiary-background-hover-monochrome);color:var(--ic-button-tertiary-text-hover-monochrome)}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading.monochrome) .button{background-color:var(--ic-button-tertiary-background-pressed-monochrome);color:var(--ic-button-tertiary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-tertiary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n )}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) .button{color:var(--ic-button-tertiary-text-disabled-monochrome);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background.monochrome) .button,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button{background-color:var(--ic-button-tertiary-background-monochrome)}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a){background-color:var(--ic-button-tertiary-background-monochrome) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:hover{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:active{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-destructive) .button,:host(.ic-button-variant-icon-destructive) .button{color:var(--ic-button-destructive-text);background-color:var(--ic-button-destructive-background);text-transform:uppercase}:host(.ic-button-variant-destructive) ::slotted(a),:host(.ic-button-variant-icon-destructive) ::slotted(a){color:var(--ic-button-destructive-text) !important;--ic-typography-color:var(--ic-button-destructive-text) !important;background-color:var(--ic-button-destructive-background) !important;text-transform:uppercase !important}:host(.ic-button-variant-destructive) .button:hover,:host(.ic-button-variant-icon-destructive) .button:hover{background-color:var(--ic-button-destructive-background-hover)}:host(.ic-button-variant-destructive) ::slotted(a:hover),:host(.ic-button-variant-icon-destructive) ::slotted(a:hover){background-color:var(--ic-button-destructive-background-hover) !important}:host(.ic-button-variant-destructive) .button:active,:host(.ic-button-variant-destructive.ic-button-loading) .button,:host(.ic-button-variant-icon-destructive.ic-button-loading) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-destructive-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-destructive-background-pressed)}:host(.ic-button-variant-destructive) ::slotted(a:active),:host(.ic-button-variant-icon-destructive) ::slotted(a:active){background-color:var(--ic-button-destructive-background-pressed) !important}:host(.ic-button-variant-destructive.ic-button-disabled) .button,:host(.ic-button-variant-icon-destructive.ic-button-disabled) .button{background-color:var(--ic-button-destructive-background-disabled);color:var(--ic-button-destructive-text-disabled)}:host(.ic-button-variant-destructive.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-destructive.ic-button-disabled) ::slotted(a){background-color:var(--ic-button-destructive-background-disabled) !important}:host(.ic-button-variant-icon) .button{color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background);min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) ::slotted(a){color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background) !important;min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.ic-button-variant-icon) .button:hover{color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover)}:host(.ic-button-variant-icon) ::slotted(a:hover){color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover) !important}:host(.ic-button-variant-icon) .button:active:not(:focus),:host(.ic-button-variant-icon.ic-button-loading) .button{color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active)}:host(.ic-button-variant-icon) ::slotted(a:active:not(:focus)){color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active) !important}:host(.ic-button-variant-icon.ic-button-disabled) .button{color:var(--ic-color-icon-disabled-mid);background:none}:host(.ic-button-variant-icon.ic-button-disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none !important}:host(.ic-button-variant-icon-primary) .button,:host(.ic-button-variant-icon-primary) ::slotted(a){min-width:0;gap:var(--ic-space-xs);color:var(--ic-button-primary-icon)}:host(.ic-button-variant-icon-primary.monochrome) .button,:host(.ic-button-variant-primary.monochrome:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon-monochrome)}:host(.ic-button-variant-icon-primary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:var(--ic-button-icon-monochrome)}:host(.ic-button-variant-icon-secondary) .button,:host(.ic-button-variant-icon-secondary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-secondary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-icon-tertiary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-tertiary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-destructive) .button,:host(.ic-button-variant-icon-destructive) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-destructive) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-size-medium) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.ic-button-size-medium) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.ic-button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.ic-button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.ic-button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.ic-button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.ic-button-size-medium.ic-button-variant-icon) .button,:host(.ic-button-size-medium.ic-button-variant-icon-primary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.ic-button-size-medium.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-destructive) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;width:var(--ic-space-xl) !important;padding:0.375rem !important}:host(.ic-button-size-small.ic-button-variant-icon) .button,:host(.ic-button-size-small.ic-button-variant-icon-primary) .button,:host(.ic-button-size-small.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-small.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-small.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.ic-button-size-small.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg)) !important;width:var(--ic-space-lg) !important;padding:var(--ic-space-xxs) !important}:host(.ic-button-size-large.ic-button-variant-icon) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) .button,:host(.ic-button-size-large.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-large.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon) ::slotted(a){height:var(--height, 2.5rem) !important;width:2.5rem !important;padding:var(--ic-space-xs) !important}:host(.ic-button-full-width),:host(.ic-button-full-width) .button{width:100%}:host(.ic-button-full-width) ::slotted(a){width:100% !important}div.loading-container{position:relative;align-items:center;width:100%}.loading-indicator-icon-button{--circular-diameter:var(--ic-space-md)}:host(.ic-button-size-small) .loading-indicator-icon-button{--circular-diameter:calc(var(--ic-space-sm) + var(--ic-space-xxxs))}:host(.ic-button-size-large) .loading-indicator-icon-button{--circular-diameter:calc(var(--ic-space-sm) + var(--ic-space-xs))}ic-loading-indicator{--inner-color:var(--button-loading-inner-color);--outer-color:var(--button-loading-outer-color), transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}:host(.ic-button-full-width) .right-icon{margin-right:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.ic-button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button) .button:not(:active):focus ::slotted(svg){color:var(--ic-button-primary-text)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.ic-button-variant-icon) .button,:host(.ic-button-variant-icon) ::slotted(a){background-color:inherit;min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover,:host(.button-variant-icon) ::slotted(a:hover){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none}:host(.clear-button){color:var(--ic-atoms-input-clear-button);margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus,:host(.clock-button) .button:focus{box-shadow:none}:host(.clear-button) .button,:host(.clear-button) ::slotted(a){background-color:inherit;color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:hover,:host(.clear-button) ::slotted(a:hover){color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:not(:active):focus ::slotted(svg){background-color:var(--ic-atoms-input-clear-button-focus-inner);color:var(--ic-button-primary-text);}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem;color:var(--ic-top-navigation-icon-active)}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(#menu-button.ic-theme-dark){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-dark-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-dark-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover-dark\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed-dark\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-dark\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-pressed-dark\n )}:host(#menu-button.ic-theme-light){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-light-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-light-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-light\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-default\n )}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}.search-submit-button ::slotted(a),.ic-button-variant-icon ::slotted(a),.clear-button ::slotted(a),.search-submit-button ::slotted(svg),.ic-button-variant-icon ::slotted(svg),.clear-button ::slotted(svg){color:HighlightText}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:white}:host(.clear-button) .button:not(:active):focus ::slotted(svg){color:white !important;background-color:inherit}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:currentcolor !important}}@media (prefers-reduced-motion: reduce){.button,::slotted(a){transition:none}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
5260
5251
  var IcButtonStyle0 = icButtonCss;
5261
5252
 
5262
- var __rest = (undefined && undefined.__rest) || function (s, e) {
5253
+ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
5263
5254
  var t = {};
5264
5255
  for (var p in s)
5265
5256
  if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -5522,7 +5513,7 @@ class Button {
5522
5513
  this.setHasTooltip();
5523
5514
  }
5524
5515
  componentWillLoad() {
5525
- const _a = inheritAttributes(this.el, [...IC_INHERITED_ARIA, "title"]), { title, "aria-label": ariaLabel } = _a, restInheritedAttributes = __rest(_a, ["title", "aria-label"]);
5516
+ const _a = inheritAttributes(this.el, [...IC_INHERITED_ARIA, "title"]), { title, "aria-label": ariaLabel } = _a, restInheritedAttributes = __rest$1(_a, ["title", "aria-label"]);
5526
5517
  this.title = title;
5527
5518
  this.ariaLabel = ariaLabel;
5528
5519
  this.inheritedAttributes = restInheritedAttributes;
@@ -6136,7 +6127,6 @@ var IcCheckboxStyle0 = icCheckboxCss;
6136
6127
  * @slot additional-field - Content to be displayed alongside a checkbox.
6137
6128
  * @slot label - Label for the checkbox.
6138
6129
  */
6139
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
6140
6130
  class Checkbox {
6141
6131
  constructor(hostRef) {
6142
6132
  registerInstance(this, hostRef);
@@ -6264,17 +6254,17 @@ class Checkbox {
6264
6254
  ? renderHiddenInput(el, value, name, disabled)
6265
6255
  : removeHiddenInput(el);
6266
6256
  const LabelContent = () => this.hasLabelSlot() ? (hAsync("slot", { name: "label" })) : (hAsync("ic-typography", { class: "checkbox-label", variant: "body" }, hAsync("label", { htmlFor: inputId }, label)));
6267
- return (hAsync(Host, { key: 'c26a95e302dfd93aca89ba24f2eac3dd23b3b12a', class: {
6257
+ return (hAsync(Host, { key: 'cbbef34df584e10e50b731c4ea44b4c5a5f29917', class: {
6268
6258
  "ic-checkbox-disabled": disabled,
6269
6259
  [`ic-checkbox-${size}`]: !!size,
6270
6260
  [`ic-theme-${theme}`]: theme !== "inherit",
6271
- } }, hAsync("div", { key: '7a51e875e418c6e42a7b8d8cf5143a2bd562cd99', class: "container" }, displayIndeterminate ? (hAsync("div", { class: "indeterminate-symbol" })) : (checked && (hAsync("svg", { class: "checkmark", 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("input", { key: '72c7c69b70462dd7a8b5c211518a67b0fdc4e51f', role: "checkbox", class: {
6261
+ } }, hAsync("div", { key: 'b15e0cc68627b692ea251994d13c707a71935332', class: "container" }, displayIndeterminate ? (hAsync("div", { class: "indeterminate-symbol" })) : (checked && (hAsync("svg", { class: "checkmark", 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("input", { key: '8443271bb0f24104dadfc95c0f0e97551f8f32fb', role: "checkbox", class: {
6272
6262
  checkbox: true,
6273
6263
  checked,
6274
6264
  indeterminate: displayIndeterminate,
6275
- }, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && hAsync(LabelContent, { key: '636c0781dc308d216c97bf18278833c59f7d4544' })), hAsync("span", { key: '4b0037a6cdf14c5b7eedfb5cfddf76210e83eb1b', id: `${inputId}-additional-field-description`, role: "alert", class: "sr-only" }, isDynamicAdditionalField && checked ? dynamicText : ""), isSlotUsed(el, "additional-field") && (hAsync("div", { key: '64edf574da3dd95e89dfe698bb6a28efb0434d40', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && hAsync("div", { key: 'd971ccf130d625f3e1b9ffa66a096f72a9c914ab', class: "branch-corner" }), hAsync("div", { key: '789962b380bfe873ca444bd1e35642449a47d32f', class: "dynamic-field-container" }, isDynamicAdditionalField && (hAsync("ic-typography", { key: '6f4ca17e8ec24e75e0b0d03ca4434a7083771f4d', variant: "caption" }, hAsync("p", { key: '3acc288442ef2176f78a49293ec9082f42014764', class: "dynamic-text" }, isDynamicAdditionalField && checked ? dynamicText : ""))), hAsync("div", { key: '5f94edcfbe4fe9c2d5ad27c32e20c6068579f893', class: {
6265
+ }, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && hAsync(LabelContent, { key: '29c975e697e9b5e8f32c845111686e23ee4de32f' })), hAsync("span", { key: '3901c6b2f84633d2cb0bf6602e1644760dfa78dd', id: `${inputId}-additional-field-description`, role: "alert", class: "sr-only" }, isDynamicAdditionalField && checked ? dynamicText : ""), isSlotUsed(el, "additional-field") && (hAsync("div", { key: '68b7bbd59a084ff452924d0fb82446c0a5b46900', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && hAsync("div", { key: '2095e98f6a8ae633892a83f8a8a9a37941186802', class: "branch-corner" }), hAsync("div", { key: 'f92c2ff935d5d72a70bba8479bc7a2b27705da1d', class: "dynamic-field-container" }, isDynamicAdditionalField && (hAsync("ic-typography", { key: '1e69f0fb80ad6f047bd2943b5b348bd539b567ce', variant: "caption" }, hAsync("p", { key: '27f350e13e088275e340332570e3eee32c7ad1be', class: "dynamic-text" }, isDynamicAdditionalField && checked ? dynamicText : ""))), hAsync("div", { key: '98795e79ffb9d719d9d1aae8931f67f8009c273f', class: {
6276
6266
  "additional-field-wrapper": !isDynamicAdditionalField,
6277
- } }, hAsync("slot", { key: 'd323907418190cf2a536b49050e75e4e4d47ccab', name: "additional-field" })))))));
6267
+ } }, hAsync("slot", { key: '36a8e7ffaa67981e3054240dda02b04936280f91', name: "additional-field" })))))));
6278
6268
  }
6279
6269
  static get delegatesFocus() { return true; }
6280
6270
  get el() { return getElement(this); }
@@ -6478,7 +6468,7 @@ var dismissIcon = `<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org
6478
6468
  </svg>
6479
6469
  `;
6480
6470
 
6481
- const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between;width:-moz-fit-content;width:fit-content;box-sizing:border-box;max-width:100%}.chip.full-width{width:100%}:host(.ic-chip-full-width){width:100%}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;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{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
6471
+ const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between;width:-moz-fit-content;width:fit-content;box-sizing:border-box;max-width:100%}.chip.full-width{width:100%}:host(.ic-chip-full-width){width:100%}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.medium{padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:var(--ic-space-md)}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label.small{padding:0 var(--ic-space-xxs)}.label.medium{padding:0 calc(var(--ic-space-xs) - var(--ic-space-xxxs))}.label.large{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;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{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
6482
6472
  var IcChipStyle0 = icChipCss;
6483
6473
 
6484
6474
  /**
@@ -6591,7 +6581,11 @@ class Chip {
6591
6581
  hovered,
6592
6582
  "non-transparent": variant === "outlined" && !transparentBackground,
6593
6583
  "full-width": fullWidth,
6594
- } }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '3d12f1e7c932cd91f0835f3fe7c76ec6784bc44f', class: "icon" }, hAsync("slot", { key: '5307ba63af7c7342cf32072ccebf02788265e0f5', name: "icon" }))), hAsync("ic-typography", { key: '71a528ad758c4a09dbe1bfa879f4ca0b4a9177b7', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: '85e3af35df8a3f2243bc0b36130a6238b6c6200d' }, label)), dismissible && (hAsync("ic-tooltip", { key: '6d68a771210b186192f7f4486d578a1cb706dda9', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: '24917885cac2c78593cb721ce14254c20de85905', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, "badge") && hAsync("slot", { key: '4a2bf278717384d8d7a1c830788520a385feb638', name: "badge" }))), dismissible && (hAsync("div", { key: '55bd826c4bd73c42d24a7a1aa1cdc52fd3a00d59', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
6584
+ } }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '3d12f1e7c932cd91f0835f3fe7c76ec6784bc44f', class: "icon" }, hAsync("slot", { key: '5307ba63af7c7342cf32072ccebf02788265e0f5', name: "icon" }))), hAsync("ic-typography", { key: 'e30c971835f38594a238e36d849fd1625aeb4e38', variant: "label", "apply-vertical-margins": false, class: {
6585
+ label: true,
6586
+ [`${size}`]: true,
6587
+ "in-ag-grid": isElInAGGrid(this.el),
6588
+ } }, hAsync("span", { key: '40f476a368fbb16cee45b53c7de24d85b94a21a7' }, label)), dismissible && (hAsync("ic-tooltip", { key: 'd8ff86e2c616f8233104b364bb8f698473c3448a', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: '290db0fd020cc7114403e9c6145c1cc454537476', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, "badge") && hAsync("slot", { key: 'd4f25acf6b19a63c9683d6aac41a04319cbea203', name: "badge" }))), dismissible && (hAsync("div", { key: '6f5d1ad6395e82d3ec7cd588aa3944922e7a13de', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
6595
6589
  }
6596
6590
  static get delegatesFocus() { return true; }
6597
6591
  get el() { return getElement(this); }
@@ -6650,6 +6644,10 @@ class ClassificationBanner {
6650
6644
  * The optional text that will be displayed before classification to specify relevant country/countries.
6651
6645
  */
6652
6646
  this.country = "uk";
6647
+ /**
6648
+ * The custom text that will appear on the banner. If set, the `additionalSelectors`, `country` and `upTo` props are ignored.
6649
+ */
6650
+ this.customClassificationText = "";
6653
6651
  /**
6654
6652
  * If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.
6655
6653
  */
@@ -6662,7 +6660,7 @@ class ClassificationBanner {
6662
6660
  render() {
6663
6661
  const { inline, upTo } = this;
6664
6662
  // In case of unrecognized props, fallback to default
6665
- let { country, additionalSelectors, classification } = this;
6663
+ let { country, additionalSelectors, classification, customClassificationText, } = this;
6666
6664
  if (!country)
6667
6665
  country = "";
6668
6666
  if (!additionalSelectors)
@@ -6670,12 +6668,16 @@ class ClassificationBanner {
6670
6668
  if (!classification ||
6671
6669
  (classification && !classificationText[classification]))
6672
6670
  classification = "default";
6673
- return (hAsync(Host, { key: '4d06c781318ef854931702315e73054f65b85259', class: { ["ic-classification-banner-inline"]: !!inline } }, hAsync("banner", { key: '251f6ced1270c823b1be9e39375139756adcd3e2', "aria-label": "Protective marking", class: {
6671
+ if (!customClassificationText)
6672
+ customClassificationText = "";
6673
+ return (hAsync(Host, { key: 'dbf7b4fe92229fd32723c06070338a3611939bd5', class: { ["ic-classification-banner-inline"]: !!inline } }, hAsync("banner", { key: '23e95a6a2ca33447e1b64cda93690cf6781bd14f', "aria-label": "Protective marking", class: {
6674
6674
  ["classification-banner"]: true,
6675
6675
  [`${classification}`]: classification,
6676
- } }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '3fd3a609c017ed0b5b24296464bae43dcf8cba67', variant: "caption-uppercase" }, classification === "default"
6677
- ? classificationText[classification]
6678
- : `${upTo ? "up to" : ""}
6676
+ } }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: 'ff41a45d594eeeffe2f078b3ae3a99792a6f38c3', variant: "caption-uppercase" }, customClassificationText !== ""
6677
+ ? customClassificationText
6678
+ : classification === "default"
6679
+ ? classificationText[classification]
6680
+ : `${upTo ? "up to" : ""}
6679
6681
  ${country}
6680
6682
  ${classificationText[classification]}
6681
6683
  ${additionalSelectors}`))));
@@ -6688,6 +6690,7 @@ class ClassificationBanner {
6688
6690
  "additionalSelectors": [1, "additional-selectors"],
6689
6691
  "classification": [1],
6690
6692
  "country": [1],
6693
+ "customClassificationText": [1, "custom-classification-text"],
6691
6694
  "inline": [4],
6692
6695
  "upTo": [4, "up-to"]
6693
6696
  },
@@ -10668,7 +10671,7 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
10668
10671
 
10669
10672
  var purify = {exports: {}};
10670
10673
 
10671
- /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
10674
+ /*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
10672
10675
 
10673
10676
  (function (module, exports) {
10674
10677
  (function (global, factory) {
@@ -10701,12 +10704,18 @@ var purify = {exports: {}};
10701
10704
  };
10702
10705
  }
10703
10706
  if (!apply) {
10704
- apply = function apply(fun, thisValue, args) {
10705
- return fun.apply(thisValue, args);
10707
+ apply = function apply(func, thisArg) {
10708
+ for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
10709
+ args[_key - 2] = arguments[_key];
10710
+ }
10711
+ return func.apply(thisArg, args);
10706
10712
  };
10707
10713
  }
10708
10714
  if (!construct) {
10709
- construct = function construct(Func, args) {
10715
+ construct = function construct(Func) {
10716
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
10717
+ args[_key2 - 1] = arguments[_key2];
10718
+ }
10710
10719
  return new Func(...args);
10711
10720
  };
10712
10721
  }
@@ -10735,8 +10744,8 @@ var purify = {exports: {}};
10735
10744
  if (thisArg instanceof RegExp) {
10736
10745
  thisArg.lastIndex = 0;
10737
10746
  }
10738
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
10739
- args[_key - 1] = arguments[_key];
10747
+ for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
10748
+ args[_key3 - 1] = arguments[_key3];
10740
10749
  }
10741
10750
  return apply(func, thisArg, args);
10742
10751
  };
@@ -10747,12 +10756,12 @@ var purify = {exports: {}};
10747
10756
  * @param func - The constructor function to be wrapped and called.
10748
10757
  * @returns A new function that constructs an instance of the given constructor function with the provided arguments.
10749
10758
  */
10750
- function unconstruct(func) {
10759
+ function unconstruct(Func) {
10751
10760
  return function () {
10752
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
10753
- args[_key2] = arguments[_key2];
10761
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
10762
+ args[_key4] = arguments[_key4];
10754
10763
  }
10755
- return construct(func, args);
10764
+ return construct(Func, args);
10756
10765
  };
10757
10766
  }
10758
10767
  /**
@@ -10851,8 +10860,8 @@ var purify = {exports: {}};
10851
10860
  return fallbackValue;
10852
10861
  }
10853
10862
 
10854
- const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
10855
- const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
10863
+ const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
10864
+ const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
10856
10865
  const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
10857
10866
  // List of SVG elements that are disallowed by default.
10858
10867
  // We still need to know them so that we can do namespace
@@ -10865,8 +10874,8 @@ var purify = {exports: {}};
10865
10874
  const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
10866
10875
  const text = freeze(['#text']);
10867
10876
 
10868
- const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
10869
- const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
10877
+ const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
10878
+ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
10870
10879
  const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
10871
10880
  const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
10872
10881
 
@@ -10973,7 +10982,7 @@ var purify = {exports: {}};
10973
10982
  function createDOMPurify() {
10974
10983
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
10975
10984
  const DOMPurify = root => createDOMPurify(root);
10976
- DOMPurify.version = '3.2.6';
10985
+ DOMPurify.version = '3.3.3';
10977
10986
  DOMPurify.removed = [];
10978
10987
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
10979
10988
  // Not running in a browser, provide a factory function
@@ -11084,6 +11093,21 @@ var purify = {exports: {}};
11084
11093
  let FORBID_TAGS = null;
11085
11094
  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
11086
11095
  let FORBID_ATTR = null;
11096
+ /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */
11097
+ const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {
11098
+ tagCheck: {
11099
+ writable: true,
11100
+ configurable: false,
11101
+ enumerable: true,
11102
+ value: null
11103
+ },
11104
+ attributeCheck: {
11105
+ writable: true,
11106
+ configurable: false,
11107
+ enumerable: true,
11108
+ value: null
11109
+ }
11110
+ }));
11087
11111
  /* Decide if ARIA attributes are okay */
11088
11112
  let ALLOW_ARIA_ATTR = true;
11089
11113
  /* Decide if custom data attributes are okay */
@@ -11253,7 +11277,7 @@ var purify = {exports: {}};
11253
11277
  /* Parse profile info */
11254
11278
  if (USE_PROFILES) {
11255
11279
  ALLOWED_TAGS = addToSet({}, text);
11256
- ALLOWED_ATTR = [];
11280
+ ALLOWED_ATTR = create(null);
11257
11281
  if (USE_PROFILES.html === true) {
11258
11282
  addToSet(ALLOWED_TAGS, html$1);
11259
11283
  addToSet(ALLOWED_ATTR, html);
@@ -11274,18 +11298,33 @@ var purify = {exports: {}};
11274
11298
  addToSet(ALLOWED_ATTR, xml);
11275
11299
  }
11276
11300
  }
11301
+ /* Prevent function-based ADD_ATTR / ADD_TAGS from leaking across calls */
11302
+ if (!objectHasOwnProperty(cfg, 'ADD_TAGS')) {
11303
+ EXTRA_ELEMENT_HANDLING.tagCheck = null;
11304
+ }
11305
+ if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
11306
+ EXTRA_ELEMENT_HANDLING.attributeCheck = null;
11307
+ }
11277
11308
  /* Merge configuration parameters */
11278
11309
  if (cfg.ADD_TAGS) {
11279
- if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
11280
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
11310
+ if (typeof cfg.ADD_TAGS === 'function') {
11311
+ EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
11312
+ } else {
11313
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
11314
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
11315
+ }
11316
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
11281
11317
  }
11282
- addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
11283
11318
  }
11284
11319
  if (cfg.ADD_ATTR) {
11285
- if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
11286
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
11320
+ if (typeof cfg.ADD_ATTR === 'function') {
11321
+ EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
11322
+ } else {
11323
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
11324
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
11325
+ }
11326
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
11287
11327
  }
11288
- addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
11289
11328
  }
11290
11329
  if (cfg.ADD_URI_SAFE_ATTR) {
11291
11330
  addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
@@ -11296,6 +11335,12 @@ var purify = {exports: {}};
11296
11335
  }
11297
11336
  addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
11298
11337
  }
11338
+ if (cfg.ADD_FORBID_CONTENTS) {
11339
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
11340
+ FORBID_CONTENTS = clone(FORBID_CONTENTS);
11341
+ }
11342
+ addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
11343
+ }
11299
11344
  /* Add #text in case KEEP_CONTENT is set to true */
11300
11345
  if (KEEP_CONTENT) {
11301
11346
  ALLOWED_TAGS['#text'] = true;
@@ -11593,7 +11638,7 @@ var purify = {exports: {}};
11593
11638
  return true;
11594
11639
  }
11595
11640
  /* Remove element if anything forbids its presence */
11596
- if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
11641
+ if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
11597
11642
  /* Check if we have a custom element to handle */
11598
11643
  if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
11599
11644
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
@@ -11657,6 +11702,10 @@ var purify = {exports: {}};
11657
11702
  */
11658
11703
  // eslint-disable-next-line complexity
11659
11704
  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
11705
+ /* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
11706
+ if (FORBID_ATTR[lcName]) {
11707
+ return false;
11708
+ }
11660
11709
  /* Make sure attribute cannot clobber */
11661
11710
  if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
11662
11711
  return false;
@@ -11665,12 +11714,12 @@ var purify = {exports: {}};
11665
11714
  (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
11666
11715
  XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
11667
11716
  We don't need to check the value; it's always URI safe. */
11668
- if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
11717
+ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
11669
11718
  if (
11670
11719
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
11671
11720
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
11672
11721
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
11673
- _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
11722
+ _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||
11674
11723
  // Alternative, second condition checks if it's an `is`-attribute, AND
11675
11724
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
11676
11725
  lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
@@ -11749,7 +11798,12 @@ var purify = {exports: {}};
11749
11798
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
11750
11799
  }
11751
11800
  /* Work around a security issue with comments inside attributes */
11752
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
11801
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
11802
+ _removeAttribute(name, currentNode);
11803
+ continue;
11804
+ }
11805
+ /* Make sure we cannot easily use animated hrefs, even if animations are allowed */
11806
+ if (lcName === 'attributename' && stringMatch(value, 'href')) {
11753
11807
  _removeAttribute(name, currentNode);
11754
11808
  continue;
11755
11809
  }
@@ -12039,10 +12093,9 @@ const sanitizeHTMLIconString = (html) => {
12039
12093
  return purifier.sanitize(html, getCustomElementHandling(false));
12040
12094
  };
12041
12095
 
12042
- const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-menu-border-color));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center;gap:var(--ic-space-xs)}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{flex-grow:1}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-menu-option-group-label-text-color)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}.disabled-option.sc-ic-menu{color:GrayText;--ic-typography-color:GrayText}}@media screen AND (max-width: 22rem){.sc-ic-menu-h{max-width:var(--menu-width, var(--input-width, 20rem));width:100%}}@media (prefers-reduced-motion: reduce){.ic-menu-open.sc-ic-menu-h{transition:none}}";
12096
+ const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-menu-border-color));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center;gap:var(--ic-space-xs)}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{flex-grow:1}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.sc-ic-menu:first-child>.option-group-title.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs)}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-menu-option-group-label-text-color)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu{outline:none;border:0.125rem solid transparent}.disabled-option.sc-ic-menu{color:GrayText;--ic-typography-color:GrayText}}@media screen AND (max-width: 22rem){.sc-ic-menu-h{max-width:var(--menu-width, var(--input-width, 20rem));width:100%}}@media (prefers-reduced-motion: reduce){.ic-menu-open.sc-ic-menu-h{transition:none}}";
12043
12097
  var IcMenuStyle0 = icMenuCss;
12044
12098
 
12045
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
12046
12099
  class Menu {
12047
12100
  constructor(hostRef) {
12048
12101
  registerInstance(this, hostRef);
@@ -12122,6 +12175,30 @@ class Menu {
12122
12175
  * The custom name for the value field for IcMenuOption.
12123
12176
  */
12124
12177
  this.valueField = "value";
12178
+ /**
12179
+ * @internal If `true`, allows the menu to receive focus when opened.
12180
+ */
12181
+ this.allowMenuFocus = true;
12182
+ this.emitOptionId = (index) => {
12183
+ let option;
12184
+ if (index >= 0 && index < this.ungroupedOptions.length) {
12185
+ option = this.ungroupedOptions[index];
12186
+ }
12187
+ else if (this.ungroupedOptions.length > 0) {
12188
+ option =
12189
+ index < 0
12190
+ ? this.ungroupedOptions[this.ungroupedOptions.length - 1]
12191
+ : this.ungroupedOptions[0];
12192
+ }
12193
+ if (option) {
12194
+ this.menuOptionId.emit({
12195
+ optionId: this.getOptionId(option[this.valueField]),
12196
+ });
12197
+ }
12198
+ else {
12199
+ this.menuOptionId.emit({ optionId: undefined });
12200
+ }
12201
+ };
12125
12202
  this.handleClearListener = () => {
12126
12203
  this.optionHighlighted = "";
12127
12204
  };
@@ -12134,7 +12211,9 @@ class Menu {
12134
12211
  this.menuStateChange.emit({ open, focusInput });
12135
12212
  if (!open) {
12136
12213
  if (focusInput !== false) {
12137
- (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
12214
+ if (this.allowMenuFocus) {
12215
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
12216
+ }
12138
12217
  this.preventClickOpen = false;
12139
12218
  }
12140
12219
  // Reset optionHighlighted so previously highlighted option doesn't get reselected when Enter pressed
@@ -12193,16 +12272,42 @@ class Menu {
12193
12272
  const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
12194
12273
  this.keyboardNav = false;
12195
12274
  switch (event.key) {
12196
- case "ArrowDown":
12275
+ case "ArrowDown": {
12197
12276
  this.keyboardNav = true;
12198
12277
  this.arrowBehaviour(event);
12278
+ const nextIndex = selectedOptionIndex < this.ungroupedOptions.length - 1
12279
+ ? selectedOptionIndex + 1
12280
+ : 0;
12199
12281
  this.setNextOptionValue(selectedOptionIndex);
12282
+ this.emitOptionId(nextIndex);
12200
12283
  break;
12201
- case "ArrowUp":
12284
+ }
12285
+ case "ArrowUp": {
12202
12286
  this.keyboardNav = true;
12203
12287
  this.arrowBehaviour(event);
12288
+ const prevIndex = selectedOptionIndex > 0
12289
+ ? selectedOptionIndex - 1
12290
+ : this.ungroupedOptions.length - 1;
12204
12291
  this.setPreviousOptionValue(selectedOptionIndex);
12292
+ this.emitOptionId(prevIndex);
12293
+ break;
12294
+ }
12295
+ case "Home": {
12296
+ this.keyboardNav = true;
12297
+ event.preventDefault();
12298
+ this.arrowBehaviour(event);
12299
+ this.setNextOptionValue(-1);
12300
+ this.emitOptionId(0);
12301
+ break;
12302
+ }
12303
+ case "End": {
12304
+ this.keyboardNav = true;
12305
+ event.preventDefault();
12306
+ this.arrowBehaviour(event);
12307
+ this.setPreviousOptionValue(this.ungroupedOptions.length);
12308
+ this.emitOptionId(this.ungroupedOptions.length - 1);
12205
12309
  break;
12310
+ }
12206
12311
  case " ":
12207
12312
  case "Enter":
12208
12313
  if (event.target.id !== this.CLEAR_BUTTON_ID) {
@@ -12402,14 +12507,15 @@ class Menu {
12402
12507
  if (this.open) {
12403
12508
  event.stopImmediatePropagation();
12404
12509
  }
12405
- this.handleMenuChange(false);
12510
+ this.handleMenuChange(false, !this.allowMenuFocus);
12406
12511
  this.menuOptionId.emit({ optionId: undefined });
12407
12512
  break;
12408
12513
  case "a":
12409
12514
  // Checks if Cmd (meta) key is pressed if Mac device (while excluding meta key on Windows)
12410
12515
  // Otherwise, if a different OS, checks Ctrl key
12411
- if ((isMacDevice() && event.metaKey) ||
12412
- (!isMacDevice() && event.ctrlKey)) {
12516
+ if (this.multiSelect &&
12517
+ ((isMacDevice() && event.metaKey) ||
12518
+ (!isMacDevice() && event.ctrlKey))) {
12413
12519
  this.emitSelectAllEvents();
12414
12520
  this.lastOptionFocused = null;
12415
12521
  this.lastOptionSelected = null;
@@ -12514,14 +12620,6 @@ class Menu {
12514
12620
  this.handleMouseDown = (event) => {
12515
12621
  event.preventDefault();
12516
12622
  };
12517
- this.handleMenuKeyDown = (event) => {
12518
- if (this.activationType === "automatic") {
12519
- this.autoSetValueOnMenuKeyDown(event);
12520
- }
12521
- else if (this.activationType === "manual" && !this.searchBar) {
12522
- this.manualSetInputValueKeyboardOpen(event);
12523
- }
12524
- };
12525
12623
  this.handleMenuKeyUp = (event) => {
12526
12624
  if (event.key === "Tab" && event.shiftKey) {
12527
12625
  this.preventClickOpen = false;
@@ -12537,15 +12635,19 @@ class Menu {
12537
12635
  this.handleSelectAllClick = () => {
12538
12636
  var _a;
12539
12637
  this.keyboardNav = false;
12540
- (_a = this.menu) === null || _a === void 0 ? void 0 : _a.focus();
12638
+ if (this.allowMenuFocus) {
12639
+ (_a = this.menu) === null || _a === void 0 ? void 0 : _a.focus();
12640
+ }
12541
12641
  this.emitSelectAllEvents();
12542
12642
  this.lastOptionFocused = null;
12543
12643
  this.lastOptionSelected = null;
12544
12644
  };
12545
12645
  this.handleSelectAllBlur = (event) => {
12546
- var _a;
12646
+ var _a, _b, _c;
12547
12647
  this.host.classList.remove("ic-select-select-all-focused");
12548
- if (!((_a = this.menu) === null || _a === void 0 ? void 0 : _a.contains(event.relatedTarget))) {
12648
+ const relatedTarget = event.relatedTarget;
12649
+ if (!((_a = this.menu) === null || _a === void 0 ? void 0 : _a.contains(relatedTarget)) &&
12650
+ !((_c = (_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.contains(relatedTarget))) {
12549
12651
  this.handleMenuChange(false, false);
12550
12652
  }
12551
12653
  };
@@ -12629,7 +12731,7 @@ class Menu {
12629
12731
  // (i.e. you don't have to press Enter select an option - just focus on it)
12630
12732
  // and menu is focused
12631
12733
  this.autoSetValueOnMenuKeyDown = (event) => {
12632
- var _a, _b;
12734
+ var _a;
12633
12735
  event.cancelBubble = true;
12634
12736
  const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
12635
12737
  const isSearchableSelect = !!this.inputEl && this.inputEl.tagName === "INPUT";
@@ -12642,6 +12744,9 @@ class Menu {
12642
12744
  if (!this.hasTimedOut) {
12643
12745
  event.preventDefault();
12644
12746
  this.setPreviousOptionValue(selectedOptionIndex);
12747
+ this.emitOptionId(selectedOptionIndex > 0
12748
+ ? selectedOptionIndex - 1
12749
+ : this.ungroupedOptions.length - 1);
12645
12750
  this.keyboardNav = true;
12646
12751
  }
12647
12752
  break;
@@ -12649,6 +12754,9 @@ class Menu {
12649
12754
  if (!this.hasTimedOut) {
12650
12755
  event.preventDefault();
12651
12756
  this.setNextOptionValue(selectedOptionIndex);
12757
+ this.emitOptionId(selectedOptionIndex < this.ungroupedOptions.length - 1
12758
+ ? selectedOptionIndex + 1
12759
+ : 0);
12652
12760
  this.keyboardNav = true;
12653
12761
  }
12654
12762
  break;
@@ -12656,30 +12764,29 @@ class Menu {
12656
12764
  this.menuOptionSelect.emit({
12657
12765
  value: this.ungroupedOptions[0][this.valueField],
12658
12766
  });
12767
+ this.emitOptionId(0);
12659
12768
  this.keyboardNav = true;
12660
12769
  break;
12661
12770
  case "End":
12662
12771
  this.menuOptionSelect.emit({
12663
12772
  value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
12664
12773
  });
12774
+ this.emitOptionId(this.ungroupedOptions.length - 1);
12665
12775
  this.keyboardNav = true;
12666
12776
  break;
12667
12777
  case "Enter":
12668
12778
  !this.hasTimedOut && this.handleMenuChange(false);
12669
12779
  break;
12670
12780
  case "Escape":
12671
- this.handleMenuChange(false);
12781
+ this.handleMenuChange(false, !this.allowMenuFocus);
12672
12782
  break;
12673
12783
  case "Backspace":
12674
- if (isSearchableSelect) {
12675
- (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
12676
- }
12677
12784
  break;
12678
12785
  case "Shift":
12679
12786
  break;
12680
12787
  default:
12681
12788
  if (isSearchableSelect && event.key !== "Tab" && !this.hasTimedOut) {
12682
- (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.focus();
12789
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
12683
12790
  }
12684
12791
  if (event.key.length === 1) {
12685
12792
  this.keyboardNav = true;
@@ -12718,21 +12825,28 @@ class Menu {
12718
12825
  return menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
12719
12826
  };
12720
12827
  this.isManualMode = this.activationType === "manual";
12721
- this.scrollToSelected = (menu) => {
12828
+ // Scroll to highlighted option, or selected option if no highlighted option (i.e. when the menu opens)
12829
+ this.scrollToSelected = () => {
12722
12830
  var _a;
12723
- const selectedOption = this.selectOnEnter
12831
+ const menu = this.menu;
12832
+ const selectedOption = this.selectOnEnter || this.searchableSelect || this.multiSelect
12724
12833
  ? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
12725
12834
  : menu.querySelector(".option[aria-selected='true']");
12726
12835
  if (selectedOption) {
12727
- const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
12728
- if (elTop > menu.scrollTop + menu.offsetHeight ||
12729
- elTop < menu.scrollTop + menu.offsetHeight) {
12730
- menu.scrollTop = selectedOption.offsetTop;
12836
+ const menuRect = menu.getBoundingClientRect();
12837
+ const optionRect = selectedOption.getBoundingClientRect();
12838
+ if (optionRect.top < menuRect.top) {
12839
+ menu.scrollTop -= menuRect.top - optionRect.top;
12840
+ }
12841
+ else if (optionRect.bottom > menuRect.bottom) {
12842
+ menu.scrollTop += optionRect.bottom - menuRect.bottom;
12731
12843
  }
12732
12844
  // 'aria-activedescendant' affects screen reader focus
12733
12845
  // https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/#kbd_focus_activedescendant
12734
12846
  (_a = this.menu) === null || _a === void 0 ? void 0 : _a.setAttribute(this.ACTIVE_DESCENDANT, selectedOption.id);
12735
- selectedOption.focus();
12847
+ if (this.allowMenuFocus) {
12848
+ selectedOption.focus();
12849
+ }
12736
12850
  }
12737
12851
  };
12738
12852
  // Set 'ungroupedOptions' variable and emit its value
@@ -12775,7 +12889,7 @@ class Menu {
12775
12889
  "show-check-icon": showCheckIcon,
12776
12890
  } }, (option.icon || !option.hideLabel) && (hAsync("div", { class: "option-label" }, option.icon && (hAsync("div", { class: "option-icon", innerHTML: sanitizeHTMLIconString(option.icon), "aria-hidden": "true" })), !option.hideLabel && (hAsync("ic-typography", { variant: "body", "aria-hidden": "true" }, option[this.labelField])))), option.description && (hAsync("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, hAsync("p", null, option.description))), option.element && (hAsync("div", { class: {
12777
12891
  "option-element": option.icon || !option.hideLabel || option.description,
12778
- }, innerHTML: sanitizeHTMLString(option.element.component), "aria-hidden": "true" }))), showCheckIcon && hAsync("span", { class: "check-icon", innerHTML: checkIcon })));
12892
+ }, innerHTML: sanitizeHTMLString(option.element.component), "aria-hidden": "true" }))), showCheckIcon && (hAsync("span", { class: "check-icon", innerHTML: checkIcon, "aria-hidden": "true" }))));
12779
12893
  };
12780
12894
  this.displayOption = (option, selected, index, parentOption) => {
12781
12895
  var _a;
@@ -12792,11 +12906,13 @@ class Menu {
12792
12906
  "disabled-option": !!option.disabled,
12793
12907
  "loading-option": !!option.loading,
12794
12908
  timeout: !!option.timedOut,
12795
- }, role: "option", tabindex: open &&
12796
- (selected || option[this.valueField] === optionHighlighted) &&
12797
- keyboardNav
12798
- ? "0"
12799
- : "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": selected ? "true" : "false", "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading
12909
+ }, role: "option", tabindex: !this.allowMenuFocus
12910
+ ? "-1"
12911
+ : open &&
12912
+ (selected || option[this.valueField] === optionHighlighted) &&
12913
+ keyboardNav
12914
+ ? "0"
12915
+ : "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": selected ? "true" : "false", "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading
12800
12916
  ? this.handleOptionClick
12801
12917
  : undefined, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, ((_a = option.htmlProps) !== null && _a !== void 0 ? _a : {})), option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", null, "Error"), hAsync("g", null, hAsync("path", { 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, selected))));
12802
12918
  };
@@ -12858,10 +12974,7 @@ class Menu {
12858
12974
  inputValueInOptions &&
12859
12975
  this.autofocusOnSelected &&
12860
12976
  !this.searchableSelect) {
12861
- this.scrollToSelected(this.menu);
12862
- }
12863
- else if (this.selectOnEnter) {
12864
- this.menu.focus();
12977
+ this.scrollToSelected();
12865
12978
  }
12866
12979
  else if (!!this.optionHighlighted &&
12867
12980
  !this.focusFromSearchKeypress &&
@@ -12869,15 +12982,19 @@ class Menu {
12869
12982
  const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
12870
12983
  if (highlightedEl) {
12871
12984
  this.menu.setAttribute(this.ACTIVE_DESCENDANT, highlightedEl.id);
12872
- highlightedEl.focus();
12985
+ if (this.allowMenuFocus) {
12986
+ highlightedEl.focus();
12987
+ }
12873
12988
  }
12874
12989
  }
12875
- else if (this.inputEl && this.inputEl.tagName !== "INPUT") {
12990
+ else if (this.inputEl &&
12991
+ this.inputEl.tagName !== "INPUT" &&
12992
+ this.allowMenuFocus) {
12876
12993
  this.menu.focus();
12877
12994
  }
12878
12995
  }
12879
- if (this.menu && this.open && !this.value && this.selectOnEnter) {
12880
- this.scrollToSelected(this.menu);
12996
+ if (this.menu && this.open) {
12997
+ this.scrollToSelected();
12881
12998
  }
12882
12999
  this.preventMenuFocus = false;
12883
13000
  }
@@ -12912,6 +13029,19 @@ class Menu {
12912
13029
  this.manualSetInputValueKeyboardOpen(event);
12913
13030
  }
12914
13031
  }
13032
+ /**
13033
+ * Used alongside activationType
13034
+ * If menu is open and user navigates options via keyboard, emit optionSelect custom event.
13035
+ * @param {KeyboardEvent} event The keyboard event which is available when handleMenuKeydown is invoked.
13036
+ */
13037
+ async handleMenuKeyDown(event) {
13038
+ if (this.activationType === "automatic") {
13039
+ this.autoSetValueOnMenuKeyDown(event);
13040
+ }
13041
+ else if (this.activationType === "manual" && !this.searchBar) {
13042
+ this.manualSetInputValueKeyboardOpen(event);
13043
+ }
13044
+ }
12915
13045
  /**
12916
13046
  * @internal Used to highlight the first option in the menu.
12917
13047
  */
@@ -12965,7 +13095,7 @@ class Menu {
12965
13095
  const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
12966
13096
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
12967
13097
  const hasNoResults = this.host.classList.contains("no-results");
12968
- return (hAsync(Host, { key: 'a2934ccf16727c0f37d89f77186a58b5ba8e25e1', class: {
13098
+ return (hAsync(Host, { key: '8b0e06f14c1979c3658e6e13fca3e4c6828c795d', class: {
12969
13099
  "ic-menu-full-width": !!fullWidth,
12970
13100
  "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
12971
13101
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
@@ -12974,12 +13104,16 @@ class Menu {
12974
13104
  [`ic-menu-${size}`]: true,
12975
13105
  "ic-menu-open": open && options.length !== 0,
12976
13106
  "ic-menu-multiple": multiSelect,
12977
- } }, options.length !== 0 && (hAsync("ul", { key: '7ba54b5a6c29e2ca30f893806d9ee076324469bf', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
12978
- !keyboardNav &&
12979
- ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
12980
- (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
12981
- ? "0"
12982
- : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
13107
+ } }, options.length !== 0 && (hAsync("ul", { key: '5af8ebaf798f09d020cab17adf4ef04e0fe2f9d4', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", "aria-activedescendant": this.optionHighlighted
13108
+ ? this.getOptionId(this.optionHighlighted)
13109
+ : undefined, tabindex: !this.allowMenuFocus
13110
+ ? "-1"
13111
+ : open &&
13112
+ !keyboardNav &&
13113
+ ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
13114
+ (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
13115
+ ? "0"
13116
+ : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
12983
13117
  if (option.children) {
12984
13118
  if (option.children.length > 0) {
12985
13119
  return (hAsync("div", null, hAsync("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, hAsync("p", null, option[this.labelField])), option.children.map((childOption) => childOption[this.labelField] &&
@@ -13002,7 +13136,7 @@ class Menu {
13002
13136
  multiSelect &&
13003
13137
  !isLoading &&
13004
13138
  !hasTimedOut &&
13005
- !hasNoResults && (hAsync("div", { key: '0cdb01a79cabee7e3a18d16d0372b67a759b0af4', class: "option-bar" }, hAsync("ic-typography", { key: '05d91feb3af7fb333972edf4dece4d337af15de4' }, hAsync("p", { key: 'e7238b5cf18695dd705ad1fb71c1ab72dbde3fc2' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: '4aaa496abb80408776573f5ae26cf1adf62d7ed3', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
13139
+ !hasNoResults && (hAsync("div", { key: 'f1a670781a41df910d8d55d2a956e062faf5a425', class: "option-bar" }, hAsync("ic-typography", { key: '9687b26a0a275e9a6cff54180f2962d836ef4262' }, hAsync("p", { key: '33e219ebba6ad3eb4ed60d77d9ed86551cb93a48' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: '05e39e54ef176fb303ba59dcc3b91745cf38deef', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
13006
13140
  }
13007
13141
  get host() { return getElement(this); }
13008
13142
  static get watchers() { return {
@@ -13034,6 +13168,7 @@ class Menu {
13034
13168
  "options": [16],
13035
13169
  "value": [1],
13036
13170
  "valueField": [1, "value-field"],
13171
+ "allowMenuFocus": [4, "allow-menu-focus"],
13037
13172
  "focusFromSearchKeypress": [32],
13038
13173
  "initialOptionsListRender": [32],
13039
13174
  "keyboardNav": [32],
@@ -13043,6 +13178,7 @@ class Menu {
13043
13178
  "popperProps": [32],
13044
13179
  "handleClickOpen": [64],
13045
13180
  "handleKeyboardOpen": [64],
13181
+ "handleMenuKeyDown": [64],
13046
13182
  "handleSetFirstOption": [64],
13047
13183
  "initPopperJs": [64],
13048
13184
  "setExternalPopperProps": [64]
@@ -14547,6 +14683,427 @@ class Pagination {
14547
14683
  }; }
14548
14684
  }
14549
14685
 
14686
+ const icPaginationBarCss = ":host(){display:block}.pagination-bar{height:3.5rem;display:flex;align-items:center;justify-content:flex-end;gap:var(--ic-space-xl);padding:var(--ic-space-xs) var(--ic-space-md);box-sizing:border-box;--ic-typography-color:var(--ic-pagination-text)}.pagination-bar-left{justify-content:flex-start}.item-controls{display:flex;align-items:center;gap:var(--ic-space-xl)}.pagination-bar-space-between .item-controls{margin-right:auto}.items-per-page-holder{display:flex;align-items:center;gap:var(--ic-space-xs)}.items-per-page-input{--input-width:5rem;--ic-typography-color:var(--ic-pagination-select-content)}.pagination-controls{display:flex;align-items:center;gap:var(--ic-space-xl)}.pagination-controls-wrap{flex-direction:column;align-items:flex-end;gap:var(--ic-space-xs)}.pagination-bar-space-between .pagination-controls{margin-left:auto}.go-to-page-holder{display:flex;align-items:center;gap:var(--ic-space-xs)}.go-to-page-input{--input-width:var(--ic-space-xl)}.go-to-page-button{--min-width:var(--ic-space-xl)}.items-per-page-control-label{white-space:nowrap}@media screen and (max-width: 768px){.pagination-bar{flex-direction:column;align-items:flex-end;height:-moz-fit-content;height:fit-content;gap:var(--ic-space-xs)}.pagination-bar-left{align-items:flex-start}}@media screen and (max-width: 320px){.item-controls,.pagination-controls{flex-direction:column;align-items:flex-end;gap:var(--ic-space-xs)}.pagination-bar-left .item-controls,.pagination-bar-left .pagination-controls,.pagination-bar-space-between .item-controls,.pagination-bar-space-between .pagination-controls{align-items:flex-start}}";
14687
+ var IcPaginationBarStyle0 = icPaginationBarCss;
14688
+
14689
+ class PaginationBar {
14690
+ constructor(hostRef) {
14691
+ registerInstance(this, hostRef);
14692
+ this.icPageChange = createEvent(this, "icPageChange", 7);
14693
+ this.icItemsPerPageChange = createEvent(this, "icItemsPerPageChange", 7);
14694
+ this.PAGE_INPUT_FIELD_ID = "go-to-page-input";
14695
+ this.INVALID_PAGE_ERROR = "Please enter a valid page";
14696
+ this.resizeObserver = null;
14697
+ this.activePage = 1;
14698
+ this.inputError = "Please enter a valid page";
14699
+ this.itemsPerPage = 10;
14700
+ this.itemsPerPageString = "10";
14701
+ this.lowerBound = 1;
14702
+ this.paginationWrapped = false;
14703
+ /**
14704
+ * The accessible label passed down to the pagination component to provide context for screen reader users.
14705
+ */
14706
+ this.accessibleLabel = "Pagination Navigation";
14707
+ /**
14708
+ * Sets the alignment of the items in the pagination bar.
14709
+ */
14710
+ this.alignment = "right";
14711
+ /**
14712
+ * The current page number to be displayed on the pagination bar.
14713
+ */
14714
+ this.currentPage = 1;
14715
+ /**
14716
+ * If `true`, the 'All' option will be hidden from the 'items per page' select input.
14717
+ */
14718
+ this.hideAllFromItemsPerPage = false;
14719
+ /**
14720
+ * If `true`, the current page of the simple pagination will not be displayed.
14721
+ */
14722
+ this.hideCurrentPage = false;
14723
+ /**
14724
+ * If `true`, the first and last page buttons will not be displayed.
14725
+ */
14726
+ this.hideFirstAndLastPageButton = false;
14727
+ /**
14728
+ * The text which will be used in place of 'Item' on the pagination bar.
14729
+ */
14730
+ this.itemLabel = "Item";
14731
+ /**
14732
+ * If `true`, the pagination bar will display as black in the light theme, and white in dark theme.
14733
+ */
14734
+ this.monochrome = false;
14735
+ /**
14736
+ * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
14737
+ */
14738
+ this.theme = "inherit";
14739
+ /**
14740
+ * Whether the displayed pagination is simple or complex.
14741
+ */
14742
+ this.type = "simple";
14743
+ /**
14744
+ * Whether total number of items and current item range or total number of pages and current page is displayed.
14745
+ */
14746
+ this.rangeLabelType = "page";
14747
+ /**
14748
+ * The text which will be used in place of 'Page' on the pagination bar.
14749
+ */
14750
+ this.pageLabel = "Page";
14751
+ /**
14752
+ * If `true`, the 'go to page' control should be displayed.
14753
+ */
14754
+ this.showGoToPageControl = false;
14755
+ /**
14756
+ * If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
14757
+ */
14758
+ this.hideRangeLabel = false;
14759
+ /**
14760
+ * If `false`, the value in the items per page control will be set immediately on ArrowUp and ArrowDown instead of when Enter is pressed.
14761
+ */
14762
+ this.selectItemsPerPageOnEnter = true;
14763
+ /**
14764
+ * If `true`, the select input to control 'items per page' should be displayed.
14765
+ */
14766
+ this.showItemsPerPageControl = false;
14767
+ /**
14768
+ If `true`, the pagination bar is set to the first page when the 'items per page' changes
14769
+ */
14770
+ this.setToFirstPageOnPaginationChange = false;
14771
+ this.setSelectedItemsPerPage = (selectedItemsPerPage, displayedItemsPerPageOptions = []) => {
14772
+ const isSelectedItemsPerPagePresent = displayedItemsPerPageOptions === null || displayedItemsPerPageOptions === void 0 ? void 0 : displayedItemsPerPageOptions.some(({ value }) => { var _a; return value === ((_a = this.selectedItemsPerPage) === null || _a === void 0 ? void 0 : _a.toString()); });
14773
+ if (isSelectedItemsPerPagePresent) {
14774
+ this.setItemsPerPage(selectedItemsPerPage, false);
14775
+ }
14776
+ else {
14777
+ console.error(`The selected items per page option "${this.selectedItemsPerPage}" does not exist`);
14778
+ this.setItemsPerPage(+this.totalItems, false);
14779
+ }
14780
+ };
14781
+ this.changeItemsPerPage = () => {
14782
+ this.setItemsPerPage(Number(this.pageDropdownEl.value));
14783
+ this.userSetItemsPerPage = Number(this.pageDropdownEl.value);
14784
+ };
14785
+ this.changePage = (page) => {
14786
+ this.activePage = page;
14787
+ this.lowerBound = page !== 1 ? (page - 1) * this.itemsPerPage + 1 : page;
14788
+ this.setUpperBound();
14789
+ };
14790
+ this.focusElFromLabel = (el) => {
14791
+ var _a, _b;
14792
+ (_b = (_a = this.paginationBarEl) === null || _a === void 0 ? void 0 : _a.querySelector(el)) === null || _b === void 0 ? void 0 : _b.setFocus();
14793
+ };
14794
+ this.goToPage = () => {
14795
+ var _a;
14796
+ const input = this.pageInputEl;
14797
+ const page = Number(input.value);
14798
+ if (page <= this.totalPages && page > 0) {
14799
+ this.changePage(page);
14800
+ (_a = this.paginationEl) === null || _a === void 0 ? void 0 : _a.setCurrentPage(page);
14801
+ this.activePage = page;
14802
+ input.value = "";
14803
+ this.icPageChange.emit({ value: page });
14804
+ this.pageInputTooltipEl.displayTooltip(false, false);
14805
+ input.validationStatus = "";
14806
+ }
14807
+ else {
14808
+ this.setInputError(input, this.INVALID_PAGE_ERROR);
14809
+ }
14810
+ };
14811
+ this.goToPageLabelClickHandler = () => {
14812
+ this.focusElFromLabel("ic-text-field");
14813
+ };
14814
+ this.handleBlur = () => {
14815
+ const textField = this.pageInputEl;
14816
+ if ((Number(textField.value) <= this.totalPages &&
14817
+ Number(textField.value) > 0) ||
14818
+ textField.value === "") {
14819
+ textField.validationStatus = "";
14820
+ }
14821
+ this.pageInputTooltipEl.displayTooltip(false, false);
14822
+ };
14823
+ this.handleFocus = () => {
14824
+ if (this.pageInputEl.validationStatus === "error") {
14825
+ this.pageInputTooltipEl.displayTooltip(true, true);
14826
+ }
14827
+ };
14828
+ this.handleInputChange = () => {
14829
+ const inputValue = parseInt(this.pageInputEl.value);
14830
+ if (inputValue > this.totalPages || inputValue <= 0) {
14831
+ this.setInputError(this.pageInputEl, this.INVALID_PAGE_ERROR);
14832
+ this.pageInputTooltipEl.displayTooltip(true, true);
14833
+ }
14834
+ };
14835
+ this.handleKeydown = (ev) => {
14836
+ if (ev.key === "Enter") {
14837
+ if (this.pageInputEl.validationStatus === "error") {
14838
+ this.pageInputTooltipEl.displayTooltip(true, true);
14839
+ }
14840
+ else {
14841
+ this.goToPage();
14842
+ }
14843
+ }
14844
+ else {
14845
+ this.pageInputTooltipEl.displayTooltip(false, false);
14846
+ this.pageInputEl.validationStatus = "";
14847
+ }
14848
+ };
14849
+ this.handleKeyUp = (ev) => {
14850
+ if (Number.isNaN(parseInt(this.pageInputEl.value)) &&
14851
+ ev.key !== "Backspace" &&
14852
+ ev.key !== "Enter" &&
14853
+ ev.key !== "Tab" &&
14854
+ ev.key !== "Shift") {
14855
+ this.setInputError(this.pageInputEl, "Please enter a number", false);
14856
+ this.pageInputTooltipEl.displayTooltip(true, false);
14857
+ }
14858
+ };
14859
+ this.itemsPerPageLabelClickHandler = () => {
14860
+ this.focusElFromLabel("ic-select");
14861
+ };
14862
+ this.paginationShouldWrap = () => {
14863
+ if (this.type === "simple") {
14864
+ this.paginationWrapped = this.paginationEl.clientHeight > 63;
14865
+ }
14866
+ };
14867
+ this.runResizeObserver = () => {
14868
+ if (this.paginationBarEl) {
14869
+ this.resizeObserver = new ResizeObserver(() => {
14870
+ const { clientWidth } = this.paginationBarEl;
14871
+ if (clientWidth - this.paginationWidth > 50 ||
14872
+ clientWidth - this.paginationWidth < -50) {
14873
+ this.paginationWidth = clientWidth;
14874
+ this.paginationShouldWrap();
14875
+ }
14876
+ });
14877
+ this.resizeObserver.observe(this.paginationBarEl);
14878
+ }
14879
+ };
14880
+ this.setInputError = (el, error, focus = true) => {
14881
+ this.inputError = error;
14882
+ el.validationStatus = "error";
14883
+ if (focus)
14884
+ el.setFocus();
14885
+ };
14886
+ this.setToFirstPage = () => {
14887
+ var _a;
14888
+ const firstPage = 1;
14889
+ this.changePage(firstPage);
14890
+ (_a = this.paginationEl) === null || _a === void 0 ? void 0 : _a.setCurrentPage(firstPage);
14891
+ this.activePage = firstPage;
14892
+ this.icPageChange.emit({ value: firstPage });
14893
+ };
14894
+ this.setItemsPerPage = (newValue, isUserAction = true) => {
14895
+ var _a;
14896
+ if (this.itemsPerPage !== newValue) {
14897
+ this.itemsPerPage = newValue;
14898
+ this.itemsPerPageString = newValue.toString();
14899
+ this.icItemsPerPageChange.emit({
14900
+ value: this.itemsPerPage,
14901
+ isUserAction,
14902
+ });
14903
+ if (this.setToFirstPageOnPaginationChange) {
14904
+ this.setToFirstPage();
14905
+ }
14906
+ }
14907
+ this.totalPages =
14908
+ this.totalItems > this.itemsPerPage
14909
+ ? Math.ceil(this.totalItems / this.itemsPerPage)
14910
+ : 1;
14911
+ this.setUpperBound();
14912
+ if (this.activePage > this.totalPages) {
14913
+ (_a = this.paginationEl) === null || _a === void 0 ? void 0 : _a.setCurrentPage(this.totalPages);
14914
+ this.activePage = this.totalPages;
14915
+ }
14916
+ this.icPageChange.emit({ value: this.activePage, fromItemsPerPage: true });
14917
+ };
14918
+ this.setPaginationBarContent = () => {
14919
+ const clonedItemsPerPageOptions = this.itemsPerPageOptions
14920
+ ? JSON.parse(JSON.stringify(this.itemsPerPageOptions))
14921
+ : null;
14922
+ const displayedItemsPerPageOptions = clonedItemsPerPageOptions ||
14923
+ (this.totalItems <= 100
14924
+ ? [
14925
+ { label: "10", value: "10" },
14926
+ { label: "25", value: "25" },
14927
+ { label: "50", value: "50" },
14928
+ ]
14929
+ : [
14930
+ { label: "25", value: "25" },
14931
+ { label: "100", value: "100" },
14932
+ { label: "1000", value: "1000" },
14933
+ ]);
14934
+ !this.hideAllFromItemsPerPage &&
14935
+ displayedItemsPerPageOptions.push({
14936
+ label: "All",
14937
+ value: String(this.totalItems),
14938
+ });
14939
+ this.displayedItemsPerPageOptions = displayedItemsPerPageOptions.filter(({ value }) => this.totalItems >= Number(value));
14940
+ let lastOptionValue = 0;
14941
+ if (this.userSetItemsPerPage) {
14942
+ this.displayedItemsPerPageOptions.some(({ value }) => {
14943
+ lastOptionValue = Number(value);
14944
+ return this.userSetItemsPerPage <= lastOptionValue;
14945
+ });
14946
+ this.setItemsPerPage(lastOptionValue);
14947
+ }
14948
+ else {
14949
+ if (this.selectedItemsPerPage !== null &&
14950
+ this.selectedItemsPerPage !== undefined) {
14951
+ this.setSelectedItemsPerPage(this.selectedItemsPerPage, this.displayedItemsPerPageOptions);
14952
+ }
14953
+ else {
14954
+ const updated = this.displayedItemsPerPageOptions.some(({ value }) => {
14955
+ lastOptionValue = Number(value);
14956
+ return this.itemsPerPage <= lastOptionValue;
14957
+ });
14958
+ this.setItemsPerPage(updated || (!updated && this.itemsPerPage > lastOptionValue)
14959
+ ? lastOptionValue
14960
+ : this.itemsPerPage, false);
14961
+ }
14962
+ }
14963
+ };
14964
+ this.setUpperBound = () => {
14965
+ this.upperBound = Math.min(this.lowerBound + this.itemsPerPage - 1, this.totalItems);
14966
+ };
14967
+ }
14968
+ watchPageNumberHandler() {
14969
+ this.setPaginationBarContent();
14970
+ if (typeof this.currentPage === "number" && this.currentPage) {
14971
+ if (this.currentPage < 1 ||
14972
+ (this.totalPages && this.currentPage > this.totalPages)) {
14973
+ console.warn(`The current page (${this.currentPage}) must be a number greater than zero but less than or equal to the total number of pages (${this.totalPages})`);
14974
+ }
14975
+ else {
14976
+ this.activePage = this.currentPage;
14977
+ }
14978
+ }
14979
+ }
14980
+ watchSelectedItemsPerPageHandler() {
14981
+ if (this.selectedItemsPerPage !== null &&
14982
+ this.selectedItemsPerPage !== undefined) {
14983
+ this.setSelectedItemsPerPage(this.selectedItemsPerPage, this.displayedItemsPerPageOptions);
14984
+ }
14985
+ }
14986
+ watchItemLabelHandler() {
14987
+ this.capitalizedItemLabel = capitalize(this.itemLabel);
14988
+ this.lowerCaseItemLabel = this.itemLabel.toLowerCase();
14989
+ }
14990
+ watchItemsPerPageOptionsHandler(newVal, oldVal) {
14991
+ if (JSON.stringify(newVal) === JSON.stringify(oldVal))
14992
+ return;
14993
+ this.setPaginationBarContent();
14994
+ }
14995
+ watchPageLabelHandler() {
14996
+ this.capitalizedPageLabel = capitalize(this.pageLabel);
14997
+ this.lowerCasePageLabel = this.pageLabel.toLowerCase();
14998
+ }
14999
+ watchTotalItemsHandler() {
15000
+ this.setPaginationBarContent();
15001
+ }
15002
+ watchSetToFirstPageOnPaginationChange() {
15003
+ this.setPaginationBarContent();
15004
+ }
15005
+ disconnectedCallback() {
15006
+ var _a;
15007
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
15008
+ }
15009
+ componentWillLoad() {
15010
+ this.watchPageNumberHandler();
15011
+ this.watchPageLabelHandler();
15012
+ this.watchItemLabelHandler();
15013
+ this.setPaginationBarContent();
15014
+ }
15015
+ componentDidLoad() {
15016
+ var _a, _b, _c;
15017
+ this.paginationWidth = ((_a = this.paginationBarEl) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
15018
+ checkResizeObserver(this.runResizeObserver);
15019
+ const textField = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(`.${this.PAGE_INPUT_FIELD_ID}`);
15020
+ if (textField) {
15021
+ const input = (_c = textField === null || textField === void 0 ? void 0 : textField.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector("input");
15022
+ if (input) {
15023
+ input.style.textAlign = "center";
15024
+ input.style.padding = "0";
15025
+ }
15026
+ }
15027
+ this.paginationShouldWrap();
15028
+ }
15029
+ pageChangeHandler(ev) {
15030
+ const page = ev.detail.value;
15031
+ this.changePage(page);
15032
+ }
15033
+ render() {
15034
+ const { accessibleLabel, alignment, displayedItemsPerPageOptions, PAGE_INPUT_FIELD_ID, type, rangeLabelType, hideRangeLabel, showItemsPerPageControl, showGoToPageControl, pageLabel, capitalizedPageLabel, lowerCasePageLabel, capitalizedItemLabel, lowerCaseItemLabel, totalPages, activePage, itemsPerPageString, theme, monochrome, selectItemsPerPageOnEnter, hideCurrentPage, hideFirstAndLastPageButton, } = this;
15035
+ return (hAsync(Host, { key: 'c11938d14250e5435166136014565a78c8fbe1b0', class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '14cef9faa92a11d48b0f569524f69a75924fcea5', class: {
15036
+ ["pagination-bar"]: true,
15037
+ [`pagination-bar-${alignment}`]: true,
15038
+ }, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { key: 'ce45782788e8a0fa10c1c4be4c88dd66238abc0d', class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { key: '988fd5587d581f707c859b116c0523a09b1fc629', class: "items-per-page-holder" }, hAsync("ic-typography", { key: '78062c53ca82dcc53fa6de6da987284760a75411', class: {
15039
+ ["items-per-page-control-label"]: true,
15040
+ }, variant: "label", onClick: this.itemsPerPageLabelClickHandler }, capitalizedItemLabel, "s per ", lowerCasePageLabel), hAsync("ic-select", { key: '5f661cc9f2aa0f691d2e099d34531651acfd4623', theme: theme, size: "small", label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: displayedItemsPerPageOptions, selectOnEnter: selectItemsPerPageOnEnter, value: itemsPerPageString, onIcChange: this.changeItemsPerPage, ref: (el) => (this.pageDropdownEl = el) }))), !hideRangeLabel &&
15041
+ (rangeLabelType === "data" ? (hAsync("ic-typography", { class: {
15042
+ ["item-pagination-label"]: true,
15043
+ }, variant: "label", "aria-live": "polite" }, this.upperBound === 0 && `0 ${lowerCaseItemLabel}s`, this.upperBound > 0 &&
15044
+ `${this.lowerBound} - ${this.upperBound} of ${this.totalItems} ${lowerCaseItemLabel}${this.totalItems > 1 ? "s" : ""}`)) : (hAsync("ic-typography", { class: {
15045
+ ["page-pagination-label"]: true,
15046
+ }, variant: "label", "aria-live": "polite" }, capitalizedPageLabel, " ", activePage, " of ", totalPages))))), hAsync("div", { key: '2fe098d17de85749fb85b9da97e821c1102e30d5', class: {
15047
+ ["pagination-controls"]: true,
15048
+ ["pagination-controls-wrap"]: this.paginationWrapped,
15049
+ } }, hAsync("div", { key: '2df84c3e3e46f8915c3cc223343af2d628025f9f', class: "pagination-holder" }, hAsync("ic-pagination", { key: 'ad3217739a5828cbd6e438692ca5a987eab25d51', accessibleLabel: accessibleLabel, type: type, pages: totalPages, label: pageLabel, ref: (el) => (this.paginationEl = el), currentPage: activePage, theme: theme, monochrome: monochrome, hideCurrentPage: hideCurrentPage, hideFirstAndLastPageButton: hideFirstAndLastPageButton })), showGoToPageControl && (hAsync("div", { key: '107a7b12ce7d9dd3f3ea2b62bd43c5556dfc2145', class: "go-to-page-holder" }, hAsync("ic-typography", { key: '6042313933f74fa385a6cd5244eb32f650b3efe6', variant: "label", onClick: this.goToPageLabelClickHandler }, "Go to ", lowerCasePageLabel), hAsync("ic-tooltip", { key: '2667de79e971e45b48b17f6479f17c34b94b9630', label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true, ref: (el) => (this.pageInputTooltipEl = el) }, hAsync("ic-text-field", { key: 'd0039eb822e6bc06d9e9c35c24c962017fffc818', theme: theme, type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: this.handleKeydown, onKeyUp: this.handleKeyUp, onInput: this.handleInputChange, max: totalPages, min: "1", validationInlineInternal: true, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: (el) => (this.pageInputEl = el) })), hAsync("ic-button", { key: 'a5159ea7b8994d71d04a13e4e7dd2f778b9e6e63', variant: "secondary", onClick: this.goToPage, size: "small", class: "go-to-page-button" }, "Go")))))));
15050
+ }
15051
+ get el() { return getElement(this); }
15052
+ static get watchers() { return {
15053
+ "currentPage": ["watchPageNumberHandler"],
15054
+ "selectedItemsPerPage": ["watchSelectedItemsPerPageHandler"],
15055
+ "itemLabel": ["watchItemLabelHandler"],
15056
+ "itemsPerPageOptions": ["watchItemsPerPageOptionsHandler"],
15057
+ "pageLabel": ["watchPageLabelHandler"],
15058
+ "totalItems": ["watchTotalItemsHandler"],
15059
+ "setToFirstPageOnPaginationChange": ["watchSetToFirstPageOnPaginationChange"]
15060
+ }; }
15061
+ static get style() { return IcPaginationBarStyle0; }
15062
+ static get cmpMeta() { return {
15063
+ "$flags$": 9,
15064
+ "$tagName$": "ic-pagination-bar",
15065
+ "$members$": {
15066
+ "accessibleLabel": [1, "accessible-label"],
15067
+ "alignment": [1],
15068
+ "currentPage": [2, "current-page"],
15069
+ "selectedItemsPerPage": [2, "selected-items-per-page"],
15070
+ "hideAllFromItemsPerPage": [4, "hide-all-from-items-per-page"],
15071
+ "hideCurrentPage": [4, "hide-current-page"],
15072
+ "hideFirstAndLastPageButton": [4, "hide-first-and-last-page-button"],
15073
+ "itemLabel": [1, "item-label"],
15074
+ "itemsPerPageOptions": [16],
15075
+ "monochrome": [4],
15076
+ "theme": [1],
15077
+ "type": [1],
15078
+ "rangeLabelType": [1, "range-label-type"],
15079
+ "pageLabel": [1, "page-label"],
15080
+ "showGoToPageControl": [4, "show-go-to-page-control"],
15081
+ "hideRangeLabel": [4, "hide-range-label"],
15082
+ "selectItemsPerPageOnEnter": [4, "select-items-per-page-on-enter"],
15083
+ "showItemsPerPageControl": [4, "show-items-per-page-control"],
15084
+ "totalItems": [2, "total-items"],
15085
+ "setToFirstPageOnPaginationChange": [4, "set-to-first-page-on-pagination-change"],
15086
+ "capitalizedItemLabel": [32],
15087
+ "capitalizedPageLabel": [32],
15088
+ "activePage": [32],
15089
+ "displayedItemsPerPageOptions": [32],
15090
+ "inputError": [32],
15091
+ "itemsPerPage": [32],
15092
+ "itemsPerPageString": [32],
15093
+ "lowerBound": [32],
15094
+ "lowerCaseItemLabel": [32],
15095
+ "lowerCasePageLabel": [32],
15096
+ "paginationWidth": [32],
15097
+ "paginationWrapped": [32],
15098
+ "totalPages": [32],
15099
+ "upperBound": [32]
15100
+ },
15101
+ "$listeners$": [[0, "icPageChange", "pageChangeHandler"]],
15102
+ "$lazyBundleId$": "-",
15103
+ "$attrsToReflect$": []
15104
+ }; }
15105
+ }
15106
+
14550
15107
  const icPaginationItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}a{text-align:center}.item-container{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{background:none;border:none;outline:inherit;position:relative}.ellipsis{pointer-events:none;--ic-typography-color:var(--ic-pagination-ellipsis)}.monochrome .ellipsis{--ic-typography-color:var(--ic-pagination-ellipsis-monochrome)}.item-container: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{--ic-typography-color:var(--ic-pagination-page-number)}.monochrome .page{--ic-typography-color:var(--ic-pagination-page-number-monochrome)}.simple-current{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){border-radius:var(--ic-border-radius);background-color:var(--ic-pagination-hover)}.item-container.page:active:not(.selected):not(:focus){background-color:var(--ic-pagination-pressed)}.monochrome .item-container.page:hover:not(.selected):not(:focus){background-color:var(--ic-pagination-hover-monochrome)}.monochrome .item-container.page:active:not(.selected):not(:focus){background-color:var(--ic-pagination-pressed-monochrome)}.selected{pointer-events:none;outline:none}.selected::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-pagination-selected-banner)}.monochrome .selected::after{background-color:var(--ic-pagination-selected-banner-monochrome)}.page-selected{--ic-typography-color:var(--ic-pagination-text)}.item-container.page.light:hover:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-hover)}.item-container.page.light:active:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-pressed)}ic-typography.light,ic-typography.page-selected.light{--ic-typography-color:var(--ic-architectural-white)}.selected.light::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-monochrome)}.item-container.page.dark:hover:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-hover)}.item-container.page.dark:active:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-pressed)}ic-typography.dark{--ic-typography-color:var(--ic-color-text-primary)}.selected.dark::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-monochrome-dark)}.disabled{--ic-typography-color:var(--ic-pagination-text-disabled);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.disabled.page ic-typography{--ic-typography-color:var(--ic-pagination-page-number-disabled)}.disabled.ellipsis{--ic-typography-color:var(--ic-pagination-ellipsis-disabled)}.monochrome .disabled.page{--ic-typography-color:var(--ic-pagination-page-number-monochrome-disabled)}.monochrome .disabled.ellipsis{--ic-typography-color:var(--ic-pagination-ellipsis-monochrome-disabled)}@media (forced-colors: active){.selected::after{background-color:Highlight}.selected.light::after{background-color:Highlight}.selected.dark::after{background-color:Highlight}.disabled{--ic-typography-color:GrayText}}@media (prefers-reduced-motion: reduce){.item-container:focus{transition:none}}";
14551
15108
  var IcPaginationItemStyle0 = icPaginationItemCss;
14552
15109
 
@@ -14909,17 +15466,17 @@ class PopoverMenu {
14909
15466
  this.popperProps = props;
14910
15467
  }
14911
15468
  render() {
14912
- return (hAsync(Host, { key: '8ab9e16a2208bdd2ce36933b62354a4cf36a1655', class: {
15469
+ return (hAsync(Host, { key: '2df7f8dce86b2a069e36c528cde49fab2a59e14d', class: {
14913
15470
  ["ic-popover-menu-open"]: !!this.open,
14914
15471
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
14915
- } }, hAsync("div", { key: '2d234fdb7f0632ac7fe8080d32fd076b174bc43b', id: this.parentPopover === undefined
15472
+ } }, hAsync("div", { key: '274adfbbf14f57d3538bd5076d4f3eaba4246b9f', id: this.parentPopover === undefined
14916
15473
  ? `ic-popover-submenu-${this.submenuId}`
14917
15474
  : "", class: {
14918
15475
  menu: true,
14919
- } }, hAsync("span", { key: '4d92490bac8e470c989ebc736c7cb88beab07283', class: {
15476
+ } }, hAsync("span", { key: 'dbb75e11d95ab6dd331e8fdde4c698627ebce128', class: {
14920
15477
  "opening-from-parent": this.openingFromParent,
14921
15478
  "opening-from-child": this.openingFromChild,
14922
- } }, isPropDefined(this.submenuId) && (hAsync("span", { key: 'a86c2b55ce825077cafc58514d2fd9a67c00df49' }, hAsync("span", { key: 'd05b38782f21d1667252fcb5dbfad6f2cbf266cb', role: "menu" }, hAsync("ic-menu-item", { key: '7b607af7cb58bcc560d1d4b35a0b471515293be6', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, hAsync("svg", { key: 'ee6dd9b9e61fde3599aaf04b1061558d5a147b33', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: '03149b62b07f36182f7d70711b7f752041a6ad2d', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: 'd30272951d72997bcc4fc4092f5428ba74c22c9b', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: '85b7b75bd2ae9b2c57f6e790e09e3f0c364d6c9e', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: 'cce0bf0426bc4dfe89754e240c81f3d5ee50f96e' }))))));
15479
+ } }, isPropDefined(this.submenuId) && (hAsync("span", { key: 'd4f921888dbb9225abcb2470dd28df727f3beee0' }, hAsync("span", { key: '35d3b4ef74cb4d777f50299aa374a9e3cee34889', role: "menu" }, hAsync("ic-menu-item", { key: '1f389ff42de3e6a71f8d119a0d77c303bdd680a8', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, hAsync("svg", { key: '68719e50bc2f6735c0f7dcf6f44c9ff63c5acdea', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: '2ba5c53d18fb50b729ae2246817f7c9cf30257b0', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: '6932f008b6d3444e0c9310c60c3fcbafae48f3ff', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: '75f0187e8474d97fce7f8436cba7e6168cfd2b63', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: 'a547d619787fda1c2f529a0b4ec7fe3745f416ab' }))))));
14923
15480
  }
14924
15481
  static get delegatesFocus() { return true; }
14925
15482
  get el() { return getElement(this); }
@@ -15439,7 +15996,6 @@ let inputIds$3 = 0;
15439
15996
  /**
15440
15997
  * @slot helper-text - Content is set as the helper text for the search bar.
15441
15998
  */
15442
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
15443
15999
  class SearchBar {
15444
16000
  constructor(hostRef) {
15445
16001
  registerInstance(this, hostRef);
@@ -15619,7 +16175,7 @@ class SearchBar {
15619
16175
  this.setMenuChange(true);
15620
16176
  this.preLoad = false;
15621
16177
  if (this.disableAutoFiltering === false) {
15622
- const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere", this.labelField);
16178
+ const rawFilteredOptions = getFilteredMenuOptions(this.options, this.value, this.labelField);
15623
16179
  this.filteredOptions =
15624
16180
  rawFilteredOptions.length > 0
15625
16181
  ? rawFilteredOptions
@@ -15974,39 +16530,39 @@ class SearchBar {
15974
16530
  const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
15975
16531
  const labelValue = getLabelFromValue(value, options, valueField, labelField);
15976
16532
  renderHiddenInput(this.el, value, name, disabledMode);
15977
- return (hAsync(Host, { key: 'a157a6642fdbf3b08a6e3715ed4b3caf2a4a2cc3', class: {
16533
+ return (hAsync(Host, { key: '04e5c15ac492b502e560a905f83f3a250412ca06', class: {
15978
16534
  "ic-search-bar-search": true,
15979
16535
  "ic-search-bar-full-width": fullWidth,
15980
16536
  "ic-search-bar-disabled": disabled,
15981
16537
  "ic-search-bar-small": size === "small",
15982
16538
  [`ic-theme-${theme}`]: theme !== "inherit",
15983
- }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '2505f6cacc6484e069a4550443c316c1c0969835', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: 'aa4f12f89adfba413e723ef51d39d1c9d455d462', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: '166a66746961e4dd48d17f7896f63322c0398391', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '9c64fed1a8540b98441ede3bcb50e7004e576206', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: '9d2de773bf2bf546dbc521766886f72910054d15', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
16539
+ }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '8fef7c014864aef9293542ab21524aa45d9241ac', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '43f1de8b93e14b829f581e0d394a75cb03c9d946', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: 'f5f1c33908f9083f84e162e6967e8b40d903f264', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '9fa5ed5c57101c905259eacdf81a1d7f8189f086', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: '853c5c33a1760d96d447332df4c3bff6e79f91f8', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
15984
16540
  "no-left-pad": readonly,
15985
16541
  readonly,
15986
16542
  "truncate-value": truncateValue,
15987
- }, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), hAsync("div", { key: 'fce57d94b8c5d5f5cd10dbca9d77f83775ef2e14', class: {
16543
+ }, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), hAsync("div", { key: '0d72210be324fa78ae66ce350c163e9633917978', class: {
15988
16544
  "clear-button-container": true,
15989
16545
  "clear-button-visible": !!value && !disabledMode && showClearButton,
15990
- } }, hAsync("ic-button", { key: '9f4c9508a7809f8803683b98cba337949ed7b075', id: "clear-button", class: {
16546
+ } }, hAsync("ic-button", { key: 'be2a08dde69a638dc26f0c479c691e65d80ece9e', id: "clear-button", class: {
15991
16547
  "clear-button": true,
15992
16548
  "clear-button-unfocused": !clearButtonFocused,
15993
- }, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { key: 'c8d3f7329e2c85efb0b15c69d25ef33066a078d7', class: "divider" })), hAsync("div", { key: '9c2e7064fc15b9f95b79f42ebbbcfe0a86efa33a', class: {
16549
+ }, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { key: '5043e6629e6c2c925bc8464a65339bad98e915dc', class: "divider" })), hAsync("div", { key: 'a36f9243178a2dc0da8e45e7dfe649816cf2b978', class: {
15994
16550
  "search-submit-button-container": true,
15995
16551
  "search-submit-button-disabled": this.isSubmitDisabled(),
15996
- } }, hAsync("ic-button", { key: '6581d4240e0c61a2d351469ce42f4e5b073d5359', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
16552
+ } }, hAsync("ic-button", { key: '9bdca735d409bd35d38d586b69172a72673fd275', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
15997
16553
  "search-submit-button": true,
15998
16554
  "search-submit-button-small": size === "small",
15999
16555
  "search-submit-button-unfocused": !searchSubmitFocused,
16000
16556
  "search-submit-button-disabled": this.isSubmitDisabled(),
16001
- }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { key: '6c5e68dfdd233ffba7640a960e59b68a6e59f3ad', class: {
16557
+ }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { key: '642e60a52c92b6fda82276a827236c4651d0cbf7', class: {
16002
16558
  "menu-container": true,
16003
16559
  fullwidth: fullWidth,
16004
- } }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '15acc1549f899dc228da307d4dd2a1550a8482d4', class: {
16560
+ } }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '025843659ad91751380c71f373c8e8f9fa118eb1', class: {
16005
16561
  "no-results": this.hadNoOptions() ||
16006
16562
  (filteredOptions.length === 1 &&
16007
16563
  (filteredOptions[0][labelField] === loadingLabel ||
16008
16564
  filteredOptions[0][labelField] === loadingErrorLabel)),
16009
- }, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: '15460d9ef215264449cecc99c1d4f01d1dbc8598', "aria-live": "polite", role: "status", class: "search-results-status" })));
16565
+ }, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: '17f2a14197fa3051a70345fd10e30a5cb98a13de', "aria-live": "polite", role: "status", class: "search-results-status" })));
16010
16566
  }
16011
16567
  static get delegatesFocus() { return true; }
16012
16568
  get el() { return getElement(this); }
@@ -16090,12 +16646,12 @@ class SectionContainer {
16090
16646
  }
16091
16647
  render() {
16092
16648
  const { aligned, fullHeight } = this;
16093
- return (hAsync(Host, { key: '24dccdddcc53a53ea167ac1d563dcf58cf4c011f', class: {
16649
+ return (hAsync(Host, { key: '141dc39bbd1e9fda7617f8bff574f1e25ada9fe8', class: {
16094
16650
  ["aligned-left"]: aligned === "left" || aligned === null,
16095
16651
  ["aligned-center"]: aligned === "center",
16096
16652
  ["aligned-full-width"]: aligned === "full-width",
16097
16653
  ["no-vertical-padding"]: !!fullHeight,
16098
- } }, hAsync("slot", { key: 'f1fff1aa3ea5c3e5917e73db0c7ee01bb1352d24' })));
16654
+ } }, hAsync("slot", { key: '8f1f0cdc5a22c0de9e0e3346ba1b7dcc8c3bf295' })));
16099
16655
  }
16100
16656
  static get style() { return IcSectionContainerStyle0; }
16101
16657
  static get cmpMeta() { return {
@@ -16121,19 +16677,31 @@ var Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w
16121
16677
  </svg>
16122
16678
  `;
16123
16679
 
16124
- const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-label);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}:host(.ic-select-disabled){--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}:host(.ic-select-full-width){width:100%}ic-input-component-container.menu-open{--border-color:var(--ic-select-field-border-pressed)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs)}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}select option,.select-option-selected{color:var(--ic-select-list-option-text)}select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}.select-input:focus{outline:none}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.select-input.with-clear-button{padding-right:0}.value-text{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}.value-text.with-clear-button{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-select-disabled) .expand-icon,:host(.ic-select-disabled) .expand-icon>svg>path{color:var(--ic-select-disabled-expand-icon-color)}:host(.ic-select-searchable) .expand-icon{padding-left:0;height:2.25rem}:host(.ic-select-searchable) .expand-icon>svg{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-select-expand-icon-color)}.expand-icon-open,:host(.ic-select-searchable) .expand-icon-open{transform:rotateX(180deg)}.placeholder{color:var(--ic-select-content-placeholder-text)}:host(.ic-select-disabled.ic-select-searchable) .select-input::-moz-placeholder{color:var(--ic-select-content-text-disabled)}:host(.ic-select-disabled) .value-text,:host(.ic-select-disabled) .select-input,:host(.ic-select-disabled) .placeholder,:host(.ic-select-disabled.ic-select-searchable) .select-input::placeholder{color:var(--ic-select-content-text-disabled)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;align-items:center}.divider{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.ic-select-small) .divider{height:var(--ic-space-md)}:host(.ic-select-large) .divider{height:var(--ic-space-xl)}.clear-button{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button.searchable{position:static}.searchable-select-results-status,.multi-select-selected-count{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}::slotted([slot=\"icon\"]){fill:var(--ic-select-content-placeholder-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-select-content-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}@media (prefers-reduced-motion: reduce){.clear-button,ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{transition:none}}";
16680
+ const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-label);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}:host(.ic-select-disabled){--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}:host(.ic-select-full-width){width:100%}ic-input-component-container.menu-open{--border-color:var(--ic-select-field-border-pressed)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs)}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}select option,.select-option-selected{color:var(--ic-select-list-option-text)}select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}.select-input:focus{outline:none}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.select-input.with-clear-button{padding-right:0}.value-text{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}.value-text.with-clear-button{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-select-disabled) .expand-icon,:host(.ic-select-disabled) .expand-icon>svg>path{color:var(--ic-select-disabled-expand-icon-color)}:host(.ic-select-searchable) .expand-icon{padding-left:0;height:2.25rem}:host(.ic-select-searchable) .expand-icon>svg{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-select-expand-icon-color)}.expand-icon-open,:host(.ic-select-searchable) .expand-icon-open{transform:rotateX(180deg)}.placeholder{color:var(--ic-select-content-placeholder-text)}:host(.ic-select-disabled.ic-select-searchable) .select-input::-moz-placeholder{color:var(--ic-select-content-text-disabled)}:host(.ic-select-disabled) .value-text,:host(.ic-select-disabled) .select-input,:host(.ic-select-disabled) .placeholder,:host(.ic-select-disabled.ic-select-searchable) .select-input::placeholder{color:var(--ic-select-content-text-disabled)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;align-items:center}.divider{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.ic-select-small) .divider{height:var(--ic-space-md)}:host(.ic-select-large) .divider{height:var(--ic-space-xl)}.clear-button{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button.searchable{position:static}.aria-live-hidden-text{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}::slotted([slot=\"icon\"]){fill:var(--ic-select-content-placeholder-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-select-content-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}@media (prefers-reduced-motion: reduce){.clear-button,ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{transition:none}}";
16125
16681
  var IcSelectStyle0 = icSelectCss;
16126
16682
 
16127
- let inputIds$2 = 0;
16128
- const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
16129
- /**
16130
- * @slot helper-text - Content is set as the helper text for the select.
16131
- * @slot icon - Content will be placed to the left of the select text input.
16132
- */
16133
- class Select {
16134
- constructor(hostRef) {
16135
- registerInstance(this, hostRef);
16136
- this.icBlur = createEvent(this, "icBlur", 7);
16683
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
16684
+ var t = {};
16685
+ for (var p in s)
16686
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16687
+ t[p] = s[p];
16688
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16689
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
16690
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
16691
+ t[p[i]] = s[p[i]];
16692
+ }
16693
+ return t;
16694
+ };
16695
+ let inputIds$2 = 0;
16696
+ const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
16697
+ /**
16698
+ * @slot helper-text - Content is set as the helper text for the select.
16699
+ * @slot icon - Content will be placed to the left of the select text input.
16700
+ */
16701
+ class Select {
16702
+ constructor(hostRef) {
16703
+ registerInstance(this, hostRef);
16704
+ this.icBlur = createEvent(this, "icBlur", 7);
16137
16705
  this.icChange = createEvent(this, "icChange", 7);
16138
16706
  this.icClear = createEvent(this, "icClear", 7);
16139
16707
  this.icClose = createEvent(this, "icClose", 7);
@@ -16143,22 +16711,18 @@ class Select {
16143
16711
  this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
16144
16712
  this.icOptionDeselect = createEvent(this, "icOptionDeselect", 7);
16145
16713
  this.icRetryLoad = createEvent(this, "icRetryLoad", 7);
16146
- this.blurredBecauseButtonPressed = false;
16147
- this.hasSetDefaultValue = false;
16148
- this.hasTimedOut = false;
16149
- this.inheritedAttributes = {};
16150
- this.initialOptionsEmpty = false;
16151
16714
  this.inputId = `ic-select-input-${inputIds$2++}`;
16152
16715
  this.menuId = `${this.inputId}-menu`;
16153
- this.retryButtonClick = false;
16154
- this.searchableMenuItemSelected = false;
16155
- this.ungroupedOptions = [];
16716
+ this.inheritedAttributes = {};
16156
16717
  this.hostMutationObserver = null;
16157
- this.clearButtonFocused = false;
16158
- this.noOptions = null;
16159
- this.open = false;
16718
+ this.timeoutTimer = null;
16719
+ this.hasTimedOut = false;
16720
+ this.initialRender = true;
16160
16721
  this.pressedCharacters = "";
16161
- this.searchableSelectInputValue = null;
16722
+ this.hasError = false;
16723
+ this.searchableSelectInputValue = "";
16724
+ this.selectButtonAriaLiveText = "";
16725
+ this.selectInputAriaLiveText = "";
16162
16726
  /**
16163
16727
  * If `true`, the disabled state will be set.
16164
16728
  */
@@ -16255,6 +16819,10 @@ class Select {
16255
16819
  * The text to display as the validation message.
16256
16820
  */
16257
16821
  this.validationText = "";
16822
+ /**
16823
+ * If `true` and on a mobile or tablet device, the native select element will be used instead of the custom select component for better usability.
16824
+ */
16825
+ this.useNativeSelectOnMobile = true;
16258
16826
  /**
16259
16827
  * If `true`, the loading state will be triggered when fetching options asynchronously.
16260
16828
  */
@@ -16263,8 +16831,7 @@ class Select {
16263
16831
  * The possible selection options.
16264
16832
  */
16265
16833
  this.options = [];
16266
- this.filteredOptions = this.options;
16267
- this.uniqueOptions = this.options;
16834
+ this.flatOptions = [];
16268
16835
  /**
16269
16836
  * The amount of time, in milliseconds, to wait to trigger the `icInput` event after each keystroke.
16270
16837
  */
@@ -16277,142 +16844,125 @@ class Select {
16277
16844
  */
16278
16845
  this.value = null;
16279
16846
  this.initialValue = this.value;
16280
- this.inputValueToFilter = this.value;
16281
- // triggered when attributes of host element change
16282
- this.hostMutationCallback = (mutationList) => {
16283
- mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
16284
- if (attributeName) {
16285
- const attribute = this.el.getAttribute(attributeName);
16286
- if (attribute && MUTABLE_ATTRIBUTES$1.includes(attributeName)) {
16287
- this.inheritedAttributes[attributeName] = attribute;
16288
- }
16289
- }
16290
- else if (type === "childList") {
16291
- checkSlotInChildMutations(addedNodes, removedNodes, "icon");
16292
- }
16293
- });
16294
- };
16295
- this.handleRetry = (ev) => {
16296
- var _a;
16297
- if (ev.detail.keyPressed)
16298
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
16299
- this.blurredBecauseButtonPressed = true;
16300
- this.retryButtonClick = true;
16301
- this.hasSetDefaultValue = true;
16302
- this.icRetryLoad.emit({
16303
- value: this.searchable
16304
- ? this.searchableSelectInputValue
16305
- : this.hiddenInputValue,
16306
- });
16307
- };
16308
- this.emitIcChange = (value) => {
16309
- // If "Select all" button clicked, replace value with new value (array of all option values)
16310
- if (this.multiple && !Array.isArray(value) && value !== null) {
16311
- // Update selected options - adds / removes them, in order of option list
16312
- // Create new array if value prop is undefined
16313
- if (this.value) {
16314
- let valueArray = this.value.slice();
16315
- if (this.value.includes(value)) {
16316
- valueArray.splice(valueArray.indexOf(value), 1);
16317
- }
16318
- else {
16319
- valueArray.push(value);
16320
- valueArray = this.getValueSortedByOptions(valueArray);
16847
+ this.open = false;
16848
+ this.getValidatedValue = (value) => {
16849
+ const validValues = this.flatOptions.map((opt) => opt.value);
16850
+ if (validValues.length === 0)
16851
+ return value;
16852
+ if (this.multiple) {
16853
+ if (!value)
16854
+ return null;
16855
+ const arr = Array.isArray(value) ? value : [value]; // Ensure value is an array
16856
+ const filtered = validValues.filter((v) => arr.includes(v)); // Keep only valid values
16857
+ return filtered.length > 0 ? filtered : null;
16858
+ }
16859
+ else {
16860
+ return validValues.includes(value) ? value : null;
16861
+ }
16862
+ };
16863
+ this.getFilteredOptions = (searchString, searchMatchPosition, includeDescriptionsInSearch, includeGroupTitlesInSearch) => {
16864
+ const search = searchString.toLowerCase();
16865
+ const match = (text, method) => method === "anywhere" ? text.includes(search) : text.startsWith(search);
16866
+ return this.unflattenOptions(this.flatOptions.filter((option) => {
16867
+ var _a, _b, _c, _d;
16868
+ const label = option.label.toLowerCase();
16869
+ const group = (_b = (_a = option.group) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== null && _b !== void 0 ? _b : "";
16870
+ const description = (_d = (_c = option.description) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== null && _d !== void 0 ? _d : "";
16871
+ return (match(label, searchMatchPosition) ||
16872
+ (includeDescriptionsInSearch &&
16873
+ match(description, searchMatchPosition)) ||
16874
+ (includeGroupTitlesInSearch && match(group, searchMatchPosition)));
16875
+ }));
16876
+ };
16877
+ this.getOptions = () => {
16878
+ const options = this.searchable &&
16879
+ !this.disableAutoFiltering &&
16880
+ this.searchableSelectInputValue
16881
+ ? this.getFilteredOptions(this.searchableSelectInputValue, this.searchMatchPosition, this.includeDescriptionsInSearch, this.includeGroupTitlesInSearch)
16882
+ : this.unflattenOptions(this.flatOptions);
16883
+ if (this.hasTimedOut)
16884
+ return [{ label: this.loadingErrorLabel, value: "", timedOut: true }];
16885
+ if (this.loading)
16886
+ return [{ label: this.loadingLabel, value: "", loading: true }];
16887
+ if (options.length > 0)
16888
+ return options;
16889
+ return [{ label: this.emptyOptionListText, value: "" }];
16890
+ };
16891
+ this.getFlatOptions = (options) => options.flatMap((item) => ("children" in item && item.children
16892
+ ? [...item.children.map((child) => (Object.assign({ group: item.label }, child)))]
16893
+ : [item]));
16894
+ this.unflattenOptions = (flatOptions) => {
16895
+ const groupMap = new Map();
16896
+ const result = [];
16897
+ for (const option of flatOptions) {
16898
+ if (option.group) {
16899
+ let group = groupMap.get(option.group);
16900
+ if (!group) {
16901
+ group = { label: option.group, children: [] };
16902
+ groupMap.set(option.group, group);
16903
+ result.push(group);
16321
16904
  }
16322
- this.value = valueArray.length === 0 ? null : valueArray;
16905
+ const rest = __rest(option, ["group"]);
16906
+ group.children.push(rest);
16323
16907
  }
16324
16908
  else {
16325
- this.value = [value];
16909
+ result.push(option);
16326
16910
  }
16327
16911
  }
16328
- else {
16329
- this.value = value;
16912
+ return result;
16913
+ };
16914
+ this.getLabelFromValue = (value) => { var _a, _b; return (_b = (_a = this.flatOptions.find((option) => option.value === value)) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : ""; };
16915
+ // Construct the string that will be shown in the select input or button
16916
+ this.getLabelString = () => {
16917
+ if (Array.isArray(this.value)) {
16918
+ return this.value.map(this.getLabelFromValue).filter(Boolean).join(", ");
16330
16919
  }
16331
- this.icChange.emit({ value: this.multiple ? this.value : value });
16920
+ return (this.getLabelFromValue(this.value) ||
16921
+ (this.searchable ? "" : this.placeholder));
16332
16922
  };
16333
- this.emitIcInput = (value) => {
16334
- clearTimeout(this.debounceIcInput);
16335
- this.debounceIcInput = window.setTimeout(() => this.icInput.emit({ value }), this.currDebounce);
16923
+ this.handleClick = (event) => {
16924
+ var _a;
16925
+ if (event.detail !== 0) {
16926
+ (_a = this.menu) === null || _a === void 0 ? void 0 : _a.handleClickOpen();
16927
+ }
16336
16928
  };
16337
- this.setOptions = () => {
16338
- if (!this.hasTimedOut && this.options !== this.noOptions) {
16339
- this.loading = false;
16340
- clearTimeout(this.timeoutTimer);
16341
- if (this.options.length > 0) {
16342
- this.setOptionsValuesFromLabels();
16343
- this.uniqueOptions = this.deduplicateOptions(this.options);
16344
- }
16345
- else {
16346
- this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
16347
- this.uniqueOptions = this.noOptions;
16348
- }
16349
- this.filteredOptions = this.uniqueOptions;
16350
- if (this.isExternalFiltering()) {
16351
- // When searchable select
16352
- this.noOptions = null;
16353
- this.updateSearchableSelectResultAriaLive();
16354
- this.setDefaultValue();
16355
- }
16356
- else if (this.initialOptionsEmpty) {
16357
- this.setDefaultValue();
16358
- this.initialOptionsEmpty = false;
16359
- }
16929
+ this.handleExpandIconMouseDown = (event) => {
16930
+ var _a;
16931
+ if (!this.disabled) {
16932
+ event.preventDefault();
16933
+ (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
16934
+ this.handleClick(event);
16360
16935
  }
16361
- else if (!this.searchable) {
16362
- this.options = this.noOptions || [];
16936
+ };
16937
+ this.handleBlur = ({ relatedTarget }) => {
16938
+ var _a, _b;
16939
+ const target = relatedTarget;
16940
+ if (this.el.contains(target) ||
16941
+ ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.contains(target)) ||
16942
+ ((_b = this.menu) === null || _b === void 0 ? void 0 : _b.contains(target)) ||
16943
+ target === this.clearButton) {
16944
+ return;
16363
16945
  }
16946
+ this.open = false;
16947
+ this.handleFocusIndicatorDisplay();
16948
+ if (this.searchable) {
16949
+ this.searchableSelectInputValue = "";
16950
+ }
16951
+ this.icBlur.emit();
16364
16952
  };
16365
- /**
16366
- * Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
16367
- * @param options array of IcMenuOptions
16368
- * @returns a new options object, with all entries possessing a duplicate 'value' field removed
16369
- */
16370
- this.deduplicateOptions = (options) => {
16371
- const uniqueValues = [];
16372
- const dedupedOptions = [];
16373
- options.forEach((option) => {
16374
- if (option.children) {
16375
- //If an option has children, we will loop through them
16376
- const dedupedChildren = [];
16377
- option.children.forEach((child) => {
16378
- if (uniqueValues.includes(child.value)) {
16379
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
16380
- }
16381
- else {
16382
- uniqueValues.push(child.value);
16383
- dedupedChildren.push(child);
16384
- }
16385
- });
16386
- // construct a modified option, inserting the deduplicated children alongside the original information
16387
- dedupedOptions.push(Object.assign(Object.assign({}, option), { children: dedupedChildren }));
16388
- }
16389
- else {
16390
- // If an option does not have children, assess to see if it's value has been included already
16391
- if (uniqueValues.includes(option.value)) {
16392
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
16393
- }
16394
- else {
16395
- uniqueValues.push(option.value);
16396
- dedupedOptions.push(option);
16397
- }
16398
- }
16399
- });
16400
- return dedupedOptions;
16953
+ this.handleTimeoutBlur = (event) => {
16954
+ this.handleBlur(event.detail.ev);
16401
16955
  };
16402
- /**
16403
- * Loop through options array and for all options with no value, infer it from the label
16404
- */
16405
- this.setOptionsValuesFromLabels = () => {
16406
- if (this.options.length > 0) {
16407
- this.options.map((option) => {
16408
- if (!option.value) {
16409
- option.value = option.label;
16410
- }
16411
- });
16412
- }
16956
+ this.handleFocus = () => {
16957
+ this.icFocus.emit();
16413
16958
  };
16414
- this.setUngroupedOptions = (event) => {
16415
- this.ungroupedOptions = event.detail.options;
16959
+ this.handleClear = () => {
16960
+ this.clearTimer();
16961
+ this.loading = false;
16962
+ this.value = null;
16963
+ this.searchableSelectInputValue = "";
16964
+ this.icClear.emit();
16965
+ this.setFocus();
16416
16966
  };
16417
16967
  this.setTextColor = () => {
16418
16968
  if (this.nativeSelectElement) {
@@ -16422,94 +16972,13 @@ class Select {
16422
16972
  : "select-option-selected";
16423
16973
  }
16424
16974
  };
16425
- this.setMenuChange = (open) => {
16426
- if (this.open !== open) {
16427
- this.open = open;
16428
- }
16429
- };
16430
- this.getLabelFromValue = (value) => getLabelFromValue(value, this.uniqueOptions);
16431
- this.getMultipleOptionsString = (selectedValues) => selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.map((value) => this.getLabelFromValue(value)).filter((label) => !!label).join(", ");
16432
- this.getFilteredChildMenuOptions = (option) => (Object.assign(Object.assign({}, option), { children: option.children &&
16433
- getFilteredMenuOptions(option.children, this.searchable && !!this.includeDescriptionsInSearch, this.searchable
16434
- ? this.searchableSelectInputValue || ""
16435
- : this.pressedCharacters, this.searchable ? this.searchMatchPosition : "start") }));
16436
- // (For multi-select) get value array, i.e. selected option values, in order they appear in option list
16437
- this.getValueSortedByOptions = (value) => {
16438
- const valueArray = value;
16439
- const valuesFromAllOptions = this.ungroupedOptions.map((option) => option.value);
16440
- valueArray.sort((a, b) => valuesFromAllOptions.indexOf(a) - valuesFromAllOptions.indexOf(b));
16441
- return valueArray;
16442
- };
16443
16975
  this.handleNativeSelectChange = () => {
16444
16976
  if (this.nativeSelectElement) {
16445
16977
  this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
16446
- this.emitIcChange(this.nativeSelectElement.value);
16978
+ this.icChange.emit({ value: this.nativeSelectElement.value });
16447
16979
  }
16448
16980
  this.setTextColor();
16449
16981
  };
16450
- // Handle option select for when a custom input box and menu is rendered
16451
- // (rather than native <select> - rendered when viewed on a mobile / tablet screen)
16452
- this.handleCustomSelectChange = (event) => {
16453
- var _a, _b;
16454
- const { value, label, optionId } = event.detail;
16455
- if (label === this.emptyOptionListText) {
16456
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
16457
- return;
16458
- }
16459
- if (this.searchable) {
16460
- this.value = value || null;
16461
- this.searchableMenuItemSelected = true;
16462
- // After editing the input, if selecting the same option as before, set the input value to label again
16463
- if (this.value === this.currValue) {
16464
- this.searchableSelectInputValue =
16465
- this.getLabelFromValue(this.value) || null;
16466
- }
16467
- this.inputValueToFilter = null;
16468
- this.hiddenInputValue =
16469
- this.getValueFromLabel(this.searchableSelectInputValue) || null;
16470
- }
16471
- if (value) {
16472
- if (this.multiple && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(value))) {
16473
- this.icOptionDeselect.emit({ value });
16474
- }
16475
- else {
16476
- this.icOptionSelect.emit({ value });
16477
- }
16478
- }
16479
- this.ariaActiveDescendant = optionId;
16480
- this.emitIcChange(value || null);
16481
- };
16482
- this.handleSelectAllChange = ({ detail, }) => {
16483
- const allValues = this.ungroupedOptions
16484
- .filter((option) => !option.disabled)
16485
- .map((option) => option.value);
16486
- if (detail.select) {
16487
- // Only emit icOptionSelect for all values that are newly selected
16488
- const unselectedValues = this.value
16489
- ? allValues.filter((value) => this.value && !this.value.includes(value))
16490
- : allValues;
16491
- unselectedValues.forEach((value) => this.icOptionSelect.emit({ value }));
16492
- }
16493
- else {
16494
- // Only emit icOptionDeselect for values that were selected
16495
- this.value.forEach((value) => this.icOptionDeselect.emit({ value }));
16496
- }
16497
- this.emitIcChange(detail.select ? allValues : null);
16498
- };
16499
- this.handleMenuChange = (event) => {
16500
- this.open = event.detail.open;
16501
- this.pressedCharacters = "";
16502
- if (this.searchable)
16503
- this.handleFocusIndicatorDisplay();
16504
- };
16505
- // clears the debounce delay when navigating the menu with arrow keys etc
16506
- // to prevent delay in change event, which should only occur when typing in input
16507
- this.handleMenuKeyPress = (ev) => {
16508
- ev.cancelBubble = true;
16509
- if (!this.multiple) {
16510
- this.handleCharacterKeyDown(ev.detail.key);
16511
- }
16512
- };
16513
16982
  this.handleFocusIndicatorDisplay = () => {
16514
16983
  var _a;
16515
16984
  const focusIndicator = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".focus-indicator");
@@ -16522,58 +16991,27 @@ class Select {
16522
16991
  }
16523
16992
  }
16524
16993
  };
16525
- this.handleMouseDown = (event) => {
16526
- if (!this.open) {
16527
- event.preventDefault();
16528
- }
16529
- };
16530
- this.isExternalFiltering = () => this.searchable && !!this.disableAutoFiltering;
16531
- this.handleClick = (event) => {
16994
+ this.handleKeyDown = (event) => {
16532
16995
  var _a, _b;
16533
- if (!this.open && this.menu) {
16534
- if (this.isExternalFiltering()) {
16535
- this.menu.options = this.filteredOptions;
16996
+ if (!(event.key === " " && this.pressedCharacters.length > 0)) {
16997
+ if (this.open) {
16998
+ (_a = this.menu) === null || _a === void 0 ? void 0 : _a.handleMenuKeyDown(event);
16536
16999
  }
16537
- else if (!this.hasTimedOut &&
16538
- !this.loading &&
16539
- !((_a = this.noOptions) === null || _a === void 0 ? void 0 : _a.length) &&
16540
- (!this.searchable || this.searchableMenuItemSelected)) {
16541
- this.noOptions = null;
16542
- this.menu.options = this.uniqueOptions;
17000
+ else {
17001
+ (_b = this.menu) === null || _b === void 0 ? void 0 : _b.handleKeyboardOpen(event);
16543
17002
  }
16544
17003
  }
16545
- if (event.detail !== 0) {
16546
- (_b = this.menu) === null || _b === void 0 ? void 0 : _b.handleClickOpen();
16547
- }
16548
- };
16549
- this.handleExpandIconMouseDown = (event) => {
16550
- var _a;
16551
- if (!this.disabled) {
16552
- event.preventDefault();
16553
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
16554
- this.handleClick(event);
16555
- }
16556
- };
16557
- this.handleClear = (event) => {
16558
- var _a, _b;
16559
- event.stopPropagation();
16560
- this.hasTimedOut = false;
16561
- clearTimeout(this.timeoutTimer);
16562
- this.clearInput();
16563
- this.emitIcChange(null);
16564
- this.icClear.emit();
16565
- if (this.searchable) {
16566
- this.hiddenInputValue = null;
16567
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
16568
- }
16569
- else {
16570
- (_b = this.customSelectElement) === null || _b === void 0 ? void 0 : _b.focus();
17004
+ if (!this.multiple &&
17005
+ !this.searchable &&
17006
+ !this.selectOnEnter &&
17007
+ /^[a-zA-Z0-9 ]$/.test(event.key)) {
17008
+ this.handleCharacterKeyDown(event.key);
16571
17009
  }
16572
17010
  };
16573
17011
  this.handleCharacterKeyDown = (key) => {
16574
17012
  // Only close menu when space is pressed if not being used alongside character keys to quickly select options
16575
17013
  if (this.open && key === " " && this.pressedCharacters.length === 0) {
16576
- this.setMenuChange(false);
17014
+ this.open = false;
16577
17015
  }
16578
17016
  if (key.length !== 1 || this.searchable) {
16579
17017
  this.pressedCharacters = "";
@@ -16583,385 +17021,309 @@ class Select {
16583
17021
  this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
16584
17022
  if (key !== " " || !!this.pressedCharacters) {
16585
17023
  this.pressedCharacters += key;
16586
- this.handleFilter();
16587
- if (!this.noOptions) {
16588
- this.emitIcChange(this.filteredOptions[0].value);
17024
+ const filteredOptions = this.getFilteredOptions(this.pressedCharacters, "start", false, false);
17025
+ if (filteredOptions.length > 0) {
17026
+ const firstOption = filteredOptions[0];
17027
+ if ("children" in firstOption) {
17028
+ this.value = firstOption.children[0].value;
17029
+ }
17030
+ else {
17031
+ this.value = firstOption.value;
17032
+ }
16589
17033
  }
16590
17034
  }
16591
17035
  };
16592
17036
  this.handleNativeSelectKeyDown = (event) => {
16593
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
16594
- event.cancelBubble = true;
16595
- }
16596
- this.handleCharacterKeyDown(event.key);
17037
+ this.handleKeyDown(event);
16597
17038
  };
16598
- this.handleKeyDown = (event) => {
16599
- var _a;
16600
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
16601
- event.cancelBubble = true;
17039
+ this.handleSelectChange = (event) => {
17040
+ const { value } = event.detail;
17041
+ if (!value || this.getLabelFromValue(value) === this.emptyOptionListText) {
17042
+ this.value = null;
17043
+ return;
16602
17044
  }
16603
- const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
16604
- if (this.menu && !this.open) {
16605
- if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
16606
- this.menu.options = this.filteredOptions;
17045
+ if (this.multiple) {
17046
+ let valueArray = Array.isArray(this.value) ? [...this.value] : [];
17047
+ const index = valueArray.indexOf(value);
17048
+ if (index > -1) {
17049
+ valueArray.splice(index, 1);
17050
+ this.icOptionDeselect.emit({ value });
16607
17051
  }
16608
- else if (!this.hasTimedOut) {
16609
- this.noOptions = null;
16610
- this.menu.options = this.uniqueOptions;
17052
+ else {
17053
+ this.icOptionSelect.emit({ value });
17054
+ valueArray.push(value);
17055
+ valueArray = this.getValidatedValue(valueArray);
16611
17056
  }
16612
- }
16613
- if (this.open && event.key === "Enter") {
16614
- this.setMenuChange(false);
17057
+ this.value = valueArray.length ? valueArray : null;
16615
17058
  }
16616
17059
  else {
16617
- if (!isArrowKey || this.noOptions === null) {
16618
- if (event.key !== " " || this.pressedCharacters.length <= 0) {
16619
- // Keyboard events get passed onto ic-menu except in the case of ctrl-a on a searchable select
16620
- const isCtrlA = event.key === "a" &&
16621
- ((isMacDevice() && event.metaKey) ||
16622
- (!isMacDevice() && event.ctrlKey));
16623
- if (!(this.searchable && isCtrlA)) {
16624
- (_a = this.menu) === null || _a === void 0 ? void 0 : _a.handleKeyboardOpen(event);
16625
- }
16626
- }
16627
- if (!this.multiple) {
16628
- this.handleCharacterKeyDown(event.key);
16629
- }
16630
- }
16631
- }
16632
- };
16633
- this.handleClearButtonFocus = () => {
16634
- this.clearButtonFocused = true;
16635
- };
16636
- this.handleClearButtonBlur = (ev) => {
16637
- var _a;
16638
- const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
16639
- if ((!this.searchableSelectElement ||
16640
- ev.relatedTarget !== this.searchableSelectElement) &&
16641
- (!retryButton || ev.relatedTarget !== retryButton)) {
16642
- this.setMenuChange(false);
16643
- this.handleFocusIndicatorDisplay();
17060
+ this.icOptionSelect.emit({ value });
17061
+ this.value = value;
17062
+ if (this.searchable)
17063
+ this.searchableSelectInputValue = "";
16644
17064
  }
16645
- this.clearButtonFocused = false;
16646
17065
  };
16647
- this.handleFilter = () => {
16648
- var _a;
16649
- const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
16650
- const isGrouped = options.some((option) => !!option.children);
16651
- let newFilteredOptions = [];
16652
- let menuOptionsFiltered;
16653
- if (this.searchable) {
16654
- menuOptionsFiltered = getFilteredMenuOptions(options, !!this.includeDescriptionsInSearch, this.inputValueToFilter || "", this.searchMatchPosition);
16655
- this.searchableMenuItemSelected = false;
17066
+ this.handleSelectAllChange = ({ detail, }) => {
17067
+ const allSelectableValues = this.flatOptions
17068
+ .filter((option) => !option.disabled)
17069
+ .map((option) => option.value);
17070
+ if (detail.select) {
17071
+ allSelectableValues
17072
+ .filter((value) => { var _a; return !((_a = this.value) !== null && _a !== void 0 ? _a : []).includes(value); })
17073
+ .forEach((value) => {
17074
+ this.icOptionSelect.emit({ value });
17075
+ });
17076
+ this.value = allSelectableValues;
16656
17077
  }
16657
17078
  else {
16658
- menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
16659
- }
16660
- if (!isGrouped &&
16661
- ((_a = menuOptionsFiltered[0]) === null || _a === void 0 ? void 0 : _a.label) !== this.emptyOptionListText) {
16662
- newFilteredOptions = menuOptionsFiltered;
16663
- }
16664
- else if (isGrouped) {
16665
- newFilteredOptions = options.map((option) => this.includeGroupTitlesInSearch &&
16666
- menuOptionsFiltered.indexOf(option) !== -1
16667
- ? option
16668
- : this.getFilteredChildMenuOptions(option));
16669
- }
16670
- if (newFilteredOptions.length > 0 &&
16671
- (!isGrouped ||
16672
- newFilteredOptions.some(({ children }) => children && children.length > 0))) {
16673
- this.noOptions = null;
16674
- this.filteredOptions = newFilteredOptions;
17079
+ this.value.forEach((value) => this.icOptionDeselect.emit({ value }));
17080
+ this.value = null;
16675
17081
  }
16676
- else {
16677
- this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
16678
- this.filteredOptions = this.noOptions;
17082
+ };
17083
+ this.handleFormReset = () => {
17084
+ this.value = this.initialValue;
17085
+ this.searchableSelectInputValue = "";
17086
+ if (this.searchable) {
17087
+ this.hiddenInputValue = this.initialValue;
16679
17088
  }
16680
17089
  };
16681
- /**
16682
- * Put the select component into loading state.
16683
- * Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
16684
- */
16685
- this.triggerLoading = () => {
17090
+ this.handleRetry = () => {
17091
+ this.clearTimer();
16686
17092
  this.hasTimedOut = false;
16687
- this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
16688
- if (this.filteredOptions !== this.noOptions && this.searchable) {
16689
- this.filteredOptions = this.noOptions;
16690
- }
16691
- else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
16692
- this.uniqueOptions = this.noOptions;
16693
- }
16694
- if (this.timeout) {
16695
- this.timeoutTimer = window.setTimeout(() => {
16696
- this.loading = false;
16697
- this.hasTimedOut = true;
16698
- this.noOptions = [
16699
- { label: this.loadingErrorLabel, value: "", timedOut: true },
16700
- ];
16701
- this.filteredOptions = this.noOptions;
16702
- if (!this.searchable)
16703
- this.uniqueOptions = this.noOptions;
16704
- }, this.timeout);
16705
- }
17093
+ this.hasError = false;
17094
+ this.loading = true;
17095
+ this.icRetryLoad.emit({
17096
+ value: this.searchable
17097
+ ? this.searchableSelectInputValue
17098
+ : this.hiddenInputValue,
17099
+ });
17100
+ this.setFocus();
16706
17101
  };
16707
- this.getValueFromLabel = (label) => { var _a; return label && ((_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value); };
16708
17102
  this.handleSearchableSelectInput = (event) => {
16709
- this.searchableSelectInputValue = event.target.value;
16710
- this.emitIcInput(this.searchableSelectInputValue);
16711
- // De-select previous selection when input is edited
16712
- // Only emit icChange once when editing input
16713
- if (this.value != null) {
16714
- this.emitIcChange(null);
16715
- }
16716
- this.hiddenInputValue = null;
16717
- this.inputValueToFilter = this.searchableSelectInputValue;
16718
- this.setMenuChange(true);
16719
- if (!this.disableAutoFiltering) {
16720
- this.handleFilter();
16721
- clearTimeout(this.debounceAria);
16722
- window.setTimeout(() => {
16723
- this.updateSearchableSelectResultAriaLive();
16724
- }, 800);
16725
- }
16726
- };
16727
- this.updateSearchableSelectResultAriaLive = () => {
16728
17103
  var _a;
16729
- const searchableSelectResultsStatusEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".searchable-select-results-status");
16730
- if (searchableSelectResultsStatusEl) {
16731
- searchableSelectResultsStatusEl.innerText =
16732
- this.noOptions !== null ? this.emptyOptionListText : "";
16733
- }
16734
- };
16735
- this.updateMultiSelectedCountAriaLive = () => {
16736
- var _a, _b;
16737
- const multiSelectSelectedCountEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".multi-select-selected-count");
16738
- const selectedCount = `${(_b = this.currValue) === null || _b === void 0 ? void 0 : _b.length} of ${getOptionsWithoutGroupTitlesCount(this.options)} selected`;
16739
- if (multiSelectSelectedCountEl &&
16740
- multiSelectSelectedCountEl.innerText !== selectedCount) {
16741
- multiSelectSelectedCountEl.innerText = selectedCount;
16742
- }
16743
- };
16744
- this.getDefaultValue = (value) => this.getLabelFromValue(value) || null;
16745
- this.setDefaultValue = () => {
16746
- if (!this.hasSetDefaultValue && this.currValue) {
16747
- this.searchableSelectInputValue = this.searchable
16748
- ? this.getDefaultValue(this.currValue)
16749
- : null;
16750
- this.initialValue = this.currValue;
16751
- this.hasSetDefaultValue = true;
17104
+ this.updateSearchableSelectResultAriaLive();
17105
+ if (!this.multiple) {
17106
+ this.value = null;
16752
17107
  }
17108
+ this.searchableSelectInputValue =
17109
+ (_a = event.target.value) !== null && _a !== void 0 ? _a : "";
17110
+ this.open = true;
17111
+ clearTimeout(this.debounceIcInput);
17112
+ this.debounceIcInput = window.setTimeout(() => this.icInput.emit({ value: this.searchableSelectInputValue }), this.currDebounce);
16753
17113
  };
16754
- this.onFocus = () => {
16755
- this.icFocus.emit();
16756
- };
16757
- this.onBlur = ({ relatedTarget }) => {
16758
- var _a;
16759
- const target = relatedTarget;
16760
- if (target !== null &&
16761
- ((target.tagName === "UL" && target.className.includes("menu")) ||
16762
- (target.tagName === "LI" && target.className.includes("option")))) {
16763
- return;
16764
- }
16765
- const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
16766
- if (this.searchable &&
16767
- !!this.menu &&
16768
- target !== this.menu &&
16769
- !Array.from(this.menu.querySelectorAll("[role='option']")).includes(target) &&
16770
- (!this.clearButton || target !== this.clearButton) &&
16771
- (!retryButton || target !== retryButton)) {
16772
- if (!this.retryButtonClick) {
16773
- this.setMenuChange(false);
16774
- // Clear input field on blur when searchable if no option is selected
16775
- if (!this.value) {
16776
- this.clearInput();
17114
+ this.hostMutationCallback = (mutationList) => {
17115
+ mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
17116
+ if (attributeName) {
17117
+ const attribute = this.el.getAttribute(attributeName);
17118
+ if (attribute && MUTABLE_ATTRIBUTES$1.includes(attributeName)) {
17119
+ this.inheritedAttributes[attributeName] = attribute;
16777
17120
  }
16778
17121
  }
16779
- this.handleFocusIndicatorDisplay();
16780
- }
16781
- this.retryButtonClick = false;
16782
- this.icBlur.emit();
17122
+ else if (type === "childList") {
17123
+ checkSlotInChildMutations(addedNodes, removedNodes, "icon");
17124
+ }
17125
+ });
16783
17126
  };
16784
- this.onTimeoutBlur = (ev) => {
16785
- if (ev.detail.ev.relatedTarget !==
16786
- this.searchableSelectElement &&
16787
- !this.blurredBecauseButtonPressed) {
16788
- this.setMenuChange(false);
16789
- this.handleFocusIndicatorDisplay();
16790
- this.icBlur.emit();
16791
- }
16792
- this.blurredBecauseButtonPressed = false;
17127
+ this.updateSelectButtonAriaLive = () => {
17128
+ const value_label = this.getLabelFromValue(this.value);
17129
+ this.selectButtonAriaLiveText = this.multiple
17130
+ ? `${this.value ? this.value.length : 0} of ${this.flatOptions.length} selected`
17131
+ : this.value
17132
+ ? value_label !== null && value_label !== void 0 ? value_label : `${value_label} selected`
17133
+ : "";
16793
17134
  };
16794
- this.handleFormReset = () => {
16795
- this.value = this.initialValue;
16796
- if (this.searchable) {
16797
- this.searchableSelectInputValue = this.getDefaultValue(this.value);
16798
- this.hiddenInputValue = this.value;
16799
- }
17135
+ this.updateSearchableSelectResultAriaLive = () => {
17136
+ var _a, _b;
17137
+ this.selectInputAriaLiveText =
17138
+ ((_b = (_a = this.getOptions()) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.label) == this.emptyOptionListText
17139
+ ? this.emptyOptionListText
17140
+ : "";
16800
17141
  };
16801
- this.clearInput = () => {
16802
- var _a;
16803
- this.noOptions = null;
16804
- if (this.searchable) {
16805
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.setAttribute("value", "");
16806
- this.searchableSelectInputValue = null;
16807
- this.filteredOptions = this.uniqueOptions;
16808
- }
17142
+ this.updateAriaActiveDescendant = (event) => {
17143
+ this.ariaActiveDescendant = event.detail.optionId;
17144
+ };
17145
+ this.handleMenuChange = (event) => {
17146
+ this.open = event.detail.open;
17147
+ this.pressedCharacters = "";
17148
+ };
17149
+ this.getDeduplicatedOptions = (flatOptions) => {
17150
+ const seen = new Set();
17151
+ return flatOptions.filter((option) => {
17152
+ if (option.value && seen.has(option.value)) {
17153
+ console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
17154
+ return false;
17155
+ }
17156
+ if (option.value)
17157
+ seen.add(option.value);
17158
+ return true;
17159
+ });
16809
17160
  };
16810
- this.renderNativeOption = (option) => (hAsync("option", { value: option.value, disabled: option.disabled, selected: option.value === this.currValue }, option.label));
17161
+ this.renderNativeOption = (option) => (hAsync("option", { value: option.value, disabled: option.disabled, selected: option.value === this.value }, option.label));
16811
17162
  }
16812
17163
  watchDisabledHandler() {
16813
17164
  removeDisabledFalse(this.disabled, this.el);
16814
17165
  }
16815
17166
  loadingHandler(newValue) {
16816
- newValue ? this.triggerLoading() : this.setOptions();
17167
+ this.hasTimedOut = false;
17168
+ if (newValue) {
17169
+ this.hasError = false;
17170
+ if (this.timeout) {
17171
+ if (this.timeoutTimer) {
17172
+ this.clearTimer();
17173
+ }
17174
+ this.timeoutTimer = window.setTimeout(() => {
17175
+ this.loading = false;
17176
+ this.hasTimedOut = true;
17177
+ }, this.timeout);
17178
+ }
17179
+ }
17180
+ else {
17181
+ if (this.timeoutTimer) {
17182
+ this.clearTimer();
17183
+ }
17184
+ }
16817
17185
  }
16818
- watchOptionsHandler() {
16819
- this.setOptions();
17186
+ clearTimer() {
17187
+ if (this.timeoutTimer) {
17188
+ clearTimeout(this.timeoutTimer);
17189
+ this.timeoutTimer = null;
17190
+ }
17191
+ }
17192
+ optionsChangedHandler() {
17193
+ const flat = this.getFlatOptions(this.options)
17194
+ .filter((option) => option.value != null || option.label != null) // filter out options missing both value and label
17195
+ .map((option) => {
17196
+ var _a, _b;
17197
+ return (Object.assign(Object.assign({}, option), { value: (_a = option.value) !== null && _a !== void 0 ? _a : option.label, label: (_b = option.label) !== null && _b !== void 0 ? _b : option.value }));
17198
+ });
17199
+ this.flatOptions = this.getDeduplicatedOptions(flat);
17200
+ if (!this.initialRender)
17201
+ this.loading = false;
17202
+ this.clearTimer();
17203
+ this.updateSelectButtonAriaLive();
16820
17204
  }
16821
17205
  debounceChangedHandler(newValue) {
16822
17206
  if (this.currDebounce !== newValue) {
16823
17207
  this.currDebounce = newValue;
16824
17208
  }
16825
17209
  }
16826
- valueChangedHandler() {
16827
- if (this.value !== this.currValue) {
16828
- if (this.value && this.multiple) {
16829
- this.currValue = this.getMultipleOptionsString(this.value)
16830
- ? this.getValueSortedByOptions(this.value)
16831
- : null;
16832
- this.updateMultiSelectedCountAriaLive();
16833
- }
16834
- else {
16835
- this.currValue = this.getLabelFromValue(this.value)
16836
- ? this.value
16837
- : null;
16838
- }
16839
- }
16840
- if (this.searchable && this.value) {
16841
- // Only set if value not null - prevents whole input value being cleared when edited
16842
- this.searchableSelectInputValue =
16843
- this.getLabelFromValue(String(this.currValue)) || null;
17210
+ valueChangedHandler(newValue) {
17211
+ const validated = this.getValidatedValue(newValue);
17212
+ const isEqual = Array.isArray(validated) && Array.isArray(this.value)
17213
+ ? validated.length === this.value.length &&
17214
+ validated.every((v, i) => v === this.value[i])
17215
+ : validated === this.value;
17216
+ if (!isEqual) {
17217
+ this.value = validated;
17218
+ return;
16844
17219
  }
17220
+ this.updateSelectButtonAriaLive();
17221
+ this.icChange.emit({ value: this.value });
16845
17222
  }
16846
17223
  openChangedHandler() {
16847
17224
  this.open ? this.icOpen.emit() : this.icClose.emit();
17225
+ if (!this.open) {
17226
+ this.ariaActiveDescendant = undefined;
17227
+ }
17228
+ this.handleFocusIndicatorDisplay();
17229
+ }
17230
+ /**
17231
+ * Sets focus on the select component.
17232
+ */
17233
+ async setFocus() {
17234
+ if (this.nativeSelectElement) {
17235
+ this.nativeSelectElement.focus();
17236
+ }
17237
+ else if (this.selectElement) {
17238
+ this.selectElement.focus();
17239
+ }
17240
+ else if (this.searchableSelectElement) {
17241
+ this.searchableSelectElement.focus();
17242
+ }
17243
+ }
17244
+ componentDidRender() {
17245
+ if (this.nativeSelectElement && !this.disabled) {
17246
+ this.setTextColor();
17247
+ }
17248
+ this.initialRender = false;
16848
17249
  }
16849
17250
  disconnectedCallback() {
16850
17251
  var _a;
16851
17252
  removeFormResetListener(this.el, this.handleFormReset);
16852
17253
  (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
16853
- }
16854
- componentWillLoad() {
16855
- const valueInOptions = this.multiple
16856
- ? this.getMultipleOptionsString(this.value)
16857
- : this.getLabelFromValue(this.value);
16858
- this.currValue = valueInOptions ? this.value : null;
16859
- this.inheritedAttributes = inheritAttributes(this.el, MUTABLE_ATTRIBUTES$1);
16860
- removeDisabledFalse(this.disabled, this.el);
16861
- this.setOptionsValuesFromLabels();
16862
- addFormResetListener(this.el, this.handleFormReset);
16863
- if (!this.options.length) {
16864
- this.initialOptionsEmpty = true;
16865
- this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
16866
- this.uniqueOptions = this.noOptions;
16867
- this.filteredOptions = this.noOptions;
16868
- }
16869
- else {
16870
- this.setDefaultValue();
16871
- this.uniqueOptions = this.deduplicateOptions(this.options);
16872
- }
17254
+ this.clearTimer();
16873
17255
  }
16874
17256
  componentDidLoad() {
16875
- onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
16876
- if (this.loading) {
16877
- this.triggerLoading();
16878
- }
16879
- if (this.searchable) {
16880
- this.hiddenInputValue = this.currValue;
16881
- }
16882
17257
  this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
16883
17258
  this.hostMutationObserver.observe(this.el, {
16884
17259
  attributes: true,
16885
17260
  childList: true,
16886
17261
  });
16887
17262
  }
16888
- componentDidRender() {
16889
- if (this.nativeSelectElement && !this.disabled) {
16890
- this.setTextColor();
16891
- }
16892
- }
16893
- /**
16894
- * Sets focus on the input box.
16895
- */
16896
- async setFocus() {
16897
- if (this.nativeSelectElement) {
16898
- this.nativeSelectElement.focus();
16899
- }
16900
- else if (this.customSelectElement) {
16901
- this.customSelectElement.focus();
16902
- }
16903
- else if (this.searchableSelectElement) {
16904
- this.searchableSelectElement.focus();
16905
- }
17263
+ componentWillLoad() {
17264
+ this.optionsChangedHandler();
17265
+ this.value = this.getValidatedValue(this.value);
17266
+ this.initialValue = this.value;
17267
+ if (this.loading)
17268
+ this.loadingHandler(true);
17269
+ addFormResetListener(this.el, this.handleFormReset);
16906
17270
  }
16907
17271
  render() {
16908
- var _a, _b, _c, _d;
16909
- const { size, disabled, fullWidth, helperText, hideLabel, label, menuId, multiple, name, options, placeholder, readonly, required, searchable, showClearButton, validationAriaLive, validationStatus, validationText, currValue, theme, hiddenInputValue, open, inputId, searchableSelectInputValue, loading, value, emptyOptionListText, uniqueOptions, selectOnEnter, form, inheritedAttributes, ariaActiveDescendant, hasTimedOut, filteredOptions, clearButtonFocused, } = this;
16910
- // HTML inputs only accept 'string' for their value
16911
- // Does not cause errors when it is a multi-select - sets value correctly, to a comma-separated string
16912
- renderHiddenInput(this.el, searchable ? hiddenInputValue : currValue, name || inputId, disabled);
16913
- const invalid = `${validationStatus === IcInformationStatus.Error}`;
16914
- const showValidation = hasValidationStatus(validationStatus, !!disabled);
16915
- const describedBy = getInputDescribedByText(this.el, inputId, helperText !== "", showValidation).trim();
16916
- const valueLabelString = multiple
16917
- ? this.getMultipleOptionsString(currValue)
16918
- : this.getLabelFromValue(currValue);
17272
+ const { disabled, searchable, size, fullWidth, theme, readonly, hideLabel, inputId, label, helperText, required, value, options, menuId, multiple, validationStatus, open, showClearButton, selectOnEnter, loading, searchableSelectInputValue, validationText, validationAriaLive, form, ariaActiveDescendant, placeholder, name, inheritedAttributes, selectInputAriaLiveText, selectButtonAriaLiveText, } = this;
17273
+ const hasValue = !!value;
17274
+ const hasInput = !!searchableSelectInputValue;
16919
17275
  const isClearable = !disabled &&
16920
- (searchable
16921
- ? !!searchableSelectInputValue
16922
- : !!currValue && !loading && showClearButton);
16923
- return (hAsync(Host, { key: '9c3955b4ba942dd962018252d50aad7bbb1f1744', class: {
17276
+ ((searchable && (hasInput || hasValue)) ||
17277
+ (!searchable && hasValue && !loading && showClearButton));
17278
+ const showValidation = !!validationStatus && !disabled;
17279
+ const invalid = validationStatus === IcInformationStatus.Error;
17280
+ const describedBy = getInputDescribedByText(this.el, inputId, helperText !== "", showValidation).trim();
17281
+ const menuOptions = this.getOptions();
17282
+ const noOptions = disabled ||
17283
+ (menuOptions.length === 1 &&
17284
+ (menuOptions[0].label === this.emptyOptionListText ||
17285
+ "loading" in menuOptions[0] ||
17286
+ "timedOut" in menuOptions[0]));
17287
+ renderHiddenInput(this.el, value, name || inputId, disabled);
17288
+ const ClearButton = () => (hAsync("ic-button", { key: '983b6bfae4f3a9d439f23fe022652605d91f0a1e', ref: (el) => (this.clearButton = el), id: "clear-button", "aria-label": this.searchable ? "Clear input" : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onBlur: this.handleBlur, size: size, variant: "icon-tertiary" }));
17289
+ const NativeSelect = () => (hAsync("select", Object.assign({ key: '2fb628398e722cff8c3759229af969600e553485', ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { key: '5fb827fef7ab7c597a2361ac4d019f9e07adb55f', value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => "children" in option ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option)))));
17290
+ const SelectButton = () => (hAsync("div", { key: '47ad04d6da391fcb88a8b6a6a841dec93f53cd74', class: "select-container" }, hAsync("button", { key: '7ee23a4f16c4aca4b287391ac5bf5f6ee4441b07', class: "select-input", role: "combobox", ref: (el) => (this.selectElement = el), id: inputId, "aria-label": `${label}, ${(multiple && value
17291
+ ? `${value.length} of ${this.flatOptions.length} selected, ${this.getLabelString()}`
17292
+ : this.getLabelString()) || placeholder}`, onClick: this.handleClick, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-activedescendant": ariaActiveDescendant }, hAsync("ic-typography", { key: '438cce7c257e37d0a0aef5247d28d31586725a1e', variant: "body", class: {
17293
+ "value-text": true,
17294
+ "with-clear-button": !!isClearable,
17295
+ placeholder: !value,
17296
+ } }, this.getLabelString()), hAsync("div", { key: '8926d05851401339717c159651b802fb41e53096', class: "select-input-end" }, isClearable && hAsync("div", { key: '5c94e4ba98ad972001890d639b00c82887e0fb5d', class: "divider" }), hAsync("span", { key: '23569f5196d66f2b4a834d44006f6a05446598cd', class: {
17297
+ "expand-icon": true,
17298
+ "expand-icon-open": open,
17299
+ }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && hAsync(ClearButton, { key: 'e4165cb01b0bdc1681e3d9490007182b934f40ea' }), hAsync("div", { key: '6208229358ee8ba7a007a08f5e551d494015a347', "aria-live": "polite", "aria-atomic": "true", class: "aria-live-hidden-text" }, selectButtonAriaLiveText)));
17300
+ const SelectInput = () => (hAsync("div", { key: 'af39791c29e8d792c16fed1fffe08db8f621fcac', class: "searchable-select-container" }, hAsync("input", { key: '366bd3c57ad76f130d73ab2390c557b9e8fe98c8', class: {
17301
+ "value-text": true,
17302
+ "select-input": true,
17303
+ "with-clear-button": !!searchableSelectInputValue,
17304
+ }, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${open}`, "aria-invalid": invalid ? "true" : "false", "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: inputId, value: multiple
17305
+ ? ""
17306
+ : value
17307
+ ? this.getLabelString()
17308
+ : searchableSelectInputValue || undefined, disabled: disabled, placeholder: placeholder, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, form: form }), isClearable && (hAsync("div", { key: 'e9260358a6c8ac3683d1de3015064665d32d907f', class: "clear-button-container" }, hAsync(ClearButton, { key: '0c05ed1cf92ac8fde61ba55192a8a1511338239e' }), hAsync("div", { key: 'e44933edcc7c79459f1ecd551eec43a86fd53b11', class: "divider" }))), hAsync("span", { key: '36e7fe34e7d438caab2967fae27bfe4fb2e49041', onMouseDown: this.handleExpandIconMouseDown, class: {
17309
+ "expand-icon": true,
17310
+ "expand-icon-open": open,
17311
+ }, innerHTML: Expand, "aria-hidden": "true" }), hAsync("div", { key: 'c3e06f04e62b273b8a7a6f9df0aa27bf71060ed4', "aria-live": "polite", role: "status", class: "aria-live-hidden-text" }, selectInputAriaLiveText)));
17312
+ const ReadOnly = () => (hAsync("ic-typography", { key: '979d342f453fdb2ed79a6cf231d9a40275662a44' }, hAsync("p", { key: '221530958da8731657b5ad4d455041dc3934718f' }, this.getLabelString() === placeholder ? "" : this.getLabelString())));
17313
+ return (hAsync(Host, { key: 'efbdccb0f0b7e86142cd530d52a86f7ce95d6c1c', class: {
16924
17314
  "ic-select-disabled": disabled,
16925
17315
  "ic-select-searchable": searchable,
16926
17316
  [`ic-select-${size}`]: size !== "medium",
16927
17317
  "ic-select-full-width": fullWidth,
16928
17318
  [`ic-theme-${theme}`]: theme !== "inherit",
16929
- }, onBlur: this.onBlur }, hAsync("ic-input-container", { key: 'c67e465c4a39b81ef2f9f861a02a9d9d89e5c3de', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '9554f5a63ea338139b1cf1be426ef97d829694a5', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: '3749b881b972bf1143f67587e2d70bce773eb597', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '61c1d6fc5c5bd6535e502e9e15ca013612ab009b', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
17319
+ } }, hAsync("ic-input-container", { key: '48fe83c1c79ec578f94a2d8af4b8b452570a421f', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '8410dabe6d0d62c7c1459991631807cfa6546735', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: '77ce0ab9ca879ecf515de633ff27ba8e2320cf2c', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '699375a82eb49f5eb351cf95b4822b4cad7bcc1a', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
16930
17320
  !disabled &&
16931
- (!readonly || !!value) && (hAsync("span", { key: 'f81e4bd0e7548bfe8206928808475083b2b641ee', slot: "left-icon", class: {
17321
+ (!readonly || !!value) && (hAsync("span", { key: 'fcfec6b75fdb0eb41950460af3c6d7dc5ad43657', slot: "left-icon", class: {
16932
17322
  readonly,
16933
17323
  "has-value": !!value,
16934
- } }, hAsync("slot", { key: '792566ca482c7ebca0804ac0a18a5beeb3e6f15a', name: "icon" }))), readonly ? (hAsync("ic-typography", null, hAsync("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (hAsync("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (hAsync("div", { class: "searchable-select-container" }, hAsync("input", { class: {
16935
- "value-text": true,
16936
- "select-input": true,
16937
- "with-clear-button": !!searchableSelectInputValue,
16938
- }, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${open}`, "aria-invalid": invalid, "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: inputId, value: searchableSelectInputValue || undefined, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: form }), isClearable && (hAsync("div", { class: "clear-button-container" }, hAsync("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": searchableSelectInputValue &&
16939
- (currValue === null || loading)
16940
- ? "Clear input"
16941
- : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { class: "divider" }))), hAsync("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
16942
- "expand-icon": true,
16943
- "expand-icon-open": open,
16944
- }, innerHTML: Expand, "aria-hidden": "true" }), hAsync("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (hAsync("div", { class: "select-container" }, hAsync("button", { role: "combobox", class: "select-input", ref: (el) => (this.customSelectElement = el), id: inputId, "aria-label": `${label}, ${(multiple && currValue
16945
- ? `${currValue.length} of ${getOptionsWithoutGroupTitlesCount(options)} selected, ${valueLabelString}`
16946
- : valueLabelString) || placeholder}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-owns": menuId, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, hAsync("ic-typography", { variant: "body", class: {
16947
- "value-text": true,
16948
- "with-clear-button": isClearable,
16949
- placeholder: !loading && multiple
16950
- ? !value || value.length < 1
16951
- : !this.getLabelFromValue(currValue),
16952
- } }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
16953
- "expand-icon": true,
16954
- "expand-icon-open": open,
16955
- }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: 'bb2e95961d8685349e46edf1c93a2dce9792657b', class: {
16956
- "no-results": loading ||
16957
- hasTimedOut ||
16958
- (searchable &&
16959
- ((_b = (_a = this.filteredOptions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.label) === emptyOptionListText) ||
16960
- (!searchable &&
16961
- ((_d = (_c = this.uniqueOptions) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.label) === emptyOptionListText),
16962
- }, ref: (el) => (this.menu = el), inputEl: searchable
16963
- ? this.searchableSelectElement
16964
- : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: '5d6db7b55942499db04a942c7980ad09e5db65f8', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hAsync("ic-input-validation", { key: '5133bf75be8a86fe3134491d659b934dac271e57', class: {
17324
+ } }, hAsync("slot", { key: '08d321011ba86b6d50bf3c8c85bf16595c8df657', name: "icon" }))), isMobileOrTablet() && this.useNativeSelectOnMobile && !multiple ? (hAsync(NativeSelect, null)) : readonly ? (hAsync(ReadOnly, null)) : !searchable ? (hAsync(SelectButton, null)) : (hAsync(SelectInput, null))), !(isMobileOrTablet() &&
17325
+ this.useNativeSelectOnMobile &&
17326
+ !multiple) && (hAsync("ic-menu", { key: '3fc0ee9172a93e744174e2f2b7a16c4f327a82c9', ref: (el) => (this.menu = el), class: { "no-results": noOptions }, inputEl: searchable ? this.searchableSelectElement : this.selectElement, allowMenuFocus: false, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: this.getOptions(), value: multiple ? value : value, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onTimeoutBlur: this.handleTimeoutBlur, onMenuOptionId: this.updateAriaActiveDescendant, onClick: this.setFocus, parentEl: this.el, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", onRetryButtonClicked: this.handleRetry, closeOnSelect: !multiple, multiSelect: multiple, searchableSelect: searchable })), hAsync("ic-input-validation", { key: '6b8bd66f22d67776d418e0aac1b41d2f03f3c9cd', class: {
16965
17327
  "menu-open": open,
16966
17328
  }, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
16967
17329
  }
@@ -16970,7 +17332,7 @@ class Select {
16970
17332
  static get watchers() { return {
16971
17333
  "disabled": ["watchDisabledHandler"],
16972
17334
  "loading": ["loadingHandler"],
16973
- "options": ["watchOptionsHandler"],
17335
+ "options": ["optionsChangedHandler"],
16974
17336
  "debounce": ["debounceChangedHandler"],
16975
17337
  "value": ["valueChangedHandler"],
16976
17338
  "open": ["openChangedHandler"]
@@ -17007,24 +17369,22 @@ class Select {
17007
17369
  "validationAriaLive": [1, "validation-aria-live"],
17008
17370
  "validationStatus": [1, "validation-status"],
17009
17371
  "validationText": [1, "validation-text"],
17372
+ "useNativeSelectOnMobile": [4, "use-native-select-on-mobile"],
17010
17373
  "loading": [1028],
17011
17374
  "options": [16],
17012
17375
  "debounce": [2],
17013
17376
  "value": [1025],
17014
17377
  "ariaActiveDescendant": [32],
17015
- "clearButtonFocused": [32],
17016
17378
  "debounceIcInput": [32],
17017
17379
  "hiddenInputValue": [32],
17018
- "noOptions": [32],
17019
- "open": [32],
17020
- "pressedCharacters": [32],
17380
+ "hasError": [32],
17021
17381
  "searchableSelectInputValue": [32],
17022
- "filteredOptions": [32],
17023
- "uniqueOptions": [32],
17382
+ "selectButtonAriaLiveText": [32],
17383
+ "selectInputAriaLiveText": [32],
17384
+ "flatOptions": [32],
17024
17385
  "currDebounce": [32],
17025
17386
  "initialValue": [32],
17026
- "inputValueToFilter": [32],
17027
- "currValue": [32],
17387
+ "open": [32],
17028
17388
  "setFocus": [64]
17029
17389
  },
17030
17390
  "$listeners$": undefined,
@@ -17056,10 +17416,11 @@ class SideNavigation {
17056
17416
  this.ANIMATION_DURATION = window.matchMedia("(prefers-reduced-motion: reduce)").matches
17057
17417
  ? 0
17058
17418
  : parseInt(getCssProperty("--ic-transition-duration-slow")) || 0;
17059
- this.IC_NAVIGATION_ITEM = "ic-navigation-item";
17060
- this.resizeObserver = null;
17061
17419
  this.COLLAPSED_ICON_LABELS_END = "collapsed-icon-labels-end";
17062
17420
  this.COLLAPSED_ICON_LABELS_START = "collapsed-icon-labels-start";
17421
+ this.IC_NAVIGATION_ITEM = "ic-navigation-item";
17422
+ this.hostMutationObserver = null;
17423
+ this.resizeObserver = null;
17063
17424
  this.deviceSize = getCurrentDeviceSize();
17064
17425
  this.deviceSizeAppTitle = DEVICE_SIZES.S;
17065
17426
  this.foregroundColor = getBrandForegroundAppearance();
@@ -17468,13 +17829,21 @@ class SideNavigation {
17468
17829
  }
17469
17830
  !isSlotUsed(this.el, "app-title") &&
17470
17831
  onComponentRequiredPropUndefined([{ prop: this.appTitle, propName: "app-title" }], "Side Navigation");
17832
+ this.hostMutationObserver = new MutationObserver((mutationList) => {
17833
+ renderDynamicChildSlots(mutationList, ["primary-navigation", "secondary-navigation"]);
17834
+ this.arrangeSlottedNavigationItem(this.menuExpanded);
17835
+ });
17836
+ this.hostMutationObserver.observe(this.el, {
17837
+ childList: true,
17838
+ });
17471
17839
  }
17472
17840
  disconnectedCallback() {
17473
- var _a;
17841
+ var _a, _b;
17474
17842
  if (this.resizeObserver !== null) {
17475
17843
  this.resizeObserver.disconnect();
17476
17844
  }
17477
- (_a = this.el) === null || _a === void 0 ? void 0 : _a.removeEventListener("transitionend", this.transitionEndHandler);
17845
+ (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
17846
+ (_b = this.el) === null || _b === void 0 ? void 0 : _b.removeEventListener("transitionend", this.transitionEndHandler);
17478
17847
  if (this.closeOnNavItemClick) {
17479
17848
  this.el.removeEventListener("navItemClicked", this.handleNavItemClicked);
17480
17849
  }
@@ -17498,7 +17867,7 @@ class SideNavigation {
17498
17867
  isAppNameSubtitleVariant,
17499
17868
  appTitle: appTitle || "",
17500
17869
  };
17501
- return (hAsync(Host, { key: '048b8b8cc51848714f6f0367995c271b39b1a9a2', class: {
17870
+ return (hAsync(Host, { key: '886d59eacfc6a79fa8b4caae8a2cdb775dff6067', class: {
17502
17871
  "xs-menu-open": menuOpen && isSDevice,
17503
17872
  "xs-menu-close": !menuOpen && isSDevice,
17504
17873
  "sm-collapsed": !isSDevice && !menuExpanded,
@@ -17507,12 +17876,12 @@ class SideNavigation {
17507
17876
  [`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
17508
17877
  ["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
17509
17878
  ["ic-side-navigation-inline"]: !!inline,
17510
- } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '2a83fe000c46bc9ce54ca9de5cead38dddb5f88f', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '464c9687f196364f27ab261377b523a6a7d19b5a', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { key: '6eeedc489baacc84591354bf7be4537ff1d9fc56', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: '8b49aaab6a419cae1198c1cc4295ea15aa10523f', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: '90e051cd18572f31bb02e8dc1832aa2105328f6c', class: "navigation-list" }, hAsync("slot", { key: 'b06759220c19e6a243bf84d17a6bcb0c321fee73', name: "primary-navigation" }))))), hAsync("div", { key: 'db63c182321cbe7d77bebd732a3a5f2ddedbff7d', class: {
17879
+ } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '92d8098c0824f92ff4f639385d9ef1aae6fda26e', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '5a35143cf052d624a03308c8a727b8714e1896a6', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { key: '4239354cce9eede321351b68744550e0de08c3ae', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: 'f8a95a420530e9114eb4560a8e77b5be51282906', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: 'b660e71252c4c16dda5f3850c2769312b26397ff', class: "navigation-list" }, hAsync("slot", { key: 'b3c7b371935ef0f4b5d604c5ebe1dda873419d75', name: "primary-navigation" }))))), hAsync("div", { key: '2fcca3fc56a443b064541f3c595214693fe76b37', class: {
17511
17880
  ["bottom-wrapper"]: true,
17512
17881
  ["classification-spacing"]: hasClassificationBanner(),
17513
- } }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: '953cd6095e452078d068efc58cf689d558bdd4a1', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: '8d5b3dcfce47bc1594e5541ed41731a0fd795589', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: '57b6d08a7a6f0f15341a4b0289bf4a876fc5b30e', class: "navigation-list" }, hAsync("slot", { key: '36c42a128bbc9f0144496d6af042656bfe26d713', name: "secondary-navigation" })))), hAsync("div", { key: 'e34d40920163c830039d772d997549ebf0ff2162', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: '2984e8ca896aef5c7e6374e5c996c8a3fe4dc4a7' }), displayExpandBtn && (hAsync("button", { key: 'cbf4ae4787ae4b5c2beaf9629db0c22df6e3910e', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: 'a330285250b908cb7ac14e9ae9f39612d4bcfce2', class: "app-status-wrapper" }, status && (hAsync("div", { key: 'd90a9dd03f2ba41f1305afb96d78d46c85611aef', class: {
17882
+ } }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: '3b0b5d0d656206768109c4e4065c14d831962cb2', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: '637fe5abe5383946e97277b089c7dd1d46e703a3', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: '78640f1d84d55e53414094fff6abad155b44f35d', class: "navigation-list" }, hAsync("slot", { key: '35d6d19470f2b2694084b55c08905cfc8e3a0a97', name: "secondary-navigation" })))), hAsync("div", { key: '78cd12a09800d0e83634ad7ca75daa2bd1adcd35', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: 'b600544aa406b829069b6f7cdefeee16e9b4c40f' }), displayExpandBtn && (hAsync("button", { key: 'a48355b059c6e41f141a41ca1aed6bf363be51cc', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: '6f51db95e92d73c8c59ca5e337e0e6083e0d95b5', class: "app-status-wrapper" }, status && (hAsync("div", { key: 'aea4cbab412fd1a89d65517d355a41538505527c', class: {
17514
17883
  ["app-status"]: true,
17515
- } }, hAsync("ic-typography", { key: '070e2696a97002c88022049ceb4af7e204ce509e', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (hAsync("ic-typography", { key: 'acb4321ec1814ab47772570c0098b1998f9ea68e', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
17884
+ } }, hAsync("ic-typography", { key: '1a23249530701743408ac1003ce89a0c91f5165c', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (hAsync("ic-typography", { key: '430aa919fdf4eaca59e0fa6523f014a1885de38a', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
17516
17885
  }
17517
17886
  get el() { return getElement(this); }
17518
17887
  static get watchers() { return {
@@ -17591,11 +17960,11 @@ class Skeleton {
17591
17960
  width: el.style.width || width || DEFAULT_WIDTHS[variant],
17592
17961
  }
17593
17962
  : undefined;
17594
- return (hAsync(Host, { key: '73e213037cb181ecae2e3f9428a35e247d70a450', class: {
17963
+ return (hAsync(Host, { key: 'a68ad9122c6ad09b2283f2d6168e6286c8c8157f', class: {
17595
17964
  skeleton: true,
17596
17965
  "ic-skeleton-circle": variant === "circle",
17597
17966
  [`ic-theme-${theme}`]: theme !== "inherit",
17598
- }, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '25f2bc03cfcb793f1723c75ccbdb6994228255fa' })));
17967
+ }, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'a44bc7abbfb1f33581eec83e06556936ee410636' })));
17599
17968
  }
17600
17969
  get el() { return getElement(this); }
17601
17970
  static get style() { return IcSkeletonStyle0; }
@@ -17654,9 +18023,9 @@ class SkipLink {
17654
18023
  }
17655
18024
  render() {
17656
18025
  const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
17657
- return (hAsync(Host, { key: '477955b53d5ca2ee5774db9a08d4721a7540c100', class: {
18026
+ return (hAsync(Host, { key: '90a25f2594d0169a8ee6f1d03b30a30fccb17168', class: {
17658
18027
  [`ic-theme-${theme}`]: theme !== "inherit",
17659
- } }, hAsync("ic-link", { key: '0583ea1158ce831a6eae9408a1a13f4b411f2d58', class: {
18028
+ } }, hAsync("ic-link", { key: '79c0f5121c3ac8bae5992756f3c628f381ebe576', class: {
17660
18029
  "display-top": !inline,
17661
18030
  "full-width": !!fullWidth,
17662
18031
  "show-background": !transparentBackground,
@@ -17721,12 +18090,12 @@ class StatusTag {
17721
18090
  }
17722
18091
  render() {
17723
18092
  const { label, status, variant, size, announced, theme, uppercase } = this;
17724
- return (hAsync(Host, { key: 'f725fbd83518b847fd27ef96dbf8255fe6ff2cf2', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '93abc20a9d3e062257a097a125fab957c47dcd13', class: {
18093
+ return (hAsync(Host, { key: 'e6dae50277c14c03b3d42bc12b880fa421ba5e5b', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: 'e92f10182a350fd9ea993bb6376b77463a865c6d', class: {
17725
18094
  ["tag"]: true,
17726
18095
  [`${variant}-${status}`]: true,
17727
18096
  ["outlined"]: variant === "outlined",
17728
18097
  [`${size}`]: true,
17729
- } }, hAsync("ic-typography", { key: '1e6ed9d25763ece6f07513edf293d22a760e4d03', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: '3c3d3fefe821e5017de6eba6492c0dcb1ec2cd5e' }, label)))));
18098
+ } }, hAsync("ic-typography", { key: 'b3a5f6504550096511aa0b0e577be5ed46b9fd84', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: 'd7cdc4dc4b3e635432d57799cbaea26d5380fea9' }, label)))));
17730
18099
  }
17731
18100
  static get style() { return IcStatusTagStyle0; }
17732
18101
  static get cmpMeta() { return {
@@ -17830,27 +18199,27 @@ class Step {
17830
18199
  // STATUS ICON FOR COMPACT STEP
17831
18200
  let statusIcon;
17832
18201
  if (type === "completed" || compactStepStyling === "completed") {
17833
- statusIcon = (hAsync("span", { key: 'e40ecc76bd5a18ea9a8d7289b5a4ff379dbb2ab3', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
18202
+ statusIcon = (hAsync("span", { key: '3e6a788d03556019e87781e4e58306d0081da72a', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
17834
18203
  }
17835
18204
  else if (type === "disabled" || compactStepStyling === "disabled") {
17836
- statusIcon = (hAsync("span", { key: '1f6c966fa834689f62ae996ac818e86e9600ddb9', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
18205
+ statusIcon = (hAsync("span", { key: 'd3df77790e474794ac3a74cc99c98ec73a51530a', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
17837
18206
  }
17838
18207
  // COMPACT STEP COMPONENT
17839
- const compactStep = (hAsync("div", { key: 'fc3010558a6755ff90cbe0ac62309efa8f432ca6', class: {
18208
+ const compactStep = (hAsync("div", { key: '58e72e89eb93fd00ea4a76704c3744050eed25d2', class: {
17840
18209
  ["step"]: true,
17841
18210
  ["current"]: !!current,
17842
18211
  [`compact-step-${compactStepStyling}`]: !!compactStepStyling,
17843
18212
  ["disabled"]: type === "disabled" || compactStepStyling === "disabled",
17844
- } }, hAsync("ic-loading-indicator", { key: 'dcd439c5149ad136fb6efba531bf9e334f6e348b', class: {
18213
+ } }, hAsync("ic-loading-indicator", { key: 'c7a6e8e70fe3e3a485a5b0c9353b6a7eaf5888d0', class: {
17845
18214
  "compact-step-progress-indicator": true,
17846
18215
  "not-required": type === "disabled" || compactStepStyling === "disabled",
17847
- }, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), hAsync("div", { key: 'c5f15c52ca3f3bda8df684e526affa64a18350ae', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "h4", class: "heading" }, heading)), hAsync("div", { key: '5ca74136bc31b81ffae7d2273deb6b9e6960e878', class: "info-line" }, hAsync("ic-typography", { key: 'db1c09c01ba31c419ccfcc5a13ddd44be37b837f', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, hAsync("span", { key: '525884b307ce52eefe02ecdac3a97a0cecfc7516', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
18216
+ }, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), hAsync("div", { key: '13209e08fa212f80ee2b6b2f04dd65cd3a36f461', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "h4", class: "heading" }, heading)), hAsync("div", { key: '7c71fc4f8ce1b59c792c60f2d18cc464ebfc3b0f', class: "info-line" }, hAsync("ic-typography", { key: '942f6be75ff898fccda479f36003b80dcdcad9ed', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, hAsync("span", { key: 'a3ced0ecff13af724c007fa1ca32f7396f114612', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
17848
18217
  type === "completed" ||
17849
18218
  type === "disabled" ||
17850
18219
  (this.variant === "compact" &&
17851
18220
  !!compactStepStyling &&
17852
18221
  compactStepStyling !== "active") ||
17853
- !!status) && (hAsync("div", { key: '1c7eb4db0ee9d1e855b750ec8aa579b0fb5d1e92', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (hAsync("ic-typography", { key: '4fa38808e69cdc8d536ab890faff63e46a47207e', variant: "caption" }, subheading !== null && isPropDefined(subheading)
18222
+ !!status) && (hAsync("div", { key: '04bb305951a0de96241c64e478b26e12afcd838a', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (hAsync("ic-typography", { key: '3487444c46756faf3f1a88ce4cebd129cbd14d87', variant: "caption" }, subheading !== null && isPropDefined(subheading)
17854
18223
  ? subheading
17855
18224
  : type === "disabled" ||
17856
18225
  (variant === "compact" &&
@@ -17863,26 +18232,26 @@ class Step {
17863
18232
  // ICON FOR DEFAULT STEP
17864
18233
  let icon;
17865
18234
  if (type !== "completed") {
17866
- icon = (hAsync("ic-typography", { key: '8da555d94b21f0e3fd6fa7c6f4d4cf2abbe32ac8', variant: "subtitle-small" }, hAsync("span", { key: '4e7d49eafbdee617ae656db3338758fb34616b2e', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
18235
+ icon = (hAsync("ic-typography", { key: 'e25e3e2da7abbf17fcf8ede4dde3ce26010f68e0', variant: "subtitle-small" }, hAsync("span", { key: 'ae4b4e77475d060dc7ce62796118fd03a0cbdb1f', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
17867
18236
  }
17868
18237
  else {
17869
- icon = (hAsync("div", { key: 'b952dfad90463f9ea6ad42b75adf22753e7fb3d3', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '1a1af244897e7a7cdb145b3d6b5e4c56844fcc3e', class: "check-icon", innerHTML: checkIcon })));
18238
+ icon = (hAsync("div", { key: '86b31c3ca79c025e185a5461c210be965b42dc2a', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '9854c6981f84ed0984fb98666a123de0c2a32048', class: "check-icon", innerHTML: checkIcon })));
17870
18239
  }
17871
18240
  // STEP CONNECT FOR DEFAULT STEP
17872
- const partialBar = type === "current" && (hAsync("div", { key: '46f103bf5fb1b96cc0ecd320c3a7d2cd44cda524', class: "step-connect-inner" }));
17873
- const finalStep = !lastStep && (hAsync("div", { key: '4bb2a4a4de790c3cdc56ce7ba099e8388a500bcb', class: {
18241
+ const partialBar = type === "current" && (hAsync("div", { key: 'af4367f38115d9ee7f0e2112ab62ae7fdfe5b801', class: "step-connect-inner" }));
18242
+ const finalStep = !lastStep && (hAsync("div", { key: '979da51621c8e026ab2b2d59d7ad83764e0330a7', class: {
17874
18243
  ["step-connect"]: true,
17875
18244
  ["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
17876
18245
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
17877
18246
  } }, partialBar));
17878
18247
  // DEFAULT STEP COMPONENT
17879
- const defaultStep = (hAsync("div", { key: '645b517e8c4c7b56b127389abb02059d40d59624', class: {
18248
+ const defaultStep = (hAsync("div", { key: 'd91c5752a70b8062c91c7a2563229968ed832a2f', class: {
17880
18249
  ["step"]: true,
17881
18250
  [`${type}`]: true,
17882
- } }, hAsync("div", { key: 'ff48045641a0fa2334b2c9749c7a8498b040ab01', class: "step-top" }, hAsync("div", { key: '0d1dd0b9e73cce4c13f8558dd9dd64126d100790', class: "step-icon" }, icon), finalStep), (hasHeading || subheading || status) && (hAsync("div", { key: 'c1b1d2870f1d99c326f52123a3a14d3b5a0c3e4e', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "subtitle-large", class: "heading" }, heading)), hasHeading && (subheading || status) && (hAsync("ic-typography", { key: '1a59f2da6d32d0c51af7c96f9e68dd79673c5972', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined(subheading)
18251
+ } }, hAsync("div", { key: 'df780502b324c87db8eb701d9b4c43e12e6d6b32', class: "step-top" }, hAsync("div", { key: '7e2b4c244ecfe20c71f53d8f825938af39b62f71', class: "step-icon" }, icon), finalStep), (hasHeading || subheading || status) && (hAsync("div", { key: 'e645cb62ca795ee554a1b580e6fdae6555bc410c', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "subtitle-large", class: "heading" }, heading)), hasHeading && (subheading || status) && (hAsync("ic-typography", { key: '8498b50dd12915ac9e39ad329e35b0a585c77f46', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined(subheading)
17883
18252
  ? subheading
17884
18253
  : stepStatus))))));
17885
- return (hAsync(Host, { key: '0092be886c35688e5ec3b12c68fbaee1a3762784', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
18254
+ return (hAsync(Host, { key: '356617f292b301db2b92d8c1d111fa32831705c1', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
17886
18255
  ["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
17887
18256
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
17888
18257
  [`ic-step-${variant}`]: true,
@@ -18202,11 +18571,11 @@ class Stepper {
18202
18571
  checkResizeObserver(this.runResizeObserver);
18203
18572
  }
18204
18573
  render() {
18205
- return (hAsync(Host, { key: 'd0e5a0b04ef681cdd52d094498209e17f219e9d1', class: {
18574
+ return (hAsync(Host, { key: '457ee30e4513044d1160e73ab9e868c796d996e2', class: {
18206
18575
  [`ic-stepper-${this.variant}`]: true,
18207
18576
  ["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
18208
18577
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
18209
- } }, hAsync("ul", { key: '19aa3c7fb194f59cd6f7a70d0427568ebb534c13', class: "step-item-list" }, hAsync("slot", { key: '99dc833bd8f3dfcca8707003217782ef36cb0f08' }))));
18578
+ } }, hAsync("ul", { key: '32a6e9ee86bc0a89d9997aa7f74250874f1e466f', class: "step-item-list" }, hAsync("slot", { key: '9571c50056c525a853cd0469d81fa2dead8cec1f' }))));
18210
18579
  }
18211
18580
  get el() { return getElement(this); }
18212
18581
  static get watchers() { return {
@@ -18337,16 +18706,16 @@ class Switch {
18337
18706
  const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
18338
18707
  const isSmall = size === "small";
18339
18708
  renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
18340
- return (hAsync(Host, { key: '9f0cb27fcd7c2604ce4435bd7f4a431918146d1e', class: {
18709
+ return (hAsync(Host, { key: '88d2bde84ec11e0b5e23de8b291684eae49ba48f', class: {
18341
18710
  [`ic-theme-${theme}`]: theme !== "inherit",
18342
- } }, hAsync("label", { key: 'cb13d2051bfed9902d2029d0dfac343dccf3cd5e', class: {
18711
+ } }, hAsync("label", { key: '46de14be85f760c6267141eb1fe36bc710a9e251', class: {
18343
18712
  "ic-switch-container": true,
18344
18713
  "ic-switch-disabled": !!disabled,
18345
18714
  "ic-switch-small": isSmall,
18346
- }, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '5904849e7cc3e0c04415c93c4d0c59804071d2cb', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
18715
+ }, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: 'c361f411bf189a5aae8c90e331bc5a07535c3b64', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
18347
18716
  "ic-switch-label": true,
18348
18717
  "ic-switch-label-small": isSmall,
18349
- } }, hAsync("slot", { key: '67d98793571ae87084250ce826f88834dab05255', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: 'f76fbe9cb69e5122d8f14af6fcc0234b8aaa4bbd', class: "ic-switch-line-break" }), hAsync("input", { key: '4660b4356dadd500b15f6b818104e0d4007b4f66', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), hAsync("span", { key: 'cb2a021795f12459a627e99d9367bc6dc1aece8a', class: "ic-switch-toggle" }, hAsync("svg", { key: 'd7e801f7de68d43769113cde11bf8386809bd198', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: '4c1902e8316757adb667d7a977ec162653204559', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: '86da1f336dea202dbd81258e37fb115f39a7b5d7', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '8e453a3fe4c0b10f459d245e7a81a420cee18ad8', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: 'cd015f585121ed6b7f850f7a43799a767927688c', name: "right-adornment" }))));
18718
+ } }, hAsync("slot", { key: 'd0ec1f628328f0e3938964248ac38c576ee602ce', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: '60474539357c0bd43823042d06e0292f1769a879', class: "ic-switch-line-break" }), hAsync("input", { key: 'e9f17d56e514e1a545fae25631c835a714515461', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), hAsync("span", { key: 'ec6530e9f6d0a9248d6104068a8dc08c98142d44', class: "ic-switch-toggle" }, hAsync("svg", { key: '9dbe1ccb311d5d3cf836b1db84f783f3f4aa1b1c', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: '019b9a398510349b9fbb41784aa01f77af2c482f', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: '36806f4ca85eb87212f155f42293cffc9d7b2f2e', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '5d34317d431ea7b8e10d6a379b02148b4fc69b4e', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: 'bfb4599c8cfad3efa9466eefe7dc84b580a2a3d2', name: "right-adornment" }))));
18350
18719
  }
18351
18720
  static get delegatesFocus() { return true; }
18352
18721
  get el() { return getElement(this); }
@@ -18621,7 +18990,6 @@ class TabContext {
18621
18990
  this.selectedTab = newIndex;
18622
18991
  }
18623
18992
  else {
18624
- /* eslint-disable no-unexpected-multiline */
18625
18993
  this.icTabSelect.emit({
18626
18994
  tabIndex: newIndex,
18627
18995
  tabLabel: ((_b = (_a = this.el.querySelectorAll("ic-tab")[newIndex]) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) ||
@@ -18732,7 +19100,7 @@ class TabContext {
18732
19100
  }
18733
19101
  }
18734
19102
  render() {
18735
- return hAsync("slot", { key: 'd0ebb24c2c1465f0ff8f0e314a427c55b68e376c' });
19103
+ return hAsync("slot", { key: '6a473d128002201d91b16855f088cb013b3e6b09' });
18736
19104
  }
18737
19105
  get el() { return getElement(this); }
18738
19106
  static get watchers() { return {
@@ -18779,11 +19147,11 @@ class TabGroup {
18779
19147
  }
18780
19148
  render() {
18781
19149
  const { inline, theme, label, monochrome } = this;
18782
- return (hAsync(Host, { key: '326b33f030a84fa6ae754e839d9b8b6f4725f59e', role: "tablist", "aria-label": label, class: {
19150
+ return (hAsync(Host, { key: '1e0f683aa804fe2dde78bce4c8d9b60c5d6a4396', role: "tablist", "aria-label": label, class: {
18783
19151
  ["ic-tab-group-inline"]: !!inline,
18784
19152
  [`ic-theme-${theme}`]: theme !== "inherit",
18785
19153
  ["ic-tab-group-monochrome"]: !!monochrome,
18786
- } }, hAsync("ic-horizontal-scroll", { key: 'e0d011740806f98aac6f4dc93478b45b6a1babf3', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: 'f373580e73b7bbe4150e5360d781c26bfdd825c2', class: "tabs-container" }, hAsync("slot", { key: '2b03afbf67a1533ce0d7a4174ae1913ba6d44f65' })))));
19154
+ } }, hAsync("ic-horizontal-scroll", { key: 'fdca176d28c2e6619d787f3d141a78c3cf06176a', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: 'f3255d04eebecdd81e5badd671fee33b885df3c5', class: "tabs-container" }, hAsync("slot", { key: '9499e87ed5fd26e3936fcc7c9af353d7acd2fb36' })))));
18787
19155
  }
18788
19156
  static get delegatesFocus() { return true; }
18789
19157
  static get style() { return IcTabGroupStyle0; }
@@ -18826,10 +19194,10 @@ class TabPanel {
18826
19194
  }
18827
19195
  render() {
18828
19196
  const { active, theme } = this;
18829
- return (hAsync(Host, { key: 'ce4c6494df00abd53674195613178433f606a7c8', class: {
19197
+ return (hAsync(Host, { key: '7daba74123d072e8ebdac9f217451b67a734dbc4', class: {
18830
19198
  [`ic-theme-${theme}`]: theme !== "inherit",
18831
19199
  "ic-tab-panel-hidden": !active,
18832
- }, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '6ce24843cf107ac2e9e9b09925ea532fcb00e53a' }, hAsync("slot", { key: '9b6726ad06a079061240ef6a3c47ff30df5270e0' }))));
19200
+ }, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '552b91bfa6a9570da568982b693d13f5ce8911e7' }, hAsync("slot", { key: '3f2f5d3de12ab65d949bccfdc9aa5ea09a6dfa8d' }))));
18833
19201
  }
18834
19202
  get el() { return getElement(this); }
18835
19203
  static get style() { return IcTabPanelStyle0; }
@@ -19400,7 +19768,7 @@ class Theme {
19400
19768
  }
19401
19769
  render() {
19402
19770
  const { themeClass } = this;
19403
- return (hAsync(Host, { key: '301671bef390c7266016438443348bdea1b65b86', class: themeClass }, hAsync("slot", { key: '3c52aa87d35d985321c344f813916e0088ab1d74' })));
19771
+ return (hAsync(Host, { key: '29325dda558601bd748d1712aa146bfd5c2d1240', class: themeClass }, hAsync("slot", { key: 'c352dc6c92ee972a7542c01f8fefa62c38575034' })));
19404
19772
  }
19405
19773
  static get watchers() { return {
19406
19774
  "brandColor": ["watchBrandColorPropHandler"],
@@ -19593,7 +19961,8 @@ class Toast {
19593
19961
  return null;
19594
19962
  }
19595
19963
  else {
19596
- window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
19964
+ this.interactiveElements[0] &&
19965
+ window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
19597
19966
  return document.activeElement;
19598
19967
  }
19599
19968
  }
@@ -19629,20 +19998,20 @@ class Toast {
19629
19998
  }
19630
19999
  render() {
19631
20000
  const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, theme, } = this;
19632
- return (hAsync(Host, { key: 'c8fedaa23c230e8b2299000e1c9aea68961916f3', class: {
20001
+ return (hAsync(Host, { key: 'ff2cb4fa83ec20e9226dac7e6d65692877f6ba18', class: {
19633
20002
  [`ic-theme-${theme}`]: theme !== "inherit",
19634
20003
  ["ic-toast-hidden"]: !visible,
19635
20004
  [`ic-toast-variant-${variant}`]: variant !== undefined,
19636
- }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: '75db86baea219a3698a32627179b80d6cf463b08', class: {
20005
+ }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: '96a06262e46b6fd4eefe8e3eb84c3b67c5a85335', class: {
19637
20006
  ["container"]: true,
19638
20007
  [`container-${variant}`]: variant !== undefined,
19639
- } }, variant && visible && (hAsync("div", { key: '2eb16a7ec1e4dd08a3dd0ba02888add51ca56f74', class: "toast-icon-container" }, hAsync("div", { key: 'bbf3a9b0a5a2489117f53b75a3c389c4b003a117', class: {
20008
+ } }, variant && visible && (hAsync("div", { key: '30eec9ac65d800405983859cada0514bce740b6a', class: "toast-icon-container" }, hAsync("div", { key: '741228b2fa872bc5f6c4a2e57d76b2ce1ae313da', class: {
19640
20009
  ["divider"]: true,
19641
20010
  [`divider-${variant}`]: true,
19642
- } }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '4c9a91c17da4e1f3cf7fe3ed88ab0f85536b8d41', class: {
20011
+ } }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '5068418007424fb1e8074a51c3d48b44d3d4960d', class: {
19643
20012
  ["toast-content"]: true,
19644
20013
  ["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
19645
- } }, hAsync("div", { key: '796c3f516d82e60b9bddfd45b86f8fd1e396e6be', class: "toast-text" }, hAsync("ic-typography", { key: 'ffe3776de66c8c8551234d5ae32b96adc56b2f95', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: '23b9cc12a0dc8b5c639dcde7730a1a0ab27b2e84', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: '850b8a0149abc59e5c810f899a6fc1d50df8eddf' }, message)))), isSlotUsed(this.el, "action") && (hAsync("div", { key: '249dbb025b56106c4f801e837e46144d5d1409be', class: "toast-action-container" }, hAsync("slot", { key: 'b4f7d3014dbc7e1f661c78b2b607cf2f21160521', name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon-tertiary", "aria-label": dismissButtonAriaLabel })))));
20014
+ } }, hAsync("div", { key: '99bb37a24570386689e6712e1b5e55cfce64fba9', class: "toast-text" }, hAsync("ic-typography", { key: '017c9e715e6f60aeb95ee28d67130541b6df4888', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: '30d276906aec46c8ac41ef3275dc3b7b5c96177b', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: 'f1648dc19f63770974cc92ef9da333e000677bb9' }, message)))), isSlotUsed(this.el, "action") && (hAsync("div", { key: 'a8e396c4263d937de7c76c15aa68cf499ad5df78', class: "toast-action-container" }, hAsync("slot", { key: '22d5e4ef0f50a3b65067c27d305ade75eab441a0', name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon-tertiary", "aria-label": dismissButtonAriaLabel })))));
19646
20015
  }
19647
20016
  get el() { return getElement(this); }
19648
20017
  static get watchers() { return {
@@ -19715,7 +20084,7 @@ class ToastRegion {
19715
20084
  }
19716
20085
  }
19717
20086
  render() {
19718
- return hAsync("slot", { key: '68b0bbf04f10ce91d94e9adb057dca51445d71b1' });
20087
+ return hAsync("slot", { key: 'a8f7702ec7c396139a9fa455dd6900e4d3232f73' });
19719
20088
  }
19720
20089
  get el() { return getElement(this); }
19721
20090
  static get watchers() { return {
@@ -19888,7 +20257,7 @@ class ToggleButton {
19888
20257
  render() {
19889
20258
  const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
19890
20259
  const iconVariant = variant === "icon";
19891
- return (hAsync(Host, { key: '0cfed487c1d423ea46af8c14ed8e795b754b552f', class: {
20260
+ return (hAsync(Host, { key: '40cd81ec38848d6b7b68707348ae0a2b7ee5a976', class: {
19892
20261
  "ic-toggle-button-checked": checked,
19893
20262
  "ic-toggle-button-disabled": disabled,
19894
20263
  "ic-toggle-button-icon": iconVariant,
@@ -19898,7 +20267,7 @@ class ToggleButton {
19898
20267
  "ic-toggle-button-hide-outline": !outline,
19899
20268
  [`ic-toggle-button-${size}`]: true,
19900
20269
  [`ic-theme-${theme}`]: theme !== "inherit",
19901
- }, onFocus: this.handleFocus }, hAsync("ic-button", { key: '0bf623128691b77aca29773c05d2de69f88c3c5a', "aria-pressed": `${checked}`, variant: iconVariant ? "icon-tertiary" : "secondary", onClick: this.handleClick, title: accessibleLabel, "aria-label": `${accessibleLabel ? accessibleLabel : label}, ${checked ? "ticked" : "unticked"}`, disabled: disabled, size: size, fullWidth: fullWidth, loading: loading, tooltipPlacement: tooltipPlacement }, !iconVariant && label, hAsync("slot", { key: '19a15835cac2e6b7a513d3f64ea6cf1bb830e0d5' }), isSlotUsed(this.el, "icon") && (hAsync("slot", { key: '06eb81d7939f48574f00f91a8ca7acc15ce93ada', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { key: 'eeaeca232c6ac320d18c571182a2339f13364d5d', name: "badge", slot: "badge" })))));
20270
+ }, onFocus: this.handleFocus }, hAsync("ic-button", { key: 'ba600a5f546ef45e668800e9f26226f6f7e4985a', "aria-pressed": `${checked}`, variant: iconVariant ? "icon-tertiary" : "secondary", onClick: this.handleClick, title: accessibleLabel, "aria-label": `${accessibleLabel ? accessibleLabel : label}, ${checked ? "ticked" : "unticked"}`, disabled: disabled, size: size, fullWidth: fullWidth, loading: loading, tooltipPlacement: tooltipPlacement }, !iconVariant && label, hAsync("slot", { key: '881f7a3d2789ee1d5ba98851380c7dd8527a5ae2' }), isSlotUsed(this.el, "icon") && (hAsync("slot", { key: '2ef62044db8f5c13f280b74cfcadcf6dcec7859e', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { key: '6fcb625790392bc0602cd58a2ce669aa55073e57', name: "badge", slot: "badge" })))));
19902
20271
  }
19903
20272
  static get delegatesFocus() { return true; }
19904
20273
  get el() { return getElement(this); }
@@ -20178,14 +20547,14 @@ class ToggleButtonGroup {
20178
20547
  }
20179
20548
  render() {
20180
20549
  const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
20181
- return (hAsync(Host, { key: '9928f2bb1773af6779a9777cc69e636d8148cc4c', role: "group", "aria-label": accessibleLabel, tabindex: disabled ? -1 : 0, class: {
20550
+ return (hAsync(Host, { key: '1238ec0b93b309a3945791eff6f847fb10b0abf5', role: "group", "aria-label": accessibleLabel, tabindex: disabled ? -1 : 0, class: {
20182
20551
  "ic-toggle-button-group-disabled": disabled,
20183
20552
  "ic-toggle-button-group-full-width": fullWidth,
20184
20553
  "ic-toggle-button-group-loading": loading,
20185
20554
  "ic-toggle-button-group-monochrome": monochrome,
20186
20555
  "ic-toggle-button-group-hide-outline": !outline,
20187
20556
  [`ic-theme-${theme}`]: theme !== "inherit",
20188
- }, onFocus: this.handleHostFocus }, hAsync("slot", { key: 'a85cd7354087a410b5e0f6708dec26ae4b2e8f24' })));
20557
+ }, onFocus: this.handleHostFocus }, hAsync("slot", { key: '6dfd004b9e0c386362d8172334dfca2f1e6274fc' })));
20189
20558
  }
20190
20559
  get el() { return getElement(this); }
20191
20560
  static get watchers() { return {
@@ -21000,6 +21369,7 @@ registerComponents([
21000
21369
  NavigationMenu,
21001
21370
  PageHeader,
21002
21371
  Pagination,
21372
+ PaginationBar,
21003
21373
  PaginationItem,
21004
21374
  PopoverMenu,
21005
21375
  RadioGroup,