@ukic/web-components 2.1.0-beta.0 → 2.1.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (826) hide show
  1. package/README.md +8 -0
  2. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  3. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  4. package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
  5. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  6. package/dist/cjs/{chevron-icon-d175fe66.js → chevron-icon-2645d6b0.js} +2 -2
  7. package/dist/cjs/chevron-icon-2645d6b0.js.map +1 -0
  8. package/dist/cjs/core.cjs.js +3 -3
  9. package/dist/cjs/core.cjs.js.map +1 -1
  10. package/dist/cjs/{helpers-d0eeccf0.js → helpers-6eb26e7a.js} +158 -40
  11. package/dist/cjs/helpers-6eb26e7a.js.map +1 -0
  12. package/dist/cjs/ic-alert.cjs.entry.js +6 -25
  13. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js +24 -12
  15. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js +14 -5
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-button_3.cjs.entry.js +86 -37
  21. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-card.cjs.entry.js +43 -6
  23. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  25. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-checkbox.cjs.entry.js +19 -6
  27. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-chip.cjs.entry.js +77 -0
  29. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  33. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-data-row.cjs.entry.js +14 -12
  35. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  37. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
  39. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-footer-link.cjs.entry.js +12 -5
  41. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-footer.cjs.entry.js +5 -5
  43. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  45. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +158 -0
  47. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  48. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +71 -41
  49. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
  51. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-link.cjs.entry.js +14 -8
  53. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
  55. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-navigation-group.cjs.entry.js +6 -5
  57. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-navigation-item.cjs.entry.js +18 -11
  59. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
  61. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
  63. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-radio-group.cjs.entry.js +13 -5
  65. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-radio-option.cjs.entry.js +24 -6
  67. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-search-bar.cjs.entry.js +53 -41
  69. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  71. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-select.cjs.entry.js +206 -59
  73. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-side-navigation.cjs.entry.js +24 -12
  75. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  77. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -5
  79. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-step.cjs.entry.js +103 -23
  81. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-stepper.cjs.entry.js +166 -42
  83. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-switch.cjs.entry.js +12 -3
  85. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-tab-context.cjs.entry.js +7 -2
  87. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-tab-group.cjs.entry.js +9 -118
  89. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -6
  91. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-tab.cjs.entry.js +10 -6
  93. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
  95. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-theme.cjs.entry.js +21 -13
  97. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  99. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  100. package/dist/cjs/ic-toast.cjs.entry.js +165 -0
  101. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  102. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
  103. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  105. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  106. package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +21 -2
  107. package/dist/cjs/index-f79a4e53.js.map +1 -0
  108. package/dist/cjs/loader.cjs.js +3 -3
  109. package/dist/cjs/loader.cjs.js.map +1 -1
  110. package/dist/cjs/types-3eb02246.js.map +1 -1
  111. package/dist/collection/assets/back-icon.svg +1 -1
  112. package/dist/collection/assets/check-icon.svg +1 -1
  113. package/dist/collection/assets/chevron-icon.svg +1 -1
  114. package/dist/collection/assets/dismiss-icon.svg +3 -0
  115. package/dist/collection/assets/error-icon.svg +3 -3
  116. package/dist/collection/assets/info-icon.svg +3 -3
  117. package/dist/collection/assets/neutral-icon.svg +3 -3
  118. package/dist/collection/assets/success-icon.svg +3 -3
  119. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  120. package/dist/collection/assets/warning-icon.svg +3 -3
  121. package/dist/collection/collection-manifest.json +6 -2
  122. package/dist/collection/components/ic-alert/ic-alert.css +23 -17
  123. package/dist/collection/components/ic-alert/ic-alert.js +32 -24
  124. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  125. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
  126. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +23 -7
  127. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +18 -7
  128. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  129. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +6 -0
  130. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +33 -4
  131. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  132. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  133. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  134. package/dist/collection/components/ic-button/ic-button.css +26 -14
  135. package/dist/collection/components/ic-button/ic-button.js +17 -32
  136. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  137. package/dist/collection/components/ic-card/ic-card.css +66 -17
  138. package/dist/collection/components/ic-card/ic-card.js +123 -15
  139. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  140. package/dist/collection/components/ic-checkbox/ic-checkbox.css +65 -30
  141. package/dist/collection/components/ic-checkbox/ic-checkbox.js +66 -13
  142. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  143. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
  144. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +11 -11
  145. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  146. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +1 -1
  147. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -1
  148. package/dist/collection/components/ic-chip/ic-chip.css +596 -0
  149. package/dist/collection/components/ic-chip/ic-chip.js +247 -0
  150. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  151. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js +11 -0
  152. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +1 -0
  153. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  154. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  155. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +11 -1
  156. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +6 -6
  157. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  158. package/dist/collection/components/ic-data-entity/ic-data-entity.css +7 -1
  159. package/dist/collection/components/ic-data-entity/ic-data-entity.js +2 -2
  160. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  161. package/dist/collection/components/ic-data-row/ic-data-row.css +26 -8
  162. package/dist/collection/components/ic-data-row/ic-data-row.js +14 -12
  163. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  164. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  165. package/dist/collection/components/ic-divider/ic-divider.js +1 -1
  166. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  167. package/dist/collection/components/ic-footer/ic-footer.css +10 -4
  168. package/dist/collection/components/ic-footer/ic-footer.js +19 -16
  169. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  170. package/dist/collection/components/ic-footer-link/ic-footer-link.css +35 -3
  171. package/dist/collection/components/ic-footer-link/ic-footer-link.js +101 -4
  172. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  173. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
  174. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +4 -3
  175. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  176. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +1 -1
  177. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -1
  178. package/dist/collection/components/ic-hero/ic-hero.css +35 -30
  179. package/dist/collection/components/ic-hero/ic-hero.js +10 -10
  180. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  181. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  182. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  183. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
  184. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +213 -0
  185. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  186. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
  187. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
  188. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +31 -18
  189. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +8 -8
  190. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  191. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
  192. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  193. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  194. package/dist/collection/components/ic-input-label/ic-input-label.js +8 -8
  195. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  196. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
  197. package/dist/collection/components/ic-input-validation/ic-input-validation.js +5 -5
  198. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  199. package/dist/collection/components/ic-link/ic-link.css +0 -9
  200. package/dist/collection/components/ic-link/ic-link.js +38 -11
  201. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  202. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +96 -105
  203. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +96 -16
  204. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  205. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
  206. package/dist/collection/components/ic-menu/ic-menu.css +26 -14
  207. package/dist/collection/components/ic-menu/ic-menu.js +135 -68
  208. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  209. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -8
  210. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  211. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -7
  212. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -6
  213. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  214. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +68 -18
  215. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +113 -16
  216. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  217. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +15 -11
  218. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +8 -8
  219. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  220. package/dist/collection/components/ic-page-header/ic-page-header.css +15 -5
  221. package/dist/collection/components/ic-page-header/ic-page-header.js +10 -10
  222. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  223. package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
  224. package/dist/collection/components/ic-radio-group/ic-radio-group.js +44 -13
  225. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  226. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +1 -1
  227. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -1
  228. package/dist/collection/components/ic-radio-option/ic-radio-option.css +58 -49
  229. package/dist/collection/components/ic-radio-option/ic-radio-option.js +65 -19
  230. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  231. package/dist/collection/components/ic-search-bar/ic-search-bar.css +24 -18
  232. package/dist/collection/components/ic-search-bar/ic-search-bar.js +87 -82
  233. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  234. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  235. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  236. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  237. package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
  238. package/dist/collection/components/ic-select/ic-select.css +35 -18
  239. package/dist/collection/components/ic-select/ic-select.js +320 -77
  240. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  241. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +57 -36
  242. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +39 -23
  243. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  244. package/dist/collection/components/ic-skeleton/ic-skeleton.css +8 -0
  245. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  246. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  247. package/dist/collection/components/ic-status-tag/ic-status-tag.css +15 -7
  248. package/dist/collection/components/ic-status-tag/ic-status-tag.js +22 -3
  249. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  250. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +1 -1
  251. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -1
  252. package/dist/collection/components/ic-step/ic-step.css +157 -25
  253. package/dist/collection/components/ic-step/ic-step.js +270 -36
  254. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  255. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -1
  256. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js +74 -0
  257. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +1 -0
  258. package/dist/collection/components/ic-stepper/ic-stepper.css +15 -1
  259. package/dist/collection/components/ic-stepper/ic-stepper.js +210 -40
  260. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  261. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +13 -1
  262. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -1
  263. package/dist/collection/components/ic-switch/ic-switch.css +48 -18
  264. package/dist/collection/components/ic-switch/ic-switch.js +36 -7
  265. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  266. package/dist/collection/components/ic-tab/ic-tab.css +12 -2
  267. package/dist/collection/components/ic-tab/ic-tab.js +39 -12
  268. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  269. package/dist/collection/components/ic-tab-context/ic-tab-context.js +31 -4
  270. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  271. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +1 -1
  272. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -1
  273. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  274. package/dist/collection/components/ic-tab-group/ic-tab-group.js +12 -156
  275. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  276. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +4 -0
  277. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +4 -8
  278. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  279. package/dist/collection/components/ic-text-field/ic-text-field.css +18 -7
  280. package/dist/collection/components/ic-text-field/ic-text-field.js +32 -32
  281. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  282. package/dist/collection/components/ic-theme/ic-theme.js +29 -16
  283. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  284. package/dist/collection/components/ic-toast/ic-toast.css +597 -0
  285. package/dist/collection/components/ic-toast/ic-toast.js +382 -0
  286. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  287. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
  288. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
  289. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  290. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  291. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  292. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  293. package/dist/collection/components/ic-tooltip/ic-tooltip.css +13 -9
  294. package/dist/collection/components/ic-tooltip/ic-tooltip.js +25 -2
  295. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  296. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +108 -113
  297. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +21 -15
  298. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  299. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +1 -1
  300. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -1
  301. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  302. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  303. package/dist/collection/normalize.css +440 -0
  304. package/dist/collection/testspec.setup.js +8 -0
  305. package/dist/collection/testspec.setup.js.map +1 -1
  306. package/dist/collection/utils/constants.js +37 -0
  307. package/dist/collection/utils/constants.js.map +1 -1
  308. package/dist/collection/utils/helpers.js +80 -38
  309. package/dist/collection/utils/helpers.js.map +1 -1
  310. package/dist/collection/utils/types.js.map +1 -1
  311. package/dist/components/OpenInNew.js +5 -0
  312. package/dist/components/OpenInNew.js.map +1 -0
  313. package/dist/components/check-icon.js +1 -1
  314. package/dist/components/chevron-icon.js +1 -1
  315. package/dist/components/helpers.js +147 -38
  316. package/dist/components/helpers.js.map +1 -1
  317. package/dist/components/ic-alert.js +6 -25
  318. package/dist/components/ic-alert.js.map +1 -1
  319. package/dist/components/ic-back-to-top.js +23 -11
  320. package/dist/components/ic-back-to-top.js.map +1 -1
  321. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  322. package/dist/components/ic-breadcrumb2.js +14 -4
  323. package/dist/components/ic-breadcrumb2.js.map +1 -1
  324. package/dist/components/ic-button2.js +9 -21
  325. package/dist/components/ic-button2.js.map +1 -1
  326. package/dist/components/ic-card.js +68 -7
  327. package/dist/components/ic-card.js.map +1 -1
  328. package/dist/components/ic-checkbox-group.js +4 -4
  329. package/dist/components/ic-checkbox-group.js.map +1 -1
  330. package/dist/components/ic-checkbox.js +21 -7
  331. package/dist/components/ic-checkbox.js.map +1 -1
  332. package/dist/components/ic-chip.d.ts +11 -0
  333. package/dist/components/ic-chip.js +111 -0
  334. package/dist/components/ic-chip.js.map +1 -0
  335. package/dist/components/ic-classification-banner.js +2 -2
  336. package/dist/components/ic-classification-banner.js.map +1 -1
  337. package/dist/components/ic-data-entity.js +1 -1
  338. package/dist/components/ic-data-entity.js.map +1 -1
  339. package/dist/components/ic-data-row.js +12 -10
  340. package/dist/components/ic-data-row.js.map +1 -1
  341. package/dist/components/ic-divider2.js +3 -3
  342. package/dist/components/ic-divider2.js.map +1 -1
  343. package/dist/components/ic-footer-link-group.js +5 -4
  344. package/dist/components/ic-footer-link-group.js.map +1 -1
  345. package/dist/components/ic-footer-link.js +18 -6
  346. package/dist/components/ic-footer-link.js.map +1 -1
  347. package/dist/components/ic-footer.js +5 -5
  348. package/dist/components/ic-footer.js.map +1 -1
  349. package/dist/components/ic-hero.js +3 -3
  350. package/dist/components/ic-hero.js.map +1 -1
  351. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  352. package/dist/components/ic-horizontal-scroll.js +8 -0
  353. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  354. package/dist/components/ic-horizontal-scroll2.js +199 -0
  355. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  356. package/dist/components/ic-input-component-container2.js +2 -3
  357. package/dist/components/ic-input-component-container2.js.map +1 -1
  358. package/dist/components/ic-input-container2.js +1 -1
  359. package/dist/components/ic-input-container2.js.map +1 -1
  360. package/dist/components/ic-input-label2.js +1 -1
  361. package/dist/components/ic-input-label2.js.map +1 -1
  362. package/dist/components/ic-input-validation2.js +2 -4
  363. package/dist/components/ic-input-validation2.js.map +1 -1
  364. package/dist/components/ic-link2.js +16 -9
  365. package/dist/components/ic-link2.js.map +1 -1
  366. package/dist/components/ic-loading-indicator2.js +74 -15
  367. package/dist/components/ic-loading-indicator2.js.map +1 -1
  368. package/dist/components/ic-menu2.js +66 -35
  369. package/dist/components/ic-menu2.js.map +1 -1
  370. package/dist/components/ic-navigation-button.js +6 -5
  371. package/dist/components/ic-navigation-button.js.map +1 -1
  372. package/dist/components/ic-navigation-group.js +6 -5
  373. package/dist/components/ic-navigation-group.js.map +1 -1
  374. package/dist/components/ic-navigation-item.js +23 -11
  375. package/dist/components/ic-navigation-item.js.map +1 -1
  376. package/dist/components/ic-navigation-menu2.js +8 -8
  377. package/dist/components/ic-navigation-menu2.js.map +1 -1
  378. package/dist/components/ic-page-header.js +30 -6
  379. package/dist/components/ic-page-header.js.map +1 -1
  380. package/dist/components/ic-radio-group.js +14 -5
  381. package/dist/components/ic-radio-group.js.map +1 -1
  382. package/dist/components/ic-radio-option.js +26 -7
  383. package/dist/components/ic-radio-option.js.map +1 -1
  384. package/dist/components/ic-search-bar.js +56 -43
  385. package/dist/components/ic-search-bar.js.map +1 -1
  386. package/dist/components/ic-section-container2.js +1 -1
  387. package/dist/components/ic-section-container2.js.map +1 -1
  388. package/dist/components/ic-select.js +212 -59
  389. package/dist/components/ic-select.js.map +1 -1
  390. package/dist/components/ic-side-navigation.js +23 -11
  391. package/dist/components/ic-side-navigation.js.map +1 -1
  392. package/dist/components/ic-skeleton.js +1 -1
  393. package/dist/components/ic-skeleton.js.map +1 -1
  394. package/dist/components/ic-status-tag.js +6 -4
  395. package/dist/components/ic-status-tag.js.map +1 -1
  396. package/dist/components/ic-step.js +117 -23
  397. package/dist/components/ic-step.js.map +1 -1
  398. package/dist/components/ic-stepper.js +173 -42
  399. package/dist/components/ic-stepper.js.map +1 -1
  400. package/dist/components/ic-switch.js +14 -4
  401. package/dist/components/ic-switch.js.map +1 -1
  402. package/dist/components/ic-tab-context.js +6 -1
  403. package/dist/components/ic-tab-context.js.map +1 -1
  404. package/dist/components/ic-tab-group.js +30 -125
  405. package/dist/components/ic-tab-group.js.map +1 -1
  406. package/dist/components/ic-tab-panel.js +1 -5
  407. package/dist/components/ic-tab-panel.js.map +1 -1
  408. package/dist/components/ic-tab.js +11 -6
  409. package/dist/components/ic-tab.js.map +1 -1
  410. package/dist/components/ic-text-field2.js +6 -6
  411. package/dist/components/ic-text-field2.js.map +1 -1
  412. package/dist/components/ic-theme.js +20 -12
  413. package/dist/components/ic-theme.js.map +1 -1
  414. package/dist/components/ic-toast-region.d.ts +11 -0
  415. package/dist/components/ic-toast-region.js +63 -0
  416. package/dist/components/ic-toast-region.js.map +1 -0
  417. package/dist/components/ic-toast.d.ts +11 -0
  418. package/dist/components/ic-toast.js +214 -0
  419. package/dist/components/ic-toast.js.map +1 -0
  420. package/dist/components/ic-tooltip2.js +10 -4
  421. package/dist/components/ic-tooltip2.js.map +1 -1
  422. package/dist/components/ic-top-navigation.js +23 -12
  423. package/dist/components/ic-top-navigation.js.map +1 -1
  424. package/dist/components/ic-typography2.js.map +1 -1
  425. package/dist/components/index.d.ts +5 -1
  426. package/dist/components/index.js +4 -0
  427. package/dist/components/index.js.map +1 -1
  428. package/dist/components/types.js.map +1 -1
  429. package/dist/core/core.css +13 -13
  430. package/dist/core/core.esm.js +1 -1
  431. package/dist/core/core.esm.js.map +1 -1
  432. package/dist/core/normalize.css +440 -0
  433. package/dist/core/p-1724000c.js +2 -0
  434. package/dist/core/p-1724000c.js.map +1 -0
  435. package/dist/core/p-18ae4b6d.entry.js +2 -0
  436. package/dist/core/p-18ae4b6d.entry.js.map +1 -0
  437. package/dist/core/p-18bf3cb0.entry.js +2 -0
  438. package/dist/core/p-18bf3cb0.entry.js.map +1 -0
  439. package/dist/core/p-24240e11.js +2 -0
  440. package/dist/core/p-284970bc.entry.js +2 -0
  441. package/dist/core/p-284970bc.entry.js.map +1 -0
  442. package/dist/core/p-31a595c1.entry.js +2 -0
  443. package/dist/core/p-31a595c1.entry.js.map +1 -0
  444. package/dist/core/{p-972f4e69.entry.js → p-35a03442.entry.js} +2 -2
  445. package/dist/core/p-35a03442.entry.js.map +1 -0
  446. package/dist/core/p-360adc51.entry.js +2 -0
  447. package/dist/core/p-360adc51.entry.js.map +1 -0
  448. package/dist/core/p-3dda76db.entry.js +2 -0
  449. package/dist/core/p-3dda76db.entry.js.map +1 -0
  450. package/dist/core/p-41e239cb.entry.js +2 -0
  451. package/dist/core/p-41e239cb.entry.js.map +1 -0
  452. package/dist/core/p-44c9612c.entry.js +2 -0
  453. package/dist/core/p-44c9612c.entry.js.map +1 -0
  454. package/dist/core/p-4a73728b.entry.js +2 -0
  455. package/dist/core/p-4a73728b.entry.js.map +1 -0
  456. package/dist/core/p-521be4e2.entry.js +2 -0
  457. package/dist/core/p-521be4e2.entry.js.map +1 -0
  458. package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
  459. package/dist/core/p-5450cebf.js.map +1 -0
  460. package/dist/core/p-5b083ce5.entry.js +2 -0
  461. package/dist/core/p-5b083ce5.entry.js.map +1 -0
  462. package/dist/core/p-62b3516e.entry.js +2 -0
  463. package/dist/core/p-62b3516e.entry.js.map +1 -0
  464. package/dist/core/{p-3c6defd7.entry.js → p-691ea0f2.entry.js} +2 -2
  465. package/dist/core/p-691ea0f2.entry.js.map +1 -0
  466. package/dist/core/p-6a397882.entry.js +2 -0
  467. package/dist/core/p-6a397882.entry.js.map +1 -0
  468. package/dist/core/p-6f57b13c.js.map +1 -1
  469. package/dist/core/p-7818d958.entry.js +2 -0
  470. package/dist/core/p-7818d958.entry.js.map +1 -0
  471. package/dist/core/p-7a0bf893.entry.js +2 -0
  472. package/dist/core/p-7a0bf893.entry.js.map +1 -0
  473. package/dist/core/p-7a9bc7f2.entry.js +2 -0
  474. package/dist/core/p-7a9bc7f2.entry.js.map +1 -0
  475. package/dist/core/{p-eb33ece2.entry.js → p-7fd50355.entry.js} +2 -2
  476. package/dist/core/p-7fd50355.entry.js.map +1 -0
  477. package/dist/core/p-897e967a.entry.js +2 -0
  478. package/dist/core/p-897e967a.entry.js.map +1 -0
  479. package/dist/core/p-8c7f4343.js +2 -0
  480. package/dist/core/p-8d4f7027.js +2 -0
  481. package/dist/core/p-8f1176c6.entry.js +2 -0
  482. package/dist/core/p-8f1176c6.entry.js.map +1 -0
  483. package/dist/core/{p-9c1f2861.entry.js → p-8ffa00c9.entry.js} +2 -2
  484. package/dist/core/p-8ffa00c9.entry.js.map +1 -0
  485. package/dist/core/p-91a8db51.entry.js +2 -0
  486. package/dist/core/p-91a8db51.entry.js.map +1 -0
  487. package/dist/core/p-a09d853e.entry.js +2 -0
  488. package/dist/core/p-a09d853e.entry.js.map +1 -0
  489. package/dist/core/p-a10da430.entry.js +2 -0
  490. package/dist/core/p-a10da430.entry.js.map +1 -0
  491. package/dist/core/p-a667e329.entry.js +2 -0
  492. package/dist/core/p-a667e329.entry.js.map +1 -0
  493. package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
  494. package/dist/core/p-ad2477d8.entry.js.map +1 -0
  495. package/dist/core/p-b35ae170.entry.js +2 -0
  496. package/dist/core/p-b35ae170.entry.js.map +1 -0
  497. package/dist/core/p-b40bd77c.entry.js +2 -0
  498. package/dist/core/p-b40bd77c.entry.js.map +1 -0
  499. package/dist/core/p-b4234318.entry.js +2 -0
  500. package/dist/core/p-b4234318.entry.js.map +1 -0
  501. package/dist/core/{p-0d63bfe4.entry.js → p-ba8d6c23.entry.js} +2 -2
  502. package/dist/core/p-ba8d6c23.entry.js.map +1 -0
  503. package/dist/core/p-bd819f68.entry.js +2 -0
  504. package/dist/core/p-bd819f68.entry.js.map +1 -0
  505. package/dist/core/p-c4a7c734.entry.js +2 -0
  506. package/dist/core/p-c4a7c734.entry.js.map +1 -0
  507. package/dist/core/p-c72e4b75.entry.js +2 -0
  508. package/dist/core/p-c72e4b75.entry.js.map +1 -0
  509. package/dist/core/p-c7b86643.entry.js +2 -0
  510. package/dist/core/p-c7b86643.entry.js.map +1 -0
  511. package/dist/core/p-c7c5d2c5.entry.js +2 -0
  512. package/dist/core/p-c7c5d2c5.entry.js.map +1 -0
  513. package/dist/core/p-c8f07be6.entry.js +2 -0
  514. package/dist/core/p-c8f07be6.entry.js.map +1 -0
  515. package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
  516. package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +1 -1
  517. package/dist/core/p-cccbf2bf.entry.js +2 -0
  518. package/dist/core/p-cccbf2bf.entry.js.map +1 -0
  519. package/dist/core/{p-0992a2ee.entry.js → p-d2508752.entry.js} +2 -2
  520. package/dist/core/p-d2508752.entry.js.map +1 -0
  521. package/dist/core/p-d37b9695.entry.js +2 -0
  522. package/dist/core/p-d37b9695.entry.js.map +1 -0
  523. package/dist/core/p-d86b0d0e.entry.js +2 -0
  524. package/dist/core/p-d86b0d0e.entry.js.map +1 -0
  525. package/dist/core/p-dea3d5f0.entry.js +2 -0
  526. package/dist/core/p-dea3d5f0.entry.js.map +1 -0
  527. package/dist/core/p-e0d88c31.entry.js +2 -0
  528. package/dist/core/p-e0d88c31.entry.js.map +1 -0
  529. package/dist/core/p-e9202767.entry.js +2 -0
  530. package/dist/core/p-e9202767.entry.js.map +1 -0
  531. package/dist/core/p-eba373bf.entry.js +2 -0
  532. package/dist/core/p-eba373bf.entry.js.map +1 -0
  533. package/dist/core/p-ed6cf9b9.entry.js +2 -0
  534. package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
  535. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  536. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  537. package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
  538. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  539. package/dist/esm/chevron-icon-98c98242.js +8 -0
  540. package/dist/esm/chevron-icon-98c98242.js.map +1 -0
  541. package/dist/esm/core.js +3 -3
  542. package/dist/esm/core.js.map +1 -1
  543. package/dist/esm/{helpers-e090fe7e.js → helpers-c332acf8.js} +148 -39
  544. package/dist/esm/helpers-c332acf8.js.map +1 -0
  545. package/dist/esm/ic-alert.entry.js +6 -25
  546. package/dist/esm/ic-alert.entry.js.map +1 -1
  547. package/dist/esm/ic-back-to-top.entry.js +24 -12
  548. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  549. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  550. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  551. package/dist/esm/ic-breadcrumb.entry.js +14 -5
  552. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  553. package/dist/esm/ic-button_3.entry.js +86 -37
  554. package/dist/esm/ic-button_3.entry.js.map +1 -1
  555. package/dist/esm/ic-card.entry.js +43 -6
  556. package/dist/esm/ic-card.entry.js.map +1 -1
  557. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  558. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  559. package/dist/esm/ic-checkbox.entry.js +19 -6
  560. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  561. package/dist/esm/ic-chip.entry.js +73 -0
  562. package/dist/esm/ic-chip.entry.js.map +1 -0
  563. package/dist/esm/ic-classification-banner.entry.js +3 -3
  564. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  565. package/dist/esm/ic-data-entity.entry.js +2 -2
  566. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  567. package/dist/esm/ic-data-row.entry.js +14 -12
  568. package/dist/esm/ic-data-row.entry.js.map +1 -1
  569. package/dist/esm/ic-divider.entry.js +3 -3
  570. package/dist/esm/ic-divider.entry.js.map +1 -1
  571. package/dist/esm/ic-footer-link-group.entry.js +4 -3
  572. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  573. package/dist/esm/ic-footer-link.entry.js +12 -5
  574. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  575. package/dist/esm/ic-footer.entry.js +5 -5
  576. package/dist/esm/ic-footer.entry.js.map +1 -1
  577. package/dist/esm/ic-hero.entry.js +3 -3
  578. package/dist/esm/ic-hero.entry.js.map +1 -1
  579. package/dist/esm/ic-horizontal-scroll.entry.js +154 -0
  580. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  581. package/dist/esm/ic-input-component-container_3.entry.js +70 -40
  582. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  583. package/dist/esm/ic-input-label_2.entry.js +3 -5
  584. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  585. package/dist/esm/ic-link.entry.js +13 -7
  586. package/dist/esm/ic-link.entry.js.map +1 -1
  587. package/dist/esm/ic-navigation-button.entry.js +5 -4
  588. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  589. package/dist/esm/ic-navigation-group.entry.js +6 -5
  590. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  591. package/dist/esm/ic-navigation-item.entry.js +18 -11
  592. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  593. package/dist/esm/ic-navigation-menu.entry.js +8 -8
  594. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  595. package/dist/esm/ic-page-header.entry.js +5 -5
  596. package/dist/esm/ic-page-header.entry.js.map +1 -1
  597. package/dist/esm/ic-radio-group.entry.js +13 -5
  598. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  599. package/dist/esm/ic-radio-option.entry.js +24 -6
  600. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  601. package/dist/esm/ic-search-bar.entry.js +53 -41
  602. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  603. package/dist/esm/ic-section-container.entry.js +2 -2
  604. package/dist/esm/ic-section-container.entry.js.map +1 -1
  605. package/dist/esm/ic-select.entry.js +206 -59
  606. package/dist/esm/ic-select.entry.js.map +1 -1
  607. package/dist/esm/ic-side-navigation.entry.js +24 -12
  608. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  609. package/dist/esm/ic-skeleton.entry.js +2 -2
  610. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  611. package/dist/esm/ic-status-tag.entry.js +6 -5
  612. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  613. package/dist/esm/ic-step.entry.js +103 -23
  614. package/dist/esm/ic-step.entry.js.map +1 -1
  615. package/dist/esm/ic-stepper.entry.js +166 -42
  616. package/dist/esm/ic-stepper.entry.js.map +1 -1
  617. package/dist/esm/ic-switch.entry.js +12 -3
  618. package/dist/esm/ic-switch.entry.js.map +1 -1
  619. package/dist/esm/ic-tab-context.entry.js +7 -2
  620. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  621. package/dist/esm/ic-tab-group.entry.js +9 -118
  622. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  623. package/dist/esm/ic-tab-panel.entry.js +2 -6
  624. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  625. package/dist/esm/ic-tab.entry.js +10 -6
  626. package/dist/esm/ic-tab.entry.js.map +1 -1
  627. package/dist/esm/ic-text-field.entry.js +5 -5
  628. package/dist/esm/ic-text-field.entry.js.map +1 -1
  629. package/dist/esm/ic-theme.entry.js +21 -13
  630. package/dist/esm/ic-theme.entry.js.map +1 -1
  631. package/dist/esm/ic-toast-region.entry.js +44 -0
  632. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  633. package/dist/esm/ic-toast.entry.js +161 -0
  634. package/dist/esm/ic-toast.entry.js.map +1 -0
  635. package/dist/esm/ic-top-navigation.entry.js +15 -10
  636. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  637. package/dist/esm/ic-typography.entry.js +1 -1
  638. package/dist/esm/ic-typography.entry.js.map +1 -1
  639. package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +21 -2
  640. package/dist/esm/index-90721b3c.js.map +1 -0
  641. package/dist/esm/loader.js +3 -3
  642. package/dist/esm/loader.js.map +1 -1
  643. package/dist/esm/types-dd515332.js.map +1 -1
  644. package/dist/types/components/ic-alert/ic-alert.d.ts +14 -10
  645. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -0
  646. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  647. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  648. package/dist/types/components/ic-button/ic-button.d.ts +11 -14
  649. package/dist/types/components/ic-card/ic-card.d.ts +35 -10
  650. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +18 -10
  651. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +9 -9
  652. package/dist/types/components/ic-chip/ic-chip.d.ts +48 -0
  653. package/dist/types/components/ic-chip/ic-chip.test.a11y.d.ts +1 -0
  654. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -0
  655. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +5 -5
  656. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +2 -2
  657. package/dist/types/components/ic-data-row/ic-data-row.d.ts +3 -3
  658. package/dist/types/components/ic-footer/ic-footer.d.ts +12 -12
  659. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +20 -0
  660. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  661. package/dist/types/components/ic-hero/ic-hero.d.ts +9 -9
  662. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
  663. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  664. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +8 -8
  665. package/dist/types/components/ic-input-container/ic-input-container.d.ts +2 -2
  666. package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -8
  667. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +5 -5
  668. package/dist/types/components/ic-link/ic-link.d.ts +10 -7
  669. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +15 -4
  670. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +5 -0
  671. package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
  672. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +6 -6
  673. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -3
  674. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +28 -8
  675. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -2
  676. package/dist/types/components/ic-page-header/ic-page-header.d.ts +10 -8
  677. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +15 -11
  678. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +17 -11
  679. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +31 -30
  680. package/dist/types/components/ic-section-container/ic-section-container.d.ts +2 -2
  681. package/dist/types/components/ic-select/ic-select.d.ts +68 -23
  682. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +13 -12
  683. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +2 -2
  684. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -1
  685. package/dist/types/components/ic-step/ic-step.d.ts +37 -9
  686. package/dist/types/components/ic-step/ic-step.types.d.ts +2 -0
  687. package/dist/types/components/ic-stepper/ic-stepper-test-examples.d.ts +4 -0
  688. package/dist/types/components/ic-stepper/ic-stepper.d.ts +23 -6
  689. package/dist/types/components/ic-switch/ic-switch.d.ts +11 -7
  690. package/dist/types/components/ic-tab/ic-tab.d.ts +10 -7
  691. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +8 -4
  692. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -33
  693. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +3 -4
  694. package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
  695. package/dist/types/components/ic-theme/ic-theme.d.ts +5 -4
  696. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  697. package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
  698. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  699. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  700. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
  701. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +7 -6
  702. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  703. package/dist/types/components.d.ts +937 -562
  704. package/dist/types/interface.d.ts +0 -1
  705. package/dist/types/testspec.setup.d.ts +1 -0
  706. package/dist/types/utils/constants.d.ts +24 -0
  707. package/dist/types/utils/helpers.d.ts +17 -3
  708. package/dist/types/utils/types.d.ts +6 -0
  709. package/hydrate/index.d.ts +1 -1
  710. package/hydrate/index.js +1768 -667
  711. package/package.json +9 -6
  712. package/dist/cjs/check-icon-999d9877.js.map +0 -1
  713. package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
  714. package/dist/cjs/error-icon-99504103.js +0 -18
  715. package/dist/cjs/error-icon-99504103.js.map +0 -1
  716. package/dist/cjs/helpers-d0eeccf0.js.map +0 -1
  717. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  718. package/dist/cjs/success-icon-887b2097.js +0 -11
  719. package/dist/cjs/success-icon-887b2097.js.map +0 -1
  720. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  721. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  722. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  723. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  724. package/dist/components/error-icon.js +0 -15
  725. package/dist/components/error-icon.js.map +0 -1
  726. package/dist/components/success-icon.js +0 -9
  727. package/dist/components/success-icon.js.map +0 -1
  728. package/dist/core/p-037273aa.entry.js +0 -2
  729. package/dist/core/p-037273aa.entry.js.map +0 -1
  730. package/dist/core/p-0992a2ee.entry.js.map +0 -1
  731. package/dist/core/p-0d63bfe4.entry.js.map +0 -1
  732. package/dist/core/p-12e113bf.entry.js +0 -2
  733. package/dist/core/p-12e113bf.entry.js.map +0 -1
  734. package/dist/core/p-155114db.entry.js +0 -2
  735. package/dist/core/p-155114db.entry.js.map +0 -1
  736. package/dist/core/p-17d0d631.entry.js +0 -2
  737. package/dist/core/p-17d0d631.entry.js.map +0 -1
  738. package/dist/core/p-1b619302.entry.js +0 -2
  739. package/dist/core/p-1b619302.entry.js.map +0 -1
  740. package/dist/core/p-1e7b4310.js +0 -2
  741. package/dist/core/p-2177dae2.entry.js +0 -2
  742. package/dist/core/p-2177dae2.entry.js.map +0 -1
  743. package/dist/core/p-378a7270.entry.js +0 -2
  744. package/dist/core/p-378a7270.entry.js.map +0 -1
  745. package/dist/core/p-3c6defd7.entry.js.map +0 -1
  746. package/dist/core/p-40d3fd89.entry.js +0 -2
  747. package/dist/core/p-40d3fd89.entry.js.map +0 -1
  748. package/dist/core/p-48029498.entry.js +0 -2
  749. package/dist/core/p-48029498.entry.js.map +0 -1
  750. package/dist/core/p-50a0f1a0.entry.js +0 -2
  751. package/dist/core/p-50a0f1a0.entry.js.map +0 -1
  752. package/dist/core/p-54b77947.entry.js +0 -2
  753. package/dist/core/p-54b77947.entry.js.map +0 -1
  754. package/dist/core/p-59041cfc.entry.js +0 -2
  755. package/dist/core/p-59041cfc.entry.js.map +0 -1
  756. package/dist/core/p-5977c1e0.entry.js +0 -2
  757. package/dist/core/p-5977c1e0.entry.js.map +0 -1
  758. package/dist/core/p-6009c5bc.entry.js +0 -2
  759. package/dist/core/p-6009c5bc.entry.js.map +0 -1
  760. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  761. package/dist/core/p-7577c6a3.entry.js +0 -2
  762. package/dist/core/p-7577c6a3.entry.js.map +0 -1
  763. package/dist/core/p-8054c2c0.entry.js +0 -2
  764. package/dist/core/p-8054c2c0.entry.js.map +0 -1
  765. package/dist/core/p-89d46b9b.entry.js +0 -2
  766. package/dist/core/p-89d46b9b.entry.js.map +0 -1
  767. package/dist/core/p-972f4e69.entry.js.map +0 -1
  768. package/dist/core/p-9a3d6bca.entry.js +0 -2
  769. package/dist/core/p-9a3d6bca.entry.js.map +0 -1
  770. package/dist/core/p-9c1f2861.entry.js.map +0 -1
  771. package/dist/core/p-9db8edb7.entry.js +0 -2
  772. package/dist/core/p-9db8edb7.entry.js.map +0 -1
  773. package/dist/core/p-9e1f450f.entry.js +0 -2
  774. package/dist/core/p-9e1f450f.entry.js.map +0 -1
  775. package/dist/core/p-a183353c.entry.js +0 -2
  776. package/dist/core/p-a183353c.entry.js.map +0 -1
  777. package/dist/core/p-a6715f61.entry.js +0 -2
  778. package/dist/core/p-a6715f61.entry.js.map +0 -1
  779. package/dist/core/p-a9237c61.entry.js +0 -2
  780. package/dist/core/p-a9237c61.entry.js.map +0 -1
  781. package/dist/core/p-aad5da60.entry.js +0 -2
  782. package/dist/core/p-aad5da60.entry.js.map +0 -1
  783. package/dist/core/p-ae6aa67f.js +0 -2
  784. package/dist/core/p-af6a41bd.entry.js +0 -2
  785. package/dist/core/p-af6a41bd.entry.js.map +0 -1
  786. package/dist/core/p-bf4ddf33.entry.js +0 -2
  787. package/dist/core/p-bf4ddf33.entry.js.map +0 -1
  788. package/dist/core/p-bf5717ca.js +0 -2
  789. package/dist/core/p-bfa9392f.entry.js +0 -2
  790. package/dist/core/p-bfa9392f.entry.js.map +0 -1
  791. package/dist/core/p-c023c49c.entry.js +0 -2
  792. package/dist/core/p-c023c49c.entry.js.map +0 -1
  793. package/dist/core/p-c96adfd7.entry.js +0 -2
  794. package/dist/core/p-c96adfd7.entry.js.map +0 -1
  795. package/dist/core/p-d38168f0.entry.js +0 -2
  796. package/dist/core/p-d38168f0.entry.js.map +0 -1
  797. package/dist/core/p-d61c2983.entry.js +0 -2
  798. package/dist/core/p-d61c2983.entry.js.map +0 -1
  799. package/dist/core/p-db6566c0.entry.js +0 -2
  800. package/dist/core/p-db6566c0.entry.js.map +0 -1
  801. package/dist/core/p-e28af65b.js +0 -2
  802. package/dist/core/p-e28af65b.js.map +0 -1
  803. package/dist/core/p-eb33ece2.entry.js.map +0 -1
  804. package/dist/core/p-ee3a9fd0.entry.js +0 -2
  805. package/dist/core/p-ee3a9fd0.entry.js.map +0 -1
  806. package/dist/core/p-ef59f111.entry.js +0 -2
  807. package/dist/core/p-ef59f111.entry.js.map +0 -1
  808. package/dist/core/p-f228c232.js +0 -2
  809. package/dist/core/p-f228c232.js.map +0 -1
  810. package/dist/core/p-f9370be6.js.map +0 -1
  811. package/dist/core/p-fce4b26b.entry.js +0 -2
  812. package/dist/core/p-fce4b26b.entry.js.map +0 -1
  813. package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
  814. package/dist/esm/chevron-icon-5b38c60a.js +0 -8
  815. package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
  816. package/dist/esm/error-icon-6046a380.js +0 -15
  817. package/dist/esm/error-icon-6046a380.js.map +0 -1
  818. package/dist/esm/helpers-e090fe7e.js.map +0 -1
  819. package/dist/esm/index-1500de1f.js.map +0 -1
  820. package/dist/esm/success-icon-2f71b115.js +0 -9
  821. package/dist/esm/success-icon-2f71b115.js.map +0 -1
  822. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  823. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  824. /package/dist/core/{p-1e7b4310.js.map → p-24240e11.js.map} +0 -0
  825. /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
  826. /package/dist/core/{p-bf5717ca.js.map → p-8d4f7027.js.map} +0 -0
