@ukic/web-components 2.28.0 → 3.0.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (954) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-94b33ab0.js → helpers-f1cf5156.js} +20 -11
  3. package/dist/cjs/helpers-f1cf5156.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +9 -10
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +5 -6
  7. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +4 -7
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +12 -16
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +22 -51
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +26 -14
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +8 -7
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-button_3.cjs.entry.js +42 -34
  19. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  20. package/dist/cjs/{ic-card.cjs.entry.js → ic-card-vertical.cjs.entry.js} +8 -9
  21. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js +7 -7
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -16
  25. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-chip.cjs.entry.js +4 -12
  27. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-list.cjs.entry.js +32 -0
  31. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
  32. package/dist/cjs/ic-data-row.cjs.entry.js +12 -12
  33. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-dialog.cjs.entry.js +12 -98
  35. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-divider.cjs.entry.js +2 -3
  37. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-empty-state.cjs.entry.js +7 -8
  39. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-footer-link-group.cjs.entry.js +9 -10
  41. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-footer-link.cjs.entry.js +6 -8
  43. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-footer.cjs.entry.js +8 -9
  45. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-hero.cjs.entry.js +9 -11
  47. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -6
  49. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +21 -27
  51. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-input-label_2.cjs.entry.js +14 -16
  53. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-link.cjs.entry.js +21 -12
  55. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -3
  57. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-menu-item.cjs.entry.js +3 -4
  59. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -4
  61. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-group.cjs.entry.js +9 -10
  63. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-navigation-item.cjs.entry.js +6 -7
  65. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-navigation-menu.cjs.entry.js +3 -4
  67. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-page-header.cjs.entry.js +8 -10
  69. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -3
  71. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-pagination.cjs.entry.js +33 -32
  73. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -4
  75. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-radio-group.cjs.entry.js +16 -28
  77. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -19
  79. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-search-bar.cjs.entry.js +23 -30
  81. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-select.cjs.entry.js +19 -28
  83. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-side-navigation.cjs.entry.js +7 -8
  85. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -5
  87. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -15
  89. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-step.cjs.entry.js +40 -44
  91. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-stepper.cjs.entry.js +16 -17
  93. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-switch.cjs.entry.js +6 -8
  95. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-tab-context.cjs.entry.js +21 -28
  97. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-tab-group.cjs.entry.js +25 -11
  99. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-tab-panel.cjs.entry.js +6 -13
  101. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-tab.cjs.entry.js +9 -8
  103. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-text-field.cjs.entry.js +55 -57
  105. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-theme.cjs.entry.js +27 -4
  107. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-toast-region.cjs.entry.js +6 -7
  109. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-toast.cjs.entry.js +83 -36
  111. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +17 -17
  113. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-toggle-button.cjs.entry.js +14 -15
  115. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-top-navigation.cjs.entry.js +8 -9
  117. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-typography.cjs.entry.js +9 -8
  119. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  120. package/dist/cjs/index-f982899d.js +12 -12
  121. package/dist/cjs/loader.cjs.js +1 -1
  122. package/dist/collection/collection-manifest.json +3 -3
  123. package/dist/collection/components/ic-accordion/ic-accordion.css +16 -8
  124. package/dist/collection/components/ic-accordion/ic-accordion.js +5 -5
  125. package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
  126. package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +9 -5
  127. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +12 -12
  128. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  129. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +7 -7
  130. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
  131. package/dist/collection/components/ic-alert/ic-alert.css +5 -0
  132. package/dist/collection/components/ic-alert/ic-alert.js +0 -19
  133. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  134. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +21 -61
  135. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +10 -13
  136. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  137. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +9 -10
  138. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
  139. package/dist/collection/components/ic-badge/ic-badge.css +65 -41
  140. package/dist/collection/components/ic-badge/ic-badge.js +52 -100
  141. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  142. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +40 -50
  143. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
  144. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +15 -10
  145. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +54 -31
  146. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  147. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +3 -3
  148. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -1
  149. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +7 -5
  150. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +66 -33
  151. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  152. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +3 -3
  153. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -1
  154. package/dist/collection/components/ic-button/ic-button.css +244 -216
  155. package/dist/collection/components/ic-button/ic-button.js +11 -12
  156. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  157. package/dist/collection/components/{ic-card/ic-card.css → ic-card-vertical/ic-card-vertical.css} +7 -1
  158. package/dist/collection/components/{ic-card/ic-card.js → ic-card-vertical/ic-card-vertical.js} +5 -5
  159. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -0
  160. package/dist/collection/components/{ic-card/test/basic/ic-card.spec.js → ic-card-vertical/test/basic/ic-card-vertical.spec.js} +41 -41
  161. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -0
  162. package/dist/collection/components/ic-checkbox/ic-checkbox.css +16 -10
  163. package/dist/collection/components/ic-checkbox/ic-checkbox.js +5 -137
  164. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  165. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +5 -3
  166. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +7 -27
  167. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  168. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +2 -2
  169. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
  170. package/dist/collection/components/ic-chip/ic-chip.css +6 -8
  171. package/dist/collection/components/ic-chip/ic-chip.js +4 -54
  172. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  173. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +3 -1
  174. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
  175. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  176. package/dist/collection/components/{ic-data-entity/ic-data-entity.css → ic-data-list/ic-data-list.css} +7 -3
  177. package/dist/collection/components/{ic-data-entity/ic-data-entity.js → ic-data-list/ic-data-list.js} +33 -27
  178. package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -0
  179. package/dist/collection/components/{ic-data-entity/test/basic/ic-data-entity.spec.js → ic-data-list/test/basic/ic-data-list.spec.js} +32 -32
  180. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +1 -0
  181. package/dist/collection/components/ic-data-row/ic-data-row.css +6 -3
  182. package/dist/collection/components/ic-data-row/ic-data-row.js +28 -24
  183. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  184. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +4 -4
  185. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
  186. package/dist/collection/components/ic-dialog/ic-dialog.css +3 -12
  187. package/dist/collection/components/ic-dialog/ic-dialog.js +11 -214
  188. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  189. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +3 -226
  190. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
  191. package/dist/collection/components/ic-empty-state/ic-empty-state.css +6 -6
  192. package/dist/collection/components/ic-empty-state/ic-empty-state.js +9 -9
  193. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
  194. package/dist/collection/components/ic-footer/ic-footer.css +13 -6
  195. package/dist/collection/components/ic-footer/ic-footer.js +6 -6
  196. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  197. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +1 -1
  198. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
  199. package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -105
  200. package/dist/collection/components/ic-footer-link/ic-footer-link.js +4 -5
  201. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  202. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +11 -7
  203. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +9 -9
  204. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  205. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +7 -7
  206. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
  207. package/dist/collection/components/ic-hero/ic-hero.css +14 -14
  208. package/dist/collection/components/ic-hero/ic-hero.js +11 -33
  209. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  210. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +6 -6
  211. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
  212. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +5 -5
  213. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +3 -3
  214. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  215. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +31 -26
  216. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +12 -57
  217. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  218. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +9 -9
  219. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
  220. package/dist/collection/components/ic-input-label/ic-input-label.css +7 -7
  221. package/dist/collection/components/ic-input-label/ic-input-label.js +24 -46
  222. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  223. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +4 -4
  224. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
  225. package/dist/collection/components/ic-input-validation/ic-input-validation.css +1 -1
  226. package/dist/collection/components/ic-input-validation/ic-input-validation.js +2 -2
  227. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  228. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +4 -4
  229. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
  230. package/dist/collection/components/ic-link/ic-link.css +100 -44
  231. package/dist/collection/components/ic-link/ic-link.js +57 -49
  232. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  233. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +16 -111
  234. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
  235. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +12 -9
  236. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +26 -22
  237. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  238. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
  239. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +3 -2
  240. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
  241. package/dist/collection/components/ic-menu/ic-menu.css +22 -11
  242. package/dist/collection/components/ic-menu/ic-menu.js +9 -32
  243. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  244. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +1 -1
  245. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
  246. package/dist/collection/components/ic-menu-group/ic-menu-group.css +2 -1
  247. package/dist/collection/components/ic-menu-item/ic-menu-item.css +46 -31
  248. package/dist/collection/components/ic-menu-item/ic-menu-item.js +1 -1
  249. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  250. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +1 -1
  251. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  252. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +13 -11
  253. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -7
  254. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  255. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +4 -1
  256. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +4 -4
  257. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  258. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +7 -2
  259. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +1 -1
  260. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  261. package/dist/collection/components/ic-page-header/ic-page-header.css +2 -2
  262. package/dist/collection/components/ic-page-header/ic-page-header.js +8 -30
  263. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  264. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +15 -15
  265. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
  266. package/dist/collection/components/ic-pagination/ic-pagination.js +38 -36
  267. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  268. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +26 -26
  269. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
  270. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +11 -8
  271. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +7 -3
  272. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
  273. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  274. package/dist/collection/components/ic-radio-group/ic-radio-group.css +5 -5
  275. package/dist/collection/components/ic-radio-group/ic-radio-group.js +17 -49
  276. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  277. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +14 -18
  278. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -1
  279. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +1 -1
  280. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
  281. package/dist/collection/components/ic-radio-option/ic-radio-option.css +8 -5
  282. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -126
  283. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  284. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -6
  285. package/dist/collection/components/ic-search-bar/ic-search-bar.js +32 -99
  286. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  287. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +6 -6
  288. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
  289. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +15 -15
  290. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
  291. package/dist/collection/components/ic-select/ic-select.css +14 -12
  292. package/dist/collection/components/ic-select/ic-select.js +16 -151
  293. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  294. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +6 -6
  295. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  296. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +10 -9
  297. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +6 -6
  298. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  299. package/dist/collection/components/ic-skeleton/ic-skeleton.css +2 -2
  300. package/dist/collection/components/ic-skeleton/ic-skeleton.js +3 -25
  301. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  302. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +1 -1
  303. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
  304. package/dist/collection/components/ic-status-tag/ic-status-tag.css +19 -16
  305. package/dist/collection/components/ic-status-tag/ic-status-tag.js +24 -61
  306. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  307. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -1
  308. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +2 -2
  309. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -1
  310. package/dist/collection/components/ic-step/ic-step.css +55 -53
  311. package/dist/collection/components/ic-step/ic-step.js +49 -52
  312. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  313. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +30 -30
  314. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
  315. package/dist/collection/components/ic-stepper/ic-stepper.css +4 -4
  316. package/dist/collection/components/ic-stepper/ic-stepper.js +14 -14
  317. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  318. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +37 -37
  319. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -1
  320. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +234 -234
  321. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
  322. package/dist/collection/components/ic-switch/ic-switch.js +7 -29
  323. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  324. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +1 -1
  325. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
  326. package/dist/collection/components/ic-tab/ic-tab.css +47 -21
  327. package/dist/collection/components/ic-tab/ic-tab.js +55 -33
  328. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  329. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +2 -2
  330. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
  331. package/dist/collection/components/ic-tab-context/ic-tab-context.js +66 -76
  332. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  333. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +3 -3
  334. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -1
  335. package/dist/collection/components/ic-tab-group/ic-tab-group.css +7 -8
  336. package/dist/collection/components/ic-tab-group/ic-tab-group.js +68 -54
  337. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  338. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +2 -2
  339. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +39 -46
  340. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  341. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +3 -18
  342. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -1
  343. package/dist/collection/components/ic-text-field/ic-text-field.css +10 -4
  344. package/dist/collection/components/ic-text-field/ic-text-field.js +70 -111
  345. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  346. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +36 -14
  347. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
  348. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +57 -56
  349. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
  350. package/dist/collection/components/ic-theme/ic-theme.js +50 -2
  351. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  352. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +13 -11
  353. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
  354. package/dist/collection/components/ic-toast/ic-toast.css +13 -4
  355. package/dist/collection/components/ic-toast/ic-toast.js +83 -32
  356. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  357. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +43 -7
  358. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
  359. package/dist/collection/components/ic-toast-region/ic-toast-region.js +7 -43
  360. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  361. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -20
  362. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
  363. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +50 -43
  364. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +16 -16
  365. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  366. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +4 -4
  367. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
  368. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +11 -8
  369. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +18 -18
  370. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
  371. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -1
  372. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +19 -19
  373. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
  374. package/dist/collection/components/ic-tooltip/ic-tooltip.css +7 -4
  375. package/dist/collection/components/ic-tooltip/ic-tooltip.js +30 -2
  376. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  377. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +14 -0
  378. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
  379. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +4 -2
  380. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +6 -6
  381. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  382. package/dist/collection/components/ic-typography/ic-typography.css +11 -5
  383. package/dist/collection/components/ic-typography/ic-typography.js +31 -5
  384. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  385. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +14 -0
  386. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
  387. package/dist/collection/utils/types.js.map +1 -1
  388. package/dist/components/helpers.js +13 -2
  389. package/dist/components/helpers.js.map +1 -1
  390. package/dist/components/ic-accordion-group.js +9 -9
  391. package/dist/components/ic-accordion-group.js.map +1 -1
  392. package/dist/components/ic-accordion.js +4 -4
  393. package/dist/components/ic-accordion.js.map +1 -1
  394. package/dist/components/ic-alert.js +132 -1
  395. package/dist/components/ic-alert.js.map +1 -1
  396. package/dist/components/ic-back-to-top.js +24 -15
  397. package/dist/components/ic-back-to-top.js.map +1 -1
  398. package/dist/components/ic-badge.js +25 -54
  399. package/dist/components/ic-badge.js.map +1 -1
  400. package/dist/components/ic-breadcrumb-group.js +31 -16
  401. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  402. package/dist/components/ic-breadcrumb2.js +10 -7
  403. package/dist/components/ic-breadcrumb2.js.map +1 -1
  404. package/dist/components/ic-button2.js +11 -12
  405. package/dist/components/ic-button2.js.map +1 -1
  406. package/dist/components/{ic-data-entity.d.ts → ic-card-vertical.d.ts} +4 -4
  407. package/dist/components/{ic-card.js → ic-card-vertical.js} +11 -12
  408. package/dist/components/ic-card-vertical.js.map +1 -0
  409. package/dist/components/ic-checkbox-group.js +7 -7
  410. package/dist/components/ic-checkbox-group.js.map +1 -1
  411. package/dist/components/ic-checkbox.js +6 -21
  412. package/dist/components/ic-checkbox.js.map +1 -1
  413. package/dist/components/ic-chip.js +3 -11
  414. package/dist/components/ic-chip.js.map +1 -1
  415. package/dist/components/ic-classification-banner.js +2 -2
  416. package/dist/components/ic-classification-banner.js.map +1 -1
  417. package/dist/components/{ic-card.d.ts → ic-data-list.d.ts} +4 -4
  418. package/dist/components/ic-data-list.js +56 -0
  419. package/dist/components/ic-data-list.js.map +1 -0
  420. package/dist/components/ic-data-row.js +14 -13
  421. package/dist/components/ic-data-row.js.map +1 -1
  422. package/dist/components/ic-dialog.js +14 -112
  423. package/dist/components/ic-dialog.js.map +1 -1
  424. package/dist/components/ic-divider2.js +1 -2
  425. package/dist/components/ic-divider2.js.map +1 -1
  426. package/dist/components/ic-empty-state.js +7 -7
  427. package/dist/components/ic-empty-state.js.map +1 -1
  428. package/dist/components/ic-footer-link-group.js +10 -10
  429. package/dist/components/ic-footer-link-group.js.map +1 -1
  430. package/dist/components/ic-footer-link.js +13 -8
  431. package/dist/components/ic-footer-link.js.map +1 -1
  432. package/dist/components/ic-footer.js +8 -9
  433. package/dist/components/ic-footer.js.map +1 -1
  434. package/dist/components/ic-hero.js +9 -12
  435. package/dist/components/ic-hero.js.map +1 -1
  436. package/dist/components/ic-horizontal-scroll2.js +5 -6
  437. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  438. package/dist/components/ic-input-component-container2.js +12 -18
  439. package/dist/components/ic-input-component-container2.js.map +1 -1
  440. package/dist/components/ic-input-label2.js +10 -12
  441. package/dist/components/ic-input-label2.js.map +1 -1
  442. package/dist/components/ic-input-validation2.js +4 -5
  443. package/dist/components/ic-input-validation2.js.map +1 -1
  444. package/dist/components/ic-link2.js +22 -13
  445. package/dist/components/ic-link2.js.map +1 -1
  446. package/dist/components/ic-loading-indicator2.js +23 -19
  447. package/dist/components/ic-loading-indicator2.js.map +1 -1
  448. package/dist/components/ic-menu-group.js +2 -2
  449. package/dist/components/ic-menu-group.js.map +1 -1
  450. package/dist/components/ic-menu-item2.js +3 -3
  451. package/dist/components/ic-menu-item2.js.map +1 -1
  452. package/dist/components/ic-menu2.js +8 -11
  453. package/dist/components/ic-menu2.js.map +1 -1
  454. package/dist/components/ic-navigation-button.js +2 -3
  455. package/dist/components/ic-navigation-button.js.map +1 -1
  456. package/dist/components/ic-navigation-group.js +9 -9
  457. package/dist/components/ic-navigation-group.js.map +1 -1
  458. package/dist/components/ic-navigation-item.js +6 -6
  459. package/dist/components/ic-navigation-item.js.map +1 -1
  460. package/dist/components/ic-navigation-menu2.js +3 -3
  461. package/dist/components/ic-navigation-menu2.js.map +1 -1
  462. package/dist/components/ic-page-header.js +8 -10
  463. package/dist/components/ic-page-header.js.map +1 -1
  464. package/dist/components/ic-pagination-item2.js +2 -2
  465. package/dist/components/ic-pagination-item2.js.map +1 -1
  466. package/dist/components/ic-pagination.js +36 -34
  467. package/dist/components/ic-pagination.js.map +1 -1
  468. package/dist/components/ic-popover-menu.js +3 -3
  469. package/dist/components/ic-popover-menu.js.map +1 -1
  470. package/dist/components/ic-radio-group.js +16 -28
  471. package/dist/components/ic-radio-group.js.map +1 -1
  472. package/dist/components/ic-radio-option.js +6 -25
  473. package/dist/components/ic-radio-option.js.map +1 -1
  474. package/dist/components/ic-search-bar.js +21 -29
  475. package/dist/components/ic-search-bar.js.map +1 -1
  476. package/dist/components/ic-select.js +15 -31
  477. package/dist/components/ic-select.js.map +1 -1
  478. package/dist/components/ic-side-navigation.js +7 -8
  479. package/dist/components/ic-side-navigation.js.map +1 -1
  480. package/dist/components/ic-skeleton.js +4 -6
  481. package/dist/components/ic-skeleton.js.map +1 -1
  482. package/dist/components/ic-status-tag.js +6 -15
  483. package/dist/components/ic-status-tag.js.map +1 -1
  484. package/dist/components/ic-step.js +46 -49
  485. package/dist/components/ic-step.js.map +1 -1
  486. package/dist/components/ic-stepper.js +15 -15
  487. package/dist/components/ic-stepper.js.map +1 -1
  488. package/dist/components/ic-switch.js +6 -8
  489. package/dist/components/ic-switch.js.map +1 -1
  490. package/dist/components/ic-tab-context.js +26 -31
  491. package/dist/components/ic-tab-context.js.map +1 -1
  492. package/dist/components/ic-tab-group.js +27 -13
  493. package/dist/components/ic-tab-group.js.map +1 -1
  494. package/dist/components/ic-tab-panel.js +9 -16
  495. package/dist/components/ic-tab-panel.js.map +1 -1
  496. package/dist/components/ic-tab.js +10 -8
  497. package/dist/components/ic-tab.js.map +1 -1
  498. package/dist/components/ic-text-field2.js +52 -57
  499. package/dist/components/ic-text-field2.js.map +1 -1
  500. package/dist/components/ic-theme.js +33 -7
  501. package/dist/components/ic-theme.js.map +1 -1
  502. package/dist/components/ic-toast-region.js +7 -9
  503. package/dist/components/ic-toast-region.js.map +1 -1
  504. package/dist/components/ic-toast.js +86 -37
  505. package/dist/components/ic-toast.js.map +1 -1
  506. package/dist/components/ic-toggle-button-group.js +17 -17
  507. package/dist/components/ic-toggle-button-group.js.map +1 -1
  508. package/dist/components/ic-toggle-button.js +14 -14
  509. package/dist/components/ic-toggle-button.js.map +1 -1
  510. package/dist/components/ic-tooltip2.js +8 -3
  511. package/dist/components/ic-tooltip2.js.map +1 -1
  512. package/dist/components/ic-top-navigation.js +7 -8
  513. package/dist/components/ic-top-navigation.js.map +1 -1
  514. package/dist/components/ic-typography2.js +9 -6
  515. package/dist/components/ic-typography2.js.map +1 -1
  516. package/dist/core/core.css +38 -20
  517. package/dist/core/core.esm.js +1 -1
  518. package/dist/core/core.esm.js.map +1 -1
  519. package/dist/core/p-09104e40.entry.js +2 -0
  520. package/dist/core/p-09104e40.entry.js.map +1 -0
  521. package/dist/core/p-0c0b1c74.entry.js +2 -0
  522. package/dist/core/p-0c0b1c74.entry.js.map +1 -0
  523. package/dist/core/p-0c3a0d85.entry.js +2 -0
  524. package/dist/core/p-0c3a0d85.entry.js.map +1 -0
  525. package/dist/core/p-1083a708.entry.js +2 -0
  526. package/dist/core/p-1083a708.entry.js.map +1 -0
  527. package/dist/core/p-130dd440.entry.js +2 -0
  528. package/dist/core/p-130dd440.entry.js.map +1 -0
  529. package/dist/core/p-1e802eeb.entry.js +2 -0
  530. package/dist/core/p-1e802eeb.entry.js.map +1 -0
  531. package/dist/core/p-21312898.entry.js +2 -0
  532. package/dist/core/p-21312898.entry.js.map +1 -0
  533. package/dist/core/p-21e5dd29.entry.js +2 -0
  534. package/dist/core/p-21e5dd29.entry.js.map +1 -0
  535. package/dist/core/{p-7438ab1f.entry.js → p-26bc7c62.entry.js} +2 -2
  536. package/dist/core/p-26bc7c62.entry.js.map +1 -0
  537. package/dist/core/p-2ab86057.entry.js +2 -0
  538. package/dist/core/p-2ab86057.entry.js.map +1 -0
  539. package/dist/core/p-312cacae.js +2 -0
  540. package/dist/core/p-312cacae.js.map +1 -0
  541. package/dist/core/p-31fc8756.entry.js +2 -0
  542. package/dist/core/p-31fc8756.entry.js.map +1 -0
  543. package/dist/core/p-355acffa.entry.js +2 -0
  544. package/dist/core/p-355acffa.entry.js.map +1 -0
  545. package/dist/core/p-35b8b480.entry.js +2 -0
  546. package/dist/core/p-35b8b480.entry.js.map +1 -0
  547. package/dist/core/p-363d6e88.entry.js +2 -0
  548. package/dist/core/p-363d6e88.entry.js.map +1 -0
  549. package/dist/core/p-3ea4a005.entry.js +2 -0
  550. package/dist/core/p-3ea4a005.entry.js.map +1 -0
  551. package/dist/core/p-40e9e76a.entry.js +2 -0
  552. package/dist/core/p-40e9e76a.entry.js.map +1 -0
  553. package/dist/core/p-43f9a711.entry.js +2 -0
  554. package/dist/core/p-43f9a711.entry.js.map +1 -0
  555. package/dist/core/p-46ee459b.entry.js +2 -0
  556. package/dist/core/p-46ee459b.entry.js.map +1 -0
  557. package/dist/core/{p-3eda4e14.entry.js → p-54238d16.entry.js} +2 -2
  558. package/dist/core/p-54238d16.entry.js.map +1 -0
  559. package/dist/core/p-550d7356.entry.js +2 -0
  560. package/dist/core/{p-dd9d8e68.entry.js.map → p-550d7356.entry.js.map} +1 -1
  561. package/dist/core/p-56d1828c.entry.js +2 -0
  562. package/dist/core/p-56d1828c.entry.js.map +1 -0
  563. package/dist/core/p-5a2630fb.entry.js +2 -0
  564. package/dist/core/p-5a2630fb.entry.js.map +1 -0
  565. package/dist/core/p-5a52614c.entry.js +2 -0
  566. package/dist/core/p-5a52614c.entry.js.map +1 -0
  567. package/dist/core/p-60efd7fa.entry.js +2 -0
  568. package/dist/core/{p-223889da.entry.js.map → p-60efd7fa.entry.js.map} +1 -1
  569. package/dist/core/p-69f3ce5a.entry.js +2 -0
  570. package/dist/core/p-69f3ce5a.entry.js.map +1 -0
  571. package/dist/core/p-78ce4920.entry.js +2 -0
  572. package/dist/core/p-78ce4920.entry.js.map +1 -0
  573. package/dist/core/p-79d2a33b.entry.js +2 -0
  574. package/dist/core/p-79d2a33b.entry.js.map +1 -0
  575. package/dist/core/p-80237a20.entry.js +2 -0
  576. package/dist/core/p-80237a20.entry.js.map +1 -0
  577. package/dist/core/p-804513ad.entry.js +2 -0
  578. package/dist/core/p-804513ad.entry.js.map +1 -0
  579. package/dist/core/p-82375dca.entry.js +2 -0
  580. package/dist/core/p-82375dca.entry.js.map +1 -0
  581. package/dist/core/p-8e1e25a7.entry.js +2 -0
  582. package/dist/core/p-8e1e25a7.entry.js.map +1 -0
  583. package/dist/core/p-a1a1000d.entry.js +2 -0
  584. package/dist/core/p-a1a1000d.entry.js.map +1 -0
  585. package/dist/core/p-a1b1a0ab.entry.js +2 -0
  586. package/dist/core/p-a1b1a0ab.entry.js.map +1 -0
  587. package/dist/core/p-a37bcdbe.entry.js +2 -0
  588. package/dist/core/p-a37bcdbe.entry.js.map +1 -0
  589. package/dist/core/p-a3b6a02d.entry.js +2 -0
  590. package/dist/core/p-a3b6a02d.entry.js.map +1 -0
  591. package/dist/core/p-a765ad17.entry.js +2 -0
  592. package/dist/core/p-a765ad17.entry.js.map +1 -0
  593. package/dist/core/p-aa2be24c.entry.js +2 -0
  594. package/dist/core/p-aa2be24c.entry.js.map +1 -0
  595. package/dist/core/p-b12a5283.entry.js +2 -0
  596. package/dist/core/p-b12a5283.entry.js.map +1 -0
  597. package/dist/core/p-b1b05979.entry.js +2 -0
  598. package/dist/core/p-b1b05979.entry.js.map +1 -0
  599. package/dist/core/p-bf4c61cb.entry.js +2 -0
  600. package/dist/core/p-bf4c61cb.entry.js.map +1 -0
  601. package/dist/core/p-c6795377.entry.js +2 -0
  602. package/dist/core/p-c6795377.entry.js.map +1 -0
  603. package/dist/core/p-c81109da.entry.js +2 -0
  604. package/dist/core/p-c81109da.entry.js.map +1 -0
  605. package/dist/core/p-cb4d104e.entry.js +2 -0
  606. package/dist/core/p-cb4d104e.entry.js.map +1 -0
  607. package/dist/core/p-d2f89cb5.entry.js +2 -0
  608. package/dist/core/p-d2f89cb5.entry.js.map +1 -0
  609. package/dist/core/p-d43d1ec0.entry.js +2 -0
  610. package/dist/core/p-d43d1ec0.entry.js.map +1 -0
  611. package/dist/core/p-d5829a35.entry.js +2 -0
  612. package/dist/core/p-d5829a35.entry.js.map +1 -0
  613. package/dist/core/p-d8870804.entry.js +2 -0
  614. package/dist/core/p-d8870804.entry.js.map +1 -0
  615. package/dist/core/p-ddb8d280.entry.js +2 -0
  616. package/dist/core/p-ddb8d280.entry.js.map +1 -0
  617. package/dist/core/p-e0e34fa7.entry.js +2 -0
  618. package/dist/core/p-e0e34fa7.entry.js.map +1 -0
  619. package/dist/core/p-e4b276b5.entry.js +2 -0
  620. package/dist/core/p-e4b276b5.entry.js.map +1 -0
  621. package/dist/core/{p-6fae7e1f.entry.js → p-e597da0e.entry.js} +2 -2
  622. package/dist/core/p-e597da0e.entry.js.map +1 -0
  623. package/dist/core/p-e861a2b3.entry.js +2 -0
  624. package/dist/core/p-e861a2b3.entry.js.map +1 -0
  625. package/dist/core/p-ea277b05.entry.js +2 -0
  626. package/dist/core/p-ea277b05.entry.js.map +1 -0
  627. package/dist/core/p-ef871b8f.entry.js +2 -0
  628. package/dist/core/p-ef871b8f.entry.js.map +1 -0
  629. package/dist/core/p-f229d19e.entry.js +2 -0
  630. package/dist/core/p-f229d19e.entry.js.map +1 -0
  631. package/dist/core/p-f30f3a3e.entry.js +2 -0
  632. package/dist/core/p-f30f3a3e.entry.js.map +1 -0
  633. package/dist/core/p-fa587e6d.entry.js +2 -0
  634. package/dist/core/p-fa587e6d.entry.js.map +1 -0
  635. package/dist/core/p-fb6ac08d.entry.js +2 -0
  636. package/dist/core/p-fb6ac08d.entry.js.map +1 -0
  637. package/dist/esm/core.js +1 -1
  638. package/dist/esm/{helpers-3905ccc4.js → helpers-1c9151ef.js} +14 -3
  639. package/dist/esm/helpers-1c9151ef.js.map +1 -0
  640. package/dist/esm/ic-accordion-group.entry.js +9 -10
  641. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  642. package/dist/esm/ic-accordion.entry.js +5 -6
  643. package/dist/esm/ic-accordion.entry.js.map +1 -1
  644. package/dist/esm/ic-alert.entry.js +2 -5
  645. package/dist/esm/ic-alert.entry.js.map +1 -1
  646. package/dist/esm/ic-back-to-top.entry.js +12 -16
  647. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  648. package/dist/esm/ic-badge.entry.js +22 -51
  649. package/dist/esm/ic-badge.entry.js.map +1 -1
  650. package/dist/esm/ic-breadcrumb-group.entry.js +26 -14
  651. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  652. package/dist/esm/ic-breadcrumb.entry.js +8 -7
  653. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  654. package/dist/esm/ic-button_3.entry.js +39 -31
  655. package/dist/esm/ic-button_3.entry.js.map +1 -1
  656. package/dist/esm/ic-card-vertical.entry.js +145 -0
  657. package/dist/esm/ic-card-vertical.entry.js.map +1 -0
  658. package/dist/esm/ic-checkbox-group.entry.js +7 -7
  659. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  660. package/dist/esm/ic-checkbox.entry.js +6 -16
  661. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  662. package/dist/esm/ic-chip.entry.js +4 -12
  663. package/dist/esm/ic-chip.entry.js.map +1 -1
  664. package/dist/esm/ic-classification-banner.entry.js +2 -2
  665. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  666. package/dist/esm/ic-data-list.entry.js +28 -0
  667. package/dist/esm/ic-data-list.entry.js.map +1 -0
  668. package/dist/esm/ic-data-row.entry.js +12 -12
  669. package/dist/esm/ic-data-row.entry.js.map +1 -1
  670. package/dist/esm/ic-dialog.entry.js +12 -98
  671. package/dist/esm/ic-dialog.entry.js.map +1 -1
  672. package/dist/esm/ic-divider.entry.js +1 -2
  673. package/dist/esm/ic-divider.entry.js.map +1 -1
  674. package/dist/esm/ic-empty-state.entry.js +7 -8
  675. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  676. package/dist/esm/ic-footer-link-group.entry.js +9 -10
  677. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  678. package/dist/esm/ic-footer-link.entry.js +6 -8
  679. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  680. package/dist/esm/ic-footer.entry.js +8 -9
  681. package/dist/esm/ic-footer.entry.js.map +1 -1
  682. package/dist/esm/ic-hero.entry.js +9 -11
  683. package/dist/esm/ic-hero.entry.js.map +1 -1
  684. package/dist/esm/ic-horizontal-scroll.entry.js +5 -6
  685. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  686. package/dist/esm/ic-input-component-container_3.entry.js +20 -26
  687. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  688. package/dist/esm/ic-input-label_2.entry.js +11 -13
  689. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  690. package/dist/esm/ic-link.entry.js +20 -11
  691. package/dist/esm/ic-link.entry.js.map +1 -1
  692. package/dist/esm/ic-menu-group.entry.js +2 -3
  693. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  694. package/dist/esm/ic-menu-item.entry.js +3 -4
  695. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  696. package/dist/esm/ic-navigation-button.entry.js +2 -3
  697. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  698. package/dist/esm/ic-navigation-group.entry.js +9 -10
  699. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  700. package/dist/esm/ic-navigation-item.entry.js +6 -7
  701. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  702. package/dist/esm/ic-navigation-menu.entry.js +3 -4
  703. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  704. package/dist/esm/ic-page-header.entry.js +8 -10
  705. package/dist/esm/ic-page-header.entry.js.map +1 -1
  706. package/dist/esm/ic-pagination-item.entry.js +2 -3
  707. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  708. package/dist/esm/ic-pagination.entry.js +33 -32
  709. package/dist/esm/ic-pagination.entry.js.map +1 -1
  710. package/dist/esm/ic-popover-menu.entry.js +3 -4
  711. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  712. package/dist/esm/ic-radio-group.entry.js +16 -28
  713. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  714. package/dist/esm/ic-radio-option.entry.js +5 -19
  715. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  716. package/dist/esm/ic-search-bar.entry.js +19 -26
  717. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  718. package/dist/esm/ic-select.entry.js +14 -23
  719. package/dist/esm/ic-select.entry.js.map +1 -1
  720. package/dist/esm/ic-side-navigation.entry.js +7 -8
  721. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  722. package/dist/esm/ic-skeleton.entry.js +4 -5
  723. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  724. package/dist/esm/ic-status-tag.entry.js +6 -15
  725. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  726. package/dist/esm/ic-step.entry.js +40 -44
  727. package/dist/esm/ic-step.entry.js.map +1 -1
  728. package/dist/esm/ic-stepper.entry.js +16 -17
  729. package/dist/esm/ic-stepper.entry.js.map +1 -1
  730. package/dist/esm/ic-switch.entry.js +6 -8
  731. package/dist/esm/ic-switch.entry.js.map +1 -1
  732. package/dist/esm/ic-tab-context.entry.js +21 -28
  733. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  734. package/dist/esm/ic-tab-group.entry.js +25 -11
  735. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  736. package/dist/esm/ic-tab-panel.entry.js +6 -13
  737. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  738. package/dist/esm/ic-tab.entry.js +9 -8
  739. package/dist/esm/ic-tab.entry.js.map +1 -1
  740. package/dist/esm/ic-text-field.entry.js +50 -52
  741. package/dist/esm/ic-text-field.entry.js.map +1 -1
  742. package/dist/esm/ic-theme.entry.js +27 -4
  743. package/dist/esm/ic-theme.entry.js.map +1 -1
  744. package/dist/esm/ic-toast-region.entry.js +6 -7
  745. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  746. package/dist/esm/ic-toast.entry.js +83 -36
  747. package/dist/esm/ic-toast.entry.js.map +1 -1
  748. package/dist/esm/ic-toggle-button-group.entry.js +17 -17
  749. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  750. package/dist/esm/ic-toggle-button.entry.js +14 -15
  751. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  752. package/dist/esm/ic-top-navigation.entry.js +7 -8
  753. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  754. package/dist/esm/ic-typography.entry.js +9 -8
  755. package/dist/esm/ic-typography.entry.js.map +1 -1
  756. package/dist/esm/index-d1d2c456.js +12 -12
  757. package/dist/esm/loader.js +1 -1
  758. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +2 -2
  759. package/dist/types/components/ic-alert/ic-alert.d.ts +0 -4
  760. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -1
  761. package/dist/types/components/ic-badge/ic-badge.d.ts +8 -15
  762. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  763. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +13 -7
  764. package/dist/types/components/ic-button/ic-button.d.ts +0 -1
  765. package/dist/types/components/{ic-card/ic-card.d.ts → ic-card-vertical/ic-card-vertical.d.ts} +2 -2
  766. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -28
  767. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -4
  768. package/dist/types/components/ic-chip/ic-chip.d.ts +0 -9
  769. package/dist/types/components/ic-data-list/ic-data-list.d.ts +20 -0
  770. package/dist/types/components/ic-data-row/ic-data-row.d.ts +4 -4
  771. package/dist/types/components/ic-dialog/ic-dialog.d.ts +1 -37
  772. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +1 -1
  773. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  774. package/dist/types/components/ic-hero/ic-hero.d.ts +2 -6
  775. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -8
  776. package/dist/types/components/ic-input-label/ic-input-label.d.ts +4 -8
  777. package/dist/types/components/ic-link/ic-link.d.ts +9 -9
  778. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +3 -3
  779. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +1 -1
  780. package/dist/types/components/ic-menu/ic-menu.d.ts +0 -4
  781. package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -4
  782. package/dist/types/components/ic-pagination/ic-pagination.d.ts +4 -4
  783. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -4
  784. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -24
  785. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +3 -15
  786. package/dist/types/components/ic-select/ic-select.d.ts +1 -31
  787. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +1 -1
  788. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -4
  789. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -10
  790. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -1
  791. package/dist/types/components/ic-step/ic-step.d.ts +6 -6
  792. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -4
  793. package/dist/types/components/ic-switch/ic-switch.d.ts +0 -4
  794. package/dist/types/components/ic-tab/ic-tab.d.ts +5 -3
  795. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +11 -10
  796. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +9 -10
  797. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +5 -11
  798. package/dist/types/components/ic-text-field/ic-text-field.d.ts +7 -16
  799. package/dist/types/components/ic-theme/ic-theme.d.ts +7 -0
  800. package/dist/types/components/ic-toast/ic-toast.d.ts +8 -1
  801. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +1 -5
  802. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -1
  803. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +1 -1
  804. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
  805. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -1
  806. package/dist/types/components/ic-typography/ic-typography.d.ts +5 -1
  807. package/dist/types/components.d.ts +220 -538
  808. package/dist/types/utils/types.d.ts +4 -3
  809. package/hydrate/index.js +765 -874
  810. package/package.json +2 -2
  811. package/vscode-data.json +242 -319
  812. package/dist/cjs/helpers-94b33ab0.js.map +0 -1
  813. package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
  814. package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
  815. package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
  816. package/dist/cjs/types-dc22e301.js +0 -16
  817. package/dist/cjs/types-dc22e301.js.map +0 -1
  818. package/dist/collection/components/ic-card/ic-card.js.map +0 -1
  819. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
  820. package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
  821. package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
  822. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
  823. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
  824. package/dist/components/ic-alert2.js +0 -139
  825. package/dist/components/ic-alert2.js.map +0 -1
  826. package/dist/components/ic-card.js.map +0 -1
  827. package/dist/components/ic-data-entity.js +0 -53
  828. package/dist/components/ic-data-entity.js.map +0 -1
  829. package/dist/components/types.js +0 -16
  830. package/dist/components/types.js.map +0 -1
  831. package/dist/core/p-02262e76.entry.js +0 -2
  832. package/dist/core/p-02262e76.entry.js.map +0 -1
  833. package/dist/core/p-03f23a55.entry.js +0 -2
  834. package/dist/core/p-03f23a55.entry.js.map +0 -1
  835. package/dist/core/p-093600a2.entry.js +0 -2
  836. package/dist/core/p-093600a2.entry.js.map +0 -1
  837. package/dist/core/p-1145e33c.entry.js +0 -2
  838. package/dist/core/p-1145e33c.entry.js.map +0 -1
  839. package/dist/core/p-13a6e7ea.entry.js +0 -2
  840. package/dist/core/p-13a6e7ea.entry.js.map +0 -1
  841. package/dist/core/p-13ec2a00.entry.js +0 -2
  842. package/dist/core/p-13ec2a00.entry.js.map +0 -1
  843. package/dist/core/p-1ae6aadb.entry.js +0 -2
  844. package/dist/core/p-1ae6aadb.entry.js.map +0 -1
  845. package/dist/core/p-1d648b98.entry.js +0 -2
  846. package/dist/core/p-1d648b98.entry.js.map +0 -1
  847. package/dist/core/p-1d6e6ebe.entry.js +0 -2
  848. package/dist/core/p-1d6e6ebe.entry.js.map +0 -1
  849. package/dist/core/p-223889da.entry.js +0 -2
  850. package/dist/core/p-227f6a41.entry.js +0 -2
  851. package/dist/core/p-227f6a41.entry.js.map +0 -1
  852. package/dist/core/p-230187a8.entry.js +0 -2
  853. package/dist/core/p-230187a8.entry.js.map +0 -1
  854. package/dist/core/p-26b7b18f.js +0 -2
  855. package/dist/core/p-26b7b18f.js.map +0 -1
  856. package/dist/core/p-2d930c9c.entry.js +0 -2
  857. package/dist/core/p-2d930c9c.entry.js.map +0 -1
  858. package/dist/core/p-3af60dee.entry.js +0 -2
  859. package/dist/core/p-3af60dee.entry.js.map +0 -1
  860. package/dist/core/p-3b4c9571.entry.js +0 -2
  861. package/dist/core/p-3b4c9571.entry.js.map +0 -1
  862. package/dist/core/p-3eda4e14.entry.js.map +0 -1
  863. package/dist/core/p-3f2d4108.entry.js +0 -2
  864. package/dist/core/p-3f2d4108.entry.js.map +0 -1
  865. package/dist/core/p-4562904d.entry.js +0 -2
  866. package/dist/core/p-4562904d.entry.js.map +0 -1
  867. package/dist/core/p-457a4c63.entry.js +0 -2
  868. package/dist/core/p-457a4c63.entry.js.map +0 -1
  869. package/dist/core/p-49e997c7.entry.js +0 -2
  870. package/dist/core/p-49e997c7.entry.js.map +0 -1
  871. package/dist/core/p-4b89890b.entry.js +0 -2
  872. package/dist/core/p-4b89890b.entry.js.map +0 -1
  873. package/dist/core/p-55b11f6f.entry.js +0 -2
  874. package/dist/core/p-55b11f6f.entry.js.map +0 -1
  875. package/dist/core/p-5ccd3703.entry.js +0 -2
  876. package/dist/core/p-5ccd3703.entry.js.map +0 -1
  877. package/dist/core/p-604e72ac.entry.js +0 -2
  878. package/dist/core/p-604e72ac.entry.js.map +0 -1
  879. package/dist/core/p-60746e10.entry.js +0 -2
  880. package/dist/core/p-60746e10.entry.js.map +0 -1
  881. package/dist/core/p-60f7f555.entry.js +0 -2
  882. package/dist/core/p-60f7f555.entry.js.map +0 -1
  883. package/dist/core/p-69576aa0.entry.js +0 -2
  884. package/dist/core/p-69576aa0.entry.js.map +0 -1
  885. package/dist/core/p-6fae7e1f.entry.js.map +0 -1
  886. package/dist/core/p-7438ab1f.entry.js.map +0 -1
  887. package/dist/core/p-78605899.entry.js +0 -2
  888. package/dist/core/p-78605899.entry.js.map +0 -1
  889. package/dist/core/p-7c2b59fe.entry.js +0 -2
  890. package/dist/core/p-7c2b59fe.entry.js.map +0 -1
  891. package/dist/core/p-836e71de.entry.js +0 -2
  892. package/dist/core/p-836e71de.entry.js.map +0 -1
  893. package/dist/core/p-843ed766.entry.js +0 -2
  894. package/dist/core/p-843ed766.entry.js.map +0 -1
  895. package/dist/core/p-8c325d9b.entry.js +0 -2
  896. package/dist/core/p-8c325d9b.entry.js.map +0 -1
  897. package/dist/core/p-936ab032.entry.js +0 -2
  898. package/dist/core/p-936ab032.entry.js.map +0 -1
  899. package/dist/core/p-96505636.entry.js +0 -2
  900. package/dist/core/p-96505636.entry.js.map +0 -1
  901. package/dist/core/p-9c9ba3cd.entry.js +0 -2
  902. package/dist/core/p-9c9ba3cd.entry.js.map +0 -1
  903. package/dist/core/p-9e15d0e1.entry.js +0 -2
  904. package/dist/core/p-9e15d0e1.entry.js.map +0 -1
  905. package/dist/core/p-a6ff78aa.entry.js +0 -2
  906. package/dist/core/p-a6ff78aa.entry.js.map +0 -1
  907. package/dist/core/p-a75f3c4d.entry.js +0 -2
  908. package/dist/core/p-a75f3c4d.entry.js.map +0 -1
  909. package/dist/core/p-aeb001d7.entry.js +0 -2
  910. package/dist/core/p-aeb001d7.entry.js.map +0 -1
  911. package/dist/core/p-b47021d8.entry.js +0 -2
  912. package/dist/core/p-b47021d8.entry.js.map +0 -1
  913. package/dist/core/p-bb963aa4.entry.js +0 -2
  914. package/dist/core/p-bb963aa4.entry.js.map +0 -1
  915. package/dist/core/p-be5d5f93.entry.js +0 -2
  916. package/dist/core/p-be5d5f93.entry.js.map +0 -1
  917. package/dist/core/p-c1d5e7f2.entry.js +0 -2
  918. package/dist/core/p-c1d5e7f2.entry.js.map +0 -1
  919. package/dist/core/p-cb14349b.entry.js +0 -2
  920. package/dist/core/p-cb14349b.entry.js.map +0 -1
  921. package/dist/core/p-d3750771.entry.js +0 -2
  922. package/dist/core/p-d3750771.entry.js.map +0 -1
  923. package/dist/core/p-db52d416.entry.js +0 -2
  924. package/dist/core/p-db52d416.entry.js.map +0 -1
  925. package/dist/core/p-dbc0f5da.entry.js +0 -2
  926. package/dist/core/p-dbc0f5da.entry.js.map +0 -1
  927. package/dist/core/p-dcd475cc.entry.js +0 -2
  928. package/dist/core/p-dcd475cc.entry.js.map +0 -1
  929. package/dist/core/p-dd9d8e68.entry.js +0 -2
  930. package/dist/core/p-def5ba6b.entry.js +0 -2
  931. package/dist/core/p-def5ba6b.entry.js.map +0 -1
  932. package/dist/core/p-e6bad80b.entry.js +0 -2
  933. package/dist/core/p-e6bad80b.entry.js.map +0 -1
  934. package/dist/core/p-e735d773.entry.js +0 -2
  935. package/dist/core/p-e735d773.entry.js.map +0 -1
  936. package/dist/core/p-e7fa6804.entry.js +0 -2
  937. package/dist/core/p-e7fa6804.entry.js.map +0 -1
  938. package/dist/core/p-e8fa0095.entry.js +0 -2
  939. package/dist/core/p-e8fa0095.entry.js.map +0 -1
  940. package/dist/core/p-ed2b2bd7.entry.js +0 -2
  941. package/dist/core/p-ed2b2bd7.entry.js.map +0 -1
  942. package/dist/core/p-ee1c9f20.entry.js +0 -2
  943. package/dist/core/p-ee1c9f20.entry.js.map +0 -1
  944. package/dist/core/p-fef9e8c9.js +0 -2
  945. package/dist/core/p-fef9e8c9.js.map +0 -1
  946. package/dist/esm/helpers-3905ccc4.js.map +0 -1
  947. package/dist/esm/ic-card.entry.js +0 -146
  948. package/dist/esm/ic-card.entry.js.map +0 -1
  949. package/dist/esm/ic-data-entity.entry.js +0 -25
  950. package/dist/esm/ic-data-entity.entry.js.map +0 -1
  951. package/dist/esm/types-6f6b41a5.js +0 -16
  952. package/dist/esm/types-6f6b41a5.js.map +0 -1
  953. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  954. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -20
