@ukic/web-components 2.1.0-beta.8 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1215) hide show
  1. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  2. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  3. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  4. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +10 -3
  6. package/dist/cjs/core.cjs.js.map +1 -1
  7. package/dist/cjs/{helpers-5f391578.js → helpers-eb53c416.js} +96 -27
  8. package/dist/cjs/helpers-eb53c416.js.map +1 -0
  9. package/dist/cjs/ic-alert.cjs.entry.js +12 -35
  10. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js +6 -5
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +39 -33
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js +16 -14
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +179 -104
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-card.cjs.entry.js +46 -45
  20. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js +24 -23
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox.cjs.entry.js +42 -29
  24. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-chip.cjs.entry.js +19 -15
  26. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-row.cjs.entry.js +38 -24
  32. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  34. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +19 -18
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-footer-link.cjs.entry.js +24 -17
  40. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer.cjs.entry.js +23 -21
  42. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-hero.cjs.entry.js +23 -21
  44. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +177 -0
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +300 -161
  48. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js +14 -16
  50. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-link.cjs.entry.js +23 -23
  52. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  54. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
  56. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js +20 -19
  58. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js +88 -58
  60. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js +50 -42
  62. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js +31 -37
  64. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-page-header.cjs.entry.js +25 -28
  66. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-pagination-item.cjs.entry.js +56 -0
  68. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-pagination.cjs.entry.js +227 -0
  70. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -0
  71. package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
  72. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  73. package/dist/cjs/ic-radio-group.cjs.entry.js +43 -25
  74. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-radio-option.cjs.entry.js +40 -38
  76. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-search-bar.cjs.entry.js +181 -101
  78. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  80. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-select.cjs.entry.js +360 -177
  82. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-side-navigation.cjs.entry.js +116 -87
  84. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
  86. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
  88. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-step.cjs.entry.js +10 -10
  90. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  92. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-switch.cjs.entry.js +21 -19
  94. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-context.cjs.entry.js +68 -32
  96. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab-group.cjs.entry.js +10 -118
  98. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab-panel.cjs.entry.js +15 -4
  100. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tab.cjs.entry.js +32 -7
  102. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-text-field.cjs.entry.js +102 -72
  104. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  106. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  108. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  109. package/dist/cjs/ic-toast.cjs.entry.js +169 -0
  110. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  111. package/dist/cjs/ic-top-navigation.cjs.entry.js +52 -48
  112. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-typography.cjs.entry.js +97 -5
  114. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  115. package/dist/cjs/{index-3ef30d9d.js → index-2a0c6769.js} +272 -44
  116. package/dist/cjs/index-2a0c6769.js.map +1 -0
  117. package/dist/cjs/loader.cjs.js +4 -3
  118. package/dist/cjs/loader.cjs.js.map +1 -1
  119. package/dist/cjs/{popper-11d5f714.js → popper-d7adcfc6.js} +10 -17
  120. package/dist/cjs/popper-d7adcfc6.js.map +1 -0
  121. package/dist/cjs/types-3eb02246.js.map +1 -1
  122. package/dist/collection/assets/error-icon.svg +2 -2
  123. package/dist/collection/assets/info-icon.svg +2 -2
  124. package/dist/collection/assets/neutral-icon.svg +2 -2
  125. package/dist/collection/assets/pagination-first-last.svg +3 -0
  126. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  127. package/dist/collection/assets/success-icon.svg +2 -2
  128. package/dist/collection/assets/warning-icon.svg +2 -2
  129. package/dist/collection/collection-manifest.json +20 -11
  130. package/dist/collection/components/ic-alert/ic-alert.css +1 -1
  131. package/dist/collection/components/ic-alert/ic-alert.js +51 -62
  132. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  133. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  134. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  135. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  136. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  137. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  138. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  139. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +8 -4
  140. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +5 -4
  141. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  142. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  143. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  144. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  145. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  146. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  147. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +19 -4
  148. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +30 -28
  149. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  150. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  151. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  152. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +37 -31
  153. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  154. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  155. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  156. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  157. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  158. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  159. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  160. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  161. package/dist/collection/components/ic-button/ic-button.css +23 -8
  162. package/dist/collection/components/ic-button/ic-button.js +270 -114
  163. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  164. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  165. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  166. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
  167. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  168. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
  169. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  170. package/dist/collection/components/ic-card/ic-card.css +35 -10
  171. package/dist/collection/components/ic-card/ic-card.js +123 -122
  172. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  173. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  174. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  175. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  176. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  177. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  178. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  179. package/dist/collection/components/ic-checkbox/ic-checkbox.css +11 -8
  180. package/dist/collection/components/ic-checkbox/ic-checkbox.js +108 -76
  181. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  182. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
  183. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +64 -67
  184. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  185. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
  186. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  187. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  188. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  189. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  190. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +175 -0
  191. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  192. package/dist/collection/components/ic-chip/ic-chip.css +11 -10
  193. package/dist/collection/components/ic-chip/ic-chip.js +56 -52
  194. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  195. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  196. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  197. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  198. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  199. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +4 -0
  200. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  201. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  202. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  203. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  204. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  205. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  206. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  207. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  208. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  209. package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
  210. package/dist/collection/components/ic-data-row/ic-data-row.js +51 -37
  211. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  212. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  213. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  214. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
  215. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  216. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  217. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  218. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  219. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  220. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  221. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
  222. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  223. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  224. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  225. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  226. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  227. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  228. package/dist/collection/components/ic-footer/ic-footer.css +2 -2
  229. package/dist/collection/components/ic-footer/ic-footer.js +51 -49
  230. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  231. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  232. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  233. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  234. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  235. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  236. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  237. package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -4
  238. package/dist/collection/components/ic-footer-link/ic-footer-link.js +112 -15
  239. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  240. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  241. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  242. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  243. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  244. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +19 -18
  245. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  246. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
  247. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  248. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  249. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  250. package/dist/collection/components/ic-hero/ic-hero.css +23 -22
  251. package/dist/collection/components/ic-hero/ic-hero.js +97 -95
  252. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  253. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  254. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  255. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  256. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  257. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  258. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  259. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +535 -0
  260. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +232 -0
  261. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  262. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +34 -0
  263. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  264. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  265. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  266. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +38 -9
  267. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  268. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  269. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  270. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  271. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  272. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  273. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -4
  274. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  275. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  276. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  277. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  278. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
  279. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  280. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  281. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  282. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  283. package/dist/collection/components/ic-link/ic-link.css +16 -3
  284. package/dist/collection/components/ic-link/ic-link.js +56 -52
  285. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  286. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  287. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  288. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  289. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  290. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
  291. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +112 -101
  292. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  293. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  294. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  295. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  296. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  297. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  298. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  299. package/dist/collection/components/ic-menu/ic-menu.css +52 -11
  300. package/dist/collection/components/ic-menu/ic-menu.js +521 -268
  301. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  302. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
  303. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  304. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  305. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  306. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  307. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  308. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  309. package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
  310. package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
  311. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  312. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  313. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  314. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
  315. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  316. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
  317. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +58 -57
  318. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  319. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  320. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  321. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +8 -11
  322. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +102 -72
  323. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  324. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  325. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  326. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  327. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  328. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +70 -20
  329. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +181 -83
  330. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  331. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  332. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  333. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  334. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  335. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +23 -18
  336. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +34 -40
  337. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  338. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  339. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  340. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  341. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  342. package/dist/collection/components/ic-page-header/ic-page-header.css +12 -1
  343. package/dist/collection/components/ic-page-header/ic-page-header.js +66 -69
  344. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  345. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  346. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  347. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  348. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  349. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  350. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  351. package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
  352. package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
  353. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  354. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  355. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  356. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
  357. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  358. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  359. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  360. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
  361. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  362. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  363. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
  364. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  365. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  366. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  367. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
  368. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
  369. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  370. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
  371. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  372. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  373. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  374. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
  375. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  376. package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
  377. package/dist/collection/components/ic-radio-group/ic-radio-group.js +104 -80
  378. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  379. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  380. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  381. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  382. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  383. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  384. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  385. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  386. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  387. package/dist/collection/components/ic-radio-option/ic-radio-option.css +6 -6
  388. package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -96
  389. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  390. package/dist/collection/components/ic-search-bar/ic-search-bar.css +18 -14
  391. package/dist/collection/components/ic-search-bar/ic-search-bar.js +496 -299
  392. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  393. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  394. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  395. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  396. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1099 -0
  397. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  398. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
  399. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  400. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  401. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  402. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  403. package/dist/collection/components/ic-select/ic-select.css +20 -19
  404. package/dist/collection/components/ic-select/ic-select.js +641 -356
  405. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  406. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  407. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  408. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
  409. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  410. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
  411. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  412. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +55 -46
  413. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +156 -127
  414. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  415. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  416. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  417. package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +90 -0
  418. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  419. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +412 -0
  420. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  421. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  422. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  423. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  424. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  425. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  426. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  427. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  428. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  429. package/dist/collection/components/ic-status-tag/ic-status-tag.css +10 -13
  430. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  431. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  432. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  433. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  434. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  435. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  436. package/dist/collection/components/ic-step/ic-step.css +6 -6
  437. package/dist/collection/components/ic-step/ic-step.js +127 -127
  438. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  439. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  440. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  441. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  442. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  443. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  444. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  445. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  446. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  447. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  448. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  449. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  450. package/dist/collection/components/ic-switch/ic-switch.css +4 -4
  451. package/dist/collection/components/ic-switch/ic-switch.js +75 -73
  452. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  453. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  454. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  455. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  456. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  457. package/dist/collection/components/ic-tab/ic-tab.css +4 -4
  458. package/dist/collection/components/ic-tab/ic-tab.js +114 -31
  459. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  460. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  461. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  462. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  463. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  464. package/dist/collection/components/ic-tab-context/ic-tab-context.js +157 -77
  465. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  466. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  467. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  468. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  469. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
  470. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  471. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  472. package/dist/collection/components/ic-tab-group/ic-tab-group.js +40 -180
  473. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  474. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -4
  475. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +89 -34
  476. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  477. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  478. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  479. package/dist/collection/components/ic-text-field/ic-text-field.css +1 -10
  480. package/dist/collection/components/ic-text-field/ic-text-field.js +456 -345
  481. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  482. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  483. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  484. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  485. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  486. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  487. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  488. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  489. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  490. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  491. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  492. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  493. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  494. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  495. package/dist/collection/components/ic-toast/ic-toast.js +386 -0
  496. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  497. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  498. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  499. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +16 -0
  500. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  501. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  502. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  503. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  504. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  505. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  506. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  507. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  508. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  509. package/dist/collection/components/ic-tooltip/ic-tooltip.css +27 -15
  510. package/dist/collection/components/ic-tooltip/ic-tooltip.js +116 -64
  511. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  512. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  513. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  514. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
  515. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  516. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
  517. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  518. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +25 -48
  519. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +108 -86
  520. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  521. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
  522. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  523. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
  524. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  525. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  526. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  527. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
  528. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  529. package/dist/collection/components/ic-typography/ic-typography.css +58 -1
  530. package/dist/collection/components/ic-typography/ic-typography.js +140 -22
  531. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  532. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  533. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  534. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
  535. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  536. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +296 -0
  537. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  538. package/dist/collection/testspec.setup.js +21 -0
  539. package/dist/collection/testspec.setup.js.map +1 -1
  540. package/dist/collection/utils/constants.js +28 -0
  541. package/dist/collection/utils/constants.js.map +1 -1
  542. package/dist/collection/utils/helpers.js +31 -27
  543. package/dist/collection/utils/helpers.js.map +1 -1
  544. package/dist/collection/utils/types.js.map +1 -1
  545. package/dist/components/OpenInNew.js +5 -0
  546. package/dist/components/OpenInNew.js.map +1 -0
  547. package/dist/components/helpers.js +89 -27
  548. package/dist/components/helpers.js.map +1 -1
  549. package/dist/components/ic-alert.js +1 -136
  550. package/dist/components/ic-alert.js.map +1 -1
  551. package/dist/components/ic-alert2.js +117 -0
  552. package/dist/components/ic-alert2.js.map +1 -0
  553. package/dist/components/ic-back-to-top.js +9 -8
  554. package/dist/components/ic-back-to-top.js.map +1 -1
  555. package/dist/components/ic-breadcrumb-group.js +39 -33
  556. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  557. package/dist/components/ic-breadcrumb2.js +16 -14
  558. package/dist/components/ic-breadcrumb2.js.map +1 -1
  559. package/dist/components/ic-button2.js +101 -45
  560. package/dist/components/ic-button2.js.map +1 -1
  561. package/dist/components/ic-card.js +54 -53
  562. package/dist/components/ic-card.js.map +1 -1
  563. package/dist/components/ic-checkbox-group.js +28 -28
  564. package/dist/components/ic-checkbox-group.js.map +1 -1
  565. package/dist/components/ic-checkbox.js +49 -35
  566. package/dist/components/ic-checkbox.js.map +1 -1
  567. package/dist/components/ic-chip.js +24 -20
  568. package/dist/components/ic-chip.js.map +1 -1
  569. package/dist/components/ic-classification-banner.js +1 -1
  570. package/dist/components/ic-classification-banner.js.map +1 -1
  571. package/dist/components/ic-data-entity.js +2 -2
  572. package/dist/components/ic-data-entity.js.map +1 -1
  573. package/dist/components/ic-data-row.js +39 -25
  574. package/dist/components/ic-data-row.js.map +1 -1
  575. package/dist/components/ic-dialog.d.ts +11 -0
  576. package/dist/components/ic-dialog.js +356 -0
  577. package/dist/components/ic-dialog.js.map +1 -0
  578. package/dist/components/ic-divider2.js +3 -3
  579. package/dist/components/ic-divider2.js.map +1 -1
  580. package/dist/components/ic-footer-link-group.js +22 -21
  581. package/dist/components/ic-footer-link-group.js.map +1 -1
  582. package/dist/components/ic-footer-link.js +31 -19
  583. package/dist/components/ic-footer-link.js.map +1 -1
  584. package/dist/components/ic-footer.js +25 -23
  585. package/dist/components/ic-footer.js.map +1 -1
  586. package/dist/components/ic-hero.js +30 -28
  587. package/dist/components/ic-hero.js.map +1 -1
  588. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  589. package/dist/components/ic-horizontal-scroll.js +8 -0
  590. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  591. package/dist/components/ic-horizontal-scroll2.js +218 -0
  592. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  593. package/dist/components/ic-input-component-container2.js +11 -12
  594. package/dist/components/ic-input-component-container2.js.map +1 -1
  595. package/dist/components/ic-input-container2.js +1 -1
  596. package/dist/components/ic-input-label2.js +11 -11
  597. package/dist/components/ic-input-label2.js.map +1 -1
  598. package/dist/components/ic-input-validation2.js +9 -11
  599. package/dist/components/ic-input-validation2.js.map +1 -1
  600. package/dist/components/ic-link2.js +26 -26
  601. package/dist/components/ic-link2.js.map +1 -1
  602. package/dist/components/ic-loading-indicator2.js +49 -38
  603. package/dist/components/ic-loading-indicator2.js.map +1 -1
  604. package/dist/components/ic-menu-group.d.ts +11 -0
  605. package/dist/components/ic-menu-group.js +46 -0
  606. package/dist/components/ic-menu-group.js.map +1 -0
  607. package/dist/components/ic-menu-item.d.ts +11 -0
  608. package/dist/components/ic-menu-item.js +8 -0
  609. package/dist/components/ic-menu-item.js.map +1 -0
  610. package/dist/components/ic-menu-item2.js +169 -0
  611. package/dist/components/ic-menu-item2.js.map +1 -0
  612. package/dist/components/ic-menu2.js +326 -169
  613. package/dist/components/ic-menu2.js.map +1 -1
  614. package/dist/components/ic-navigation-button.js +26 -25
  615. package/dist/components/ic-navigation-button.js.map +1 -1
  616. package/dist/components/ic-navigation-group.js +91 -61
  617. package/dist/components/ic-navigation-group.js.map +1 -1
  618. package/dist/components/ic-navigation-item.js +62 -49
  619. package/dist/components/ic-navigation-item.js.map +1 -1
  620. package/dist/components/ic-navigation-menu2.js +33 -39
  621. package/dist/components/ic-navigation-menu2.js.map +1 -1
  622. package/dist/components/ic-page-header.js +57 -36
  623. package/dist/components/ic-page-header.js.map +1 -1
  624. package/dist/components/ic-pagination-item.d.ts +11 -0
  625. package/dist/components/ic-pagination-item.js +8 -0
  626. package/dist/components/ic-pagination-item.js.map +1 -0
  627. package/dist/components/ic-pagination-item2.js +81 -0
  628. package/dist/components/ic-pagination-item2.js.map +1 -0
  629. package/dist/components/ic-pagination.d.ts +11 -0
  630. package/dist/components/ic-pagination.js +288 -0
  631. package/dist/components/ic-pagination.js.map +1 -0
  632. package/dist/components/ic-popover-menu.d.ts +11 -0
  633. package/dist/components/ic-popover-menu.js +290 -0
  634. package/dist/components/ic-popover-menu.js.map +1 -0
  635. package/dist/components/ic-radio-group.js +48 -30
  636. package/dist/components/ic-radio-group.js.map +1 -1
  637. package/dist/components/ic-radio-option.js +46 -44
  638. package/dist/components/ic-radio-option.js.map +1 -1
  639. package/dist/components/ic-search-bar.js +206 -122
  640. package/dist/components/ic-search-bar.js.map +1 -1
  641. package/dist/components/ic-section-container2.js +2 -2
  642. package/dist/components/ic-section-container2.js.map +1 -1
  643. package/dist/components/ic-select.js +391 -200
  644. package/dist/components/ic-select.js.map +1 -1
  645. package/dist/components/ic-side-navigation.js +123 -94
  646. package/dist/components/ic-side-navigation.js.map +1 -1
  647. package/dist/components/ic-skeleton.js +6 -6
  648. package/dist/components/ic-skeleton.js.map +1 -1
  649. package/dist/components/ic-status-tag.js +9 -9
  650. package/dist/components/ic-status-tag.js.map +1 -1
  651. package/dist/components/ic-step.js +18 -18
  652. package/dist/components/ic-step.js.map +1 -1
  653. package/dist/components/ic-stepper.js +21 -21
  654. package/dist/components/ic-stepper.js.map +1 -1
  655. package/dist/components/ic-switch.js +26 -24
  656. package/dist/components/ic-switch.js.map +1 -1
  657. package/dist/components/ic-tab-context.js +73 -36
  658. package/dist/components/ic-tab-context.js.map +1 -1
  659. package/dist/components/ic-tab-group.js +33 -127
  660. package/dist/components/ic-tab-group.js.map +1 -1
  661. package/dist/components/ic-tab-panel.js +18 -7
  662. package/dist/components/ic-tab-panel.js.map +1 -1
  663. package/dist/components/ic-tab.js +33 -8
  664. package/dist/components/ic-tab.js.map +1 -1
  665. package/dist/components/ic-text-field2.js +132 -97
  666. package/dist/components/ic-text-field2.js.map +1 -1
  667. package/dist/components/ic-theme.js +2 -2
  668. package/dist/components/ic-theme.js.map +1 -1
  669. package/dist/components/ic-toast-region.d.ts +11 -0
  670. package/dist/components/ic-toast-region.js +63 -0
  671. package/dist/components/ic-toast-region.js.map +1 -0
  672. package/dist/components/ic-toast.d.ts +11 -0
  673. package/dist/components/ic-toast.js +218 -0
  674. package/dist/components/ic-toast.js.map +1 -0
  675. package/dist/components/ic-tooltip2.js +1854 -49
  676. package/dist/components/ic-tooltip2.js.map +1 -1
  677. package/dist/components/ic-top-navigation.js +70 -59
  678. package/dist/components/ic-top-navigation.js.map +1 -1
  679. package/dist/components/ic-typography2.js +101 -6
  680. package/dist/components/ic-typography2.js.map +1 -1
  681. package/dist/components/index.d.ts +9 -52
  682. package/dist/components/index.js +1 -50
  683. package/dist/components/index.js.map +1 -1
  684. package/dist/components/types.js.map +1 -1
  685. package/dist/core/core.css +47 -3
  686. package/dist/core/core.esm.js +1 -1
  687. package/dist/core/core.esm.js.map +1 -1
  688. package/dist/core/index.esm.js.map +1 -1
  689. package/dist/core/p-0330cb21.entry.js +2 -0
  690. package/dist/core/p-0330cb21.entry.js.map +1 -0
  691. package/dist/core/p-03d1a4a1.entry.js +2 -0
  692. package/dist/core/p-03d1a4a1.entry.js.map +1 -0
  693. package/dist/core/p-041604fc.entry.js +2 -0
  694. package/dist/core/p-041604fc.entry.js.map +1 -0
  695. package/dist/core/{p-24240e11.js → p-06321d19.js} +2 -2
  696. package/dist/core/p-06321d19.js.map +1 -0
  697. package/dist/core/p-1959ec8d.entry.js +2 -0
  698. package/dist/core/p-1959ec8d.entry.js.map +1 -0
  699. package/dist/core/p-1b9b8355.entry.js +2 -0
  700. package/dist/core/p-1b9b8355.entry.js.map +1 -0
  701. package/dist/core/p-26d5fd0f.entry.js +2 -0
  702. package/dist/core/p-26d5fd0f.entry.js.map +1 -0
  703. package/dist/core/p-27d42378.entry.js +2 -0
  704. package/dist/core/p-27d42378.entry.js.map +1 -0
  705. package/dist/core/p-2ae7687a.entry.js +2 -0
  706. package/dist/core/p-2ae7687a.entry.js.map +1 -0
  707. package/dist/core/p-332690f0.entry.js +2 -0
  708. package/dist/core/p-332690f0.entry.js.map +1 -0
  709. package/dist/core/p-39adc795.entry.js +2 -0
  710. package/dist/core/p-39adc795.entry.js.map +1 -0
  711. package/dist/core/{p-6be5e06b.entry.js → p-3adb1167.entry.js} +2 -2
  712. package/dist/core/p-3adb1167.entry.js.map +1 -0
  713. package/dist/core/p-429e4d24.entry.js +2 -0
  714. package/dist/core/p-429e4d24.entry.js.map +1 -0
  715. package/dist/core/{p-ccd078a6.entry.js → p-441e7d98.entry.js} +2 -2
  716. package/dist/core/p-441e7d98.entry.js.map +1 -0
  717. package/dist/core/p-44512ebe.js.map +1 -1
  718. package/dist/core/p-48301eff.entry.js +2 -0
  719. package/dist/core/p-48301eff.entry.js.map +1 -0
  720. package/dist/core/p-5144e840.entry.js +2 -0
  721. package/dist/core/p-5144e840.entry.js.map +1 -0
  722. package/dist/core/p-5c846d0a.entry.js +2 -0
  723. package/dist/core/p-5c846d0a.entry.js.map +1 -0
  724. package/dist/core/p-5c9c940f.entry.js +2 -0
  725. package/dist/core/p-5c9c940f.entry.js.map +1 -0
  726. package/dist/core/p-5dd0b02e.js +2 -0
  727. package/dist/core/p-5dd0b02e.js.map +1 -0
  728. package/dist/core/{p-c2710b13.entry.js → p-65750560.entry.js} +2 -2
  729. package/dist/core/p-65750560.entry.js.map +1 -0
  730. package/dist/core/p-6840589f.entry.js +2 -0
  731. package/dist/core/p-6840589f.entry.js.map +1 -0
  732. package/dist/core/p-69920d86.js +3 -0
  733. package/dist/core/p-69920d86.js.map +1 -0
  734. package/dist/core/p-6bad30aa.entry.js +2 -0
  735. package/dist/core/p-6bad30aa.entry.js.map +1 -0
  736. package/dist/core/p-6f57b13c.js.map +1 -1
  737. package/dist/core/p-7536dd31.entry.js +2 -0
  738. package/dist/core/p-7536dd31.entry.js.map +1 -0
  739. package/dist/core/p-7ae091ef.entry.js +2 -0
  740. package/dist/core/p-7ae091ef.entry.js.map +1 -0
  741. package/dist/core/p-7c0dcd00.js +2 -0
  742. package/dist/core/p-7c0dcd00.js.map +1 -0
  743. package/dist/core/p-7c46caf2.entry.js +2 -0
  744. package/dist/core/p-7c46caf2.entry.js.map +1 -0
  745. package/dist/core/{p-dd194ba9.entry.js → p-83d5bcae.entry.js} +2 -2
  746. package/dist/core/p-83d5bcae.entry.js.map +1 -0
  747. package/dist/core/p-892d9d9f.entry.js +2 -0
  748. package/dist/core/p-892d9d9f.entry.js.map +1 -0
  749. package/dist/core/p-8991f656.entry.js +2 -0
  750. package/dist/core/p-8991f656.entry.js.map +1 -0
  751. package/dist/core/p-8c45ab61.entry.js +2 -0
  752. package/dist/core/p-8c45ab61.entry.js.map +1 -0
  753. package/dist/core/p-8c7f4343.js.map +1 -1
  754. package/dist/core/p-8ca80000.entry.js +2 -0
  755. package/dist/core/p-8ca80000.entry.js.map +1 -0
  756. package/dist/core/p-8d4f7027.js +2 -0
  757. package/dist/core/p-8d4f7027.js.map +1 -0
  758. package/dist/core/p-90d3a41b.entry.js +2 -0
  759. package/dist/core/p-90d3a41b.entry.js.map +1 -0
  760. package/dist/core/p-95992c98.entry.js +2 -0
  761. package/dist/core/p-95992c98.entry.js.map +1 -0
  762. package/dist/core/p-96b71172.entry.js +2 -0
  763. package/dist/core/p-96b71172.entry.js.map +1 -0
  764. package/dist/core/{p-a2d3e955.entry.js → p-96bcd466.entry.js} +2 -2
  765. package/dist/core/p-96bcd466.entry.js.map +1 -0
  766. package/dist/core/p-9e551fe9.entry.js +2 -0
  767. package/dist/core/p-9e551fe9.entry.js.map +1 -0
  768. package/dist/core/{p-0672c783.entry.js → p-a29fe0c6.entry.js} +2 -2
  769. package/dist/core/p-a29fe0c6.entry.js.map +1 -0
  770. package/dist/core/{p-eaf714a3.entry.js → p-a588886f.entry.js} +2 -2
  771. package/dist/core/p-a588886f.entry.js.map +1 -0
  772. package/dist/core/{p-0f773f37.entry.js → p-a8b94619.entry.js} +2 -2
  773. package/dist/core/p-a8b94619.entry.js.map +1 -0
  774. package/dist/core/p-adceb0cf.entry.js +2 -0
  775. package/dist/core/p-adceb0cf.entry.js.map +1 -0
  776. package/dist/core/p-b698b8ad.entry.js +2 -0
  777. package/dist/core/p-b698b8ad.entry.js.map +1 -0
  778. package/dist/core/p-b6c538ea.entry.js +2 -0
  779. package/dist/core/p-b6c538ea.entry.js.map +1 -0
  780. package/dist/core/p-c012b867.entry.js +2 -0
  781. package/dist/core/p-c012b867.entry.js.map +1 -0
  782. package/dist/core/p-c5716cbc.entry.js +2 -0
  783. package/dist/core/p-c5716cbc.entry.js.map +1 -0
  784. package/dist/core/p-ca6d834e.entry.js +2 -0
  785. package/dist/core/p-ca6d834e.entry.js.map +1 -0
  786. package/dist/core/{p-97d4b6cd.entry.js → p-cbbf4b05.entry.js} +2 -2
  787. package/dist/core/p-cbbf4b05.entry.js.map +1 -0
  788. package/dist/core/p-ce791694.entry.js +2 -0
  789. package/dist/core/p-ce791694.entry.js.map +1 -0
  790. package/dist/core/p-cef93d12.entry.js +2 -0
  791. package/dist/core/p-cef93d12.entry.js.map +1 -0
  792. package/dist/core/p-d2215b72.entry.js +2 -0
  793. package/dist/core/p-d2215b72.entry.js.map +1 -0
  794. package/dist/core/p-e0ee714a.entry.js +2 -0
  795. package/dist/core/p-e0ee714a.entry.js.map +1 -0
  796. package/dist/core/p-e6370b7e.entry.js +2 -0
  797. package/dist/core/p-e6370b7e.entry.js.map +1 -0
  798. package/dist/core/p-ee11e185.entry.js +2 -0
  799. package/dist/core/p-ee11e185.entry.js.map +1 -0
  800. package/dist/core/p-f24814b8.entry.js +2 -0
  801. package/dist/core/p-f24814b8.entry.js.map +1 -0
  802. package/dist/core/p-f665242d.entry.js +2 -0
  803. package/dist/core/p-f665242d.entry.js.map +1 -0
  804. package/dist/core/p-f7695299.entry.js +2 -0
  805. package/dist/core/p-f7695299.entry.js.map +1 -0
  806. package/dist/core/p-f923d11b.entry.js +2 -0
  807. package/dist/core/p-f923d11b.entry.js.map +1 -0
  808. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  809. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  810. package/dist/esm/chevron-icon-7927f709.js +8 -0
  811. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  812. package/dist/esm/core.js +7 -3
  813. package/dist/esm/core.js.map +1 -1
  814. package/dist/esm/{helpers-3aa2f5a5.js → helpers-85903813.js} +90 -28
  815. package/dist/esm/helpers-85903813.js.map +1 -0
  816. package/dist/esm/ic-alert.entry.js +12 -35
  817. package/dist/esm/ic-alert.entry.js.map +1 -1
  818. package/dist/esm/ic-back-to-top.entry.js +6 -5
  819. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  820. package/dist/esm/ic-breadcrumb-group.entry.js +39 -33
  821. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  822. package/dist/esm/ic-breadcrumb.entry.js +16 -14
  823. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  824. package/dist/esm/ic-button_3.entry.js +179 -104
  825. package/dist/esm/ic-button_3.entry.js.map +1 -1
  826. package/dist/esm/ic-card.entry.js +46 -45
  827. package/dist/esm/ic-card.entry.js.map +1 -1
  828. package/dist/esm/ic-checkbox-group.entry.js +24 -23
  829. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  830. package/dist/esm/ic-checkbox.entry.js +42 -29
  831. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  832. package/dist/esm/ic-chip.entry.js +19 -15
  833. package/dist/esm/ic-chip.entry.js.map +1 -1
  834. package/dist/esm/ic-classification-banner.entry.js +1 -1
  835. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  836. package/dist/esm/ic-data-entity.entry.js +2 -2
  837. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  838. package/dist/esm/ic-data-row.entry.js +38 -24
  839. package/dist/esm/ic-data-row.entry.js.map +1 -1
  840. package/dist/esm/ic-dialog.entry.js +291 -0
  841. package/dist/esm/ic-dialog.entry.js.map +1 -0
  842. package/dist/esm/ic-divider.entry.js +3 -3
  843. package/dist/esm/ic-divider.entry.js.map +1 -1
  844. package/dist/esm/ic-footer-link-group.entry.js +19 -18
  845. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  846. package/dist/esm/ic-footer-link.entry.js +24 -17
  847. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  848. package/dist/esm/ic-footer.entry.js +23 -21
  849. package/dist/esm/ic-footer.entry.js.map +1 -1
  850. package/dist/esm/ic-hero.entry.js +23 -21
  851. package/dist/esm/ic-hero.entry.js.map +1 -1
  852. package/dist/esm/ic-horizontal-scroll.entry.js +173 -0
  853. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  854. package/dist/esm/ic-input-component-container_3.entry.js +299 -160
  855. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  856. package/dist/esm/ic-input-label_2.entry.js +11 -13
  857. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  858. package/dist/esm/ic-link.entry.js +23 -23
  859. package/dist/esm/ic-link.entry.js.map +1 -1
  860. package/dist/esm/ic-menu-group.entry.js +20 -0
  861. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  862. package/dist/esm/ic-menu-item.entry.js +118 -0
  863. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  864. package/dist/esm/ic-navigation-button.entry.js +20 -19
  865. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  866. package/dist/esm/ic-navigation-group.entry.js +88 -58
  867. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  868. package/dist/esm/ic-navigation-item.entry.js +50 -42
  869. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  870. package/dist/esm/ic-navigation-menu.entry.js +31 -37
  871. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  872. package/dist/esm/ic-page-header.entry.js +25 -28
  873. package/dist/esm/ic-page-header.entry.js.map +1 -1
  874. package/dist/esm/ic-pagination-item.entry.js +52 -0
  875. package/dist/esm/ic-pagination-item.entry.js.map +1 -0
  876. package/dist/esm/ic-pagination.entry.js +223 -0
  877. package/dist/esm/ic-pagination.entry.js.map +1 -0
  878. package/dist/esm/ic-popover-menu.entry.js +233 -0
  879. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  880. package/dist/esm/ic-radio-group.entry.js +43 -25
  881. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  882. package/dist/esm/ic-radio-option.entry.js +40 -38
  883. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  884. package/dist/esm/ic-search-bar.entry.js +181 -101
  885. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  886. package/dist/esm/ic-section-container.entry.js +2 -2
  887. package/dist/esm/ic-section-container.entry.js.map +1 -1
  888. package/dist/esm/ic-select.entry.js +360 -177
  889. package/dist/esm/ic-select.entry.js.map +1 -1
  890. package/dist/esm/ic-side-navigation.entry.js +116 -87
  891. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  892. package/dist/esm/ic-skeleton.entry.js +4 -4
  893. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  894. package/dist/esm/ic-status-tag.entry.js +6 -6
  895. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  896. package/dist/esm/ic-step.entry.js +10 -10
  897. package/dist/esm/ic-step.entry.js.map +1 -1
  898. package/dist/esm/ic-stepper.entry.js +15 -15
  899. package/dist/esm/ic-stepper.entry.js.map +1 -1
  900. package/dist/esm/ic-switch.entry.js +21 -19
  901. package/dist/esm/ic-switch.entry.js.map +1 -1
  902. package/dist/esm/ic-tab-context.entry.js +68 -32
  903. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  904. package/dist/esm/ic-tab-group.entry.js +10 -118
  905. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  906. package/dist/esm/ic-tab-panel.entry.js +15 -4
  907. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  908. package/dist/esm/ic-tab.entry.js +32 -7
  909. package/dist/esm/ic-tab.entry.js.map +1 -1
  910. package/dist/esm/ic-text-field.entry.js +102 -72
  911. package/dist/esm/ic-text-field.entry.js.map +1 -1
  912. package/dist/esm/ic-theme.entry.js +2 -2
  913. package/dist/esm/ic-theme.entry.js.map +1 -1
  914. package/dist/esm/ic-toast-region.entry.js +44 -0
  915. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  916. package/dist/esm/ic-toast.entry.js +165 -0
  917. package/dist/esm/ic-toast.entry.js.map +1 -0
  918. package/dist/esm/ic-top-navigation.entry.js +52 -48
  919. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  920. package/dist/esm/ic-typography.entry.js +97 -5
  921. package/dist/esm/ic-typography.entry.js.map +1 -1
  922. package/dist/esm/{index-1500de1f.js → index-fd30b77e.js} +271 -45
  923. package/dist/esm/index-fd30b77e.js.map +1 -0
  924. package/dist/esm/loader.js +4 -3
  925. package/dist/esm/loader.js.map +1 -1
  926. package/dist/esm/polyfills/css-shim.js +1 -1
  927. package/dist/{components/popper.js → esm/popper-15e448b4.js} +10 -17
  928. package/dist/esm/popper-15e448b4.js.map +1 -0
  929. package/dist/esm/types-dd515332.js.map +1 -1
  930. package/dist/types/components/ic-alert/ic-alert.d.ts +13 -13
  931. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  932. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  933. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
  934. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +16 -9
  935. package/dist/types/components/ic-button/ic-button.d.ts +62 -32
  936. package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
  937. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  938. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +29 -23
  939. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +14 -15
  940. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
  941. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -15
  942. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
  943. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
  944. package/dist/types/components/ic-data-row/ic-data-row.d.ts +17 -11
  945. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  946. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  947. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
  948. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +26 -6
  949. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  950. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  951. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
  952. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +40 -0
  953. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  954. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  955. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  956. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
  957. package/dist/types/components/ic-link/ic-link.d.ts +9 -9
  958. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -37
  959. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
  960. package/dist/types/components/ic-menu/ic-menu.d.ts +89 -50
  961. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  962. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  963. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  964. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  965. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
  966. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +21 -18
  967. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +47 -27
  968. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  969. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  970. package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
  971. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -0
  972. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
  973. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  974. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
  975. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +22 -23
  976. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  977. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
  978. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +120 -86
  979. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +2 -1
  980. package/dist/types/components/ic-select/ic-select.d.ts +117 -73
  981. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +30 -24
  982. package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +1 -0
  983. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  984. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
  985. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  986. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
  987. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  988. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
  989. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  990. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
  991. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  992. package/dist/types/components/ic-tab/ic-tab.d.ts +25 -8
  993. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +29 -20
  994. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +6 -33
  995. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +27 -7
  996. package/dist/types/components/ic-text-field/ic-text-field.d.ts +110 -91
  997. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
  998. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +1 -0
  999. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  1000. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  1001. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  1002. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +1 -0
  1003. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  1004. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +22 -15
  1005. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
  1006. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
  1007. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
  1008. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
  1009. package/dist/types/components/ic-typography/ic-typography.d.ts +31 -4
  1010. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  1011. package/dist/types/components.d.ts +954 -37
  1012. package/dist/types/interface.d.ts +0 -1
  1013. package/dist/types/stencil-public-runtime.d.ts +74 -15
  1014. package/dist/types/testspec.setup.d.ts +11 -0
  1015. package/dist/types/utils/constants.d.ts +22 -0
  1016. package/dist/types/utils/helpers.d.ts +2 -0
  1017. package/dist/types/utils/types.d.ts +25 -20
  1018. package/hydrate/index.d.ts +17 -16
  1019. package/hydrate/index.js +4258 -2050
  1020. package/loader/index.d.ts +9 -0
  1021. package/package.json +9 -7
  1022. package/dist/cjs/chevron-icon-2645d6b0.js +0 -10
  1023. package/dist/cjs/chevron-icon-2645d6b0.js.map +0 -1
  1024. package/dist/cjs/error-icon-9af90abc.js +0 -20
  1025. package/dist/cjs/error-icon-9af90abc.js.map +0 -1
  1026. package/dist/cjs/helpers-5f391578.js.map +0 -1
  1027. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  1028. package/dist/cjs/popper-11d5f714.js.map +0 -1
  1029. package/dist/cjs/success-icon-c8fec63d.js +0 -12
  1030. package/dist/cjs/success-icon-c8fec63d.js.map +0 -1
  1031. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  1032. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  1033. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  1034. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  1035. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  1036. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  1037. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  1038. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  1039. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  1040. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  1041. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  1042. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  1043. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  1044. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  1045. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  1046. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  1047. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  1048. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  1049. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  1050. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  1051. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  1052. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  1053. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  1054. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  1055. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  1056. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  1057. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  1058. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  1059. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  1060. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  1061. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  1062. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  1063. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  1064. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  1065. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  1066. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  1067. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  1068. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  1069. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  1070. package/dist/components/error-icon.js +0 -17
  1071. package/dist/components/error-icon.js.map +0 -1
  1072. package/dist/components/popper.js.map +0 -1
  1073. package/dist/components/success-icon.js +0 -10
  1074. package/dist/components/success-icon.js.map +0 -1
  1075. package/dist/core/p-01ebd24d.entry.js +0 -2
  1076. package/dist/core/p-01ebd24d.entry.js.map +0 -1
  1077. package/dist/core/p-02a6562c.entry.js +0 -2
  1078. package/dist/core/p-02a6562c.entry.js.map +0 -1
  1079. package/dist/core/p-03a4d9dc.entry.js +0 -2
  1080. package/dist/core/p-03a4d9dc.entry.js.map +0 -1
  1081. package/dist/core/p-04cf6fab.entry.js +0 -2
  1082. package/dist/core/p-04cf6fab.entry.js.map +0 -1
  1083. package/dist/core/p-0672c783.entry.js.map +0 -1
  1084. package/dist/core/p-0f773f37.entry.js.map +0 -1
  1085. package/dist/core/p-0fc9d5c8.entry.js +0 -2
  1086. package/dist/core/p-0fc9d5c8.entry.js.map +0 -1
  1087. package/dist/core/p-10a672d4.entry.js +0 -2
  1088. package/dist/core/p-10a672d4.entry.js.map +0 -1
  1089. package/dist/core/p-24240e11.js.map +0 -1
  1090. package/dist/core/p-26fd7d7c.entry.js +0 -2
  1091. package/dist/core/p-26fd7d7c.entry.js.map +0 -1
  1092. package/dist/core/p-2961c45f.entry.js +0 -2
  1093. package/dist/core/p-2961c45f.entry.js.map +0 -1
  1094. package/dist/core/p-2a40f189.entry.js +0 -2
  1095. package/dist/core/p-2a40f189.entry.js.map +0 -1
  1096. package/dist/core/p-2e318c95.entry.js +0 -2
  1097. package/dist/core/p-2e318c95.entry.js.map +0 -1
  1098. package/dist/core/p-2ed06031.entry.js +0 -2
  1099. package/dist/core/p-2ed06031.entry.js.map +0 -1
  1100. package/dist/core/p-30ff49be.entry.js +0 -2
  1101. package/dist/core/p-30ff49be.entry.js.map +0 -1
  1102. package/dist/core/p-3c75ed36.js +0 -2
  1103. package/dist/core/p-3c75ed36.js.map +0 -1
  1104. package/dist/core/p-3f0232f6.entry.js +0 -2
  1105. package/dist/core/p-3f0232f6.entry.js.map +0 -1
  1106. package/dist/core/p-3f0ac826.entry.js +0 -2
  1107. package/dist/core/p-3f0ac826.entry.js.map +0 -1
  1108. package/dist/core/p-454a7f3d.entry.js +0 -2
  1109. package/dist/core/p-454a7f3d.entry.js.map +0 -1
  1110. package/dist/core/p-48f99591.entry.js +0 -2
  1111. package/dist/core/p-48f99591.entry.js.map +0 -1
  1112. package/dist/core/p-4a8c0c58.entry.js +0 -2
  1113. package/dist/core/p-4a8c0c58.entry.js.map +0 -1
  1114. package/dist/core/p-5368bcff.entry.js +0 -2
  1115. package/dist/core/p-5368bcff.entry.js.map +0 -1
  1116. package/dist/core/p-662d5b43.entry.js +0 -2
  1117. package/dist/core/p-662d5b43.entry.js.map +0 -1
  1118. package/dist/core/p-69512d85.entry.js +0 -2
  1119. package/dist/core/p-69512d85.entry.js.map +0 -1
  1120. package/dist/core/p-6bbc0cf5.entry.js +0 -2
  1121. package/dist/core/p-6bbc0cf5.entry.js.map +0 -1
  1122. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  1123. package/dist/core/p-6d0eaaeb.entry.js +0 -2
  1124. package/dist/core/p-6d0eaaeb.entry.js.map +0 -1
  1125. package/dist/core/p-86098b7e.entry.js +0 -2
  1126. package/dist/core/p-86098b7e.entry.js.map +0 -1
  1127. package/dist/core/p-8b383c23.entry.js +0 -2
  1128. package/dist/core/p-8b383c23.entry.js.map +0 -1
  1129. package/dist/core/p-97d4b6cd.entry.js.map +0 -1
  1130. package/dist/core/p-9e684c58.entry.js +0 -2
  1131. package/dist/core/p-9e684c58.entry.js.map +0 -1
  1132. package/dist/core/p-a2d3e955.entry.js.map +0 -1
  1133. package/dist/core/p-a472db51.entry.js +0 -2
  1134. package/dist/core/p-a472db51.entry.js.map +0 -1
  1135. package/dist/core/p-a6a77e5c.js +0 -2
  1136. package/dist/core/p-a6a77e5c.js.map +0 -1
  1137. package/dist/core/p-add01f10.entry.js +0 -2
  1138. package/dist/core/p-add01f10.entry.js.map +0 -1
  1139. package/dist/core/p-b29f210b.entry.js +0 -2
  1140. package/dist/core/p-b29f210b.entry.js.map +0 -1
  1141. package/dist/core/p-c2710b13.entry.js.map +0 -1
  1142. package/dist/core/p-c6764827.entry.js +0 -2
  1143. package/dist/core/p-c6764827.entry.js.map +0 -1
  1144. package/dist/core/p-ccd078a6.entry.js.map +0 -1
  1145. package/dist/core/p-d4f7a3e4.entry.js +0 -2
  1146. package/dist/core/p-d4f7a3e4.entry.js.map +0 -1
  1147. package/dist/core/p-d5e0c02a.js +0 -2
  1148. package/dist/core/p-d5e0c02a.js.map +0 -1
  1149. package/dist/core/p-d77f57d9.entry.js +0 -2
  1150. package/dist/core/p-d77f57d9.entry.js.map +0 -1
  1151. package/dist/core/p-dd194ba9.entry.js.map +0 -1
  1152. package/dist/core/p-de19fed4.entry.js +0 -2
  1153. package/dist/core/p-de19fed4.entry.js.map +0 -1
  1154. package/dist/core/p-e5e885b1.entry.js +0 -2
  1155. package/dist/core/p-e5e885b1.entry.js.map +0 -1
  1156. package/dist/core/p-e94dfa43.entry.js +0 -2
  1157. package/dist/core/p-e94dfa43.entry.js.map +0 -1
  1158. package/dist/core/p-eaf714a3.entry.js.map +0 -1
  1159. package/dist/core/p-ec26fc38.js +0 -2
  1160. package/dist/core/p-ec26fc38.js.map +0 -1
  1161. package/dist/core/p-f51f4d34.entry.js +0 -2
  1162. package/dist/core/p-f51f4d34.entry.js.map +0 -1
  1163. package/dist/core/p-f9370be6.js +0 -3
  1164. package/dist/core/p-f9370be6.js.map +0 -1
  1165. package/dist/esm/chevron-icon-98c98242.js +0 -8
  1166. package/dist/esm/chevron-icon-98c98242.js.map +0 -1
  1167. package/dist/esm/error-icon-1dc70ca0.js +0 -17
  1168. package/dist/esm/error-icon-1dc70ca0.js.map +0 -1
  1169. package/dist/esm/helpers-3aa2f5a5.js.map +0 -1
  1170. package/dist/esm/index-1500de1f.js.map +0 -1
  1171. package/dist/esm/popper-f860750c.js +0 -1801
  1172. package/dist/esm/popper-f860750c.js.map +0 -1
  1173. package/dist/esm/success-icon-75b04341.js +0 -10
  1174. package/dist/esm/success-icon-75b04341.js.map +0 -1
  1175. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  1176. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  1177. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
  1178. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  1179. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  1180. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  1181. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  1182. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  1183. /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
  1184. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
  1185. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
  1186. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  1187. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1188. /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
  1189. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1190. /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
  1191. /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
  1192. /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
  1193. /package/dist/types/components/{ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts → ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1194. /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1195. /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1196. /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1197. /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1198. /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1199. /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1200. /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1201. /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1202. /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1203. /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1204. /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1205. /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1206. /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1207. /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1208. /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1209. /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1210. /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1211. /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1212. /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1213. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1214. /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1215. /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
@@ -1,30 +1,44 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { b as getThemeFromContext, m as inheritAttributes, n as IC_INHERITED_ARIA } from './helpers.js';
2
+ import { O as OpenInNew } from './OpenInNew.js';
3
+ import { a as inheritAttributes, g as getThemeFromContext, I as IC_INHERITED_ARIA } from './helpers.js';
3
4
  import { I as IcThemeForegroundEnum } from './types.js';
4
5
 
5
- const OpenInNew = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>`;
6
+ const icLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.link) .ic-link,:host(.link) ::slotted(a){color:var(--ic-hyperlink);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}:host(.link.dark) .ic-link.dark,:host(.link.dark) ::slotted(a){color:var(--ic-color-primary-text)}:host(.link.light) .ic-link.light,:host(.link.light) ::slotted(a){color:var(--ic-color-white-text)}:host(.link) .ic-link:visited,:host(.link) ::slotted(a:visited){color:var(--ic-hyperlink-visited)}:host(.link) .ic-link:hover,:host(.link) .ic-link:focus,:host(.link) ::slotted(a:hover),:host(.link) ::slotted(a:focus){outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){:host(.link) .ic-link:hover,:host(.link) .ic-link:focus,:host(.link) ::slotted(a:hover),:host(.link) ::slotted(a:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.link) .ic-link:active,:host(.link) .ic-link:focus:active,:host(.link) .ic-link:visited:active,:host(.link) ::slotted(a:active),:host(.link) ::slotted(a:focus:active),:host(.link) ::slotted(a:visited:active){text-decoration:none}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink)}.ic-link.dark>.ic-link-open-in-new-icon{fill:var(--ic-color-primary-text)}.ic-link.light>.ic-link-open-in-new-icon{fill:var(--ic-color-white-text)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}.ic-link:visited>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink-visited)}.ic-link.light:visited>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink-contrast-visited)}:host(.breadcrumb-link) .ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .ic-link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .ic-link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .ic-link:visited{color:var(--ic-color-primary-text)}";
6
7
 
7
- const icLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.link) .ic-link,:host(.link) ::slotted(a){color:var(--ic-hyperlink);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}:host(.link.dark) .ic-link.dark,:host(.link.dark) ::slotted(a){color:var(--ic-color-primary-text)}:host(.link.light) .ic-link.light,:host(.link.light) ::slotted(a){color:var(--ic-color-white-text)}:host(.link) .ic-link:visited,:host(.link) ::slotted(a:visited){color:var(--ic-hyperlink-visited)}:host(.link) .ic-link:hover,:host(.link) .ic-link:focus,:host(.link) ::slotted(a:hover),:host(.link) ::slotted(a:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;outline:none}:host(.link) .ic-link:active,:host(.link) .ic-link:focus:active,:host(.link) .ic-link:visited:active,:host(.link) ::slotted(a:active),:host(.link) ::slotted(a:focus:active),:host(.link) ::slotted(a:visited:active){text-decoration:none}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink)}.ic-link.dark>.ic-link-open-in-new-icon{fill:var(--ic-color-primary-text)}.ic-link.light>.ic-link-open-in-new-icon{fill:var(--ic-color-white-text)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}.ic-link:visited>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink-visited)}.ic-link.light:visited>.ic-link-open-in-new-icon{fill:var(--ic-hyperlink-contrast-visited)}:host(.breadcrumb-link) .ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .ic-link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .ic-link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .ic-link:visited{color:var(--ic-color-primary-text)}";
8
-
9
- const Link = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ const Link = /*@__PURE__*/ proxyCustomElement(class Link extends HTMLElement {
10
9
  constructor() {
11
10
  super();
12
11
  this.__registerHost();
13
12
  this.__attachShadow();
14
13
  this.inheritedAttributes = {};
14
+ this.appearance = "default";
15
15
  this.download = false;
16
16
  this.href = null;
17
17
  this.hreflang = undefined;
18
18
  this.referrerpolicy = undefined;
19
19
  this.rel = undefined;
20
- this.target = undefined;
21
20
  this.showIcon = undefined;
22
- this.appearance = "default";
21
+ this.target = undefined;
22
+ }
23
+ componentWillLoad() {
24
+ this.inheritedAttributes = inheritAttributes(this.el, [
25
+ ...IC_INHERITED_ARIA,
26
+ "aria-expanded",
27
+ ]);
28
+ this.updateTheme();
23
29
  }
24
30
  themeChangeHandler(ev) {
25
31
  const theme = ev.detail;
26
32
  this.updateTheme(theme.mode);
27
33
  }
34
+ /**
35
+ * Sets focus on the link.
36
+ */
37
+ async setFocus() {
38
+ if (this.el.shadowRoot.querySelector("a")) {
39
+ this.el.shadowRoot.querySelector("a").focus();
40
+ }
41
+ }
28
42
  updateTheme(newTheme = null) {
29
43
  const theme = getThemeFromContext(this.el, newTheme || null);
30
44
  switch (theme) {
@@ -36,21 +50,6 @@ const Link = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
36
50
  break;
37
51
  }
38
52
  }
39
- /**
40
- * Sets focus on the link.
41
- */
42
- async setFocus() {
43
- if (this.el.shadowRoot.querySelector("a")) {
44
- this.el.shadowRoot.querySelector("a").focus();
45
- }
46
- }
47
- componentWillLoad() {
48
- this.inheritedAttributes = inheritAttributes(this.el, [
49
- ...IC_INHERITED_ARIA,
50
- "aria-expanded",
51
- ]);
52
- this.updateTheme();
53
- }
54
53
  hasRouterSlot() {
55
54
  this.routerSlot = this.el.querySelector('[slot="router-item"]');
56
55
  if (this.routerSlot) {
@@ -63,19 +62,20 @@ const Link = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
63
62
  return (h(Host, { class: { ["link"]: true, [`${appearance}`]: true } }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h("a", Object.assign({ class: {
64
63
  ["ic-link"]: href !== null,
65
64
  [`${appearance}`]: href !== null,
66
- }, 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 && (h("span", { class: "ic-link-open-in-new-icon", innerHTML: OpenInNew }))))));
65
+ }, 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 }))))));
67
66
  }
67
+ static get delegatesFocus() { return true; }
68
68
  get el() { return this; }
69
69
  static get style() { return icLinkCss; }
70
- }, [1, "ic-link", {
70
+ }, [17, "ic-link", {
71
+ "appearance": [1025],
71
72
  "download": [8],
72
73
  "href": [1],
73
74
  "hreflang": [1],
74
75
  "referrerpolicy": [1],
75
76
  "rel": [1],
76
- "target": [1],
77
77
  "showIcon": [4, "show-icon"],
78
- "appearance": [1025],
78
+ "target": [1],
79
79
  "setFocus": [64]
80
80
  }, [[4, "themeChange", "themeChangeHandler"]]]);
81
81
  function defineCustomElement() {
@@ -1 +1 @@
1
- {"file":"ic-link2.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,q/IAAq/I;;MC4B1/I,IAAI;;;;;IACP,wBAAmB,GAA6B,EAAE,CAAC;oBAQrB,KAAK;gBAKnB,IAAI;;;;;;sBA8B8B,SAAS;;EAGnE,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;GAC9B;EAEO,WAAW,CAAC,WAA8B,IAAI;IACpD,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,IAAI,IAAI,CAAC,CAAC;IAE7D,QAAQ,KAAK;MACX,KAAK,qBAAqB,CAAC,KAAK;QAC9B,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC,KAAK,CAA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ACD,QAAQ,EAAE,QAAQ,KAAK,KAAK,GAAG,QAAQ,GAAG,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,GAAG,GAAG,GAAG,IAAI,IAChC,IAAI,CAAC,mBAAmB,GAE5B,eAAQ,EACP,QAAQ,KACP,YAAM,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAE,SAAS,GAAI,CAChE,CACC,CACL,CACI,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-link/ic-link.css?tag=ic-link&encapsulation=shadow","./src/components/ic-link/ic-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.link) .ic-link,\n:host(.link) ::slotted(a) {\n color: var(--ic-hyperlink);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.link.dark) .ic-link.dark,\n:host(.link.dark) ::slotted(a) {\n color: var(--ic-color-primary-text);\n}\n\n:host(.link.light) .ic-link.light,\n:host(.link.light) ::slotted(a) {\n color: var(--ic-color-white-text);\n}\n\n:host(.link) .ic-link:visited,\n:host(.link) ::slotted(a:visited) {\n color: var(--ic-hyperlink-visited);\n}\n\n:host(.link) .ic-link:hover,\n:host(.link) .ic-link:focus,\n:host(.link) ::slotted(a:hover),\n:host(.link) ::slotted(a:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n outline: none;\n}\n\n:host(.link) .ic-link:active,\n:host(.link) .ic-link:focus:active,\n:host(.link) .ic-link:visited:active,\n:host(.link) ::slotted(a:active),\n:host(.link) ::slotted(a:focus:active),\n:host(.link) ::slotted(a:visited:active) {\n text-decoration: none;\n}\n\n.ic-link-open-in-new-icon {\n vertical-align: middle;\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-link > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink);\n}\n\n.ic-link.dark > .ic-link-open-in-new-icon {\n fill: var(--ic-color-primary-text);\n}\n\n.ic-link.light > .ic-link-open-in-new-icon {\n fill: var(--ic-color-white-text);\n}\n\n.ic-link-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: currentcolor;\n}\n\n.ic-link:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink-visited);\n}\n\n.ic-link.light:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink-contrast-visited);\n}\n\n:host(.breadcrumb-link) .ic-link {\n display: var(--breadcrumb-link-display);\n align-items: var(--breadcrumb-link-align-items);\n gap: var(--breadcrumb-link-gap);\n}\n\n:host(.breadcrumb-link) .ic-link ::slotted(.back-icon) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n}\n\n:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a) {\n font-weight: normal;\n color: inherit;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus) {\n outline: var(--ic-hc-focus-outline);\n text-decoration: none;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link:visited {\n color: var(--ic-color-primary-text);\n}\n","import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport OpenInNew from \"./assets/OpenInNew.svg\";\nimport { getThemeFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\n\n@Component({\n tag: \"ic-link\",\n styleUrl: \"ic-link.css\",\n shadow: true,\n})\nexport class Link {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private routerSlot: HTMLElement;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * If `true`, the 'open in new tab/window' icon will be displayed.\n */\n @Prop() showIcon?: boolean;\n\n /**\n * The appearance of the link, e.g. dark, light, or default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme || null);\n\n switch (theme) {\n case IcThemeForegroundEnum.Light:\n this.appearance = IcThemeForegroundEnum.Light;\n break;\n case IcThemeForegroundEnum.Dark:\n this.appearance = IcThemeForegroundEnum.Dark;\n break;\n }\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n }\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n ]);\n\n this.updateTheme();\n }\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n showIcon,\n appearance,\n } = this;\n\n return (\n <Host class={{ [\"link\"]: true, [`${appearance}`]: true }}>\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"ic-link\"]: href !== null,\n [`${appearance}`]: href !== null,\n }}\n download={download !== false ? download : null}\n href={href}\n hrefLang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n target={target}\n tabindex={href !== null ? \"0\" : \"-1\"}\n {...this.inheritedAttributes}\n >\n <slot />\n {showIcon && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-link2.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,6yJAA6yJ;;MC8BlzJ,IAAI;;;;;IACP,wBAAmB,GAA6B,EAAE,CAAC;sBAQD,SAAS;oBAK7B,KAAK;gBAKnB,IAAI;;;;;;;EA2B5B,iBAAiB;IACf,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE;MACpD,GAAG,iBAAiB;MACpB,eAAe;KAChB,CAAC,CAAC;IAEH,IAAI,CAAC,WAAW,EAAE,CAAC;GACpB;EAGD,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;GAC9B;;;;EAMD,MAAM,QAAQ;IACZ,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE;MACzC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC;KAC/C;GACF;EAEO,WAAW,CAAC,WAA8B,IAAI;IACpD,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,EA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,GAAG,IAAI,IAChC,IAAI,CAAC,mBAAmB,GAE5B,eAAQ,EACP,CAAC,QAAQ,IAAI,MAAM,KAAK,QAAQ,MAC/B,YAAM,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAE,SAAS,GAAI,CAChE,CACC,CACL,CACI,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-link/ic-link.css?tag=ic-link&encapsulation=shadow","./src/components/ic-link/ic-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.link) .ic-link,\n:host(.link) ::slotted(a) {\n color: var(--ic-hyperlink);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.link.dark) .ic-link.dark,\n:host(.link.dark) ::slotted(a) {\n color: var(--ic-color-primary-text);\n}\n\n:host(.link.light) .ic-link.light,\n:host(.link.light) ::slotted(a) {\n color: var(--ic-color-white-text);\n}\n\n:host(.link) .ic-link:visited,\n:host(.link) ::slotted(a:visited) {\n color: var(--ic-hyperlink-visited);\n}\n\n:host(.link) .ic-link:hover,\n:host(.link) .ic-link:focus,\n:host(.link) ::slotted(a:hover),\n:host(.link) ::slotted(a:focus) {\n outline: none;\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n@supports (text-decoration-thickness: 25%) {\n :host(.link) .ic-link:hover,\n :host(.link) .ic-link:focus,\n :host(.link) ::slotted(a:hover),\n :host(.link) ::slotted(a:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n\n:host(.link) .ic-link:active,\n:host(.link) .ic-link:focus:active,\n:host(.link) .ic-link:visited:active,\n:host(.link) ::slotted(a:active),\n:host(.link) ::slotted(a:focus:active),\n:host(.link) ::slotted(a:visited:active) {\n text-decoration: none;\n}\n\n.ic-link-open-in-new-icon {\n vertical-align: middle;\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-link > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink);\n}\n\n.ic-link.dark > .ic-link-open-in-new-icon {\n fill: var(--ic-color-primary-text);\n}\n\n.ic-link.light > .ic-link-open-in-new-icon {\n fill: var(--ic-color-white-text);\n}\n\n.ic-link-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: currentcolor;\n}\n\n.ic-link:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink-visited);\n}\n\n.ic-link.light:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-hyperlink-contrast-visited);\n}\n\n:host(.breadcrumb-link) .ic-link {\n display: var(--breadcrumb-link-display);\n align-items: var(--breadcrumb-link-align-items);\n gap: var(--breadcrumb-link-gap);\n}\n\n:host(.breadcrumb-link) .ic-link ::slotted(.back-icon) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n}\n\n:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a) {\n font-weight: normal;\n color: inherit;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus) {\n outline: var(--ic-hc-focus-outline);\n text-decoration: none;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link:visited {\n color: var(--ic-color-primary-text);\n}\n","import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\nimport { getThemeFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\n\n@Component({\n tag: \"ic-link\",\n styleUrl: \"ic-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Link {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private routerSlot: HTMLElement;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * 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, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n ]);\n\n this.updateTheme();\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n }\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme || null);\n\n switch (theme) {\n case IcThemeForegroundEnum.Light:\n this.appearance = IcThemeForegroundEnum.Light;\n break;\n case IcThemeForegroundEnum.Dark:\n this.appearance = IcThemeForegroundEnum.Dark;\n break;\n }\n }\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n showIcon,\n appearance,\n } = this;\n\n return (\n <Host class={{ [\"link\"]: true, [`${appearance}`]: true }}>\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"ic-link\"]: href !== null,\n [`${appearance}`]: href !== null,\n }}\n download={download !== false ? download : null}\n href={href}\n hrefLang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n target={target}\n tabindex={href !== null ? \"0\" : \"-1\"}\n {...this.inheritedAttributes}\n >\n <slot />\n {(showIcon || target === \"_blank\") && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,9 +2,9 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { I as IcThemeForegroundEnum } from './types.js';
3
3
  import { d as defineCustomElement$1 } from './ic-typography2.js';
4
4
 
5
- const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host([label]){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host([full-width]){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--outer-color);stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host([inner-label]) .ic-loading-circular-inner{display:grid}:host([inner-label]) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--ic-theme-primary)}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
5
+ const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--outer-color);stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--ic-status-info)}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
6
6
 
7
- const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class LoadingIndicator extends HTMLElement {
8
8
  constructor() {
9
9
  super();
10
10
  this.__registerHost();
@@ -16,7 +16,7 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
16
16
  };
17
17
  this.getLabel = (labelIndex, setLabel) => {
18
18
  return new Promise(() => {
19
- setInterval(() => {
19
+ this.interval = setInterval(() => {
20
20
  if (labelIndex < this.labelList.length - 1) {
21
21
  labelIndex++;
22
22
  }
@@ -43,18 +43,23 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
43
43
  // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property
44
44
  this.setCircleLineWidth = () => {
45
45
  const { offsetWidth: width } = this.outerElement;
46
- if (this.host.classList.contains("compact-step-progress-indicator")) {
47
- this.compactStepCircularLineWidth = 40;
48
- }
49
- if (width || this.compactStepCircularLineWidth === 40) {
46
+ const compactStepCircularLineWidth = this.host.classList.contains("compact-step-progress-indicator")
47
+ ? 40
48
+ : 0;
49
+ const toastDismissTimerCircularLineWidth = this.host.classList.contains("toast-dismiss-timer")
50
+ ? 20
51
+ : 0;
52
+ if (width ||
53
+ compactStepCircularLineWidth ||
54
+ toastDismissTimerCircularLineWidth) {
50
55
  this.circularLineWidth =
51
- (this.compactStepCircularLineWidth === 40
52
- ? this.compactStepCircularLineWidth
53
- : width) * 0.1;
56
+ (compactStepCircularLineWidth ||
57
+ toastDismissTimerCircularLineWidth ||
58
+ width) * 0.1;
54
59
  this.circularDiameter =
55
- this.compactStepCircularLineWidth === 40
56
- ? this.compactStepCircularLineWidth
57
- : width;
60
+ compactStepCircularLineWidth ||
61
+ toastDismissTimerCircularLineWidth ||
62
+ width;
58
63
  this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
59
64
  }
60
65
  };
@@ -111,23 +116,22 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
111
116
  this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
112
117
  }
113
118
  };
114
- this.progress = undefined;
115
- this.min = 0;
116
- this.max = 100;
117
- this.label = undefined;
119
+ this.circularDiameter = undefined;
120
+ this.circularLineWidth = undefined;
121
+ this.indeterminate = undefined;
122
+ this.indicatorLabel = undefined;
123
+ this.showSecond = false;
124
+ this.appearance = "dark";
118
125
  this.description = "Loading";
126
+ this.fullWidth = false;
119
127
  this.innerLabel = undefined;
120
128
  this.labelDuration = 8000;
129
+ this.max = 100;
130
+ this.min = 0;
121
131
  this.size = "default";
122
132
  this.type = "circular";
123
- this.fullWidth = false;
124
- this.appearance = "dark";
125
- this.indicatorLabel = undefined;
126
- this.indeterminate = undefined;
127
- this.showSecond = false;
128
- this.circularLineWidth = undefined;
129
- this.compactStepCircularLineWidth = 0;
130
- this.circularDiameter = undefined;
133
+ this.label = undefined;
134
+ this.progress = undefined;
131
135
  }
132
136
  watchPropHandler() {
133
137
  this.updateLabel();
@@ -137,6 +141,9 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
137
141
  this.updateCircularProgressMeter();
138
142
  }
139
143
  }
144
+ disconnectedCallback() {
145
+ clearInterval(this.interval);
146
+ }
140
147
  componentWillLoad() {
141
148
  this.indeterminate = this.progress === undefined;
142
149
  this.updateLabel();
@@ -160,9 +167,14 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
160
167
  }
161
168
  }
162
169
  render() {
163
- const { appearance, label, description, size } = this;
170
+ const { appearance, label, description, size, fullWidth, innerLabel } = this;
164
171
  const { x, y, r } = this.setCircleXY();
165
- return (h(Host, { class: { ["light"]: appearance === IcThemeForegroundEnum.Light } }, h("div", { class: "ic-loading-container" }, h("div", { ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
172
+ return (h(Host, { class: {
173
+ ["light"]: appearance === IcThemeForegroundEnum.Light,
174
+ ["label"]: !!label,
175
+ ["full-width"]: fullWidth,
176
+ ["inner-label"]: !!innerLabel,
177
+ } }, h("div", { class: "ic-loading-container" }, h("div", { ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
166
178
  this.innerLabel !== undefined &&
167
179
  this.size === "small" && (h("ic-typography", { variant: "subtitle-small", class: "inner-text" }, this.innerLabel)), this.type === "circular" && (h("svg", { class: "ic-loading-circular-svg", viewBox: `0 0 ${this.circularDiameter || 0} ${this.circularDiameter || 0}` }, h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }), h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }))))), label && size !== "icon" && (h("ic-typography", { id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, h("p", null, this.indicatorLabel))))));
168
180
  }
@@ -173,23 +185,22 @@ const LoadingIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
173
185
  }; }
174
186
  static get style() { return icLoadingIndicatorCss; }
175
187
  }, [1, "ic-loading-indicator", {
176
- "progress": [2],
177
- "min": [2],
178
- "max": [2],
179
- "label": [1],
188
+ "appearance": [1],
180
189
  "description": [1],
190
+ "fullWidth": [516, "full-width"],
181
191
  "innerLabel": [2, "inner-label"],
182
192
  "labelDuration": [2, "label-duration"],
193
+ "max": [2],
194
+ "min": [2],
183
195
  "size": [513],
184
196
  "type": [513],
185
- "fullWidth": [516, "full-width"],
186
- "appearance": [1],
187
- "indicatorLabel": [32],
188
- "indeterminate": [32],
189
- "showSecond": [32],
197
+ "label": [1],
198
+ "progress": [2],
199
+ "circularDiameter": [32],
190
200
  "circularLineWidth": [32],
191
- "compactStepCircularLineWidth": [32],
192
- "circularDiameter": [32]
201
+ "indeterminate": [32],
202
+ "indicatorLabel": [32],
203
+ "showSecond": [32]
193
204
  }]);
194
205
  function defineCustomElement() {
195
206
  if (typeof customElements === "undefined") {
@@ -1 +1 @@
1
- {"file":"ic-loading-indicator2.js","mappings":";;;;AAAA,MAAM,qBAAqB,GAAG,6wLAA6wL;;MCgB9xL,gBAAgB;;;;;IAuFnB,gCAA2B,GAAG;MACpC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;QACvB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAClC,kBAAkB,EAClB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CACtB,CAAC;OACH;KACF,CAAC;IAEM,aAAQ,GAAG,CACjB,UAAkB,EAClB,QAAiC;MAEjC,OAAO,IAAI,OAAO,CAAC;QACjB,WAAW,CAAC;UACV,IAAI,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;YAC1C,UAAU,EAAE,CAAC;WACd;eAAM;YACL,UAAU,GAAG,CAAC,CAAC;WAChB;UACD,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;SACtC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;OACxB,CAAC,CAAC;KACJ,CAAC;IAEM,oBAAe,GAAG;;MACxB,IAAI,OAAO,GAA0B,IAAI,CAAC;MAC1C,MAAM,KAAK,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,WAAW,CAAC;MAC7C,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,KAAK,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,KAAK,GAAG,EAAE,CAAC,EAAE;QACrE,OAAO,GAAG,OAAO,CAAC;OACnB;WAAM,IACL,IAAI,CAAC,IAAI,KAAK,OAAO;SACpB,IAAI,CAAC,IAAI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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-loading-indicator/ic-loading-indicator.css?tag=ic-loading-indicator&encapsulation=shadow","./src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n /**\n * @prop --circular-diameter: Diameter of the circular-indicator\n */\n\n display: block;\n\n --linear-border-radius: 0.25rem;\n --inner-color: var(--ic-action-default);\n --outer-color: var(--ic-architectural-100);\n --label-color: var(--ic-color-primary-text);\n --margin: none;\n --linear-line-height: var(--ic-space-xs);\n}\n\n:host(.light) {\n --inner-color: var(--ic-architectural-white);\n --outer-color: var(--ic-architectural-800);\n --label-color: var(--ic-architectural-white);\n}\n\n.ic-loading-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n:host([size=\"small\"]) {\n --circular-diameter: 2.5rem;\n --linear-line-height: var(--ic-space-xxs);\n}\n\n:host([size=\"default\"]) {\n --circular-diameter: 5rem;\n}\n\n:host([size=\"large\"]) {\n --circular-diameter: 7.5rem;\n}\n\n:host([size=\"icon\"]) {\n display: inline-block;\n\n --margin: var(--ic-space-xxxs);\n --circular-diameter: 1.25rem;\n}\n\n:host([label]) {\n --margin: 0 0 var(--ic-space-xs) 0;\n}\n\n.ic-loading-label {\n white-space: nowrap;\n color: var(--label-color);\n margin-left: var(--label-margin-left);\n}\n\n.ic-loading-circular-outer {\n height: var(--circular-diameter);\n width: var(--circular-diameter);\n}\n\n.ic-loading-circular-outer.indeterminate {\n animation: circular-animation 1s linear;\n animation-iteration-count: infinite;\n}\n\n@keyframes circular-animation {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ic-loading-circular-outer,\n.ic-loading-linear-outer {\n margin: var(--margin);\n}\n\n.ic-loading-linear-outer {\n background-color: var(--outer-color);\n height: var(--linear-line-height);\n width: 100%;\n border-radius: var(--linear-border-radius);\n overflow: hidden;\n}\n\n.ic-loading-linear-inner {\n position: relative;\n height: 100%;\n background-color: var(--inner-color);\n border-radius: var(--linear-border-radius);\n}\n\n.indeterminate > .ic-loading-linear-inner {\n animation: linear-animation 2s infinite;\n}\n\n.determinate > .ic-loading-linear-inner {\n transition: width 0.5s;\n width: var(--linear-width);\n}\n\n:host([full-width]) {\n --linear-border-radius: none;\n}\n\n@keyframes linear-animation {\n 0% {\n width: 0%;\n left: -1%;\n }\n\n 25% {\n width: 0%;\n left: -1%;\n }\n\n 50% {\n width: 101%;\n left: -1%;\n }\n\n 75% {\n width: 0%;\n left: 101%;\n }\n\n 100% {\n width: 0%;\n left: 101%;\n }\n}\n\n.ic-loading-circular-svg {\n position: relative;\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n}\n\n.ic-loading-circular-svg circle {\n width: 100%;\n height: 100%;\n fill: none;\n stroke: var(--outer-color);\n stroke-width: var(--circular-line-width);\n stroke-linecap: round;\n}\n\n/* --stroke-dash-array calculated via dashArray method */\n.ic-loading-circular-svg circle:nth-child(2) {\n --circular-indeterminate: calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );\n\n stroke-dasharray: var(--stroke-dasharray), var(--stroke-dasharray);\n stroke-dashoffset: var(--stroke-dashoffset, var(--circular-indeterminate));\n stroke: var(--compact-step-inner-color, var(--inner-color));\n}\n\n:host([inner-label]) .ic-loading-circular-inner {\n display: grid;\n}\n\n:host([inner-label]) .ic-loading-circular-svg,\n.inner-text {\n grid-column: 1;\n grid-row: 1;\n}\n\n:host(.not-required.compact-step-progress-indicator)\n .ic-loading-circular-svg\n circle:nth-child(2) {\n stroke: var(--ic-architectural-300);\n}\n\n.inner-text {\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--ic-space-lg);\n height: inherit;\n overflow: hidden;\n margin: auto;\n color: var(--ic-theme-primary);\n}\n\n:host(.not-required.compact-step-progress-indicator) .inner-text {\n color: var(--ic-color-tertiary-text);\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n .indeterminate > .ic-loading-circular-inner {\n forced-color-adjust: none;\n }\n\n .ic-loading-linear-outer {\n border: var(--ic-hc-border);\n }\n\n .ic-loading-linear-inner {\n background-color: canvastext;\n }\n\n .ic-loading-circular-svg circle {\n stroke: Background;\n }\n\n .ic-loading-circular-svg circle:nth-child(2) {\n stroke: canvastext;\n }\n\n :host(.not-required.compact-step-progress-indicator)\n .ic-loading-circular-svg\n circle:nth-child(2) {\n stroke: GrayText;\n }\n}\n","import { Component, Element, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport {\n IcLoadingCircleXYR,\n IcLoadingSizes,\n IcLoadingTypes,\n} from \"./ic-loading-indicator.types\";\nimport {\n IcThemeForegroundEnum,\n IcThemeForegroundNoDefault,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-loading-indicator\",\n styleUrl: \"ic-loading-indicator.css\",\n shadow: true,\n})\nexport class LoadingIndicator {\n @Element() host: HTMLIcLoadingIndicatorElement;\n\n /**\n * The current amount of progress made.\n * If not provided, component acts as an indeterminate loading indicator.\n */\n @Prop() progress?: number;\n\n /**\n * The minimum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() min?: number = 0;\n\n /**\n * The maximum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() max?: number = 100;\n\n /**\n * The label to be displayed beneath the loading indicator.\n * Display a changing label by separating multiple messages with forward slashes.\n */\n @Prop() label?: string;\n\n /**\n * The description that will be set as the aria-label of the loading indicator when not using a visible label.\n */\n @Prop() description?: string = \"Loading\";\n\n /**\n * @internal The step number of a compact step, managed by ic-step.\n */\n @Prop() innerLabel?: number;\n\n /**\n * The time in milliseconds before the label changes.\n */\n @Prop() labelDuration?: number = 8000;\n\n /**\n * The size of the loading indicator.\n */\n @Prop({ reflect: true }) size?: IcLoadingSizes = \"default\";\n\n /**\n * The type of indicator, either linear or circular.\n */\n @Prop({ reflect: true }) type?: IcLoadingTypes = \"circular\";\n\n /**\n * If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed.\n */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /**\n * The appearance of the loading indicator, e.g. dark or light.\n */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n @State() indicatorLabel: string;\n @State() indeterminate: boolean;\n @State() showSecond: boolean = false;\n @State() circularLineWidth: number;\n @State() compactStepCircularLineWidth: number = 0;\n\n @State() circularDiameter: number;\n\n @Watch(\"label\")\n watchPropHandler(): void {\n this.updateLabel();\n }\n\n @Watch(\"progress\")\n watchProgressHandler(): void {\n if (this.type === \"circular\") {\n this.updateCircularProgressMeter();\n }\n }\n\n private outerElement?: HTMLDivElement;\n private innerElement?: HTMLDivElement;\n private labelList: string[];\n private circularMeter: SVGCircleElement;\n\n private updateCircularProgressMeter = () => {\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--progress-value\",\n String(this.progress)\n );\n }\n };\n\n private getLabel = (\n labelIndex: number,\n setLabel: (label: string) => void\n ) => {\n return new Promise(() => {\n setInterval(() => {\n if (labelIndex < this.labelList.length - 1) {\n labelIndex++;\n } else {\n labelIndex = 0;\n }\n setLabel(this.labelList[labelIndex]);\n }, this.labelDuration);\n });\n };\n\n private getLabelVariant = () => {\n let variant: \"label\" | \"h4\" | \"h2\" = \"h4\";\n const width = this.outerElement?.offsetWidth;\n if (this.size === \"small\" || (this.type === \"circular\" && width < 60)) {\n variant = \"label\";\n } else if (\n this.size === \"large\" ||\n (this.type === \"circular\" && width >= 120)\n ) {\n variant = \"h2\";\n }\n return variant;\n };\n\n // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property\n private setCircleLineWidth = () => {\n const { offsetWidth: width } = this.outerElement;\n if (this.host.classList.contains(\"compact-step-progress-indicator\")) {\n this.compactStepCircularLineWidth = 40;\n }\n if (width || this.compactStepCircularLineWidth === 40) {\n this.circularLineWidth =\n (this.compactStepCircularLineWidth === 40\n ? this.compactStepCircularLineWidth\n : width) * 0.1;\n this.circularDiameter =\n this.compactStepCircularLineWidth === 40\n ? this.compactStepCircularLineWidth\n : width;\n this.outerElement.style.setProperty(\n \"--circular-line-width\",\n `${this.circularLineWidth}px`\n );\n }\n };\n\n private setLinearDeterminateWidth = () => {\n if (!this.innerElement) return;\n // Ensure progress cannot be out of bounds\n\n const progress = Math.min(this.max, Math.max(this.min, this.progress));\n const proportion = (progress - this.min) / (this.max - this.min);\n this.showSecond = proportion > 0.5;\n if (this.showSecond) {\n this.innerElement.classList.remove(\"clip\");\n } else {\n this.innerElement.classList.add(\"clip\");\n }\n this.innerElement.style.setProperty(\n \"--linear-width\",\n `${proportion * 100}%`\n );\n };\n\n private calcOuterClass = (): string => {\n let cls = `ic-loading-${this.type}-outer`;\n cls += this.indeterminate ? \" indeterminate\" : \" determinate\";\n return cls;\n };\n\n private updateLabel = (): void => {\n if (this.label !== undefined) {\n this.labelList = this.label.split(\"/\");\n const labelIndex = 0;\n this.indicatorLabel = this.labelList[labelIndex];\n if (this.labelList.length > 1) {\n this.getLabel(labelIndex, (label) => {\n this.indicatorLabel = label;\n });\n }\n }\n };\n\n private setCircleXY = (): IcLoadingCircleXYR => {\n if (this.circularDiameter > 0) {\n const r = this.circularDiameter / 2;\n const x = r;\n const y = r;\n const nextRadius = r - this.circularLineWidth / 2;\n this.setDashSteps(nextRadius);\n\n return { x, y, r: nextRadius };\n }\n return { x: 0, y: 0, r: 0 };\n };\n\n private setDashSteps = (radius: number) => {\n const dashArray = 2 * Math.PI * radius;\n const progress = Math.min(Math.max(this.progress, this.min), this.max);\n const proportion = -1 - (progress - this.min) / (this.max - this.min);\n\n this.circularMeter.style.setProperty(\n \"--stroke-dasharray\",\n `${dashArray}px`\n );\n\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--circular-steps-max\",\n String(this.max)\n );\n this.circularMeter.style.setProperty(\n \"--stroke-dashoffset\",\n `${proportion * dashArray}px`\n );\n }\n };\n\n componentWillLoad(): void {\n this.indeterminate = this.progress === undefined;\n this.updateLabel();\n }\n\n componentDidLoad(): void {\n if (this.type === \"circular\") {\n this.setCircleLineWidth();\n this.circularMeter = this.host.shadowRoot.querySelector(\n \".ic-loading-circular-svg circle:nth-child(2)\"\n );\n this.updateCircularProgressMeter();\n }\n\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n componentWillUpdate(): void {\n this.indeterminate = this.progress === undefined;\n }\n\n componentDidUpdate(): void {\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n render() {\n const { appearance, label, description, size } = this;\n const { x, y, r } = this.setCircleXY();\n\n return (\n <Host class={{ [\"light\"]: appearance === IcThemeForegroundEnum.Light }}>\n <div class=\"ic-loading-container\">\n <div\n ref={(el) => (this.outerElement = el as HTMLDivElement)}\n class={this.calcOuterClass()}\n role=\"progressbar\"\n aria-labelledby={\n this.label && this.size !== \"icon\" && \"ic-loading-label\"\n }\n aria-label={description}\n aria-valuenow={this.progress}\n aria-valuemin={this.min}\n aria-valuemax={this.max}\n >\n <div\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n class={`ic-loading-${this.type}-inner`}\n >\n {this.innerLabel &&\n this.innerLabel !== undefined &&\n this.size === \"small\" && (\n <ic-typography variant=\"subtitle-small\" class=\"inner-text\">\n {this.innerLabel}\n </ic-typography>\n )}\n {this.type === \"circular\" && (\n <svg\n class=\"ic-loading-circular-svg\"\n viewBox={`0 0 ${this.circularDiameter || 0} ${\n this.circularDiameter || 0\n }`}\n >\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n </svg>\n )}\n </div>\n </div>\n {label && size !== \"icon\" && (\n <ic-typography\n id=\"ic-loading-label\"\n class=\"ic-loading-label\"\n role=\"status\"\n variant={this.getLabelVariant()}\n >\n <p>{this.indicatorLabel}</p>\n </ic-typography>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-lo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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-loading-indicator/ic-loading-indicator.css?tag=ic-loading-indicator&encapsulation=shadow","./src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n /**\n * @prop --circular-diameter: Diameter of the circular-indicator\n */\n\n display: block;\n\n --linear-border-radius: 0.25rem;\n --inner-color: var(--ic-action-default);\n --outer-color: var(--ic-architectural-100);\n --label-color: var(--ic-color-primary-text);\n --margin: none;\n --linear-line-height: var(--ic-space-xs);\n}\n\n:host(.light) {\n --inner-color: var(--ic-architectural-white);\n --outer-color: var(--ic-architectural-800);\n --label-color: var(--ic-architectural-white);\n}\n\n.ic-loading-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n:host([size=\"small\"]) {\n --circular-diameter: 2.5rem;\n --linear-line-height: var(--ic-space-xxs);\n}\n\n:host([size=\"default\"]) {\n --circular-diameter: 5rem;\n}\n\n:host([size=\"large\"]) {\n --circular-diameter: 7.5rem;\n}\n\n:host([size=\"icon\"]) {\n display: inline-block;\n\n --margin: var(--ic-space-xxxs);\n --circular-diameter: 1.25rem;\n}\n\n:host(.label) {\n --margin: 0 0 var(--ic-space-xs) 0;\n}\n\n.ic-loading-label {\n white-space: nowrap;\n color: var(--label-color);\n margin-left: var(--label-margin-left);\n}\n\n.ic-loading-circular-outer {\n height: var(--circular-diameter);\n width: var(--circular-diameter);\n}\n\n.ic-loading-circular-outer.indeterminate {\n animation: circular-animation 1s linear;\n animation-iteration-count: infinite;\n}\n\n@keyframes circular-animation {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.ic-loading-circular-outer,\n.ic-loading-linear-outer {\n margin: var(--margin);\n}\n\n.ic-loading-linear-outer {\n background-color: var(--outer-color);\n height: var(--linear-line-height);\n width: 100%;\n border-radius: var(--linear-border-radius);\n overflow: hidden;\n}\n\n.ic-loading-linear-inner {\n position: relative;\n height: 100%;\n background-color: var(--inner-color);\n border-radius: var(--linear-border-radius);\n}\n\n.indeterminate > .ic-loading-linear-inner {\n animation: linear-animation 2s infinite;\n}\n\n.determinate > .ic-loading-linear-inner {\n transition: width 0.5s;\n width: var(--linear-width);\n}\n\n:host(.full-width) {\n --linear-border-radius: none;\n}\n\n@keyframes linear-animation {\n 0% {\n width: 0%;\n left: -1%;\n }\n\n 25% {\n width: 0%;\n left: -1%;\n }\n\n 50% {\n width: 101%;\n left: -1%;\n }\n\n 75% {\n width: 0%;\n left: 101%;\n }\n\n 100% {\n width: 0%;\n left: 101%;\n }\n}\n\n.ic-loading-circular-svg {\n position: relative;\n width: 100%;\n height: 100%;\n transform: rotate(-90deg);\n}\n\n.ic-loading-circular-svg circle {\n width: 100%;\n height: 100%;\n fill: none;\n stroke: var(--outer-color);\n stroke-width: var(--circular-line-width);\n stroke-linecap: round;\n}\n\n/* --stroke-dash-array calculated via dashArray method */\n.ic-loading-circular-svg circle:nth-child(2) {\n --circular-indeterminate: calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );\n\n stroke-dasharray: var(--stroke-dasharray), var(--stroke-dasharray);\n stroke-dashoffset: var(--stroke-dashoffset, var(--circular-indeterminate));\n stroke: var(--compact-step-inner-color, var(--inner-color));\n}\n\n:host(.inner-label) .ic-loading-circular-inner {\n display: grid;\n}\n\n:host(.inner-label) .ic-loading-circular-svg,\n.inner-text {\n grid-column: 1;\n grid-row: 1;\n}\n\n:host(.not-required.compact-step-progress-indicator)\n .ic-loading-circular-svg\n circle:nth-child(2) {\n stroke: var(--ic-architectural-300);\n}\n\n.inner-text {\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--ic-space-lg);\n height: inherit;\n overflow: hidden;\n margin: auto;\n color: var(--ic-status-info);\n}\n\n:host(.not-required.compact-step-progress-indicator) .inner-text {\n color: var(--ic-color-tertiary-text);\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n .indeterminate > .ic-loading-circular-inner {\n forced-color-adjust: none;\n }\n\n .ic-loading-linear-outer {\n border: var(--ic-hc-border);\n }\n\n .ic-loading-linear-inner {\n background-color: canvastext;\n }\n\n .ic-loading-circular-svg circle {\n stroke: Background;\n }\n\n .ic-loading-circular-svg circle:nth-child(2) {\n stroke: canvastext;\n }\n\n :host(.not-required.compact-step-progress-indicator)\n .ic-loading-circular-svg\n circle:nth-child(2) {\n stroke: GrayText;\n }\n}\n","import { Component, Element, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport {\n IcLoadingCircleXYR,\n IcLoadingSizes,\n IcLoadingTypes,\n} from \"./ic-loading-indicator.types\";\nimport {\n IcThemeForegroundEnum,\n IcThemeForegroundNoDefault,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-loading-indicator\",\n styleUrl: \"ic-loading-indicator.css\",\n shadow: true,\n})\nexport class LoadingIndicator {\n private circularMeter: SVGCircleElement;\n private innerElement?: HTMLDivElement;\n private interval: ReturnType<typeof setInterval>;\n private labelList: string[];\n private outerElement?: HTMLDivElement;\n\n @Element() host: HTMLIcLoadingIndicatorElement;\n\n @State() circularDiameter: number;\n @State() circularLineWidth: number;\n @State() indeterminate: boolean;\n @State() indicatorLabel: string;\n @State() showSecond: boolean = false;\n\n /**\n * The appearance of the loading indicator, e.g. dark or light.\n */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n /**\n * The description that will be set as the aria-label of the loading indicator when not using a visible label.\n */\n @Prop() description?: string = \"Loading\";\n\n /**\n * If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed.\n */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /**\n * @internal The step number of a compact step, managed by ic-step.\n */\n @Prop() innerLabel?: number;\n\n /**\n * The time in milliseconds before the label changes.\n */\n @Prop() labelDuration?: number = 8000;\n\n /**\n * The maximum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() max?: number = 100;\n\n /**\n * The minimum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() min?: number = 0;\n\n /**\n * The size of the loading indicator.\n */\n @Prop({ reflect: true }) size?: IcLoadingSizes = \"default\";\n\n /**\n * The type of indicator, either linear or circular.\n */\n @Prop({ reflect: true }) type?: IcLoadingTypes = \"circular\";\n\n /**\n * The label to be displayed beneath the loading indicator.\n * Display a changing label by separating multiple messages with forward slashes.\n */\n @Prop() label?: string;\n\n @Watch(\"label\")\n watchPropHandler(): void {\n this.updateLabel();\n }\n\n /**\n * The current amount of progress made.\n * If not provided, component acts as an indeterminate loading indicator.\n */\n @Prop() progress?: number;\n\n @Watch(\"progress\")\n watchProgressHandler(): void {\n if (this.type === \"circular\") {\n this.updateCircularProgressMeter();\n }\n }\n\n disconnectedCallback(): void {\n clearInterval(this.interval);\n }\n\n componentWillLoad(): void {\n this.indeterminate = this.progress === undefined;\n this.updateLabel();\n }\n\n componentDidLoad(): void {\n if (this.type === \"circular\") {\n this.setCircleLineWidth();\n this.circularMeter = this.host.shadowRoot.querySelector(\n \".ic-loading-circular-svg circle:nth-child(2)\"\n );\n this.updateCircularProgressMeter();\n }\n\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n componentWillUpdate(): void {\n this.indeterminate = this.progress === undefined;\n }\n\n componentDidUpdate(): void {\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n private updateCircularProgressMeter = () => {\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--progress-value\",\n String(this.progress)\n );\n }\n };\n\n private getLabel = (\n labelIndex: number,\n setLabel: (label: string) => void\n ) => {\n return new Promise(() => {\n this.interval = setInterval(() => {\n if (labelIndex < this.labelList.length - 1) {\n labelIndex++;\n } else {\n labelIndex = 0;\n }\n setLabel(this.labelList[labelIndex]);\n }, this.labelDuration);\n });\n };\n\n private getLabelVariant = () => {\n let variant: \"label\" | \"h4\" | \"h2\" = \"h4\";\n const width = this.outerElement?.offsetWidth;\n if (this.size === \"small\" || (this.type === \"circular\" && width < 60)) {\n variant = \"label\";\n } else if (\n this.size === \"large\" ||\n (this.type === \"circular\" && width >= 120)\n ) {\n variant = \"h2\";\n }\n return variant;\n };\n\n // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property\n private setCircleLineWidth = () => {\n const { offsetWidth: width } = this.outerElement;\n\n const compactStepCircularLineWidth = this.host.classList.contains(\n \"compact-step-progress-indicator\"\n )\n ? 40\n : 0;\n const toastDismissTimerCircularLineWidth = this.host.classList.contains(\n \"toast-dismiss-timer\"\n )\n ? 20\n : 0;\n\n if (\n width ||\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth\n ) {\n this.circularLineWidth =\n (compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width) * 0.1;\n this.circularDiameter =\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width;\n this.outerElement.style.setProperty(\n \"--circular-line-width\",\n `${this.circularLineWidth}px`\n );\n }\n };\n\n private setLinearDeterminateWidth = () => {\n if (!this.innerElement) return;\n // Ensure progress cannot be out of bounds\n\n const progress = Math.min(this.max, Math.max(this.min, this.progress));\n const proportion = (progress - this.min) / (this.max - this.min);\n this.showSecond = proportion > 0.5;\n if (this.showSecond) {\n this.innerElement.classList.remove(\"clip\");\n } else {\n this.innerElement.classList.add(\"clip\");\n }\n this.innerElement.style.setProperty(\n \"--linear-width\",\n `${proportion * 100}%`\n );\n };\n\n private calcOuterClass = (): string => {\n let cls = `ic-loading-${this.type}-outer`;\n cls += this.indeterminate ? \" indeterminate\" : \" determinate\";\n return cls;\n };\n\n private updateLabel = (): void => {\n if (this.label !== undefined) {\n this.labelList = this.label.split(\"/\");\n const labelIndex = 0;\n this.indicatorLabel = this.labelList[labelIndex];\n if (this.labelList.length > 1) {\n this.getLabel(labelIndex, (label) => {\n this.indicatorLabel = label;\n });\n }\n }\n };\n\n private setCircleXY = (): IcLoadingCircleXYR => {\n if (this.circularDiameter > 0) {\n const r = this.circularDiameter / 2;\n const x = r;\n const y = r;\n const nextRadius = r - this.circularLineWidth / 2;\n this.setDashSteps(nextRadius);\n\n return { x, y, r: nextRadius };\n }\n return { x: 0, y: 0, r: 0 };\n };\n\n private setDashSteps = (radius: number) => {\n const dashArray = 2 * Math.PI * radius;\n const progress = Math.min(Math.max(this.progress, this.min), this.max);\n const proportion = -1 - (progress - this.min) / (this.max - this.min);\n\n this.circularMeter.style.setProperty(\n \"--stroke-dasharray\",\n `${dashArray}px`\n );\n\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--circular-steps-max\",\n String(this.max)\n );\n this.circularMeter.style.setProperty(\n \"--stroke-dashoffset\",\n `${proportion * dashArray}px`\n );\n }\n };\n\n render() {\n const { appearance, label, description, size, fullWidth, innerLabel } =\n this;\n const { x, y, r } = this.setCircleXY();\n\n return (\n <Host\n class={{\n [\"light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"label\"]: !!label,\n [\"full-width\"]: fullWidth,\n [\"inner-label\"]: !!innerLabel,\n }}\n >\n <div class=\"ic-loading-container\">\n <div\n ref={(el) => (this.outerElement = el as HTMLDivElement)}\n class={this.calcOuterClass()}\n role=\"progressbar\"\n aria-labelledby={\n this.label && this.size !== \"icon\" && \"ic-loading-label\"\n }\n aria-label={description}\n aria-valuenow={this.progress}\n aria-valuemin={this.min}\n aria-valuemax={this.max}\n >\n <div\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n class={`ic-loading-${this.type}-inner`}\n >\n {this.innerLabel &&\n this.innerLabel !== undefined &&\n this.size === \"small\" && (\n <ic-typography variant=\"subtitle-small\" class=\"inner-text\">\n {this.innerLabel}\n </ic-typography>\n )}\n {this.type === \"circular\" && (\n <svg\n class=\"ic-loading-circular-svg\"\n viewBox={`0 0 ${this.circularDiameter || 0} ${\n this.circularDiameter || 0\n }`}\n >\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n </svg>\n )}\n </div>\n </div>\n {label && size !== \"icon\" && (\n <ic-typography\n id=\"ic-loading-label\"\n class=\"ic-loading-label\"\n role=\"status\"\n variant={this.getLabelVariant()}\n >\n <p>{this.indicatorLabel}</p>\n </ic-typography>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcMenuGroup extends Components.IcMenuGroup, HTMLElement {}
4
+ export const IcMenuGroup: {
5
+ prototype: IcMenuGroup;
6
+ new (): IcMenuGroup;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,46 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './ic-typography2.js';
3
+
4
+ const icMenuGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:flex;flex-direction:column}ic-typography{color:var(--ic-color-tertiary-text);margin:var(--ic-space-xs) var(--ic-space-xs) 0}ul{list-style-type:none;margin:0;padding:0}hr{display:flex;align-self:stretch;border:calc(var(--ic-space-xxxs) / 2) solid var(--ic-architectural-300);margin:var(--ic-space-xxs) 0 calc(var(--ic-space-sm) / 4)}";
5
+
6
+ const MenuGroup = /*@__PURE__*/ proxyCustomElement(class MenuGroup extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.label = undefined;
12
+ }
13
+ render() {
14
+ const parentMenu = this.el.closest("ic-popover-menu");
15
+ return (h(Host, { "aria-label": this.label !== null ? this.label : "" }, this.label !== undefined && (h("ic-typography", { variant: "subtitle-small" }, this.label)), h("ul", { role: "group" }, h("slot", null)), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", null))));
16
+ }
17
+ get el() { return this; }
18
+ static get style() { return icMenuGroupCss; }
19
+ }, [1, "ic-menu-group", {
20
+ "label": [1]
21
+ }]);
22
+ function defineCustomElement$1() {
23
+ if (typeof customElements === "undefined") {
24
+ return;
25
+ }
26
+ const components = ["ic-menu-group", "ic-typography"];
27
+ components.forEach(tagName => { switch (tagName) {
28
+ case "ic-menu-group":
29
+ if (!customElements.get(tagName)) {
30
+ customElements.define(tagName, MenuGroup);
31
+ }
32
+ break;
33
+ case "ic-typography":
34
+ if (!customElements.get(tagName)) {
35
+ defineCustomElement$2();
36
+ }
37
+ break;
38
+ } });
39
+ }
40
+
41
+ const IcMenuGroup = MenuGroup;
42
+ const defineCustomElement = defineCustomElement$1;
43
+
44
+ export { IcMenuGroup, defineCustomElement };
45
+
46
+ //# sourceMappingURL=ic-menu-group.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-menu-group.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,2tFAA2tF;;MCOruF,SAAS;;;;;;;EAOpB,MAAM;IACJ,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEtD,QACE,EAAC,IAAI,kBAAa,IAAI,CAAC,KAAK,KAAK,IAAI,GAAG,IAAI,CAAC,KAAK,GAAG,EAAE,IACpD,IAAI,CAAC,KAAK,KAAK,SAAS,KACvB,qBAAe,OAAO,EAAC,gBAAgB,IAAE,IAAI,CAAC,KAAK,CAAiB,CACrE,EACD,UAAI,IAAI,EAAC,OAAO,IACd,eAAa,CACV,EAEJ,IAAI,CAAC,EAAE,MAAK,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,CAAC,0BAA0B,CAAC,CAAA,KAChE,aAAM,CACP,CACI,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-menu-group/ic-menu-group.css?tag=ic-menu-group&encapsulation=shadow","./src/components/ic-menu-group/ic-menu-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: flex;\n flex-direction: column;\n}\n\nic-typography {\n color: var(--ic-color-tertiary-text);\n margin: var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\nul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\nhr {\n display: flex;\n align-self: stretch;\n border: calc(var(--ic-space-xxxs) / 2) solid var(--ic-architectural-300);\n margin: var(--ic-space-xxs) 0 calc(var(--ic-space-sm) / 4);\n}\n","import { Component, Element, Host, h, Prop } from \"@stencil/core\";\n\n@Component({\n tag: \"ic-menu-group\",\n styleUrl: \"ic-menu-group.css\",\n shadow: true,\n})\nexport class MenuGroup {\n @Element() el: HTMLIcMenuGroupElement;\n /**\n * The label to display as the title of the menu group.\n */\n @Prop() label?: string;\n\n render() {\n const parentMenu = this.el.closest(\"ic-popover-menu\");\n\n return (\n <Host aria-label={this.label !== null ? this.label : \"\"}>\n {this.label !== undefined && (\n <ic-typography variant=\"subtitle-small\">{this.label}</ic-typography>\n )}\n <ul role=\"group\">\n <slot></slot>\n </ul>\n {/* The line under the menu group is added on all menu groups except in the case that the menu group is the last item in the popover menu */}\n {this.el !== parentMenu?.querySelector(\"ic-menu-group:last-child\") && (\n <hr />\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcMenuItem extends Components.IcMenuItem, HTMLElement {}
4
+ export const IcMenuItem: {
5
+ prototype: IcMenuItem;
6
+ new (): IcMenuItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,8 @@
1
+ import { M as MenuItem, d as defineCustomElement$1 } from './ic-menu-item2.js';
2
+
3
+ const IcMenuItem = MenuItem;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { IcMenuItem, defineCustomElement };
7
+
8
+ //# sourceMappingURL=ic-menu-item.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-menu-item.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}