@@ -59,7 +59,7 @@ export class InputValidation {
59
59
  "optional": false,
60
60
  "docs": {
61
61
  "tags": [],
62
- "text": "The validation message to display"
62
+ "text": "The validation message to display."
63
63
  },
64
64
  "attribute": "message",
65
65
  "reflect": false
@@ -76,7 +76,7 @@ export class InputValidation {
76
76
  "optional": false,
77
77
  "docs": {
78
78
  "tags": [],
79
- "text": "The id of the input field the message relates to"
79
+ "text": "The ID of the form element the validation is bound to."
80
80
  },
81
81
  "attribute": "for",
82
82
  "reflect": false
@@ -98,7 +98,7 @@ export class InputValidation {
98
98
  "optional": false,
99
99
  "docs": {
100
100
  "tags": [],
101
- "text": "The status"
101
+ "text": "The status of the validation - e.g. 'error' | 'warning' | 'success'."
102
102
  },
103
103
  "attribute": "status",
104
104
  "reflect": false,
@@ -116,7 +116,7 @@ export class InputValidation {
116
116
  "optional": false,
117
117
  "docs": {
118
118
  "tags": [],
119
- "text": "If true then fill width of container"
119
+ "text": "If `true`, the input validation will fill the width of the container."
120
120
  },
121
121
  "attribute": "full-width",
122
122
  "reflect": false,
@@ -139,7 +139,7 @@ export class InputValidation {
139
139
  "optional": false,
140
140
  "docs": {
141
141
  "tags": [],
142
- "text": "aria live mode to apply to message"
142
+ "text": "The ARIA live mode to apply to the message."
143
143
  },
144
144
  "attribute": "aria-live-mode",
145
145
  "reflect": false,
@@ -1 +1 @@
1
- {"version":3,"file":"ic-input-validation.js","sourceRoot":"","sources":["../../../src/components/ic-input-validation/ic-input-validation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EACL,mBAAmB,GAEpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,WAAW,MAAM,+BAA+B,CAAC;AAExD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAG7B,MAAM,IAAI,GAAG;EACX,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,WAAW;EAC1C,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,SAAS;EACtC,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,WAAW;CAC3C,CAAC;AAEF;;GAEG;AAKH,MAAM,OAAO,eAAe;;;;kBAcmB,EAAE;qBAIlB,KAAK;wBAIa,QAAQ;;EAEvD,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAC7C,kBAAkB,CACnB,CAAC;EACJ,CAAC;EAED,MAAM;IACJ,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,EAAE,GAAG,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9C,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,KAAK,EAAE;QACjC,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,SAAS;OAC9B;MAEA,WAAW,KAAK,EAAE,IAAI,CACrB,YACE,KAAK,EAAE;UACL,CAAC,aAAa,CAAC,EAAE,IAAI;UACrB,CAAC,QAAQ,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI;SAC9B,EACD,SAAS,EAAE,WAAW,GACtB,CACH;MAED,qBAAe,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,YAAY;QACjD,yBAAiB,IAAI,CAAC,YAAY,EAAE,EAAE,EAAE,EAAE,IACvC,IAAI,CAAC,OAAO,CACR,CACO;MAEhB,YAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC5C,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Element, Component, Host, Prop, h } from \"@stencil/core\";\n\nimport {\n IcInformationStatus,\n IcInformationStatusOrEmpty,\n} from \"../../utils/types\";\nimport errorIcon from \"../../assets/error-icon.svg\";\nimport successIcon from \"../../assets/success-icon.svg\";\nimport warningIcon from \"../../assets/warning-icon.svg\";\n\nimport {\n getInputValidationTextID,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcAriaLiveModeVariants } from \"./ic-input-validation.types\";\n\nconst icon = {\n [IcInformationStatus.Warning]: warningIcon,\n [IcInformationStatus.Error]: errorIcon,\n [IcInformationStatus.Success]: successIcon,\n};\n\n/**\n * @slot validation-message-adornment - Content will be placed to the right of the validation message.\n */\n@Component({\n tag: \"ic-input-validation\",\n styleUrl: \"ic-input-validation.css\",\n})\nexport class InputValidation {\n @Element() el: HTMLIcInputValidationElement;\n\n /**\n * The validation message to display\n */\n @Prop() message!: string;\n /**\n * The id of the input field the message relates to\n */\n @Prop() for: string;\n /**\n * The status\n */\n @Prop() status: IcInformationStatusOrEmpty = \"\";\n /**\n * If true then fill width of container\n */\n @Prop() fullWidth: boolean = false;\n /**\n * aria live mode to apply to message\n */\n @Prop() ariaLiveMode: IcAriaLiveModeVariants = \"polite\";\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.message, propName: \"message\" }],\n \"Input Validation\"\n );\n }\n\n render() {\n const displayIcon = this.status !== \"\" ? icon[this.status] : \"\";\n const id = getInputValidationTextID(this.for);\n return (\n <Host\n class={{\n [this.status]: this.status !== \"\",\n [\"fullwidth\"]: this.fullWidth,\n }}\n >\n {displayIcon !== \"\" && (\n <span\n class={{\n [\"status-icon\"]: true,\n [`icon-${this.status}`]: true,\n }}\n innerHTML={displayIcon}\n />\n )}\n\n <ic-typography variant=\"caption\" class=\"statustext\">\n <span aria-live={this.ariaLiveMode} id={id}>\n {this.message}\n </span>\n </ic-typography>\n\n <slot name=\"validation-message-adornment\"></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-input-validation.js","sourceRoot":"","sources":["../../../src/components/ic-input-validation/ic-input-validation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EACL,mBAAmB,GAEpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,WAAW,MAAM,+BAA+B,CAAC;AAExD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAG7B,MAAM,IAAI,GAAG;EACX,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,WAAW;EAC1C,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,SAAS;EACtC,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,WAAW;CAC3C,CAAC;AAEF;;GAEG;AAKH,MAAM,OAAO,eAAe;;;;kBAcmB,EAAE;qBAIlB,KAAK;wBAIa,QAAQ;;EAEvD,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAC7C,kBAAkB,CACnB,CAAC;EACJ,CAAC;EAED,MAAM;IACJ,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,EAAE,GAAG,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9C,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,KAAK,EAAE;QACjC,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,SAAS;OAC9B;MAEA,WAAW,KAAK,EAAE,IAAI,CACrB,YACE,KAAK,EAAE;UACL,CAAC,aAAa,CAAC,EAAE,IAAI;UACrB,CAAC,QAAQ,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI;SAC9B,EACD,SAAS,EAAE,WAAW,GACtB,CACH;MAED,qBAAe,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,YAAY;QACjD,yBAAiB,IAAI,CAAC,YAAY,EAAE,EAAE,EAAE,EAAE,IACvC,IAAI,CAAC,OAAO,CACR,CACO;MAEhB,YAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC5C,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Element, Component, Host, Prop, h } from \"@stencil/core\";\n\nimport {\n IcInformationStatus,\n IcInformationStatusOrEmpty,\n} from \"../../utils/types\";\nimport errorIcon from \"../../assets/error-icon.svg\";\nimport successIcon from \"../../assets/success-icon.svg\";\nimport warningIcon from \"../../assets/warning-icon.svg\";\n\nimport {\n getInputValidationTextID,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcAriaLiveModeVariants } from \"./ic-input-validation.types\";\n\nconst icon = {\n [IcInformationStatus.Warning]: warningIcon,\n [IcInformationStatus.Error]: errorIcon,\n [IcInformationStatus.Success]: successIcon,\n};\n\n/**\n * @slot validation-message-adornment - Content will be placed to the right of the validation message.\n */\n@Component({\n tag: \"ic-input-validation\",\n styleUrl: \"ic-input-validation.css\",\n})\nexport class InputValidation {\n @Element() el: HTMLIcInputValidationElement;\n\n /**\n * The validation message to display.\n */\n @Prop() message!: string;\n /**\n * The ID of the form element the validation is bound to.\n */\n @Prop() for: string;\n /**\n * The status of the validation - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() status: IcInformationStatusOrEmpty = \"\";\n /**\n * If `true`, the input validation will fill the width of the container.\n */\n @Prop() fullWidth: boolean = false;\n /**\n * The ARIA live mode to apply to the message.\n */\n @Prop() ariaLiveMode: IcAriaLiveModeVariants = \"polite\";\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.message, propName: \"message\" }],\n \"Input Validation\"\n );\n }\n\n render() {\n const displayIcon = this.status !== \"\" ? icon[this.status] : \"\";\n const id = getInputValidationTextID(this.for);\n return (\n <Host\n class={{\n [this.status]: this.status !== \"\",\n [\"fullwidth\"]: this.fullWidth,\n }}\n >\n {displayIcon !== \"\" && (\n <span\n class={{\n [\"status-icon\"]: true,\n [`icon-${this.status}`]: true,\n }}\n innerHTML={displayIcon}\n />\n )}\n\n <ic-typography variant=\"caption\" class=\"statustext\">\n <span aria-live={this.ariaLiveMode} id={id}>\n {this.message}\n </span>\n </ic-typography>\n\n <slot name=\"validation-message-adornment\"></slot>\n </Host>\n );\n }\n}\n"]}
@@ -471,18 +471,9 @@ video {
471
471
  text-decoration-line: underline;
472
472
  text-decoration-thickness: 25%;
473
473
  text-underline-offset: 25%;
474
- }
475
-
476
- :host(.link) .ic-link:hover,
477
- :host(.link) ::slotted(a:hover) {
478
474
  outline: none;
479
475
  }
480
476
 
481
- :host(.link) .ic-link:focus,
482
- :host(.link) ::slotted(a:focus) {
483
- outline: var(--ic-hc-focus-outline);
484
- }
485
-
486
477
  :host(.link) .ic-link:active,
487
478
  :host(.link) .ic-link:focus:active,
488
479
  :host(.link) .ic-link:visited:active,
@@ -1,10 +1,10 @@
1
- import { h, Host } from "@stencil/core";
2
- import OpenInNew from "./assets/OpenInNew.svg";
1
+ import { h, Host, } from "@stencil/core";
2
+ import OpenInNew from "../../assets/OpenInNew.svg";
3
3
  import { getThemeFromContext, inheritAttributes } from "../../utils/helpers";
4
4
  import { IC_INHERITED_ARIA } from "../../utils/constants";
5
5
  import { IcThemeForegroundEnum, } from "../../utils/types";
6
6
  /**
7
- * @slot router-item - Handle routing by nesting your routes in this slot
7
+ * @slot router-item - Handle routing by nesting your routes in this slot.
8
8
  */
9
9
  export class Link {
10
10
  constructor() {
@@ -33,13 +33,19 @@ export class Link {
33
33
  break;
34
34
  }
35
35
  }
36
+ /**
37
+ * Sets focus on the link.
38
+ */
39
+ async setFocus() {
40
+ if (this.el.shadowRoot.querySelector("a")) {
41
+ this.el.shadowRoot.querySelector("a").focus();
42
+ }
43
+ }
36
44
  componentWillLoad() {
37
45
  this.inheritedAttributes = inheritAttributes(this.el, [
38
46
  ...IC_INHERITED_ARIA,
39
47
  "aria-expanded",
40
48
  ]);
41
- }
42
- componentDidLoad() {
43
49
  this.updateTheme();
44
50
  }
45
51
  hasRouterSlot() {
@@ -58,6 +64,7 @@ export class Link {
58
64
  }
59
65
  static get is() { return "ic-link"; }
60
66
  static get encapsulation() { return "shadow"; }
67
+ static get delegatesFocus() { return true; }
61
68
  static get originalStyleUrls() {
62
69
  return {
63
70
  "$": ["ic-link.css"]
@@ -82,7 +89,7 @@ export class Link {
82
89
  "optional": true,
83
90
  "docs": {
84
91
  "tags": [],
85
- "text": "Prompts the user to save the linked URL instead of navigating to it."
92
+ "text": "If `true`, the user can save the linked URL instead of navigating to it."
86
93
  },
87
94
  "attribute": "download",
88
95
  "reflect": false,
@@ -118,7 +125,7 @@ export class Link {
118
125
  "optional": true,
119
126
  "docs": {
120
127
  "tags": [],
121
- "text": "Hints at the human language of the linked URL."
128
+ "text": "The human language of the linked URL."
122
129
  },
123
130
  "attribute": "hreflang",
124
131
  "reflect": false
@@ -173,7 +180,7 @@ export class Link {
173
180
  "optional": true,
174
181
  "docs": {
175
182
  "tags": [],
176
- "text": "Where to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
183
+ "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
177
184
  },
178
185
  "attribute": "target",
179
186
  "reflect": false
@@ -190,7 +197,7 @@ export class Link {
190
197
  "optional": true,
191
198
  "docs": {
192
199
  "tags": [],
193
- "text": "Determines whether the 'open in new tab/window' icon is to be displayed."
200
+ "text": "If `true`, the 'open in new tab/window' icon will be displayed."
194
201
  },
195
202
  "attribute": "show-icon",
196
203
  "reflect": false
@@ -212,7 +219,7 @@ export class Link {
212
219
  "optional": true,
213
220
  "docs": {
214
221
  "tags": [],
215
- "text": "Determines the whether the appearance is dark, light, or the default."
222
+ "text": "The appearance of the link, e.g. dark, light, or default."
216
223
  },
217
224
  "attribute": "appearance",
218
225
  "reflect": false,
@@ -220,10 +227,30 @@ export class Link {
220
227
  }
221
228
  };
222
229
  }
230
+ static get methods() {
231
+ return {
232
+ "setFocus": {
233
+ "complexType": {
234
+ "signature": "() => Promise<void>",
235
+ "parameters": [],
236
+ "references": {
237
+ "Promise": {
238
+ "location": "global"
239
+ }
240
+ },
241
+ "return": "Promise<void>"
242
+ },
243
+ "docs": {
244
+ "text": "Sets focus on the link.",
245
+ "tags": []
246
+ }
247
+ }
248
+ };
249
+ }
223
250
  static get elementRef() { return "el"; }
224
251
  static get listeners() {
225
252
  return [{
226
- "name": "icThemeChange",
253
+ "name": "themeChange",
227
254
  "method": "themeChangeHandler",
228
255
  "target": "document",
229
256
  "capture": false,
@@ -1 +1 @@
1
- {"version":3,"file":"ic-link.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE1E,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAGL,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AAOH,MAAM,OAAO,IAAI;;IACP,wBAAmB,GAA6B,EAAE,CAAC;oBAQrB,KAAK;gBAKnB,IAAI;;;;;;sBA8B8B,SAAS;;EAGnE,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;EAC/B,CAAC;EAEO,WAAW,CAAC,WAA8B,IAAI;IACpD,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,IAAI,IAAI,CAAC,CAAC;IAE7D,QAAQ,KAAK,EAAE;MACb,KAAK,qBAAqB,CAAC,KAAK;QAC9B,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC,KAAK,CAAC;QAC9C,MAAM;MACR,KAAK,qBAAqB,CAAC,IAAI;QAC7B,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC,IAAI,CAAC;QAC7C,MAAM;KACT;EACH,CAAC;EAED,iBAAiB;IACf,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE;MACpD,GAAG,iBAAiB;MACpB,eAAe;KAChB,CAAC,CAAC;EACL,CAAC;EAED,gBAAgB;IACd,IAAI,CAAC,WAAW,EAAE,CAAC;EACrB,CAAC;EAEO,aAAa;IACnB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAChE,IAAI,IAAI,CAAC,UAAU,EAAE;MACnB,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;KACzD;IACD,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;EAC3B,CAAC;EAED,MAAM;IACJ,MAAM,EACJ,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,GAAG,EACH,MAAM,EACN,QAAQ,EACR,UAAU,GACX,GAAG,IAAI,CAAC;IAET,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,IACrD,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CACtB,YAAM,IAAI,EAAC,aAAa,GAAQ,CACjC,CAAC,CAAC,CAAC,CACF,uBACE,KAAK,EAAE;QACL,CAAC,SAAS,CAAC,EAAE,IAAI,KAAK,IAAI;QAC1B,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,IAAI,KAAK,IAAI;OACjC,EACD,QAAQ,EAAE,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAC9C,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,IAChC,IAAI,CAAC,mBAAmB;MAE5B,eAAQ;MACP,QAAQ,IAAI,CACX,YAAM,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAE,SAAS,GAAI,CAChE,CACC,CACL,CACI,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Prop, h, Host, Listen } from \"@stencil/core\";\n\nimport OpenInNew from \"./assets/OpenInNew.svg\";\nimport { getThemeFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot\n */\n\n@Component({\n tag: \"ic-link\",\n styleUrl: \"ic-link.css\",\n shadow: true,\n})\nexport class Link {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private routerSlot: HTMLElement;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * Prompts the user to save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * Hints at the human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * Where to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * Determines whether the 'open in new tab/window' icon is to be displayed.\n */\n @Prop() showIcon?: boolean;\n\n /**\n * Determines the whether the appearance is dark, light, or the default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\n\n @Listen(\"icThemeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme || null);\n\n switch (theme) {\n case IcThemeForegroundEnum.Light:\n this.appearance = IcThemeForegroundEnum.Light;\n break;\n case IcThemeForegroundEnum.Dark:\n this.appearance = IcThemeForegroundEnum.Dark;\n break;\n }\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n ]);\n }\n\n componentDidLoad(): void {\n this.updateTheme();\n }\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n showIcon,\n appearance,\n } = this;\n\n return (\n <Host class={{ [\"link\"]: true, [`${appearance}`]: true }}>\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"ic-link\"]: href !== null,\n [`${appearance}`]: href !== null,\n }}\n download={download !== false ? download : null}\n href={href}\n hrefLang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n target={target}\n tabindex={href !== null ? \"0\" : \"-1\"}\n {...this.inheritedAttributes}\n >\n <slot />\n {showIcon && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-link.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\nimport { getThemeFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\n\n@Component({\n tag: \"ic-link\",\n styleUrl: \"ic-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Link {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private routerSlot: HTMLElement;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * If `true`, the 'open in new tab/window' icon will be displayed.\n */\n @Prop() showIcon?: boolean;\n\n /**\n * The appearance of the link, e.g. dark, light, or default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme || null);\n\n switch (theme) {\n case IcThemeForegroundEnum.Light:\n this.appearance = IcThemeForegroundEnum.Light;\n break;\n case IcThemeForegroundEnum.Dark:\n this.appearance = IcThemeForegroundEnum.Dark;\n break;\n }\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n }\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n ]);\n\n this.updateTheme();\n }\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n showIcon,\n appearance,\n } = this;\n\n return (\n <Host class={{ [\"link\"]: true, [`${appearance}`]: true }}>\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"ic-link\"]: href !== null,\n [`${appearance}`]: href !== null,\n }}\n download={download !== false ? download : null}\n href={href}\n hrefLang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n target={target}\n tabindex={href !== null ? \"0\" : \"-1\"}\n {...this.inheritedAttributes}\n >\n <slot />\n {showIcon && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -448,7 +448,7 @@ video {
448
448
 
449
449
  display: block;
450
450
 
451
- --linear-border-radius: 4px;
451
+ --linear-border-radius: 0.25rem;
452
452
  --inner-color: var(--ic-action-default);
453
453
  --outer-color: var(--ic-architectural-100);
454
454
  --label-color: var(--ic-color-primary-text);
@@ -456,6 +456,12 @@ video {
456
456
  --linear-line-height: var(--ic-space-xs);
457
457
  }
458
458
 
459
+ :host(.light) {
460
+ --inner-color: var(--ic-architectural-white);
461
+ --outer-color: var(--ic-architectural-800);
462
+ --label-color: var(--ic-architectural-white);
463
+ }
464
+
459
465
  .ic-loading-container {
460
466
  display: flex;
461
467
  flex-direction: column;
@@ -464,23 +470,23 @@ video {
464
470
  }
465
471
 
466
472
  :host([size="small"]) {
467
- --circular-diameter: 40px;
473
+ --circular-diameter: 2.5rem;
468
474
  --linear-line-height: var(--ic-space-xxs);
469
475
  }
470
476
 
471
477
  :host([size="default"]) {
472
- --circular-diameter: 80px;
478
+ --circular-diameter: 5rem;
473
479
  }
474
480
 
475
481
  :host([size="large"]) {
476
- --circular-diameter: 160px;
482
+ --circular-diameter: 7.5rem;
477
483
  }
478
484
 
479
485
  :host([size="icon"]) {
480
486
  display: inline-block;
481
487
 
482
488
  --margin: var(--ic-space-xxxs);
483
- --circular-diameter: 20px;
489
+ --circular-diameter: 1.25rem;
484
490
  }
485
491
 
486
492
  :host([label]) {
@@ -494,11 +500,8 @@ video {
494
500
  }
495
501
 
496
502
  .ic-loading-circular-outer {
497
- box-shadow: inset 0 0 0 var(--circular-line-width) var(--outer-color);
498
503
  height: var(--circular-diameter);
499
504
  width: var(--circular-diameter);
500
- border-radius: 50%;
501
- position: relative;
502
505
  }
503
506
 
504
507
  .ic-loading-circular-outer.indeterminate {
@@ -506,99 +509,6 @@ video {
506
509
  animation-iteration-count: infinite;
507
510
  }
508
511
 
509
- .ic-loading-circular-inner {
510
- height: var(--circular-diameter);
511
- width: var(--circular-diameter);
512
- border-radius: 50%;
513
- position: relative;
514
- }
515
-
516
- .indeterminate > .ic-loading-circular-inner {
517
- box-shadow: inset 0 0 0 var(--circular-line-width) var(--inner-color);
518
- -webkit-clip-path: inset(0 50% 50% 0);
519
- clip-path: inset(0 50% 50% 0);
520
- }
521
-
522
- .determinate > .ic-loading-circular-inner {
523
- position: absolute;
524
- top: 0;
525
- left: 0;
526
- bottom: 0;
527
- right: 0;
528
- }
529
-
530
- .determinate > .ic-loading-circular-inner.clip {
531
- clip: rect(
532
- 0,
533
- var(--circular-diameter),
534
- var(--circular-diameter),
535
- calc(var(--circular-diameter) / 2)
536
- );
537
- }
538
-
539
- .ic-loading-circular-inner .left,
540
- .ic-loading-circular-inner .right {
541
- height: 100%;
542
- width: 100%;
543
- border: var(--circular-line-width) solid var(--inner-color);
544
- border-radius: 50%;
545
- box-sizing: border-box;
546
- clip: rect(
547
- 0,
548
- calc(var(--circular-diameter) / 2),
549
- var(--circular-diameter),
550
- 0
551
- );
552
- position: absolute;
553
- left: 0;
554
- top: 0;
555
- }
556
-
557
- .indeterminate > .ic-loading-circular-inner .left,
558
- .indeterminate > .ic-loading-circular-inner .right {
559
- display: none;
560
- }
561
-
562
- .determinate > .ic-loading-circular-inner .left {
563
- transform: rotate(var(--circular-rotation));
564
- }
565
-
566
- .determinate > .ic-loading-circular-inner .right {
567
- transform: rotate(180deg);
568
- }
569
-
570
- .determinate > .ic-loading-circular-inner.clip .right {
571
- display: none;
572
- }
573
-
574
- .ic-loading-circular-outer::before {
575
- content: "";
576
- height: var(--circular-line-width);
577
- width: var(--circular-line-width);
578
- border-radius: 50%;
579
- background-color: var(--inner-color);
580
- position: absolute;
581
- display: block;
582
- top: calc(50% - var(--circular-line-width) / 2);
583
- }
584
-
585
- .ic-loading-circular-outer::after {
586
- content: "";
587
- height: var(--circular-line-width);
588
- width: var(--circular-line-width);
589
- border-radius: 50%;
590
- background-color: var(--inner-color);
591
- position: absolute;
592
- display: block;
593
- top: 0;
594
- left: calc(50% - var(--circular-line-width) / 2);
595
- }
596
-
597
- .ic-loading-circular-outer.determinate::before,
598
- .ic-loading-circular-outer.determinate::after {
599
- display: none;
600
- }
601
-
602
512
  @keyframes circular-animation {
603
513
  100% {
604
514
  transform: rotate(360deg);
@@ -665,8 +575,89 @@ video {
665
575
  }
666
576
  }
667
577
 
668
- :host(.light) {
669
- --inner-color: var(--ic-architectural-white);
670
- --outer-color: var(--ic-architectural-800);
671
- --label-color: var(--ic-architectural-white);
578
+ .ic-loading-circular-svg {
579
+ position: relative;
580
+ width: 100%;
581
+ height: 100%;
582
+ transform: rotate(-90deg);
583
+ }
584
+
585
+ .ic-loading-circular-svg circle {
586
+ width: 100%;
587
+ height: 100%;
588
+ fill: none;
589
+ stroke: var(--outer-color);
590
+ stroke-width: var(--circular-line-width);
591
+ stroke-linecap: round;
592
+ }
593
+
594
+ /* --stroke-dash-array calculated via dashArray method */
595
+ .ic-loading-circular-svg circle:nth-child(2) {
596
+ --circular-indeterminate: calc(
597
+ (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)
598
+ );
599
+
600
+ stroke-dasharray: var(--stroke-dasharray), var(--stroke-dasharray);
601
+ stroke-dashoffset: var(--stroke-dashoffset, var(--circular-indeterminate));
602
+ stroke: var(--compact-step-inner-color, var(--inner-color));
603
+ }
604
+
605
+ :host([inner-label]) .ic-loading-circular-inner {
606
+ display: grid;
607
+ }
608
+
609
+ :host([inner-label]) .ic-loading-circular-svg,
610
+ .inner-text {
611
+ grid-column: 1;
612
+ grid-row: 1;
613
+ }
614
+
615
+ :host(.not-required.compact-step-progress-indicator)
616
+ .ic-loading-circular-svg
617
+ circle:nth-child(2) {
618
+ stroke: var(--ic-architectural-300);
619
+ }
620
+
621
+ .inner-text {
622
+ display: flex;
623
+ align-items: center;
624
+ justify-content: center;
625
+ width: var(--ic-space-lg);
626
+ height: inherit;
627
+ overflow: hidden;
628
+ margin: auto;
629
+ color: var(--ic-theme-primary);
630
+ }
631
+
632
+ :host(.not-required.compact-step-progress-indicator) .inner-text {
633
+ color: var(--ic-color-tertiary-text);
634
+ }
635
+
636
+ /** High Contrast **/
637
+ @media (forced-colors: active) {
638
+ .indeterminate > .ic-loading-circular-inner {
639
+ forced-color-adjust: none;
640
+ }
641
+
642
+ .ic-loading-linear-outer {
643
+ border: var(--ic-hc-border);
644
+ }
645
+
646
+ .ic-loading-linear-inner {
647
+ background-color: canvastext;
648
+ }
649
+
650
+ .ic-loading-circular-svg circle {
651
+ stroke: Background;
652
+ }
653
+
654
+ .ic-loading-circular-svg circle:nth-child(2) {
655
+ stroke: canvastext;
656
+ }
657
+
658
+ :host(.not-required.compact-step-progress-indicator)
659
+ .ic-loading-circular-svg
660
+ circle:nth-child(2) {
661
+ stroke: GrayText;
662
+ }
672
663
  }