@@ -24,18 +24,19 @@ export class Link {
24
24
  forceUpdate(this);
25
25
  }
26
26
  };
27
- this.appearance = "default";
28
27
  this.download = false;
29
28
  this.href = null;
30
29
  this.hreflang = undefined;
30
+ this.monochrome = false;
31
31
  this.referrerpolicy = undefined;
32
32
  this.rel = undefined;
33
- this.showIcon = undefined;
34
33
  this.target = undefined;
34
+ this.theme = "inherit";
35
35
  }
36
36
  componentWillLoad() {
37
37
  this.inheritedAttributes = inheritAttributes(this.el, IC_INHERITED_ARIA);
38
38
  this.updateTheme();
39
+ this.el.setAttribute("exportparts", "link");
39
40
  }
40
41
  componentDidLoad() {
41
42
  this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
@@ -60,7 +61,13 @@ export class Link {
60
61
  updateTheme(newTheme = null) {
61
62
  const theme = getThemeFromContext(this.el, newTheme);
62
63
  if (theme !== IcThemeForegroundEnum.Default) {
63
- this.appearance = theme;
64
+ this.monochrome = true;
65
+ if (theme === IcThemeForegroundEnum.Light) {
66
+ this.theme = "dark";
67
+ }
68
+ else {
69
+ this.theme = "light";
70
+ }
64
71
  }
65
72
  }
66
73
  hasRouterSlot() {
@@ -71,11 +78,14 @@ export class Link {
71
78
  return !!this.routerSlot;
72
79
  }
73
80
  render() {
74
- const { download, href, hreflang, referrerpolicy, rel, target, showIcon, appearance, } = this;
75
- return (h(Host, { class: { ["link"]: true, [`${appearance}`]: true } }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h("a", Object.assign({ class: {
76
- ["ic-link"]: href !== null,
77
- [`${appearance}`]: href !== null,
78
- }, download: download !== false ? download : null, href: href, hrefLang: hreflang, referrerPolicy: referrerpolicy, rel: rel, target: target, tabindex: href !== null ? "0" : "-1" }, this.inheritedAttributes), h("slot", null), (showIcon || target === "_blank") && (h("span", { class: "ic-link-open-in-new-icon", innerHTML: OpenInNew }))))));
81
+ const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
82
+ return (h(Host, { class: {
83
+ ["ic-link"]: true,
84
+ [`ic-theme-${theme}`]: theme !== "inherit",
85
+ ["ic-link-monochrome"]: monochrome,
86
+ } }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h("a", Object.assign({ class: {
87
+ ["link"]: href !== null,
88
+ }, download: download !== false ? download : null, href: href, hrefLang: hreflang, referrerPolicy: referrerpolicy, rel: rel, target: target, tabindex: href !== null ? "0" : "-1" }, this.inheritedAttributes, { part: "link" }), h("slot", null), target === "_blank" && (h("span", { class: "ic-link-open-in-new-icon", innerHTML: OpenInNew }))))));
79
89
  }
80
90
  static get is() { return "ic-link"; }
81
91
  static get encapsulation() { return "shadow"; }
@@ -92,30 +102,6 @@ export class Link {
92
102
  }
93
103
  static get properties() {
94
104
  return {
95
- "appearance": {
96
- "type": "string",
97
- "mutable": true,
98
- "complexType": {
99
- "original": "IcThemeForeground",
100
- "resolved": "\"dark\" | \"default\" | \"light\"",
101
- "references": {
102
- "IcThemeForeground": {
103
- "location": "import",
104
- "path": "../../utils/types",
105
- "id": "src/utils/types.ts::IcThemeForeground"
106
- }
107
- }
108
- },
109
- "required": false,
110
- "optional": true,
111
- "docs": {
112
- "tags": [],
113
- "text": "The appearance of the link, e.g. dark, light, or default."
114
- },
115
- "attribute": "appearance",
116
- "reflect": false,
117
- "defaultValue": "\"default\""
118
- },
119
105
  "download": {
120
106
  "type": "any",
121
107
  "mutable": false,
@@ -169,6 +155,24 @@ export class Link {
169
155
  "attribute": "hreflang",
170
156
  "reflect": false
171
157
  },
158
+ "monochrome": {
159
+ "type": "boolean",
160
+ "mutable": false,
161
+ "complexType": {
162
+ "original": "boolean",
163
+ "resolved": "boolean",
164
+ "references": {}
165
+ },
166
+ "required": false,
167
+ "optional": true,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "If `true`, the link will display as black in the light theme, and white in the dark theme."
171
+ },
172
+ "attribute": "monochrome",
173
+ "reflect": false,
174
+ "defaultValue": "false"
175
+ },
172
176
  "referrerpolicy": {
173
177
  "type": "string",
174
178
  "mutable": false,
@@ -208,42 +212,46 @@ export class Link {
208
212
  "attribute": "rel",
209
213
  "reflect": false
210
214
  },
211
- "showIcon": {
212
- "type": "boolean",
215
+ "target": {
216
+ "type": "string",
213
217
  "mutable": false,
214
218
  "complexType": {
215
- "original": "boolean",
216
- "resolved": "boolean",
219
+ "original": "string",
220
+ "resolved": "string",
217
221
  "references": {}
218
222
  },
219
223
  "required": false,
220
224
  "optional": true,
221
225
  "docs": {
222
- "tags": [{
223
- "name": "deprecated",
224
- "text": "This prop should not be used anymore. The 'open in new tab/window' icon will display automatically if target=\"_blank\"."
225
- }],
226
- "text": ""
226
+ "tags": [],
227
+ "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
227
228
  },
228
- "attribute": "show-icon",
229
+ "attribute": "target",
229
230
  "reflect": false
230
231
  },
231
- "target": {
232
+ "theme": {
232
233
  "type": "string",
233
234
  "mutable": false,
234
235
  "complexType": {
235
- "original": "string",
236
- "resolved": "string",
237
- "references": {}
236
+ "original": "IcThemeMode",
237
+ "resolved": "\"dark\" | \"inherit\" | \"light\"",
238
+ "references": {
239
+ "IcThemeMode": {
240
+ "location": "import",
241
+ "path": "../../utils/types",
242
+ "id": "src/utils/types.ts::IcThemeMode"
243
+ }
244
+ }
238
245
  },
239
246
  "required": false,
240
247
  "optional": true,
241
248
  "docs": {
242
249
  "tags": [],
243
- "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
250
+ "text": "Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component."
244
251
  },
245
- "attribute": "target",
246
- "reflect": false
252
+ "attribute": "theme",
253
+ "reflect": false,
254
+ "defaultValue": "\"inherit\""
247
255
  }
248
256
  };
249
257
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ic-link.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,MAAM,EACN,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAq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AC,EAAE,IAAI,KAAK,IAAI;gBAC1B,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,IAAI,KAAK,IAAI;aACjC,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;YAE5B,eAAQ;YACP,CAAC,QAAQ,IAAI,MAAM,KAAK,QAAQ,CAAC,IAAI,CACpC,YAAM,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAE,SAAS,GAAI,CAChE,CACC,CACL,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n forceUpdate,\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]: string } = {};\n private routerSlot: HTMLElement;\n private hostMutationObserver: MutationObserver = null;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * The appearance of the link, e.g. dark, light, or default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\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 * @deprecated This prop should not be used anymore. The 'open in new tab/window' icon will display automatically if target=\"_blank\".\n */\n @Prop() showIcon?: boolean;\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 componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, IC_INHERITED_ARIA);\n this.updateTheme();\n }\n\n componentDidLoad(): void {\n this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n attributes: true,\n });\n }\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler({ detail }: CustomEvent<IcTheme>): void {\n this.updateTheme(detail.mode);\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n this.el.shadowRoot.querySelector(\"a\")?.focus();\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme);\n\n if (theme !== IcThemeForegroundEnum.Default) {\n this.appearance = theme;\n }\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 // triggered when attributes of host element change\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n let forceComponentUpdate = false;\n mutationList.forEach(({ attributeName }) => {\n if (IC_INHERITED_ARIA.includes(attributeName)) {\n this.inheritedAttributes[attributeName] =\n this.el.getAttribute(attributeName);\n forceComponentUpdate = true;\n }\n });\n if (forceComponentUpdate) {\n forceUpdate(this);\n }\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 || target === \"_blank\") && (\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":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,MAAM,EACN,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAGL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AASH,MAAM,OAAO,IAAI;;QACP,wBAAmB,GAA4B,EAAE,CAAC;QAElD,yBA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AAC,CAAC,CACtB,YAAM,IAAI,EAAC,aAAa,GAAQ,CACjC,CAAC,CAAC,CAAC,CACF,uBACE,KAAK,EAAE;gBACL,CAAC,MAAM,CAAC,EAAE,IAAI,KAAK,IAAI;aACxB,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,IAC5B,IAAI,EAAC,MAAM;YAEX,eAAQ;YACP,MAAM,KAAK,QAAQ,IAAI,CACtB,YAAM,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAE,SAAS,GAAI,CAChE,CACC,CACL,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n forceUpdate,\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 IcThemeMode,\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]: string } = {};\n private routerSlot: HTMLElement;\n private hostMutationObserver: MutationObserver = null;\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 * If `true`, the link will display as black in the light theme, and white in the dark theme.\n */\n @Prop() monochrome?: boolean = false;\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 * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, IC_INHERITED_ARIA);\n this.updateTheme();\n this.el.setAttribute(\"exportparts\", \"link\");\n }\n\n componentDidLoad(): void {\n this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n attributes: true,\n });\n }\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler({ detail }: CustomEvent<IcTheme>): void {\n this.updateTheme(detail.mode);\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n this.el.shadowRoot.querySelector(\"a\")?.focus();\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme);\n\n if (theme !== IcThemeForegroundEnum.Default) {\n this.monochrome = true;\n if (theme === IcThemeForegroundEnum.Light) {\n this.theme = \"dark\";\n } else {\n this.theme = \"light\";\n }\n }\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 // triggered when attributes of host element change\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n let forceComponentUpdate = false;\n mutationList.forEach(({ attributeName }) => {\n if (IC_INHERITED_ARIA.includes(attributeName)) {\n this.inheritedAttributes[attributeName] =\n this.el.getAttribute(attributeName);\n forceComponentUpdate = true;\n }\n });\n if (forceComponentUpdate) {\n forceUpdate(this);\n }\n };\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n monochrome,\n theme,\n } = this;\n\n return (\n <Host\n class={{\n [\"ic-link\"]: true,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [\"ic-link-monochrome\"]: monochrome,\n }}\n >\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"link\"]: 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 part=\"link\"\n >\n <slot />\n {target === \"_blank\" && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -7,145 +7,63 @@ describe("ic-link component", () => {
7
7
  components: [Link],
8
8
  html: `<ic-link>IC Link Test</ic-link>`,
9
9
  });
