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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1354) 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-86375e76.js +554 -0
  13. package/dist/cjs/helpers-86375e76.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 +117 -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 +647 -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 +103 -107
  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 +282 -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 +97 -90
  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 +400 -407
  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 +32 -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 +143 -145
  121. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-toggle-button.cjs.entry.js +69 -0
  123. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -0
  124. package/dist/cjs/ic-top-navigation.cjs.entry.js +199 -195
  125. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ic-typography.cjs.entry.js +119 -111
  127. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  128. package/dist/{esm/index-5e4f5b3b.js → cjs/index-4cf27b16.js} +646 -360
  129. package/dist/cjs/index-4cf27b16.js.map +1 -0
  130. package/dist/cjs/loader.cjs.js +2 -2
  131. package/dist/cjs/{popper-31badbf8.js → popper-16968c2e.js} +1 -1
  132. package/dist/cjs/popper-16968c2e.js.map +1 -0
  133. package/dist/cjs/types-17dba796.js +16 -0
  134. package/dist/cjs/types-17dba796.js.map +1 -0
  135. package/dist/collection/collection-manifest.json +73 -63
  136. package/dist/collection/components/ic-data-table/ic-data-table.js +523 -523
  137. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  138. package/dist/collection/components/ic-data-table/story-data.js +511 -511
  139. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  140. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +6 -5
  141. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
  142. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +412 -412
  143. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  144. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +532 -532
  145. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  146. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +6 -5
  147. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -1
  148. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +378 -378
  149. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  150. package/dist/collection/testspec.setup.js +35 -34
  151. package/dist/collection/testspec.setup.js.map +1 -1
  152. package/dist/collection/utils/helpers.js +12 -445
  153. package/dist/collection/utils/helpers.js.map +1 -1
  154. package/dist/collection/utils/testa11y.helpers.js +2 -2
  155. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  156. package/dist/components/helpers.js +307 -370
  157. package/dist/components/helpers.js.map +1 -1
  158. package/dist/components/ic-accordion-group.js +140 -0
  159. package/dist/components/ic-accordion-group.js.map +1 -0
  160. package/dist/components/ic-accordion.js +148 -0
  161. package/dist/components/ic-accordion.js.map +1 -0
  162. package/dist/components/ic-alert2.js +98 -98
  163. package/dist/components/ic-alert2.js.map +1 -1
  164. package/dist/components/ic-back-to-top.js +141 -145
  165. package/dist/components/ic-back-to-top.js.map +1 -1
  166. package/dist/components/ic-badge.js +192 -0
  167. package/dist/components/ic-badge.js.map +1 -0
  168. package/dist/components/ic-breadcrumb-group.js +200 -191
  169. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  170. package/dist/components/ic-breadcrumb2.js +79 -76
  171. package/dist/components/ic-breadcrumb2.js.map +1 -1
  172. package/dist/components/ic-button2.js +344 -288
  173. package/dist/components/ic-button2.js.map +1 -1
  174. package/dist/components/ic-card.js +156 -156
  175. package/dist/components/ic-card.js.map +1 -1
  176. package/dist/components/ic-checkbox-group.js +99 -92
  177. package/dist/components/ic-checkbox-group.js.map +1 -1
  178. package/dist/components/ic-checkbox.js +132 -129
  179. package/dist/components/ic-checkbox.js.map +1 -1
  180. package/dist/components/ic-chip.js +100 -91
  181. package/dist/components/ic-chip.js.map +1 -1
  182. package/dist/components/ic-classification-banner.js +47 -47
  183. package/dist/components/ic-classification-banner.js.map +1 -1
  184. package/dist/components/ic-data-entity.js +40 -38
  185. package/dist/components/ic-data-entity.js.map +1 -1
  186. package/dist/components/ic-data-row.js +99 -97
  187. package/dist/components/ic-data-row.js.map +1 -1
  188. package/dist/components/ic-data-table.d.ts +2 -2
  189. package/dist/components/ic-data-table.js +350 -350
  190. package/dist/components/ic-data-table.js.map +1 -1
  191. package/dist/components/ic-dialog.js +407 -323
  192. package/dist/components/ic-dialog.js.map +1 -1
  193. package/dist/components/ic-divider2.js +29 -29
  194. package/dist/components/ic-divider2.js.map +1 -1
  195. package/dist/components/ic-empty-state.js +48 -47
  196. package/dist/components/ic-empty-state.js.map +1 -1
  197. package/dist/components/ic-footer-link-group.js +83 -83
  198. package/dist/components/ic-footer-link-group.js.map +1 -1
  199. package/dist/components/ic-footer-link.js +72 -72
  200. package/dist/components/ic-footer-link.js.map +1 -1
  201. package/dist/components/ic-footer.js +109 -109
  202. package/dist/components/ic-footer.js.map +1 -1
  203. package/dist/components/ic-hero.js +99 -95
  204. package/dist/components/ic-hero.js.map +1 -1
  205. package/dist/components/ic-horizontal-scroll2.js +191 -189
  206. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  207. package/dist/components/ic-input-component-container2.js +63 -59
  208. package/dist/components/ic-input-component-container2.js.map +1 -1
  209. package/dist/components/ic-input-container2.js +28 -28
  210. package/dist/components/ic-input-container2.js.map +1 -1
  211. package/dist/components/ic-input-label2.js +63 -61
  212. package/dist/components/ic-input-label2.js.map +1 -1
  213. package/dist/components/ic-input-validation2.js +51 -51
  214. package/dist/components/ic-input-validation2.js.map +1 -1
  215. package/dist/components/ic-link2.js +76 -79
  216. package/dist/components/ic-link2.js.map +1 -1
  217. package/dist/components/ic-loading-indicator2.js +212 -210
  218. package/dist/components/ic-loading-indicator2.js.map +1 -1
  219. package/dist/components/ic-menu-group.js +31 -30
  220. package/dist/components/ic-menu-group.js.map +1 -1
  221. package/dist/components/ic-menu-item2.js +146 -150
  222. package/dist/components/ic-menu-item2.js.map +1 -1
  223. package/dist/components/ic-menu2.js +686 -664
  224. package/dist/components/ic-menu2.js.map +1 -1
  225. package/dist/components/ic-navigation-button.js +122 -119
  226. package/dist/components/ic-navigation-button.js.map +1 -1
  227. package/dist/components/ic-navigation-group.js +309 -288
  228. package/dist/components/ic-navigation-group.js.map +1 -1
  229. package/dist/components/ic-navigation-item.js +196 -175
  230. package/dist/components/ic-navigation-item.js.map +1 -1
  231. package/dist/components/ic-navigation-menu2.js +141 -138
  232. package/dist/components/ic-navigation-menu2.js.map +1 -1
  233. package/dist/components/ic-page-header.js +152 -144
  234. package/dist/components/ic-page-header.js.map +1 -1
  235. package/dist/components/ic-pagination-bar.d.ts +2 -2
  236. package/dist/components/ic-pagination-bar2.js +364 -348
  237. package/dist/components/ic-pagination-bar2.js.map +1 -1
  238. package/dist/components/ic-pagination-item2.js +67 -67
  239. package/dist/components/ic-pagination-item2.js.map +1 -1
  240. package/dist/components/ic-pagination2.js +253 -252
  241. package/dist/components/ic-pagination2.js.map +1 -1
  242. package/dist/components/ic-popover-menu.js +282 -311
  243. package/dist/components/ic-popover-menu.js.map +1 -1
  244. package/dist/components/ic-radio-group.js +205 -153
  245. package/dist/components/ic-radio-group.js.map +1 -1
  246. package/dist/components/ic-radio-option.js +164 -152
  247. package/dist/components/ic-radio-option.js.map +1 -1
  248. package/dist/components/ic-search-bar.js +582 -576
  249. package/dist/components/ic-search-bar.js.map +1 -1
  250. package/dist/components/ic-section-container2.js +31 -31
  251. package/dist/components/ic-section-container2.js.map +1 -1
  252. package/dist/components/ic-select2.js +753 -734
  253. package/dist/components/ic-select2.js.map +1 -1
  254. package/dist/components/ic-side-navigation.js +454 -460
  255. package/dist/components/ic-side-navigation.js.map +1 -1
  256. package/dist/components/ic-skeleton.js +64 -62
  257. package/dist/components/ic-skeleton.js.map +1 -1
  258. package/dist/components/ic-status-tag.js +56 -45
  259. package/dist/components/ic-status-tag.js.map +1 -1
  260. package/dist/components/ic-step.js +158 -157
  261. package/dist/components/ic-step.js.map +1 -1
  262. package/dist/components/ic-stepper.js +224 -221
  263. package/dist/components/ic-stepper.js.map +1 -1
  264. package/dist/components/ic-switch.js +116 -106
  265. package/dist/components/ic-switch.js.map +1 -1
  266. package/dist/components/ic-tab-context.js +271 -271
  267. package/dist/components/ic-tab-context.js.map +1 -1
  268. package/dist/components/ic-tab-group.js +65 -66
  269. package/dist/components/ic-tab-group.js.map +1 -1
  270. package/dist/components/ic-tab-panel.js +49 -48
  271. package/dist/components/ic-tab-panel.js.map +1 -1
  272. package/dist/components/ic-tab.js +113 -113
  273. package/dist/components/ic-tab.js.map +1 -1
  274. package/dist/components/ic-text-field2.js +293 -301
  275. package/dist/components/ic-text-field2.js.map +1 -1
  276. package/dist/components/ic-theme.js +66 -66
  277. package/dist/components/ic-theme.js.map +1 -1
  278. package/dist/components/ic-toast-region.js +63 -47
  279. package/dist/components/ic-toast-region.js.map +1 -1
  280. package/dist/components/ic-toast.js +185 -187
  281. package/dist/components/ic-toast.js.map +1 -1
  282. package/dist/components/ic-toggle-button.js +117 -0
  283. package/dist/components/ic-toggle-button.js.map +1 -0
  284. package/dist/components/ic-tooltip2.js +217 -336
  285. package/dist/components/ic-tooltip2.js.map +1 -1
  286. package/dist/components/ic-top-navigation.js +265 -261
  287. package/dist/components/ic-top-navigation.js.map +1 -1
  288. package/dist/components/ic-typography2.js +143 -135
  289. package/dist/components/ic-typography2.js.map +1 -1
  290. package/dist/components/types.js +6 -6
  291. package/dist/components/types.js.map +1 -1
  292. package/dist/core/core.esm.js +1 -1
  293. package/dist/core/core.esm.js.map +1 -1
  294. package/dist/core/{p-e565964f.entry.js → p-010053ab.entry.js} +2 -2
  295. package/dist/core/p-010053ab.entry.js.map +1 -0
  296. package/dist/core/p-043e4073.entry.js +2 -0
  297. package/dist/core/p-043e4073.entry.js.map +1 -0
  298. package/dist/core/p-0aa1fe4e.entry.js +2 -0
  299. package/dist/core/p-0aa1fe4e.entry.js.map +1 -0
  300. package/dist/core/{p-c2e091d7.js → p-0aa9ce8b.js} +1 -1
  301. package/dist/core/{p-3b185c32.js → p-170ddfc2.js} +1 -1
  302. package/dist/core/{p-7799016a.entry.js → p-1e9f689b.entry.js} +2 -2
  303. package/dist/core/p-1e9f689b.entry.js.map +1 -0
  304. package/dist/core/p-217db3af.entry.js +2 -0
  305. package/dist/core/p-217db3af.entry.js.map +1 -0
  306. package/dist/core/p-234edce6.entry.js +2 -0
  307. package/dist/core/p-234edce6.entry.js.map +1 -0
  308. package/dist/core/{p-4259972b.entry.js → p-24945ee5.entry.js} +2 -2
  309. package/dist/core/p-24945ee5.entry.js.map +1 -0
  310. package/dist/core/p-26ca8030.entry.js +2 -0
  311. package/dist/core/p-26ca8030.entry.js.map +1 -0
  312. package/dist/core/p-2addb040.entry.js +2 -0
  313. package/dist/core/p-2addb040.entry.js.map +1 -0
  314. package/dist/core/p-3294eba4.entry.js +2 -0
  315. package/dist/core/p-3294eba4.entry.js.map +1 -0
  316. package/dist/core/{p-6622567a.entry.js → p-356b8a4c.entry.js} +2 -2
  317. package/dist/core/p-356b8a4c.entry.js.map +1 -0
  318. package/dist/core/p-4119a26b.entry.js +2 -0
  319. package/dist/core/p-4119a26b.entry.js.map +1 -0
  320. package/dist/core/{p-cda2ecbb.entry.js → p-452be32a.entry.js} +2 -2
  321. package/dist/core/p-452be32a.entry.js.map +1 -0
  322. package/dist/core/{p-dcfc7f79.entry.js → p-5332a426.entry.js} +2 -2
  323. package/dist/core/p-5332a426.entry.js.map +1 -0
  324. package/dist/core/p-56645c00.entry.js +2 -0
  325. package/dist/core/p-56645c00.entry.js.map +1 -0
  326. package/dist/core/p-5f8c4c83.entry.js +2 -0
  327. package/dist/core/p-5f8c4c83.entry.js.map +1 -0
  328. package/dist/core/p-61ce24ae.entry.js +2 -0
  329. package/dist/core/p-61ce24ae.entry.js.map +1 -0
  330. package/dist/core/{p-932a1a61.entry.js → p-740a39bd.entry.js} +2 -2
  331. package/dist/core/p-740a39bd.entry.js.map +1 -0
  332. package/dist/core/p-7492d36e.entry.js +2 -0
  333. package/dist/core/p-7492d36e.entry.js.map +1 -0
  334. package/dist/core/p-79b39c8a.entry.js +2 -0
  335. package/dist/core/p-79b39c8a.entry.js.map +1 -0
  336. package/dist/core/p-7a0790e4.entry.js +2 -0
  337. package/dist/core/p-7a0790e4.entry.js.map +1 -0
  338. package/dist/core/p-7b17f3ce.entry.js +2 -0
  339. package/dist/core/p-7b17f3ce.entry.js.map +1 -0
  340. package/dist/core/p-7e0197a4.entry.js +2 -0
  341. package/dist/core/p-7e0197a4.entry.js.map +1 -0
  342. package/dist/core/p-8455d1bb.js +3 -0
  343. package/dist/core/p-8455d1bb.js.map +1 -0
  344. package/dist/core/p-8cde58bf.entry.js +2 -0
  345. package/dist/core/p-8cde58bf.entry.js.map +1 -0
  346. package/dist/core/p-8eaed5b7.entry.js +2 -0
  347. package/dist/core/p-8eaed5b7.entry.js.map +1 -0
  348. package/dist/core/{p-90608dc5.entry.js → p-8fa532e0.entry.js} +2 -2
  349. package/dist/core/p-8fa532e0.entry.js.map +1 -0
  350. package/dist/core/p-93828f0e.entry.js +2 -0
  351. package/dist/core/p-93828f0e.entry.js.map +1 -0
  352. package/dist/core/p-9777ebb1.entry.js +2 -0
  353. package/dist/core/p-9777ebb1.entry.js.map +1 -0
  354. package/dist/core/{p-2d1ba7d5.entry.js → p-99a9ce86.entry.js} +2 -2
  355. package/dist/core/p-99a9ce86.entry.js.map +1 -0
  356. package/dist/core/{p-fd8780e2.entry.js → p-9c6e48fb.entry.js} +2 -2
  357. package/dist/core/p-9c6e48fb.entry.js.map +1 -0
  358. package/dist/core/{p-151cef1f.entry.js → p-9fdd7d73.entry.js} +2 -2
  359. package/dist/core/p-9fdd7d73.entry.js.map +1 -0
  360. package/dist/core/{p-9c792bb9.entry.js → p-a048beab.entry.js} +2 -2
  361. package/dist/core/p-a048beab.entry.js.map +1 -0
  362. package/dist/core/p-a3ab9f4c.entry.js +2 -0
  363. package/dist/core/p-a3ab9f4c.entry.js.map +1 -0
  364. package/dist/core/p-a561980f.entry.js +2 -0
  365. package/dist/core/p-a561980f.entry.js.map +1 -0
  366. package/dist/core/p-a6a90c56.entry.js +2 -0
  367. package/dist/core/p-a6a90c56.entry.js.map +1 -0
  368. package/dist/core/p-a9a378f8.entry.js +2 -0
  369. package/dist/core/p-a9a378f8.entry.js.map +1 -0
  370. package/dist/core/{p-68a5aaff.js → p-aae38bee.js} +1 -1
  371. package/dist/core/p-aae38bee.js.map +1 -0
  372. package/dist/core/p-ae337896.entry.js +2 -0
  373. package/dist/core/p-ae337896.entry.js.map +1 -0
  374. package/dist/core/p-b2aa3d7c.entry.js +2 -0
  375. package/dist/core/p-b2aa3d7c.entry.js.map +1 -0
  376. package/dist/core/{p-8d8ba4d7.entry.js → p-b4591bfe.entry.js} +2 -2
  377. package/dist/core/p-b4591bfe.entry.js.map +1 -0
  378. package/dist/core/p-b7d5ced3.entry.js +2 -0
  379. package/dist/core/p-b7d5ced3.entry.js.map +1 -0
  380. package/dist/core/{p-517968cb.entry.js → p-baf81f30.entry.js} +2 -2
  381. package/dist/core/p-baf81f30.entry.js.map +1 -0
  382. package/dist/core/p-c2884fcd.entry.js +2 -0
  383. package/dist/core/p-c2884fcd.entry.js.map +1 -0
  384. package/dist/core/{p-5536d26c.entry.js → p-c2b5e7b1.entry.js} +2 -2
  385. package/dist/core/p-c2b5e7b1.entry.js.map +1 -0
  386. package/dist/core/p-cae71c32.entry.js +2 -0
  387. package/dist/core/p-cae71c32.entry.js.map +1 -0
  388. package/dist/core/p-cedabab7.entry.js +2 -0
  389. package/dist/core/p-cedabab7.entry.js.map +1 -0
  390. package/dist/core/p-da1f0a53.entry.js +2 -0
  391. package/dist/core/p-da1f0a53.entry.js.map +1 -0
  392. package/dist/core/{p-ed35b2d0.entry.js → p-dbee31af.entry.js} +2 -2
  393. package/dist/core/p-dbee31af.entry.js.map +1 -0
  394. package/dist/core/p-e0102744.js +2 -0
  395. package/dist/core/p-e0102744.js.map +1 -0
  396. package/dist/core/{p-f074ef5b.js → p-e081702e.js} +1 -1
  397. package/dist/core/p-e0d8d7a5.entry.js +2 -0
  398. package/dist/core/p-e0d8d7a5.entry.js.map +1 -0
  399. package/dist/core/{p-b4d2d905.entry.js → p-e189f1d0.entry.js} +2 -2
  400. package/dist/core/p-e189f1d0.entry.js.map +1 -0
  401. package/dist/core/p-e31125df.entry.js +2 -0
  402. package/dist/core/p-e31125df.entry.js.map +1 -0
  403. package/dist/core/{p-426ec638.js → p-ea1ea1b9.js} +1 -1
  404. package/dist/core/{p-b1568cf3.entry.js → p-f2318ddc.entry.js} +2 -2
  405. package/dist/core/p-f2318ddc.entry.js.map +1 -0
  406. package/dist/core/p-f4c11be0.entry.js +2 -0
  407. package/dist/core/p-f4c11be0.entry.js.map +1 -0
  408. package/dist/core/p-f4fb15f9.entry.js +2 -0
  409. package/dist/core/p-f4fb15f9.entry.js.map +1 -0
  410. package/dist/core/p-faaa06d7.entry.js +2 -0
  411. package/dist/core/p-faaa06d7.entry.js.map +1 -0
  412. package/dist/core/p-fc406db5.entry.js +2 -0
  413. package/dist/core/p-fc406db5.entry.js.map +1 -0
  414. package/dist/core/{p-613aa265.js → p-fd186591.js} +1 -1
  415. package/dist/core/p-fd186591.js.map +1 -0
  416. package/dist/core/{p-ba3f9d1b.entry.js → p-fddc7254.entry.js} +2 -2
  417. package/dist/core/p-fddc7254.entry.js.map +1 -0
  418. package/dist/core/p-fff91bd9.entry.js +2 -0
  419. package/dist/core/p-fff91bd9.entry.js.map +1 -0
  420. package/dist/esm/{OpenInNew-cdeed5ce.js → OpenInNew-52210a9d.js} +1 -1
  421. package/dist/esm/OpenInNew-52210a9d.js.map +1 -0
  422. package/dist/esm/{check-icon-4a9f8371.js → check-icon-f2346e76.js} +1 -1
  423. package/dist/esm/check-icon-f2346e76.js.map +1 -0
  424. package/dist/esm/{chevron-icon-589e3b46.js → chevron-icon-875b7af2.js} +1 -1
  425. package/dist/esm/chevron-icon-875b7af2.js.map +1 -0
  426. package/dist/esm/{close-icon-539ec8d1.js → close-icon-c9e09475.js} +1 -1
  427. package/dist/esm/close-icon-c9e09475.js.map +1 -0
  428. package/dist/esm/core.js +4 -4
  429. package/dist/esm/core.js.map +1 -1
  430. package/dist/esm/helpers-229a5574.js +506 -0
  431. package/dist/esm/helpers-229a5574.js.map +1 -0
  432. package/dist/esm/ic-accordion-group.entry.js +90 -0
  433. package/dist/esm/ic-accordion-group.entry.js.map +1 -0
  434. package/dist/esm/ic-accordion.entry.js +115 -0
  435. package/dist/esm/ic-accordion.entry.js.map +1 -0
  436. package/dist/esm/ic-alert.entry.js +59 -59
  437. package/dist/esm/ic-alert.entry.js.map +1 -1
  438. package/dist/esm/ic-back-to-top.entry.js +117 -121
  439. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  440. package/dist/esm/ic-badge.entry.js +156 -0
  441. package/dist/esm/ic-badge.entry.js.map +1 -0
  442. package/dist/esm/ic-breadcrumb-group.entry.js +172 -164
  443. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  444. package/dist/esm/ic-breadcrumb.entry.js +56 -54
  445. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  446. package/dist/esm/ic-button_3.entry.js +647 -715
  447. package/dist/esm/ic-button_3.entry.js.map +1 -1
  448. package/dist/esm/ic-card.entry.js +107 -107
  449. package/dist/esm/ic-card.entry.js.map +1 -1
  450. package/dist/esm/ic-checkbox-group.entry.js +61 -54
  451. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  452. package/dist/esm/ic-checkbox.entry.js +95 -98
  453. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  454. package/dist/esm/ic-chip.entry.js +68 -61
  455. package/dist/esm/ic-chip.entry.js.map +1 -1
  456. package/dist/esm/ic-classification-banner.entry.js +23 -23
  457. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  458. package/dist/esm/ic-data-entity.entry.js +18 -17
  459. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  460. package/dist/esm/ic-data-row.entry.js +75 -74
  461. package/dist/esm/ic-data-row.entry.js.map +1 -1
  462. package/dist/esm/ic-data-table.entry.js +240 -240
  463. package/dist/esm/ic-data-table.entry.js.map +1 -1
  464. package/dist/esm/ic-dialog.entry.js +347 -267
  465. package/dist/esm/ic-dialog.entry.js.map +1 -1
  466. package/dist/esm/ic-divider.entry.js +16 -16
  467. package/dist/esm/ic-divider.entry.js.map +1 -1
  468. package/dist/esm/ic-empty-state.entry.js +24 -23
  469. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  470. package/dist/esm/ic-footer-link-group.entry.js +55 -55
  471. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  472. package/dist/esm/ic-footer-link.entry.js +51 -51
  473. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  474. package/dist/esm/ic-footer.entry.js +78 -78
  475. package/dist/esm/ic-footer.entry.js.map +1 -1
  476. package/dist/esm/ic-hero.entry.js +62 -59
  477. package/dist/esm/ic-hero.entry.js.map +1 -1
  478. package/dist/esm/ic-horizontal-scroll.entry.js +152 -151
  479. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  480. package/dist/esm/ic-input-component-container_3.entry.js +677 -657
  481. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  482. package/dist/esm/ic-input-label_2.entry.js +63 -62
  483. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  484. package/dist/esm/ic-link.entry.js +56 -59
  485. package/dist/esm/ic-link.entry.js.map +1 -1
  486. package/dist/esm/ic-menu-group.entry.js +12 -10
  487. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  488. package/dist/esm/ic-menu-item.entry.js +103 -107
  489. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-button.entry.js +79 -76
  491. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  492. package/dist/esm/ic-navigation-group.entry.js +282 -261
  493. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  494. package/dist/esm/ic-navigation-item.entry.js +155 -134
  495. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  496. package/dist/esm/ic-navigation-menu.entry.js +106 -103
  497. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  498. package/dist/esm/ic-page-header.entry.js +97 -90
  499. package/dist/esm/ic-page-header.entry.js.map +1 -1
  500. package/dist/esm/ic-pagination-bar.entry.js +266 -251
  501. package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
  502. package/dist/esm/ic-pagination_4.entry.js +1077 -1074
  503. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  504. package/dist/esm/ic-popover-menu.entry.js +232 -261
  505. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  506. package/dist/esm/ic-radio-group.entry.js +160 -113
  507. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  508. package/dist/esm/ic-radio-option.entry.js +128 -122
  509. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  510. package/dist/esm/ic-search-bar.entry.js +475 -470
  511. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  512. package/dist/esm/ic-section-container.entry.js +15 -15
  513. package/dist/esm/ic-section-container.entry.js.map +1 -1
  514. package/dist/esm/ic-side-navigation.entry.js +400 -407
  515. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  516. package/dist/esm/ic-skeleton.entry.js +43 -42
  517. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  518. package/dist/esm/ic-status-tag.entry.js +32 -23
  519. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  520. package/dist/esm/ic-step.entry.js +122 -120
  521. package/dist/esm/ic-step.entry.js.map +1 -1
  522. package/dist/esm/ic-stepper.entry.js +200 -197
  523. package/dist/esm/ic-stepper.entry.js.map +1 -1
  524. package/dist/esm/ic-switch.entry.js +78 -71
  525. package/dist/esm/ic-switch.entry.js.map +1 -1
  526. package/dist/esm/ic-tab-context.entry.js +252 -252
  527. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  528. package/dist/esm/ic-tab-group.entry.js +24 -25
  529. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  530. package/dist/esm/ic-tab-panel.entry.js +31 -30
  531. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  532. package/dist/esm/ic-tab.entry.js +86 -86
  533. package/dist/esm/ic-tab.entry.js.map +1 -1
  534. package/dist/esm/ic-theme.entry.js +51 -51
  535. package/dist/esm/ic-theme.entry.js.map +1 -1
  536. package/dist/esm/ic-toast-region.entry.js +47 -34
  537. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  538. package/dist/esm/ic-toast.entry.js +143 -145
  539. package/dist/esm/ic-toast.entry.js.map +1 -1
  540. package/dist/esm/ic-toggle-button.entry.js +65 -0
  541. package/dist/esm/ic-toggle-button.entry.js.map +1 -0
  542. package/dist/esm/ic-top-navigation.entry.js +199 -195
  543. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  544. package/dist/esm/ic-typography.entry.js +119 -111
  545. package/dist/esm/ic-typography.entry.js.map +1 -1
  546. package/dist/{cjs/index-990b968b.js → esm/index-93509377.js} +615 -390
  547. package/dist/esm/index-93509377.js.map +1 -0
  548. package/dist/esm/loader.js +3 -3
  549. package/dist/esm/{popper-0fbeff6d.js → popper-b8cc3f16.js} +1 -1
  550. package/dist/esm/popper-b8cc3f16.js.map +1 -0
  551. package/dist/esm/types-f605c21c.js +16 -0
  552. package/dist/esm/types-f605c21c.js.map +1 -0
  553. package/dist/node.d.ts +12 -0
  554. package/dist/types/components/ic-data-table/ic-data-table.d.ts +92 -92
  555. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +10 -10
  556. package/dist/types/components/ic-data-table/story-data.d.ts +69 -69
  557. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
  558. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +99 -99
  559. package/dist/types/components.d.ts +128 -4642
  560. package/dist/types/interface.d.ts +0 -13
  561. package/dist/types/stencil-public-runtime.d.ts +29 -0
  562. package/dist/types/testspec.setup.d.ts +7 -7
  563. package/dist/types/utils/helpers.d.ts +8 -120
  564. package/hydrate/index.d.ts +2 -2
  565. package/hydrate/index.js +16632 -14199
  566. package/package.json +29 -19
  567. package/dist/cjs/OpenInNew-d5d30e77.js.map +0 -1
  568. package/dist/cjs/check-icon-7225d79b.js.map +0 -1
  569. package/dist/cjs/chevron-icon-3bf07531.js.map +0 -1
  570. package/dist/cjs/close-icon-7f6ef8e4.js.map +0 -1
  571. package/dist/cjs/helpers-d166f875.js +0 -616
  572. package/dist/cjs/helpers-d166f875.js.map +0 -1
  573. package/dist/cjs/index-990b968b.js.map +0 -1
  574. package/dist/cjs/popper-31badbf8.js.map +0 -1
  575. package/dist/cjs/types-7d67439f.js +0 -16
  576. package/dist/cjs/types-7d67439f.js.map +0 -1
  577. package/dist/collection/components/ic-alert/ic-alert.css +0 -616
  578. package/dist/collection/components/ic-alert/ic-alert.js +0 -244
  579. package/dist/collection/components/ic-alert/ic-alert.js.map +0 -1
  580. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +0 -11
  581. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +0 -1
  582. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +0 -16
  583. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +0 -1
  584. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -182
  585. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
  586. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +0 -3
  587. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +0 -542
  588. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +0 -171
  589. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +0 -1
  590. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +0 -28
  591. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +0 -1
  592. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +0 -68
  593. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +0 -1
  594. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -123
  595. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
  596. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +0 -100
  597. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +0 -170
  598. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +0 -1
  599. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
  600. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
  601. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -118
  602. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
  603. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +0 -36
  604. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +0 -234
  605. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +0 -1
  606. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +0 -21
  607. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +0 -1
  608. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +0 -35
  609. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +0 -1
  610. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +0 -41
  611. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +0 -1
  612. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -181
  613. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
  614. package/dist/collection/components/ic-button/ic-button.css +0 -879
  615. package/dist/collection/components/ic-button/ic-button.js +0 -769
  616. package/dist/collection/components/ic-button/ic-button.js.map +0 -1
  617. package/dist/collection/components/ic-button/ic-button.types.js +0 -2
  618. package/dist/collection/components/ic-button/ic-button.types.js.map +0 -1
  619. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +0 -11
  620. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +0 -1
  621. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +0 -198
  622. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +0 -1
  623. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -271
  624. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
  625. package/dist/collection/components/ic-card/ic-card.css +0 -620
  626. package/dist/collection/components/ic-card/ic-card.js +0 -402
  627. package/dist/collection/components/ic-card/ic-card.js.map +0 -1
  628. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +0 -21
  629. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +0 -1
  630. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +0 -23
  631. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +0 -1
  632. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +0 -152
  633. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
  634. package/dist/collection/components/ic-checkbox/ic-checkbox.css +0 -675
  635. package/dist/collection/components/ic-checkbox/ic-checkbox.js +0 -390
  636. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +0 -1
  637. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +0 -482
  638. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +0 -298
  639. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +0 -1
  640. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +0 -2
  641. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +0 -1
  642. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +0 -16
  643. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +0 -1
  644. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +0 -201
  645. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +0 -1
  646. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -203
  647. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
  648. package/dist/collection/components/ic-chip/ic-chip.css +0 -597
  649. package/dist/collection/components/ic-chip/ic-chip.js +0 -253
  650. package/dist/collection/components/ic-chip/ic-chip.js.map +0 -1
  651. package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
  652. package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
  653. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +0 -11
  654. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +0 -1
  655. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -110
  656. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
  657. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +0 -504
  658. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +0 -142
  659. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +0 -1
  660. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +0 -2
  661. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +0 -1
  662. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +0 -11
  663. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +0 -1
  664. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -140
  665. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
  666. package/dist/collection/components/ic-data-entity/ic-data-entity.css +0 -474
  667. package/dist/collection/components/ic-data-entity/ic-data-entity.js +0 -70
  668. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
  669. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +0 -11
  670. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +0 -1
  671. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +0 -161
  672. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
  673. package/dist/collection/components/ic-data-row/ic-data-row.css +0 -525
  674. package/dist/collection/components/ic-data-row/ic-data-row.js +0 -157
  675. package/dist/collection/components/ic-data-row/ic-data-row.js.map +0 -1
  676. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +0 -18
  677. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +0 -1
  678. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
  679. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
  680. package/dist/collection/components/ic-dialog/ic-dialog.css +0 -592
  681. package/dist/collection/components/ic-dialog/ic-dialog.js +0 -649
  682. package/dist/collection/components/ic-dialog/ic-dialog.js.map +0 -1
  683. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +0 -28
  684. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +0 -1
  685. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +0 -207
  686. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +0 -1
  687. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -520
  688. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
  689. package/dist/collection/components/ic-divider/ic-divider.css +0 -11
  690. package/dist/collection/components/ic-divider/ic-divider.js +0 -44
  691. package/dist/collection/components/ic-divider/ic-divider.js.map +0 -1
  692. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -24
  693. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
  694. package/dist/collection/components/ic-empty-state/ic-empty-state.css +0 -49
  695. package/dist/collection/components/ic-empty-state/ic-empty-state.js +0 -160
  696. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +0 -1
  697. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +0 -2
  698. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +0 -1
  699. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +0 -38
  700. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +0 -1
  701. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +0 -86
  702. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +0 -1
  703. package/dist/collection/components/ic-footer/ic-footer.css +0 -543
  704. package/dist/collection/components/ic-footer/ic-footer.js +0 -257
  705. package/dist/collection/components/ic-footer/ic-footer.js.map +0 -1
  706. package/dist/collection/components/ic-footer/ic-footer.types.js +0 -2
  707. package/dist/collection/components/ic-footer/ic-footer.types.js.map +0 -1
  708. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +0 -21
  709. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +0 -1
  710. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +0 -50
  711. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +0 -1
  712. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -140
  713. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
  714. package/dist/collection/components/ic-footer-link/ic-footer-link.css +0 -612
  715. package/dist/collection/components/ic-footer-link/ic-footer-link.js +0 -201
  716. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +0 -1
  717. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +0 -21
  718. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +0 -1
  719. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -62
  720. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
  721. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +0 -522
  722. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +0 -114
  723. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +0 -1
  724. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +0 -21
  725. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +0 -1
  726. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -98
  727. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
  728. package/dist/collection/components/ic-hero/ic-hero.css +0 -726
  729. package/dist/collection/components/ic-hero/ic-hero.js +0 -277
  730. package/dist/collection/components/ic-hero/ic-hero.js.map +0 -1
  731. package/dist/collection/components/ic-hero/ic-hero.types.js +0 -2
  732. package/dist/collection/components/ic-hero/ic-hero.types.js.map +0 -1
  733. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +0 -11
  734. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +0 -1
  735. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -76
  736. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
  737. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +0 -3
  738. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +0 -3
  739. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +0 -535
  740. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +0 -234
  741. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +0 -1
  742. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +0 -34
  743. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +0 -1
  744. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -180
  745. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
  746. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +0 -166
  747. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +0 -209
  748. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +0 -1
  749. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -117
  750. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
  751. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -4
  752. package/dist/collection/components/ic-input-container/ic-input-container.js +0 -66
  753. package/dist/collection/components/ic-input-container/ic-input-container.js.map +0 -1
  754. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
  755. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
  756. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -35
  757. package/dist/collection/components/ic-input-label/ic-input-label.js +0 -194
  758. package/dist/collection/components/ic-input-label/ic-input-label.js.map +0 -1
  759. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -98
  760. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
  761. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -34
  762. package/dist/collection/components/ic-input-validation/ic-input-validation.js +0 -154
  763. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +0 -1
  764. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +0 -2
  765. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +0 -1
  766. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
  767. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
  768. package/dist/collection/components/ic-link/ic-link.css +0 -558
  769. package/dist/collection/components/ic-link/ic-link.js +0 -267
  770. package/dist/collection/components/ic-link/ic-link.js.map +0 -1
  771. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +0 -11
  772. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +0 -1
  773. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -203
  774. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
  775. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +0 -663
  776. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +0 -426
  777. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +0 -1
  778. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +0 -2
  779. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +0 -1
  780. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  781. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  782. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  783. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  784. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -141
  785. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
  786. package/dist/collection/components/ic-menu/ic-menu.css +0 -646
  787. package/dist/collection/components/ic-menu/ic-menu.js +0 -1209
  788. package/dist/collection/components/ic-menu/ic-menu.js.map +0 -1
  789. package/dist/collection/components/ic-menu/ic-menu.types.js +0 -2
  790. package/dist/collection/components/ic-menu/ic-menu.types.js.map +0 -1
  791. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -668
  792. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
  793. package/dist/collection/components/ic-menu-group/ic-menu-group.css +0 -465
  794. package/dist/collection/components/ic-menu-group/ic-menu-group.js +0 -45
  795. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +0 -1
  796. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
  797. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
  798. package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -628
  799. package/dist/collection/components/ic-menu-item/ic-menu-item.js +0 -396
  800. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +0 -1
  801. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +0 -2
  802. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +0 -1
  803. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -108
  804. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
  805. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +0 -457
  806. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +0 -273
  807. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +0 -1
  808. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +0 -2
  809. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +0 -1
  810. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -84
  811. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
  812. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -647
  813. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +0 -380
  814. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +0 -1
  815. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +0 -18
  816. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +0 -1
  817. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
  818. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
  819. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +0 -1028
  820. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +0 -446
  821. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +0 -1
  822. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +0 -18
  823. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +0 -1
  824. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -118
  825. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
  826. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +0 -92
  827. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +0 -202
  828. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +0 -1
  829. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +0 -29
  830. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +0 -1
  831. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
  832. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
  833. package/dist/collection/components/ic-page-header/ic-page-header.css +0 -582
  834. package/dist/collection/components/ic-page-header/ic-page-header.js +0 -273
  835. package/dist/collection/components/ic-page-header/ic-page-header.js.map +0 -1
  836. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +0 -13
  837. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +0 -1
  838. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +0 -177
  839. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +0 -1
  840. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -284
  841. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
  842. package/dist/collection/components/ic-pagination/ic-pagination.css +0 -486
  843. package/dist/collection/components/ic-pagination/ic-pagination.js +0 -502
  844. package/dist/collection/components/ic-pagination/ic-pagination.js.map +0 -1
  845. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +0 -11
  846. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +0 -1
  847. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +0 -128
  848. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +0 -1
  849. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -335
  850. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
  851. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +0 -581
  852. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +0 -231
  853. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +0 -1
  854. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +0 -2
  855. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +0 -1
  856. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -548
  857. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +0 -488
  858. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +0 -1
  859. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
  860. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
  861. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -30
  862. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
  863. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -395
  864. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
  865. package/dist/collection/components/ic-radio-group/ic-radio-group.css +0 -486
  866. package/dist/collection/components/ic-radio-group/ic-radio-group.js +0 -366
  867. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +0 -1
  868. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +0 -2
  869. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +0 -1
  870. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +0 -16
  871. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +0 -1
  872. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +0 -343
  873. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +0 -1
  874. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -303
  875. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
  876. package/dist/collection/components/ic-radio-option/ic-radio-option.css +0 -654
  877. package/dist/collection/components/ic-radio-option/ic-radio-option.js +0 -388
  878. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +0 -1
  879. package/dist/collection/components/ic-search-bar/ic-search-bar.css +0 -560
  880. package/dist/collection/components/ic-search-bar/ic-search-bar.js +0 -1386
  881. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +0 -1
  882. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +0 -2
  883. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +0 -1
  884. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +0 -11
  885. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +0 -1
  886. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +0 -1118
  887. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +0 -1
  888. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -584
  889. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
  890. package/dist/collection/components/ic-section-container/ic-section-container.css +0 -514
  891. package/dist/collection/components/ic-section-container/ic-section-container.js +0 -75
  892. package/dist/collection/components/ic-section-container/ic-section-container.js.map +0 -1
  893. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
  894. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
  895. package/dist/collection/components/ic-select/assets/Check.svg +0 -3
  896. package/dist/collection/components/ic-select/assets/Clear.svg +0 -3
  897. package/dist/collection/components/ic-select/assets/Expand.svg +0 -3
  898. package/dist/collection/components/ic-select/ic-select.css +0 -670
  899. package/dist/collection/components/ic-select/ic-select.js +0 -1348
  900. package/dist/collection/components/ic-select/ic-select.js.map +0 -1
  901. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +0 -28
  902. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +0 -1
  903. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +0 -1798
  904. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +0 -1
  905. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1344
  906. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
  907. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -635
  908. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +0 -638
  909. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +0 -1
  910. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +0 -2
  911. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +0 -1
  912. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +0 -14
  913. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +0 -1
  914. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +0 -411
  915. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +0 -1
  916. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +0 -432
  917. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +0 -1
  918. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -470
  919. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
  920. package/dist/collection/components/ic-skeleton/ic-skeleton.css +0 -503
  921. package/dist/collection/components/ic-skeleton/ic-skeleton.js +0 -113
  922. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +0 -1
  923. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +0 -2
  924. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +0 -1
  925. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +0 -11
  926. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +0 -1
  927. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
  928. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
  929. package/dist/collection/components/ic-status-tag/ic-status-tag.css +0 -504
  930. package/dist/collection/components/ic-status-tag/ic-status-tag.js +0 -140
  931. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +0 -1
  932. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +0 -2
  933. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +0 -1
  934. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +0 -11
  935. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +0 -1
  936. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -43
  937. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
  938. package/dist/collection/components/ic-step/ic-step.css +0 -278
  939. package/dist/collection/components/ic-step/ic-step.js +0 -398
  940. package/dist/collection/components/ic-step/ic-step.js.map +0 -1
  941. package/dist/collection/components/ic-step/ic-step.types.js +0 -2
  942. package/dist/collection/components/ic-step/ic-step.types.js.map +0 -1
  943. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
  944. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
  945. package/dist/collection/components/ic-stepper/ic-stepper.css +0 -28
  946. package/dist/collection/components/ic-stepper/ic-stepper.js +0 -319
  947. package/dist/collection/components/ic-stepper/ic-stepper.js.map +0 -1
  948. package/dist/collection/components/ic-stepper/ic-stepper.types.js +0 -2
  949. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +0 -1
  950. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +0 -36
  951. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +0 -1
  952. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +0 -74
  953. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +0 -1
  954. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +0 -49
  955. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +0 -1
  956. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -706
  957. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
  958. package/dist/collection/components/ic-switch/ic-switch.css +0 -656
  959. package/dist/collection/components/ic-switch/ic-switch.js +0 -331
  960. package/dist/collection/components/ic-switch/ic-switch.js.map +0 -1
  961. package/dist/collection/components/ic-switch/ic-switch.types.js +0 -2
  962. package/dist/collection/components/ic-switch/ic-switch.types.js.map +0 -1
  963. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +0 -11
  964. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +0 -1
  965. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -104
  966. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
  967. package/dist/collection/components/ic-tab/ic-tab.css +0 -521
  968. package/dist/collection/components/ic-tab/ic-tab.js +0 -366
  969. package/dist/collection/components/ic-tab/ic-tab.js.map +0 -1
  970. package/dist/collection/components/ic-tab/ic-tab.types.js +0 -2
  971. package/dist/collection/components/ic-tab/ic-tab.types.js.map +0 -1
  972. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +0 -32
  973. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +0 -1
  974. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -159
  975. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
  976. package/dist/collection/components/ic-tab-context/ic-tab-context.js +0 -456
  977. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +0 -1
  978. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +0 -19
  979. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +0 -1
  980. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +0 -317
  981. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +0 -1
  982. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
  983. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
  984. package/dist/collection/components/ic-tab-group/ic-tab-group.css +0 -25
  985. package/dist/collection/components/ic-tab-group/ic-tab-group.js +0 -125
  986. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +0 -1
  987. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -7
  988. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +0 -198
  989. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +0 -1
  990. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -65
  991. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
  992. package/dist/collection/components/ic-text-field/ic-text-field.css +0 -558
  993. package/dist/collection/components/ic-text-field/ic-text-field.js +0 -1120
  994. package/dist/collection/components/ic-text-field/ic-text-field.js.map +0 -1
  995. package/dist/collection/components/ic-text-field/ic-text-field.types.js +0 -2
  996. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +0 -1
  997. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +0 -33
  998. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +0 -1
  999. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +0 -98
  1000. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +0 -1
  1001. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -236
  1002. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
  1003. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -310
  1004. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
  1005. package/dist/collection/components/ic-theme/ic-theme.js +0 -107
  1006. package/dist/collection/components/ic-theme/ic-theme.js.map +0 -1
  1007. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
  1008. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
  1009. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -77
  1010. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
  1011. package/dist/collection/components/ic-toast/ic-toast.css +0 -602
  1012. package/dist/collection/components/ic-toast/ic-toast.js +0 -390
  1013. package/dist/collection/components/ic-toast/ic-toast.js.map +0 -1
  1014. package/dist/collection/components/ic-toast/ic-toast.types.js +0 -2
  1015. package/dist/collection/components/ic-toast/ic-toast.types.js.map +0 -1
  1016. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +0 -16
  1017. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +0 -1
  1018. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +0 -82
  1019. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +0 -1
  1020. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -278
  1021. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
  1022. package/dist/collection/components/ic-toast-region/ic-toast-region.js +0 -83
  1023. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +0 -1
  1024. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -62
  1025. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
  1026. package/dist/collection/components/ic-tooltip/ic-tooltip.css +0 -572
  1027. package/dist/collection/components/ic-tooltip/ic-tooltip.js +0 -472
  1028. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +0 -1
  1029. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +0 -2
  1030. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +0 -1
  1031. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +0 -15
  1032. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +0 -1
  1033. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +0 -117
  1034. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +0 -1
  1035. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -287
  1036. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
  1037. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +0 -737
  1038. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +0 -440
  1039. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +0 -1
  1040. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +0 -30
  1041. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +0 -1
  1042. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +0 -61
  1043. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +0 -1
  1044. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +0 -242
  1045. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +0 -1
  1046. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -299
  1047. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
  1048. package/dist/collection/components/ic-typography/ic-typography.css +0 -627
  1049. package/dist/collection/components/ic-typography/ic-typography.js +0 -272
  1050. package/dist/collection/components/ic-typography/ic-typography.js.map +0 -1
  1051. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +0 -11
  1052. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +0 -1
  1053. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +0 -39
  1054. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +0 -1
  1055. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -324
  1056. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
  1057. package/dist/collection/utils/constants.js +0 -81
  1058. package/dist/collection/utils/constants.js.map +0 -1
  1059. package/dist/collection/utils/types.js +0 -13
  1060. package/dist/collection/utils/types.js.map +0 -1
  1061. package/dist/components/ic-alert.d.ts +0 -11
  1062. package/dist/components/ic-back-to-top.d.ts +0 -11
  1063. package/dist/components/ic-breadcrumb-group.d.ts +0 -11
  1064. package/dist/components/ic-breadcrumb.d.ts +0 -11
  1065. package/dist/components/ic-button.d.ts +0 -11
  1066. package/dist/components/ic-card.d.ts +0 -11
  1067. package/dist/components/ic-checkbox-group.d.ts +0 -11
  1068. package/dist/components/ic-checkbox.d.ts +0 -11
  1069. package/dist/components/ic-chip.d.ts +0 -11
  1070. package/dist/components/ic-classification-banner.d.ts +0 -11
  1071. package/dist/components/ic-data-entity.d.ts +0 -11
  1072. package/dist/components/ic-data-row.d.ts +0 -11
  1073. package/dist/components/ic-dialog.d.ts +0 -11
  1074. package/dist/components/ic-divider.d.ts +0 -11
  1075. package/dist/components/ic-empty-state.d.ts +0 -11
  1076. package/dist/components/ic-footer-link-group.d.ts +0 -11
  1077. package/dist/components/ic-footer-link.d.ts +0 -11
  1078. package/dist/components/ic-footer.d.ts +0 -11
  1079. package/dist/components/ic-hero.d.ts +0 -11
  1080. package/dist/components/ic-horizontal-scroll.d.ts +0 -11
  1081. package/dist/components/ic-input-component-container.d.ts +0 -11
  1082. package/dist/components/ic-input-container.d.ts +0 -11
  1083. package/dist/components/ic-input-label.d.ts +0 -11
  1084. package/dist/components/ic-input-validation.d.ts +0 -11
  1085. package/dist/components/ic-link.d.ts +0 -11
  1086. package/dist/components/ic-loading-indicator.d.ts +0 -11
  1087. package/dist/components/ic-menu-group.d.ts +0 -11
  1088. package/dist/components/ic-menu-item.d.ts +0 -11
  1089. package/dist/components/ic-menu.d.ts +0 -11
  1090. package/dist/components/ic-navigation-button.d.ts +0 -11
  1091. package/dist/components/ic-navigation-group.d.ts +0 -11
  1092. package/dist/components/ic-navigation-item.d.ts +0 -11
  1093. package/dist/components/ic-navigation-menu.d.ts +0 -11
  1094. package/dist/components/ic-page-header.d.ts +0 -11
  1095. package/dist/components/ic-pagination-item.d.ts +0 -11
  1096. package/dist/components/ic-pagination.d.ts +0 -11
  1097. package/dist/components/ic-popover-menu.d.ts +0 -11
  1098. package/dist/components/ic-radio-group.d.ts +0 -11
  1099. package/dist/components/ic-radio-option.d.ts +0 -11
  1100. package/dist/components/ic-search-bar.d.ts +0 -11
  1101. package/dist/components/ic-section-container.d.ts +0 -11
  1102. package/dist/components/ic-select.d.ts +0 -11
  1103. package/dist/components/ic-side-navigation.d.ts +0 -11
  1104. package/dist/components/ic-skeleton.d.ts +0 -11
  1105. package/dist/components/ic-status-tag.d.ts +0 -11
  1106. package/dist/components/ic-step.d.ts +0 -11
  1107. package/dist/components/ic-stepper.d.ts +0 -11
  1108. package/dist/components/ic-switch.d.ts +0 -11
  1109. package/dist/components/ic-tab-context.d.ts +0 -11
  1110. package/dist/components/ic-tab-group.d.ts +0 -11
  1111. package/dist/components/ic-tab-panel.d.ts +0 -11
  1112. package/dist/components/ic-tab.d.ts +0 -11
  1113. package/dist/components/ic-text-field.d.ts +0 -11
  1114. package/dist/components/ic-theme.d.ts +0 -11
  1115. package/dist/components/ic-toast-region.d.ts +0 -11
  1116. package/dist/components/ic-toast.d.ts +0 -11
  1117. package/dist/components/ic-tooltip.d.ts +0 -11
  1118. package/dist/components/ic-top-navigation.d.ts +0 -11
  1119. package/dist/components/ic-typography.d.ts +0 -11
  1120. package/dist/core/p-00f7f8e8.entry.js +0 -2
  1121. package/dist/core/p-00f7f8e8.entry.js.map +0 -1
  1122. package/dist/core/p-03935e89.js +0 -3
  1123. package/dist/core/p-03935e89.js.map +0 -1
  1124. package/dist/core/p-061283d4.entry.js +0 -2
  1125. package/dist/core/p-061283d4.entry.js.map +0 -1
  1126. package/dist/core/p-0729b492.entry.js +0 -2
  1127. package/dist/core/p-0729b492.entry.js.map +0 -1
  1128. package/dist/core/p-0929b7c4.entry.js +0 -2
  1129. package/dist/core/p-0929b7c4.entry.js.map +0 -1
  1130. package/dist/core/p-0eba1ec4.entry.js +0 -2
  1131. package/dist/core/p-0eba1ec4.entry.js.map +0 -1
  1132. package/dist/core/p-12d99423.entry.js +0 -2
  1133. package/dist/core/p-12d99423.entry.js.map +0 -1
  1134. package/dist/core/p-151cef1f.entry.js.map +0 -1
  1135. package/dist/core/p-241baaac.entry.js +0 -2
  1136. package/dist/core/p-241baaac.entry.js.map +0 -1
  1137. package/dist/core/p-2d1ba7d5.entry.js.map +0 -1
  1138. package/dist/core/p-2f737489.entry.js +0 -2
  1139. package/dist/core/p-2f737489.entry.js.map +0 -1
  1140. package/dist/core/p-385ae861.entry.js +0 -2
  1141. package/dist/core/p-385ae861.entry.js.map +0 -1
  1142. package/dist/core/p-3c50e682.entry.js +0 -2
  1143. package/dist/core/p-3c50e682.entry.js.map +0 -1
  1144. package/dist/core/p-3c545222.entry.js +0 -2
  1145. package/dist/core/p-3c545222.entry.js.map +0 -1
  1146. package/dist/core/p-3e3afba6.entry.js +0 -2
  1147. package/dist/core/p-3e3afba6.entry.js.map +0 -1
  1148. package/dist/core/p-4259972b.entry.js.map +0 -1
  1149. package/dist/core/p-4ec6d80b.entry.js +0 -2
  1150. package/dist/core/p-4ec6d80b.entry.js.map +0 -1
  1151. package/dist/core/p-517968cb.entry.js.map +0 -1
  1152. package/dist/core/p-55127131.entry.js +0 -2
  1153. package/dist/core/p-55127131.entry.js.map +0 -1
  1154. package/dist/core/p-5536d26c.entry.js.map +0 -1
  1155. package/dist/core/p-5b39831f.entry.js +0 -2
  1156. package/dist/core/p-5b39831f.entry.js.map +0 -1
  1157. package/dist/core/p-613aa265.js.map +0 -1
  1158. package/dist/core/p-649442b9.entry.js +0 -2
  1159. package/dist/core/p-649442b9.entry.js.map +0 -1
  1160. package/dist/core/p-65a1ff78.entry.js +0 -2
  1161. package/dist/core/p-65a1ff78.entry.js.map +0 -1
  1162. package/dist/core/p-6622567a.entry.js.map +0 -1
  1163. package/dist/core/p-689a5bb3.entry.js +0 -2
  1164. package/dist/core/p-689a5bb3.entry.js.map +0 -1
  1165. package/dist/core/p-68a5aaff.js.map +0 -1
  1166. package/dist/core/p-6da62e08.entry.js +0 -2
  1167. package/dist/core/p-6da62e08.entry.js.map +0 -1
  1168. package/dist/core/p-72815d65.entry.js +0 -2
  1169. package/dist/core/p-72815d65.entry.js.map +0 -1
  1170. package/dist/core/p-7799016a.entry.js.map +0 -1
  1171. package/dist/core/p-786020b0.entry.js +0 -2
  1172. package/dist/core/p-786020b0.entry.js.map +0 -1
  1173. package/dist/core/p-892ddab1.entry.js +0 -2
  1174. package/dist/core/p-892ddab1.entry.js.map +0 -1
  1175. package/dist/core/p-8a4c5eb8.entry.js +0 -2
  1176. package/dist/core/p-8a4c5eb8.entry.js.map +0 -1
  1177. package/dist/core/p-8d8ba4d7.entry.js.map +0 -1
  1178. package/dist/core/p-90608dc5.entry.js.map +0 -1
  1179. package/dist/core/p-932a1a61.entry.js.map +0 -1
  1180. package/dist/core/p-94f255ff.entry.js +0 -2
  1181. package/dist/core/p-94f255ff.entry.js.map +0 -1
  1182. package/dist/core/p-9c792bb9.entry.js.map +0 -1
  1183. package/dist/core/p-a10968a4.entry.js +0 -2
  1184. package/dist/core/p-a10968a4.entry.js.map +0 -1
  1185. package/dist/core/p-a471cf70.entry.js +0 -2
  1186. package/dist/core/p-a471cf70.entry.js.map +0 -1
  1187. package/dist/core/p-a7c7d85a.entry.js +0 -2
  1188. package/dist/core/p-a7c7d85a.entry.js.map +0 -1
  1189. package/dist/core/p-b1568cf3.entry.js.map +0 -1
  1190. package/dist/core/p-b4d2d905.entry.js.map +0 -1
  1191. package/dist/core/p-ba27b1e2.js +0 -2
  1192. package/dist/core/p-ba27b1e2.js.map +0 -1
  1193. package/dist/core/p-ba3f9d1b.entry.js.map +0 -1
  1194. package/dist/core/p-c2281c7d.entry.js +0 -2
  1195. package/dist/core/p-c2281c7d.entry.js.map +0 -1
  1196. package/dist/core/p-c95e4edb.entry.js +0 -2
  1197. package/dist/core/p-c95e4edb.entry.js.map +0 -1
  1198. package/dist/core/p-cda2ecbb.entry.js.map +0 -1
  1199. package/dist/core/p-ced76d36.entry.js +0 -2
  1200. package/dist/core/p-ced76d36.entry.js.map +0 -1
  1201. package/dist/core/p-dcfc7f79.entry.js.map +0 -1
  1202. package/dist/core/p-de37ac0e.entry.js +0 -2
  1203. package/dist/core/p-de37ac0e.entry.js.map +0 -1
  1204. package/dist/core/p-e565964f.entry.js.map +0 -1
  1205. package/dist/core/p-e6028d7a.entry.js +0 -2
  1206. package/dist/core/p-e6028d7a.entry.js.map +0 -1
  1207. package/dist/core/p-ebd83ea6.entry.js +0 -2
  1208. package/dist/core/p-ebd83ea6.entry.js.map +0 -1
  1209. package/dist/core/p-ed35b2d0.entry.js.map +0 -1
  1210. package/dist/core/p-f8d7bda8.entry.js +0 -2
  1211. package/dist/core/p-f8d7bda8.entry.js.map +0 -1
  1212. package/dist/core/p-fd8780e2.entry.js.map +0 -1
  1213. package/dist/esm/OpenInNew-cdeed5ce.js.map +0 -1
  1214. package/dist/esm/check-icon-4a9f8371.js.map +0 -1
  1215. package/dist/esm/chevron-icon-589e3b46.js.map +0 -1
  1216. package/dist/esm/close-icon-539ec8d1.js.map +0 -1
  1217. package/dist/esm/helpers-10f9f399.js +0 -569
  1218. package/dist/esm/helpers-10f9f399.js.map +0 -1
  1219. package/dist/esm/index-5e4f5b3b.js.map +0 -1
  1220. package/dist/esm/popper-0fbeff6d.js.map +0 -1
  1221. package/dist/esm/types-b2398b37.js +0 -16
  1222. package/dist/esm/types-b2398b37.js.map +0 -1
  1223. package/dist/types/components/ic-alert/ic-alert.d.ts +0 -48
  1224. package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +0 -1
  1225. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -25
  1226. package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +0 -1
  1227. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +0 -30
  1228. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
  1229. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +0 -40
  1230. package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +0 -1
  1231. package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +0 -2
  1232. package/dist/types/components/ic-button/ic-button.d.ts +0 -140
  1233. package/dist/types/components/ic-button/ic-button.types.d.ts +0 -3
  1234. package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +0 -1
  1235. package/dist/types/components/ic-card/ic-card.d.ts +0 -83
  1236. package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +0 -1
  1237. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -72
  1238. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -54
  1239. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +0 -8
  1240. package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +0 -1
  1241. package/dist/types/components/ic-chip/ic-chip.d.ts +0 -50
  1242. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  1243. package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +0 -1
  1244. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +0 -24
  1245. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +0 -1
  1246. package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +0 -1
  1247. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -12
  1248. package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +0 -1
  1249. package/dist/types/components/ic-data-row/ic-data-row.d.ts +0 -37
  1250. package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +0 -1
  1251. package/dist/types/components/ic-dialog/ic-dialog.d.ts +0 -123
  1252. package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +0 -1
  1253. package/dist/types/components/ic-divider/ic-divider.d.ts +0 -6
  1254. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -35
  1255. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +0 -1
  1256. package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +0 -1
  1257. package/dist/types/components/ic-footer/ic-footer.d.ts +0 -52
  1258. package/dist/types/components/ic-footer/ic-footer.types.d.ts +0 -1
  1259. package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +0 -1
  1260. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +0 -41
  1261. package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +0 -1
  1262. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +0 -19
  1263. package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +0 -1
  1264. package/dist/types/components/ic-hero/ic-hero.d.ts +0 -57
  1265. package/dist/types/components/ic-hero/ic-hero.types.d.ts +0 -1
  1266. package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +0 -1
  1267. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +0 -40
  1268. package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +0 -1
  1269. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -40
  1270. package/dist/types/components/ic-input-container/ic-input-container.d.ts +0 -11
  1271. package/dist/types/components/ic-input-label/ic-input-label.d.ts +0 -36
  1272. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +0 -30
  1273. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +0 -1
  1274. package/dist/types/components/ic-link/ic-link.d.ts +0 -50
  1275. package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +0 -1
  1276. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +0 -80
  1277. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +0 -7
  1278. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  1279. package/dist/types/components/ic-menu/ic-menu.d.ts +0 -175
  1280. package/dist/types/components/ic-menu/ic-menu.types.d.ts +0 -12
  1281. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +0 -8
  1282. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +0 -74
  1283. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +0 -1
  1284. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +0 -54
  1285. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +0 -1
  1286. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +0 -63
  1287. package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +0 -1
  1288. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +0 -85
  1289. package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +0 -1
  1290. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +0 -36
  1291. package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -57
  1292. package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +0 -1
  1293. package/dist/types/components/ic-pagination/ic-pagination.d.ts +0 -82
  1294. package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +0 -1
  1295. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +0 -47
  1296. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +0 -1
  1297. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +0 -62
  1298. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
  1299. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -60
  1300. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +0 -7
  1301. package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +0 -1
  1302. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -70
  1303. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +0 -251
  1304. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +0 -5
  1305. package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +0 -1
  1306. package/dist/types/components/ic-section-container/ic-section-container.d.ts +0 -12
  1307. package/dist/types/components/ic-select/ic-select.d.ts +0 -240
  1308. package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +0 -1
  1309. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +0 -101
  1310. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +0 -9
  1311. package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +0 -1
  1312. package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +0 -6
  1313. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -18
  1314. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +0 -1
  1315. package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +0 -1
  1316. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +0 -25
  1317. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -2
  1318. package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +0 -1
  1319. package/dist/types/components/ic-step/ic-step.d.ts +0 -54
  1320. package/dist/types/components/ic-step/ic-step.types.d.ts +0 -3
  1321. package/dist/types/components/ic-stepper/ic-stepper.d.ts +0 -43
  1322. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +0 -1
  1323. package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +0 -1
  1324. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +0 -4
  1325. package/dist/types/components/ic-switch/ic-switch.d.ts +0 -75
  1326. package/dist/types/components/ic-switch/ic-switch.types.d.ts +0 -4
  1327. package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +0 -1
  1328. package/dist/types/components/ic-tab/ic-tab.d.ts +0 -59
  1329. package/dist/types/components/ic-tab/ic-tab.types.d.ts +0 -8
  1330. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +0 -64
  1331. package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +0 -1
  1332. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +0 -23
  1333. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +0 -37
  1334. package/dist/types/components/ic-text-field/ic-text-field.d.ts +0 -217
  1335. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +0 -3
  1336. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +0 -1
  1337. package/dist/types/components/ic-theme/ic-theme.d.ts +0 -18
  1338. package/dist/types/components/ic-toast/ic-toast.d.ts +0 -66
  1339. package/dist/types/components/ic-toast/ic-toast.types.d.ts +0 -1
  1340. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +0 -1
  1341. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -12
  1342. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +0 -60
  1343. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +0 -1
  1344. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +0 -1
  1345. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +0 -84
  1346. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +0 -1
  1347. package/dist/types/components/ic-typography/ic-typography.d.ts +0 -57
  1348. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +0 -1
  1349. package/dist/types/utils/constants.d.ts +0 -38
  1350. package/dist/types/utils/types.d.ts +0 -74
  1351. /package/dist/core/{p-3b185c32.js.map → p-0aa9ce8b.js.map} +0 -0
  1352. /package/dist/core/{p-426ec638.js.map → p-170ddfc2.js.map} +0 -0
  1353. /package/dist/core/{p-c2e091d7.js.map → p-e081702e.js.map} +0 -0
  1354. /package/dist/core/{p-f074ef5b.js.map → p-ea1ea1b9.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as closeIcon } from './close-icon.js';
