@ukic/web-components 2.1.0-beta.16 → 2.1.0-beta.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1033) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-eb53c416.js.map +1 -1
  3. package/dist/cjs/ic-alert.cjs.entry.js +8 -8
  4. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
  6. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +25 -19
  8. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-breadcrumb.cjs.entry.js +5 -5
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +105 -71
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card.cjs.entry.js +40 -40
  14. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +17 -17
  16. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-checkbox.cjs.entry.js +32 -29
  18. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +15 -15
  20. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +20 -20
  22. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +54 -55
  24. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +16 -16
  26. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-footer-link.cjs.entry.js +14 -14
  28. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +17 -17
  30. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +18 -18
  32. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +35 -22
  34. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +86 -88
  36. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
  38. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-link.cjs.entry.js +17 -17
  40. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-menu-item.cjs.entry.js +12 -12
  42. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-navigation-button.cjs.entry.js +15 -15
  44. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-navigation-group.cjs.entry.js +37 -37
  46. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-navigation-item.cjs.entry.js +42 -42
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-menu.cjs.entry.js +26 -26
  50. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-page-header.cjs.entry.js +12 -12
  52. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-pagination-item.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-pagination.cjs.entry.js +30 -30
  56. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-popover-menu.cjs.entry.js +61 -61
  58. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-radio-group.cjs.entry.js +35 -28
  60. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-radio-option.cjs.entry.js +36 -29
  62. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js +122 -121
  64. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-select.cjs.entry.js +67 -66
  66. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-side-navigation.cjs.entry.js +43 -37
  68. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-skeleton.cjs.entry.js +3 -3
  70. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  72. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-step.cjs.entry.js +7 -7
  74. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-stepper.cjs.entry.js +13 -13
  76. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-switch.cjs.entry.js +16 -16
  78. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-tab-context.cjs.entry.js +26 -32
  80. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  84. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tab.cjs.entry.js +16 -16
  86. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-text-field.cjs.entry.js +53 -53
  88. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-toast-region.cjs.entry.js +12 -12
  91. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-toast.cjs.entry.js +57 -57
  93. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-top-navigation.cjs.entry.js +41 -39
  95. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-typography.cjs.entry.js +11 -11
  97. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  98. package/dist/cjs/loader.cjs.js +1 -1
  99. package/dist/collection/collection-manifest.json +4 -4
  100. package/dist/collection/components/ic-alert/ic-alert.js +49 -49
  101. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  102. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  103. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  104. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  105. package/dist/collection/components/ic-alert/{ic-alert.spec.js → test/basic/ic-alert.spec.js} +1 -1
  106. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  107. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  108. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  109. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  110. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  111. package/dist/collection/components/ic-back-to-top/{ic-back-to-top.spec.js → test/basic/ic-back-to-top.spec.js} +3 -3
  112. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  113. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +24 -24
  114. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  115. package/dist/collection/components/ic-breadcrumb/{ic-breadcrumb.spec.js → test/basic/ic-breadcrumb.spec.js} +1 -1
  116. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  117. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +25 -19
  118. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  119. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  120. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  121. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  122. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  123. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.spec.js → test/basic/ic-breadcrumb-group.spec.js} +5 -5
  124. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  125. package/dist/collection/components/ic-button/ic-button.css +4 -0
  126. package/dist/collection/components/ic-button/ic-button.js +230 -191
  127. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  128. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  129. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  130. package/dist/collection/components/ic-button/{ic-button.e2e.js → test/basic/ic-button.e2e.js} +25 -0
  131. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  132. package/dist/collection/components/ic-button/{ic-button.spec.js → test/basic/ic-button.spec.js} +28 -2
  133. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  134. package/dist/collection/components/ic-card/ic-card.js +120 -120
  135. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  136. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  137. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  138. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  139. package/dist/collection/components/ic-card/{ic-card.spec.js → test/basic/ic-card.spec.js} +1 -1
  140. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  141. package/dist/collection/components/ic-checkbox/ic-checkbox.js +94 -91
  142. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  143. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +58 -58
  144. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  145. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  146. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  147. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  148. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.spec.js → test/basic/ic-checkbox-group.spec.js} +3 -3
  149. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  150. package/dist/collection/components/ic-chip/ic-chip.js +54 -54
  151. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  152. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  153. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  154. package/dist/collection/components/ic-chip/{ic-chip.spec.js → test/basic/ic-chip.spec.js} +1 -1
  155. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  156. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  157. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  158. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.spec.js → test/basic/ic-classification-banner.spec.js} +1 -1
  159. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  160. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  161. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  162. package/dist/collection/components/ic-data-entity/{ic-data-entity.spec.js → test/basic/ic-data-entity.spec.js} +1 -1
  163. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  164. package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
  165. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  166. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  167. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  168. package/dist/collection/components/ic-data-row/{ic-data-row.spec.js → test/basic/ic-data-row.spec.js} +1 -1
  169. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  170. package/dist/collection/components/ic-dialog/ic-dialog.css +1 -4
  171. package/dist/collection/components/ic-dialog/ic-dialog.js +122 -123
  172. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  173. package/dist/collection/components/ic-dialog/{ic-dialog.test.a11y.js → test/a11y/ic-dialog.test.a11y.js} +1 -1
  174. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  175. package/dist/collection/components/ic-dialog/{ic-dialog.e2e.js → test/basic/ic-dialog.e2e.js} +3 -0
  176. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  177. package/dist/collection/components/ic-dialog/{ic-dialog.spec.js → test/basic/ic-dialog.spec.js} +4 -4
  178. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  179. package/dist/collection/components/ic-divider/{ic-divider.spec.js → test/basic/ic-divider.spec.js} +1 -1
  180. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  181. package/dist/collection/components/ic-footer/ic-footer.js +47 -47
  182. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  183. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  184. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  185. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  186. package/dist/collection/components/ic-footer/{ic-footer.spec.js → test/basic/ic-footer.spec.js} +3 -3
  187. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  188. package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
  189. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  190. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  191. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-footer-link/{ic-footer-link.spec.js → test/basic/ic-footer-link.spec.js} +1 -1
  193. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  194. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  195. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  196. 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
  197. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  198. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.spec.js → test/basic/ic-footer-link-group.spec.js} +3 -3
  199. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  200. package/dist/collection/components/ic-hero/ic-hero.js +95 -95
  201. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  202. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  203. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  204. package/dist/collection/components/ic-hero/{ic-hero.spec.js → test/basic/ic-hero.spec.js} +1 -1
  205. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  206. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +37 -24
  207. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  208. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  209. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  210. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.spec.js → test/basic/ic-horizontal-scroll.spec.js} +2 -2
  211. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  212. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  213. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  214. package/dist/collection/components/ic-input-component-container/{ic-input-component-container.spec.js → test/basic/ic-input-component-container.spec.js} +1 -1
  215. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  216. package/dist/collection/components/ic-input-container/{ic-input-container.spec.js → test/basic/ic-input-container.spec.js} +1 -1
  217. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  218. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  219. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  220. package/dist/collection/components/ic-input-label/{ic-input-label.spec.js → test/basic/ic-input-label.spec.js} +1 -1
  221. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  222. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  223. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  224. package/dist/collection/components/ic-input-validation/{ic-input-validation.spec.js → test/basic/ic-input-validation.spec.js} +1 -1
  225. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  226. package/dist/collection/components/ic-link/ic-link.js +48 -48
  227. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  228. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  229. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  230. package/dist/collection/components/ic-link/{ic-link.spec.js → test/basic/ic-link.spec.js} +2 -2
  231. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  232. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
  233. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  234. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  235. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  236. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  237. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.spec.js → test/basic/ic-loading-indicator.spec.js} +3 -3
  238. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  239. package/dist/collection/components/ic-menu/ic-menu.js +238 -240
  240. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  241. package/dist/collection/components/ic-menu/{ic-menu.spec.js → test/basic/ic-menu.spec.js} +4 -4
  242. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  243. package/dist/collection/components/ic-menu-group/{ic-menu-group.spec.js → test/basic/ic-menu-group.spec.js} +2 -2
  244. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  245. package/dist/collection/components/ic-menu-item/ic-menu-item.js +75 -75
  246. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  247. package/dist/collection/components/ic-menu-item/{ic-menu-item.spec.js → test/basic/ic-menu-item.spec.js} +2 -2
  248. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  249. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  250. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  251. package/dist/collection/components/ic-navigation-button/{ic-navigation-button.spec.js → test/basic/ic-navigation-button.spec.js} +2 -2
  252. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  253. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -8
  254. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +55 -55
  255. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  256. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  257. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  258. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.spec.js → test/basic/ic-navigation-group.spec.js} +8 -8
  259. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  260. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +6 -4
  261. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
  262. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  263. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  264. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  265. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.spec.js → test/basic/ic-navigation-item.spec.js} +5 -5
  266. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  267. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
  268. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
  269. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  270. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  271. package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.spec.js → test/basic/ic-navigation-menu.spec.js} +6 -6
  272. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  273. package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
  274. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  275. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  276. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  277. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  278. package/dist/collection/components/ic-page-header/{ic-page-header.spec.js → test/basic/ic-page-header.spec.js} +7 -7
  279. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  280. package/dist/collection/components/ic-pagination/ic-pagination.js +97 -97
  281. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  282. package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
  283. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  284. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  285. package/dist/collection/components/ic-pagination/{ic-pagination.spec.js → test/basic/ic-pagination.spec.js} +3 -3
  286. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  287. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +65 -65
  288. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  289. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
  290. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  291. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
  292. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  293. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  294. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.spec.js → test/basic/ic-popover-menu.spec.js} +4 -4
  295. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  296. package/dist/collection/components/ic-radio-group/ic-radio-group.js +94 -81
  297. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  298. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  299. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  300. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  301. package/dist/collection/components/ic-radio-group/{ic-radio-group.spec.js → test/basic/ic-radio-group.spec.js} +3 -3
  302. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  303. package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -88
  304. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  305. package/dist/collection/components/ic-search-bar/ic-search-bar.js +385 -384
  306. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  307. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  308. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  309. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  310. package/dist/collection/components/ic-search-bar/{ic-search-bar.spec.js → test/basic/ic-search-bar.spec.js} +7 -7
  311. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  312. package/dist/collection/components/ic-section-container/{ic-section-container.spec.js → test/basic/ic-section-container.spec.js} +1 -1
  313. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  314. package/dist/collection/components/ic-select/ic-select.js +267 -266
  315. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  316. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  317. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  318. package/dist/collection/components/ic-select/{ic-select.e2e.js → test/basic/ic-select.e2e.js} +3 -0
  319. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  320. package/dist/collection/components/ic-select/{ic-select.spec.js → test/basic/ic-select.spec.js} +26 -6
  321. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  322. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +6 -19
  323. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +87 -81
  324. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  325. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  326. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  327. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  328. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  329. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.spec.js → test/basic/ic-side-navigation.spec.js} +5 -5
  330. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  331. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  332. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  333. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  334. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  335. package/dist/collection/components/ic-skeleton/{ic-skeleton.spec.js → test/basic/ic-skeleton.spec.js} +1 -1
  336. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  337. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  338. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  339. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  340. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  341. package/dist/collection/components/ic-status-tag/{ic-status-tag.spec.js → test/basic/ic-status-tag.spec.js} +1 -1
  342. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  343. package/dist/collection/components/ic-step/ic-step.js +126 -126
  344. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  345. package/dist/collection/components/ic-step/{ic-step.spec.js → test/basic/ic-step.spec.js} +3 -3
  346. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  347. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  348. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  349. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  350. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  351. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  352. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  353. package/dist/collection/components/ic-stepper/{ic-stepper.spec.js → test/basic/ic-stepper.spec.js} +3 -3
  354. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  355. package/dist/collection/components/ic-switch/ic-switch.js +72 -72
  356. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  357. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  358. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  359. package/dist/collection/components/ic-switch/{ic-switch.spec.js → test/basic/ic-switch.spec.js} +1 -1
  360. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  361. package/dist/collection/components/ic-tab/ic-tab.js +56 -56
  362. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  363. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  364. package/dist/collection/components/ic-tab/{ic-tab.spec.js → test/basic/ic-tab.spec.js} +3 -3
  365. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  366. package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
  367. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  368. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  369. package/dist/collection/components/ic-tab-context/{ic-tab-context.e2e.js → test/basic/ic-tab-context.e2e.js} +1 -1
  370. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  371. package/dist/collection/components/ic-tab-context/{ic-tab-context.spec.js → test/basic/ic-tab-context.spec.js} +4 -4
  372. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  373. package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
  374. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  375. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
  376. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  377. package/dist/collection/components/ic-tab-panel/{ic-tab-panel.spec.js → test/basic/ic-tab-panel.spec.js} +1 -1
  378. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  379. package/dist/collection/components/ic-text-field/ic-text-field.js +371 -371
  380. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  381. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  382. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  383. package/dist/collection/components/ic-text-field/{ic-text-field.input.spec.js → test/basic/ic-text-field.input.spec.js} +2 -2
  384. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  385. package/dist/collection/components/ic-text-field/{ic-text-field.textarea.spec.js → test/basic/ic-text-field.textarea.spec.js} +1 -1
  386. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  387. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  388. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  389. package/dist/collection/components/ic-theme/{ic-theme.spec.js → test/basic/ic-theme.spec.js} +3 -3
  390. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  391. package/dist/collection/components/ic-toast/ic-toast.js +111 -111
  392. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  393. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  394. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  395. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  396. package/dist/collection/components/ic-toast/{ic-toast.spec.js → test/basic/ic-toast.spec.js} +4 -4
  397. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  398. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  399. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  400. package/dist/collection/components/ic-toast-region/{ic-toast-region.spec.js → test/basic/ic-toast-region.spec.js} +3 -3
  401. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  402. package/dist/collection/components/ic-tooltip/ic-tooltip.js +47 -47
  403. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  404. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  405. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  406. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  407. package/dist/collection/components/ic-tooltip/{ic-tooltip.spec.js → test/basic/ic-tooltip.spec.js} +2 -2
  408. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  409. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +100 -80
  410. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  411. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
  412. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  413. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.e2e.js → test/basic/ic-top-navigation.e2e.js} +19 -0
  414. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  415. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  416. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.spec.js → test/basic/ic-top-navigation.spec.js} +21 -8
  417. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  418. package/dist/collection/components/ic-typography/ic-typography.js +36 -36
  419. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  420. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  421. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  422. package/dist/collection/components/ic-typography/{ic-typography.e2e.js → test/basic/ic-typography.e2e.js} +3 -0
  423. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  424. package/dist/collection/components/ic-typography/{ic-typography.spec.js → test/basic/ic-typography.spec.js} +1 -1
  425. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  426. package/dist/collection/testspec.setup.js +10 -0
  427. package/dist/collection/testspec.setup.js.map +1 -1
  428. package/dist/collection/utils/helpers.js.map +1 -1
  429. package/dist/components/helpers.js +1 -1
  430. package/dist/components/helpers.js.map +1 -1
  431. package/dist/components/ic-alert2.js +13 -13
  432. package/dist/components/ic-alert2.js.map +1 -1
  433. package/dist/components/ic-back-to-top.js +4 -4
  434. package/dist/components/ic-back-to-top.js.map +1 -1
  435. package/dist/components/ic-breadcrumb-group.js +25 -19
  436. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  437. package/dist/components/ic-breadcrumb2.js +7 -7
  438. package/dist/components/ic-breadcrumb2.js.map +1 -1
  439. package/dist/components/ic-button2.js +82 -47
  440. package/dist/components/ic-button2.js.map +1 -1
  441. package/dist/components/ic-card.js +50 -50
  442. package/dist/components/ic-card.js.map +1 -1
  443. package/dist/components/ic-checkbox-group.js +20 -20
  444. package/dist/components/ic-checkbox-group.js.map +1 -1
  445. package/dist/components/ic-checkbox.js +37 -34
  446. package/dist/components/ic-checkbox.js.map +1 -1
  447. package/dist/components/ic-chip.js +19 -19
  448. package/dist/components/ic-chip.js.map +1 -1
  449. package/dist/components/ic-data-row.js +21 -21
  450. package/dist/components/ic-data-row.js.map +1 -1
  451. package/dist/components/ic-dialog.js +60 -61
  452. package/dist/components/ic-dialog.js.map +1 -1
  453. package/dist/components/ic-footer-link-group.js +19 -19
  454. package/dist/components/ic-footer-link-group.js.map +1 -1
  455. package/dist/components/ic-footer-link.js +16 -16
  456. package/dist/components/ic-footer-link.js.map +1 -1
  457. package/dist/components/ic-footer.js +19 -19
  458. package/dist/components/ic-footer.js.map +1 -1
  459. package/dist/components/ic-hero.js +25 -25
  460. package/dist/components/ic-hero.js.map +1 -1
  461. package/dist/components/ic-horizontal-scroll2.js +36 -23
  462. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  463. package/dist/components/ic-input-component-container2.js +8 -8
  464. package/dist/components/ic-input-component-container2.js.map +1 -1
  465. package/dist/components/ic-input-label2.js +8 -8
  466. package/dist/components/ic-input-label2.js.map +1 -1
  467. package/dist/components/ic-input-validation2.js +6 -6
  468. package/dist/components/ic-input-validation2.js.map +1 -1
  469. package/dist/components/ic-link2.js +20 -20
  470. package/dist/components/ic-link2.js.map +1 -1
  471. package/dist/components/ic-loading-indicator2.js +24 -24
  472. package/dist/components/ic-loading-indicator2.js.map +1 -1
  473. package/dist/components/ic-menu-item2.js +17 -17
  474. package/dist/components/ic-menu-item2.js.map +1 -1
  475. package/dist/components/ic-menu2.js +93 -95
  476. package/dist/components/ic-menu2.js.map +1 -1
  477. package/dist/components/ic-navigation-button.js +20 -20
  478. package/dist/components/ic-navigation-button.js.map +1 -1
  479. package/dist/components/ic-navigation-group.js +41 -41
  480. package/dist/components/ic-navigation-group.js.map +1 -1
  481. package/dist/components/ic-navigation-item.js +52 -52
  482. package/dist/components/ic-navigation-item.js.map +1 -1
  483. package/dist/components/ic-navigation-menu2.js +28 -28
  484. package/dist/components/ic-navigation-menu2.js.map +1 -1
  485. package/dist/components/ic-page-header.js +18 -18
  486. package/dist/components/ic-page-header.js.map +1 -1
  487. package/dist/components/ic-pagination-item2.js +11 -11
  488. package/dist/components/ic-pagination-item2.js.map +1 -1
  489. package/dist/components/ic-pagination.js +39 -39
  490. package/dist/components/ic-pagination.js.map +1 -1
  491. package/dist/components/ic-popover-menu.js +64 -64
  492. package/dist/components/ic-popover-menu.js.map +1 -1
  493. package/dist/components/ic-radio-group.js +40 -33
  494. package/dist/components/ic-radio-group.js.map +1 -1
  495. package/dist/components/ic-radio-option.js +42 -35
  496. package/dist/components/ic-radio-option.js.map +1 -1
  497. package/dist/components/ic-search-bar.js +146 -145
  498. package/dist/components/ic-search-bar.js.map +1 -1
  499. package/dist/components/ic-select.js +96 -95
  500. package/dist/components/ic-select.js.map +1 -1
  501. package/dist/components/ic-side-navigation.js +52 -46
  502. package/dist/components/ic-side-navigation.js.map +1 -1
  503. package/dist/components/ic-skeleton.js +5 -5
  504. package/dist/components/ic-skeleton.js.map +1 -1
  505. package/dist/components/ic-status-tag.js +6 -6
  506. package/dist/components/ic-status-tag.js.map +1 -1
  507. package/dist/components/ic-step.js +15 -15
  508. package/dist/components/ic-step.js.map +1 -1
  509. package/dist/components/ic-stepper.js +19 -19
  510. package/dist/components/ic-stepper.js.map +1 -1
  511. package/dist/components/ic-switch.js +21 -21
  512. package/dist/components/ic-switch.js.map +1 -1
  513. package/dist/components/ic-tab-context.js +28 -34
  514. package/dist/components/ic-tab-context.js.map +1 -1
  515. package/dist/components/ic-tab-group.js +3 -3
  516. package/dist/components/ic-tab-group.js.map +1 -1
  517. package/dist/components/ic-tab-panel.js +4 -4
  518. package/dist/components/ic-tab-panel.js.map +1 -1
  519. package/dist/components/ic-tab.js +17 -17
  520. package/dist/components/ic-tab.js.map +1 -1
  521. package/dist/components/ic-text-field2.js +83 -83
  522. package/dist/components/ic-text-field2.js.map +1 -1
  523. package/dist/components/ic-theme.js.map +1 -1
  524. package/dist/components/ic-toast-region.js +12 -12
  525. package/dist/components/ic-toast-region.js.map +1 -1
  526. package/dist/components/ic-toast.js +62 -62
  527. package/dist/components/ic-toast.js.map +1 -1
  528. package/dist/components/ic-tooltip2.js +26 -26
  529. package/dist/components/ic-tooltip2.js.map +1 -1
  530. package/dist/components/ic-top-navigation.js +52 -49
  531. package/dist/components/ic-top-navigation.js.map +1 -1
  532. package/dist/components/ic-typography2.js +14 -14
  533. package/dist/components/ic-typography2.js.map +1 -1
  534. package/dist/core/core.esm.js +1 -1
  535. package/dist/core/core.esm.js.map +1 -1
  536. package/dist/core/{p-f0714432.entry.js → p-060c7917.entry.js} +2 -2
  537. package/dist/core/p-060c7917.entry.js.map +1 -0
  538. package/dist/core/p-0738d6e3.entry.js +2 -0
  539. package/dist/core/p-0738d6e3.entry.js.map +1 -0
  540. package/dist/core/{p-31ccdd50.entry.js → p-08870e30.entry.js} +2 -2
  541. package/dist/core/p-08870e30.entry.js.map +1 -0
  542. package/dist/core/{p-8911656b.entry.js → p-0b05b2b9.entry.js} +2 -2
  543. package/dist/core/{p-8911656b.entry.js.map → p-0b05b2b9.entry.js.map} +1 -1
  544. package/dist/core/{p-da4c1409.entry.js → p-0b3e5ba2.entry.js} +2 -2
  545. package/dist/core/p-0b3e5ba2.entry.js.map +1 -0
  546. package/dist/core/{p-79914e0c.entry.js → p-0cc2442d.entry.js} +2 -2
  547. package/dist/core/{p-79914e0c.entry.js.map → p-0cc2442d.entry.js.map} +1 -1
  548. package/dist/core/{p-2e051e1e.entry.js → p-0d6ee2ae.entry.js} +2 -2
  549. package/dist/core/p-0d6ee2ae.entry.js.map +1 -0
  550. package/dist/core/{p-f381e93f.entry.js → p-0dcfcf8c.entry.js} +2 -2
  551. package/dist/core/p-0dcfcf8c.entry.js.map +1 -0
  552. package/dist/core/{p-97fd0cc1.entry.js → p-12287f17.entry.js} +2 -2
  553. package/dist/core/p-12287f17.entry.js.map +1 -0
  554. package/dist/core/{p-ef91c17e.entry.js → p-1a7d6eca.entry.js} +2 -2
  555. package/dist/core/p-1a7d6eca.entry.js.map +1 -0
  556. package/dist/core/{p-84c8c4c7.entry.js → p-21cd7e76.entry.js} +2 -2
  557. package/dist/core/{p-84c8c4c7.entry.js.map → p-21cd7e76.entry.js.map} +1 -1
  558. package/dist/core/p-22e151f8.entry.js +2 -0
  559. package/dist/core/p-22e151f8.entry.js.map +1 -0
  560. package/dist/core/{p-c0333310.entry.js → p-2a4a7e63.entry.js} +2 -2
  561. package/dist/core/p-2a4a7e63.entry.js.map +1 -0
  562. package/dist/core/{p-bad10f6c.entry.js → p-2a55f42e.entry.js} +2 -2
  563. package/dist/core/p-2a55f42e.entry.js.map +1 -0
  564. package/dist/core/p-36115f6a.entry.js +2 -0
  565. package/dist/core/p-36115f6a.entry.js.map +1 -0
  566. package/dist/core/{p-ca6820dc.entry.js → p-38ac1d7a.entry.js} +2 -2
  567. package/dist/core/p-38ac1d7a.entry.js.map +1 -0
  568. package/dist/core/p-50f253b2.entry.js +2 -0
  569. package/dist/core/p-50f253b2.entry.js.map +1 -0
  570. package/dist/core/{p-820e4c17.entry.js → p-51d4c05c.entry.js} +2 -2
  571. package/dist/core/{p-820e4c17.entry.js.map → p-51d4c05c.entry.js.map} +1 -1
  572. package/dist/core/{p-5fcd965f.entry.js → p-5367574a.entry.js} +2 -2
  573. package/dist/core/p-5367574a.entry.js.map +1 -0
  574. package/dist/core/p-55cb196e.entry.js +2 -0
  575. package/dist/core/p-55cb196e.entry.js.map +1 -0
  576. package/dist/core/{p-4a385752.js → p-5dd0b02e.js} +2 -2
  577. package/dist/core/{p-4a385752.js.map → p-5dd0b02e.js.map} +1 -1
  578. package/dist/core/{p-b35a9909.entry.js → p-6068e3f4.entry.js} +2 -2
  579. package/dist/core/p-6068e3f4.entry.js.map +1 -0
  580. package/dist/core/{p-68308ecd.entry.js → p-705aadd0.entry.js} +2 -2
  581. package/dist/core/p-705aadd0.entry.js.map +1 -0
  582. package/dist/core/{p-aeef3c9d.entry.js → p-70c4e8d4.entry.js} +2 -2
  583. package/dist/core/p-70c4e8d4.entry.js.map +1 -0
  584. package/dist/core/p-8915a04d.entry.js +2 -0
  585. package/dist/core/p-8915a04d.entry.js.map +1 -0
  586. package/dist/core/p-8c5ba72e.entry.js +2 -0
  587. package/dist/core/p-8c5ba72e.entry.js.map +1 -0
  588. package/dist/core/{p-97286148.entry.js → p-9775acc5.entry.js} +2 -2
  589. package/dist/core/p-9775acc5.entry.js.map +1 -0
  590. package/dist/core/{p-a9de9aba.entry.js → p-a600e5d8.entry.js} +2 -2
  591. package/dist/core/{p-a9de9aba.entry.js.map → p-a600e5d8.entry.js.map} +1 -1
  592. package/dist/core/{p-dbe06c3b.entry.js → p-a941124d.entry.js} +2 -2
  593. package/dist/core/p-a941124d.entry.js.map +1 -0
  594. package/dist/core/{p-e3e6308b.entry.js → p-add90b68.entry.js} +2 -2
  595. package/dist/core/{p-31e80ccb.entry.js → p-b1c3f213.entry.js} +2 -2
  596. package/dist/core/p-b1c3f213.entry.js.map +1 -0
  597. package/dist/core/p-b6a1d9b6.entry.js +2 -0
  598. package/dist/core/p-b6a1d9b6.entry.js.map +1 -0
  599. package/dist/core/{p-dfd31e28.entry.js → p-b6e97f47.entry.js} +2 -2
  600. package/dist/core/p-b6e97f47.entry.js.map +1 -0
  601. package/dist/core/{p-311c38b3.entry.js → p-ba437d36.entry.js} +2 -2
  602. package/dist/core/p-ba437d36.entry.js.map +1 -0
  603. package/dist/core/{p-b03bd9c6.entry.js → p-bc161e06.entry.js} +2 -2
  604. package/dist/core/p-bc161e06.entry.js.map +1 -0
  605. package/dist/core/p-bd2f15e6.entry.js +2 -0
  606. package/dist/core/p-bd2f15e6.entry.js.map +1 -0
  607. package/dist/core/{p-2ec49a7e.entry.js → p-bd660ff4.entry.js} +2 -2
  608. package/dist/core/{p-2ec49a7e.entry.js.map → p-bd660ff4.entry.js.map} +1 -1
  609. package/dist/core/{p-3ce0aa02.entry.js → p-c0717294.entry.js} +2 -2
  610. package/dist/core/p-c0717294.entry.js.map +1 -0
  611. package/dist/core/{p-617950f8.entry.js → p-c2b0c19b.entry.js} +2 -2
  612. package/dist/core/p-c2b0c19b.entry.js.map +1 -0
  613. package/dist/core/{p-ecdcae46.entry.js → p-c51cfe25.entry.js} +2 -2
  614. package/dist/core/p-c51cfe25.entry.js.map +1 -0
  615. package/dist/core/p-c5dd2bae.entry.js +2 -0
  616. package/dist/core/p-c5dd2bae.entry.js.map +1 -0
  617. package/dist/core/{p-bda4414e.entry.js → p-c7eff761.entry.js} +2 -2
  618. package/dist/core/p-c7eff761.entry.js.map +1 -0
  619. package/dist/core/{p-ad6c4c02.entry.js → p-d04640ac.entry.js} +2 -2
  620. package/dist/core/p-d04640ac.entry.js.map +1 -0
  621. package/dist/core/{p-a74b8476.entry.js → p-d6ee986d.entry.js} +2 -2
  622. package/dist/core/p-d6ee986d.entry.js.map +1 -0
  623. package/dist/core/{p-249af8ab.entry.js → p-d824684d.entry.js} +2 -2
  624. package/dist/core/{p-249af8ab.entry.js.map → p-d824684d.entry.js.map} +1 -1
  625. package/dist/core/{p-6c76c6ba.entry.js → p-dd083d96.entry.js} +2 -2
  626. package/dist/core/p-dd083d96.entry.js.map +1 -0
  627. package/dist/core/{p-323bce82.entry.js → p-e360b5a8.entry.js} +2 -2
  628. package/dist/core/p-e360b5a8.entry.js.map +1 -0
  629. package/dist/core/{p-0d325b4c.entry.js → p-e69f71c7.entry.js} +2 -2
  630. package/dist/core/p-e69f71c7.entry.js.map +1 -0
  631. package/dist/core/{p-551986d1.entry.js → p-f81ecfc2.entry.js} +2 -2
  632. package/dist/core/p-f81ecfc2.entry.js.map +1 -0
  633. package/dist/core/p-fdc1cfa2.entry.js +2 -0
  634. package/dist/core/p-fdc1cfa2.entry.js.map +1 -0
  635. package/dist/esm/core.js +1 -1
  636. package/dist/esm/{helpers-8e57082b.js → helpers-85903813.js} +2 -2
  637. package/dist/esm/{helpers-8e57082b.js.map → helpers-85903813.js.map} +1 -1
  638. package/dist/esm/ic-alert.entry.js +9 -9
  639. package/dist/esm/ic-alert.entry.js.map +1 -1
  640. package/dist/esm/ic-back-to-top.entry.js +3 -3
  641. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  642. package/dist/esm/ic-breadcrumb-group.entry.js +26 -20
  643. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  644. package/dist/esm/ic-breadcrumb.entry.js +6 -6
  645. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  646. package/dist/esm/ic-button_3.entry.js +106 -72
  647. package/dist/esm/ic-button_3.entry.js.map +1 -1
  648. package/dist/esm/ic-card.entry.js +41 -41
  649. package/dist/esm/ic-card.entry.js.map +1 -1
  650. package/dist/esm/ic-checkbox-group.entry.js +18 -18
  651. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  652. package/dist/esm/ic-checkbox.entry.js +33 -30
  653. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  654. package/dist/esm/ic-chip.entry.js +16 -16
  655. package/dist/esm/ic-chip.entry.js.map +1 -1
  656. package/dist/esm/ic-data-row.entry.js +21 -21
  657. package/dist/esm/ic-data-row.entry.js.map +1 -1
  658. package/dist/esm/ic-dialog.entry.js +55 -56
  659. package/dist/esm/ic-dialog.entry.js.map +1 -1
  660. package/dist/esm/ic-divider.entry.js +1 -1
  661. package/dist/esm/ic-footer-link-group.entry.js +17 -17
  662. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  663. package/dist/esm/ic-footer-link.entry.js +15 -15
  664. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  665. package/dist/esm/ic-footer.entry.js +18 -18
  666. package/dist/esm/ic-footer.entry.js.map +1 -1
  667. package/dist/esm/ic-hero.entry.js +19 -19
  668. package/dist/esm/ic-hero.entry.js.map +1 -1
  669. package/dist/esm/ic-horizontal-scroll.entry.js +36 -23
  670. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  671. package/dist/esm/ic-input-component-container_3.entry.js +87 -89
  672. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  673. package/dist/esm/ic-input-label_2.entry.js +8 -8
  674. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  675. package/dist/esm/ic-link.entry.js +18 -18
  676. package/dist/esm/ic-link.entry.js.map +1 -1
  677. package/dist/esm/ic-menu-item.entry.js +13 -13
  678. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  679. package/dist/esm/ic-navigation-button.entry.js +16 -16
  680. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  681. package/dist/esm/ic-navigation-group.entry.js +38 -38
  682. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  683. package/dist/esm/ic-navigation-item.entry.js +43 -43
  684. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  685. package/dist/esm/ic-navigation-menu.entry.js +27 -27
  686. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  687. package/dist/esm/ic-page-header.entry.js +13 -13
  688. package/dist/esm/ic-page-header.entry.js.map +1 -1
  689. package/dist/esm/ic-pagination-item.entry.js +6 -6
  690. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  691. package/dist/esm/ic-pagination.entry.js +31 -31
  692. package/dist/esm/ic-pagination.entry.js.map +1 -1
  693. package/dist/esm/ic-popover-menu.entry.js +62 -62
  694. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  695. package/dist/esm/ic-radio-group.entry.js +36 -29
  696. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  697. package/dist/esm/ic-radio-option.entry.js +37 -30
  698. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  699. package/dist/esm/ic-search-bar.entry.js +123 -122
  700. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  701. package/dist/esm/ic-select.entry.js +68 -67
  702. package/dist/esm/ic-select.entry.js.map +1 -1
  703. package/dist/esm/ic-side-navigation.entry.js +44 -38
  704. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  705. package/dist/esm/ic-skeleton.entry.js +3 -3
  706. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  707. package/dist/esm/ic-status-tag.entry.js +4 -4
  708. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  709. package/dist/esm/ic-step.entry.js +7 -7
  710. package/dist/esm/ic-step.entry.js.map +1 -1
  711. package/dist/esm/ic-stepper.entry.js +14 -14
  712. package/dist/esm/ic-stepper.entry.js.map +1 -1
  713. package/dist/esm/ic-switch.entry.js +17 -17
  714. package/dist/esm/ic-switch.entry.js.map +1 -1
  715. package/dist/esm/ic-tab-context.entry.js +26 -32
  716. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  717. package/dist/esm/ic-tab-group.entry.js +2 -2
  718. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  719. package/dist/esm/ic-tab-panel.entry.js +2 -2
  720. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  721. package/dist/esm/ic-tab.entry.js +17 -17
  722. package/dist/esm/ic-tab.entry.js.map +1 -1
  723. package/dist/esm/ic-text-field.entry.js +54 -54
  724. package/dist/esm/ic-text-field.entry.js.map +1 -1
  725. package/dist/esm/ic-theme.entry.js +1 -1
  726. package/dist/esm/ic-theme.entry.js.map +1 -1
  727. package/dist/esm/ic-toast-region.entry.js +12 -12
  728. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  729. package/dist/esm/ic-toast.entry.js +58 -58
  730. package/dist/esm/ic-toast.entry.js.map +1 -1
  731. package/dist/esm/ic-top-navigation.entry.js +42 -40
  732. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  733. package/dist/esm/ic-typography.entry.js +12 -12
  734. package/dist/esm/ic-typography.entry.js.map +1 -1
  735. package/dist/esm/loader.js +1 -1
  736. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  737. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  738. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  739. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
  740. package/dist/types/components/ic-button/ic-button.d.ts +58 -52
  741. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  742. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
  743. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +13 -13
  744. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -16
  745. package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
  746. package/dist/types/components/ic-dialog/ic-dialog.d.ts +47 -47
  747. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  748. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +9 -9
  749. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  750. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  751. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  752. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  753. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  754. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  755. package/dist/types/components/ic-link/ic-link.d.ts +8 -8
  756. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
  757. package/dist/types/components/ic-menu/ic-menu.d.ts +63 -63
  758. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
  759. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  760. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +20 -20
  761. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
  762. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  763. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  764. package/dist/types/components/ic-pagination/ic-pagination.d.ts +26 -26
  765. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +15 -15
  766. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
  767. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +19 -21
  768. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +31 -26
  769. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +105 -105
  770. package/dist/types/components/ic-select/ic-select.d.ts +86 -86
  771. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +28 -24
  772. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  773. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  774. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  775. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  776. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  777. package/dist/types/components/ic-tab/ic-tab.d.ts +16 -16
  778. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
  779. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
  780. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
  781. package/dist/types/components/ic-text-field/ic-text-field.d.ts +102 -102
  782. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  783. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
  784. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  785. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
  786. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
  787. package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
  788. package/dist/types/components.d.ts +13 -1
  789. package/dist/types/testspec.setup.d.ts +7 -5
  790. package/hydrate/index.js +1654 -1581
  791. package/package.json +3 -3
  792. package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +0 -1
  793. package/dist/collection/components/ic-alert/ic-alert.spec.js.map +0 -1
  794. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  795. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +0 -1
  796. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +0 -1
  797. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  798. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +0 -1
  799. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  800. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +0 -1
  801. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +0 -1
  802. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  803. package/dist/collection/components/ic-button/ic-button.e2e.js.map +0 -1
  804. package/dist/collection/components/ic-button/ic-button.spec.js.map +0 -1
  805. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  806. package/dist/collection/components/ic-card/ic-card.e2e.js.map +0 -1
  807. package/dist/collection/components/ic-card/ic-card.spec.js.map +0 -1
  808. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +0 -1
  810. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +0 -1
  811. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  812. package/dist/collection/components/ic-chip/ic-chip.spec.js.map +0 -1
  813. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  814. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +0 -1
  815. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +0 -1
  817. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  818. package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +0 -1
  819. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  820. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +0 -1
  821. package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +0 -1
  822. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +0 -1
  823. package/dist/collection/components/ic-divider/ic-divider.spec.js.map +0 -1
  824. package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +0 -1
  825. package/dist/collection/components/ic-footer/ic-footer.spec.js.map +0 -1
  826. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  827. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +0 -1
  828. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  829. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +0 -1
  830. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  831. package/dist/collection/components/ic-hero/ic-hero.spec.js.map +0 -1
  832. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  833. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +0 -1
  834. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  835. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +0 -1
  836. package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +0 -1
  837. package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +0 -1
  838. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +0 -1
  839. package/dist/collection/components/ic-link/ic-link.spec.js.map +0 -1
  840. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  841. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +0 -1
  842. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +0 -1
  843. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  844. package/dist/collection/components/ic-menu/ic-menu.spec.js.map +0 -1
  845. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +0 -1
  846. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +0 -1
  847. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +0 -1
  848. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +0 -1
  849. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  850. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +0 -1
  851. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  852. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +0 -1
  853. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +0 -1
  854. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +0 -1
  855. package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +0 -1
  856. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  857. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +0 -1
  858. package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +0 -1
  859. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
  860. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +0 -1
  861. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +0 -1
  862. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
  863. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +0 -1
  864. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +0 -1
  865. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  866. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +0 -1
  867. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +0 -1
  868. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  869. package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +0 -1
  870. package/dist/collection/components/ic-select/ic-select.e2e.js.map +0 -1
  871. package/dist/collection/components/ic-select/ic-select.spec.js.map +0 -1
  872. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  873. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  874. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +0 -1
  875. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +0 -1
  876. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  877. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +0 -1
  878. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  879. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +0 -1
  880. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  881. package/dist/collection/components/ic-step/ic-step.spec.js.map +0 -1
  882. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  883. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +0 -1
  884. package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +0 -1
  885. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  886. package/dist/collection/components/ic-switch/ic-switch.spec.js.map +0 -1
  887. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  888. package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +0 -1
  889. package/dist/collection/components/ic-tab/ic-tab.spec.js.map +0 -1
  890. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +0 -1
  891. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +0 -1
  892. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  893. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +0 -1
  894. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +0 -1
  895. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +0 -1
  896. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  897. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +0 -1
  898. package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +0 -1
  899. package/dist/collection/components/ic-theme/ic-theme.spec.js.map +0 -1
  900. package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +0 -1
  901. package/dist/collection/components/ic-toast/ic-toast.spec.js.map +0 -1
  902. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  903. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +0 -1
  904. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +0 -1
  905. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +0 -1
  906. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  907. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +0 -1
  908. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +0 -1
  909. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +0 -1
  910. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  911. package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +0 -1
  912. package/dist/collection/components/ic-typography/ic-typography.spec.js.map +0 -1
  913. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  914. package/dist/core/p-0d325b4c.entry.js.map +0 -1
  915. package/dist/core/p-29d9fea1.entry.js +0 -2
  916. package/dist/core/p-29d9fea1.entry.js.map +0 -1
  917. package/dist/core/p-2e051e1e.entry.js.map +0 -1
  918. package/dist/core/p-3114a4b3.entry.js +0 -2
  919. package/dist/core/p-3114a4b3.entry.js.map +0 -1
  920. package/dist/core/p-311c38b3.entry.js.map +0 -1
  921. package/dist/core/p-31ccdd50.entry.js.map +0 -1
  922. package/dist/core/p-31e80ccb.entry.js.map +0 -1
  923. package/dist/core/p-323bce82.entry.js.map +0 -1
  924. package/dist/core/p-3918c27a.entry.js +0 -2
  925. package/dist/core/p-3918c27a.entry.js.map +0 -1
  926. package/dist/core/p-3ce0aa02.entry.js.map +0 -1
  927. package/dist/core/p-524557bc.entry.js +0 -2
  928. package/dist/core/p-524557bc.entry.js.map +0 -1
  929. package/dist/core/p-551986d1.entry.js.map +0 -1
  930. package/dist/core/p-57460fa3.entry.js +0 -2
  931. package/dist/core/p-57460fa3.entry.js.map +0 -1
  932. package/dist/core/p-5fcd965f.entry.js.map +0 -1
  933. package/dist/core/p-617950f8.entry.js.map +0 -1
  934. package/dist/core/p-68308ecd.entry.js.map +0 -1
  935. package/dist/core/p-6c76c6ba.entry.js.map +0 -1
  936. package/dist/core/p-97286148.entry.js.map +0 -1
  937. package/dist/core/p-97fd0cc1.entry.js.map +0 -1
  938. package/dist/core/p-a74b8476.entry.js.map +0 -1
  939. package/dist/core/p-ad6c4c02.entry.js.map +0 -1
  940. package/dist/core/p-aeef3c9d.entry.js.map +0 -1
  941. package/dist/core/p-b03bd9c6.entry.js.map +0 -1
  942. package/dist/core/p-b0685167.entry.js +0 -2
  943. package/dist/core/p-b0685167.entry.js.map +0 -1
  944. package/dist/core/p-b35a9909.entry.js.map +0 -1
  945. package/dist/core/p-bad10f6c.entry.js.map +0 -1
  946. package/dist/core/p-bda4414e.entry.js.map +0 -1
  947. package/dist/core/p-c0333310.entry.js.map +0 -1
  948. package/dist/core/p-c3f9fb1d.entry.js +0 -2
  949. package/dist/core/p-c3f9fb1d.entry.js.map +0 -1
  950. package/dist/core/p-ca6820dc.entry.js.map +0 -1
  951. package/dist/core/p-d6694b41.entry.js +0 -2
  952. package/dist/core/p-d6694b41.entry.js.map +0 -1
  953. package/dist/core/p-da4c1409.entry.js.map +0 -1
  954. package/dist/core/p-dbe06c3b.entry.js.map +0 -1
  955. package/dist/core/p-dfd31e28.entry.js.map +0 -1
  956. package/dist/core/p-ea233813.entry.js +0 -2
  957. package/dist/core/p-ea233813.entry.js.map +0 -1
  958. package/dist/core/p-ecdcae46.entry.js.map +0 -1
  959. package/dist/core/p-ef91c17e.entry.js.map +0 -1
  960. package/dist/core/p-f0714432.entry.js.map +0 -1
  961. package/dist/core/p-f381e93f.entry.js.map +0 -1
  962. package/dist/core/p-fd482bd7.entry.js +0 -2
  963. package/dist/core/p-fd482bd7.entry.js.map +0 -1
  964. package/dist/core/p-fe2c4009.entry.js +0 -2
  965. package/dist/core/p-fe2c4009.entry.js.map +0 -1
  966. /package/dist/collection/components/ic-alert/{ic-alert.e2e.js → test/basic/ic-alert.e2e.js} +0 -0
  967. /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
  968. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.e2e.js → test/basic/ic-back-to-top.e2e.js} +0 -0
  969. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  970. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.e2e.js → test/basic/ic-breadcrumb-group.e2e.js} +0 -0
  971. /package/dist/collection/components/ic-card/{ic-card.e2e.js → test/basic/ic-card.e2e.js} +0 -0
  972. /package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.e2e.js → test/basic/ic-checkbox-group.e2e.js} +0 -0
  973. /package/dist/collection/components/ic-footer/{ic-footer.e2e.js → test/basic/ic-footer.e2e.js} +0 -0
  974. /package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.e2e.js → test/basic/ic-loading-indicator.e2e.js} +0 -0
  975. /package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.e2e.js → test/basic/ic-navigation-menu.e2e.js} +0 -0
  976. /package/dist/collection/components/ic-page-header/{ic-page-header.e2e.js → test/basic/ic-page-header.e2e.js} +0 -0
  977. /package/dist/collection/components/ic-pagination/{ic-pagination.e2e.js → test/basic/ic-pagination.e2e.js} +0 -0
  978. /package/dist/collection/components/ic-popover-menu/{ic-popover-menu.e2e.js → test/basic/ic-popover-menu.e2e.js} +0 -0
  979. /package/dist/collection/components/ic-radio-group/{ic-radio-group.e2e.js → test/basic/ic-radio-group.e2e.js} +0 -0
  980. /package/dist/collection/components/ic-search-bar/{ic-search-bar.e2e.js → test/basic/ic-search-bar.e2e.js} +0 -0
  981. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
  982. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation.e2e.js → test/basic/ic-side-navigation.e2e.js} +0 -0
  983. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  984. /package/dist/collection/components/ic-stepper/{ic-stepper.e2e.js → test/basic/ic-stepper.e2e.js} +0 -0
  985. /package/dist/collection/components/ic-tab/{ic-tab.e2e.js → test/basic/ic-tab.e2e.js} +0 -0
  986. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  987. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  988. /package/dist/collection/components/ic-text-field/{ic-text-field.e2e.js → test/basic/ic-text-field.e2e.js} +0 -0
  989. /package/dist/collection/components/ic-theme/{ic-theme.e2e.js → test/basic/ic-theme.e2e.js} +0 -0
  990. /package/dist/collection/components/ic-toast/{ic-toast.e2e.js → test/basic/ic-toast.e2e.js} +0 -0
  991. /package/dist/collection/components/ic-tooltip/{ic-tooltip.e2e.js → test/basic/ic-tooltip.e2e.js} +0 -0
  992. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.mobile.e2e.js → test/basic/ic-top-navigation.mobile.e2e.js} +0 -0
  993. /package/dist/core/{p-e3e6308b.entry.js.map → p-add90b68.entry.js.map} +0 -0
  994. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  995. /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
  996. /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
  997. /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
  998. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  999. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1000. /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
  1001. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1002. /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
  1003. /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
  1004. /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
  1005. /package/dist/types/components/ic-dialog/{ic-dialog.test.a11y.d.ts → test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1006. /package/dist/types/components/ic-footer/{ic-footer.test.a11y.d.ts → test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1007. /package/dist/types/components/ic-footer-link/{ic-footer-link.test.a11y.d.ts → test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1008. /package/dist/types/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.d.ts → test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1009. /package/dist/types/components/ic-hero/{ic-hero.test.a11y.d.ts → test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1010. /package/dist/types/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.d.ts → test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1011. /package/dist/types/components/ic-link/{ic-link.test.a11y.d.ts → test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1012. /package/dist/types/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.d.ts → test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1013. /package/dist/types/components/ic-navigation-group/{ic-navigation-group.test.a11y.d.ts → test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1014. /package/dist/types/components/ic-navigation-item/{ic-navigation-item.test.a11y.d.ts → test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1015. /package/dist/types/components/ic-page-header/{ic-page-header.test.a11y.d.ts → test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1016. /package/dist/types/components/ic-pagination/{ic-pagination.test.a11y.d.ts → test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1017. /package/dist/types/components/ic-popover-menu/{ic-popover-menu.test.a11y.d.ts → test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1018. /package/dist/types/components/ic-radio-group/{ic-radio-group.test.a11y.d.ts → test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1019. /package/dist/types/components/ic-search-bar/{ic-search-bar.test.a11y.d.ts → test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1020. /package/dist/types/components/ic-select/{ic-select.test.a11y.d.ts → test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1021. /package/dist/types/components/ic-side-navigation/{ic-side-navigation.test.a11y.d.ts → test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1022. /package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +0 -0
  1023. /package/dist/types/components/ic-skeleton/{ic-skeleton.test.a11y.d.ts → test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1024. /package/dist/types/components/ic-status-tag/{ic-status-tag.test.a11y.d.ts → test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1025. /package/dist/types/components/ic-stepper/{ic-stepper.test.a11y.d.ts → test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1026. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1027. /package/dist/types/components/ic-switch/{ic-switch.test.a11y.d.ts → test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1028. /package/dist/types/components/ic-tab-context/{ic-tab-context.test.a11y.d.ts → test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1029. /package/dist/types/components/ic-text-field/{ic-text-field.test.a11y.d.ts → test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
  1030. /package/dist/types/components/ic-toast/{ic-toast.test.a11y.d.ts → test/a11y/ic-toast.test.a11y.d.ts} +0 -0
  1031. /package/dist/types/components/ic-tooltip/{ic-tooltip.test.a11y.d.ts → test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
  1032. /package/dist/types/components/ic-top-navigation/{ic-top-navigation.test.a11y.d.ts → test/a11y/ic-top-navigation.test.a11y.d.ts} +0 -0
  1033. /package/dist/types/components/ic-typography/{ic-typography.test.a11y.d.ts → test/a11y/ic-typography.test.a11y.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { fixture } from "@open-wc/testing-helpers";
2
2
  import { axe } from "jest-axe";
3
- import { checkShadowElementRendersCorrectly } from "../../utils/testa11y.helpers";
3
+ import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
4
  describe("ic-link", () => {
5
5
  it("passes accessibility", async () => {
6
6
  const el = await fixture(`<ic-link>Link component</ic-link>`);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-link.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-link/test/a11y/ic-link.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;EACvB,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC9D,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"ic-link\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`<ic-link>Link component</ic-link>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
@@ -1,6 +1,6 @@
1
1
  import { newSpecPage } from "@stencil/core/testing";
2
- import { Alert } from "../ic-alert/ic-alert";
3
- import { Link } from "./ic-link";
2
+ import { Alert } from "../../../ic-alert/ic-alert";
3
+ import { Link } from "../../ic-link";
4
4
  describe("ic-link component", () => {
5
5
  it("should render a link by default with the correct text", async () => {
6
6
  const page = await newSpecPage({
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-link.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-link/test/basic/ic-link.spec.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,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAElD,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;IACpE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;EACrD,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6CAA6C,EAAE,KAAK,IAAI,EAAE;IAC3D,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,iCAAiC;KACxC,CAAC,CAAC;IAEH,6EAA6E;IAC7E,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC;EACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Alert } from \"../../../ic-alert/ic-alert\";\nimport { Link } from \"../../ic-link\";\n\ndescribe(\"ic-link component\", () => {\n it(\"should render a link by default with the correct text\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-link class=\"default link\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'download' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link download=\"test-download\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" download=\"test-download\">\n <mock:shadow-root>\n <a download=\"test-download\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'href' attribute and ic-link styling to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" class=\"default link\">\n <mock:shadow-root>\n <a class=\"default ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'dark' appearance styling and ic-link styling\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\" appearance=\"dark\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" appearance=\"dark\" class=\"dark link\">\n <mock:shadow-root>\n <a class=\"dark ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'hreflang' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link hreflang=\"test-hreflang\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" hreflang=\"test-hreflang\">\n <mock:shadow-root>\n <a hreflang=\"test-hreflang\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'referrerpolicy' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link referrerpolicy=\"no-referrer\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" referrerpolicy=\"no-referrer\">\n <mock:shadow-root>\n <a referrerpolicy=\"no-referrer\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'rel' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link rel=\"test-rel\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" rel=\"test-rel\">\n <mock:shadow-root>\n <a rel=\"test-rel\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'target' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link target=\"test-target\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" target=\"test-target\">\n <mock:shadow-root>\n <a target=\"test-target\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render an 'open in new' icon when 'show-icon' is provided\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link show-icon>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" show-icon>\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n <span class=\"ic-link-open-in-new-icon\">\n svg\n </span>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render a slotted link\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>\n <ic-link slot=\"router-item\">Slotted Link</ic-link>\n </ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\">\n <mock:shadow-root>\n <slot name=\"router-item\"></slot>\n </mock:shadow-root>\n <ic-link class=\"default link\" slot=\"router-item\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n Slotted Link\n </ic-link>\n </ic-link>\n `);\n });\n\n it(\"should get theme from context\", async () => {\n const page = await newSpecPage({\n components: [Alert, Link],\n html: `<ic-alert message=\"This has an action\"><ic-link slot=\"action\">Theme context link</ic-link></ic-alert>`,\n });\n\n expect(page.root).toMatchSnapshot(\"alert-theme-context\");\n });\n\n it(\"correctly sets variant on theme change\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-hero heading=\"Hero heading\" subheading=\"Hero description\">\n <ic-link slot=\"interaction\">Link</ic-link>\n </ic-hero>\n`,\n });\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"dark\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"dark\");\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"light\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"light\");\n });\n\n it(\"should call 'setFocus' when link is focused\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n //Can't expect anything in this test - this is to increase code coverage only\n await page.rootInstance.setFocus().toHaveBeenCalled;\n });\n});\n"]}
@@ -109,22 +109,22 @@ export class LoadingIndicator {
109
109
  this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
110
110
  }
111
111
  };
112
- this.progress = undefined;
113
- this.min = 0;
114
- this.max = 100;
115
- this.label = undefined;
112
+ this.circularDiameter = undefined;
113
+ this.circularLineWidth = undefined;
114
+ this.indeterminate = undefined;
115
+ this.indicatorLabel = undefined;
116
+ this.showSecond = false;
117
+ this.appearance = "dark";
116
118
  this.description = "Loading";
119
+ this.fullWidth = false;
117
120
  this.innerLabel = undefined;
118
121
  this.labelDuration = 8000;
122
+ this.max = 100;
123
+ this.min = 0;
119
124
  this.size = "default";
120
125
  this.type = "circular";
121
- this.fullWidth = false;
122
- this.appearance = "dark";
123
- this.indicatorLabel = undefined;
124
- this.indeterminate = undefined;
125
- this.showSecond = false;
126
- this.circularLineWidth = undefined;
127
- this.circularDiameter = undefined;
126
+ this.label = undefined;
127
+ this.progress = undefined;
128
128
  }
129
129
  watchPropHandler() {
130
130
  this.updateLabel();
@@ -134,6 +134,9 @@ export class LoadingIndicator {
134
134
  this.updateCircularProgressMeter();
135
135
  }
136
136
  }
137
+ disconnectedCallback() {
138
+ clearInterval(this.interval);
139
+ }
137
140
  componentWillLoad() {
138
141
  this.indeterminate = this.progress === undefined;
139
142
  this.updateLabel();
@@ -156,9 +159,6 @@ export class LoadingIndicator {
156
159
  this.setLinearDeterminateWidth();
157
160
  }
158
161
  }
159
- disconnectedCallback() {
160
- clearInterval(this.interval);
161
- }
162
162
  render() {
163
163
  const { appearance, label, description, size, fullWidth, innerLabel } = this;
164
164
  const { x, y, r } = this.setCircleXY();
@@ -185,95 +185,104 @@ export class LoadingIndicator {
185
185
  }
186
186
  static get properties() {
187
187
  return {
188
- "progress": {
189
- "type": "number",
188
+ "appearance": {
189
+ "type": "string",
190
190
  "mutable": false,
191
191
  "complexType": {
192
- "original": "number",
193
- "resolved": "number",
194
- "references": {}
192
+ "original": "IcThemeForegroundNoDefault",
193
+ "resolved": "\"dark\" | \"light\"",
194
+ "references": {
195
+ "IcThemeForegroundNoDefault": {
196
+ "location": "import",
197
+ "path": "../../utils/types"
198
+ }
199
+ }
195
200
  },
196
201
  "required": false,
197
202
  "optional": true,
198
203
  "docs": {
199
204
  "tags": [],
200
- "text": "The current amount of progress made.\nIf not provided, component acts as an indeterminate loading indicator."
205
+ "text": "The appearance of the loading indicator, e.g. dark or light."
201
206
  },
202
- "attribute": "progress",
203
- "reflect": false
207
+ "attribute": "appearance",
208
+ "reflect": false,
209
+ "defaultValue": "\"dark\""
204
210
  },
205
- "min": {
206
- "type": "number",
211
+ "description": {
212
+ "type": "string",
207
213
  "mutable": false,
208
214
  "complexType": {
209
- "original": "number",
210
- "resolved": "number",
215
+ "original": "string",
216
+ "resolved": "string",
211
217
  "references": {}
212
218
  },
213
219
  "required": false,
214
220
  "optional": true,
215
221
  "docs": {
216
222
  "tags": [],
217
- "text": "The minimum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
223
+ "text": "The description that will be set as the aria-label of the loading indicator when not using a visible label."
218
224
  },
219
- "attribute": "min",
225
+ "attribute": "description",
220
226
  "reflect": false,
221
- "defaultValue": "0"
227
+ "defaultValue": "\"Loading\""
222
228
  },
223
- "max": {
224
- "type": "number",
229
+ "fullWidth": {
230
+ "type": "boolean",
225
231
  "mutable": false,
226
232
  "complexType": {
227
- "original": "number",
228
- "resolved": "number",
233
+ "original": "boolean",
234
+ "resolved": "boolean",
229
235
  "references": {}
230
236
  },
231
237
  "required": false,
232
238
  "optional": true,
233
239
  "docs": {
234
240
  "tags": [],
235
- "text": "The maximum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
241
+ "text": "If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed."
236
242
  },
237
- "attribute": "max",
238
- "reflect": false,
239
- "defaultValue": "100"
243
+ "attribute": "full-width",
244
+ "reflect": true,
245
+ "defaultValue": "false"
240
246
  },
241
- "label": {
242
- "type": "string",
247
+ "innerLabel": {
248
+ "type": "number",
243
249
  "mutable": false,
244
250
  "complexType": {
245
- "original": "string",
246
- "resolved": "string",
251
+ "original": "number",
252
+ "resolved": "number",
247
253
  "references": {}
248
254
  },
249
255
  "required": false,
250
256
  "optional": true,
251
257
  "docs": {
252
- "tags": [],
253
- "text": "The label to be displayed beneath the loading indicator.\nDisplay a changing label by separating multiple messages with forward slashes."
258
+ "tags": [{
259
+ "name": "internal",
260
+ "text": "The step number of a compact step, managed by ic-step."
261
+ }],
262
+ "text": ""
254
263
  },
255
- "attribute": "label",
264
+ "attribute": "inner-label",
256
265
  "reflect": false
257
266
  },
258
- "description": {
259
- "type": "string",
267
+ "labelDuration": {
268
+ "type": "number",
260
269
  "mutable": false,
261
270
  "complexType": {
262
- "original": "string",
263
- "resolved": "string",
271
+ "original": "number",
272
+ "resolved": "number",
264
273
  "references": {}
265
274
  },
266
275
  "required": false,
267
276
  "optional": true,
268
277
  "docs": {
269
278
  "tags": [],
270
- "text": "The description that will be set as the aria-label of the loading indicator when not using a visible label."
279
+ "text": "The time in milliseconds before the label changes."
271
280
  },
272
- "attribute": "description",
281
+ "attribute": "label-duration",
273
282
  "reflect": false,
274
- "defaultValue": "\"Loading\""
283
+ "defaultValue": "8000"
275
284
  },
276
- "innerLabel": {
285
+ "max": {
277
286
  "type": "number",
278
287
  "mutable": false,
279
288
  "complexType": {
@@ -284,16 +293,14 @@ export class LoadingIndicator {
284
293
  "required": false,
285
294
  "optional": true,
286
295
  "docs": {
287
- "tags": [{
288
- "name": "internal",
289
- "text": "The step number of a compact step, managed by ic-step."
290
- }],
291
- "text": ""
296
+ "tags": [],
297
+ "text": "The maximum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
292
298
  },
293
- "attribute": "inner-label",
294
- "reflect": false
299
+ "attribute": "max",
300
+ "reflect": false,
301
+ "defaultValue": "100"
295
302
  },
296
- "labelDuration": {
303
+ "min": {
297
304
  "type": "number",
298
305
  "mutable": false,
299
306
  "complexType": {
@@ -305,11 +312,11 @@ export class LoadingIndicator {
305
312
  "optional": true,
306
313
  "docs": {
307
314
  "tags": [],
308
- "text": "The time in milliseconds before the label changes."
315
+ "text": "The minimum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
309
316
  },
310
- "attribute": "label-duration",
317
+ "attribute": "min",
311
318
  "reflect": false,
312
- "defaultValue": "8000"
319
+ "defaultValue": "0"
313
320
  },
314
321
  "size": {
315
322
  "type": "string",
@@ -357,56 +364,49 @@ export class LoadingIndicator {
357
364
  "reflect": true,
358
365
  "defaultValue": "\"circular\""
359
366
  },
360
- "fullWidth": {
361
- "type": "boolean",
367
+ "label": {
368
+ "type": "string",
362
369
  "mutable": false,
363
370
  "complexType": {
364
- "original": "boolean",
365
- "resolved": "boolean",
371
+ "original": "string",
372
+ "resolved": "string",
366
373
  "references": {}
367
374
  },
368
375
  "required": false,
369
376
  "optional": true,
370
377
  "docs": {
371
378
  "tags": [],
372
- "text": "If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed."
379
+ "text": "The label to be displayed beneath the loading indicator.\nDisplay a changing label by separating multiple messages with forward slashes."
373
380
  },
374
- "attribute": "full-width",
375
- "reflect": true,
376
- "defaultValue": "false"
381
+ "attribute": "label",
382
+ "reflect": false
377
383
  },
378
- "appearance": {
379
- "type": "string",
384
+ "progress": {
385
+ "type": "number",
380
386
  "mutable": false,
381
387
  "complexType": {
382
- "original": "IcThemeForegroundNoDefault",
383
- "resolved": "\"dark\" | \"light\"",
384
- "references": {
385
- "IcThemeForegroundNoDefault": {
386
- "location": "import",
387
- "path": "../../utils/types"
388
- }
389
- }
388
+ "original": "number",
389
+ "resolved": "number",
390
+ "references": {}
390
391
  },
391
392
  "required": false,
392
393
  "optional": true,
393
394
  "docs": {
394
395
  "tags": [],
395
- "text": "The appearance of the loading indicator, e.g. dark or light."
396
+ "text": "The current amount of progress made.\nIf not provided, component acts as an indeterminate loading indicator."
396
397
  },
397
- "attribute": "appearance",
398
- "reflect": false,
399
- "defaultValue": "\"dark\""
398
+ "attribute": "progress",
399
+ "reflect": false
400
400
  }
401
401
  };
402
402
  }
403
403
  static get states() {
404
404
  return {
405
- "indicatorLabel": {},
406
- "indeterminate": {},
407
- "showSecond": {},
405
+ "circularDiameter": {},
408
406
  "circularLineWidth": {},
409
- "circularDiameter": {}
407
+ "indeterminate": {},
408
+ "indicatorLabel": {},
409
+ "showSecond": {}
410
410
  };
411
411
  }
412
412
  static get elementRef() { return "host"; }
@@ -1 +1 @@
1
- {"version":3,"file":"ic-loading-indicator.js","sourceRoot":"","sources":["../../../src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMhF,OAAO,EACL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAO3B,MAAM,OAAO,gBAAgB;;IAsFnB,gCAA2B,GAAG,GAAG,EAAE;MACzC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;QACvB,IA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E,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,GAAW,CAChD,CACP,CACG,CACF;QACL,KAAK,IAAI,IAAI,KAAK,MAAM,IAAI,CAC3B,qBACE,EAAE,EAAC,kBAAkB,EACrB,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE;UAE/B,aAAI,IAAI,CAAC,cAAc,CAAK,CACd,CACjB,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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() 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 private interval: ReturnType<typeof setInterval>;\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 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 disconnectedCallback(): void {\n clearInterval(this.interval);\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"]}
1
+ {"version":3,"file":"ic-loading-indicator.js","sourceRoot":"","sources":["../../../src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMhF,OAAO,EACL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAO3B,MAAM,OAAO,gBAAgB;;IAuHnB,gCAA2B,GAAG,GAAG,EAAE;MACzC,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;IACH,CAAC,CAAC;IAEM,aAAQ,GAAG,CACjB,UAAkB,EAClB,QAAiC,EACjC,EAAE;MACF,OAAO,IAAI,OAAO,CAAC,GAAG,EAAE;QACtB,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,G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,CAAC,cAAc,CAAK,CACd,CACjB,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
@@ -1,6 +1,6 @@
1
1
  import { fixture } from "@open-wc/testing-helpers";
2
2
  import { axe } from "jest-axe";
3
- import { checkShadowElementRendersCorrectly } from "../../utils/testa11y.helpers";
3
+ import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
4
  describe("ic-loading-indicator", () => {
5
5
  it("passes accessibility", async () => {
6
6
  const el = await fixture(`<ic-loading-indicator label="Loading indicator"></ic-loading-indicator>`);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-loading-indicator.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;EACpC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB,yEAAyE,CAC1E,CAAC;IACF,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"ic-loading-indicator\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\n `<ic-loading-indicator label=\"Loading indicator\"></ic-loading-indicator>`\n );\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-loading-indicator.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;EAC9C,EAAE,CAAC,uFAAuF,EAAE,KAAK,IAAI,EAAE;IACrG,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,4FAA4F;KACnG,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;EAC5C,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2FAA2F,EAAE,KAAK,IAAI,EAAE;IACzG,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,4FAA4F;KACnG,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;EAC3C,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,4DAA4D,EAAE,KAAK,IAAI,EAAE;IAC1E,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,kHAAkH;KACzH,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;EAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from \"@stencil/core/testing\";\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\ndescribe(\"ic-loading-indicator component\", () => {\n it(\"should change the label after 8 seconds if a string with forward slashes is passed in\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(8000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"Second label\");\n });\n\n it(\"should change the label back to the first in the string after the last has been displayed\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(24000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"First label\");\n });\n\n it(\"should change the label after the specified amount of time\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\" label-duration=\"2000\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(2000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"Second label\");\n });\n});\n"]}
@@ -1,7 +1,7 @@
1
1
  import { newSpecPage } from "@stencil/core/testing";
2
- import { LoadingIndicator } from "./ic-loading-indicator";
3
- import { Typography } from "../ic-typography/ic-typography";
4
- import { waitForTimeout } from "../../testspec.setup";
2
+ import { LoadingIndicator } from "../../ic-loading-indicator";
3
+ import { Typography } from "../../../ic-typography/ic-typography";
4
+ import { waitForTimeout } from "../../../../testspec.setup";
5
5
  let page;
6
6
  beforeAll(() => {
7
7
  jest.spyOn(console, "warn").mockImplementation(jest.fn());
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-loading-indicator.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAY,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,IAAI,IAAc,CAAC;AAEnB,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;AACtB,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;EAC9C,EAAE,CAAC,iGAAiG,EAAE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F;KACxF,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC1B,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAC5B,IAAI,CAAC,YAAY,CAAC,gBAAgB,GAAG,KAAK,CAAC;IAC3C,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAC5B,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAChE,MAAM,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACpC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EACvB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage, SpecPage } from \"@stencil/core/testing\";\nimport { LoadingIndicator } from \"../../ic-loading-indicator\";\nimport { Typography } from \"../../../ic-typography/ic-typography\";\nimport { waitForTimeout } from \"../../../../testspec.setup\";\n\nlet page: SpecPage;\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\nafterEach(() => {\n page.setContent(\"\");\n});\n\ndescribe(\"ic-loading-indicator component\", () => {\n it(\"should render an indeterminate loading indicator with the correct label and set aria-labelledby\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render a determinate loading indicator with the correct label and aria\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator progress=\"30\" label=\"IC Loading Indicator Test\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should not display a label is the size is 'icon'\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\" size=\"icon\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should set the typography variant for the label to 'label' for the 'small' size\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\" size=\"small\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should set the typography variant for the label to 'h4' for the 'default' size\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should set the typography variant for the label to 'h2' for the 'large' size\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\" size=\"large\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should apply the description prop as an aria-label\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator description=\"IC Loading Indicator Test\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should be styled correctly by setting the class names for the chosen indicator type\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator type=\"linear\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should set the correct aria if min and max are provided\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator progress=\"30\" min=\"10\" max=\"50\"></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should update label after label-duration passed\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"waiting/still waiting\" label-duration=\"2000\"></ic-loading-indicator>`,\n });\n\n expect(page.rootInstance.indicatorLabel).toEqual(\"waiting\");\n\n await waitForTimeout(2001);\n await page.waitForChanges();\n\n expect(page.rootInstance.indicatorLabel).toEqual(\"still waiting\");\n\n await waitForTimeout(2001);\n await page.waitForChanges();\n expect(page.rootInstance.indicatorLabel).toEqual(\"waiting\");\n });\n\n it(\"should render linear determinate progress bar\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator progress=\"30\" min=\"10\" max=\"50\" type='linear'></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render linear indeterminate progress bar\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator type='linear'></ic-loading-indicator>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should test updating label and progress props\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\" size=\"large\"></ic-loading-indicator>`,\n });\n\n expect(page.rootInstance.label).toBe(\"IC Loading Indicator Test\");\n\n page.root.label = \"New label\";\n page.root.progress = 20;\n await page.waitForChanges();\n\n expect(page.rootInstance.label).toBe(\"New label\");\n expect(page.rootInstance.progress).toBe(20);\n });\n\n it(\"should test updating progress - linear\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator progress=\"10\" min=\"10\" max=\"50\" type='linear'></ic-loading-indicator>`,\n });\n expect(page.rootInstance.progress).toBe(10);\n page.root.progress = 20;\n await page.waitForChanges();\n\n expect(page.rootInstance.progress).toBe(20);\n });\n\n it(\"should test setting circularDiameter\", async () => {\n page = await newSpecPage({\n components: [LoadingIndicator, Typography],\n html: `<ic-loading-indicator label=\"IC Loading Indicator Test\"></ic-loading-indicator>`,\n });\n\n page.root.progress = \"20\";\n await page.waitForChanges();\n page.rootInstance.circularDiameter = \"100\";\n await page.waitForChanges();\n page.rootInstance.setCircleXY();\n await page.waitForChanges();\n\n const circle = page.root.shadowRoot.querySelector(\"svg circle\");\n const x = circle.getAttribute(\"cx\");\n expect(x).toBe(\"50\");\n });\n});\n"]}