10
- expect(page.root).toEqualHtml(`
11
- <ic-link class="default link">
12
- <mock:shadow-root>
13
- <a tabindex="-1">
14
- <slot></slot>
15
- </a>
16
- </mock:shadow-root>
17
- IC Link Test
18
- </ic-link>
19
- `);
10
+ expect(page.root).toMatchSnapshot("default-link");
20
11
  });
21
12
  it("should apply the 'download' attribute to the anchor element", async () => {
22
13
  const page = await newSpecPage({
23
14
  components: [Link],
24
15
  html: `<ic-link download="test-download">IC Link Test</ic-link>`,
25
16
  });
26
- expect(page.root)
27
- .toEqualHtml(`<ic-link class="default link" download="test-download">
28
- <mock:shadow-root>
29
- <a download="test-download" tabindex="-1">
30
- <slot></slot>
31
- </a>
32
- </mock:shadow-root>
33
- IC Link Test
34
- </ic-link>
35
- `);
17
+ expect(page.root).toMatchSnapshot("download-link");
36
18
  });
37
19
  it("should apply the 'href' attribute and ic-link styling to the anchor element", async () => {
38
20
  const page = await newSpecPage({
39
21
  components: [Link],
40
22
  html: `<ic-link href="test-href">IC Link Test</ic-link>`,
41
23
  });
42
- expect(page.root)
43
- .toEqualHtml(`<ic-link href="test-href" class="default link">
44
- <mock:shadow-root>
45
- <a class="default ic-link" href="test-href" tabindex="0">
46
- <slot></slot>
47
- </a>
48
- </mock:shadow-root>
49
- IC Link Test
50
- </ic-link>
51
- `);
24
+ expect(page.root).toMatchSnapshot("default-link-href");
52
25
  });