3
- import { i as isSlotUsed, V as VARIANT_ICONS, o as onComponentRequiredPropUndefined, K as getSlot } from './helpers.js';
3
+ import { i as isSlotUsed, V as VARIANT_ICONS, o as onComponentRequiredPropUndefined, O as getSlot, b as isPropDefined } from './helpers.js';
4
4
  import { I as IcThemeForegroundEnum } from './types.js';
5
5
  import { d as defineCustomElement$5 } from './ic-button2.js';
6
6
  import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
@@ -13,201 +13,199 @@ const AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;
13
13
  const TOAST_HEADING_CHAR_LIMIT = 70;
14
14
  const TOAST_MESSAGE_CHAR_LIMIT = 140;
15
15
  const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
16
- constructor() {
17
- super();
18
- this.__registerHost();
19
- this.__attachShadow();
20
- this.icDismiss = createEvent(this, "icDismiss", 7);
21
- this.interactiveElements = [];
22
- this.dismissAction = () => {
23
- this.icDismiss.emit();
24
- };
25
- this.handleProgressChange = () => {
26
- this.timerProgress -=
27
- (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
28
- };
29
- this.timerProgress = 100;
30
- this.visible = false;
31
- this.autoDismissTimeout = 5000;
32
- this.dismissButtonAriaLabel = "dismiss";
33
- this.dismissMode = "manual";
34
- this.heading = undefined;
35
- this.message = undefined;
36
- this.neutralIconAriaLabel = undefined;
37
- this.variant = undefined;
38
- }
39
- disconnectedCallback() {
40
- window.clearTimeout(this.dismissTimeout);
41
- window.clearInterval(this.timerRefreshInterval);
42
- }
43
- componentWillLoad() {
44
- var _a, _b;
45
- this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);
46
- if (this.autoDismissTimeout < 5000)
47
- this.autoDismissTimeout = 5000;
48
- if (isSlotUsed(this.el, "action"))
49
- this.dismissMode = "manual";
50
- this.isManual = this.dismissMode === "manual";
51
- if (isSlotUsed(this.el, "neutral-icon"))
52
- this.variant = "neutral";
53
- if (this.variant === "neutral") {
54
- this.neutralVariantLabel =
55
- (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.__attachShadow();
20
+ this.icDismiss = createEvent(this, "icDismiss", 7);
21
+ this.interactiveElements = [];
22
+ this.dismissAction = () => {
23
+ this.icDismiss.emit();
24
+ };
25
+ this.handleProgressChange = () => {
26
+ this.timerProgress -=
27
+ (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
28
+ };
29
+ this.timerProgress = 100;
30
+ this.visible = false;
31
+ this.autoDismissTimeout = 5000;
32
+ this.dismissButtonAriaLabel = "dismiss";
33
+ this.dismissMode = "manual";
34
+ this.heading = undefined;
35
+ this.message = undefined;
36
+ this.neutralIconAriaLabel = undefined;
37
+ this.variant = undefined;
56
38
  }
57
- if (this.isManual) {
58
- this.el.setAttribute("aria-label", this.variant
59
- ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel
60
- : this.heading);
61
- (this.variant || this.message) &&
62
- this.el.setAttribute("aria-description", this.variant
63
- ? `${this.heading}${this.message !== undefined ? `. ${this.message}` : ""}`
64
- : this.message);
39
+ disconnectedCallback() {
40
+ window.clearTimeout(this.dismissTimeout);
41
+ window.clearInterval(this.timerRefreshInterval);
65
42
  }
66
- }
67
- componentDidLoad() {
68
- onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Toast");
69
- const actionContent = getSlot(this.el, "action");
70
- const dismissButton = this.el.shadowRoot.querySelector("ic-button");
71
- if (actionContent)
72
- this.interactiveElements.push(actionContent);
73
- if (dismissButton)
74
- this.interactiveElements.push(dismissButton);
75
- }
76
- handleDismiss() {
77
- this.visible = false;
78
- clearInterval(this.timerRefreshInterval);
79
- this.timerProgress = 100;
80
- }
81
- handleKeyboard(ev) {
82
- if (this.isManual && this.visible) {
83
- switch (ev.key) {
84
- case "Tab":
85
- ev.preventDefault();
86
- this.findNextInteractiveElement(ev.shiftKey).setFocus();
87
- break;
88
- case "Escape":
89
- !ev.repeat && this.dismissAction();
90
- ev.stopImmediatePropagation();
91
- break;
92
- }
43
+ componentWillLoad() {
44
+ var _a, _b;
45
+ this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);
46
+ if (this.autoDismissTimeout < 5000)
47
+ this.autoDismissTimeout = 5000;
48
+ if (isSlotUsed(this.el, "action"))
49
+ this.dismissMode = "manual";
50
+ this.isManual = this.dismissMode === "manual";
51
+ if (isSlotUsed(this.el, "neutral-icon"))
52
+ this.variant = "neutral";
53
+ if (this.variant === "neutral") {
54
+ this.neutralVariantLabel =
55
+ (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;
56
+ }
57
+ if (this.isManual) {
58
+ const toastMessage = isPropDefined(this.message)
59
+ ? `. ${this.message}`
60
+ : "";
61
+ this.el.setAttribute("aria-label", this.variant
62
+ ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel
63
+ : this.heading);
64
+ (this.variant || this.message) &&
65
+ this.el.setAttribute("aria-description", this.variant ? `${this.heading}${toastMessage}` : this.message);
66
+ }
93
67
  }
94
- }
95
- handleTimer(ev) {
96
- if (!this.isManual) {
97
- switch (ev.type) {
98
- case "mouseenter":
99
- window.clearTimeout(this.dismissTimeout);
100
- window.clearInterval(this.timerRefreshInterval);
101
- this.timerProgress = 100;
102
- break;
103
- case "mouseleave":
104
- this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
105
- this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
106
- break;
107
- }
68
+ componentDidLoad() {
69
+ onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Toast");
70
+ const actionContent = getSlot(this.el, "action");
71
+ const dismissButton = this.el.shadowRoot.querySelector("ic-button");
72
+ if (actionContent)
73
+ this.interactiveElements.push(actionContent);
74
+ if (dismissButton)
75
+ this.interactiveElements.push(dismissButton);
108
76
  }
109
- }
110
- /**
111
- * Used to display the individual toast
112
- * @returns The element that previously had focus before the toast appeared
113
- */
114
- async setVisible() {
115
- if (!this.visible)
116
- this.visible = true;
117
- if (!this.isManual) {
118
- this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
119
- this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
120
- return null;
77
+ handleDismiss() {
78
+ this.visible = false;
79
+ clearInterval(this.timerRefreshInterval);
80
+ this.timerProgress = 100;
121
81
  }
122
- else {
123
- window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
124
- return document.activeElement;
82
+ handleKeyboard(ev) {
83
+ if (this.isManual && this.visible) {
84
+ switch (ev.key) {
85
+ case "Tab":
86
+ ev.preventDefault();
87
+ this.findNextInteractiveElement(ev.shiftKey).setFocus();
88
+ break;
89
+ case "Escape":
90
+ !ev.repeat && this.dismissAction();
91
+ ev.stopImmediatePropagation();
92
+ break;
93
+ }
94
+ }
125
95
  }
126
- }
127
- handleLongText(headingTooLong, messageTooLong) {
128
- if (messageTooLong || headingTooLong) {
129
- console.error(`Too many characters in toast ${headingTooLong ? "heading" : ""}${headingTooLong && messageTooLong ? " and " : ""}${messageTooLong ? "message" : ""}. Refer to character limits specified in the prop description`);
96
+ handleTimer(ev) {
97
+ if (!this.isManual) {
98
+ switch (ev.type) {
99
+ case "mouseenter":
100
+ window.clearTimeout(this.dismissTimeout);
101
+ window.clearInterval(this.timerRefreshInterval);
102
+ this.timerProgress = 100;
103
+ break;
104
+ case "mouseleave":
105
+ this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
106
+ this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
107
+ break;
108
+ }
109
+ }
130
110
  }
131
- }
132
- findNextInteractiveElement(isBackwards) {
133
- const first = this.interactiveElements[0];
134
- const last = this.interactiveElements[this.interactiveElements.length - 1];
135
- const source = isBackwards ? first : last;
136
- const target = isBackwards ? last : first;
137
- if (this.isActive(source))
138
- return target;
139
- let currentIndex;
140
- const found = this.interactiveElements.some((el, index) => {
141
- if (!this.isActive(el))
142
- return false;
143
- currentIndex = index;
144
- return true;
145
- });
146
- if (!found)
147
- return first;
148
- return this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)];
149
- }
150
- isActive(targetEl) {
151
- if (targetEl === this.el)
152
- return !!this.el.shadowRoot.activeElement;
153
- return document.activeElement === targetEl;
154
- }
155
- render() {
156
- const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
157
- return (h(Host, { class: { ["hidden"]: !visible }, role: isManual ? "dialog" : "status" }, h("div", { class: "container" }, variant && visible && (h("div", { class: "toast-icon-container" }, h("div", { class: {
158
- ["divider"]: true,
159
- [`divider-${variant}`]: true,
160
- } }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { class: {
161
- ["toast-content"]: true,
162
- ["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
163
- } }, h("div", { class: "toast-message" }, h("ic-typography", { variant: "subtitle-large" }, visible && h("h5", null, heading)), message && (h("ic-typography", { variant: "body" }, visible && h("p", null, message)))), isSlotUsed(this.el, "action") && (h("div", { class: "toast-action-container" }, h("slot", { name: "action" })))), !isManual ? (h("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress })) : (h("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", appearance: IcThemeForegroundEnum.Light, "aria-label": dismissButtonAriaLabel })))));
164
- }
165
- get el() { return this; }
166
- static get style() { return icToastCss; }
111
+ /**
112
+ * @internal Used to display the individual toast.
113
+ * @returns The element that previously had focus before the toast appeared
114
+ */
115
+ async setVisible() {
116
+ if (!this.visible)
117
+ this.visible = true;
118
+ if (!this.isManual) {
119
+ this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
120
+ this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
121
+ return null;
122
+ }
123
+ else {
124
+ window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
125
+ return document.activeElement;
126
+ }
127
+ }
128
+ handleLongText(headingTooLong, messageTooLong) {
129
+ if (messageTooLong || headingTooLong) {
130
+ console.error(`Too many characters in toast ${headingTooLong ? "heading" : ""}${headingTooLong && messageTooLong ? " and " : ""}${messageTooLong ? "message" : ""}. Refer to character limits specified in the prop description`);
131
+ }
132
+ }
133
+ findNextInteractiveElement(isBackwards) {
134
+ const firstEl = this.interactiveElements[0];
135
+ const lastEl = this.interactiveElements[this.interactiveElements.length - 1];
136
+ if (this.isActive(isBackwards ? firstEl : lastEl))
137
+ return isBackwards ? lastEl : firstEl;
138
+ let currentIndex;
139
+ return this.interactiveElements.some((el, index) => {
140
+ if (!this.isActive(el))
141
+ return false;
142
+ currentIndex = index;
143
+ return true;
144
+ })
145
+ ? this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)]
146
+ : firstEl;
147
+ }
148
+ isActive(targetEl) {
149
+ return targetEl === this.el
150
+ ? !!this.el.shadowRoot.activeElement
151
+ : document.activeElement === targetEl;
152
+ }
153
+ render() {
154
+ const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
155
+ return (h(Host, { class: { ["hidden"]: !visible }, role: isManual ? "dialog" : "status" }, h("div", { class: "container" }, variant && visible && (h("div", { class: "toast-icon-container" }, h("div", { class: {
156
+ ["divider"]: true,
157
+ [`divider-${variant}`]: true,
158
+ } }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { class: {
159
+ ["toast-content"]: true,
160
+ ["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
161
+ } }, h("div", { class: "toast-message" }, h("ic-typography", { variant: "subtitle-large" }, visible && h("h5", null, heading)), message && (h("ic-typography", { variant: "body" }, visible && h("p", null, message)))), isSlotUsed(this.el, "action") && (h("div", { class: "toast-action-container" }, h("slot", { name: "action" })))), !isManual ? (h("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress })) : (h("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", appearance: IcThemeForegroundEnum.Light, "aria-label": dismissButtonAriaLabel })))));
162
+ }
163
+ get el() { return this; }
164
+ static get style() { return icToastCss; }
167
165
  }, [1, "ic-toast", {
168
- "autoDismissTimeout": [1026, "auto-dismiss-timeout"],
169
- "dismissButtonAriaLabel": [1, "dismiss-button-aria-label"],
170
- "dismissMode": [1025, "dismiss-mode"],
171
- "heading": [1],
172
- "message": [1],
173
- "neutralIconAriaLabel": [1, "neutral-icon-aria-label"],
174
- "variant": [1025],
175
- "timerProgress": [32],
176
- "visible": [32],
177
- "setVisible": [64]
178
- }, [[2, "icDismiss", "handleDismiss"], [4, "keydown", "handleKeyboard"], [1, "mouseenter", "handleTimer"], [1, "mouseleave", "handleTimer"]]]);
166
+ "autoDismissTimeout": [1026, "auto-dismiss-timeout"],
167
+ "dismissButtonAriaLabel": [1, "dismiss-button-aria-label"],
168
+ "dismissMode": [1025, "dismiss-mode"],
169
+ "heading": [1],
170
+ "message": [1],
171
+ "neutralIconAriaLabel": [1, "neutral-icon-aria-label"],
172
+ "variant": [1025],
173
+ "timerProgress": [32],
174
+ "visible": [32],
175
+ "setVisible": [64]
176
+ }, [[2, "icDismiss", "handleDismiss"], [4, "keydown", "handleKeyboard"], [1, "mouseenter", "handleTimer"], [1, "mouseleave", "handleTimer"]]]);
179
177
  function defineCustomElement$1() {
180
- if (typeof customElements === "undefined") {
181
- return;
182
- }
183
- const components = ["ic-toast", "ic-button", "ic-loading-indicator", "ic-tooltip", "ic-typography"];
184
- components.forEach(tagName => { switch (tagName) {
185
- case "ic-toast":
186
- if (!customElements.get(tagName)) {
187
- customElements.define(tagName, Toast);
188
- }
189
- break;
190
- case "ic-button":
191
- if (!customElements.get(tagName)) {
192
- defineCustomElement$5();
193
- }
194
- break;
195
- case "ic-loading-indicator":
196
- if (!customElements.get(tagName)) {
197
- defineCustomElement$4();
198
- }
199
- break;
200
- case "ic-tooltip":
201
- if (!customElements.get(tagName)) {
202
- defineCustomElement$3();
203
- }
204
- break;
205
- case "ic-typography":
206
- if (!customElements.get(tagName)) {
207
- defineCustomElement$2();
208
- }
209
- break;
210
- } });
178
+ if (typeof customElements === "undefined") {
179
+ return;
180
+ }
181
+ const components = ["ic-toast", "ic-button", "ic-loading-indicator", "ic-tooltip", "ic-typography"];
182
+ components.forEach(tagName => { switch (tagName) {
183
+ case "ic-toast":
184
+ if (!customElements.get(tagName)) {
185
+ customElements.define(tagName, Toast);
186
+ }
187
+ break;
188
+ case "ic-button":
189
+ if (!customElements.get(tagName)) {
190
+ defineCustomElement$5();
191
+ }
192
+ break;
193
+ case "ic-loading-indicator":
194
+ if (!customElements.get(tagName)) {
195
+ defineCustomElement$4();
196
+ }
197
+ break;
198
+ case "ic-tooltip":
199
+ if (!customElements.get(tagName)) {
200
+ defineCustomElement$3();
201
+ }
202
+ break;
203
+ case "ic-typography":
204
+ if (!customElements.get(tagName)) {
205
+ defineCustomElement$2();
206
+ }
207
+ break;
208
+ } });
211
209
  }
212
210
 
213
211
  const IcToast = Toast;
@@ -1 +1 @@
1
- {"file":"ic-toast.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,4rJAA4rJ;;AC0B/sJ,MAAM,kCAAkC,GAAG,IAAI,CAAC;AAChD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,wBAAwB,GAAG,GAAG,CAAC;MAWxB,KAAK;;;;;;IAER,wBAAmB,GAA6B,EAAE,CAAC;IA6KnD,kBAAa,GAAG;MACtB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;KACvB,CAAC;IAEM,yBAAoB,GAAG;MAC7B,IAAI,CAAC,aAAa;QAChB,CAAC,kCAAkC,GAAG,IAAI,CAAC,kBAAkB,IAAI,GAAG,CAAC;KACxE,CAAC;yBA7KuB,GAAG;mBACT,KAAK;8BAMuB,IAAI;kCAKjB,SAAS;uBAKgB,QAAQ;;;;;;EA2BnE,oBAAoB;IAClB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACzC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;GACjD;EAED,iBAAiB;;IACf,IAAI,CAAC,cAAc,CACjB,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,wBAAwB,EAC9C,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,MAAM,IAAG,wBAAwB,CAChD,CAAC;IAEF,IAAI,IAAI,CAAC,kBAAkB,GAAG,IAAI;MAAE,IAAI,CAAC,kBAAkB,GAAG,IAAI,CA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EAAC,YAAY,EAClB,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,GAChC,CACT,CACG,CACP,EACD,WACE,KAAK,EAAE;QACL,CAAC,eAAe,GAAG,IAAI;QACvB,CAAC,SAAS,GACR,OAAO,KAAK,SAAS,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,cAAc,CAAC;OAChE,IAED,WAAK,KAAK,EAAC,eAAe,IACxB,qBAAe,OAAO,EAAC,gBAAgB,IACpC,OAAO,IAAI,cAAK,OAAO,CAAM,CAChB,EACf,OAAO,KACN,qBAAe,OAAO,EAAC,MAAM,IAC1B,OAAO,IAAI,aAAI,OAAO,CAAK,CACd,CACjB,CACG,EACL,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAC5B,WAAK,KAAK,EAAC,wBAAwB,IACjC,YAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACG,EACL,CAAC,QAAQ,IACR,4BACE,KAAK,EAAC,qBAAqB,EAC3B,UAAU,EAAC,OAAO,EAClB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,IAAI,CAAC,aAAa,GACN,KAExB,iBACE,EAAE,EAAC,gBAAgB,EACnB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,OAAO,EAAC,MAAM,EACd,UAAU,EAAE,qBAAqB,CAAC,KAAK,gBAC3B,sBAAsB,GACvB,CACd,CACG,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-toast/ic-toast.css?tag=ic-toast&encapsulation=shadow","src/components/ic-toast/ic-toast.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-toast: z-index of toast\n */\n\n:host {\n --bottom-position: var(--ic-space-xl);\n\n position: fixed;\n bottom: var(--bottom-position);\n left: 50%;\n transform: translate(-50%);\n animation: fadein var(--ic-transition-duration-slow) ease-in-out;\n z-index: var(--ic-z-index-toast);\n}\n\n:host(.hidden) {\n display: none;\n animation: fadeout var(--ic-transition-duration-slow) ease-in-out;\n}\n\n.container {\n max-width: 32.5rem;\n min-width: 18rem;\n box-shadow: var(--ic-elevation-overlay);\n min-height: 3.5rem;\n background-color: var(--ic-architectural-800);\n color: var(--ic-color-white-text);\n display: flex;\n align-items: center;\n position: relative;\n border-radius: var(--ic-border-radius);\n}\n\n.toast-icon-container {\n height: 100%;\n display: flex;\n align-items: center;\n}\n\n.divider {\n height: 100%;\n width: var(--ic-space-xs);\n position: absolute;\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info-contrast);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning-contrast);\n}\n\n.divider-error {\n background-color: var(--ic-status-error-contrast);\n}\n\n.divider-success {\n background-color: var(--ic-status-success-contrast);\n}\n\n.toast-icon,\n::slotted(svg) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n margin-left: var(--ic-space-md);\n}\n\n:host([variant=\"neutral\"]) .toast-icon svg,\n::slotted(svg) {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .toast-icon svg {\n fill: var(--ic-status-info-contrast);\n}\n\n:host([variant=\"warning\"]) .toast-icon svg {\n fill: var(--ic-status-warning-contrast);\n}\n\n:host([variant=\"error\"]) .toast-icon svg {\n fill: var(--ic-status-error-contrast);\n}\n\n:host([variant=\"success\"]) .toast-icon svg {\n fill: var(--ic-status-success-contrast);\n}\n\n.toast-content {\n margin-left: var(--ic-space-xs);\n width: 100%;\n}\n\n.no-icon {\n margin-left: var(--ic-space-md);\n}\n\n.toast-message {\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n.toast-action-container {\n padding-bottom: var(--ic-space-md);\n}\n\nic-button,\n.toast-dismiss-timer {\n padding: var(--ic-space-xs);\n}\n\n@media (max-width: 576px) {\n :host {\n --bottom-position: var(--ic-space-lg);\n\n width: calc(100% - 2 * var(--ic-space-md));\n }\n}\n\n@media (min-width: 993px) {\n :host {\n --bottom-position: calc(var(--ic-space-xl) + var(--ic-space-xs));\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n\n@keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n\n to {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n}\n\n@keyframes fadeout {\n from {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\nimport {\n getSlot,\n isSlotUsed,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport {\n IcActivationTypes,\n IcStatusVariants,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { ActionAreaElementTypes } from \"./ic-toast.types\";\n\nconst AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;\nconst TOAST_HEADING_CHAR_LIMIT = 70;\nconst TOAST_MESSAGE_CHAR_LIMIT = 140;\n\n/**\n * @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.\n * @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.\n */\n@Component({\n tag: \"ic-toast\",\n styleUrl: \"ic-toast.css\",\n shadow: true,\n})\nexport class Toast {\n private dismissTimeout: number;\n private interactiveElements: ActionAreaElementTypes[] = [];\n private isManual: boolean;\n private neutralVariantLabel: string;\n private timerRefreshInterval: number;\n\n @Element() el: HTMLIcToastElement;\n\n @State() timerProgress = 100;\n @State() visible = false;\n\n /**\n * If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\n * (NOTE: Has a minimum value of `5000ms`)\n */\n @Prop({ mutable: true }) autoDismissTimeout? = 5000;\n\n /**\n * If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component\n */\n @Prop() dismissButtonAriaLabel? = \"dismiss\";\n\n /**\n * How the toast will be dismissed. If manual will display a dismiss button.\n */\n @Prop({ mutable: true }) dismissMode?: IcActivationTypes = \"manual\";\n\n /**\n * The title to display at the start of the toast. (NOTE: Should be no more than `70` characters)\n */\n @Prop() heading!: string;\n\n /**\n * The main body message of the toast. (NOTE: Should be no more than `140` characters)\n */\n @Prop() message?: string;\n\n /**\n * Provides a custom alt-text to be announced to screen readers, if slotting a custom neutral icon\n */\n @Prop() neutralIconAriaLabel?: string;\n\n /**\n * The variant of the toast being rendered\n */\n @Prop({ mutable: true }) variant?: IcStatusVariants;\n\n /**\n * Is emitted when the user dismisses the toast\n */\n @Event() icDismiss: EventEmitter<void>;\n\n disconnectedCallback(): void {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n }\n\n componentWillLoad(): void {\n this.handleLongText(\n this.heading.length > TOAST_HEADING_CHAR_LIMIT,\n this.message?.length > TOAST_MESSAGE_CHAR_LIMIT\n );\n\n if (this.autoDismissTimeout < 5000) this.autoDismissTimeout = 5000;\n\n if (isSlotUsed(this.el, \"action\")) this.dismissMode = \"manual\";\n this.isManual = this.dismissMode === \"manual\";\n\n if (isSlotUsed(this.el, \"neutral-icon\")) this.variant = \"neutral\";\n if (this.variant === \"neutral\") {\n this.neutralVariantLabel =\n this.neutralIconAriaLabel ?? VARIANT_ICONS[this.variant].ariaLabel;\n }\n\n if (this.isManual) {\n this.el.setAttribute(\n \"aria-label\",\n this.variant\n ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel\n : this.heading\n );\n (this.variant || this.message) &&\n this.el.setAttribute(\n \"aria-description\",\n this.variant\n ? `${this.heading}${\n this.message !== undefined ? `. ${this.message}` : \"\"\n }`\n : this.message\n );\n }\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Toast\"\n );\n const actionContent = getSlot(this.el, \"action\") as ActionAreaElementTypes;\n const dismissButton = this.el.shadowRoot.querySelector(\"ic-button\");\n if (actionContent) this.interactiveElements.push(actionContent);\n if (dismissButton) this.interactiveElements.push(dismissButton);\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleDismiss(): void {\n this.visible = false;\n clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyboard(ev: KeyboardEvent): void {\n if (this.isManual && this.visible) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.findNextInteractiveElement(ev.shiftKey).setFocus();\n break;\n case \"Escape\":\n !ev.repeat && this.dismissAction();\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n\n @Listen(\"mouseenter\")\n @Listen(\"mouseleave\")\n handleTimer(ev: MouseEvent): void {\n if (!this.isManual) {\n switch (ev.type) {\n case \"mouseenter\":\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n break;\n case \"mouseleave\":\n this.dismissTimeout = window.setTimeout(\n this.dismissAction,\n this.autoDismissTimeout\n );\n this.timerRefreshInterval = window.setInterval(\n this.handleProgressChange,\n AUTO_DISMISS_TIMER_REFRESH_RATE_MS\n );\n break;\n }\n }\n }\n\n /**\n * Used to display the individual toast\n * @returns The element that previously had focus before the toast appeared\n */\n @Method()\n async setVisible(): Promise<HTMLElement> {\n if (!this.visible) this.visible = true;\n if (!this.isManual) {\n this.dismissTimeout = window.setTimeout(\n this.dismissAction,\n this.autoDismissTimeout\n );\n this.timerRefreshInterval = window.setInterval(\n this.handleProgressChange,\n AUTO_DISMISS_TIMER_REFRESH_RATE_MS\n );\n return null;\n } else {\n window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);\n return document.activeElement as HTMLElement;\n }\n }\n\n private dismissAction = (): void => {\n this.icDismiss.emit();\n };\n\n private handleProgressChange = () => {\n this.timerProgress -=\n (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;\n };\n\n private handleLongText(\n headingTooLong: boolean,\n messageTooLong?: boolean\n ): void {\n if (messageTooLong || headingTooLong) {\n console.error(\n `Too many characters in toast ${headingTooLong ? \"heading\" : \"\"}${\n headingTooLong && messageTooLong ? \" and \" : \"\"\n }${\n messageTooLong ? \"message\" : \"\"\n }. Refer to character limits specified in the prop description`\n );\n }\n }\n\n private findNextInteractiveElement(\n isBackwards: boolean\n ): ActionAreaElementTypes {\n const first = this.interactiveElements[0];\n const last = this.interactiveElements[this.interactiveElements.length - 1];\n\n const source = isBackwards ? first : last;\n const target = isBackwards ? last : first;\n if (this.isActive(source)) return target;\n\n let currentIndex: number;\n const found = this.interactiveElements.some((el, index) => {\n if (!this.isActive(el)) return false;\n currentIndex = index;\n return true;\n });\n\n if (!found) return first;\n return this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)];\n }\n\n private isActive(targetEl: HTMLElement): boolean {\n if (targetEl === this.el) return !!this.el.shadowRoot.activeElement;\n return document.activeElement === targetEl;\n }\n\n render() {\n const {\n variant,\n heading,\n message,\n visible,\n isManual,\n dismissButtonAriaLabel,\n } = this;\n return (\n <Host\n class={{ [\"hidden\"]: !visible }}\n role={isManual ? \"dialog\" : \"status\"}\n >\n <div class=\"container\">\n {variant && visible && (\n <div class=\"toast-icon-container\">\n <div\n class={{\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n }}\n ></div>\n {variant === \"neutral\" ? (\n <slot name=\"neutral-icon\" />\n ) : (\n <span\n class=\"toast-icon\"\n innerHTML={VARIANT_ICONS[variant].icon}\n ></span>\n )}\n </div>\n )}\n <div\n class={{\n [\"toast-content\"]: true,\n [\"no-icon\"]:\n variant === \"neutral\" && !isSlotUsed(this.el, \"neutral-icon\"),\n }}\n >\n <div class=\"toast-message\">\n <ic-typography variant=\"subtitle-large\">\n {visible && <h5>{heading}</h5>}\n </ic-typography>\n {message && (\n <ic-typography variant=\"body\">\n {visible && <p>{message}</p>}\n </ic-typography>\n )}\n </div>\n {isSlotUsed(this.el, \"action\") && (\n <div class=\"toast-action-container\">\n <slot name=\"action\" />\n </div>\n )}\n </div>\n {!isManual ? (\n <ic-loading-indicator\n class=\"toast-dismiss-timer\"\n appearance=\"light\"\n size=\"icon\"\n progress={this.timerProgress}\n ></ic-loading-indicator>\n ) : (\n <ic-button\n id=\"dismiss-button\"\n innerHTML={closeIcon}\n onClick={this.dismissAction}\n variant=\"icon\"\n appearance={IcThemeForegroundEnum.Light}\n aria-label={dismissButtonAriaLabel}\n ></ic-button>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-toast.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,4rJAA4rJ;;ACK/sJ,MAAM,kCAAkC,GAAG,IAAI,CAAC;AAChD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,wBAAwB,GAAG,GAAG,CAAC;MAKxB,KAAK;IACd;;;;;QACI,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,aAAa,GAAG;YACjB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACzB,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG;YACxB,IAAI,CAAC,aAAa;gBACd,CAAC,kCAAkC,GAAG,IAAI,CAAC,kBAAkB,IAAI,GAAG,CAAC;SAC5E,CAAC;QACF,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,IAAI,CAAC,sBAAsB,GAAG,SAAS,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;QAC5B,IAAI,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BAAgB,EAAE,EAAE,OAAO,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,EAAE,OAAO,KAAK,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,IAAI,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,IAAI,CAAC,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,qBAAqB,CAAC,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;KAChqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-toast/ic-toast.css?tag=ic-toast&encapsulation=shadow","../web-components/dist/collection/components/ic-toast/ic-toast.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n/**\n * @prop --ic-z-index-toast: z-index of toast\n */\n\n:host {\n --bottom-position: var(--ic-space-xl);\n\n position: fixed;\n bottom: var(--bottom-position);\n left: 50%;\n transform: translate(-50%);\n animation: fadein var(--ic-transition-duration-slow) ease-in-out;\n z-index: var(--ic-z-index-toast);\n}\n\n:host(.hidden) {\n display: none;\n animation: fadeout var(--ic-transition-duration-slow) ease-in-out;\n}\n\n.container {\n max-width: 32.5rem;\n min-width: 18rem;\n box-shadow: var(--ic-elevation-overlay);\n min-height: 3.5rem;\n background-color: var(--ic-architectural-800);\n color: var(--ic-color-white-text);\n display: flex;\n align-items: center;\n position: relative;\n border-radius: var(--ic-border-radius);\n}\n\n.toast-icon-container {\n height: 100%;\n display: flex;\n align-items: center;\n}\n\n.divider {\n height: 100%;\n width: var(--ic-space-xs);\n position: absolute;\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info-contrast);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning-contrast);\n}\n\n.divider-error {\n background-color: var(--ic-status-error-contrast);\n}\n\n.divider-success {\n background-color: var(--ic-status-success-contrast);\n}\n\n.toast-icon,\n::slotted(svg) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n margin-left: var(--ic-space-md);\n}\n\n:host([variant=\"neutral\"]) .toast-icon svg,\n::slotted(svg) {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .toast-icon svg {\n fill: var(--ic-status-info-contrast);\n}\n\n:host([variant=\"warning\"]) .toast-icon svg {\n fill: var(--ic-status-warning-contrast);\n}\n\n:host([variant=\"error\"]) .toast-icon svg {\n fill: var(--ic-status-error-contrast);\n}\n\n:host([variant=\"success\"]) .toast-icon svg {\n fill: var(--ic-status-success-contrast);\n}\n\n.toast-content {\n margin-left: var(--ic-space-xs);\n width: 100%;\n}\n\n.no-icon {\n margin-left: var(--ic-space-md);\n}\n\n.toast-message {\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n.toast-action-container {\n padding-bottom: var(--ic-space-md);\n}\n\nic-button,\n.toast-dismiss-timer {\n padding: var(--ic-space-xs);\n}\n\n@media (max-width: 576px) {\n :host {\n --bottom-position: var(--ic-space-lg);\n\n width: calc(100% - 2 * var(--ic-space-md));\n }\n}\n\n@media (min-width: 993px) {\n :host {\n --bottom-position: calc(var(--ic-space-xl) + var(--ic-space-xs));\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n\n@keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n\n to {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n}\n\n@keyframes fadeout {\n from {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\nimport { getSlot, isPropDefined, isSlotUsed, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nimport { IcThemeForegroundEnum, } from \"../../utils/types\";\nconst AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;\nconst TOAST_HEADING_CHAR_LIMIT = 70;\nconst TOAST_MESSAGE_CHAR_LIMIT = 140;\n/**\n * @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.\n * @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.\n */\nexport class Toast {\n constructor() {\n this.interactiveElements = [];\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.handleProgressChange = () => {\n this.timerProgress -=\n (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;\n };\n this.timerProgress = 100;\n this.visible = false;\n this.autoDismissTimeout = 5000;\n this.dismissButtonAriaLabel = \"dismiss\";\n this.dismissMode = \"manual\";\n this.heading = undefined;\n this.message = undefined;\n this.neutralIconAriaLabel = undefined;\n this.variant = undefined;\n }\n disconnectedCallback() {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n }\n componentWillLoad() {\n var _a, _b;\n this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);\n if (this.autoDismissTimeout < 5000)\n this.autoDismissTimeout = 5000;\n if (isSlotUsed(this.el, \"action\"))\n this.dismissMode = \"manual\";\n this.isManual = this.dismissMode === \"manual\";\n if (isSlotUsed(this.el, \"neutral-icon\"))\n this.variant = \"neutral\";\n if (this.variant === \"neutral\") {\n this.neutralVariantLabel =\n (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;\n }\n if (this.isManual) {\n const toastMessage = isPropDefined(this.message)\n ? `. ${this.message}`\n : \"\";\n this.el.setAttribute(\"aria-label\", this.variant\n ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel\n : this.heading);\n (this.variant || this.message) &&\n this.el.setAttribute(\"aria-description\", this.variant ? `${this.heading}${toastMessage}` : this.message);\n }\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Toast\");\n const actionContent = getSlot(this.el, \"action\");\n const dismissButton = this.el.shadowRoot.querySelector(\"ic-button\");\n if (actionContent)\n this.interactiveElements.push(actionContent);\n if (dismissButton)\n this.interactiveElements.push(dismissButton);\n }\n handleDismiss() {\n this.visible = false;\n clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n }\n handleKeyboard(ev) {\n if (this.isManual && this.visible) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.findNextInteractiveElement(ev.shiftKey).setFocus();\n break;\n case \"Escape\":\n !ev.repeat && this.dismissAction();\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n handleTimer(ev) {\n if (!this.isManual) {\n switch (ev.type) {\n case \"mouseenter\":\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n break;\n case \"mouseleave\":\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n break;\n }\n }\n }\n /**\n * @internal Used to display the individual toast.\n * @returns The element that previously had focus before the toast appeared\n */\n async setVisible() {\n if (!this.visible)\n this.visible = true;\n if (!this.isManual) {\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n return null;\n }\n else {\n window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);\n return document.activeElement;\n }\n }\n handleLongText(headingTooLong, messageTooLong) {\n if (messageTooLong || headingTooLong) {\n console.error(`Too many characters in toast ${headingTooLong ? \"heading\" : \"\"}${headingTooLong && messageTooLong ? \" and \" : \"\"}${messageTooLong ? \"message\" : \"\"}. Refer to character limits specified in the prop description`);\n }\n }\n findNextInteractiveElement(isBackwards) {\n const firstEl = this.interactiveElements[0];\n const lastEl = this.interactiveElements[this.interactiveElements.length - 1];\n if (this.isActive(isBackwards ? firstEl : lastEl))\n return isBackwards ? lastEl : firstEl;\n let currentIndex;\n return this.interactiveElements.some((el, index) => {\n if (!this.isActive(el))\n return false;\n currentIndex = index;\n return true;\n })\n ? this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)]\n : firstEl;\n }\n isActive(targetEl) {\n return targetEl === this.el\n ? !!this.el.shadowRoot.activeElement\n : document.activeElement === targetEl;\n }\n render() {\n const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;\n return (h(Host, { class: { [\"hidden\"]: !visible }, role: isManual ? \"dialog\" : \"status\" }, h(\"div\", { class: \"container\" }, variant && visible && (h(\"div\", { class: \"toast-icon-container\" }, h(\"div\", { class: {\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n } }), variant === \"neutral\" ? (h(\"slot\", { name: \"neutral-icon\" })) : (h(\"span\", { class: \"toast-icon\", innerHTML: VARIANT_ICONS[variant].icon })))), h(\"div\", { class: {\n [\"toast-content\"]: true,\n [\"no-icon\"]: variant === \"neutral\" && !isSlotUsed(this.el, \"neutral-icon\"),\n } }, h(\"div\", { class: \"toast-message\" }, h(\"ic-typography\", { variant: \"subtitle-large\" }, visible && h(\"h5\", null, heading)), message && (h(\"ic-typography\", { variant: \"body\" }, visible && h(\"p\", null, message)))), isSlotUsed(this.el, \"action\") && (h(\"div\", { class: \"toast-action-container\" }, h(\"slot\", { name: \"action\" })))), !isManual ? (h(\"ic-loading-indicator\", { class: \"toast-dismiss-timer\", appearance: \"light\", size: \"icon\", progress: this.timerProgress })) : (h(\"ic-button\", { id: \"dismiss-button\", innerHTML: closeIcon, onClick: this.dismissAction, variant: \"icon\", appearance: IcThemeForegroundEnum.Light, \"aria-label\": dismissButtonAriaLabel })))));\n }\n static get is() { return \"ic-toast\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get properties() {\n return {\n \"autoDismissTimeout\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\\n(NOTE: Has a minimum value of `5000ms`)\"\n },\n \"attribute\": \"auto-dismiss-timeout\",\n \"reflect\": false,\n \"defaultValue\": \"5000\"\n },\n \"dismissButtonAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component\"\n },\n \"attribute\": \"dismiss-button-aria-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"dismiss\\\"\"\n },\n \"dismissMode\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcActivationTypes\",\n \"resolved\": \"\\\"automatic\\\" | \\\"manual\\\"\",\n \"references\": {\n \"IcActivationTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcActivationTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How the toast will be dismissed. If manual will display a dismiss button.\"\n },\n \"attribute\": \"dismiss-mode\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"manual\\\"\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The title to display at the start of the toast. (NOTE: Should be no more than `70` characters)\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"message\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The main body message of the toast. (NOTE: Should be no more than `140` characters)\"\n },\n \"attribute\": \"message\",\n \"reflect\": false\n },\n \"neutralIconAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Provides a custom alt-text to be announced to screen readers, if slotting a custom neutral icon\"\n },\n \"attribute\": \"neutral-icon-aria-label\",\n \"reflect\": false\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcStatusVariants\",\n \"resolved\": \"\\\"error\\\" | \\\"info\\\" | \\\"neutral\\\" | \\\"success\\\" | \\\"warning\\\"\",\n \"references\": {\n \"IcStatusVariants\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcStatusVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the toast being rendered\"\n },\n \"attribute\": \"variant\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"timerProgress\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the toast\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setVisible\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLElement>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLElement\"\n }\n },\n \"return\": \"Promise<HTMLElement>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Used to display the individual toast.\"\n }, {\n \"name\": \"returns\",\n \"text\": \"The element that previously had focus before the toast appeared\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleDismiss\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"handleKeyboard\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"mouseenter\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"mouseleave\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=ic-toast.js.map\n"],"version":3}