@ukic/canary-web-components 2.0.0-canary.3 → 2.0.0-canary.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1346) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/{OpenInNew-d5d30e77.js → OpenInNew-7bac24f7.js} +1 -1
  3. package/dist/cjs/OpenInNew-7bac24f7.js.map +1 -0
  4. package/dist/cjs/{check-icon-7225d79b.js → check-icon-dd563898.js} +1 -1
  5. package/dist/cjs/check-icon-dd563898.js.map +1 -0
  6. package/dist/cjs/{chevron-icon-3bf07531.js → chevron-icon-3dedd973.js} +1 -1
  7. package/dist/cjs/chevron-icon-3dedd973.js.map +1 -0
  8. package/dist/cjs/{close-icon-7f6ef8e4.js → close-icon-d62b369d.js} +1 -1
  9. package/dist/cjs/close-icon-d62b369d.js.map +1 -0
  10. package/dist/cjs/core.cjs.js +3 -3
  11. package/dist/cjs/core.cjs.js.map +1 -1
  12. package/dist/cjs/helpers-bbe55215.js +554 -0
  13. package/dist/cjs/helpers-bbe55215.js.map +1 -0
  14. package/dist/cjs/ic-accordion-group.cjs.entry.js +94 -0
  15. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -0
  16. package/dist/cjs/ic-accordion.cjs.entry.js +119 -0
  17. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -0
  18. package/dist/cjs/ic-alert.cjs.entry.js +59 -59
  19. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-back-to-top.cjs.entry.js +121 -121
  21. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-badge.cjs.entry.js +160 -0
  23. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +172 -164
  25. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-breadcrumb.cjs.entry.js +56 -54
  27. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-button_3.cjs.entry.js +634 -715
  29. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-card.cjs.entry.js +107 -107
  31. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-checkbox-group.cjs.entry.js +61 -54
  33. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-checkbox.cjs.entry.js +95 -98
  35. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-chip.cjs.entry.js +68 -61
  37. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-classification-banner.cjs.entry.js +23 -23
  39. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-data-entity.cjs.entry.js +18 -17
  41. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-data-row.cjs.entry.js +75 -74
  43. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-data-table.cjs.entry.js +240 -240
  45. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-dialog.cjs.entry.js +347 -267
  47. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-divider.cjs.entry.js +16 -16
  49. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-empty-state.cjs.entry.js +24 -23
  51. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-footer-link-group.cjs.entry.js +55 -55
  53. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-footer-link.cjs.entry.js +51 -51
  55. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-footer.cjs.entry.js +78 -78
  57. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-hero.cjs.entry.js +62 -59
  59. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +152 -151
  61. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +677 -657
  63. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-input-label_2.cjs.entry.js +63 -62
  65. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-link.cjs.entry.js +56 -59
  67. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-menu-group.cjs.entry.js +12 -10
  69. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-menu-item.cjs.entry.js +102 -106
  71. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-navigation-button.cjs.entry.js +79 -76
  73. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-group.cjs.entry.js +285 -261
  75. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-navigation-item.cjs.entry.js +155 -134
  77. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-navigation-menu.cjs.entry.js +106 -103
  79. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-page-header.cjs.entry.js +96 -89
  81. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-pagination-bar.cjs.entry.js +266 -251
  83. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-pagination_4.cjs.entry.js +1077 -1074
  85. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-popover-menu.cjs.entry.js +232 -261
  87. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-radio-group.cjs.entry.js +160 -113
  89. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-radio-option.cjs.entry.js +128 -122
  91. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-search-bar.cjs.entry.js +475 -470
  93. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-section-container.cjs.entry.js +15 -15
  95. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-side-navigation.cjs.entry.js +428 -406
  97. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-skeleton.cjs.entry.js +43 -42
  99. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-status-tag.cjs.entry.js +31 -23
  101. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-step.cjs.entry.js +122 -120
  103. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-stepper.cjs.entry.js +200 -197
  105. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-switch.cjs.entry.js +78 -71
  107. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab-context.cjs.entry.js +252 -252
  109. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tab-group.cjs.entry.js +24 -25
  111. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-tab-panel.cjs.entry.js +31 -30
  113. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-tab.cjs.entry.js +86 -86
  115. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-theme.cjs.entry.js +51 -51
  117. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-toast-region.cjs.entry.js +47 -34
  119. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-toast.cjs.entry.js +146 -145
  121. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-top-navigation.cjs.entry.js +198 -195
  123. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-typography.cjs.entry.js +119 -111
  125. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  126. package/dist/{esm/index-5e4f5b3b.js → cjs/index-4cf27b16.js} +642 -360
  127. package/dist/cjs/index-4cf27b16.js.map +1 -0
  128. package/dist/cjs/loader.cjs.js +2 -2
  129. package/dist/cjs/{popper-31badbf8.js → popper-16968c2e.js} +1 -1
  130. package/dist/cjs/popper-16968c2e.js.map +1 -0
  131. package/dist/cjs/types-17dba796.js +16 -0
  132. package/dist/cjs/types-17dba796.js.map +1 -0
  133. package/dist/collection/collection-manifest.json +72 -63
  134. package/dist/collection/components/ic-data-table/ic-data-table.js +523 -523
  135. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  136. package/dist/collection/components/ic-data-table/story-data.js +511 -511
  137. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  138. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +6 -5
  139. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
  140. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +412 -412
  141. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  142. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +532 -532
  143. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  144. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +6 -5
  145. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -1
  146. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +378 -378
  147. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  148. package/dist/collection/testspec.setup.js +35 -34
  149. package/dist/collection/testspec.setup.js.map +1 -1
  150. package/dist/collection/utils/helpers.js +12 -445
  151. package/dist/collection/utils/helpers.js.map +1 -1
  152. package/dist/collection/utils/testa11y.helpers.js +2 -2
  153. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  154. package/dist/components/helpers.js +307 -370
  155. package/dist/components/helpers.js.map +1 -1
  156. package/dist/components/ic-accordion-group.js +140 -0
  157. package/dist/components/ic-accordion-group.js.map +1 -0
  158. package/dist/components/ic-accordion.js +148 -0
  159. package/dist/components/ic-accordion.js.map +1 -0
  160. package/dist/components/ic-alert2.js +98 -98
  161. package/dist/components/ic-alert2.js.map +1 -1
  162. package/dist/components/ic-back-to-top.js +145 -145
  163. package/dist/components/ic-back-to-top.js.map +1 -1
  164. package/dist/components/ic-badge.js +192 -0
  165. package/dist/components/ic-badge.js.map +1 -0
  166. package/dist/components/ic-breadcrumb-group.js +200 -191
  167. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  168. package/dist/components/ic-breadcrumb2.js +79 -76
  169. package/dist/components/ic-breadcrumb2.js.map +1 -1
  170. package/dist/components/ic-button2.js +336 -288
  171. package/dist/components/ic-button2.js.map +1 -1
  172. package/dist/components/ic-card.js +156 -156
  173. package/dist/components/ic-card.js.map +1 -1
  174. package/dist/components/ic-checkbox-group.js +99 -92
  175. package/dist/components/ic-checkbox-group.js.map +1 -1
  176. package/dist/components/ic-checkbox.js +132 -129
  177. package/dist/components/ic-checkbox.js.map +1 -1
  178. package/dist/components/ic-chip.js +100 -91
  179. package/dist/components/ic-chip.js.map +1 -1
  180. package/dist/components/ic-classification-banner.js +47 -47
  181. package/dist/components/ic-classification-banner.js.map +1 -1
  182. package/dist/components/ic-data-entity.js +40 -38
  183. package/dist/components/ic-data-entity.js.map +1 -1
  184. package/dist/components/ic-data-row.js +99 -97
  185. package/dist/components/ic-data-row.js.map +1 -1
  186. package/dist/components/ic-data-table.d.ts +2 -2
  187. package/dist/components/ic-data-table.js +350 -350
  188. package/dist/components/ic-data-table.js.map +1 -1
  189. package/dist/components/ic-dialog.js +407 -323
  190. package/dist/components/ic-dialog.js.map +1 -1
  191. package/dist/components/ic-divider2.js +29 -29
  192. package/dist/components/ic-divider2.js.map +1 -1
  193. package/dist/components/ic-empty-state.js +48 -47
  194. package/dist/components/ic-empty-state.js.map +1 -1
  195. package/dist/components/ic-footer-link-group.js +83 -83
  196. package/dist/components/ic-footer-link-group.js.map +1 -1
  197. package/dist/components/ic-footer-link.js +72 -72
  198. package/dist/components/ic-footer-link.js.map +1 -1
  199. package/dist/components/ic-footer.js +109 -109
  200. package/dist/components/ic-footer.js.map +1 -1
  201. package/dist/components/ic-hero.js +99 -95
  202. package/dist/components/ic-hero.js.map +1 -1
  203. package/dist/components/ic-horizontal-scroll2.js +191 -189
  204. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  205. package/dist/components/ic-input-component-container2.js +63 -59
  206. package/dist/components/ic-input-component-container2.js.map +1 -1
  207. package/dist/components/ic-input-container2.js +28 -28
  208. package/dist/components/ic-input-container2.js.map +1 -1
  209. package/dist/components/ic-input-label2.js +63 -61
  210. package/dist/components/ic-input-label2.js.map +1 -1
  211. package/dist/components/ic-input-validation2.js +51 -51
  212. package/dist/components/ic-input-validation2.js.map +1 -1
  213. package/dist/components/ic-link2.js +76 -79
  214. package/dist/components/ic-link2.js.map +1 -1
  215. package/dist/components/ic-loading-indicator2.js +212 -210
  216. package/dist/components/ic-loading-indicator2.js.map +1 -1
  217. package/dist/components/ic-menu-group.js +31 -30
  218. package/dist/components/ic-menu-group.js.map +1 -1
  219. package/dist/components/ic-menu-item2.js +145 -149
  220. package/dist/components/ic-menu-item2.js.map +1 -1
  221. package/dist/components/ic-menu2.js +686 -664
  222. package/dist/components/ic-menu2.js.map +1 -1
  223. package/dist/components/ic-navigation-button.js +122 -119
  224. package/dist/components/ic-navigation-button.js.map +1 -1
  225. package/dist/components/ic-navigation-group.js +312 -288
  226. package/dist/components/ic-navigation-group.js.map +1 -1
  227. package/dist/components/ic-navigation-item.js +196 -175
  228. package/dist/components/ic-navigation-item.js.map +1 -1
  229. package/dist/components/ic-navigation-menu2.js +141 -138
  230. package/dist/components/ic-navigation-menu2.js.map +1 -1
  231. package/dist/components/ic-page-header.js +151 -143
  232. package/dist/components/ic-page-header.js.map +1 -1
  233. package/dist/components/ic-pagination-bar.d.ts +2 -2
  234. package/dist/components/ic-pagination-bar2.js +364 -348
  235. package/dist/components/ic-pagination-bar2.js.map +1 -1
  236. package/dist/components/ic-pagination-item2.js +67 -67
  237. package/dist/components/ic-pagination-item2.js.map +1 -1
  238. package/dist/components/ic-pagination2.js +253 -252
  239. package/dist/components/ic-pagination2.js.map +1 -1
  240. package/dist/components/ic-popover-menu.js +282 -311
  241. package/dist/components/ic-popover-menu.js.map +1 -1
  242. package/dist/components/ic-radio-group.js +205 -153
  243. package/dist/components/ic-radio-group.js.map +1 -1
  244. package/dist/components/ic-radio-option.js +164 -152
  245. package/dist/components/ic-radio-option.js.map +1 -1
  246. package/dist/components/ic-search-bar.js +582 -576
  247. package/dist/components/ic-search-bar.js.map +1 -1
  248. package/dist/components/ic-section-container2.js +31 -31
  249. package/dist/components/ic-section-container2.js.map +1 -1
  250. package/dist/components/ic-select2.js +753 -734
  251. package/dist/components/ic-select2.js.map +1 -1
  252. package/dist/components/ic-side-navigation.js +482 -459
  253. package/dist/components/ic-side-navigation.js.map +1 -1
  254. package/dist/components/ic-skeleton.js +64 -62
  255. package/dist/components/ic-skeleton.js.map +1 -1
  256. package/dist/components/ic-status-tag.js +55 -45
  257. package/dist/components/ic-status-tag.js.map +1 -1
  258. package/dist/components/ic-step.js +158 -157
  259. package/dist/components/ic-step.js.map +1 -1
  260. package/dist/components/ic-stepper.js +224 -221
  261. package/dist/components/ic-stepper.js.map +1 -1
  262. package/dist/components/ic-switch.js +116 -106
  263. package/dist/components/ic-switch.js.map +1 -1
  264. package/dist/components/ic-tab-context.js +271 -271
  265. package/dist/components/ic-tab-context.js.map +1 -1
  266. package/dist/components/ic-tab-group.js +65 -66
  267. package/dist/components/ic-tab-group.js.map +1 -1
  268. package/dist/components/ic-tab-panel.js +49 -48
  269. package/dist/components/ic-tab-panel.js.map +1 -1
  270. package/dist/components/ic-tab.js +113 -113
  271. package/dist/components/ic-tab.js.map +1 -1
  272. package/dist/components/ic-text-field2.js +293 -301
  273. package/dist/components/ic-text-field2.js.map +1 -1
  274. package/dist/components/ic-theme.js +66 -66
  275. package/dist/components/ic-theme.js.map +1 -1
  276. package/dist/components/ic-toast-region.js +63 -47
  277. package/dist/components/ic-toast-region.js.map +1 -1
  278. package/dist/components/ic-toast.js +188 -187
  279. package/dist/components/ic-toast.js.map +1 -1
  280. package/dist/components/ic-tooltip2.js +212 -336
  281. package/dist/components/ic-tooltip2.js.map +1 -1
  282. package/dist/components/ic-top-navigation.js +264 -261
  283. package/dist/components/ic-top-navigation.js.map +1 -1
  284. package/dist/components/ic-typography2.js +143 -135
  285. package/dist/components/ic-typography2.js.map +1 -1
  286. package/dist/components/types.js +6 -6
  287. package/dist/components/types.js.map +1 -1
  288. package/dist/core/core.esm.js +1 -1
  289. package/dist/core/core.esm.js.map +1 -1
  290. package/dist/core/p-0083465b.entry.js +2 -0
  291. package/dist/core/p-0083465b.entry.js.map +1 -0
  292. package/dist/core/{p-ba3f9d1b.entry.js → p-03487f12.entry.js} +2 -2
  293. package/dist/core/p-03487f12.entry.js.map +1 -0
  294. package/dist/core/p-03f8fa1a.entry.js +2 -0
  295. package/dist/core/p-03f8fa1a.entry.js.map +1 -0
  296. package/dist/core/{p-c2e091d7.js → p-0aa9ce8b.js} +1 -1
  297. package/dist/core/{p-90608dc5.entry.js → p-0c18b6a0.entry.js} +2 -2
  298. package/dist/core/p-0c18b6a0.entry.js.map +1 -0
  299. package/dist/core/{p-3b185c32.js → p-170ddfc2.js} +1 -1
  300. package/dist/core/p-1bc034aa.entry.js +2 -0
  301. package/dist/core/p-1bc034aa.entry.js.map +1 -0
  302. package/dist/core/{p-fd8780e2.entry.js → p-20a76d1d.entry.js} +2 -2
  303. package/dist/core/p-20a76d1d.entry.js.map +1 -0
  304. package/dist/core/{p-4259972b.entry.js → p-24945ee5.entry.js} +2 -2
  305. package/dist/core/p-24945ee5.entry.js.map +1 -0
  306. package/dist/core/p-2dc35696.entry.js +2 -0
  307. package/dist/core/p-2dc35696.entry.js.map +1 -0
  308. package/dist/core/p-2e9e8e7c.entry.js +2 -0
  309. package/dist/core/p-2e9e8e7c.entry.js.map +1 -0
  310. package/dist/core/{p-6622567a.entry.js → p-356b8a4c.entry.js} +2 -2
  311. package/dist/core/p-356b8a4c.entry.js.map +1 -0
  312. package/dist/core/{p-e565964f.entry.js → p-39e20b87.entry.js} +2 -2
  313. package/dist/core/p-39e20b87.entry.js.map +1 -0
  314. package/dist/core/{p-cda2ecbb.entry.js → p-3d618bc2.entry.js} +2 -2
  315. package/dist/core/p-3d618bc2.entry.js.map +1 -0
  316. package/dist/core/{p-2d1ba7d5.entry.js → p-3ee25a6d.entry.js} +2 -2
  317. package/dist/core/p-3ee25a6d.entry.js.map +1 -0
  318. package/dist/core/p-41aa0ed3.entry.js +2 -0
  319. package/dist/core/p-41aa0ed3.entry.js.map +1 -0
  320. package/dist/core/p-4314aa0e.entry.js +2 -0
  321. package/dist/core/p-4314aa0e.entry.js.map +1 -0
  322. package/dist/core/{p-8d8ba4d7.entry.js → p-4409f656.entry.js} +2 -2
  323. package/dist/core/p-4409f656.entry.js.map +1 -0
  324. package/dist/core/p-47abbd06.entry.js +2 -0
  325. package/dist/core/p-47abbd06.entry.js.map +1 -0
  326. package/dist/core/{p-9c792bb9.entry.js → p-485823b6.entry.js} +2 -2
  327. package/dist/core/p-485823b6.entry.js.map +1 -0
  328. package/dist/core/p-4ee59448.entry.js +2 -0
  329. package/dist/core/p-4ee59448.entry.js.map +1 -0
  330. package/dist/core/p-5157cfab.entry.js +2 -0
  331. package/dist/core/p-5157cfab.entry.js.map +1 -0
  332. package/dist/core/p-53083575.entry.js +2 -0
  333. package/dist/core/p-53083575.entry.js.map +1 -0
  334. package/dist/core/p-55d5541f.entry.js +2 -0
  335. package/dist/core/p-55d5541f.entry.js.map +1 -0
  336. package/dist/core/p-5bb32ee6.entry.js +2 -0
  337. package/dist/core/p-5bb32ee6.entry.js.map +1 -0
  338. package/dist/core/{p-932a1a61.entry.js → p-67eea079.entry.js} +2 -2
  339. package/dist/core/p-67eea079.entry.js.map +1 -0
  340. package/dist/core/p-6bd0e984.entry.js +2 -0
  341. package/dist/core/p-6bd0e984.entry.js.map +1 -0
  342. package/dist/core/p-75bf6162.entry.js +2 -0
  343. package/dist/core/p-75bf6162.entry.js.map +1 -0
  344. package/dist/core/p-76959313.entry.js +2 -0
  345. package/dist/core/p-76959313.entry.js.map +1 -0
  346. package/dist/core/p-7de813a3.entry.js +2 -0
  347. package/dist/core/p-7de813a3.entry.js.map +1 -0
  348. package/dist/core/p-7eae5f70.entry.js +2 -0
  349. package/dist/core/p-7eae5f70.entry.js.map +1 -0
  350. package/dist/core/p-8455d1bb.js +3 -0
  351. package/dist/core/p-8455d1bb.js.map +1 -0
  352. package/dist/core/{p-dcfc7f79.entry.js → p-85508347.entry.js} +2 -2
  353. package/dist/core/p-85508347.entry.js.map +1 -0
  354. package/dist/core/p-8da152c4.entry.js +2 -0
  355. package/dist/core/p-8da152c4.entry.js.map +1 -0
  356. package/dist/core/p-8fd4ca0a.js +2 -0
  357. package/dist/core/p-8fd4ca0a.js.map +1 -0
  358. package/dist/core/{p-ed35b2d0.entry.js → p-939baa93.entry.js} +2 -2
  359. package/dist/core/p-939baa93.entry.js.map +1 -0
  360. package/dist/core/p-9777ebb1.entry.js +2 -0
  361. package/dist/core/p-9777ebb1.entry.js.map +1 -0
  362. package/dist/core/p-9c27b73e.entry.js +2 -0
  363. package/dist/core/p-9c27b73e.entry.js.map +1 -0
  364. package/dist/core/p-9fa6844f.entry.js +2 -0
  365. package/dist/core/p-9fa6844f.entry.js.map +1 -0
  366. package/dist/core/{p-151cef1f.entry.js → p-9fdd7d73.entry.js} +2 -2
  367. package/dist/core/p-9fdd7d73.entry.js.map +1 -0
  368. package/dist/core/p-a3ab9f4c.entry.js +2 -0
  369. package/dist/core/p-a3ab9f4c.entry.js.map +1 -0
  370. package/dist/core/p-a51e5c7c.entry.js +2 -0
  371. package/dist/core/p-a51e5c7c.entry.js.map +1 -0
  372. package/dist/core/p-a7481232.entry.js +2 -0
  373. package/dist/core/p-a7481232.entry.js.map +1 -0
  374. package/dist/core/{p-68a5aaff.js → p-aae38bee.js} +1 -1
  375. package/dist/core/p-aae38bee.js.map +1 -0
  376. package/dist/core/p-ab9f8a3f.entry.js +2 -0
  377. package/dist/core/p-ab9f8a3f.entry.js.map +1 -0
  378. package/dist/core/p-b2aa3d7c.entry.js +2 -0
  379. package/dist/core/p-b2aa3d7c.entry.js.map +1 -0
  380. package/dist/core/p-b5cf6d65.entry.js +2 -0
  381. package/dist/core/p-b5cf6d65.entry.js.map +1 -0
  382. package/dist/core/p-b97dc365.entry.js +2 -0
  383. package/dist/core/p-b97dc365.entry.js.map +1 -0
  384. package/dist/core/{p-517968cb.entry.js → p-baf81f30.entry.js} +2 -2
  385. package/dist/core/p-baf81f30.entry.js.map +1 -0
  386. package/dist/core/p-bc187bb5.entry.js +2 -0
  387. package/dist/core/p-bc187bb5.entry.js.map +1 -0
  388. package/dist/core/p-bd9cecce.entry.js +2 -0
  389. package/dist/core/p-bd9cecce.entry.js.map +1 -0
  390. package/dist/core/{p-7799016a.entry.js → p-be980606.entry.js} +2 -2
  391. package/dist/core/p-be980606.entry.js.map +1 -0
  392. package/dist/core/p-c1256810.entry.js +2 -0
  393. package/dist/core/p-c1256810.entry.js.map +1 -0
  394. package/dist/core/{p-5536d26c.entry.js → p-c2b5e7b1.entry.js} +2 -2
  395. package/dist/core/p-c2b5e7b1.entry.js.map +1 -0
  396. package/dist/core/{p-3c545222.entry.js → p-d76cfa5a.entry.js} +2 -2
  397. package/dist/core/p-d76cfa5a.entry.js.map +1 -0
  398. package/dist/core/p-d77960f6.entry.js +2 -0
  399. package/dist/core/p-d77960f6.entry.js.map +1 -0
  400. package/dist/core/{p-f074ef5b.js → p-e081702e.js} +1 -1
  401. package/dist/core/{p-b4d2d905.entry.js → p-e189f1d0.entry.js} +2 -2
  402. package/dist/core/p-e189f1d0.entry.js.map +1 -0
  403. package/dist/core/p-e9e145aa.entry.js +2 -0
  404. package/dist/core/p-e9e145aa.entry.js.map +1 -0
  405. package/dist/core/{p-426ec638.js → p-ea1ea1b9.js} +1 -1
  406. package/dist/core/p-f0e9a83f.entry.js +2 -0
  407. package/dist/core/p-f0e9a83f.entry.js.map +1 -0
  408. package/dist/core/p-f23d2102.entry.js +2 -0
  409. package/dist/core/p-f23d2102.entry.js.map +1 -0
  410. package/dist/core/p-f87e8411.entry.js +2 -0
  411. package/dist/core/p-f87e8411.entry.js.map +1 -0
  412. package/dist/core/{p-613aa265.js → p-fd186591.js} +1 -1
  413. package/dist/core/p-fd186591.js.map +1 -0
  414. package/dist/esm/{OpenInNew-cdeed5ce.js → OpenInNew-52210a9d.js} +1 -1
  415. package/dist/esm/OpenInNew-52210a9d.js.map +1 -0
  416. package/dist/esm/{check-icon-4a9f8371.js → check-icon-f2346e76.js} +1 -1
  417. package/dist/esm/check-icon-f2346e76.js.map +1 -0
  418. package/dist/esm/{chevron-icon-589e3b46.js → chevron-icon-875b7af2.js} +1 -1
  419. package/dist/esm/chevron-icon-875b7af2.js.map +1 -0
  420. package/dist/esm/{close-icon-539ec8d1.js → close-icon-c9e09475.js} +1 -1
  421. package/dist/esm/close-icon-c9e09475.js.map +1 -0
  422. package/dist/esm/core.js +4 -4
  423. package/dist/esm/core.js.map +1 -1
  424. package/dist/esm/helpers-268c2b7f.js +506 -0
  425. package/dist/esm/helpers-268c2b7f.js.map +1 -0
  426. package/dist/esm/ic-accordion-group.entry.js +90 -0
  427. package/dist/esm/ic-accordion-group.entry.js.map +1 -0
  428. package/dist/esm/ic-accordion.entry.js +115 -0
  429. package/dist/esm/ic-accordion.entry.js.map +1 -0
  430. package/dist/esm/ic-alert.entry.js +59 -59
  431. package/dist/esm/ic-alert.entry.js.map +1 -1
  432. package/dist/esm/ic-back-to-top.entry.js +121 -121
  433. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  434. package/dist/esm/ic-badge.entry.js +156 -0
  435. package/dist/esm/ic-badge.entry.js.map +1 -0
  436. package/dist/esm/ic-breadcrumb-group.entry.js +172 -164
  437. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  438. package/dist/esm/ic-breadcrumb.entry.js +56 -54
  439. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  440. package/dist/esm/ic-button_3.entry.js +634 -715
  441. package/dist/esm/ic-button_3.entry.js.map +1 -1
  442. package/dist/esm/ic-card.entry.js +107 -107
  443. package/dist/esm/ic-card.entry.js.map +1 -1
  444. package/dist/esm/ic-checkbox-group.entry.js +61 -54
  445. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  446. package/dist/esm/ic-checkbox.entry.js +95 -98
  447. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  448. package/dist/esm/ic-chip.entry.js +68 -61
  449. package/dist/esm/ic-chip.entry.js.map +1 -1
  450. package/dist/esm/ic-classification-banner.entry.js +23 -23
  451. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  452. package/dist/esm/ic-data-entity.entry.js +18 -17
  453. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  454. package/dist/esm/ic-data-row.entry.js +75 -74
  455. package/dist/esm/ic-data-row.entry.js.map +1 -1
  456. package/dist/esm/ic-data-table.entry.js +240 -240
  457. package/dist/esm/ic-data-table.entry.js.map +1 -1
  458. package/dist/esm/ic-dialog.entry.js +347 -267
  459. package/dist/esm/ic-dialog.entry.js.map +1 -1
  460. package/dist/esm/ic-divider.entry.js +16 -16
  461. package/dist/esm/ic-divider.entry.js.map +1 -1
  462. package/dist/esm/ic-empty-state.entry.js +24 -23
  463. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  464. package/dist/esm/ic-footer-link-group.entry.js +55 -55
  465. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  466. package/dist/esm/ic-footer-link.entry.js +51 -51
  467. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  468. package/dist/esm/ic-footer.entry.js +78 -78
  469. package/dist/esm/ic-footer.entry.js.map +1 -1
  470. package/dist/esm/ic-hero.entry.js +62 -59
  471. package/dist/esm/ic-hero.entry.js.map +1 -1
  472. package/dist/esm/ic-horizontal-scroll.entry.js +152 -151
  473. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  474. package/dist/esm/ic-input-component-container_3.entry.js +677 -657
  475. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  476. package/dist/esm/ic-input-label_2.entry.js +63 -62
  477. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  478. package/dist/esm/ic-link.entry.js +56 -59
  479. package/dist/esm/ic-link.entry.js.map +1 -1
  480. package/dist/esm/ic-menu-group.entry.js +12 -10
  481. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  482. package/dist/esm/ic-menu-item.entry.js +102 -106
  483. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  484. package/dist/esm/ic-navigation-button.entry.js +79 -76
  485. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  486. package/dist/esm/ic-navigation-group.entry.js +285 -261
  487. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  488. package/dist/esm/ic-navigation-item.entry.js +155 -134
  489. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-menu.entry.js +106 -103
  491. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  492. package/dist/esm/ic-page-header.entry.js +96 -89
  493. package/dist/esm/ic-page-header.entry.js.map +1 -1
  494. package/dist/esm/ic-pagination-bar.entry.js +266 -251
  495. package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
  496. package/dist/esm/ic-pagination_4.entry.js +1077 -1074
  497. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  498. package/dist/esm/ic-popover-menu.entry.js +232 -261
  499. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  500. package/dist/esm/ic-radio-group.entry.js +160 -113
  501. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  502. package/dist/esm/ic-radio-option.entry.js +128 -122
  503. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  504. package/dist/esm/ic-search-bar.entry.js +475 -470
  505. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  506. package/dist/esm/ic-section-container.entry.js +15 -15
  507. package/dist/esm/ic-section-container.entry.js.map +1 -1
  508. package/dist/esm/ic-side-navigation.entry.js +428 -406
  509. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  510. package/dist/esm/ic-skeleton.entry.js +43 -42
  511. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  512. package/dist/esm/ic-status-tag.entry.js +31 -23
  513. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  514. package/dist/esm/ic-step.entry.js +122 -120
  515. package/dist/esm/ic-step.entry.js.map +1 -1
  516. package/dist/esm/ic-stepper.entry.js +200 -197
  517. package/dist/esm/ic-stepper.entry.js.map +1 -1
  518. package/dist/esm/ic-switch.entry.js +78 -71
  519. package/dist/esm/ic-switch.entry.js.map +1 -1
  520. package/dist/esm/ic-tab-context.entry.js +252 -252
  521. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  522. package/dist/esm/ic-tab-group.entry.js +24 -25
  523. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  524. package/dist/esm/ic-tab-panel.entry.js +31 -30
  525. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  526. package/dist/esm/ic-tab.entry.js +86 -86
  527. package/dist/esm/ic-tab.entry.js.map +1 -1
  528. package/dist/esm/ic-theme.entry.js +51 -51
  529. package/dist/esm/ic-theme.entry.js.map +1 -1
  530. package/dist/esm/ic-toast-region.entry.js +47 -34
  531. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  532. package/dist/esm/ic-toast.entry.js +146 -145
  533. package/dist/esm/ic-toast.entry.js.map +1 -1
  534. package/dist/esm/ic-top-navigation.entry.js +198 -195
  535. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  536. package/dist/esm/ic-typography.entry.js +119 -111
  537. package/dist/esm/ic-typography.entry.js.map +1 -1
  538. package/dist/{cjs/index-990b968b.js → esm/index-93509377.js} +611 -390
  539. package/dist/esm/index-93509377.js.map +1 -0
  540. package/dist/esm/loader.js +3 -3
  541. package/dist/esm/{popper-0fbeff6d.js → popper-b8cc3f16.js} +1 -1
  542. package/dist/esm/popper-b8cc3f16.js.map +1 -0
  543. package/dist/esm/types-f605c21c.js +16 -0
  544. package/dist/esm/types-f605c21c.js.map +1 -0
  545. package/dist/node.d.ts +12 -0
  546. package/dist/types/components/ic-data-table/ic-data-table.d.ts +92 -92
  547. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +10 -10
  548. package/dist/types/components/ic-data-table/story-data.d.ts +69 -69
  549. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
  550. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +99 -99
  551. package/dist/types/components.d.ts +128 -4642
  552. package/dist/types/interface.d.ts +0 -13
  553. package/dist/types/stencil-public-runtime.d.ts +29 -0
  554. package/dist/types/testspec.setup.d.ts +7 -7
  555. package/dist/types/utils/helpers.d.ts +8 -120
  556. package/hydrate/index.d.ts +2 -2
  557. package/hydrate/index.js +16587 -14213
  558. package/package.json +10 -8
  559. package/dist/cjs/OpenInNew-d5d30e77.js.map +0 -1
  560. package/dist/cjs/check-icon-7225d79b.js.map +0 -1
  561. package/dist/cjs/chevron-icon-3bf07531.js.map +0 -1
  562. package/dist/cjs/close-icon-7f6ef8e4.js.map +0 -1
  563. package/dist/cjs/helpers-d166f875.js +0 -616
  564. package/dist/cjs/helpers-d166f875.js.map +0 -1
  565. package/dist/cjs/index-990b968b.js.map +0 -1
  566. package/dist/cjs/popper-31badbf8.js.map +0 -1
  567. package/dist/cjs/types-7d67439f.js +0 -16
  568. package/dist/cjs/types-7d67439f.js.map +0 -1
  569. package/dist/collection/components/ic-alert/ic-alert.css +0 -616
  570. package/dist/collection/components/ic-alert/ic-alert.js +0 -244
  571. package/dist/collection/components/ic-alert/ic-alert.js.map +0 -1
  572. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +0 -11
  573. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +0 -1
  574. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +0 -16
  575. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +0 -1
  576. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -182
  577. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
  578. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +0 -3
  579. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +0 -542
  580. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +0 -171
  581. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +0 -1
  582. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +0 -28
  583. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +0 -1
  584. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +0 -68
  585. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +0 -1
  586. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -123
  587. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
  588. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +0 -100
  589. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +0 -170
  590. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +0 -1
  591. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
  592. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
  593. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -118
  594. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
  595. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +0 -36
  596. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +0 -234
  597. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +0 -1
  598. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +0 -21
  599. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +0 -1
  600. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +0 -35
  601. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +0 -1
  602. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +0 -41
  603. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +0 -1
  604. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -181
  605. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
  606. package/dist/collection/components/ic-button/ic-button.css +0 -879
  607. package/dist/collection/components/ic-button/ic-button.js +0 -769
  608. package/dist/collection/components/ic-button/ic-button.js.map +0 -1
  609. package/dist/collection/components/ic-button/ic-button.types.js +0 -2
  610. package/dist/collection/components/ic-button/ic-button.types.js.map +0 -1
  611. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +0 -11
  612. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +0 -1
  613. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +0 -198
  614. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +0 -1
  615. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -271
  616. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
  617. package/dist/collection/components/ic-card/ic-card.css +0 -620
  618. package/dist/collection/components/ic-card/ic-card.js +0 -402
  619. package/dist/collection/components/ic-card/ic-card.js.map +0 -1
  620. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +0 -21
  621. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +0 -1
  622. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +0 -23
  623. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +0 -1
  624. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +0 -152
  625. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
  626. package/dist/collection/components/ic-checkbox/ic-checkbox.css +0 -675
  627. package/dist/collection/components/ic-checkbox/ic-checkbox.js +0 -390
  628. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +0 -1
  629. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +0 -482
  630. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +0 -298
  631. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +0 -1
  632. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +0 -2
  633. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +0 -1
  634. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +0 -16
  635. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +0 -1
  636. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +0 -201
  637. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +0 -1
  638. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -203
  639. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
  640. package/dist/collection/components/ic-chip/ic-chip.css +0 -597
  641. package/dist/collection/components/ic-chip/ic-chip.js +0 -253
  642. package/dist/collection/components/ic-chip/ic-chip.js.map +0 -1
  643. package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
  644. package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
  645. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +0 -11
  646. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +0 -1
  647. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -110
  648. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
  649. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +0 -504
  650. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +0 -142
  651. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +0 -1
  652. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +0 -2
  653. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +0 -1
  654. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +0 -11
  655. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +0 -1
  656. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -140
  657. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
  658. package/dist/collection/components/ic-data-entity/ic-data-entity.css +0 -474
  659. package/dist/collection/components/ic-data-entity/ic-data-entity.js +0 -70
  660. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
  661. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +0 -11
  662. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +0 -1
  663. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +0 -161
  664. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
  665. package/dist/collection/components/ic-data-row/ic-data-row.css +0 -525
  666. package/dist/collection/components/ic-data-row/ic-data-row.js +0 -157
  667. package/dist/collection/components/ic-data-row/ic-data-row.js.map +0 -1
  668. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +0 -18
  669. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +0 -1
  670. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
  671. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
  672. package/dist/collection/components/ic-dialog/ic-dialog.css +0 -592
  673. package/dist/collection/components/ic-dialog/ic-dialog.js +0 -649
  674. package/dist/collection/components/ic-dialog/ic-dialog.js.map +0 -1
  675. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +0 -28
  676. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +0 -1
  677. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +0 -207
  678. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +0 -1
  679. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -520
  680. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
  681. package/dist/collection/components/ic-divider/ic-divider.css +0 -11
  682. package/dist/collection/components/ic-divider/ic-divider.js +0 -44
  683. package/dist/collection/components/ic-divider/ic-divider.js.map +0 -1
  684. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -24
  685. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
  686. package/dist/collection/components/ic-empty-state/ic-empty-state.css +0 -49
  687. package/dist/collection/components/ic-empty-state/ic-empty-state.js +0 -160
  688. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +0 -1
  689. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +0 -2
  690. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +0 -1
  691. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +0 -38
  692. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +0 -1
  693. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +0 -86
  694. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +0 -1
  695. package/dist/collection/components/ic-footer/ic-footer.css +0 -543
  696. package/dist/collection/components/ic-footer/ic-footer.js +0 -257
  697. package/dist/collection/components/ic-footer/ic-footer.js.map +0 -1
  698. package/dist/collection/components/ic-footer/ic-footer.types.js +0 -2
  699. package/dist/collection/components/ic-footer/ic-footer.types.js.map +0 -1
  700. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +0 -21
  701. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +0 -1
  702. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +0 -50
  703. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +0 -1
  704. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -140
  705. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
  706. package/dist/collection/components/ic-footer-link/ic-footer-link.css +0 -612
  707. package/dist/collection/components/ic-footer-link/ic-footer-link.js +0 -201
  708. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +0 -1
  709. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +0 -21
  710. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +0 -1
  711. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -62
  712. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
  713. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +0 -522
  714. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +0 -114
  715. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +0 -1
  716. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +0 -21
  717. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +0 -1
  718. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -98
  719. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
  720. package/dist/collection/components/ic-hero/ic-hero.css +0 -726
  721. package/dist/collection/components/ic-hero/ic-hero.js +0 -277
  722. package/dist/collection/components/ic-hero/ic-hero.js.map +0 -1
  723. package/dist/collection/components/ic-hero/ic-hero.types.js +0 -2
  724. package/dist/collection/components/ic-hero/ic-hero.types.js.map +0 -1
  725. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +0 -11
  726. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +0 -1
  727. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -76
  728. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
  729. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +0 -3
  730. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +0 -3
  731. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +0 -535
  732. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +0 -234
  733. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +0 -1
  734. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +0 -34
  735. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +0 -1
  736. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -180
  737. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
  738. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +0 -166
  739. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +0 -209
  740. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +0 -1
  741. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -117
  742. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
  743. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -4
  744. package/dist/collection/components/ic-input-container/ic-input-container.js +0 -66
  745. package/dist/collection/components/ic-input-container/ic-input-container.js.map +0 -1
  746. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
  747. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
  748. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -35
  749. package/dist/collection/components/ic-input-label/ic-input-label.js +0 -194
  750. package/dist/collection/components/ic-input-label/ic-input-label.js.map +0 -1
  751. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -98
  752. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
  753. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -34
  754. package/dist/collection/components/ic-input-validation/ic-input-validation.js +0 -154
  755. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +0 -1
  756. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +0 -2
  757. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +0 -1
  758. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
  759. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
  760. package/dist/collection/components/ic-link/ic-link.css +0 -558
  761. package/dist/collection/components/ic-link/ic-link.js +0 -267
  762. package/dist/collection/components/ic-link/ic-link.js.map +0 -1
  763. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +0 -11
  764. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +0 -1
  765. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -203
  766. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
  767. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +0 -663
  768. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +0 -426
  769. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +0 -1
  770. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +0 -2
  771. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +0 -1
  772. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  773. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  774. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  775. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  776. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -141
  777. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
  778. package/dist/collection/components/ic-menu/ic-menu.css +0 -646
  779. package/dist/collection/components/ic-menu/ic-menu.js +0 -1209
  780. package/dist/collection/components/ic-menu/ic-menu.js.map +0 -1
  781. package/dist/collection/components/ic-menu/ic-menu.types.js +0 -2
  782. package/dist/collection/components/ic-menu/ic-menu.types.js.map +0 -1
  783. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -668
  784. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
  785. package/dist/collection/components/ic-menu-group/ic-menu-group.css +0 -465
  786. package/dist/collection/components/ic-menu-group/ic-menu-group.js +0 -45
  787. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +0 -1
  788. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
  789. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
  790. package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -628
  791. package/dist/collection/components/ic-menu-item/ic-menu-item.js +0 -396
  792. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +0 -1
  793. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +0 -2
  794. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +0 -1
  795. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -108
  796. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
  797. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +0 -457
  798. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +0 -273
  799. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +0 -1
  800. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +0 -2
  801. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +0 -1
  802. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -84
  803. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
  804. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -647
  805. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +0 -380
  806. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +0 -1
  807. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +0 -18
  808. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
  810. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
  811. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +0 -1028
  812. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +0 -446
  813. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +0 -1
  814. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +0 -18
  815. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -118
  817. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
  818. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +0 -92
  819. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +0 -202
  820. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +0 -1
  821. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +0 -29
  822. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +0 -1
  823. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
  824. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
  825. package/dist/collection/components/ic-page-header/ic-page-header.css +0 -582
  826. package/dist/collection/components/ic-page-header/ic-page-header.js +0 -273
  827. package/dist/collection/components/ic-page-header/ic-page-header.js.map +0 -1
  828. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +0 -13
  829. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +0 -1
  830. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +0 -177
  831. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +0 -1
  832. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -284
  833. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
  834. package/dist/collection/components/ic-pagination/ic-pagination.css +0 -486
  835. package/dist/collection/components/ic-pagination/ic-pagination.js +0 -502
  836. package/dist/collection/components/ic-pagination/ic-pagination.js.map +0 -1
  837. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +0 -11
  838. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +0 -1
  839. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +0 -128
  840. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +0 -1
  841. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -335
  842. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
  843. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +0 -581
  844. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +0 -231
  845. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +0 -1
  846. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +0 -2
  847. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +0 -1
  848. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -548
  849. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +0 -488
  850. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +0 -1
  851. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
  852. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
  853. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -30
  854. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
  855. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -395
  856. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
  857. package/dist/collection/components/ic-radio-group/ic-radio-group.css +0 -486
  858. package/dist/collection/components/ic-radio-group/ic-radio-group.js +0 -366
  859. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +0 -1
  860. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +0 -2
  861. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +0 -1
  862. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +0 -16
  863. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +0 -1
  864. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +0 -343
  865. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +0 -1
  866. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -303
  867. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
  868. package/dist/collection/components/ic-radio-option/ic-radio-option.css +0 -654
  869. package/dist/collection/components/ic-radio-option/ic-radio-option.js +0 -388
  870. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +0 -1
  871. package/dist/collection/components/ic-search-bar/ic-search-bar.css +0 -560
  872. package/dist/collection/components/ic-search-bar/ic-search-bar.js +0 -1386
  873. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +0 -1
  874. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +0 -2
  875. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +0 -1
  876. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +0 -11
  877. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +0 -1
  878. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +0 -1118
  879. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +0 -1
  880. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -584
  881. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
  882. package/dist/collection/components/ic-section-container/ic-section-container.css +0 -514
  883. package/dist/collection/components/ic-section-container/ic-section-container.js +0 -75
  884. package/dist/collection/components/ic-section-container/ic-section-container.js.map +0 -1
  885. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
  886. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
  887. package/dist/collection/components/ic-select/assets/Check.svg +0 -3
  888. package/dist/collection/components/ic-select/assets/Clear.svg +0 -3
  889. package/dist/collection/components/ic-select/assets/Expand.svg +0 -3
  890. package/dist/collection/components/ic-select/ic-select.css +0 -670
  891. package/dist/collection/components/ic-select/ic-select.js +0 -1348
  892. package/dist/collection/components/ic-select/ic-select.js.map +0 -1
  893. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +0 -28
  894. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +0 -1
  895. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +0 -1798
  896. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +0 -1
  897. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1344
  898. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
  899. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -635
  900. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +0 -638
  901. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +0 -1
  902. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +0 -2
  903. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +0 -1
  904. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +0 -14
  905. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +0 -1
  906. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +0 -411
  907. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +0 -1
  908. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +0 -432
  909. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +0 -1
  910. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -470
  911. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
  912. package/dist/collection/components/ic-skeleton/ic-skeleton.css +0 -503
  913. package/dist/collection/components/ic-skeleton/ic-skeleton.js +0 -113
  914. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +0 -1
  915. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +0 -2
  916. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +0 -1
  917. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +0 -11
  918. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +0 -1
  919. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
  920. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
  921. package/dist/collection/components/ic-status-tag/ic-status-tag.css +0 -504
  922. package/dist/collection/components/ic-status-tag/ic-status-tag.js +0 -140
  923. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +0 -1
  924. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +0 -2
  925. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +0 -1
  926. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +0 -11
  927. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +0 -1
  928. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -43
  929. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
  930. package/dist/collection/components/ic-step/ic-step.css +0 -278
  931. package/dist/collection/components/ic-step/ic-step.js +0 -398
  932. package/dist/collection/components/ic-step/ic-step.js.map +0 -1
  933. package/dist/collection/components/ic-step/ic-step.types.js +0 -2
  934. package/dist/collection/components/ic-step/ic-step.types.js.map +0 -1
  935. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
  936. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
  937. package/dist/collection/components/ic-stepper/ic-stepper.css +0 -28
  938. package/dist/collection/components/ic-stepper/ic-stepper.js +0 -319
  939. package/dist/collection/components/ic-stepper/ic-stepper.js.map +0 -1
  940. package/dist/collection/components/ic-stepper/ic-stepper.types.js +0 -2
  941. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +0 -1
  942. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +0 -36
  943. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +0 -1
  944. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +0 -74
  945. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +0 -1
  946. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +0 -49
  947. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +0 -1
  948. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -706
  949. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
  950. package/dist/collection/components/ic-switch/ic-switch.css +0 -656
  951. package/dist/collection/components/ic-switch/ic-switch.js +0 -331
  952. package/dist/collection/components/ic-switch/ic-switch.js.map +0 -1
  953. package/dist/collection/components/ic-switch/ic-switch.types.js +0 -2
  954. package/dist/collection/components/ic-switch/ic-switch.types.js.map +0 -1
  955. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +0 -11
  956. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +0 -1
  957. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -104
  958. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
  959. package/dist/collection/components/ic-tab/ic-tab.css +0 -521
  960. package/dist/collection/components/ic-tab/ic-tab.js +0 -366
  961. package/dist/collection/components/ic-tab/ic-tab.js.map +0 -1
  962. package/dist/collection/components/ic-tab/ic-tab.types.js +0 -2
  963. package/dist/collection/components/ic-tab/ic-tab.types.js.map +0 -1
  964. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +0 -32
  965. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +0 -1
  966. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -159
  967. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
  968. package/dist/collection/components/ic-tab-context/ic-tab-context.js +0 -456
  969. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +0 -1
  970. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +0 -19
  971. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +0 -1
  972. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +0 -317
  973. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +0 -1
  974. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
  975. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
  976. package/dist/collection/components/ic-tab-group/ic-tab-group.css +0 -25
  977. package/dist/collection/components/ic-tab-group/ic-tab-group.js +0 -125
  978. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +0 -1
  979. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -7
  980. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +0 -198
  981. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +0 -1
  982. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -65
  983. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
  984. package/dist/collection/components/ic-text-field/ic-text-field.css +0 -558
  985. package/dist/collection/components/ic-text-field/ic-text-field.js +0 -1120
  986. package/dist/collection/components/ic-text-field/ic-text-field.js.map +0 -1
  987. package/dist/collection/components/ic-text-field/ic-text-field.types.js +0 -2
  988. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +0 -1
  989. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +0 -33
  990. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +0 -1
  991. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +0 -98
  992. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +0 -1
  993. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -236
  994. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
  995. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -310
  996. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
  997. package/dist/collection/components/ic-theme/ic-theme.js +0 -107
  998. package/dist/collection/components/ic-theme/ic-theme.js.map +0 -1
  999. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
  1000. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
  1001. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -77
  1002. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
  1003. package/dist/collection/components/ic-toast/ic-toast.css +0 -602
  1004. package/dist/collection/components/ic-toast/ic-toast.js +0 -390
  1005. package/dist/collection/components/ic-toast/ic-toast.js.map +0 -1
  1006. package/dist/collection/components/ic-toast/ic-toast.types.js +0 -2
  1007. package/dist/collection/components/ic-toast/ic-toast.types.js.map +0 -1
  1008. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +0 -16
  1009. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +0 -1
  1010. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +0 -82
  1011. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +0 -1
  1012. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -278
  1013. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
  1014. package/dist/collection/components/ic-toast-region/ic-toast-region.js +0 -83
  1015. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +0 -1
  1016. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -62
  1017. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
  1018. package/dist/collection/components/ic-tooltip/ic-tooltip.css +0 -572
  1019. package/dist/collection/components/ic-tooltip/ic-tooltip.js +0 -472
  1020. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +0 -1
  1021. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +0 -2
  1022. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +0 -1
  1023. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +0 -15
  1024. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +0 -1
  1025. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +0 -117
  1026. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +0 -1
  1027. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -287
  1028. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
  1029. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +0 -737
  1030. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +0 -440
  1031. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +0 -1
  1032. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +0 -30
  1033. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +0 -1
  1034. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +0 -61
  1035. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +0 -1
  1036. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +0 -242
  1037. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +0 -1
  1038. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -299
  1039. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
  1040. package/dist/collection/components/ic-typography/ic-typography.css +0 -627
  1041. package/dist/collection/components/ic-typography/ic-typography.js +0 -272
  1042. package/dist/collection/components/ic-typography/ic-typography.js.map +0 -1
  1043. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +0 -11
  1044. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +0 -1
  1045. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +0 -39
  1046. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +0 -1
  1047. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -324
  1048. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
  1049. package/dist/collection/utils/constants.js +0 -81
  1050. package/dist/collection/utils/constants.js.map +0 -1
  1051. package/dist/collection/utils/types.js +0 -13
  1052. package/dist/collection/utils/types.js.map +0 -1
  1053. package/dist/components/ic-alert.d.ts +0 -11
  1054. package/dist/components/ic-back-to-top.d.ts +0 -11
  1055. package/dist/components/ic-breadcrumb-group.d.ts +0 -11
  1056. package/dist/components/ic-breadcrumb.d.ts +0 -11
  1057. package/dist/components/ic-button.d.ts +0 -11
  1058. package/dist/components/ic-card.d.ts +0 -11
  1059. package/dist/components/ic-checkbox-group.d.ts +0 -11
  1060. package/dist/components/ic-checkbox.d.ts +0 -11
  1061. package/dist/components/ic-chip.d.ts +0 -11
  1062. package/dist/components/ic-classification-banner.d.ts +0 -11
  1063. package/dist/components/ic-data-entity.d.ts +0 -11
  1064. package/dist/components/ic-data-row.d.ts +0 -11
  1065. package/dist/components/ic-dialog.d.ts +0 -11
  1066. package/dist/components/ic-divider.d.ts +0 -11
  1067. package/dist/components/ic-empty-state.d.ts +0 -11
  1068. package/dist/components/ic-footer-link-group.d.ts +0 -11
  1069. package/dist/components/ic-footer-link.d.ts +0 -11
  1070. package/dist/components/ic-footer.d.ts +0 -11
  1071. package/dist/components/ic-hero.d.ts +0 -11
  1072. package/dist/components/ic-horizontal-scroll.d.ts +0 -11
  1073. package/dist/components/ic-input-component-container.d.ts +0 -11
  1074. package/dist/components/ic-input-container.d.ts +0 -11
  1075. package/dist/components/ic-input-label.d.ts +0 -11
  1076. package/dist/components/ic-input-validation.d.ts +0 -11
  1077. package/dist/components/ic-link.d.ts +0 -11
  1078. package/dist/components/ic-loading-indicator.d.ts +0 -11
  1079. package/dist/components/ic-menu-group.d.ts +0 -11
  1080. package/dist/components/ic-menu-item.d.ts +0 -11
  1081. package/dist/components/ic-menu.d.ts +0 -11
  1082. package/dist/components/ic-navigation-button.d.ts +0 -11
  1083. package/dist/components/ic-navigation-group.d.ts +0 -11
  1084. package/dist/components/ic-navigation-item.d.ts +0 -11
  1085. package/dist/components/ic-navigation-menu.d.ts +0 -11
  1086. package/dist/components/ic-page-header.d.ts +0 -11
  1087. package/dist/components/ic-pagination-item.d.ts +0 -11
  1088. package/dist/components/ic-pagination.d.ts +0 -11
  1089. package/dist/components/ic-popover-menu.d.ts +0 -11
  1090. package/dist/components/ic-radio-group.d.ts +0 -11
  1091. package/dist/components/ic-radio-option.d.ts +0 -11
  1092. package/dist/components/ic-search-bar.d.ts +0 -11
  1093. package/dist/components/ic-section-container.d.ts +0 -11
  1094. package/dist/components/ic-select.d.ts +0 -11
  1095. package/dist/components/ic-side-navigation.d.ts +0 -11
  1096. package/dist/components/ic-skeleton.d.ts +0 -11
  1097. package/dist/components/ic-status-tag.d.ts +0 -11
  1098. package/dist/components/ic-step.d.ts +0 -11
  1099. package/dist/components/ic-stepper.d.ts +0 -11
  1100. package/dist/components/ic-switch.d.ts +0 -11
  1101. package/dist/components/ic-tab-context.d.ts +0 -11
  1102. package/dist/components/ic-tab-group.d.ts +0 -11
  1103. package/dist/components/ic-tab-panel.d.ts +0 -11
  1104. package/dist/components/ic-tab.d.ts +0 -11
  1105. package/dist/components/ic-text-field.d.ts +0 -11
  1106. package/dist/components/ic-theme.d.ts +0 -11
  1107. package/dist/components/ic-toast-region.d.ts +0 -11
  1108. package/dist/components/ic-toast.d.ts +0 -11
  1109. package/dist/components/ic-tooltip.d.ts +0 -11
  1110. package/dist/components/ic-top-navigation.d.ts +0 -11
  1111. package/dist/components/ic-typography.d.ts +0 -11
  1112. package/dist/core/p-00f7f8e8.entry.js +0 -2
  1113. package/dist/core/p-00f7f8e8.entry.js.map +0 -1
  1114. package/dist/core/p-03935e89.js +0 -3
  1115. package/dist/core/p-03935e89.js.map +0 -1
  1116. package/dist/core/p-061283d4.entry.js +0 -2
  1117. package/dist/core/p-061283d4.entry.js.map +0 -1
  1118. package/dist/core/p-0729b492.entry.js +0 -2
  1119. package/dist/core/p-0729b492.entry.js.map +0 -1
  1120. package/dist/core/p-0929b7c4.entry.js +0 -2
  1121. package/dist/core/p-0929b7c4.entry.js.map +0 -1
  1122. package/dist/core/p-0eba1ec4.entry.js +0 -2
  1123. package/dist/core/p-0eba1ec4.entry.js.map +0 -1
  1124. package/dist/core/p-12d99423.entry.js +0 -2
  1125. package/dist/core/p-12d99423.entry.js.map +0 -1
  1126. package/dist/core/p-151cef1f.entry.js.map +0 -1
  1127. package/dist/core/p-241baaac.entry.js +0 -2
  1128. package/dist/core/p-241baaac.entry.js.map +0 -1
  1129. package/dist/core/p-2d1ba7d5.entry.js.map +0 -1
  1130. package/dist/core/p-2f737489.entry.js +0 -2
  1131. package/dist/core/p-2f737489.entry.js.map +0 -1
  1132. package/dist/core/p-385ae861.entry.js +0 -2
  1133. package/dist/core/p-385ae861.entry.js.map +0 -1
  1134. package/dist/core/p-3c50e682.entry.js +0 -2
  1135. package/dist/core/p-3c50e682.entry.js.map +0 -1
  1136. package/dist/core/p-3c545222.entry.js.map +0 -1
  1137. package/dist/core/p-3e3afba6.entry.js +0 -2
  1138. package/dist/core/p-3e3afba6.entry.js.map +0 -1
  1139. package/dist/core/p-4259972b.entry.js.map +0 -1
  1140. package/dist/core/p-4ec6d80b.entry.js +0 -2
  1141. package/dist/core/p-4ec6d80b.entry.js.map +0 -1
  1142. package/dist/core/p-517968cb.entry.js.map +0 -1
  1143. package/dist/core/p-55127131.entry.js +0 -2
  1144. package/dist/core/p-55127131.entry.js.map +0 -1
  1145. package/dist/core/p-5536d26c.entry.js.map +0 -1
  1146. package/dist/core/p-5b39831f.entry.js +0 -2
  1147. package/dist/core/p-5b39831f.entry.js.map +0 -1
  1148. package/dist/core/p-613aa265.js.map +0 -1
  1149. package/dist/core/p-649442b9.entry.js +0 -2
  1150. package/dist/core/p-649442b9.entry.js.map +0 -1
  1151. package/dist/core/p-65a1ff78.entry.js +0 -2
  1152. package/dist/core/p-65a1ff78.entry.js.map +0 -1
  1153. package/dist/core/p-6622567a.entry.js.map +0 -1
  1154. package/dist/core/p-689a5bb3.entry.js +0 -2
  1155. package/dist/core/p-689a5bb3.entry.js.map +0 -1
  1156. package/dist/core/p-68a5aaff.js.map +0 -1
  1157. package/dist/core/p-6da62e08.entry.js +0 -2
  1158. package/dist/core/p-6da62e08.entry.js.map +0 -1
  1159. package/dist/core/p-72815d65.entry.js +0 -2
  1160. package/dist/core/p-72815d65.entry.js.map +0 -1
  1161. package/dist/core/p-7799016a.entry.js.map +0 -1
  1162. package/dist/core/p-786020b0.entry.js +0 -2
  1163. package/dist/core/p-786020b0.entry.js.map +0 -1
  1164. package/dist/core/p-892ddab1.entry.js +0 -2
  1165. package/dist/core/p-892ddab1.entry.js.map +0 -1
  1166. package/dist/core/p-8a4c5eb8.entry.js +0 -2
  1167. package/dist/core/p-8a4c5eb8.entry.js.map +0 -1
  1168. package/dist/core/p-8d8ba4d7.entry.js.map +0 -1
  1169. package/dist/core/p-90608dc5.entry.js.map +0 -1
  1170. package/dist/core/p-932a1a61.entry.js.map +0 -1
  1171. package/dist/core/p-94f255ff.entry.js +0 -2
  1172. package/dist/core/p-94f255ff.entry.js.map +0 -1
  1173. package/dist/core/p-9c792bb9.entry.js.map +0 -1
  1174. package/dist/core/p-a10968a4.entry.js +0 -2
  1175. package/dist/core/p-a10968a4.entry.js.map +0 -1
  1176. package/dist/core/p-a471cf70.entry.js +0 -2
  1177. package/dist/core/p-a471cf70.entry.js.map +0 -1
  1178. package/dist/core/p-a7c7d85a.entry.js +0 -2
  1179. package/dist/core/p-a7c7d85a.entry.js.map +0 -1
  1180. package/dist/core/p-b1568cf3.entry.js +0 -2
  1181. package/dist/core/p-b1568cf3.entry.js.map +0 -1
  1182. package/dist/core/p-b4d2d905.entry.js.map +0 -1
  1183. package/dist/core/p-ba27b1e2.js +0 -2
  1184. package/dist/core/p-ba27b1e2.js.map +0 -1
  1185. package/dist/core/p-ba3f9d1b.entry.js.map +0 -1
  1186. package/dist/core/p-c2281c7d.entry.js +0 -2
  1187. package/dist/core/p-c2281c7d.entry.js.map +0 -1
  1188. package/dist/core/p-c95e4edb.entry.js +0 -2
  1189. package/dist/core/p-c95e4edb.entry.js.map +0 -1
  1190. package/dist/core/p-cda2ecbb.entry.js.map +0 -1
  1191. package/dist/core/p-ced76d36.entry.js +0 -2
  1192. package/dist/core/p-ced76d36.entry.js.map +0 -1
  1193. package/dist/core/p-dcfc7f79.entry.js.map +0 -1
  1194. package/dist/core/p-de37ac0e.entry.js +0 -2
  1195. package/dist/core/p-de37ac0e.entry.js.map +0 -1
  1196. package/dist/core/p-e565964f.entry.js.map +0 -1
  1197. package/dist/core/p-e6028d7a.entry.js +0 -2
  1198. package/dist/core/p-e6028d7a.entry.js.map +0 -1
  1199. package/dist/core/p-ebd83ea6.entry.js +0 -2
  1200. package/dist/core/p-ebd83ea6.entry.js.map +0 -1
  1201. package/dist/core/p-ed35b2d0.entry.js.map +0 -1
  1202. package/dist/core/p-f8d7bda8.entry.js +0 -2
  1203. package/dist/core/p-f8d7bda8.entry.js.map +0 -1
  1204. package/dist/core/p-fd8780e2.entry.js.map +0 -1
  1205. package/dist/esm/OpenInNew-cdeed5ce.js.map +0 -1
  1206. package/dist/esm/check-icon-4a9f8371.js.map +0 -1
  1207. package/dist/esm/chevron-icon-589e3b46.js.map +0 -1
  1208. package/dist/esm/close-icon-539ec8d1.js.map +0 -1
  1209. package/dist/esm/helpers-10f9f399.js +0 -569
  1210. package/dist/esm/helpers-10f9f399.js.map +0 -1
  1211. package/dist/esm/index-5e4f5b3b.js.map +0 -1
  1212. package/dist/esm/popper-0fbeff6d.js.map +0 -1
  1213. package/dist/esm/types-b2398b37.js +0 -16
  1214. package/dist/esm/types-b2398b37.js.map +0 -1
  1215. package/dist/types/components/ic-alert/ic-alert.d.ts +0 -48
  1216. package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +0 -1
  1217. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -25
  1218. package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +0 -1
  1219. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +0 -30
  1220. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
  1221. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +0 -40
  1222. package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +0 -1
  1223. package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +0 -2
  1224. package/dist/types/components/ic-button/ic-button.d.ts +0 -140
  1225. package/dist/types/components/ic-button/ic-button.types.d.ts +0 -3
  1226. package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +0 -1
  1227. package/dist/types/components/ic-card/ic-card.d.ts +0 -83
  1228. package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +0 -1
  1229. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -72
  1230. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -54
  1231. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +0 -8
  1232. package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +0 -1
  1233. package/dist/types/components/ic-chip/ic-chip.d.ts +0 -50
  1234. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  1235. package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +0 -1
  1236. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +0 -24
  1237. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +0 -1
  1238. package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +0 -1
  1239. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -12
  1240. package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +0 -1
  1241. package/dist/types/components/ic-data-row/ic-data-row.d.ts +0 -37
  1242. package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +0 -1
  1243. package/dist/types/components/ic-dialog/ic-dialog.d.ts +0 -123
  1244. package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +0 -1
  1245. package/dist/types/components/ic-divider/ic-divider.d.ts +0 -6
  1246. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -35
  1247. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +0 -1
  1248. package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +0 -1
  1249. package/dist/types/components/ic-footer/ic-footer.d.ts +0 -52
  1250. package/dist/types/components/ic-footer/ic-footer.types.d.ts +0 -1
  1251. package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +0 -1
  1252. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +0 -41
  1253. package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +0 -1
  1254. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +0 -19
  1255. package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +0 -1
  1256. package/dist/types/components/ic-hero/ic-hero.d.ts +0 -57
  1257. package/dist/types/components/ic-hero/ic-hero.types.d.ts +0 -1
  1258. package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +0 -1
  1259. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +0 -40
  1260. package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +0 -1
  1261. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -40
  1262. package/dist/types/components/ic-input-container/ic-input-container.d.ts +0 -11
  1263. package/dist/types/components/ic-input-label/ic-input-label.d.ts +0 -36
  1264. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +0 -30
  1265. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +0 -1
  1266. package/dist/types/components/ic-link/ic-link.d.ts +0 -50
  1267. package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +0 -1
  1268. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +0 -80
  1269. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +0 -7
  1270. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  1271. package/dist/types/components/ic-menu/ic-menu.d.ts +0 -175
  1272. package/dist/types/components/ic-menu/ic-menu.types.d.ts +0 -12
  1273. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +0 -8
  1274. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +0 -74
  1275. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +0 -1
  1276. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +0 -54
  1277. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +0 -1
  1278. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +0 -63
  1279. package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +0 -1
  1280. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +0 -85
  1281. package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +0 -1
  1282. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +0 -36
  1283. package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -57
  1284. package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +0 -1
  1285. package/dist/types/components/ic-pagination/ic-pagination.d.ts +0 -82
  1286. package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +0 -1
  1287. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +0 -47
  1288. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +0 -1
  1289. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +0 -62
  1290. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
  1291. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -60
  1292. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +0 -7
  1293. package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +0 -1
  1294. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -70
  1295. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +0 -251
  1296. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +0 -5
  1297. package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +0 -1
  1298. package/dist/types/components/ic-section-container/ic-section-container.d.ts +0 -12
  1299. package/dist/types/components/ic-select/ic-select.d.ts +0 -240
  1300. package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +0 -1
  1301. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +0 -101
  1302. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +0 -9
  1303. package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +0 -1
  1304. package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +0 -6
  1305. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -18
  1306. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +0 -1
  1307. package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +0 -1
  1308. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +0 -25
  1309. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -2
  1310. package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +0 -1
  1311. package/dist/types/components/ic-step/ic-step.d.ts +0 -54
  1312. package/dist/types/components/ic-step/ic-step.types.d.ts +0 -3
  1313. package/dist/types/components/ic-stepper/ic-stepper.d.ts +0 -43
  1314. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +0 -1
  1315. package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +0 -1
  1316. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +0 -4
  1317. package/dist/types/components/ic-switch/ic-switch.d.ts +0 -75
  1318. package/dist/types/components/ic-switch/ic-switch.types.d.ts +0 -4
  1319. package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +0 -1
  1320. package/dist/types/components/ic-tab/ic-tab.d.ts +0 -59
  1321. package/dist/types/components/ic-tab/ic-tab.types.d.ts +0 -8
  1322. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +0 -64
  1323. package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +0 -1
  1324. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +0 -23
  1325. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +0 -37
  1326. package/dist/types/components/ic-text-field/ic-text-field.d.ts +0 -217
  1327. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +0 -3
  1328. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +0 -1
  1329. package/dist/types/components/ic-theme/ic-theme.d.ts +0 -18
  1330. package/dist/types/components/ic-toast/ic-toast.d.ts +0 -66
  1331. package/dist/types/components/ic-toast/ic-toast.types.d.ts +0 -1
  1332. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +0 -1
  1333. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -12
  1334. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +0 -60
  1335. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +0 -1
  1336. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +0 -1
  1337. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +0 -84
  1338. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +0 -1
  1339. package/dist/types/components/ic-typography/ic-typography.d.ts +0 -57
  1340. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +0 -1
  1341. package/dist/types/utils/constants.d.ts +0 -38
  1342. package/dist/types/utils/types.d.ts +0 -74
  1343. /package/dist/core/{p-3b185c32.js.map → p-0aa9ce8b.js.map} +0 -0
  1344. /package/dist/core/{p-426ec638.js.map → p-170ddfc2.js.map} +0 -0
  1345. /package/dist/core/{p-c2e091d7.js.map → p-e081702e.js.map} +0 -0
  1346. /package/dist/core/{p-f074ef5b.js.map → p-ea1ea1b9.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-button.js","sourceRoot":"","sources":["../../../src/components/ic-button/ic-button.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,EACV,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,EAGL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAE3B,IAAI,SAAS,GAAG,CAAC,CAAC;AAElB;;;;GAIG;AAQH,MAAM,OAAO,MAAM;;IAET,gBAAW,GAAG,SAAS,EAAE,CAAC;IAC1B,eAAU,GAAY,KAAK,CAAC;IAE5B,wBAAmB,GAA6B,EAAE,CAAC;IAEnD,kBAAa,GAAgB,IAAI,CAAC;IAClC,kBAAa,GAAW,IAAI,CAAC;IAC7B,qBAAgB,GAAqB,IAAI,CAAC;IAqO1C,eAAU,GAAG,GAAG,EAAE;MACxB,IAAI,MAAM,CAAC;MACX,IAAI,IAAI,CAAC,eAAe,EAAE,EAAE;QAC1B,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;OACtD;WAAM,IAAI,IAAI,CAAC,gBAAgB,EAAE,EAAE;QAClC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;OACvD;WAAM;QACL,MAAM,GAAG,IAAI,CAAC;OACf;MACD,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IAcM,gBAAW,GAAG,GAAS,EAAE;MAC/B,IACE,CAAC,IAAI,CAAC,EAAE,CAAC,IAA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AAE,EAAE,WAAW,EAAE,KAAK,EAAC,uBAAuB,IACjD,IAAI,CAAC,kBAAkB,CACnB,CACR,CACI,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Method,\n Prop,\n State,\n h,\n} from \"@stencil/core\";\n\nimport {\n getThemeFromContext,\n inheritAttributes,\n isSlotUsed,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcButtonTypes,\n IcButtonVariants,\n IcButtonTooltipPlacement,\n} from \"./ic-button.types\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n IcSizes,\n} from \"../../utils/types\";\n\nlet buttonIds = 0;\n\n/**\n * @slot icon - Deprecated. This slot should not be used anymore. Use left-icon or right-icon slot instead.\n * @slot left-icon - Content will be placed to the left of the button label.\n * @slot right-icon - Content will be placed to the right of the button label.\n */\n@Component({\n tag: \"ic-button\",\n styleUrl: \"ic-button.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Button {\n private buttonEl: HTMLElement;\n private buttonIdNum = buttonIds++;\n private hasTooltip: boolean = false;\n private id: string;\n private inheritedAttributes: { [k: string]: unknown } = {};\n private tooltipEl: HTMLIcTooltipElement;\n private describedByEl: HTMLElement = null;\n private describedById: string = null;\n private mutationObserver: MutationObserver = null;\n\n @Element() el: HTMLIcButtonElement;\n\n @State() describedByContent: string = null;\n\n /**\n * The appearance of the button, e.g. dark, light, or the default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\n\n /**\n * If `true`, the button will be in disabled state.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * If `true`, the ic-tooltip which is shown for icon variant will be disabled. Title or aria-label must be set if this prop is not applied.\n */\n @Prop() disableTooltip?: boolean = false;\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The <form> element to associate the button with.\n */\n @Prop() form?: string;\n\n /**\n * The URL that processes the information submitted by the button. It overrides the action attribute of the button's form owner. Does nothing if there is no form owner.\n */\n @Prop() formaction?: string;\n\n /**\n * The way the submitted form data is encoded.\n */\n @Prop() formenctype?: string;\n\n /**\n * The HTTP method used to submit the form.\n */\n @Prop() formmethod?: string;\n\n /**\n * If `true`, the form will not be validated when submitted.\n */\n @Prop() formnovalidate?: boolean;\n\n /**\n * The place to display the response from submitting the form. It overrides the target attribute of the button's form owner.\n */\n @Prop() formtarget?: string;\n\n /**\n * If `true`, the button will fill the width of the container.\n */\n @Prop() fullWidth?: boolean = false;\n\n /**\n * The URL that the link points to. This will render the button as an \"a\" tag.\n */\n @Prop() href?: string;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * If `true`, the button will be in loading state.\n */\n @Prop() loading?: boolean = false;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The size of the button to be displayed.\n */\n @Prop() size?: IcSizes = \"default\";\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * The position of the tooltip in relation to the button.\n */\n @Prop() tooltipPlacement?: IcButtonTooltipPlacement = \"bottom\";\n\n /**\n * The type of the button.\n */\n @Prop() type?: IcButtonTypes = \"button\";\n\n /**\n * The variant of the button to be displayed.\n */\n @Prop() variant?: IcButtonVariants = \"primary\";\n\n /**\n * Emitted when button has blur\n */\n @Event() icBlur!: EventEmitter<void>;\n\n /**\n * Emitted when button has focus\n */\n @Event() icFocus!: EventEmitter<void>;\n\n disconnectedCallback(): void {\n if (this.mutationObserver !== null && this.mutationObserver !== undefined) {\n this.mutationObserver.disconnect();\n }\n }\n\n componentWillUpdate(): void {\n this.loadingWidth();\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n \"title\",\n ]);\n\n removeDisabledFalse(this.disabled, this.el);\n\n this.el.setAttribute(\"exportparts\", \"button\");\n\n const id = this.el.id;\n this.id = id !== undefined ? id : null;\n this.hasTooltip = this.variant === \"icon\" && this.disableTooltip === false;\n\n if (!this.hasTooltip) {\n const describedById = this.inheritedAttributes[\n \"aria-describedby\"\n ] as string;\n if (describedById !== undefined) {\n this.describedById = describedById;\n const el = this.el.parentElement.querySelector(\n `#${describedById}`\n ) as HTMLElement;\n this.describedByContent = el.innerText;\n this.describedByEl = el;\n }\n }\n }\n\n componentDidLoad(): void {\n this.updateTheme();\n\n if (this.describedById) {\n this.mutationObserver = new MutationObserver(this.mutationCallback);\n this.mutationObserver.observe(this.describedByEl, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n }\n\n componentWillRender(): void {\n this.setViewBox()?.setAttribute(\"viewBox\", \"0 0 24 24\");\n }\n\n @Listen(\"click\", { capture: true })\n handleHostClick(event: Event): void {\n if (this.disabled || this.loading) {\n event.stopImmediatePropagation();\n }\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n /**\n * Sets focus on the native `button`.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.buttonEl) {\n this.buttonEl.focus();\n }\n }\n\n /**\n * @internal Updates tooltip/aria-label text - needed as can't watch an ARIA attribute change.\n */\n @Method()\n async updateAriaLabel(newValue: string): Promise<void> {\n if (this.hasTooltip) {\n this.tooltipEl.label = newValue;\n this.buttonEl.setAttribute(\"aria-label\", null);\n } else {\n this.buttonEl.setAttribute(\"aria-label\", newValue);\n }\n }\n\n private hasIconSlot(): boolean {\n const iconEl = this.el.querySelector(`[slot=\"icon\"]`);\n return iconEl !== null;\n }\n\n private hasLeftIconSlot(): boolean {\n const iconEl = this.el.querySelector(`[slot=\"left-icon\"]`);\n return iconEl !== null;\n }\n\n private hasRightIconSlot(): boolean {\n const iconEl = this.el.querySelector(`[slot=\"right-icon\"]`);\n return iconEl !== null;\n }\n\n private setViewBox = () => {\n let iconEl;\n if (this.hasLeftIconSlot()) {\n iconEl = this.el.querySelector(`[slot=\"left-icon\"]`);\n } else if (this.hasRightIconSlot()) {\n iconEl = this.el.querySelector(`[slot=\"right-icon\"]`);\n } else {\n iconEl = null;\n }\n return iconEl;\n };\n\n private handleHiddenFormButtonClick(form: HTMLFormElement): void {\n const hiddenFormButton = document.createElement(\"button\");\n\n hiddenFormButton.setAttribute(\"type\", this.el.type);\n hiddenFormButton.style.display = \"none\";\n\n form.appendChild(hiddenFormButton);\n\n hiddenFormButton.click();\n hiddenFormButton.remove();\n }\n\n private handleClick = (): void => {\n if (\n (this.el.type === \"submit\" || this.el.type === \"reset\") &&\n !!this.el.closest(\"FORM\")\n ) {\n this.handleHiddenFormButtonClick(this.el.closest(\"FORM\"));\n }\n };\n\n private onFocus = () => {\n this.icFocus.emit();\n };\n\n private onBlur = () => {\n this.icBlur.emit();\n };\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const foregroundColor = getThemeFromContext(this.el, newTheme || null);\n\n if (foregroundColor !== IcThemeForegroundEnum.Default) {\n this.appearance = foregroundColor;\n }\n }\n\n private loadingWidth = () => {\n if (this.loading) {\n this.el.style.setProperty(\n \"--min-width\",\n `${this.el.getBoundingClientRect().width}px`\n );\n }\n };\n\n // triggered when text content of sibling element in light DOM changes\n private mutationCallback = (): void => {\n this.describedByContent = this.describedByEl.innerText;\n };\n\n render() {\n const TagType = (this.href && \"a\") || \"button\";\n const {\n title,\n \"aria-label\": ariaLabel,\n ...restInheritedAttributes\n } = this.inheritedAttributes;\n const buttonAttrs =\n TagType === \"button\"\n ? {\n type: this.type,\n disabled: this.disabled,\n form: this.form,\n formaction: this.formaction,\n formenctype: this.formenctype,\n formmethod: this.formmethod,\n formnovalidate: this.formnovalidate,\n formtarget: this.formtarget,\n }\n : {\n download: this.download !== false ? this.download : null,\n href: this.href,\n rel: this.rel,\n target: this.target,\n referrerpolicy: this.referrerpolicy,\n hreflang: this.hreflang,\n };\n const newTitle = title && (title as string);\n const titleAttr = this.hasTooltip ? {} : { title: newTitle };\n let tooltipText = \"\";\n if (this.hasTooltip) {\n if (newTitle !== undefined) {\n tooltipText = newTitle;\n } else if (ariaLabel !== null) {\n tooltipText = ariaLabel as string;\n }\n }\n\n let describedBy: string = null;\n let buttonId: string = null;\n if (this.hasTooltip) {\n buttonId =\n this.id !== null\n ? `ic-button-with-tooltip-${this.id}`\n : `ic-button-with-tooltip-${this.buttonIdNum}`;\n describedBy = `ic-tooltip-${buttonId}`;\n } else {\n describedBy = this.describedById;\n }\n\n const ButtonContent = () => {\n return (\n <TagType\n class=\"button\"\n aria-disabled={this.loading || this.disabled ? \"true\" : null}\n aria-label={this.loading ? \"Loading\" : ariaLabel}\n {...buttonAttrs}\n {...restInheritedAttributes}\n {...titleAttr}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n ref={(el) => (this.buttonEl = el)}\n id={buttonId}\n aria-describedby={this.hasTooltip && ariaLabel ? null : describedBy}\n part=\"button\"\n >\n {this.hasIconSlot() && !this.loading && (\n <div class=\"icon-container\">\n <slot name=\"icon\" />\n </div>\n )}\n {this.hasLeftIconSlot() && !this.loading && (\n <div class=\"icon-container\">\n <slot name=\"left-icon\" />\n </div>\n )}\n {this.loading ? (\n <div class=\"loading-container\">\n <ic-loading-indicator\n type=\"linear\"\n appearance={\n this.variant === \"primary\" ||\n this.variant === \"destructive\" ||\n this.appearance === IcThemeForegroundEnum.Dark ||\n this.appearance === IcThemeForegroundEnum.Light\n ? \"light\"\n : \"dark\"\n }\n ></ic-loading-indicator>\n </div>\n ) : (\n <slot />\n )}\n {this.hasRightIconSlot() && !this.loading && (\n <div class=\"icon-container\">\n <slot name=\"right-icon\" />\n </div>\n )}\n </TagType>\n );\n };\n\n return (\n <Host\n class={{\n [\"disabled\"]: this.disabled && !this.loading,\n [`button-variant-${this.variant}`]: true,\n [`button-size-${this.size}`]: true,\n [\"loading\"]: this.loading,\n [\"dark\"]: this.appearance === IcThemeForegroundEnum.Dark,\n [\"light\"]: this.appearance === IcThemeForegroundEnum.Light,\n [\"full-width\"]: this.fullWidth,\n [\"with-badge\"]: isSlotUsed(this.el, \"badge\"),\n }}\n onClick={this.handleClick}\n >\n {this.hasTooltip && (\n <ic-tooltip\n class={{ [\"tooltip-disabled\"]: this.disableTooltip }}\n ref={(el) => (this.tooltipEl = el)}\n label={tooltipText}\n target={buttonId}\n placement={this.tooltipPlacement}\n >\n <ButtonContent />\n </ic-tooltip>\n )}\n\n {!this.hasTooltip && <ButtonContent />}\n {this.describedByContent && (\n <span id={describedBy} class=\"ic-button-describedby\">\n {this.describedByContent}\n </span>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ic-button.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-button.types.js","sourceRoot":"","sources":["../../../src/components/ic-button/ic-button.types.ts"],"names":[],"mappings":"","sourcesContent":["export type IcButtonTypes = \"reset\" | \"submit\" | \"button\";\n\nexport type IcButtonVariants =\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"icon\"\n | \"destructive\";\n\nexport type IcButtonTooltipPlacement = \"top\" | \"right\" | \"bottom\" | \"left\";\n"]}
