@ukic/web-components 3.7.0 → 3.8.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 (413) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
  3. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
  4. package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
  5. package/dist/cjs/ic-badge.cjs.entry.js +2 -2
  6. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  7. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  8. package/dist/cjs/ic-button_3.cjs.entry.js +40 -85
  9. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-card-vertical.cjs.entry.js +4 -4
  11. package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
  12. package/dist/cjs/ic-checkbox.cjs.entry.js +4 -4
  13. package/dist/cjs/ic-chip.cjs.entry.js +11 -3
  14. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  16. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  18. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-empty-state.cjs.entry.js +2 -2
  20. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  21. package/dist/cjs/ic-footer.cjs.entry.js +3 -3
  22. package/dist/cjs/ic-hero.cjs.entry.js +4 -4
  23. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
  24. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +8 -8
  25. package/dist/cjs/ic-input-label_2.cjs.entry.js +5 -5
  26. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
  32. package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
  33. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-pagination.cjs.entry.js +4 -4
  35. package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
  36. package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
  37. package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
  38. package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
  39. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-select.cjs.entry.js +6 -6
  41. package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
  42. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  43. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  45. package/dist/cjs/ic-step.cjs.entry.js +13 -13
  46. package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
  47. package/dist/cjs/ic-switch.cjs.entry.js +4 -4
  48. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
  50. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-tab.cjs.entry.js +2 -2
  52. package/dist/cjs/ic-text-field.cjs.entry.js +6 -6
  53. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-toast.cjs.entry.js +3 -3
  56. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
  57. package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
  58. package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
  59. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  60. package/dist/cjs/index-d337cd8a.js +4 -0
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/collection/collection-manifest.json +1 -0
  63. package/dist/collection/components/ic-action-chip/ic-action-chip.css +644 -0
  64. package/dist/collection/components/ic-action-chip/ic-action-chip.js +564 -0
  65. package/dist/collection/components/ic-action-chip/ic-action-chip.js.map +1 -0
  66. package/dist/collection/components/ic-action-chip/ic-action-chip.stories.js +386 -0
  67. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
  68. package/dist/collection/components/ic-badge/ic-badge.js +2 -2
  69. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
  70. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  71. package/dist/collection/components/ic-button/ic-button.css +3 -11
  72. package/dist/collection/components/ic-button/ic-button.js +2 -2
  73. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
  74. package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
  75. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
  76. package/dist/collection/components/ic-chip/ic-chip.js +12 -4
  77. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  78. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
  79. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  80. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  81. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  82. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +31 -4
  83. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  84. package/dist/collection/components/ic-footer/ic-footer.js +3 -3
  85. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  86. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  87. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  88. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  89. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  90. package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
  91. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  92. package/dist/collection/components/ic-link/ic-link.js +1 -1
  93. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
  94. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  95. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  96. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
  97. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  98. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
  99. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  100. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  101. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  102. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  103. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  104. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  105. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  106. package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
  107. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  108. package/dist/collection/components/ic-select/ic-select.js +6 -6
  109. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  110. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  111. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  112. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  113. package/dist/collection/components/ic-step/ic-step.js +13 -13
  114. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  115. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  116. package/dist/collection/components/ic-tab/ic-tab.js +2 -2
  117. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  118. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  119. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  120. package/dist/collection/components/ic-text-field/ic-text-field.js +6 -6
  121. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  122. package/dist/collection/components/ic-toast/ic-toast.js +3 -3
  123. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  124. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  125. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  126. package/dist/collection/components/ic-tooltip/ic-tooltip.css +2 -5
  127. package/dist/collection/components/ic-tooltip/ic-tooltip.js +32 -77
  128. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  129. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
  130. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  131. package/dist/components/ic-action-chip.d.ts +11 -0
  132. package/dist/components/ic-action-chip.js +160 -0
  133. package/dist/components/ic-action-chip.js.map +1 -0
  134. package/dist/components/ic-back-to-top.js +3 -3
  135. package/dist/components/ic-badge.js +2 -2
  136. package/dist/components/ic-breadcrumb-group.js +2 -2
  137. package/dist/components/ic-breadcrumb2.js +2 -2
  138. package/dist/components/ic-button2.js +3 -3
  139. package/dist/components/ic-button2.js.map +1 -1
  140. package/dist/components/ic-card-vertical.js +4 -4
  141. package/dist/components/ic-checkbox-group.js +2 -2
  142. package/dist/components/ic-checkbox.js +4 -4
  143. package/dist/components/ic-chip.js +12 -4
  144. package/dist/components/ic-chip.js.map +1 -1
  145. package/dist/components/ic-classification-banner.js +2 -2
  146. package/dist/components/ic-data-list.js +2 -2
  147. package/dist/components/ic-data-row.js +2 -2
  148. package/dist/components/ic-dialog.js +1 -1
  149. package/dist/components/ic-empty-state.js +2 -2
  150. package/dist/components/ic-footer-link.js +2 -2
  151. package/dist/components/ic-footer.js +3 -3
  152. package/dist/components/ic-hero.js +4 -4
  153. package/dist/components/ic-horizontal-scroll2.js +5 -5
  154. package/dist/components/ic-input-component-container2.js +3 -3
  155. package/dist/components/ic-input-container2.js +2 -2
  156. package/dist/components/ic-input-label2.js +2 -2
  157. package/dist/components/ic-input-validation2.js +3 -3
  158. package/dist/components/ic-link2.js +1 -1
  159. package/dist/components/ic-loading-indicator2.js +5 -5
  160. package/dist/components/ic-menu-group.js +1 -1
  161. package/dist/components/ic-menu2.js +3 -3
  162. package/dist/components/ic-navigation-button.js +2 -2
  163. package/dist/components/ic-navigation-group.js +1 -1
  164. package/dist/components/ic-navigation-item.js +2 -2
  165. package/dist/components/ic-navigation-menu2.js +4 -4
  166. package/dist/components/ic-page-header.js +6 -6
  167. package/dist/components/ic-pagination-item2.js +1 -1
  168. package/dist/components/ic-pagination.js +4 -4
  169. package/dist/components/ic-popover-menu.js +4 -4
  170. package/dist/components/ic-radio-group.js +4 -4
  171. package/dist/components/ic-radio-group.js.map +1 -1
  172. package/dist/components/ic-radio-option.js +4 -4
  173. package/dist/components/ic-search-bar.js +9 -9
  174. package/dist/components/ic-section-container2.js +2 -2
  175. package/dist/components/ic-select.js +6 -6
  176. package/dist/components/ic-side-navigation.js +4 -4
  177. package/dist/components/ic-skeleton.js +2 -2
  178. package/dist/components/ic-skip-link.js +2 -2
  179. package/dist/components/ic-status-tag.js +2 -2
  180. package/dist/components/ic-step.js +13 -13
  181. package/dist/components/ic-stepper.js +2 -2
  182. package/dist/components/ic-switch.js +4 -4
  183. package/dist/components/ic-tab-context.js +1 -1
  184. package/dist/components/ic-tab-group.js +2 -2
  185. package/dist/components/ic-tab-panel.js +2 -2
  186. package/dist/components/ic-tab.js +2 -2
  187. package/dist/components/ic-text-field.js +6 -6
  188. package/dist/components/ic-theme.js +1 -1
  189. package/dist/components/ic-toast-region.js +1 -1
  190. package/dist/components/ic-toast.js +3 -3
  191. package/dist/components/ic-toggle-button-group.js +2 -2
  192. package/dist/components/ic-toggle-button.js +2 -2
  193. package/dist/components/ic-tooltip2.js +33 -78
  194. package/dist/components/ic-tooltip2.js.map +1 -1
  195. package/dist/components/ic-top-navigation.js +4 -4
  196. package/dist/components/ic-typography2.js +2 -2
  197. package/dist/core/core.css +227 -7
  198. package/dist/core/core.esm.js +1 -1
  199. package/dist/core/core.esm.js.map +1 -1
  200. package/dist/core/{p-5fb58cc8.entry.js → p-03a2fa83.entry.js} +2 -2
  201. package/dist/core/{p-ba89fa16.entry.js → p-04c36b23.entry.js} +2 -2
  202. package/dist/core/{p-018eaee0.entry.js → p-0a8140ef.entry.js} +2 -2
  203. package/dist/core/{p-f4ee5fbb.entry.js → p-0c095f5b.entry.js} +2 -2
  204. package/dist/core/{p-50d13439.entry.js → p-0eaa2904.entry.js} +2 -2
  205. package/dist/core/{p-6b52e47f.entry.js → p-1829c1a9.entry.js} +2 -2
  206. package/dist/core/{p-182b7037.entry.js → p-19680887.entry.js} +2 -2
  207. package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
  208. package/dist/core/p-1f913ba3.entry.js +2 -0
  209. package/dist/core/{p-627f7172.entry.js.map → p-1f913ba3.entry.js.map} +1 -1
  210. package/dist/core/{p-0549305b.entry.js → p-2394346c.entry.js} +2 -2
  211. package/dist/core/p-280e7874.entry.js +2 -0
  212. package/dist/core/p-280e7874.entry.js.map +1 -0
  213. package/dist/core/{p-77750efc.entry.js → p-2c2c752d.entry.js} +2 -2
  214. package/dist/core/{p-9ed5f11d.entry.js → p-32c030b1.entry.js} +2 -2
  215. package/dist/core/{p-afde0edc.entry.js → p-3aa7f724.entry.js} +2 -2
  216. package/dist/core/{p-b83cca09.entry.js → p-3eef02dd.entry.js} +2 -2
  217. package/dist/core/{p-543b90c5.entry.js → p-3f9ff1cb.entry.js} +2 -2
  218. package/dist/core/p-4345907a.entry.js +2 -0
  219. package/dist/core/{p-ec1657fc.entry.js.map → p-4345907a.entry.js.map} +1 -1
  220. package/dist/core/p-46a0a40b.entry.js +2 -0
  221. package/dist/core/p-46a0a40b.entry.js.map +1 -0
  222. package/dist/core/{p-3448c713.entry.js → p-48db785a.entry.js} +2 -2
  223. package/dist/core/{p-29468171.entry.js → p-4c336217.entry.js} +2 -2
  224. package/dist/core/{p-98869fe7.entry.js → p-51bff253.entry.js} +2 -2
  225. package/dist/core/p-57644340.entry.js +2 -0
  226. package/dist/core/{p-02132a4c.entry.js.map → p-57644340.entry.js.map} +1 -1
  227. package/dist/core/{p-2ec0d11c.entry.js → p-60ff225d.entry.js} +2 -2
  228. package/dist/core/{p-0179fbd3.entry.js → p-682a9365.entry.js} +2 -2
  229. package/dist/core/{p-43b98687.entry.js → p-68f55187.entry.js} +2 -2
  230. package/dist/core/{p-7cada631.entry.js → p-69aad690.entry.js} +2 -2
  231. package/dist/core/{p-08567369.entry.js → p-750d5536.entry.js} +2 -2
  232. package/dist/core/{p-97f67617.entry.js → p-7ac5a271.entry.js} +2 -2
  233. package/dist/core/p-7cd6487e.entry.js +2 -0
  234. package/dist/core/{p-ff47772c.entry.js.map → p-7cd6487e.entry.js.map} +1 -1
  235. package/dist/core/{p-056be0df.entry.js → p-8557fa1e.entry.js} +2 -2
  236. package/dist/core/{p-4b8bfb59.entry.js → p-874f7e8d.entry.js} +2 -2
  237. package/dist/core/{p-421b5f2d.entry.js → p-88b516d6.entry.js} +2 -2
  238. package/dist/core/{p-939adcae.entry.js → p-903f9c7f.entry.js} +2 -2
  239. package/dist/core/{p-bb21268f.entry.js → p-918af357.entry.js} +2 -2
  240. package/dist/core/{p-a2ae5d9e.entry.js → p-998dfae0.entry.js} +2 -2
  241. package/dist/core/{p-8a5b0fb0.entry.js → p-9d78ef89.entry.js} +2 -2
  242. package/dist/core/{p-ae2ea264.entry.js → p-9e177686.entry.js} +2 -2
  243. package/dist/core/{p-0f86ea09.entry.js → p-9f792a31.entry.js} +2 -2
  244. package/dist/core/{p-70abcb2b.js → p-9f8acb5f.js} +2 -2
  245. package/dist/core/{p-152ddde9.entry.js → p-a082d978.entry.js} +2 -2
  246. package/dist/core/{p-b1b27b7e.entry.js → p-b3ac38c5.entry.js} +2 -2
  247. package/dist/core/{p-ab1103e1.entry.js → p-b3d3ee50.entry.js} +2 -2
  248. package/dist/core/p-b5c72b06.entry.js +2 -0
  249. package/dist/core/p-b5c72b06.entry.js.map +1 -0
  250. package/dist/core/p-b94d404b.entry.js +2 -0
  251. package/dist/core/{p-773ded36.entry.js.map → p-b94d404b.entry.js.map} +1 -1
  252. package/dist/core/{p-91f6884a.entry.js → p-bf5653c0.entry.js} +2 -2
  253. package/dist/core/{p-fb6e6ac4.entry.js → p-c63ae7d0.entry.js} +2 -2
  254. package/dist/core/{p-a591ef38.entry.js → p-c9c6d63b.entry.js} +2 -2
  255. package/dist/core/{p-ce916f35.entry.js → p-d1b7b839.entry.js} +2 -2
  256. package/dist/core/{p-4301e11e.entry.js → p-d2f1beb6.entry.js} +2 -2
  257. package/dist/core/{p-d281c3cf.entry.js → p-d47acbd4.entry.js} +2 -2
  258. package/dist/core/{p-fc5661ac.entry.js → p-de43d375.entry.js} +2 -2
  259. package/dist/core/p-e0485462.entry.js +2 -0
  260. package/dist/core/p-e9b6b600.entry.js +2 -0
  261. package/dist/core/{p-6dd73165.entry.js → p-ee6caf27.entry.js} +2 -2
  262. package/dist/core/{p-06e80441.entry.js → p-ef357622.entry.js} +2 -2
  263. package/dist/core/{p-9e051db4.entry.js → p-f34eee68.entry.js} +2 -2
  264. package/dist/core/{p-948086f4.entry.js → p-f46fd0e7.entry.js} +2 -2
  265. package/dist/core/{p-f9491692.entry.js → p-f643ae2b.entry.js} +2 -2
  266. package/dist/core/p-fbaf0301.entry.js +2 -0
  267. package/dist/core/{p-3194e46c.entry.js.map → p-fbaf0301.entry.js.map} +1 -1
  268. package/dist/core/{p-9d5e4b62.entry.js → p-fc933fc3.entry.js} +2 -2
  269. package/dist/core/p-fd421f11.entry.js +2 -0
  270. package/dist/core/{p-554c555f.entry.js.map → p-fd421f11.entry.js.map} +1 -1
  271. package/dist/core/{p-cd8dab55.entry.js → p-fee854f5.entry.js} +2 -2
  272. package/dist/esm/core.js +1 -1
  273. package/dist/esm/{helpers-f5ff3b42.js → helpers-2e75abf4.js} +2 -2
  274. package/dist/esm/{helpers-f5ff3b42.js.map → helpers-2e75abf4.js.map} +1 -1
  275. package/dist/esm/ic-accordion-group.entry.js +1 -1
  276. package/dist/esm/ic-accordion.entry.js +1 -1
  277. package/dist/esm/ic-action-chip.entry.js +112 -0
  278. package/dist/esm/ic-action-chip.entry.js.map +1 -0
  279. package/dist/esm/ic-alert.entry.js +1 -1
  280. package/dist/esm/ic-back-to-top.entry.js +4 -4
  281. package/dist/esm/ic-badge.entry.js +3 -3
  282. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  283. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  284. package/dist/esm/ic-button_3.entry.js +41 -86
  285. package/dist/esm/ic-button_3.entry.js.map +1 -1
  286. package/dist/esm/ic-card-vertical.entry.js +5 -5
  287. package/dist/esm/ic-checkbox-group.entry.js +3 -3
  288. package/dist/esm/ic-checkbox.entry.js +5 -5
  289. package/dist/esm/ic-chip.entry.js +12 -4
  290. package/dist/esm/ic-chip.entry.js.map +1 -1
  291. package/dist/esm/ic-classification-banner.entry.js +2 -2
  292. package/dist/esm/ic-data-list.entry.js +2 -2
  293. package/dist/esm/ic-data-row.entry.js +3 -3
  294. package/dist/esm/ic-dialog.entry.js +2 -2
  295. package/dist/esm/ic-divider.entry.js +1 -1
  296. package/dist/esm/ic-empty-state.entry.js +3 -3
  297. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  298. package/dist/esm/ic-footer-link.entry.js +3 -3
  299. package/dist/esm/ic-footer.entry.js +4 -4
  300. package/dist/esm/ic-hero.entry.js +5 -5
  301. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  302. package/dist/esm/ic-input-component-container_3.entry.js +9 -9
  303. package/dist/esm/ic-input-label_2.entry.js +6 -6
  304. package/dist/esm/ic-link.entry.js +2 -2
  305. package/dist/esm/ic-menu-group.entry.js +2 -2
  306. package/dist/esm/ic-menu-item.entry.js +1 -1
  307. package/dist/esm/ic-navigation-button.entry.js +3 -3
  308. package/dist/esm/ic-navigation-group.entry.js +2 -2
  309. package/dist/esm/ic-navigation-item.entry.js +3 -3
  310. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  311. package/dist/esm/ic-page-header.entry.js +7 -7
  312. package/dist/esm/ic-pagination-item.entry.js +2 -2
  313. package/dist/esm/ic-pagination.entry.js +5 -5
  314. package/dist/esm/ic-popover-menu.entry.js +5 -5
  315. package/dist/esm/ic-radio-group.entry.js +5 -5
  316. package/dist/esm/ic-radio-option.entry.js +5 -5
  317. package/dist/esm/ic-search-bar.entry.js +10 -10
  318. package/dist/esm/ic-section-container.entry.js +2 -2
  319. package/dist/esm/ic-select.entry.js +7 -7
  320. package/dist/esm/ic-side-navigation.entry.js +5 -5
  321. package/dist/esm/ic-skeleton.entry.js +2 -2
  322. package/dist/esm/ic-skip-link.entry.js +2 -2
  323. package/dist/esm/ic-status-tag.entry.js +3 -3
  324. package/dist/esm/ic-step.entry.js +14 -14
  325. package/dist/esm/ic-stepper.entry.js +3 -3
  326. package/dist/esm/ic-switch.entry.js +5 -5
  327. package/dist/esm/ic-tab-context.entry.js +1 -1
  328. package/dist/esm/ic-tab-group.entry.js +3 -3
  329. package/dist/esm/ic-tab-panel.entry.js +2 -2
  330. package/dist/esm/ic-tab.entry.js +3 -3
  331. package/dist/esm/ic-text-field.entry.js +7 -7
  332. package/dist/esm/ic-theme.entry.js +2 -2
  333. package/dist/esm/ic-toast-region.entry.js +1 -1
  334. package/dist/esm/ic-toast.entry.js +4 -4
  335. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  336. package/dist/esm/ic-toggle-button.entry.js +3 -3
  337. package/dist/esm/ic-top-navigation.entry.js +5 -5
  338. package/dist/esm/ic-typography.entry.js +3 -3
  339. package/dist/esm/index-a7a720e7.js +4 -0
  340. package/dist/esm/loader.js +1 -1
  341. package/dist/types/components/ic-action-chip/ic-action-chip.d.ts +100 -0
  342. package/dist/types/components/ic-chip/ic-chip.d.ts +2 -0
  343. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -4
  344. package/dist/types/components.d.ts +179 -2
  345. package/hydrate/index.js +357 -254
  346. package/hydrate/index.mjs +357 -254
  347. package/package.json +2 -2
  348. package/vscode-data.json +156 -0
  349. package/dist/core/p-02132a4c.entry.js +0 -2
  350. package/dist/core/p-06b0d0f6.entry.js +0 -2
  351. package/dist/core/p-3194e46c.entry.js +0 -2
  352. package/dist/core/p-4cd83bfe.entry.js +0 -2
  353. package/dist/core/p-4cd83bfe.entry.js.map +0 -1
  354. package/dist/core/p-554c555f.entry.js +0 -2
  355. package/dist/core/p-627f7172.entry.js +0 -2
  356. package/dist/core/p-773ded36.entry.js +0 -2
  357. package/dist/core/p-c100724d.entry.js +0 -2
  358. package/dist/core/p-d85b438a.entry.js +0 -2
  359. package/dist/core/p-d85b438a.entry.js.map +0 -1
  360. package/dist/core/p-ec1657fc.entry.js +0 -2
  361. package/dist/core/p-ff47772c.entry.js +0 -2
  362. /package/dist/core/{p-5fb58cc8.entry.js.map → p-03a2fa83.entry.js.map} +0 -0
  363. /package/dist/core/{p-ba89fa16.entry.js.map → p-04c36b23.entry.js.map} +0 -0
  364. /package/dist/core/{p-018eaee0.entry.js.map → p-0a8140ef.entry.js.map} +0 -0
  365. /package/dist/core/{p-f4ee5fbb.entry.js.map → p-0c095f5b.entry.js.map} +0 -0
  366. /package/dist/core/{p-50d13439.entry.js.map → p-0eaa2904.entry.js.map} +0 -0
  367. /package/dist/core/{p-6b52e47f.entry.js.map → p-1829c1a9.entry.js.map} +0 -0
  368. /package/dist/core/{p-182b7037.entry.js.map → p-19680887.entry.js.map} +0 -0
  369. /package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +0 -0
  370. /package/dist/core/{p-0549305b.entry.js.map → p-2394346c.entry.js.map} +0 -0
  371. /package/dist/core/{p-77750efc.entry.js.map → p-2c2c752d.entry.js.map} +0 -0
  372. /package/dist/core/{p-9ed5f11d.entry.js.map → p-32c030b1.entry.js.map} +0 -0
  373. /package/dist/core/{p-afde0edc.entry.js.map → p-3aa7f724.entry.js.map} +0 -0
  374. /package/dist/core/{p-b83cca09.entry.js.map → p-3eef02dd.entry.js.map} +0 -0
  375. /package/dist/core/{p-543b90c5.entry.js.map → p-3f9ff1cb.entry.js.map} +0 -0
  376. /package/dist/core/{p-3448c713.entry.js.map → p-48db785a.entry.js.map} +0 -0
  377. /package/dist/core/{p-29468171.entry.js.map → p-4c336217.entry.js.map} +0 -0
  378. /package/dist/core/{p-98869fe7.entry.js.map → p-51bff253.entry.js.map} +0 -0
  379. /package/dist/core/{p-2ec0d11c.entry.js.map → p-60ff225d.entry.js.map} +0 -0
  380. /package/dist/core/{p-0179fbd3.entry.js.map → p-682a9365.entry.js.map} +0 -0
  381. /package/dist/core/{p-43b98687.entry.js.map → p-68f55187.entry.js.map} +0 -0
  382. /package/dist/core/{p-7cada631.entry.js.map → p-69aad690.entry.js.map} +0 -0
  383. /package/dist/core/{p-08567369.entry.js.map → p-750d5536.entry.js.map} +0 -0
  384. /package/dist/core/{p-97f67617.entry.js.map → p-7ac5a271.entry.js.map} +0 -0
  385. /package/dist/core/{p-056be0df.entry.js.map → p-8557fa1e.entry.js.map} +0 -0
  386. /package/dist/core/{p-4b8bfb59.entry.js.map → p-874f7e8d.entry.js.map} +0 -0
  387. /package/dist/core/{p-421b5f2d.entry.js.map → p-88b516d6.entry.js.map} +0 -0
  388. /package/dist/core/{p-939adcae.entry.js.map → p-903f9c7f.entry.js.map} +0 -0
  389. /package/dist/core/{p-bb21268f.entry.js.map → p-918af357.entry.js.map} +0 -0
  390. /package/dist/core/{p-a2ae5d9e.entry.js.map → p-998dfae0.entry.js.map} +0 -0
  391. /package/dist/core/{p-8a5b0fb0.entry.js.map → p-9d78ef89.entry.js.map} +0 -0
  392. /package/dist/core/{p-ae2ea264.entry.js.map → p-9e177686.entry.js.map} +0 -0
  393. /package/dist/core/{p-0f86ea09.entry.js.map → p-9f792a31.entry.js.map} +0 -0
  394. /package/dist/core/{p-70abcb2b.js.map → p-9f8acb5f.js.map} +0 -0
  395. /package/dist/core/{p-152ddde9.entry.js.map → p-a082d978.entry.js.map} +0 -0
  396. /package/dist/core/{p-b1b27b7e.entry.js.map → p-b3ac38c5.entry.js.map} +0 -0
  397. /package/dist/core/{p-ab1103e1.entry.js.map → p-b3d3ee50.entry.js.map} +0 -0
  398. /package/dist/core/{p-91f6884a.entry.js.map → p-bf5653c0.entry.js.map} +0 -0
  399. /package/dist/core/{p-fb6e6ac4.entry.js.map → p-c63ae7d0.entry.js.map} +0 -0
  400. /package/dist/core/{p-a591ef38.entry.js.map → p-c9c6d63b.entry.js.map} +0 -0
  401. /package/dist/core/{p-ce916f35.entry.js.map → p-d1b7b839.entry.js.map} +0 -0
  402. /package/dist/core/{p-4301e11e.entry.js.map → p-d2f1beb6.entry.js.map} +0 -0
  403. /package/dist/core/{p-d281c3cf.entry.js.map → p-d47acbd4.entry.js.map} +0 -0
  404. /package/dist/core/{p-fc5661ac.entry.js.map → p-de43d375.entry.js.map} +0 -0
  405. /package/dist/core/{p-c100724d.entry.js.map → p-e0485462.entry.js.map} +0 -0
  406. /package/dist/core/{p-06b0d0f6.entry.js.map → p-e9b6b600.entry.js.map} +0 -0
  407. /package/dist/core/{p-6dd73165.entry.js.map → p-ee6caf27.entry.js.map} +0 -0
  408. /package/dist/core/{p-06e80441.entry.js.map → p-ef357622.entry.js.map} +0 -0
  409. /package/dist/core/{p-9e051db4.entry.js.map → p-f34eee68.entry.js.map} +0 -0
  410. /package/dist/core/{p-948086f4.entry.js.map → p-f46fd0e7.entry.js.map} +0 -0
  411. /package/dist/core/{p-f9491692.entry.js.map → p-f643ae2b.entry.js.map} +0 -0
  412. /package/dist/core/{p-9d5e4b62.entry.js.map → p-fc933fc3.entry.js.map} +0 -0
  413. /package/dist/core/{p-cd8dab55.entry.js.map → p-fee854f5.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { h, Host, } from "@stencil/core";
2
- import { onComponentRequiredPropUndefined, isSlotUsed, removeDisabledFalse, convertToRGBA, isElInAGGrid, getBrandForegroundAppearance, } from "../../utils/helpers";
2
+ import { onComponentRequiredPropUndefined, isSlotUsed, removeDisabledFalse, convertToRGBA, isElInAGGrid, getBrandForegroundAppearance, renderDynamicChildSlots, } from "../../utils/helpers";
3
3
  import dismissIcon from "../../assets/dismiss-icon.svg";
4
4
  /**
5
5
  * @slot icon - Content will be rendered at the start of the chip.
@@ -62,12 +62,20 @@ export class Chip {
62
62
  watchDisabledHandler() {
63
63
  removeDisabledFalse(this.disabled, this.el);
64
64
  }
65
+ disconnectedCallback() {
66
+ var _a;
67
+ (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
68
+ }
65
69
  componentWillLoad() {
66
70
  removeDisabledFalse(this.disabled, this.el);
67
71
  this.customColorHandler();
68
72
  }
69
73
  componentDidLoad() {
70
74
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Chip");
75
+ this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, ["icon", "badge"], this));
76
+ this.hostMutationObserver.observe(this.el, {
77
+ childList: true,
78
+ });
71
79
  }
72
80
  handleClick() {
73
81
  this.visible = !this.visible;
@@ -82,10 +90,10 @@ export class Chip {
82
90
  render() {
83
91
  const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;
84
92
  const ariaLabel = `${label} chip`;
85
- return (h(Host, { key: '9a61d8ecacb78fcdf17dbbaf32e1cf79de705d78', class: {
93
+ return (h(Host, { key: 'ced030b6d7a5aeb6b7030ea7858200187d16ae90', class: {
86
94
  [`ic-theme-${theme}`]: theme !== "inherit",
87
95
  [`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
88
- } }, visible && (h("div", { key: '5cfa78f3d8647cf3f6a98649bfe583af89f3458f', class: {
96
+ } }, visible && (h("div", { key: 'dca2da18144d1ee47d9507cbb616bc6493060f94', class: {
89
97
  chip: true,
90
98
  [`${variant}`]: true,
91
99
  [`${size}`]: true,
@@ -93,7 +101,7 @@ export class Chip {
93
101
  dismissible,
94
102
  hovered,
95
103
  "non-transparent": variant === "outlined" && !transparentBackground,
96
- } }, isSlotUsed(this.el, "icon") && (h("div", { key: 'd7f72306a186b66c4a215a3928655989870e34b3', class: "icon" }, h("slot", { key: '71b8d9a59d43e0580e7f56c1977f2992ee582d95', name: "icon" }))), h("ic-typography", { key: '46ba6cddc7c12f2c246cc2d23e6d403517ad54b3', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, h("span", { key: '7e62d43da1b1d21a3b660839154aaaaedf96f935' }, label)), dismissible && (h("ic-tooltip", { key: 'c82c6387a16c2cf5006710b1623a332a1f5f3122', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, h("button", { key: '0411f0e6d7ce468a6f7a489e652240724dee0213', 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") && h("slot", { key: '31e71e22e0d9b8755a8bc483934aabcc4ccb9033', name: "badge" }))), dismissible && (h("div", { key: 'c899f3ba330e9231e461b7869363ce85ff005b31', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
104
+ } }, isSlotUsed(this.el, "icon") && (h("div", { key: '3e1537327125e7cfd54a20aeeb3f6279560da02f', class: "icon" }, h("slot", { key: '33a229dad89f94f165c0a3f77e83720e1cc0603f', name: "icon" }))), h("ic-typography", { key: '7445c7ae2254c909af206b43e5044f643177f1af', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, h("span", { key: 'af34cb3ca942ea778c3ba4716f983755571626db' }, label)), dismissible && (h("ic-tooltip", { key: '7664945e7ddc8cb66a302265a5b7affcea514241', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, h("button", { key: '692fd13b54eef71e29ef4d3639182617770684df', 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") && h("slot", { key: '6db0a5f0dd29df3315caa52aba01d339449e3bdd', name: "badge" }))), dismissible && (h("div", { key: '2d989a411ff7eedad1e9238714c704c3e2d0d536', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
97
105
  }
98
106
  static get is() { return "ic-chip"; }
99
107
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"ic-chip.js","sourceRoot":"","sources":["../../../src/components/ic-chip/ic-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,CAAC,EACD,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EAEL,OAAO,EACP,MAAM,EACN,KAAK,EACL,IAAI,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gCAAgC,EAChC,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,WAAW,MAAM,+BAA+B,CAAC;AAExD;;;GAGG;AAQH,MAAM,OAAO,IAAI;IAPjB;QAYW,oBAAe,GAAsC,IAAI,CAAC;QAC1D,YAAO,GAAG,KAAK,CAAC;QAChB,YAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n h,\n Prop,\n State,\n Listen,\n Event,\n EventEmitter,\n Element,\n Method,\n Watch,\n Host,\n} from \"@stencil/core\";\nimport {\n onComponentRequiredPropUndefined,\n isSlotUsed,\n removeDisabledFalse,\n convertToRGBA,\n isElInAGGrid,\n getBrandForegroundAppearance,\n} from \"../../utils/helpers\";\nimport {\n IcBrandForegroundNoDefault,\n IcColor,\n IcEmphasisType,\n IcSizes,\n IcThemeMode,\n} from \"../../utils/types\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n * @slot badge - Badge component overlaying the top right of the chip.\n */\n@Component({\n tag: \"ic-chip\",\n styleUrl: \"ic-chip.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Chip {\n private buttonEl?: HTMLButtonElement;\n\n @Element() el: HTMLIcChipElement;\n\n @State() foregroundColor: IcBrandForegroundNoDefault | null = null;\n @State() hovered = false;\n @State() visible = true;\n\n /**\n * The custom chip colour. This will override the theme colour.\n * Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() customColor?: IcColor;\n @Watch(\"customColor\")\n customColorHandler(): void {\n const colorRGBA = this.customColor && convertToRGBA(this.customColor);\n if (!colorRGBA) {\n this.foregroundColor = null;\n return;\n }\n\n const { r, g, b, a } = colorRGBA;\n this.foregroundColor = getBrandForegroundAppearance(\n (r * 299 + g * 587 + b * 114) / 1000\n );\n this.el.setAttribute(\n \"style\",\n `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a});`\n );\n }\n\n /**\n * If `true`, the chip will appear disabled.\n */\n @Prop() disabled = false;\n @Watch(\"disabled\")\n watchDisabledHandler(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n @Prop() dismissible = false;\n\n /**\n * The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\n */\n @Prop() dismissLabel = \"Dismiss\";\n\n /**\n * The text rendered within the chip.\n */\n @Prop() label!: string;\n\n /**\n * The size of the chip.\n */\n @Prop() size: IcSizes = \"medium\";\n /**\n * Sets the chip to the dark or light theme colors. \"inherit\" will set the color based on the system settings or ic-theme component.\n * Setting the \"customColor\" prop will override this.\n */\n @Prop() theme: IcThemeMode = \"inherit\";\n\n /**\n * If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\n */\n @Prop() transparentBackground = true;\n\n /**\n * The emphasis of the chip.\n */\n @Prop() variant: IcEmphasisType = \"filled\";\n\n /**\n * Is emitted when the user dismisses the chip.\n */\n @Event() icDismiss: EventEmitter<void>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n this.customColorHandler();\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Chip\"\n );\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleClick(): void {\n this.visible = !this.visible;\n }\n\n /**\n * Sets focus on the chip.\n */\n @Method()\n async setFocus(): Promise<void> {\n this.buttonEl?.focus();\n }\n\n private dismissAction = () => {\n this.icDismiss.emit();\n };\n\n private mouseEnterHandler = () => {\n this.hovered = true;\n };\n\n private mouseLeaveHandler = () => {\n this.hovered = false;\n };\n\n render() {\n const {\n label,\n variant,\n size,\n dismissible,\n visible,\n disabled,\n hovered,\n theme,\n foregroundColor,\n dismissLabel,\n transparentBackground,\n } = this;\n\n const ariaLabel = `${label} chip`;\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-chip-${foregroundColor}-text`]:\n variant === \"filled\" && !!foregroundColor,\n }}\n >\n {visible && (\n <div\n class={{\n chip: true,\n [`${variant}`]: true,\n [`${size}`]: true,\n disabled,\n dismissible,\n hovered,\n \"non-transparent\":\n variant === \"outlined\" && !transparentBackground,\n }}\n >\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon\">\n <slot name=\"icon\" />\n </div>\n )}\n <ic-typography\n variant=\"label\"\n apply-vertical-margins={false}\n class={{ label: true, \"in-ag-grid\": isElInAGGrid(this.el) }}\n >\n <span>{label}</span>\n </ic-typography>\n {dismissible && (\n <ic-tooltip\n label={dismissLabel}\n target=\"dismiss-icon\"\n class={{ \"tooltip-disabled\": disabled }}\n >\n <button\n id=\"dismiss-icon\"\n class=\"dismiss-icon\"\n ref={(el) => (this.buttonEl = el)}\n aria-label={`${dismissLabel} ${ariaLabel}`}\n disabled={disabled}\n tabindex={disabled ? -1 : 0}\n onClick={this.dismissAction}\n onMouseEnter={this.mouseEnterHandler}\n onMouseLeave={this.mouseLeaveHandler}\n innerHTML={dismissIcon}\n ></button>\n </ic-tooltip>\n )}\n {isSlotUsed(this.el, \"badge\") && <slot name=\"badge\"></slot>}\n </div>\n )}\n {dismissible && (\n <div class=\"sr-only\" aria-live=\"polite\">\n {!visible ? `Dismissed ${ariaLabel}` : \"\"}\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-chip.js","sourceRoot":"","sources":["../../../src/components/ic-chip/ic-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,CAAC,EACD,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EAEL,OAAO,EACP,MAAM,EACN,KAAK,EACL,IAAI,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gCAAgC,EAChC,UAAU,EACV,mBAAmB,EACnB,aAAa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,EAC1C,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC3B,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,YAAY,EAAE,IAAI,CAAC,iBAAiB,EACpC,YAAY,EAAE,IAAI,CAAC,iBAAiB,EACpC,SAAS,EAAE,WAAW,GACd,CACC,CACd;gBACA,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACvD,CACP;YACA,WAAW,IAAI,CACd,4DAAK,KAAK,EAAC,SAAS,eAAW,QAAQ,IACpC,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CACrC,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n h,\n Prop,\n State,\n Listen,\n Event,\n EventEmitter,\n Element,\n Method,\n Watch,\n Host,\n} from \"@stencil/core\";\nimport {\n onComponentRequiredPropUndefined,\n isSlotUsed,\n removeDisabledFalse,\n convertToRGBA,\n isElInAGGrid,\n getBrandForegroundAppearance,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport {\n IcBrandForegroundNoDefault,\n IcColor,\n IcEmphasisType,\n IcSizes,\n IcThemeMode,\n} from \"../../utils/types\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n * @slot badge - Badge component overlaying the top right of the chip.\n */\n@Component({\n tag: \"ic-chip\",\n styleUrl: \"ic-chip.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Chip {\n private buttonEl?: HTMLButtonElement;\n private hostMutationObserver?: MutationObserver;\n\n @Element() el: HTMLIcChipElement;\n\n @State() foregroundColor: IcBrandForegroundNoDefault | null = null;\n @State() hovered = false;\n @State() visible = true;\n\n /**\n * The custom chip colour. This will override the theme colour.\n * Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() customColor?: IcColor;\n @Watch(\"customColor\")\n customColorHandler(): void {\n const colorRGBA = this.customColor && convertToRGBA(this.customColor);\n if (!colorRGBA) {\n this.foregroundColor = null;\n return;\n }\n\n const { r, g, b, a } = colorRGBA;\n this.foregroundColor = getBrandForegroundAppearance(\n (r * 299 + g * 587 + b * 114) / 1000\n );\n this.el.setAttribute(\n \"style\",\n `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a});`\n );\n }\n\n /**\n * If `true`, the chip will appear disabled.\n */\n @Prop() disabled = false;\n @Watch(\"disabled\")\n watchDisabledHandler(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n @Prop() dismissible = false;\n\n /**\n * The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\n */\n @Prop() dismissLabel = \"Dismiss\";\n\n /**\n * The text rendered within the chip.\n */\n @Prop() label!: string;\n\n /**\n * The size of the chip.\n */\n @Prop() size: IcSizes = \"medium\";\n /**\n * Sets the chip to the dark or light theme colors. \"inherit\" will set the color based on the system settings or ic-theme component.\n * Setting the \"customColor\" prop will override this.\n */\n @Prop() theme: IcThemeMode = \"inherit\";\n\n /**\n * If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\n */\n @Prop() transparentBackground = true;\n\n /**\n * The emphasis of the chip.\n */\n @Prop() variant: IcEmphasisType = \"filled\";\n\n /**\n * Is emitted when the user dismisses the chip.\n */\n @Event() icDismiss: EventEmitter<void>;\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n this.customColorHandler();\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Chip\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, [\"icon\", \"badge\"], this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleClick(): void {\n this.visible = !this.visible;\n }\n\n /**\n * Sets focus on the chip.\n */\n @Method()\n async setFocus(): Promise<void> {\n this.buttonEl?.focus();\n }\n\n private dismissAction = () => {\n this.icDismiss.emit();\n };\n\n private mouseEnterHandler = () => {\n this.hovered = true;\n };\n\n private mouseLeaveHandler = () => {\n this.hovered = false;\n };\n\n render() {\n const {\n label,\n variant,\n size,\n dismissible,\n visible,\n disabled,\n hovered,\n theme,\n foregroundColor,\n dismissLabel,\n transparentBackground,\n } = this;\n\n const ariaLabel = `${label} chip`;\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-chip-${foregroundColor}-text`]:\n variant === \"filled\" && !!foregroundColor,\n }}\n >\n {visible && (\n <div\n class={{\n chip: true,\n [`${variant}`]: true,\n [`${size}`]: true,\n disabled,\n dismissible,\n hovered,\n \"non-transparent\":\n variant === \"outlined\" && !transparentBackground,\n }}\n >\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon\">\n <slot name=\"icon\" />\n </div>\n )}\n <ic-typography\n variant=\"label\"\n apply-vertical-margins={false}\n class={{ label: true, \"in-ag-grid\": isElInAGGrid(this.el) }}\n >\n <span>{label}</span>\n </ic-typography>\n {dismissible && (\n <ic-tooltip\n label={dismissLabel}\n target=\"dismiss-icon\"\n class={{ \"tooltip-disabled\": disabled }}\n >\n <button\n id=\"dismiss-icon\"\n class=\"dismiss-icon\"\n ref={(el) => (this.buttonEl = el)}\n aria-label={`${dismissLabel} ${ariaLabel}`}\n disabled={disabled}\n tabindex={disabled ? -1 : 0}\n onClick={this.dismissAction}\n onMouseEnter={this.mouseEnterHandler}\n onMouseLeave={this.mouseLeaveHandler}\n innerHTML={dismissIcon}\n ></button>\n </ic-tooltip>\n )}\n {isSlotUsed(this.el, \"badge\") && <slot name=\"badge\"></slot>}\n </div>\n )}\n {dismissible && (\n <div class=\"sr-only\" aria-live=\"polite\">\n {!visible ? `Dismissed ${ariaLabel}` : \"\"}\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -40,10 +40,10 @@ export class ClassificationBanner {
40
40
  if (!classification ||
41
41
  (classification && !classificationText[classification]))
42
42
  classification = "default";
43
- return (h(Host, { key: 'f30aac02756628e8538572d0b2cab67b0ffc4b75', class: { ["ic-classification-banner-inline"]: !!inline } }, h("banner", { key: '5eda99cbdf376e20ad9ed03fc5c7fc515805c6da', "aria-label": "Protective marking", class: {
43
+ return (h(Host, { key: '8ccd98249fea7e78da349f2c97243366305c5dcc', class: { ["ic-classification-banner-inline"]: !!inline } }, h("banner", { key: 'a108ace2bf5f64c5867f993d9d130595b61ccac9', "aria-label": "Protective marking", class: {
44
44
  ["classification-banner"]: true,
45
45
  [`${classification}`]: classification,
46
- } }, classification !== "default" ? (h("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, h("ic-typography", { key: '3f094aa6b0ed00ec4f70858a81a030b2599829f9', variant: "caption-uppercase" }, classification === "default"
46
+ } }, classification !== "default" ? (h("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, h("ic-typography", { key: '09edc559ec7b205d092210ef73ef95faa43c1a8a', variant: "caption-uppercase" }, classification === "default"
47
47
  ? classificationText[classification]
48
48
  : `${upTo ? "up to" : ""}
49
49
  ${country}
@@ -18,10 +18,10 @@ export class DataList {
18
18
  if (size === "small") {
19
19
  Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
20
20
  }
21
- return (h(Host, { key: 'a10decea9f6872dd3a86cb4e8d989f1628ddd8dd', class: {
21
+ return (h(Host, { key: '5e7af483f24335b47442b4aa768c7b04bc14bb64', class: {
22
22
  "ic-data-list-small": size === "small",
23
23
  [`ic-theme-${theme}`]: theme !== "inherit",
24
- } }, h("div", { key: '5e818e459c2dd23b6e021d82012150757b7520e9', class: "heading", id: "data-list-heading" }, h("slot", { key: '2d68d50a52c8fc3882aa9138ce427c23ccdbc394', name: "heading" }, h("ic-typography", { key: '275d859a1075fd96294913acf1a3b2b9bb1777c2', variant: "h3" }, heading))), h("div", { key: '06e942c78939bf9526ef3bcebba1c76db3c3f608', class: "divider" }), h("ul", { key: '9e7218ee17444774d184680d27e3e11424953bfc', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: 'a75aec759140988dc2d673385d7eef1fc0e7dba5' }))));
24
+ } }, h("div", { key: 'a74f7d4a87b21b053a500cab89ca978ada43263e', class: "heading", id: "data-list-heading" }, h("slot", { key: 'c4896992d8558dfbe2a1d8dd689cabae2581ce89', name: "heading" }, h("ic-typography", { key: 'b05016df276422f769464a73d6ae71533d3c028f', variant: "h3" }, heading))), h("div", { key: 'a984729dc0849a27d09cd6403efd230cfc927007', class: "divider" }), h("ul", { key: '916c5b5c74f16f3fab74e2a157c2216b570420f5', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: 'e5e05b0957b4cf986139795f31771556fd5f6150' }))));
25
25
  }
26
26
  static get is() { return "ic-data-list"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -68,12 +68,12 @@ export class DataRow {
68
68
  }
69
69
  render() {
70
70
  const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
71
- return (h(Host, { key: '2faf353c648f521406dc1318be100192dece1aab', class: {
71
+ return (h(Host, { key: '9a94132a8884960a5ec1c2f2772e89f46dbcc995', class: {
72
72
  ["ic-data-row-small"]: size === "small",
73
73
  ["breakpoint-medium"]: listSize === "m",
74
74
  ["breakpoint-xs"]: listSize === "xs",
75
75
  [`ic-theme-${theme}`]: theme !== "inherit",
76
- }, role: "listitem" }, h("div", { key: '3d8e82d44292400dc5cf92230967eb3c9cc57cd0', class: "data" }, h("div", { key: '1e1edf0e3cefbe7cf2bb7e6ab973e55eeab1c0e3', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: '0b60b67c17cce484293060ec5ba89619f527e5c9', class: "end-component" }, h("slot", { key: '403f6290fd00ef44fa02baaeed36932caf6f9902', name: "end-component" })))), h("div", { key: '653123df7e4243474aa5254d948b1666c9b50722', class: "divider" })));
76
+ }, role: "listitem" }, h("div", { key: '8a354952861f100d66f454998c5b6a40eff226bd', class: "data" }, h("div", { key: '55359f425068a3a2b16cf194bc562ea8a2f865be', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: '1bb95d477f8d30759480a304c5214c9530a118d2', class: "end-component" }, h("slot", { key: '11284607c2c69d5b231d41ae307ca3044b49b8d1', name: "end-component" })))), h("div", { key: 'c4289c8446de02edbf8491e6d1d3cdb66561483e', class: "divider" })));
77
77
  }
78
78
  static get is() { return "ic-data-row"; }
79
79
  static get encapsulation() { return "shadow"; }
@@ -334,7 +334,7 @@ export class Dialog {
334
334
  }
335
335
  render() {
336
336
  const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
337
- return (h(Host, { key: 'f970a5b8d2c69eae29f0877f078a9a4c0ead56ba', class: {
337
+ return (h(Host, { key: 'ff1c220a6687596221a97f380dd78692d1689ca7', class: {
338
338
  "ic-dialog-hidden": !dialogRendered,
339
339
  "ic-dialog-fade-in": fadeIn,
340
340
  "disable-height-constraint": !!disableHeightConstraint,
@@ -138,6 +138,33 @@ export const SlottedContent = {
138
138
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
139
139
  tempor incididunt ut labore et dolore magna aliqua.
140
140
  </ic-typography>
141
+ <ic-tooltip
142
+ label="This is a description of the button"
143
+ target="test-button"
144
+ >
145
+ <ic-button
146
+ id="test-button"
147
+ >
148
+ Button with tooltip
149
+ </ic-button>
150
+ </ic-tooltip>
151
+ <ic-button
152
+ variant="icon-primary"
153
+ aria-label="This is a description of the button"
154
+ >
155
+ <svg
156
+ xmlns="http://www.w3.org/2000/svg"
157
+ height="24px"
158
+ viewBox="0 0 24 24"
159
+ width="24px"
160
+ fill="#000000"
161
+ >
162
+ <path d="M0 0h24v24H0V0z" fill="none" />
163
+ <path
164
+ d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
165
+ />
166
+ </svg>
167
+ </ic-button>
141
168
  <ic-accordion heading="This is an accordion">
142
169
  <ic-checkbox label="Agree" value="confirm" additional-field-display="static">
143
170
  <ic-text-field
@@ -149,8 +176,8 @@ export const SlottedContent = {
149
176
  <ic-radio-group label="This is a label" name="1">
150
177
  <ic-radio-option
151
178
  value="valueName1"
152
- label="Unselected / Default"
153
- additional-field-display="dynamic"
179
+ label="Unselected / Default"
180
+ additional-field-display="dynamic"
154
181
  >
155
182
  <ic-text-field
156
183
  slot="additional-field"
@@ -186,7 +213,7 @@ export const SlottedContent = {
186
213
  label="What is your favourite coffee?"
187
214
  placeholder="Placeholder goes here"
188
215
  ></ic-select>
189
- <ic-button id="button-1" onclick="buttonClick()">Show popover</ic-button>
216
+ <ic-button id="button-1" onclick="buttonClick()">Show popover</ic-button>
190
217
  <div>
191
218
  <ic-popover-menu anchor="button-1" aria-label="popover">
192
219
  <ic-menu-item label="Copy code" disabled="true"></ic-menu-item>
@@ -228,7 +255,7 @@ export const SlottedContent = {
228
255
  </svg>
229
256
  </ic-menu-item>
230
257
  </ic-popover-menu>
231
- </div>
258
+ </div>
232
259
  <ic-checkbox-group
233
260
  label="confirm"
234
261
  hide-label
@@ -37,11 +37,11 @@ export class EmptyState {
37
37
  }
38
38
  render() {
39
39
  const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
40
- return (h(Host, { key: '1742fa428f2c887fd9b0a200fa5f4040c3ceedf3', class: {
40
+ return (h(Host, { key: '4bb35d1c3476b88cc58e952b1b8785e4425d5339', class: {
41
41
  [`ic-empty-state-${aligned}`]: true,
42
42
  [`image-${imageSize}`]: isSlotUsed(this.el, "image"),
43
43
  [`ic-theme-${theme}`]: theme !== "inherit",
44
- } }, isSlotUsed(this.el, "image") && h("slot", { key: '781c3afcd34547dba24bdc777fed7b704d2d27ad', name: "image" }), h("div", { key: 'a8eb38fb47f8e03d3654cc3f26d12ff1369a52ff' }, h("slot", { key: '4375bf33214131da721591bfbea44d03514b9836', name: "heading" }, h("ic-typography", { key: 'd83b8868e417e55a574716e380be3e99ea2f3aa3', variant: "h4", class: "empty-state-heading" }, heading)), h("slot", { key: '79d4fe82562ba2d44ffa5a693a3e9d5743984bbd', name: "subheading" }, h("ic-typography", { key: 'ffd4e8d460b03c3b90b477c0d2f420492a337165', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), h("slot", { key: '166e1b63631dc5f6a5ada15867fae52442c18e14', name: "body" }, h("ic-typography", { key: 'f63a9ec68fe53dadddd3cb26ffe6478164caf3af', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (h("div", { key: 'ccf0fe966f7a2c6f5225005d5bd4266523bf5267', class: "action-area" }, h("slot", { key: 'f9f8f74c450aed47b1e8f0467e290714237251b0', name: "actions" })))));
44
+ } }, isSlotUsed(this.el, "image") && h("slot", { key: '9e87ed9f746d37f57505a75c62b10279b31ef54e', name: "image" }), h("div", { key: '4f94dc11d843660d3fecd976fa71f9c57644c89b' }, h("slot", { key: 'be23c55a8dc832904fbae342890d2a3d2d74ae85', name: "heading" }, h("ic-typography", { key: '52bf3dca695fecff3e5d650bd81db23d09665258', variant: "h4", class: "empty-state-heading" }, heading)), h("slot", { key: '7ed10d78475ac8b9c3f5a084a1294ad1be180f15', name: "subheading" }, h("ic-typography", { key: '5772d056578a64a951178c3c3026b36d4b316496', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), h("slot", { key: '14a8815b51a06521642921f09fa8346483522e84', name: "body" }, h("ic-typography", { key: 'bca780cc2275e81d4e25bae45f5065f6fab3bcd5', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (h("div", { key: 'd6c0f61a358c1d0c86c4da922ed0504ffdc8228f', class: "action-area" }, h("slot", { key: 'ac150a34e883376bfee43a6edbeb8992c3bc3f96', name: "actions" })))));
45
45
  }
46
46
  static get is() { return "ic-empty-state"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -89,7 +89,7 @@ export class Footer {
89
89
  isSlotUsed(el, "caption") ||
90
90
  caption ||
91
91
  copyright;
92
- return (h(Host, { key: 'b25023d5362ca9baca9c01a319c038eb4540e97a', class: {
92
+ return (h(Host, { key: '5e9f3b92157b9ffa5fc6e2dbe8f8a5c6a63a6237', class: {
93
93
  ["ic-footer"]: true,
94
94
  [`ic-footer-${small ? "small" : "sparse"}`]: true,
95
95
  [`ic-footer-${groupLinks ? "grouped" : "ungrouped"}`]: true,
@@ -97,10 +97,10 @@ export class Footer {
97
97
  // Slots will be able to infer their own color
98
98
  [`ic-footer-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
99
99
  [`ic-footer-${IcBrandForegroundEnum.Light}`]: foregroundColor === IcBrandForegroundEnum.Light,
100
- } }, h("footer", { key: '053aafbd7016c4a74230cb3f4bd15ff1bd331761', ref: (el) => (this.footerEl = el) }, (isSlotUsed(el, "description") || description) && (h("div", { key: 'c963c42c0f4d0a19d8fe9c133ca3cf9261398d70', class: "footer-description" }, h("ic-section-container", { key: '0dd1fd94781722a494368e146f2a0b8417e1849d', aligned: aligned, fullHeight: true }, h("div", { key: '61a25339f136d624ef39c3f72ff920735eac3656', class: "footer-description-inner" }, h("ic-typography", { key: '4655d70fa69d5cc7ed44e352d37646a93b95067a', variant: "body" }, h("slot", { key: '3a04c622d16c8fbad42bde6e5a62b94a7cc0dbfc', name: "description" }, description)))))), isSlotUsed(el, "link") && (h("div", { key: '9a98191b7712a906aafa5295786586cdca8fdd63', class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner", role: "list" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner", role: "list" }, h("slot", { name: "link" })))))), showComplianceSection && (h("div", { key: '26f71e1feac14df4ffd9a5f945823e7d8a334f87', class: "footer-compliance" }, h("ic-section-container", { key: 'd4b53cd4e8b1170b629f6493188f48438c1edd00', aligned: aligned, fullHeight: true }, h("div", { key: '50b07020da89a9ebe53d6fd035b7139ac8ca2282', class: "footer-compliance-inner" }, isSlotUsed(el, "logo") && (h("div", { key: '2ea27171f29498639b56426d4d21fbf4afc98798', class: "footer-logo" }, h("slot", { key: 'b09b28173314c1b0a63ce1ecdf60822d7497ed80', name: "logo" }))), (isSlotUsed(el, "caption") || caption) && (h("div", { key: 'b4ce260f52b3216ec3c73430311b7659e651a544', class: "footer-caption" }, h("ic-typography", { key: 'f83868bac58237dcd8586d4d161db7677f0b2b16', variant: deviceSize <= IC_DEVICE_SIZES.M ? "caption" : "body" }, h("slot", { key: '3da3e317b1f62be124bbabc9283e08258dc57141', name: "caption" }, caption)))), copyright && (h("div", { key: '63b18007efa190d038048a1d57223dc0547a64ad', class: {
100
+ } }, h("footer", { key: 'cfae5dcdd5a431bba915b83e5ef2ae2347d5bb6d', ref: (el) => (this.footerEl = el) }, (isSlotUsed(el, "description") || description) && (h("div", { key: '9f960b8fcae0e3281b177bcfe1adf365657406dc', class: "footer-description" }, h("ic-section-container", { key: '49455d77e8d5e9e8a1199dc0dcc00226291e9adc', aligned: aligned, fullHeight: true }, h("div", { key: 'dab1fa34ca43acd9ff4c354f324c7c426d53c77b', class: "footer-description-inner" }, h("ic-typography", { key: '484158672386c4fed447390ab0d92bfd759a9272', variant: "body" }, h("slot", { key: '4a500553fd0f76a8d4f7ef8410dbd927896561b1', name: "description" }, description)))))), isSlotUsed(el, "link") && (h("div", { key: 'ed8613714e2bf4d79cd062f55f2b716d3e0cd304', class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner", role: "list" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner", role: "list" }, h("slot", { name: "link" })))))), showComplianceSection && (h("div", { key: 'c3876f5fa89d39f28e64db1bc0fca90978102a01', class: "footer-compliance" }, h("ic-section-container", { key: '3e169ea49bcd2698b84c58f8105b0915777d8bf3', aligned: aligned, fullHeight: true }, h("div", { key: '9cfaa13eb736d3aa44b15db43221bf28bf4deb57', class: "footer-compliance-inner" }, isSlotUsed(el, "logo") && (h("div", { key: '853fdedd70405ebb2e96cec2adc6407e5ed11538', class: "footer-logo" }, h("slot", { key: '4eaaad7a4f17cd51cbdab414cdbadf3096891d38', name: "logo" }))), (isSlotUsed(el, "caption") || caption) && (h("div", { key: '44a611218c4ea0f494df1551ecb26a8687d57a95', class: "footer-caption" }, h("ic-typography", { key: 'b970144c7d85b7e05e319233be68cc91ef2d0476', variant: deviceSize <= IC_DEVICE_SIZES.M ? "caption" : "body" }, h("slot", { key: '512d173a680ddd65b3583bada7530aa67d3f1f98', name: "caption" }, caption)))), copyright && (h("div", { key: '604ac3c72ae99883f27fdb609202782f6069bfde', class: {
101
101
  ["footer-copyright"]: true,
102
102
  ["classification-spacing"]: hasClassificationBanner(),
103
- } }, h("ic-typography", { key: '0dc6200bfb89a7b34743c442f9c61829cd4b9374', variant: deviceSize <= IC_DEVICE_SIZES.M
103
+ } }, h("ic-typography", { key: '144bbc0144a865f8a55a1df5606cea9dfa87b5e8', variant: deviceSize <= IC_DEVICE_SIZES.M
104
104
  ? "caption-uppercase"
105
105
  : "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
106
106
  }
@@ -39,12 +39,12 @@ export class FooterLink {
39
39
  const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
40
40
  const { small, grouped } = footerConfig;
41
41
  const isLogoLink = !!this.el.closest("div[slot='logo']");
42
- return (h(Host, { key: 'da292a4ecbb670fb85eddac93d4e8743a7f7a5a3', class: {
42
+ return (h(Host, { key: 'b8797484e397b1a952f2df6f644c985deec5be65', class: {
43
43
  "footer-link": true,
44
44
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
45
45
  [`footer-link-${this.foregroundColor}`]: true,
46
46
  "footer-logo-link": isLogoLink,
47
- }, role: "listitem" }, h("ic-link", { key: 'ba008bce21d6a1a062d69515578c158908c4f413', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, h("slot", { key: '45d18d8d1009b438338c2153a2b59c88d6f3c320' }))));
47
+ }, role: "listitem" }, h("ic-link", { key: '1cd559f7c768a70d2bc0c92845ad6ae6761b584a', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, h("slot", { key: 'f2104f33d9651f96414a4963b30ea2e6c2414b18' }))));
48
48
  }
49
49
  static get is() { return "ic-footer-link"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -74,18 +74,18 @@ export class Hero {
74
74
  "background-position": scrollFactor,
75
75
  };
76
76
  }
77
- return (h(Host, { key: '4c88b4471d3485baff1f6c55f859639feb3166d8', class: {
77
+ return (h(Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {
78
78
  [`ic-hero-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
79
79
  ["has-background-image"]: backgroundImage !== undefined,
80
80
  ["has-right-content"]: this.rightContent,
81
81
  ["ic-hero-small"]: size === "small",
82
82
  ["secondary-heading"]: !!secondaryHeading,
83
- }, style: style }, h("ic-section-container", { key: 'b68716e353d9b2767dc16a5f701e3cdcbd32c748', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: '6dd6f422c0bd36725be4b41b42633aeebfa1911d', class: {
83
+ }, style: style }, h("ic-section-container", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {
84
84
  ["left-container"]: true,
85
85
  ["left-container-full-width"]: this.leftContentFullWidth,
86
- } }, h("div", { key: '54ffef99b79eef5eedbf1571bff89270982b5671', class: "heading" }, h("slot", { key: '6b7f71caecbaa84d1a39295e100aedef32d1d522', name: "heading" }, h("ic-typography", { key: '841b429a53b8b72dd60017cb2b2404b826f5bbe8', variant: size === "small" ? "h2" : "h1", class: {
86
+ } }, h("div", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: "heading" }, h("slot", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: "heading" }, h("ic-typography", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === "small" ? "h2" : "h1", class: {
87
87
  ["heading-bottom-spacing"]: size !== "small",
88
- } }, h("h2", { key: 'ee802d396bb8a5638f2ab8a62fddbf764436e20e' }, heading)))), h("div", { key: '9a051783a24c9a92fc0aeff2db50689befe4834e', class: "subheading" }, h("slot", { key: 'eb894eaeb4b4303be0caf090d85d487aa11284fb', name: "subheading" }, h("ic-typography", { key: '92b4d9af6118e2ff9bf2b9166862067c610fffee', variant: "body" }, subheading))), h("div", { key: 'cacf81a4666eba19211493914e9b1af466e61478', class: "interaction-container" }, h("slot", { key: '982fb4b528bea4c486d9c0df2cf47fb3ace19414', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: '32cd6196da302dd5d0896c90d53d1b35c060e31c', class: "right-container" }, h("slot", { key: '655f0a9978d8402faab43e7e143987f2934255f6', name: "secondary" }, secondaryHeading && (h("div", { key: '94de7e79fd9122b4084b57bf0b5b0571d77e7adc', class: "secondary-container" }, h("div", { key: 'afd414fd37f9b1c8fb6d9f2d7957314f35a1da40', class: "secondary-heading" }, h("ic-typography", { key: 'd643e471ec716d3e6f33ec7761027323ca31bc8c', variant: "h4" }, h("h3", { key: 'f6296bbd33d2ca70beb5100151cebfa8732206d0' }, secondaryHeading))), h("div", { key: '0575ef33984c79674626d9f114ad90a3f973e63a', class: "secondary-subheading" }, h("ic-typography", { key: '8045e445231e4cbbd07ad9fa21a7b6bbf5015eff', variant: "subtitle-small" }, secondarySubheading))))))))));
88
+ } }, h("h2", { key: '6931cd6ef37ca5ab9d01d4ca969130b9daf8d7a5' }, heading)))), h("div", { key: 'a6212993adb3a6f3e4b267825e73cbf02e3129e7', class: "subheading" }, h("slot", { key: '993071f73747a2d880a1b858f4fd6d9fec507002', name: "subheading" }, h("ic-typography", { key: 'e16fd2e61701713aa782b9d128de9187cc81edd3', variant: "body" }, subheading))), h("div", { key: '0ecd487ff2614787759eb35bdc8c6aecb385d795', class: "interaction-container" }, h("slot", { key: '653843aca5d99e5bed6d0343e31c285ca1ad7e6d', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: 'ce6b3edc98f9f112b0bde6c590e1fbf7d3b75af8', class: "right-container" }, h("slot", { key: '173399d87b56f858542b71da3105d25f639aad87', name: "secondary" }, secondaryHeading && (h("div", { key: 'a2e895801f1611c60baacde029f2c55ce36b60a3', class: "secondary-container" }, h("div", { key: 'aedd5eb54afb5f93a263cf366223257c6074b697', class: "secondary-heading" }, h("ic-typography", { key: '6ec103c17df879c443aa587c09e32bfac942c2e3', variant: "h4" }, h("h3", { key: '37623268a450894886e5ae7fe773a950a120c3cc' }, secondaryHeading))), h("div", { key: '8e0ca17e68cf68c016040827d2999635babd1c9d', class: "secondary-subheading" }, h("ic-typography", { key: '14c59d487b56af4c70a4ec37ab6091262bcc4b69', variant: "subtitle-small" }, secondarySubheading))))))))));
89
89
  }
90
90
  static get is() { return "ic-hero"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -155,22 +155,22 @@ export class HorizontalScroll {
155
155
  }
156
156
  render() {
157
157
  const { firstItemVisible, lastItemVisible, itemOverflow } = this;
158
- return (h(Host, { key: '3c307f5bddcc7b6c8ab7764d08504585f61e203d', class: {
158
+ return (h(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
159
159
  ["ic-horizontal-scroll-visible"]: itemOverflow,
160
160
  ["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum.Dark,
161
161
  ["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum.Light,
162
162
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
163
- } }, h("div", { key: 'f4bda7e5c0108e986191cde56ef8e255a80b604f', "aria-hidden": "true", class: {
163
+ } }, h("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
164
164
  ["scroll-container-left"]: true,
165
165
  ["hidden"]: !itemOverflow,
166
166
  ["disabled"]: firstItemVisible,
167
- }, role: "tab" }, h("ic-button", { key: '5eb199e69ca500c8e84e9b79cec4a3448b604c39', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
167
+ }, role: "tab" }, h("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
168
168
  ? "dark"
169
- : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: 'c939c5db95cc4b61645045ef498cc9b80c4f3d69', class: "scroll-splitter-left" })), h("slot", { key: '3ded812f11a7bbdc25157d840ee32f23ed58131b' }), h("div", { key: 'e713490eb2995ff19ec70bf0a098193eaa9829a8', "aria-hidden": "true", class: {
169
+ : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), h("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), h("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
170
170
  ["scroll-container-right"]: true,
171
171
  ["hidden"]: !itemOverflow,
172
172
  ["disabled"]: lastItemVisible,
173
- }, role: "tab" }, h("span", { key: 'a2427e872d8ab79ef0022ccb216238867e49065c', class: "scroll-splitter-right" }), h("ic-button", { key: 'a58d98e7d695fe15e3c085f1bec0079045817b2d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
173
+ }, role: "tab" }, h("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), h("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
174
174
  ? "dark"
175
175
  : "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
176
176
  }
@@ -48,15 +48,15 @@ export class InputComponentContainer {
48
48
  }
49
49
  render() {
50
50
  const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
51
- return (h(Host, { key: 'fc70461ae7d3922f07aa5a85209e376d42bfc451', class: {
51
+ return (h(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
52
52
  [`ic-input-component-container-${size}`]: true,
53
53
  [`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
54
54
  "ic-input-component-container-disabled": !!disabled,
55
55
  "ic-input-component-container-readonly": !!readonly,
56
56
  "ic-input-component-container-multiline": !!multiLine,
57
57
  "ic-input-component-container-full-width": !!fullWidth,
58
- }, "aria-disabled": disabled ? "true" : null }, h("div", { key: '20934b81740e6c907bff86cc706d3aafe3a790df', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: '3577416fc719a575372188c43a78ac945b1b1526', class: "icon-container" }, h("slot", { key: '36ee3e5c85ec77c69f88c2b74d272bdb6ee42ca1', name: "left-icon" }))), h("slot", { key: 'e0a79f50c8ba34c0d989e2402df8b00587c5878f' }), validationInline &&
59
- validationStatus === IcInformationStatus.Success && (h("span", { key: 'b156fb5bb6fcfec8c6dec6febdeea6d2adc7e009', class: "inline-success", innerHTML: successIcon })))));
58
+ }, "aria-disabled": disabled ? "true" : null }, h("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, h("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), h("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
59
+ validationStatus === IcInformationStatus.Success && (h("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
60
60
  }
61
61
  static get is() { return "ic-input-component-container"; }
62
62
  static get originalStyleUrls() {
@@ -11,11 +11,11 @@ export class InputContainer {
11
11
  this.readonly = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '49cd31d8dca09cc4b2f49e0b2e7829bb1771a5d6' }, h("div", { key: 'bb0e3a80161a86b40e0dc424264e71cf6c95c88a', class: {
14
+ return (h(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, h("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
15
15
  ["component-container"]: true,
16
16
  ["disabled"]: !!this.disabled,
17
17
  ["readonly"]: !!this.readonly,
18
- } }, h("slot", { key: '4916ff0aebd6632d6e6f5daaa3c318e1e696ff2f' }))));
18
+ } }, h("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
19
19
  }
20
20
  static get is() { return "ic-input-container"; }
21
21
  static get originalStyleUrls() {
@@ -63,11 +63,11 @@ export class InputLabel {
63
63
  "helpertext-readonly": readonly,
64
64
  };
65
65
  const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
66
- return (h(Host, { key: 'f03d8032ac769d4ecea37fe7a60e9d5acea54cd9', class: {
66
+ return (h(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
67
67
  "ic-input-label-disabled": !!disabled,
68
68
  "ic-input-label-readonly": readonly,
69
69
  "with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
70
- } }, !hideLabel && (h("ic-typography", { key: '7af61c1f2a1b9068fb9a9b649f60da1784207aa3', variant: "label", class: {
70
+ } }, !hideLabel && (h("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
71
71
  "readonly-label": readonly,
72
72
  "error-label": status === "error" && !(readonly || disabled),
73
73
  } }, readonly || !useLabelTag ? (`${labelText}`) : (h("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (h("span", { id: helperTextId, class: helperTextClass }, h("slot", { name: "helper-text" }))) : (helperText !== "" && (h("ic-typography", { variant: "caption", class: helperTextClass }, h("span", { id: helperTextId }, helperText))))));
@@ -33,13 +33,13 @@ export class InputValidation {
33
33
  render() {
34
34
  const { ariaLiveMode, fullWidth, status, message } = this;
35
35
  const displayIcon = status !== "" ? icon[status] : "";
36
- return (h(Host, { key: '2ab746f75a46252bc0755dfd28220dbe555b93b3', class: {
36
+ return (h(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {
37
37
  [`ic-input-validation-${status}`]: status !== "",
38
38
  "ic-input-validation-full-width": !!fullWidth,
39
- } }, displayIcon !== "" && (h("span", { key: 'fc02067a0c0f1e9672e190f1bd30774cd2cfcfe0', class: {
39
+ } }, displayIcon !== "" && (h("span", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {
40
40
  "status-icon": true,
41
41
  [`icon-${status}`]: true,
42
- }, innerHTML: displayIcon })), h("ic-typography", { key: 'f8d3c1d9d7f30e232ebbc827033ad318485f7c98', variant: "caption", class: "statustext" }, h("span", { key: '73b35c4a5c4dbe77fe4c71032020a0346e34fcfd', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h("slot", { key: '629f37113c9354db274019eadc9ae7140adf921a', name: "validation-message-adornment" })));
42
+ }, innerHTML: displayIcon })), h("ic-typography", { key: '7494901b17b7bb3c91167e95190c415fd06f03c9', variant: "caption", class: "statustext" }, h("span", { key: '5e7d2d4cdcef0d32d5338f25365bc9831203a9c9', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h("slot", { key: '445c0fe4b8effa3b9d98a9b240921e613ef43e24', name: "validation-message-adornment" })));
43
43
  }
44
44
  static get is() { return "ic-input-validation"; }
45
45
  static get originalStyleUrls() {
@@ -91,7 +91,7 @@ export class Link {
91
91
  }
92
92
  render() {
93
93
  const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
94
- return (h(Host, { key: '769bea68e79e8b28fb9c0ea007c24dd11968d332', class: {
94
+ return (h(Host, { key: 'bc07dfd2d7467391a9c121f1263df5d053f7a59c', class: {
95
95
  ["ic-link"]: true,
96
96
  [`ic-theme-${theme}`]: theme !== "inherit",
97
97
  ["ic-link-monochrome"]: !!monochrome,
@@ -179,23 +179,23 @@ export class LoadingIndicator {
179
179
  }
180
180
  render() {
181
181
  const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
182
- return (h(Host, { key: '8ee440b25dde3874c36eb6c70f3eaac1bf7649d1', class: {
182
+ return (h(Host, { key: 'a56bc4f2265b8697fb78fe0cb021df4f7c84b34d', class: {
183
183
  [`ic-theme-${theme}`]: theme !== "inherit",
184
184
  "ic-loading-indicator-full-width": fullWidth,
185
185
  "ic-loading-indicator-label": !!label,
186
186
  "ic-loading-indicator-monochrome": monochrome,
187
- } }, h("div", { key: '3d06914b8253b77c9df58d5c94a44442ea3f2d16', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '43a11cf45e813b5560721472c431452a761593fb', ref: (el) => (this.outerElement = el), class: {
187
+ } }, h("div", { key: '8da5f575ce68a85df03c23e256125ed968d55496', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '1a32acb1ce270a95b88a77d13591151d8a280fe8', ref: (el) => (this.outerElement = el), class: {
188
188
  [`ic-loading-${type}-outer`]: true,
189
189
  [progress === undefined ? "indeterminate" : "determinate"]: true,
190
- }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: 'a95cd8ed7e58821c8ac4001c8926d202719e63f7', ref: (el) => (this.innerElement = el), class: {
190
+ }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '0189f89d2f2f5a9f7530e1bbef1874fd52a00f87', ref: (el) => (this.innerElement = el), class: {
191
191
  [`ic-loading-${type}-inner`]: true,
192
192
  "inner-label": !!innerLabel,
193
- } }, innerLabel && size === "small" && (h("ic-typography", { key: '04b25f8cba789f316ba2db771b4a7d30eac7fe10', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: 'ff98da2b3f382ad698855d7ce1b0a553dbfadae3', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: 'b53c7477ae972370739b908141776337f277fc48', cx: x, cy: y, r: r }), h("circle", { key: 'b652351de6695c077a1f276710e0fe558ff393e4', style: {
193
+ } }, innerLabel && size === "small" && (h("ic-typography", { key: '83c67de5d281dca4c293f3d06b278eabe63ccee3', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: 'e2449654d4dcb904c56ba47f6f72cfda5bcee7f0', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: '6436f697d6e7d7e030178fc3653ec86a509c2965', cx: x, cy: y, r: r }), h("circle", { key: '19da0a067ffdd864a08a630eabff268e9bfd1c33', style: {
194
194
  "--circular-steps-max": progress ? `${max}` : undefined,
195
195
  "--progress-value": progress !== undefined ? `${progress}` : undefined,
196
196
  "--stroke-dasharray": dashArray,
197
197
  "--stroke-dashoffset": dashOffset,
198
- }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: 'b070b1975f52606aa8df8f8575859a12ab4e7982', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: 'b654d871fff4ad30b2fa7bfff7b2756f0b7475ed' }, indicatorLabel))))));
198
+ }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: 'e4d24f7e59633400c36e0e380e52ea1714c7f88f', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: 'e89f399cb0c43c4cc7dd743a201789cf50a73ed9' }, indicatorLabel))))));
199
199
  }
200
200
  static get is() { return "ic-loading-indicator"; }
201
201
  static get encapsulation() { return "shadow"; }
@@ -912,7 +912,7 @@ export class Menu {
912
912
  const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
913
913
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
914
914
  const hasNoResults = this.host.classList.contains("no-results");
915
- return (h(Host, { key: 'bce19ee8d7929f03d2de173ad6f2b639cd2fbf2c', class: {
915
+ return (h(Host, { key: '637bd569f0d987aae612c73390344c46127170ad', class: {
916
916
  "ic-menu-full-width": !!fullWidth,
917
917
  "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
918
918
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
@@ -921,7 +921,7 @@ export class Menu {
921
921
  [`ic-menu-${size}`]: true,
922
922
  "ic-menu-open": open && options.length !== 0,
923
923
  "ic-menu-multiple": multiSelect,
924
- } }, options.length !== 0 && (h("ul", { key: 'edbb9d969dd8218a45c6d012abf8964fc2acd0a7', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
924
+ } }, options.length !== 0 && (h("ul", { key: '3840de0e59bd4f2d87330cf23a6afe402870c848', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
925
925
  !keyboardNav &&
926
926
  ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
927
927
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
@@ -949,7 +949,7 @@ export class Menu {
949
949
  multiSelect &&
950
950
  !isLoading &&
951
951
  !hasTimedOut &&
952
- !hasNoResults && (h("div", { key: '317f18bd8ff88fadf840ccc5666bf7ae7a6b1e65', class: "option-bar" }, h("ic-typography", { key: '32e28e814c9c3d4ac243e2d45cb2487a99a900ba' }, h("p", { key: '6ed28e350ad356ef669b4b6b9f3d8718a7274782' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'e66e1b04732d26ebbc05751eadc49968c11ac92c', 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)))));
952
+ !hasNoResults && (h("div", { key: '7c21b91f707319eac7433c9bf84b2e07117d4a5e', class: "option-bar" }, h("ic-typography", { key: 'ebf470f1196440dbb9b7d827833866604df1273c' }, h("p", { key: '796f1746246ee7867d6244c9ab824e5e483be7d0' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'ab28ce082f7fd653fb10c7692161ad0c00653792', 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)))));
953
953
  }
954
954
  static get is() { return "ic-menu"; }
955
955
  static get encapsulation() { return "scoped"; }
@@ -3,7 +3,7 @@ import { isPropDefined } from "../../utils/helpers";
3
3
  export class MenuGroup {
4
4
  render() {
5
5
  const parentMenu = this.el.closest("ic-popover-menu");
6
- return (h(Host, { key: 'ec777b0d41cd1bb5d7751e61e702a45341f3080a', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (h("ic-typography", { key: '31d4b7ba6d46a89c8c843654a2ded8ca993b1803', variant: "subtitle-small" }, this.label)), h("span", { key: '3f1472c581431ea8c80dfc79a98b34d6ad2418f2', class: "menu-items-wrapper" }, h("slot", { key: '68c43747e9948fdec7dff7c5e0d2a69d2bc73b62' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", { key: 'b6540d15632b2d798ec6ead8d55fde5bca1e49f6' }))));
6
+ return (h(Host, { key: '4136f4cf036cf396b34c3c2000242aca5ca2eeff', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (h("ic-typography", { key: 'a0de968e792cfedeee7ddad9f4b43885241abce5', variant: "subtitle-small" }, this.label)), h("span", { key: 'e9720932e7fc8ec62b7de24fef73a58bdc4af7c1', class: "menu-items-wrapper" }, h("slot", { key: 'c5ba1104bbd9a8749aec9b78641a05159fb56b4b' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", { key: 'f8daab6f88da899054ace20e75e67f636d24c346' }))));
7
7
  }
8
8
  static get is() { return "ic-menu-group"; }
9
9
  static get encapsulation() { return "shadow"; }
@@ -105,11 +105,11 @@ export class NavigationButton {
105
105
  target,
106
106
  theme,
107
107
  };
108
- return (h(Host, { key: '6798f875b7e5ba35703800d95c76a8f0e532f09b', class: {
108
+ return (h(Host, { key: '6d5b61877075117e4e5a88b0d1edf1cf986f4bcd', class: {
109
109
  "in-side-menu": isMenuMode,
110
110
  [`ic-theme-${theme}`]: theme !== "inherit",
111
111
  dark: parentThemeDark,
112
- } }, h("ic-button", Object.assign({ key: '94bb6ce72a9f7ad8298e3244c65abefeae577891', ref: (el) => (this.buttonEl = el), class: { "popout-menu-button": isMenuMode }, "aria-label": !isMenuMode ? label : null, disableTooltip: isMenuMode, fullWidth: isMenuMode, monochrome: !isMenuMode, size: isMenuMode ? "medium" : "large", variant: isMenuMode ? "tertiary" : "icon-tertiary" }, buttonProps, inheritedAttributes), isMenuMode ? label : "", h("slot", { key: '7f9fbb6283627d5eb425067939da08f53e5295b2', slot: "left-icon", name: "icon" }), isSlotUsed(this.el, "badge") && h("slot", { key: '3b0766eaf9b37e4b1953868b667c2c1d88eaaead', name: "badge" }))));
112
+ } }, h("ic-button", Object.assign({ key: 'd1e885683fd648f260bec94656aeb818497899e2', ref: (el) => (this.buttonEl = el), class: { "popout-menu-button": isMenuMode }, "aria-label": !isMenuMode ? label : null, disableTooltip: isMenuMode, fullWidth: isMenuMode, monochrome: !isMenuMode, size: isMenuMode ? "medium" : "large", variant: isMenuMode ? "tertiary" : "icon-tertiary" }, buttonProps, inheritedAttributes), isMenuMode ? label : "", h("slot", { key: 'c3ae147f7bccd4f10f9259d442b86636c1a332ca', slot: "left-icon", name: "icon" }), isSlotUsed(this.el, "badge") && h("slot", { key: 'f5f961eb88638804430696e0e5b3424ad3b9ac6c', name: "badge" }))));
113
113
  }
114
114
  static get is() { return "ic-navigation-button"; }
115
115
  static get encapsulation() { return "shadow"; }
@@ -261,7 +261,7 @@ export class NavigationGroup {
261
261
  const isTopNav = this.navigationType === "top";
262
262
  const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
263
263
  const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
264
- return (h(Host, { key: '1c16958eaa37fb0d37d04178e7bd2d469af832f6', class: {
264
+ return (h(Host, { key: 'c9fd5c0334c5a73ed68f4e6ad29fecaead553879', class: {
265
265
  "in-side-menu": inTopNavSideMenu,
266
266
  "ic-navigation-group-expandable": expandable,
267
267
  "ic-navigation-group-side-nav": isSideNav,
@@ -197,7 +197,7 @@ export class NavigationItem {
197
197
  render() {
198
198
  const { inTopNavSideMenu, isTopNavChild, selected, navigationType, focusStyle, isInitialRender, sideNavExpanded, displayNavigationTooltip, collapsedIconLabel, isSideNavMobile, expandable, isInSideNav, theme, } = this;
199
199
  const isTopNavChildDesktop = isTopNavChild && !inTopNavSideMenu;
200
- return (h(Host, { key: 'a5e0183131fc3228cff0026de3f6ce21020abd82', class: {
200
+ return (h(Host, { key: '6d3d330011cb09ae9fd95b59f98a9d18ffc25ba0', class: {
201
201
  "navigation-item": true,
202
202
  "navigation-item-selected": !isTopNavChild && selected,
203
203
  "navigation-item-top-nav": !inTopNavSideMenu && navigationType === "top",
@@ -216,7 +216,7 @@ export class NavigationItem {
216
216
  expandable,
217
217
  [focusStyle]: isTopNavChild ? isInSideNav : !inTopNavSideMenu,
218
218
  [`ic-theme-${theme}`]: theme !== "inherit",
219
- }, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, h("ic-tooltip", { key: 'c02cac09250e3517005841deac60a95f042a4334', label: this.generateTooltipLabel(), target: "navigation-item", placement: "right", class: {
219
+ }, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, h("ic-tooltip", { key: 'af3a3de698b102182ff030ffcfb66b419d7ac857', label: this.generateTooltipLabel(), target: "navigation-item", placement: "right", class: {
220
220
  "tooltip-navigation-item": true,
221
221
  "tooltip-navigation-item-side-nav-collapsed": displayNavigationTooltip && isInSideNav,
222
222
  "tooltip-long-label-navigation-item-side-nav-expanded": this.el.hasAttribute("[display-navigation-tooltip = 'true']"),