53
- it("should apply the 'dark' appearance styling and ic-link styling", async () => {
26
+ it("should apply the 'dark' theme styling and ic-link styling", async () => {
54
27
  const page = await newSpecPage({
55
28
  components: [Link],
56
- html: `<ic-link href="test-href" appearance="dark">IC Link Test</ic-link>`,
29
+ html: `<ic-link href="test-href" theme="dark">IC Link Test</ic-link>`,
57
30
  });
58
- expect(page.root)
59
- .toEqualHtml(`<ic-link href="test-href" appearance="dark" class="dark link">
60
- <mock:shadow-root>
61
- <a class="dark ic-link" href="test-href" tabindex="0">
62
- <slot></slot>
63
- </a>
64
- </mock:shadow-root>
65
- IC Link Test
66
- </ic-link>
67
- `);
31
+ expect(page.root).toMatchSnapshot("link-dark-theme");
68
32
  });
69
33
  it("should apply the 'hreflang' attribute to the anchor element", async () => {
70
34
  const page = await newSpecPage({
71
35
  components: [Link],
72
36
  html: `<ic-link hreflang="test-hreflang">IC Link Test</ic-link>`,
73
37
  });
74
- expect(page.root)
75
- .toEqualHtml(`<ic-link class="default link" hreflang="test-hreflang">
76
- <mock:shadow-root>
77
- <a hreflang="test-hreflang" tabindex="-1">
78
- <slot></slot>
79
- </a>
80
- </mock:shadow-root>
81
- IC Link Test
82
- </ic-link>
83
- `);
38
+ expect(page.root).toMatchSnapshot("default-link-hreflang");
84
39
  });
85
40
  it("should apply the 'referrerpolicy' attribute to the anchor element", async () => {
86
41
  const page = await newSpecPage({
87
42
  components: [Link],
88
43
  html: `<ic-link referrerpolicy="no-referrer">IC Link Test</ic-link>`,
89
44
  });
90
- expect(page.root)
91
- .toEqualHtml(`<ic-link class="default link" referrerpolicy="no-referrer">
92
- <mock:shadow-root>
93
- <a referrerpolicy="no-referrer" tabindex="-1">
94
- <slot></slot>
95
- </a>
96
- </mock:shadow-root>
97
- IC Link Test
98
- </ic-link>
99
- `);
45
+ expect(page.root).toMatchSnapshot("default-link-referrerpolicy");
100
46
  });
101
47
  it("should apply the 'rel' attribute to the anchor element", async () => {
102
48
  const page = await newSpecPage({
103
49
  components: [Link],
104
50
  html: `<ic-link rel="test-rel">IC Link Test</ic-link>`,
105
51
  });
106
- expect(page.root).toEqualHtml(`<ic-link class="default link" rel="test-rel">
107
- <mock:shadow-root>
108
- <a rel="test-rel" tabindex="-1">
109
- <slot></slot>
110
- </a>
111
- </mock:shadow-root>
112
- IC Link Test
113
- </ic-link>
114
- `);
52
+ expect(page.root).toMatchSnapshot("default-link-rel");
115
53
  });
116
54
  it("should apply the 'target' attribute to the anchor element", async () => {
117
55
  const page = await newSpecPage({
118
56
  components: [Link],
119
57
  html: `<ic-link target="test-target">IC Link Test</ic-link>`,
120
58
  });
121
- expect(page.root)
122
- .toEqualHtml(`<ic-link class="default link" target="test-target">
123
- <mock:shadow-root>
124
- <a target="test-target" tabindex="-1">
125
- <slot></slot>
126
- </a>
127
- </mock:shadow-root>
128
- IC Link Test
129
- </ic-link>
130
- `);
59
+ expect(page.root).toMatchSnapshot("default-link-target");
131
60
  });
132
- it("should render an 'open in new' icon when 'show-icon' is provided", async () => {
61
+ it("should render an 'open in new' icon when target is blank", async () => {
133
62
  const page = await newSpecPage({
134
63
  components: [Link],
135
- html: `<ic-link show-icon>IC Link Test</ic-link>`,
64
+ html: `<ic-link target="_blank">IC Link Test</ic-link>`,
136
65
  });
137
- expect(page.root).toEqualHtml(`<ic-link class="default link" show-icon>
138
- <mock:shadow-root>
139
- <a tabindex="-1">
140
- <slot></slot>
141
- <span class="ic-link-open-in-new-icon">
142
- svg
143
- </span>
144
- </a>
145
- </mock:shadow-root>
146
- IC Link Test
147
- </ic-link>
148
- `);
66
+ expect(page.root).toMatchSnapshot("default-link-target-blank");
149
67
  });
150
68
  it("should render a slotted link", async () => {
151
69
  const page = await newSpecPage({
@@ -154,20 +72,7 @@ describe("ic-link component", () => {
154
72
  <ic-link slot="router-item">Slotted Link</ic-link>
155
73
  </ic-link>`,
156
74
  });
157
- expect(page.root).toEqualHtml(`<ic-link class="default link">
158
- <mock:shadow-root>
159
- <slot name="router-item"></slot>
160
- </mock:shadow-root>
161
- <ic-link class="default link" slot="router-item">
162
- <mock:shadow-root>
163
- <a tabindex="-1">
164
- <slot></slot>
165
- </a>
166
- </mock:shadow-root>
167
- Slotted Link
168
- </ic-link>
169
- </ic-link>
170
- `);
75
+ expect(page.root).toMatchSnapshot("slotted-link");
171
76
  });
172
77
  it("should get theme from context", async () => {
173
78
  const page = await newSpecPage({
@@ -186,10 +91,10 @@ describe("ic-link component", () => {
186
91
  });
187
92
  page.rootInstance.themeChangeHandler({ detail: { mode: "dark" } });
188
93
  await page.waitForChanges();
189
- expect(page.rootInstance.appearance).toBe("dark");
94
+ expect(page.rootInstance.theme).toBe("light");
190
95
  page.rootInstance.themeChangeHandler({ detail: { mode: "light" } });
191
96
  await page.waitForChanges();
192
- expect(page.rootInstance.appearance).toBe("light");
97
+ expect(page.rootInstance.theme).toBe("dark");
193
98
  });
194
99
  it("should call 'setFocus' when link is focused", async () => {
195
100
  const page = await newSpecPage({
@@ -1 +1 @@
1
- {"version":3,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;QAE5B,MAAM,CACJ,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,CACnE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Alert } from \"../../../ic-alert/ic-alert\";\nimport { Link } from \"../../ic-link\";\n\ndescribe(\"ic-link component\", () => {\n it(\"should render a link by default with the correct text\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-link class=\"default link\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'download' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link download=\"test-download\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" download=\"test-download\">\n <mock:shadow-root>\n <a download=\"test-download\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'href' attribute and ic-link styling to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" class=\"default link\">\n <mock:shadow-root>\n <a class=\"default ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'dark' appearance styling and ic-link styling\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\" appearance=\"dark\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" appearance=\"dark\" class=\"dark link\">\n <mock:shadow-root>\n <a class=\"dark ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'hreflang' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link hreflang=\"test-hreflang\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" hreflang=\"test-hreflang\">\n <mock:shadow-root>\n <a hreflang=\"test-hreflang\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'referrerpolicy' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link referrerpolicy=\"no-referrer\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" referrerpolicy=\"no-referrer\">\n <mock:shadow-root>\n <a referrerpolicy=\"no-referrer\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'rel' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link rel=\"test-rel\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" rel=\"test-rel\">\n <mock:shadow-root>\n <a rel=\"test-rel\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'target' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link target=\"test-target\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" target=\"test-target\">\n <mock:shadow-root>\n <a target=\"test-target\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render an 'open in new' icon when 'show-icon' is provided\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link show-icon>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" show-icon>\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n <span class=\"ic-link-open-in-new-icon\">\n svg\n </span>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render a slotted link\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>\n <ic-link slot=\"router-item\">Slotted Link</ic-link>\n </ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\">\n <mock:shadow-root>\n <slot name=\"router-item\"></slot>\n </mock:shadow-root>\n <ic-link class=\"default link\" slot=\"router-item\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n Slotted Link\n </ic-link>\n </ic-link>\n `);\n });\n\n it(\"should get theme from context\", async () => {\n const page = await newSpecPage({\n components: [Alert, Link],\n html: `<ic-alert message=\"This has an action\"><ic-link slot=\"action\">Theme context link</ic-link></ic-alert>`,\n });\n\n expect(page.root).toMatchSnapshot(\"alert-theme-context\");\n });\n\n it(\"should correctly set variant on theme change\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-hero heading=\"Hero heading\" subheading=\"Hero description\">\n <ic-link slot=\"interaction\">Link</ic-link>\n </ic-hero>\n`,\n });\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"dark\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"dark\");\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"light\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"light\");\n });\n\n it(\"should call 'setFocus' when link is focused\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n //Can't expect anything in this test - this is to increase code coverage only\n await page.rootInstance.setFocus().toHaveBeenCalled;\n });\n\n it(\"should update any attributes that are inherited from the root element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n expect(\n page.root.shadowRoot.querySelector(\"a\").getAttribute(\"aria-label\")\n ).toBeNull();\n\n page.root.setAttribute(\"aria-label\", \"new-label\");\n page.rootInstance.hostMutationCallback([{ attributeName: \"aria-label\" }]);\n await page.waitForChanges();\n\n expect(\n page.root.shadowRoot.querySelector(\"a\").getAttribute(\"aria-label\")\n ).toBe(\"new-label\");\n page.rootInstance.disconnectedCallback();\n });\n});\n"]}
1
+ {"version":3,"file":"ic-link.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-link/test/basic/ic-link.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;QACrE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,iCAAiC;SACxC,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6DAA6D,EAAE,KAAK,IAAI,EAAE;QAC3E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,0DAA0D;SACjE,CAAC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,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,iCAAiC;SACxC,CAAC,CAAC;QACH,MAAM,CACJ,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,CACnE,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QAClD,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;QAC1E,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,MAAM,CACJ,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,CACnE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Alert } from \"../../../ic-alert/ic-alert\";\nimport { Link } from \"../../ic-link\";\n\ndescribe(\"ic-link component\", () => {\n it(\"should render a link by default with the correct text\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link\");\n });\n\n it(\"should apply the 'download' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link download=\"test-download\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"download-link\");\n });\n\n it(\"should apply the 'href' attribute and ic-link styling to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-href\");\n });\n\n it(\"should apply the 'dark' theme styling and ic-link styling\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\" theme=\"dark\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"link-dark-theme\");\n });\n\n it(\"should apply the 'hreflang' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link hreflang=\"test-hreflang\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-hreflang\");\n });\n\n it(\"should apply the 'referrerpolicy' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link referrerpolicy=\"no-referrer\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-referrerpolicy\");\n });\n\n it(\"should apply the 'rel' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link rel=\"test-rel\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-rel\");\n });\n\n it(\"should apply the 'target' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link target=\"test-target\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-target\");\n });\n\n it(\"should render an 'open in new' icon when target is blank\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link target=\"_blank\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"default-link-target-blank\");\n });\n\n it(\"should render a slotted link\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>\n <ic-link slot=\"router-item\">Slotted Link</ic-link>\n </ic-link>`,\n });\n\n expect(page.root).toMatchSnapshot(\"slotted-link\");\n });\n\n it(\"should get theme from context\", async () => {\n const page = await newSpecPage({\n components: [Alert, Link],\n html: `<ic-alert message=\"This has an action\"><ic-link slot=\"action\">Theme context link</ic-link></ic-alert>`,\n });\n\n expect(page.root).toMatchSnapshot(\"alert-theme-context\");\n });\n\n it(\"should correctly set variant on theme change\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-hero heading=\"Hero heading\" subheading=\"Hero description\">\n <ic-link slot=\"interaction\">Link</ic-link>\n </ic-hero>\n`,\n });\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"dark\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.theme).toBe(\"light\");\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"light\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.theme).toBe(\"dark\");\n });\n\n it(\"should call 'setFocus' when link is focused\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n //Can't expect anything in this test - this is to increase code coverage only\n await page.rootInstance.setFocus().toHaveBeenCalled;\n });\n\n it(\"should update any attributes that are inherited from the root element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n expect(\n page.root.shadowRoot.querySelector(\"a\").getAttribute(\"aria-label\")\n ).toBeNull();\n\n page.root.setAttribute(\"aria-label\", \"new-label\");\n page.rootInstance.hostMutationCallback([{ attributeName: \"aria-label\" }]);\n await page.waitForChanges();\n\n expect(\n page.root.shadowRoot.querySelector(\"a\").getAttribute(\"aria-label\")\n ).toBe(\"new-label\");\n page.rootInstance.disconnectedCallback();\n });\n});\n"]}
@@ -456,7 +456,7 @@ video {
456
456
  --linear-line-height: var(--ic-space-xs);
457
457
  }
458
458
 
459
- :host(.light) {
459
+ :host(.ic-loading-indicator-light) {
460
460
  --inner-color: var(--ic-architectural-white);
461
461
  --outer-color: var(--ic-architectural-800);
462
462
  --label-color: var(--ic-architectural-white);
@@ -474,7 +474,7 @@ video {
474
474
  --linear-line-height: var(--ic-space-xxs);
475
475
  }
476
476
 
477
- :host([size="default"]) {
477
+ :host([size="medium"]) {
478
478
  --circular-diameter: 5rem;
479
479
  }
480
480
 
@@ -489,12 +489,13 @@ video {
489
489
  --circular-diameter: 1.25rem;
490
490
  }
491
491
 
492
- :host(.label) {
492
+ :host(.ic-loading-indicator-label) {
493
493
  --margin: 0 0 var(--ic-space-xs) 0;
494
494
  }
495
495
 
496
496
  .ic-loading-label {
497
- color: var(--label-color);
497
+ --ic-typography-color: var(--label-color);
498
+
498
499
  margin-left: var(--label-margin-left);
499
500
  }
500
501
 
@@ -543,7 +544,7 @@ video {
543
544
  width: var(--linear-width);
544
545
  }
545
546
 
546
- :host(.full-width) {
547
+ :host(.ic-loading-indicator-full-width) {
547
548
  --linear-border-radius: none;
548
549
  }
549
550
 
@@ -625,15 +626,17 @@ video {
625
626
  height: inherit;
626
627
  overflow: hidden;
627
628
  margin: auto;
628
- color: var(--compact-step-inner-color, var(--ic-status-info));
629
+
630
+ --ic-typography-color: var(--compact-step-inner-color, var(--ic-status-info));
629
631
  }
630
632
 
631
633
  :host(.not-required.compact-step-progress-indicator) .inner-text {
632
- color: var(--ic-color-tertiary-text);
634
+ --ic-typography-color: var(--ic-color-tertiary-text);
633
635
  }
634
636
 
635
- :host(.light.not-required.compact-step-progress-indicator) .inner-text {
636
- color: var(--ic-architectural-400);
637
+ :host(.ic-loading-indicator-light.not-required.compact-step-progress-indicator)
638
+ .inner-text {
639
+ --ic-typography-color: var(--ic-architectural-400);
637
640
  }
638
641
 
639
642
  /** High Contrast **/