@@ -1,11 +0,0 @@
1
- import { fixture } from "@open-wc/testing-helpers";
2
- import { axe } from "jest-axe";
3
- import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
- describe("button component", () => {
5
- it("passes accessibility", async () => {
6
- const el = await fixture("<ic-button>Button</ic-button>");
7
- checkShadowElementRendersCorrectly(el);
8
- expect(await axe(el)).toHaveNoViolations();
9
- });
10
- });
11
- //# sourceMappingURL=ic-button.test.a11y.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-button.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-button/test/a11y/ic-button.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,kBAAkB,EAAE,GAAG,EAAE;EAChC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC1D,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(\"button component\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\"<ic-button>Button</ic-button>\");\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
@@ -1,198 +0,0 @@
1
- import { newE2EPage } from "@stencil/core/testing";
2
- describe("ic-button component", () => {
3
- it("Should have the correct text", async () => {
4
- const page = await newE2EPage();
5
- await page.setContent(`<ic-button>Button</ic-button>`);
6
- await page.waitForChanges();
7
- const button = await page.find("ic-button");
8
- const text = button.innerText;
9
- expect(text).toBe("Button");
10
- });
11
- it("Should have loading bar when loading", async () => {
12
- const page = await newE2EPage();
13
- await page.setContent(`<ic-button loading>Button</ic-button>`);
14
- await page.waitForChanges();
15
- const loadingBar = await page.find("ic-button >>> ic-loading-indicator");
16
- expect(loadingBar).not.toBeNull();
17
- });
18
- it("Should be clickable with onclick", async () => {
19
- const page = await newE2EPage();
20
- await page.setContent(`
21
- <ic-button id='ic-button' onclick='change()'>Button</ic-button>
22
- <script>
23
- function change() {
24
- document.getElementById("ic-button").innerText = 'Test';
25
- }
26
- </script>
27
- `);
28
- const button = await page.find("#ic-button");
29
- await button.click();
30
- expect(button.innerText).toBe("Test");
31
- });
32
- it("Should not be clickable when disabled", async () => {
33
- const page = await newE2EPage();
34
- await page.setContent(`
35
- <ic-button id='ic-button' onclick='change()' disabled>Button</ic-button>
36
- <script>
37
- function change() {
38
- document.getElementById("ic-button").innerText = 'Test';
39
- }
40
- </script>
41
- `);
42
- const button = await page.find("#ic-button");
43
- await button.click();
44
- expect(button.innerText).toBe("Button");
45
- });
46
- it("Should not be clickable when loading", async () => {
47
- const page = await newE2EPage();
48
- await page.setContent(`
49
- <ic-button id='ic-button' onclick='change()' loading>Button</ic-button>
50
- <script>
51
- function change() {
52
- document.getElementById("ic-button").innerText = 'Test';
53
- }
54
- </script>
55
- `);
56
- const button = await page.find("#ic-button");
57
- await button.click();
58
- expect(button.innerText).toBe("Button");
59
- });
60
- it("should pass onclick method", async () => {
61
- const page = await newE2EPage();
62
- await page.setContent(`
63
- <ic-button id='ic-button' onclick='updateText()'>Button</ic-button>
64
- <p id="text"></p>
65
- <script>
66
- function updateText() {
67
- document.getElementById('text').innerText = "Demo"
68
- }
69
- </script>
70
- `);
71
- const p = await page.find("#text");
72
- const button = await page.find("#ic-button");
73
- await button.click();
74
- expect(p.innerText).toBe("Demo");
75
- });
76
- it("should clear text field value when reset button inside form tag", async () => {
77
- const page = await newE2EPage();
78
- await page.setContent(`
79
- <form>
80
- <input type="text" id="name" />
81
- <ic-button id='ic-button' type="reset">Reset</ic-button>
82
- </form>
83
- `);
84
- const textfield = await page.find("#name");
85
- const button = await page.find("#ic-button");
86
- await textfield.press("f");
87
- await textfield.press("o");
88
- await textfield.press("o");
89
- expect(await textfield.getProperty("value")).toBe("foo");
90
- await button.click();
91
- expect(await textfield.getProperty("value")).toBe("");
92
- });
93
- it("should not clear text field value if reset button outside of form tag", async () => {
94
- const page = await newE2EPage();
95
- await page.setContent(`
96
- <div>
97
- <form>
98
- <input type="text" id="name" />
99
- </form>
100
- <ic-button id='ic-button' type="reset">Reset</ic-button>
101
- </div>
102
- `);
103
- const textfield = await page.find("#name");
104
- const button = await page.find("#ic-button");
105
- await textfield.press("f");
106
- await textfield.press("o");
107
- await textfield.press("o");
108
- await button.click();
109
- expect(await textfield.getProperty("value")).toBe("foo");
110
- });
111
- it("should submit form on submit button click if submit button inside form tag", async () => {
112
- const page = await newE2EPage();
113
- await page.setContent(`
114
- <form>
115
- <input type="text" id="name" />
116
- <ic-button id='ic-button' type="submit">Submit</ic-button>
117
- </form>
118
- <p id="text"></p>
119
- <script>
120
- document.addEventListener('submit', (ev) => {
121
- ev.preventDefault();
122
- document.getElementById('text').innerText = 'submitted';
123
- })
124
- </script>
125
- `);
126
- const button = await page.find("#ic-button");
127
- const p = await page.find("#text");
128
- await button.click();
129
- expect(p.innerText).toBe("submitted");
130
- });
131
- it("should not submit form on submit button click outside of form tag", async () => {
132
- const page = await newE2EPage();
133
- await page.setContent(`
134
- <form>
135
- <input type="text" id="name" />
136
- </form>
137
- <ic-button id='ic-button' type="submit">Submit</ic-button>
138
- <p id="text">idle</p>
139
- <script>
140
- document.addEventListener('submit', (ev) => {
141
- ev.preventDefault();
142
- document.getElementById('text').innerText = 'submitted';
143
- })
144
- </script>
145
- `);
146
- const button = await page.find("#ic-button");
147
- const p = await page.find("#text");
148
- await button.click();
149
- expect(p.innerText).toBe("idle");
150
- });
151
- it("should emit icFocus on focus event", async () => {
152
- const page = await newE2EPage();
153
- await page.setContent(`<ic-button>Button</ic-button>`);
154
- const button = await page.find("ic-button");
155
- const spy = await page.spyOnEvent("icFocus");
156
- await button.callMethod("setFocus");
157
- await page.waitForChanges();
158
- expect(spy).toHaveReceivedEvent();
159
- });
160
- it("should emit icBlur on blur event", async () => {
161
- const page = await newE2EPage();
162
- await page.setContent(`<ic-button>Button</ic-button>
163
- <button id="secondary-button">Secondary</button>`);
164
- const button = await page.find("ic-button");
165
- const secButton = await page.find("#secondary-button");
166
- const spy = await page.spyOnEvent("icBlur");
167
- await button.callMethod("setFocus");
168
- await secButton.click();
169
- await page.waitForChanges();
170
- expect(spy).toHaveReceivedEvent();
171
- });
172
- it("should test aria-describedby being updated", async () => {
173
- const page = await newE2EPage();
174
- await page.setContent(`
175
- <script>
176
- function btnClick(){
177
- var descEl = document.querySelector("#button-description");
178
- descEl.innerText = "See, I told you it was amazing!";
179
- }
180
- </script>
181
- <div>
182
- <span id="button-description">This button does something amazing</span>
183
- <br />
184
- <ic-button variant="primary" onclick="btnClick()" aria-describedby="button-description"
185
- >Button</ic-button
186
- >
187
- </div>
188
- `);
189
- const button = await page.find("ic-button");
190
- let hiddenDescribedBy = await page.find("ic-button >>> #button-description");
191
- expect(hiddenDescribedBy.innerText).toBe("This button does something amazing");
192
- await button.click();
193
- await page.waitForChanges();
194
- hiddenDescribedBy = await page.find("ic-button >>> #button-description");
195
- expect(hiddenDescribedBy.innerText).toBe("See, I told you it was amazing!");
196
- });
197
- });
198
- //# sourceMappingURL=ic-button.e2e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-button.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-button/test/basic/ic-button.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;EACnC,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;IAC5C,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC;IACvD,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC;IAE9B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;EAC9B,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,sCAAsC,EAAE,KAAK,IAAI,EAAE;IACpD,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,UAAU,CAAC,uCAAuC,CAAC,CAAC;IAC/D,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;IAEzE,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;EACpC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,kCAAkC,EAAE,KAAK,IAAI,EAAE;IAChD,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,UAAU,CACnB;;;;;;;SAOG,CACJ,CAAC;IACF,MAAM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;;;;;;;;;;;;OAcC,CACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5C,IAAI,iBAAiB,GAAG,MAAM,IAAI,CAAC,IAAI,CACrC,mCAAmC,CACpC,CAAC;IACF,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,IAAI,CACtC,oCAAoC,CACrC,CAAC;IAEF,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,iBAAiB,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;IACzE,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;EAC9E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-button component\", () => {\n it(\"Should have the correct text\", async () => {\n const page = await newE2EPage();\n await page.setContent(`<ic-button>Button</ic-button>`);\n await page.waitForChanges();\n\n const button = await page.find(\"ic-button\");\n const text = button.innerText;\n\n expect(text).toBe(\"Button\");\n });\n\n it(\"Should have loading bar when loading\", async () => {\n const page = await newE2EPage();\n await page.setContent(`<ic-button loading>Button</ic-button>`);\n await page.waitForChanges();\n\n const loadingBar = await page.find(\"ic-button >>> ic-loading-indicator\");\n\n expect(loadingBar).not.toBeNull();\n });\n\n it(\"Should be clickable with onclick\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <ic-button id='ic-button' onclick='change()'>Button</ic-button>\n <script>\n function change() {\n document.getElementById(\"ic-button\").innerText = 'Test';\n }\n </script>\n `\n );\n const button = await page.find(\"#ic-button\");\n\n await button.click();\n\n expect(button.innerText).toBe(\"Test\");\n });\n\n it(\"Should not be clickable when disabled\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <ic-button id='ic-button' onclick='change()' disabled>Button</ic-button>\n <script>\n function change() {\n document.getElementById(\"ic-button\").innerText = 'Test';\n }\n </script>\n `\n );\n const button = await page.find(\"#ic-button\");\n\n await button.click();\n\n expect(button.innerText).toBe(\"Button\");\n });\n\n it(\"Should not be clickable when loading\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <ic-button id='ic-button' onclick='change()' loading>Button</ic-button>\n <script>\n function change() {\n document.getElementById(\"ic-button\").innerText = 'Test';\n }\n </script>\n `\n );\n const button = await page.find(\"#ic-button\");\n\n await button.click();\n\n expect(button.innerText).toBe(\"Button\");\n });\n\n it(\"should pass onclick method\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <ic-button id='ic-button' onclick='updateText()'>Button</ic-button>\n <p id=\"text\"></p>\n <script>\n function updateText() {\n document.getElementById('text').innerText = \"Demo\"\n }\n </script>\n `\n );\n\n const p = await page.find(\"#text\");\n const button = await page.find(\"#ic-button\");\n\n await button.click();\n\n expect(p.innerText).toBe(\"Demo\");\n });\n\n it(\"should clear text field value when reset button inside form tag\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <form>\n <input type=\"text\" id=\"name\" />\n <ic-button id='ic-button' type=\"reset\">Reset</ic-button>\n </form>\n `\n );\n\n const textfield = await page.find(\"#name\");\n const button = await page.find(\"#ic-button\");\n\n await textfield.press(\"f\");\n await textfield.press(\"o\");\n await textfield.press(\"o\");\n\n expect(await textfield.getProperty(\"value\")).toBe(\"foo\");\n\n await button.click();\n\n expect(await textfield.getProperty(\"value\")).toBe(\"\");\n });\n\n it(\"should not clear text field value if reset button outside of form tag\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <div>\n <form>\n <input type=\"text\" id=\"name\" />\n </form>\n <ic-button id='ic-button' type=\"reset\">Reset</ic-button>\n </div>\n `\n );\n\n const textfield = await page.find(\"#name\");\n const button = await page.find(\"#ic-button\");\n\n await textfield.press(\"f\");\n await textfield.press(\"o\");\n await textfield.press(\"o\");\n\n await button.click();\n\n expect(await textfield.getProperty(\"value\")).toBe(\"foo\");\n });\n\n it(\"should submit form on submit button click if submit button inside form tag\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <form>\n <input type=\"text\" id=\"name\" />\n <ic-button id='ic-button' type=\"submit\">Submit</ic-button>\n </form>\n <p id=\"text\"></p>\n <script>\n document.addEventListener('submit', (ev) => {\n ev.preventDefault();\n document.getElementById('text').innerText = 'submitted';\n })\n </script>\n `\n );\n\n const button = await page.find(\"#ic-button\");\n const p = await page.find(\"#text\");\n\n await button.click();\n\n expect(p.innerText).toBe(\"submitted\");\n });\n\n it(\"should not submit form on submit button click outside of form tag\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <form>\n <input type=\"text\" id=\"name\" />\n </form>\n <ic-button id='ic-button' type=\"submit\">Submit</ic-button>\n <p id=\"text\">idle</p>\n <script>\n document.addEventListener('submit', (ev) => {\n ev.preventDefault();\n document.getElementById('text').innerText = 'submitted';\n })\n </script>\n `\n );\n\n const button = await page.find(\"#ic-button\");\n const p = await page.find(\"#text\");\n\n await button.click();\n\n expect(p.innerText).toBe(\"idle\");\n });\n\n it(\"should emit icFocus on focus event\", async () => {\n const page = await newE2EPage();\n await page.setContent(`<ic-button>Button</ic-button>`);\n\n const button = await page.find(\"ic-button\");\n const spy = await page.spyOnEvent(\"icFocus\");\n\n await button.callMethod(\"setFocus\");\n await page.waitForChanges();\n\n expect(spy).toHaveReceivedEvent();\n });\n\n it(\"should emit icBlur on blur event\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `<ic-button>Button</ic-button>\n <button id=\"secondary-button\">Secondary</button>`\n );\n\n const button = await page.find(\"ic-button\");\n const secButton = await page.find(\"#secondary-button\");\n const spy = await page.spyOnEvent(\"icBlur\");\n\n await button.callMethod(\"setFocus\");\n await secButton.click();\n await page.waitForChanges();\n\n expect(spy).toHaveReceivedEvent();\n });\n\n it(\"should test aria-describedby being updated\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `\n <script>\n function btnClick(){\n var descEl = document.querySelector(\"#button-description\");\n descEl.innerText = \"See, I told you it was amazing!\";\n }\n </script>\n <div>\n <span id=\"button-description\">This button does something amazing</span>\n <br />\n <ic-button variant=\"primary\" onclick=\"btnClick()\" aria-describedby=\"button-description\"\n >Button</ic-button\n >\n </div>\n `\n );\n\n const button = await page.find(\"ic-button\");\n let hiddenDescribedBy = await page.find(\n \"ic-button >>> #button-description\"\n );\n expect(hiddenDescribedBy.innerText).toBe(\n \"This button does something amazing\"\n );\n\n await button.click();\n await page.waitForChanges();\n\n hiddenDescribedBy = await page.find(\"ic-button >>> #button-description\");\n expect(hiddenDescribedBy.innerText).toBe(\"See, I told you it was amazing!\");\n });\n});\n"]}
@@ -1,271 +0,0 @@
1
- import { Button } from "../../ic-button";
2
- import { newSpecPage } from "@stencil/core/testing";
3
- import * as helpers from "../../../../utils/helpers";
4
- beforeAll(() => {
5
- jest.spyOn(console, "warn").mockImplementation(jest.fn());
6
- });
7
- //mocked as getThemeFromContext is always default when run in test context
8
- const mockGetThemeFromContext = () => {
9
- const func = jest.fn(() => {
10
- return "light";
11
- });
12
- Object.defineProperty(helpers, "getThemeFromContext", {
13
- value: func,
14
- });
15
- };
16
- describe("button component", () => {
17
- it("should correctly render with text", async () => {
18
- const page = await newSpecPage({
19
- components: [Button],
20
- html: "<ic-button>Button</ic-button>",
21
- supportsShadowDom: true,
22
- });
23
- expect(page.root).toMatchSnapshot();
24
- });
25
- it("should correctly render with custom text", async () => {
26
- const page = await newSpecPage({
27
- components: [Button],
28
- html: "<ic-button>Click Me</ic-button>",
29
- });
30
- expect(page.root).toMatchSnapshot();
31
- });
32
- it("should render correct HTML for secondary variant", async () => {
33
- const page = await newSpecPage({
34
- components: [Button],
35
- html: "<ic-button variant='secondary'>Button</ic-button>",
36
- });
37
- expect(page.root).toMatchSnapshot();
38
- });
39
- it("should render correct HTML for tertiary variant", async () => {
40
- const page = await newSpecPage({
41
- components: [Button],
42
- html: "<ic-button variant='tertiary'>Button</ic-button>",
43
- });
44
- expect(page.root).toMatchSnapshot();
45
- });
46
- it("should render correct HTML for destructive variant", async () => {
47
- const page = await newSpecPage({
48
- components: [Button],
49
- html: "<ic-button variant='destructive'>Button</ic-button>",
50
- });
51
- expect(page.root).toMatchSnapshot();
52
- });
53
- it("should render correct HTML with left icon", async () => {
54
- const page = await newSpecPage({
55
- components: [Button],
56
- html: `
57
- <ic-button>
58
- <svg slot='left-icon' xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">
59
- <path d="M0 0h24v24H0V0z" fill="none"/>
60
- <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>
61
- </svg>
62
- Button
63
- </ic-button>
64
- `,
65
- });
66
- expect(page.root).toMatchSnapshot();
67
- });
68
- it("should render correct HTML with right icon", async () => {
69
- const page = await newSpecPage({
70
- components: [Button],
71
- html: `
72
- <ic-button>
73
- <svg slot='right-icon' xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">
74
- <path d="M0 0h24v24H0V0z" fill="none"/>
75
- <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>
76
- </svg>
77
- Button
78
- </ic-button>
79
- `,
80
- });
81
- expect(page.root).toMatchSnapshot();
82
- });
83
- it("should render correct HTML when loading", async () => {
84
- const page = await newSpecPage({
85
- components: [Button],
86
- html: `
87
- <ic-button loading>Button</ic-button>
88
- `,
89
- });
90
- expect(page.root).toMatchSnapshot();
91
- });
92
- it("should render correct HTML when loading - secondary", async () => {
93
- const page = await newSpecPage({
94
- components: [Button],
95
- html: `
96
- <ic-button loading variant="secondary">Button</ic-button>
97
- `,
98
- });
99
- expect(page.root).toMatchSnapshot();
100
- });
101
- it("should render correct HTML when loading - tertiary", async () => {
102
- const page = await newSpecPage({
103
- components: [Button],
104
- html: `
105
- <ic-button loading variant="tertiary">Button</ic-button>
106
- `,
107
- });
108
- expect(page.root).toMatchSnapshot();
109
- });
110
- it("should render correct HTML when loading - destructive", async () => {
111
- const page = await newSpecPage({
112
- components: [Button],
113
- html: `
114
- <ic-button loading variant="destructive">Button</ic-button>
115
- `,
116
- });
117
- expect(page.root).toMatchSnapshot();
118
- });
119
- it("should render correct HTML when loading - appearance light", async () => {
120
- const page = await newSpecPage({
121
- components: [Button],
122
- html: `
123
- <ic-button loading appearance="light">Button</ic-button>
124
- `,
125
- });
126
- expect(page.root).toMatchSnapshot();
127
- });
128
- it("render with correct button type when defined", async () => {
129
- const page = await newSpecPage({
130
- components: [Button],
131
- html: `
132
- <ic-button type='reset'>Button</ic-button>
133
- `,
134
- });
135
- expect(page.root).toMatchSnapshot();
136
- });
137
- it('should render with "a" tag when href is passed', async () => {
138
- const page = await newSpecPage({
139
- components: [Button],
140
- html: `
141
- <ic-button href = '#'>Button</ic-button>
142
- `,
143
- });
144
- expect(page.root).toMatchSnapshot();
145
- });
146
- it('should render with defined "a" tag props', async () => {
147
- const page = await newSpecPage({
148
- components: [Button],
149
- html: `
150
- <ic-button href = '#' download rel="nofollow" target="_blank">Button</ic-button>
151
- `,
152
- });
153
- expect(page.root).toMatchSnapshot();
154
- });
155
- it("should render icon variant with a tooltip", async () => {
156
- const page = await newSpecPage({
157
- components: [Button],
158
- html: "<ic-button variant='icon' id='test-button'>Button</ic-button>",
159
- });
160
- expect(page.root).toMatchSnapshot();
161
- });
162
- it("should render icon variant with a tooltip based on title", async () => {
163
- const page = await newSpecPage({
164
- components: [Button],
165
- html: "<ic-button variant='icon' id='test-button' title='Tooltip text'>Button</ic-button>",
166
- });
167
- expect(page.root).toMatchSnapshot();
168
- });
169
- it("should render icon variant with a tooltip based on aria-label", async () => {
170
- const page = await newSpecPage({
171
- components: [Button],
172
- html: "<ic-button variant='icon' id='test-button' aria-label='Tooltip text' tooltip-placement='top'>Button</ic-button>",
173
- });
174
- expect(page.root).toMatchSnapshot();
175
- });
176
- it("should disable tooltip when prop set", async () => {
177
- const page = await newSpecPage({
178
- components: [Button],
179
- html: "<ic-button variant='icon' aria-label='Tooltip text' id='test-button' disable-tooltip>Button</ic-button>",
180
- });
181
- expect(page.root).toMatchSnapshot();
182
- });
183
- it("should update when method called", async () => {
184
- const page = await newSpecPage({
185
- components: [Button],
186
- html: "<ic-button variant='icon' aria-label='Tooltip text' id='test-button'>Button</ic-button>",
187
- });
188
- expect(page.root).toMatchSnapshot();
189
- await page.root.updateAriaLabel("New tooltip text");
190
- await page.waitForChanges();
191
- expect(page.root).toMatchSnapshot();
192
- });
193
- it("should stop immediate propagation of a click event when disabled", async () => {
194
- const page = await newSpecPage({
195
- components: [Button],
196
- html: "<ic-button id='test-button' disabled=true onclick='alert('test')'>Button</ic-button>",
197
- });
198
- jest.spyOn(window, "alert").mockImplementation();
199
- const element = document.getElementById("test-button");
200
- element.click();
201
- await page.waitForChanges();
202
- expect(window.alert).not.toHaveBeenCalled;
203
- });
204
- it("should call 'setFocus' when button is focussed", async () => {
205
- const page = await newSpecPage({
206
- components: [Button],
207
- html: "<ic-button id='ic-button'>Button</ic-button>",
208
- });
209
- //Can't expect anything in this test - this is to increase code coverage only
210
- await page.rootInstance.setFocus().toHaveBeenCalled;
211
- });
212
- it("should test theme change", async () => {
213
- mockGetThemeFromContext();
214
- const page = await newSpecPage({
215
- components: [Button],
216
- html: `<ic-button id='ic-button'>Button</ic-button>`,
217
- });
218
- await page.rootInstance.themeChangeHandler({
219
- detail: { mode: "light" },
220
- });
221
- await page.waitForChanges();
222
- expect(page.rootInstance.appearance).toEqual("light");
223
- });
224
- it("should test button as submit button on form", async () => {
225
- const page = await newSpecPage({
226
- components: [Button],
227
- html: `<form id="new-form"><form><ic-button id='ic-button' type="submit" form="new-form">Button</ic-button>`,
228
- });
229
- const btn = document.getElementById("ic-button");
230
- btn.click();
231
- expect(page.root).toMatchSnapshot();
232
- });
233
- it("should test aria-describedby is set", async () => {
234
- const page = await newSpecPage({
235
- components: [Button],
236
- html: `<span id="button-description">
237
- This is the button description
238
- </span>
239
- <ic-button id='ic-button' aria-describedby="button-description">Button</ic-button>
240
- `,
241
- });
242
- expect(page.root).toMatchSnapshot();
243
- });
244
- it("should test aria-describedby is updated", async () => {
245
- const page = await newSpecPage({
246
- components: [Button],
247
- html: `<span id="button-description">
248
- This is the button description
249
- </span>
250
- <ic-button id='ic-button' aria-describedby="button-description">Button</ic-button>
251
- `,
252
- });
253
- document.querySelector("#button-description").innerText =
254
- "This is the new description";
255
- page.rootInstance.mutationCallback();
256
- await page.waitForChanges();
257
- expect(page.root).toMatchSnapshot();
258
- });
259
- it("should test blur handler", async () => {
260
- const page = await newSpecPage({
261
- components: [Button],
262
- html: `<ic-button id='ic-button'>Button</ic-button>`,
263
- });
264
- const eventSpy = jest.fn();
265
- page.win.addEventListener("icBlur", eventSpy);
266
- await page.rootInstance.onBlur();
267
- await page.waitForChanges();
268
- expect(eventSpy).toHaveBeenCalled();
269
- });
270
- });
271
- //# sourceMappingURL=ic-button.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-button.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-button/test/basic/ic-button.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AAErD,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,0EAA0E;AAC1E,MAAM,uBAAuB,GAAG,GAAG,EAAE;EACnC,MAAM,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE;IACxB,OAAO,OAAO,CAAC;EACjB,CAAC,CAAC,CAAC;EAEH,MAAM,CAAC,cAAc,CAAC,O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AAE;;;;OAIL;KACF,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,yCAAyC,EAAE,KAAK,IAAI,EAAE;IACvD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE;;;;OAIL;KACF,CAAC,CAAC;IAEF,QAAQ,CAAC,aAAa,CAAC,qBAAqB,CAAiB,CAAC,SAAS;MACtE,6BAA6B,CAAC;IAChC,IAAI,CAAC,YAAY,CAAC,gBAAgB,EAAE,CAAC;IAErC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,8CAA8C;KACrD,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC3B,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;IACjC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAC5B,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { Button } from \"../../ic-button\";\nimport { newSpecPage } from \"@stencil/core/testing\";\nimport * as helpers from \"../../../../utils/helpers\";\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\n//mocked as getThemeFromContext is always default when run in test context\nconst mockGetThemeFromContext = () => {\n const func = jest.fn(() => {\n return \"light\";\n });\n\n Object.defineProperty(helpers, \"getThemeFromContext\", {\n value: func,\n });\n};\n\ndescribe(\"button component\", () => {\n it(\"should correctly render with text\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button>Button</ic-button>\",\n supportsShadowDom: true,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should correctly render with custom text\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button>Click Me</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML for secondary variant\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='secondary'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML for tertiary variant\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='tertiary'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML for destructive variant\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='destructive'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML with left icon\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button>\n <svg slot='left-icon' xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"#000000\">\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n <path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"/>\n </svg>\n Button\n </ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML with right icon\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button>\n <svg slot='right-icon' xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\" fill=\"#000000\">\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n <path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"/>\n </svg>\n Button\n </ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML when loading\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button loading>Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML when loading - secondary\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button loading variant=\"secondary\">Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML when loading - tertiary\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button loading variant=\"tertiary\">Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML when loading - destructive\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button loading variant=\"destructive\">Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correct HTML when loading - appearance light\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button loading appearance=\"light\">Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"render with correct button type when defined\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button type='reset'>Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it('should render with \"a\" tag when href is passed', async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button href = '#'>Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it('should render with defined \"a\" tag props', async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `\n <ic-button href = '#' download rel=\"nofollow\" target=\"_blank\">Button</ic-button>\n `,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render icon variant with a tooltip\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='icon' id='test-button'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render icon variant with a tooltip based on title\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='icon' id='test-button' title='Tooltip text'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render icon variant with a tooltip based on aria-label\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='icon' id='test-button' aria-label='Tooltip text' tooltip-placement='top'>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should disable tooltip when prop set\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='icon' aria-label='Tooltip text' id='test-button' disable-tooltip>Button</ic-button>\",\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should update when method called\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button variant='icon' aria-label='Tooltip text' id='test-button'>Button</ic-button>\",\n });\n\n expect(page.root).toMatchSnapshot();\n\n await page.root.updateAriaLabel(\"New tooltip text\");\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should stop immediate propagation of a click event when disabled\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button id='test-button' disabled=true onclick='alert('test')'>Button</ic-button>\",\n });\n\n jest.spyOn(window, \"alert\").mockImplementation();\n\n const element = document.getElementById(\"test-button\");\n\n element.click();\n\n await page.waitForChanges();\n\n expect(window.alert).not.toHaveBeenCalled;\n });\n\n it(\"should call 'setFocus' when button is focussed\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: \"<ic-button id='ic-button'>Button</ic-button>\",\n });\n\n //Can't expect anything in this test - this is to increase code coverage only\n await page.rootInstance.setFocus().toHaveBeenCalled;\n });\n\n it(\"should test theme change\", async () => {\n mockGetThemeFromContext();\n\n const page = await newSpecPage({\n components: [Button],\n html: `<ic-button id='ic-button'>Button</ic-button>`,\n });\n\n await page.rootInstance.themeChangeHandler({\n detail: { mode: \"light\" },\n });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toEqual(\"light\");\n });\n\n it(\"should test button as submit button on form\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `<form id=\"new-form\"><form><ic-button id='ic-button' type=\"submit\" form=\"new-form\">Button</ic-button>`,\n });\n\n const btn = document.getElementById(\"ic-button\");\n btn.click();\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should test aria-describedby is set\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `<span id=\"button-description\">\n This is the button description\n </span>\n <ic-button id='ic-button' aria-describedby=\"button-description\">Button</ic-button>\n `,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should test aria-describedby is updated\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `<span id=\"button-description\">\n This is the button description\n </span>\n <ic-button id='ic-button' aria-describedby=\"button-description\">Button</ic-button>\n `,\n });\n\n (document.querySelector(\"#button-description\") as HTMLElement).innerText =\n \"This is the new description\";\n page.rootInstance.mutationCallback();\n\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should test blur handler\", async () => {\n const page = await newSpecPage({\n components: [Button],\n html: `<ic-button id='ic-button'>Button</ic-button>`,\n });\n\n const eventSpy = jest.fn();\n page.win.addEventListener(\"icBlur\", eventSpy);\n\n await page.rootInstance.onBlur();\n await page.waitForChanges();\n expect(eventSpy).toHaveBeenCalled();\n });\n});\n"]}