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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1029) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-eb53c416.js.map +1 -1
  3. package/dist/cjs/ic-alert.cjs.entry.js +8 -8
  4. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
  6. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +25 -19
  8. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-breadcrumb.cjs.entry.js +5 -5
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +71 -70
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card.cjs.entry.js +40 -40
  14. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +17 -17
  16. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-checkbox.cjs.entry.js +32 -29
  18. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +15 -15
  20. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +20 -20
  22. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +54 -55
  24. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +16 -16
  26. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-footer-link.cjs.entry.js +14 -14
  28. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +17 -17
  30. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +18 -18
  32. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +33 -20
  34. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +86 -86
  36. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
  38. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-link.cjs.entry.js +17 -17
  40. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-menu-item.cjs.entry.js +12 -12
  42. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-navigation-button.cjs.entry.js +15 -15
  44. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-navigation-group.cjs.entry.js +36 -36
  46. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-navigation-item.cjs.entry.js +42 -42
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-menu.cjs.entry.js +26 -26
  50. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-page-header.cjs.entry.js +12 -12
  52. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-pagination-item.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-pagination.cjs.entry.js +30 -30
  56. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-popover-menu.cjs.entry.js +61 -61
  58. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-radio-group.cjs.entry.js +35 -28
  60. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-radio-option.cjs.entry.js +36 -29
  62. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js +121 -121
  64. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-select.cjs.entry.js +66 -65
  66. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-side-navigation.cjs.entry.js +31 -35
  68. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-skeleton.cjs.entry.js +3 -3
  70. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  72. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-step.cjs.entry.js +7 -7
  74. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-stepper.cjs.entry.js +13 -13
  76. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-switch.cjs.entry.js +16 -16
  78. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-tab-context.cjs.entry.js +26 -32
  80. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  84. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tab.cjs.entry.js +16 -16
  86. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-text-field.cjs.entry.js +53 -53
  88. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-toast-region.cjs.entry.js +12 -12
  91. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-toast.cjs.entry.js +57 -57
  93. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-top-navigation.cjs.entry.js +38 -38
  95. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-typography.cjs.entry.js +11 -11
  97. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  98. package/dist/cjs/loader.cjs.js +1 -1
  99. package/dist/collection/collection-manifest.json +4 -4
  100. package/dist/collection/components/ic-alert/ic-alert.js +49 -49
  101. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  102. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  103. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  104. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  105. package/dist/collection/components/ic-alert/{ic-alert.spec.js → test/basic/ic-alert.spec.js} +1 -1
  106. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  107. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  108. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  109. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  110. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  111. package/dist/collection/components/ic-back-to-top/{ic-back-to-top.spec.js → test/basic/ic-back-to-top.spec.js} +3 -3
  112. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  113. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +24 -24
  114. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  115. package/dist/collection/components/ic-breadcrumb/{ic-breadcrumb.spec.js → test/basic/ic-breadcrumb.spec.js} +1 -1
  116. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  117. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +25 -19
  118. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  119. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  120. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  121. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  122. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  123. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.spec.js → test/basic/ic-breadcrumb-group.spec.js} +5 -5
  124. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  125. package/dist/collection/components/ic-button/ic-button.css +4 -0
  126. package/dist/collection/components/ic-button/ic-button.js +191 -190
  127. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  128. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  129. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  130. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  131. package/dist/collection/components/ic-button/{ic-button.spec.js → test/basic/ic-button.spec.js} +2 -2
  132. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  133. package/dist/collection/components/ic-card/ic-card.js +120 -120
  134. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  135. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  136. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  137. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  138. package/dist/collection/components/ic-card/{ic-card.spec.js → test/basic/ic-card.spec.js} +1 -1
  139. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  140. package/dist/collection/components/ic-checkbox/ic-checkbox.js +94 -91
  141. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  142. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +58 -58
  143. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  144. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  145. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  146. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  147. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.spec.js → test/basic/ic-checkbox-group.spec.js} +3 -3
  148. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  149. package/dist/collection/components/ic-chip/ic-chip.js +54 -54
  150. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  151. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  152. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  153. package/dist/collection/components/ic-chip/{ic-chip.spec.js → test/basic/ic-chip.spec.js} +1 -1
  154. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  155. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  156. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  157. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.spec.js → test/basic/ic-classification-banner.spec.js} +1 -1
  158. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  159. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  160. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  161. package/dist/collection/components/ic-data-entity/{ic-data-entity.spec.js → test/basic/ic-data-entity.spec.js} +1 -1
  162. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  163. package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
  164. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  165. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  166. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  167. package/dist/collection/components/ic-data-row/{ic-data-row.spec.js → test/basic/ic-data-row.spec.js} +1 -1
  168. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  169. package/dist/collection/components/ic-dialog/ic-dialog.css +1 -4
  170. package/dist/collection/components/ic-dialog/ic-dialog.js +122 -123
  171. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  172. package/dist/collection/components/ic-dialog/{ic-dialog.test.a11y.js → test/a11y/ic-dialog.test.a11y.js} +1 -1
  173. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  174. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  175. package/dist/collection/components/ic-dialog/{ic-dialog.spec.js → test/basic/ic-dialog.spec.js} +4 -4
  176. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  177. package/dist/collection/components/ic-divider/{ic-divider.spec.js → test/basic/ic-divider.spec.js} +1 -1
  178. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  179. package/dist/collection/components/ic-footer/ic-footer.js +47 -47
  180. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  181. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  182. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  183. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  184. package/dist/collection/components/ic-footer/{ic-footer.spec.js → test/basic/ic-footer.spec.js} +3 -3
  185. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  186. package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
  187. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  188. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  189. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  190. package/dist/collection/components/ic-footer-link/{ic-footer-link.spec.js → test/basic/ic-footer-link.spec.js} +1 -1
  191. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  192. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  193. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  194. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
  195. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  196. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.spec.js → test/basic/ic-footer-link-group.spec.js} +3 -3
  197. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  198. package/dist/collection/components/ic-hero/ic-hero.js +95 -95
  199. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  200. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  201. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  202. package/dist/collection/components/ic-hero/{ic-hero.spec.js → test/basic/ic-hero.spec.js} +1 -1
  203. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  204. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +35 -22
  205. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  206. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  207. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  208. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.spec.js → test/basic/ic-horizontal-scroll.spec.js} +2 -2
  209. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  210. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  211. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  212. package/dist/collection/components/ic-input-component-container/{ic-input-component-container.spec.js → test/basic/ic-input-component-container.spec.js} +1 -1
  213. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  214. package/dist/collection/components/ic-input-container/{ic-input-container.spec.js → test/basic/ic-input-container.spec.js} +1 -1
  215. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  216. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  217. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  218. package/dist/collection/components/ic-input-label/{ic-input-label.spec.js → test/basic/ic-input-label.spec.js} +1 -1
  219. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  220. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  221. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  222. package/dist/collection/components/ic-input-validation/{ic-input-validation.spec.js → test/basic/ic-input-validation.spec.js} +1 -1
  223. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  224. package/dist/collection/components/ic-link/ic-link.js +48 -48
  225. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  226. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  227. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  228. package/dist/collection/components/ic-link/{ic-link.spec.js → test/basic/ic-link.spec.js} +2 -2
  229. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  230. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
  231. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  232. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  233. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  235. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.spec.js → test/basic/ic-loading-indicator.spec.js} +3 -3
  236. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  237. package/dist/collection/components/ic-menu/ic-menu.js +238 -238
  238. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  239. package/dist/collection/components/ic-menu/{ic-menu.spec.js → test/basic/ic-menu.spec.js} +3 -3
  240. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  241. package/dist/collection/components/ic-menu-group/{ic-menu-group.spec.js → test/basic/ic-menu-group.spec.js} +2 -2
  242. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  243. package/dist/collection/components/ic-menu-item/ic-menu-item.js +75 -75
  244. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  245. package/dist/collection/components/ic-menu-item/{ic-menu-item.spec.js → test/basic/ic-menu-item.spec.js} +2 -2
  246. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  247. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  248. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  249. package/dist/collection/components/ic-navigation-button/{ic-navigation-button.spec.js → test/basic/ic-navigation-button.spec.js} +2 -2
  250. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  251. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +55 -55
  252. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  253. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  254. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  255. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.spec.js → test/basic/ic-navigation-group.spec.js} +8 -8
  256. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  257. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +5 -4
  258. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
  259. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  260. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  261. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  262. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.spec.js → test/basic/ic-navigation-item.spec.js} +5 -5
  263. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  264. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
  265. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
  266. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  267. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  268. package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.spec.js → test/basic/ic-navigation-menu.spec.js} +6 -6
  269. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  270. package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
  271. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  272. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  273. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  274. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  275. package/dist/collection/components/ic-page-header/{ic-page-header.spec.js → test/basic/ic-page-header.spec.js} +7 -7
  276. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  277. package/dist/collection/components/ic-pagination/ic-pagination.js +97 -97
  278. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  279. package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
  280. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  281. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  282. package/dist/collection/components/ic-pagination/{ic-pagination.spec.js → test/basic/ic-pagination.spec.js} +3 -3
  283. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  284. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +65 -65
  285. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  286. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
  287. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  288. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
  289. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  290. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  291. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.spec.js → test/basic/ic-popover-menu.spec.js} +4 -4
  292. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  293. package/dist/collection/components/ic-radio-group/ic-radio-group.js +94 -81
  294. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  295. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  296. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  297. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  298. package/dist/collection/components/ic-radio-group/{ic-radio-group.spec.js → test/basic/ic-radio-group.spec.js} +3 -3
  299. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  300. package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -88
  301. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  302. package/dist/collection/components/ic-search-bar/ic-search-bar.js +384 -384
  303. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  304. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  305. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  306. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  307. package/dist/collection/components/ic-search-bar/{ic-search-bar.spec.js → test/basic/ic-search-bar.spec.js} +7 -7
  308. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  309. package/dist/collection/components/ic-section-container/{ic-section-container.spec.js → test/basic/ic-section-container.spec.js} +1 -1
  310. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  311. package/dist/collection/components/ic-select/ic-select.js +266 -265
  312. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  313. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  314. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  315. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  316. package/dist/collection/components/ic-select/{ic-select.spec.js → test/basic/ic-select.spec.js} +6 -6
  317. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  318. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -4
  319. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +75 -79
  320. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  321. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  322. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  323. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  324. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  325. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.spec.js → test/basic/ic-side-navigation.spec.js} +5 -5
  326. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  327. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  328. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  329. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  330. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  331. package/dist/collection/components/ic-skeleton/{ic-skeleton.spec.js → test/basic/ic-skeleton.spec.js} +1 -1
  332. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  333. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  334. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  335. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  336. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  337. package/dist/collection/components/ic-status-tag/{ic-status-tag.spec.js → test/basic/ic-status-tag.spec.js} +1 -1
  338. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  339. package/dist/collection/components/ic-step/ic-step.js +126 -126
  340. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  341. package/dist/collection/components/ic-step/{ic-step.spec.js → test/basic/ic-step.spec.js} +3 -3
  342. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  343. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  344. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  345. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  346. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  347. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  348. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  349. package/dist/collection/components/ic-stepper/{ic-stepper.spec.js → test/basic/ic-stepper.spec.js} +3 -3
  350. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  351. package/dist/collection/components/ic-switch/ic-switch.js +72 -72
  352. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  353. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  354. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  355. package/dist/collection/components/ic-switch/{ic-switch.spec.js → test/basic/ic-switch.spec.js} +1 -1
  356. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  357. package/dist/collection/components/ic-tab/ic-tab.js +56 -56
  358. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  359. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  360. package/dist/collection/components/ic-tab/{ic-tab.spec.js → test/basic/ic-tab.spec.js} +3 -3
  361. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  362. package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
  363. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  364. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  365. package/dist/collection/components/ic-tab-context/{ic-tab-context.e2e.js → test/basic/ic-tab-context.e2e.js} +1 -1
  366. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  367. package/dist/collection/components/ic-tab-context/{ic-tab-context.spec.js → test/basic/ic-tab-context.spec.js} +4 -4
  368. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  369. package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
  370. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  371. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
  372. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  373. package/dist/collection/components/ic-tab-panel/{ic-tab-panel.spec.js → test/basic/ic-tab-panel.spec.js} +1 -1
  374. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  375. package/dist/collection/components/ic-text-field/ic-text-field.js +371 -371
  376. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  377. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  378. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  379. package/dist/collection/components/ic-text-field/{ic-text-field.input.spec.js → test/basic/ic-text-field.input.spec.js} +2 -2
  380. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  381. package/dist/collection/components/ic-text-field/{ic-text-field.textarea.spec.js → test/basic/ic-text-field.textarea.spec.js} +1 -1
  382. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  383. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  384. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  385. package/dist/collection/components/ic-theme/{ic-theme.spec.js → test/basic/ic-theme.spec.js} +3 -3
  386. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  387. package/dist/collection/components/ic-toast/ic-toast.js +111 -111
  388. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  389. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  390. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  391. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  392. package/dist/collection/components/ic-toast/{ic-toast.spec.js → test/basic/ic-toast.spec.js} +4 -4
  393. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  394. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  395. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  396. package/dist/collection/components/ic-toast-region/{ic-toast-region.spec.js → test/basic/ic-toast-region.spec.js} +3 -3
  397. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  398. package/dist/collection/components/ic-tooltip/ic-tooltip.js +47 -47
  399. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  400. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  401. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  402. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  403. package/dist/collection/components/ic-tooltip/{ic-tooltip.spec.js → test/basic/ic-tooltip.spec.js} +2 -2
  404. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  405. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +82 -82
  406. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  407. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +1 -1
  408. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  409. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  410. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  411. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.spec.js → test/basic/ic-top-navigation.spec.js} +8 -8
  412. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  413. package/dist/collection/components/ic-typography/ic-typography.js +36 -36
  414. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  415. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  416. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  417. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  418. package/dist/collection/components/ic-typography/{ic-typography.spec.js → test/basic/ic-typography.spec.js} +1 -1
  419. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  420. package/dist/collection/testspec.setup.js.map +1 -1
  421. package/dist/collection/utils/helpers.js.map +1 -1
  422. package/dist/components/helpers.js +1 -1
  423. package/dist/components/helpers.js.map +1 -1
  424. package/dist/components/ic-alert2.js +13 -13
  425. package/dist/components/ic-alert2.js.map +1 -1
  426. package/dist/components/ic-back-to-top.js +4 -4
  427. package/dist/components/ic-back-to-top.js.map +1 -1
  428. package/dist/components/ic-breadcrumb-group.js +25 -19
  429. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  430. package/dist/components/ic-breadcrumb2.js +7 -7
  431. package/dist/components/ic-breadcrumb2.js.map +1 -1
  432. package/dist/components/ic-button2.js +47 -46
  433. package/dist/components/ic-button2.js.map +1 -1
  434. package/dist/components/ic-card.js +50 -50
  435. package/dist/components/ic-card.js.map +1 -1
  436. package/dist/components/ic-checkbox-group.js +20 -20
  437. package/dist/components/ic-checkbox-group.js.map +1 -1
  438. package/dist/components/ic-checkbox.js +37 -34
  439. package/dist/components/ic-checkbox.js.map +1 -1
  440. package/dist/components/ic-chip.js +19 -19
  441. package/dist/components/ic-chip.js.map +1 -1
  442. package/dist/components/ic-data-row.js +21 -21
  443. package/dist/components/ic-data-row.js.map +1 -1
  444. package/dist/components/ic-dialog.js +60 -61
  445. package/dist/components/ic-dialog.js.map +1 -1
  446. package/dist/components/ic-footer-link-group.js +19 -19
  447. package/dist/components/ic-footer-link-group.js.map +1 -1
  448. package/dist/components/ic-footer-link.js +16 -16
  449. package/dist/components/ic-footer-link.js.map +1 -1
  450. package/dist/components/ic-footer.js +19 -19
  451. package/dist/components/ic-footer.js.map +1 -1
  452. package/dist/components/ic-hero.js +25 -25
  453. package/dist/components/ic-hero.js.map +1 -1
  454. package/dist/components/ic-horizontal-scroll2.js +34 -21
  455. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  456. package/dist/components/ic-input-component-container2.js +8 -8
  457. package/dist/components/ic-input-component-container2.js.map +1 -1
  458. package/dist/components/ic-input-label2.js +8 -8
  459. package/dist/components/ic-input-label2.js.map +1 -1
  460. package/dist/components/ic-input-validation2.js +6 -6
  461. package/dist/components/ic-input-validation2.js.map +1 -1
  462. package/dist/components/ic-link2.js +20 -20
  463. package/dist/components/ic-link2.js.map +1 -1
  464. package/dist/components/ic-loading-indicator2.js +24 -24
  465. package/dist/components/ic-loading-indicator2.js.map +1 -1
  466. package/dist/components/ic-menu-item2.js +17 -17
  467. package/dist/components/ic-menu-item2.js.map +1 -1
  468. package/dist/components/ic-menu2.js +93 -93
  469. package/dist/components/ic-menu2.js.map +1 -1
  470. package/dist/components/ic-navigation-button.js +20 -20
  471. package/dist/components/ic-navigation-button.js.map +1 -1
  472. package/dist/components/ic-navigation-group.js +40 -40
  473. package/dist/components/ic-navigation-group.js.map +1 -1
  474. package/dist/components/ic-navigation-item.js +52 -52
  475. package/dist/components/ic-navigation-item.js.map +1 -1
  476. package/dist/components/ic-navigation-menu2.js +28 -28
  477. package/dist/components/ic-navigation-menu2.js.map +1 -1
  478. package/dist/components/ic-page-header.js +18 -18
  479. package/dist/components/ic-page-header.js.map +1 -1
  480. package/dist/components/ic-pagination-item2.js +11 -11
  481. package/dist/components/ic-pagination-item2.js.map +1 -1
  482. package/dist/components/ic-pagination.js +39 -39
  483. package/dist/components/ic-pagination.js.map +1 -1
  484. package/dist/components/ic-popover-menu.js +64 -64
  485. package/dist/components/ic-popover-menu.js.map +1 -1
  486. package/dist/components/ic-radio-group.js +40 -33
  487. package/dist/components/ic-radio-group.js.map +1 -1
  488. package/dist/components/ic-radio-option.js +42 -35
  489. package/dist/components/ic-radio-option.js.map +1 -1
  490. package/dist/components/ic-search-bar.js +145 -145
  491. package/dist/components/ic-search-bar.js.map +1 -1
  492. package/dist/components/ic-select.js +95 -94
  493. package/dist/components/ic-select.js.map +1 -1
  494. package/dist/components/ic-side-navigation.js +40 -44
  495. package/dist/components/ic-side-navigation.js.map +1 -1
  496. package/dist/components/ic-skeleton.js +5 -5
  497. package/dist/components/ic-skeleton.js.map +1 -1
  498. package/dist/components/ic-status-tag.js +6 -6
  499. package/dist/components/ic-status-tag.js.map +1 -1
  500. package/dist/components/ic-step.js +15 -15
  501. package/dist/components/ic-step.js.map +1 -1
  502. package/dist/components/ic-stepper.js +19 -19
  503. package/dist/components/ic-stepper.js.map +1 -1
  504. package/dist/components/ic-switch.js +21 -21
  505. package/dist/components/ic-switch.js.map +1 -1
  506. package/dist/components/ic-tab-context.js +28 -34
  507. package/dist/components/ic-tab-context.js.map +1 -1
  508. package/dist/components/ic-tab-group.js +3 -3
  509. package/dist/components/ic-tab-group.js.map +1 -1
  510. package/dist/components/ic-tab-panel.js +4 -4
  511. package/dist/components/ic-tab-panel.js.map +1 -1
  512. package/dist/components/ic-tab.js +17 -17
  513. package/dist/components/ic-tab.js.map +1 -1
  514. package/dist/components/ic-text-field2.js +83 -83
  515. package/dist/components/ic-text-field2.js.map +1 -1
  516. package/dist/components/ic-theme.js.map +1 -1
  517. package/dist/components/ic-toast-region.js +12 -12
  518. package/dist/components/ic-toast-region.js.map +1 -1
  519. package/dist/components/ic-toast.js +62 -62
  520. package/dist/components/ic-toast.js.map +1 -1
  521. package/dist/components/ic-tooltip2.js +26 -26
  522. package/dist/components/ic-tooltip2.js.map +1 -1
  523. package/dist/components/ic-top-navigation.js +47 -47
  524. package/dist/components/ic-top-navigation.js.map +1 -1
  525. package/dist/components/ic-typography2.js +14 -14
  526. package/dist/components/ic-typography2.js.map +1 -1
  527. package/dist/core/core.esm.js +1 -1
  528. package/dist/core/core.esm.js.map +1 -1
  529. package/dist/core/{p-3ce0aa02.entry.js → p-00b0c1b5.entry.js} +2 -2
  530. package/dist/core/p-00b0c1b5.entry.js.map +1 -0
  531. package/dist/core/{p-ca6820dc.entry.js → p-0471f0a2.entry.js} +2 -2
  532. package/dist/core/p-0471f0a2.entry.js.map +1 -0
  533. package/dist/core/{p-bad10f6c.entry.js → p-053b387f.entry.js} +2 -2
  534. package/dist/core/p-053b387f.entry.js.map +1 -0
  535. package/dist/core/{p-31e80ccb.entry.js → p-071bd3f5.entry.js} +2 -2
  536. package/dist/core/p-071bd3f5.entry.js.map +1 -0
  537. package/dist/core/p-0738d6e3.entry.js +2 -0
  538. package/dist/core/p-0738d6e3.entry.js.map +1 -0
  539. package/dist/core/{p-b03bd9c6.entry.js → p-0ccdb432.entry.js} +2 -2
  540. package/dist/core/p-0ccdb432.entry.js.map +1 -0
  541. package/dist/core/{p-aeef3c9d.entry.js → p-0d4507ef.entry.js} +2 -2
  542. package/dist/core/p-0d4507ef.entry.js.map +1 -0
  543. package/dist/core/{p-97286148.entry.js → p-11e0f917.entry.js} +2 -2
  544. package/dist/core/p-11e0f917.entry.js.map +1 -0
  545. package/dist/core/{p-97fd0cc1.entry.js → p-12287f17.entry.js} +2 -2
  546. package/dist/core/p-12287f17.entry.js.map +1 -0
  547. package/dist/core/{p-a9de9aba.entry.js → p-18f86ab2.entry.js} +2 -2
  548. package/dist/core/{p-a9de9aba.entry.js.map → p-18f86ab2.entry.js.map} +1 -1
  549. package/dist/core/{p-ef91c17e.entry.js → p-1a7d6eca.entry.js} +2 -2
  550. package/dist/core/p-1a7d6eca.entry.js.map +1 -0
  551. package/dist/core/p-1c30ece9.entry.js +2 -0
  552. package/dist/core/p-1c30ece9.entry.js.map +1 -0
  553. package/dist/core/{p-b0685167.entry.js → p-206a402a.entry.js} +2 -2
  554. package/dist/core/p-206a402a.entry.js.map +1 -0
  555. package/dist/core/{p-a74b8476.entry.js → p-221c905b.entry.js} +2 -2
  556. package/dist/core/p-221c905b.entry.js.map +1 -0
  557. package/dist/core/p-2b80ce4c.entry.js +2 -0
  558. package/dist/core/p-2b80ce4c.entry.js.map +1 -0
  559. package/dist/core/{p-323bce82.entry.js → p-3294961a.entry.js} +2 -2
  560. package/dist/core/p-3294961a.entry.js.map +1 -0
  561. package/dist/core/p-36115f6a.entry.js +2 -0
  562. package/dist/core/p-36115f6a.entry.js.map +1 -0
  563. package/dist/core/{p-311c38b3.entry.js → p-38450979.entry.js} +2 -2
  564. package/dist/core/p-38450979.entry.js.map +1 -0
  565. package/dist/core/{p-b35a9909.entry.js → p-39ec4fc2.entry.js} +2 -2
  566. package/dist/core/p-39ec4fc2.entry.js.map +1 -0
  567. package/dist/core/p-4a47cc51.entry.js +2 -0
  568. package/dist/core/p-4a47cc51.entry.js.map +1 -0
  569. package/dist/core/{p-ecdcae46.entry.js → p-4a814585.entry.js} +2 -2
  570. package/dist/core/p-4a814585.entry.js.map +1 -0
  571. package/dist/core/{p-820e4c17.entry.js → p-51d4c05c.entry.js} +2 -2
  572. package/dist/core/{p-820e4c17.entry.js.map → p-51d4c05c.entry.js.map} +1 -1
  573. package/dist/core/{p-2e051e1e.entry.js → p-54a5e971.entry.js} +2 -2
  574. package/dist/core/p-54a5e971.entry.js.map +1 -0
  575. package/dist/core/{p-0d325b4c.entry.js → p-57ba3442.entry.js} +2 -2
  576. package/dist/core/p-57ba3442.entry.js.map +1 -0
  577. package/dist/core/{p-68308ecd.entry.js → p-594e88fe.entry.js} +2 -2
  578. package/dist/core/p-594e88fe.entry.js.map +1 -0
  579. package/dist/core/{p-79914e0c.entry.js → p-5d245683.entry.js} +2 -2
  580. package/dist/core/{p-79914e0c.entry.js.map → p-5d245683.entry.js.map} +1 -1
  581. package/dist/core/{p-29d9fea1.entry.js → p-64584eb6.entry.js} +2 -2
  582. package/dist/core/p-64584eb6.entry.js.map +1 -0
  583. package/dist/core/{p-ad6c4c02.entry.js → p-67e99ad8.entry.js} +2 -2
  584. package/dist/core/p-67e99ad8.entry.js.map +1 -0
  585. package/dist/core/{p-f0714432.entry.js → p-6921177c.entry.js} +2 -2
  586. package/dist/core/p-6921177c.entry.js.map +1 -0
  587. package/dist/core/{p-84c8c4c7.entry.js → p-6ac8df90.entry.js} +2 -2
  588. package/dist/core/{p-84c8c4c7.entry.js.map → p-6ac8df90.entry.js.map} +1 -1
  589. package/dist/core/{p-dbe06c3b.entry.js → p-6aee5f18.entry.js} +2 -2
  590. package/dist/core/p-6aee5f18.entry.js.map +1 -0
  591. package/dist/core/{p-da4c1409.entry.js → p-7350d63d.entry.js} +2 -2
  592. package/dist/core/p-7350d63d.entry.js.map +1 -0
  593. package/dist/core/p-75e23d08.entry.js +2 -0
  594. package/dist/core/p-75e23d08.entry.js.map +1 -0
  595. package/dist/core/p-7ae1d7bc.entry.js +2 -0
  596. package/dist/core/p-7ae1d7bc.entry.js.map +1 -0
  597. package/dist/core/{p-6c76c6ba.entry.js → p-7fafc87a.entry.js} +2 -2
  598. package/dist/core/p-7fafc87a.entry.js.map +1 -0
  599. package/dist/core/{p-2ec49a7e.entry.js → p-9779c179.entry.js} +2 -2
  600. package/dist/core/{p-2ec49a7e.entry.js.map → p-9779c179.entry.js.map} +1 -1
  601. package/dist/core/{p-617950f8.entry.js → p-9e7b1167.entry.js} +2 -2
  602. package/dist/core/p-9e7b1167.entry.js.map +1 -0
  603. package/dist/core/{p-bda4414e.entry.js → p-ac10763e.entry.js} +2 -2
  604. package/dist/core/p-ac10763e.entry.js.map +1 -0
  605. package/dist/core/{p-31ccdd50.entry.js → p-acdc2931.entry.js} +2 -2
  606. package/dist/core/p-acdc2931.entry.js.map +1 -0
  607. package/dist/core/{p-f381e93f.entry.js → p-bc02816a.entry.js} +2 -2
  608. package/dist/core/p-bc02816a.entry.js.map +1 -0
  609. package/dist/core/{p-551986d1.entry.js → p-bde0fcab.entry.js} +2 -2
  610. package/dist/core/p-bde0fcab.entry.js.map +1 -0
  611. package/dist/core/{p-8911656b.entry.js → p-be6ee8a9.entry.js} +2 -2
  612. package/dist/core/{p-8911656b.entry.js.map → p-be6ee8a9.entry.js.map} +1 -1
  613. package/dist/core/{p-4a385752.js → p-bf5669a2.js} +2 -2
  614. package/dist/core/{p-4a385752.js.map → p-bf5669a2.js.map} +1 -1
  615. package/dist/core/{p-c0333310.entry.js → p-c4dcc6b9.entry.js} +2 -2
  616. package/dist/core/p-c4dcc6b9.entry.js.map +1 -0
  617. package/dist/core/{p-dfd31e28.entry.js → p-ca0e8569.entry.js} +2 -2
  618. package/dist/core/p-ca0e8569.entry.js.map +1 -0
  619. package/dist/core/p-ddb60a4b.entry.js +2 -0
  620. package/dist/core/p-ddb60a4b.entry.js.map +1 -0
  621. package/dist/core/{p-e3e6308b.entry.js → p-e0bbf81e.entry.js} +2 -2
  622. package/dist/core/{p-5fcd965f.entry.js → p-e6d3b5f8.entry.js} +2 -2
  623. package/dist/core/p-e6d3b5f8.entry.js.map +1 -0
  624. package/dist/core/p-e8be020c.entry.js +2 -0
  625. package/dist/core/p-e8be020c.entry.js.map +1 -0
  626. package/dist/core/{p-249af8ab.entry.js → p-fa40a71b.entry.js} +2 -2
  627. package/dist/core/{p-249af8ab.entry.js.map → p-fa40a71b.entry.js.map} +1 -1
  628. package/dist/esm/core.js +1 -1
  629. package/dist/esm/{helpers-8e57082b.js → helpers-c4e378c4.js} +2 -2
  630. package/dist/esm/{helpers-8e57082b.js.map → helpers-c4e378c4.js.map} +1 -1
  631. package/dist/esm/ic-alert.entry.js +9 -9
  632. package/dist/esm/ic-alert.entry.js.map +1 -1
  633. package/dist/esm/ic-back-to-top.entry.js +3 -3
  634. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  635. package/dist/esm/ic-breadcrumb-group.entry.js +26 -20
  636. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  637. package/dist/esm/ic-breadcrumb.entry.js +6 -6
  638. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  639. package/dist/esm/ic-button_3.entry.js +72 -71
  640. package/dist/esm/ic-button_3.entry.js.map +1 -1
  641. package/dist/esm/ic-card.entry.js +41 -41
  642. package/dist/esm/ic-card.entry.js.map +1 -1
  643. package/dist/esm/ic-checkbox-group.entry.js +18 -18
  644. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  645. package/dist/esm/ic-checkbox.entry.js +33 -30
  646. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  647. package/dist/esm/ic-chip.entry.js +16 -16
  648. package/dist/esm/ic-chip.entry.js.map +1 -1
  649. package/dist/esm/ic-data-row.entry.js +21 -21
  650. package/dist/esm/ic-data-row.entry.js.map +1 -1
  651. package/dist/esm/ic-dialog.entry.js +55 -56
  652. package/dist/esm/ic-dialog.entry.js.map +1 -1
  653. package/dist/esm/ic-divider.entry.js +1 -1
  654. package/dist/esm/ic-footer-link-group.entry.js +17 -17
  655. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  656. package/dist/esm/ic-footer-link.entry.js +15 -15
  657. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  658. package/dist/esm/ic-footer.entry.js +18 -18
  659. package/dist/esm/ic-footer.entry.js.map +1 -1
  660. package/dist/esm/ic-hero.entry.js +19 -19
  661. package/dist/esm/ic-hero.entry.js.map +1 -1
  662. package/dist/esm/ic-horizontal-scroll.entry.js +34 -21
  663. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  664. package/dist/esm/ic-input-component-container_3.entry.js +87 -87
  665. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  666. package/dist/esm/ic-input-label_2.entry.js +8 -8
  667. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  668. package/dist/esm/ic-link.entry.js +18 -18
  669. package/dist/esm/ic-link.entry.js.map +1 -1
  670. package/dist/esm/ic-menu-item.entry.js +13 -13
  671. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  672. package/dist/esm/ic-navigation-button.entry.js +16 -16
  673. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  674. package/dist/esm/ic-navigation-group.entry.js +37 -37
  675. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  676. package/dist/esm/ic-navigation-item.entry.js +43 -43
  677. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  678. package/dist/esm/ic-navigation-menu.entry.js +27 -27
  679. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  680. package/dist/esm/ic-page-header.entry.js +13 -13
  681. package/dist/esm/ic-page-header.entry.js.map +1 -1
  682. package/dist/esm/ic-pagination-item.entry.js +6 -6
  683. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  684. package/dist/esm/ic-pagination.entry.js +31 -31
  685. package/dist/esm/ic-pagination.entry.js.map +1 -1
  686. package/dist/esm/ic-popover-menu.entry.js +62 -62
  687. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  688. package/dist/esm/ic-radio-group.entry.js +36 -29
  689. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  690. package/dist/esm/ic-radio-option.entry.js +37 -30
  691. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  692. package/dist/esm/ic-search-bar.entry.js +122 -122
  693. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  694. package/dist/esm/ic-select.entry.js +67 -66
  695. package/dist/esm/ic-select.entry.js.map +1 -1
  696. package/dist/esm/ic-side-navigation.entry.js +32 -36
  697. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  698. package/dist/esm/ic-skeleton.entry.js +3 -3
  699. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  700. package/dist/esm/ic-status-tag.entry.js +4 -4
  701. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  702. package/dist/esm/ic-step.entry.js +7 -7
  703. package/dist/esm/ic-step.entry.js.map +1 -1
  704. package/dist/esm/ic-stepper.entry.js +14 -14
  705. package/dist/esm/ic-stepper.entry.js.map +1 -1
  706. package/dist/esm/ic-switch.entry.js +17 -17
  707. package/dist/esm/ic-switch.entry.js.map +1 -1
  708. package/dist/esm/ic-tab-context.entry.js +26 -32
  709. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  710. package/dist/esm/ic-tab-group.entry.js +2 -2
  711. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  712. package/dist/esm/ic-tab-panel.entry.js +2 -2
  713. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  714. package/dist/esm/ic-tab.entry.js +17 -17
  715. package/dist/esm/ic-tab.entry.js.map +1 -1
  716. package/dist/esm/ic-text-field.entry.js +54 -54
  717. package/dist/esm/ic-text-field.entry.js.map +1 -1
  718. package/dist/esm/ic-theme.entry.js +1 -1
  719. package/dist/esm/ic-theme.entry.js.map +1 -1
  720. package/dist/esm/ic-toast-region.entry.js +12 -12
  721. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  722. package/dist/esm/ic-toast.entry.js +58 -58
  723. package/dist/esm/ic-toast.entry.js.map +1 -1
  724. package/dist/esm/ic-top-navigation.entry.js +39 -39
  725. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  726. package/dist/esm/ic-typography.entry.js +12 -12
  727. package/dist/esm/ic-typography.entry.js.map +1 -1
  728. package/dist/esm/loader.js +1 -1
  729. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  730. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  731. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  732. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
  733. package/dist/types/components/ic-button/ic-button.d.ts +52 -52
  734. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  735. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
  736. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +13 -13
  737. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -16
  738. package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
  739. package/dist/types/components/ic-dialog/ic-dialog.d.ts +47 -47
  740. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  741. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +9 -9
  742. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  743. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  744. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  745. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  746. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  747. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  748. package/dist/types/components/ic-link/ic-link.d.ts +8 -8
  749. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
  750. package/dist/types/components/ic-menu/ic-menu.d.ts +63 -63
  751. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
  752. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  753. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +20 -20
  754. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
  755. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  756. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  757. package/dist/types/components/ic-pagination/ic-pagination.d.ts +26 -26
  758. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +15 -15
  759. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
  760. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +19 -21
  761. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +31 -26
  762. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +105 -105
  763. package/dist/types/components/ic-select/ic-select.d.ts +86 -86
  764. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +27 -24
  765. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  766. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  767. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  768. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  769. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  770. package/dist/types/components/ic-tab/ic-tab.d.ts +16 -16
  771. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
  772. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
  773. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
  774. package/dist/types/components/ic-text-field/ic-text-field.d.ts +102 -102
  775. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  776. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
  777. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  778. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
  779. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +32 -32
  780. package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
  781. package/dist/types/components.d.ts +5 -1
  782. package/dist/types/testspec.setup.d.ts +7 -5
  783. package/hydrate/index.js +1637 -1610
  784. package/package.json +3 -3
  785. package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +0 -1
  786. package/dist/collection/components/ic-alert/ic-alert.spec.js.map +0 -1
  787. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  788. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +0 -1
  789. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +0 -1
  790. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  791. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +0 -1
  792. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  793. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +0 -1
  794. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +0 -1
  795. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  796. package/dist/collection/components/ic-button/ic-button.e2e.js.map +0 -1
  797. package/dist/collection/components/ic-button/ic-button.spec.js.map +0 -1
  798. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  799. package/dist/collection/components/ic-card/ic-card.e2e.js.map +0 -1
  800. package/dist/collection/components/ic-card/ic-card.spec.js.map +0 -1
  801. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  802. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +0 -1
  803. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +0 -1
  804. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  805. package/dist/collection/components/ic-chip/ic-chip.spec.js.map +0 -1
  806. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  807. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +0 -1
  808. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +0 -1
  810. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  811. package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +0 -1
  812. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  813. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +0 -1
  814. package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +0 -1
  815. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-divider/ic-divider.spec.js.map +0 -1
  817. package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +0 -1
  818. package/dist/collection/components/ic-footer/ic-footer.spec.js.map +0 -1
  819. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  820. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +0 -1
  821. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  822. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +0 -1
  823. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  824. package/dist/collection/components/ic-hero/ic-hero.spec.js.map +0 -1
  825. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  826. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +0 -1
  827. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  828. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +0 -1
  829. package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +0 -1
  830. package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +0 -1
  831. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +0 -1
  832. package/dist/collection/components/ic-link/ic-link.spec.js.map +0 -1
  833. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  834. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +0 -1
  835. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +0 -1
  836. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  837. package/dist/collection/components/ic-menu/ic-menu.spec.js.map +0 -1
  838. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +0 -1
  839. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +0 -1
  840. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +0 -1
  841. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +0 -1
  842. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  843. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +0 -1
  844. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  845. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +0 -1
  846. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +0 -1
  847. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +0 -1
  848. package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +0 -1
  849. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  850. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +0 -1
  851. package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +0 -1
  852. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
  853. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +0 -1
  854. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +0 -1
  855. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
  856. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +0 -1
  857. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +0 -1
  858. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  859. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +0 -1
  860. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +0 -1
  861. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  862. package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +0 -1
  863. package/dist/collection/components/ic-select/ic-select.e2e.js.map +0 -1
  864. package/dist/collection/components/ic-select/ic-select.spec.js.map +0 -1
  865. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  866. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  867. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +0 -1
  868. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +0 -1
  869. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  870. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +0 -1
  871. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  872. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +0 -1
  873. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  874. package/dist/collection/components/ic-step/ic-step.spec.js.map +0 -1
  875. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  876. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +0 -1
  877. package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +0 -1
  878. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  879. package/dist/collection/components/ic-switch/ic-switch.spec.js.map +0 -1
  880. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  881. package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +0 -1
  882. package/dist/collection/components/ic-tab/ic-tab.spec.js.map +0 -1
  883. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +0 -1
  884. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +0 -1
  885. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  886. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +0 -1
  887. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +0 -1
  888. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +0 -1
  889. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  890. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +0 -1
  891. package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +0 -1
  892. package/dist/collection/components/ic-theme/ic-theme.spec.js.map +0 -1
  893. package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +0 -1
  894. package/dist/collection/components/ic-toast/ic-toast.spec.js.map +0 -1
  895. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  896. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +0 -1
  897. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +0 -1
  898. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +0 -1
  899. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  900. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +0 -1
  901. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +0 -1
  902. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +0 -1
  903. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  904. package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +0 -1
  905. package/dist/collection/components/ic-typography/ic-typography.spec.js.map +0 -1
  906. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  907. package/dist/core/p-0d325b4c.entry.js.map +0 -1
  908. package/dist/core/p-29d9fea1.entry.js.map +0 -1
  909. package/dist/core/p-2e051e1e.entry.js.map +0 -1
  910. package/dist/core/p-3114a4b3.entry.js +0 -2
  911. package/dist/core/p-3114a4b3.entry.js.map +0 -1
  912. package/dist/core/p-311c38b3.entry.js.map +0 -1
  913. package/dist/core/p-31ccdd50.entry.js.map +0 -1
  914. package/dist/core/p-31e80ccb.entry.js.map +0 -1
  915. package/dist/core/p-323bce82.entry.js.map +0 -1
  916. package/dist/core/p-3918c27a.entry.js +0 -2
  917. package/dist/core/p-3918c27a.entry.js.map +0 -1
  918. package/dist/core/p-3ce0aa02.entry.js.map +0 -1
  919. package/dist/core/p-524557bc.entry.js +0 -2
  920. package/dist/core/p-524557bc.entry.js.map +0 -1
  921. package/dist/core/p-551986d1.entry.js.map +0 -1
  922. package/dist/core/p-57460fa3.entry.js +0 -2
  923. package/dist/core/p-57460fa3.entry.js.map +0 -1
  924. package/dist/core/p-5fcd965f.entry.js.map +0 -1
  925. package/dist/core/p-617950f8.entry.js.map +0 -1
  926. package/dist/core/p-68308ecd.entry.js.map +0 -1
  927. package/dist/core/p-6c76c6ba.entry.js.map +0 -1
  928. package/dist/core/p-97286148.entry.js.map +0 -1
  929. package/dist/core/p-97fd0cc1.entry.js.map +0 -1
  930. package/dist/core/p-a74b8476.entry.js.map +0 -1
  931. package/dist/core/p-ad6c4c02.entry.js.map +0 -1
  932. package/dist/core/p-aeef3c9d.entry.js.map +0 -1
  933. package/dist/core/p-b03bd9c6.entry.js.map +0 -1
  934. package/dist/core/p-b0685167.entry.js.map +0 -1
  935. package/dist/core/p-b35a9909.entry.js.map +0 -1
  936. package/dist/core/p-bad10f6c.entry.js.map +0 -1
  937. package/dist/core/p-bda4414e.entry.js.map +0 -1
  938. package/dist/core/p-c0333310.entry.js.map +0 -1
  939. package/dist/core/p-c3f9fb1d.entry.js +0 -2
  940. package/dist/core/p-c3f9fb1d.entry.js.map +0 -1
  941. package/dist/core/p-ca6820dc.entry.js.map +0 -1
  942. package/dist/core/p-d6694b41.entry.js +0 -2
  943. package/dist/core/p-d6694b41.entry.js.map +0 -1
  944. package/dist/core/p-da4c1409.entry.js.map +0 -1
  945. package/dist/core/p-dbe06c3b.entry.js.map +0 -1
  946. package/dist/core/p-dfd31e28.entry.js.map +0 -1
  947. package/dist/core/p-ea233813.entry.js +0 -2
  948. package/dist/core/p-ea233813.entry.js.map +0 -1
  949. package/dist/core/p-ecdcae46.entry.js.map +0 -1
  950. package/dist/core/p-ef91c17e.entry.js.map +0 -1
  951. package/dist/core/p-f0714432.entry.js.map +0 -1
  952. package/dist/core/p-f381e93f.entry.js.map +0 -1
  953. package/dist/core/p-fd482bd7.entry.js +0 -2
  954. package/dist/core/p-fd482bd7.entry.js.map +0 -1
  955. package/dist/core/p-fe2c4009.entry.js +0 -2
  956. package/dist/core/p-fe2c4009.entry.js.map +0 -1
  957. /package/dist/collection/components/ic-alert/{ic-alert.e2e.js → test/basic/ic-alert.e2e.js} +0 -0
  958. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
  959. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.e2e.js → test/basic/ic-back-to-top.e2e.js} +0 -0
  960. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  961. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.e2e.js → test/basic/ic-breadcrumb-group.e2e.js} +0 -0
  962. /package/dist/collection/components/ic-button/{ic-button.e2e.js → test/basic/ic-button.e2e.js} +0 -0
  963. /package/dist/collection/components/ic-card/{ic-card.e2e.js → test/basic/ic-card.e2e.js} +0 -0
  964. /package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.e2e.js → test/basic/ic-checkbox-group.e2e.js} +0 -0
  965. /package/dist/collection/components/ic-dialog/{ic-dialog.e2e.js → test/basic/ic-dialog.e2e.js} +0 -0
  966. /package/dist/collection/components/ic-footer/{ic-footer.e2e.js → test/basic/ic-footer.e2e.js} +0 -0
  967. /package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.e2e.js → test/basic/ic-loading-indicator.e2e.js} +0 -0
  968. /package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.e2e.js → test/basic/ic-navigation-menu.e2e.js} +0 -0
  969. /package/dist/collection/components/ic-page-header/{ic-page-header.e2e.js → test/basic/ic-page-header.e2e.js} +0 -0
  970. /package/dist/collection/components/ic-pagination/{ic-pagination.e2e.js → test/basic/ic-pagination.e2e.js} +0 -0
  971. /package/dist/collection/components/ic-popover-menu/{ic-popover-menu.e2e.js → test/basic/ic-popover-menu.e2e.js} +0 -0
  972. /package/dist/collection/components/ic-radio-group/{ic-radio-group.e2e.js → test/basic/ic-radio-group.e2e.js} +0 -0
  973. /package/dist/collection/components/ic-search-bar/{ic-search-bar.e2e.js → test/basic/ic-search-bar.e2e.js} +0 -0
  974. /package/dist/collection/components/ic-select/{ic-select.e2e.js → test/basic/ic-select.e2e.js} +0 -0
  975. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
  976. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation.e2e.js → test/basic/ic-side-navigation.e2e.js} +0 -0
  977. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  978. /package/dist/collection/components/ic-stepper/{ic-stepper.e2e.js → test/basic/ic-stepper.e2e.js} +0 -0
  979. /package/dist/collection/components/ic-tab/{ic-tab.e2e.js → test/basic/ic-tab.e2e.js} +0 -0
  980. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  981. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  982. /package/dist/collection/components/ic-text-field/{ic-text-field.e2e.js → test/basic/ic-text-field.e2e.js} +0 -0
  983. /package/dist/collection/components/ic-theme/{ic-theme.e2e.js → test/basic/ic-theme.e2e.js} +0 -0
  984. /package/dist/collection/components/ic-toast/{ic-toast.e2e.js → test/basic/ic-toast.e2e.js} +0 -0
  985. /package/dist/collection/components/ic-tooltip/{ic-tooltip.e2e.js → test/basic/ic-tooltip.e2e.js} +0 -0
  986. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.e2e.js → test/basic/ic-top-navigation.e2e.js} +0 -0
  987. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.mobile.e2e.js → test/basic/ic-top-navigation.mobile.e2e.js} +0 -0
  988. /package/dist/collection/components/ic-typography/{ic-typography.e2e.js → test/basic/ic-typography.e2e.js} +0 -0
  989. /package/dist/core/{p-e3e6308b.entry.js.map → p-e0bbf81e.entry.js.map} +0 -0
  990. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  991. /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
  992. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
  993. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
  994. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  995. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  996. /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
  997. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  998. /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
  999. /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
  1000. /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
  1001. /package/dist/types/components/ic-dialog/{ic-dialog.test.a11y.d.ts → test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1002. /package/dist/types/components/ic-footer/{ic-footer.test.a11y.d.ts → test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1003. /package/dist/types/components/ic-footer-link/{ic-footer-link.test.a11y.d.ts → test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1004. /package/dist/types/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.d.ts → test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1005. /package/dist/types/components/ic-hero/{ic-hero.test.a11y.d.ts → test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1006. /package/dist/types/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.d.ts → test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1007. /package/dist/types/components/ic-link/{ic-link.test.a11y.d.ts → test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1008. /package/dist/types/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.d.ts → test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1009. /package/dist/types/components/ic-navigation-group/{ic-navigation-group.test.a11y.d.ts → test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1010. /package/dist/types/components/ic-navigation-item/{ic-navigation-item.test.a11y.d.ts → test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1011. /package/dist/types/components/ic-page-header/{ic-page-header.test.a11y.d.ts → test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1012. /package/dist/types/components/ic-pagination/{ic-pagination.test.a11y.d.ts → test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1013. /package/dist/types/components/ic-popover-menu/{ic-popover-menu.test.a11y.d.ts → test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1014. /package/dist/types/components/ic-radio-group/{ic-radio-group.test.a11y.d.ts → test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1015. /package/dist/types/components/ic-search-bar/{ic-search-bar.test.a11y.d.ts → test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1016. /package/dist/types/components/ic-select/{ic-select.test.a11y.d.ts → test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1017. /package/dist/types/components/ic-side-navigation/{ic-side-navigation.test.a11y.d.ts → test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1018. /package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +0 -0
  1019. /package/dist/types/components/ic-skeleton/{ic-skeleton.test.a11y.d.ts → test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1020. /package/dist/types/components/ic-status-tag/{ic-status-tag.test.a11y.d.ts → test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1021. /package/dist/types/components/ic-stepper/{ic-stepper.test.a11y.d.ts → test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1022. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1023. /package/dist/types/components/ic-switch/{ic-switch.test.a11y.d.ts → test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1024. /package/dist/types/components/ic-tab-context/{ic-tab-context.test.a11y.d.ts → test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1025. /package/dist/types/components/ic-text-field/{ic-text-field.test.a11y.d.ts → test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
  1026. /package/dist/types/components/ic-toast/{ic-toast.test.a11y.d.ts → test/a11y/ic-toast.test.a11y.d.ts} +0 -0
  1027. /package/dist/types/components/ic-tooltip/{ic-tooltip.test.a11y.d.ts → test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
  1028. /package/dist/types/components/ic-top-navigation/{ic-top-navigation.test.a11y.d.ts → test/a11y/ic-top-navigation.test.a11y.d.ts} +0 -0
  1029. /package/dist/types/components/ic-typography/{ic-typography.test.a11y.d.ts → test/a11y/ic-typography.test.a11y.d.ts} +0 -0
@@ -1 +1 @@
1
- {"file":"ic-text-field2.js","mappings":";;;;;;;;;AAAA,MAAM,cAAc,GAAG,09HAA09H;;ACuCj/H,IAAI,QAAQ,GAAG,CAAC,CAAC;MAUJ,SAAS;;;;;;;;;;;IAIZ,wBAAmB,GAA6B,EAAE,CAAC;IAsInD,iBAAY,GAAY,IAAI,CAAC,eAAe,EAAE,CAAC;IA4H/C,YAAO,GAAG,CAAC,EAAS;MAC1B,IAAI,CAAC,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC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CAAC;MACf,gBAAgB;MAChB,kBAAkB;MAClB,CAAC,wBAAwB,KACvB,2BACE,MAAM,EACJ,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,KAAK;SACtC,aAAa,KAAK,mBAAmB,CAAC,OAAO;UAC5C,gBAAgB,CAAC;QACnB,wBAAwB;UACpB,EAAE;UACF,aAAa,EAEnB,OAAO,EAAE,cAAc,GAAG,qBAAqB,GAAG,EAAE,EACpD,YAAY,EAAE,eAAe,EAC7B,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,SAAS,IAEnB,CAAC,QAAQ,IAAI,WAAW,GAAG,CAAC,KAC3B,WAAK,IAAI,EAAC,8BAA8B,IACtC,qBACE,OAAO,EAAC,SAAS,EACjB,KAAK,EAAE;QACL,CAAC,eAAe,GAAG,IAAI;QACvB,CAAC,OAAO,GAAG,iBAAiB;QAC5B,CAAC,UAAU,GAAG,YAAY;OAC3B,IAED,yBACY,QAAQ,EAClB,EAAE,EAAE,GAAG,OAAO,YAAY,EAC1B,KAAK,EAAC,WAAW,IAEhB,QAAQ,OAAG,WAAW,CAClB,EACP,YAAM,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,qBAAqB,uCACX,WAAW,iBACtC,CACO,CACZ,CACP,CACmB,CACvB,CACgB,CAChB,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-text-field/ic-text-field.css?tag=ic-text-field&encapsulation=shadow","./src/components/ic-text-field/ic-text-field.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n /**\n * @prop --input-width: Width of the input field\n */\n display: block;\n}\n\n:host(.fullwidth) {\n width: 100%;\n}\n\n::placeholder {\n color: var(--ic-color-tertiary-text);\n opacity: 1;\n}\n\ninput,\ntextarea {\n border: 0;\n border-radius: var(--ic-border-radius);\n background-color: var(--ic-architectural-white);\n line-height: 1.5rem;\n letter-spacing: 0.005rem;\n width: 100%;\n padding-right: var(--ic-space-xs);\n padding-left: var(--ic-space-xs);\n}\n\ntextarea {\n min-height: var(--ic-space-lg);\n resize: vertical;\n padding-top: 0.375rem;\n}\n\ninput:focus,\ntextarea:focus {\n border: 0;\n outline: 0;\n}\n\ninput:disabled,\ntextarea:disabled {\n color: var(--ic-architectural-200);\n}\n\ninput.readonly,\ntextarea.readonly {\n color: var(--ic-color-primary-text);\n}\n\n/* Chrome, Safari, Edge */\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput[type=\"number\"] {\n -moz-appearance: textfield;\n}\n\ntextarea.no-resize {\n resize: none;\n}\n\n.maxlengthtext {\n color: var(--ic-color-secondary-text);\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n}\n\n.no-left-pad {\n padding-left: 0;\n}\n\n::slotted([slot=\"icon\"]) {\n fill: var(--ic-color-tertiary-text);\n}\n\n.has-value ::slotted([slot=\"icon\"]) {\n fill: var(--ic-color-primary-text);\n}\n\n.charcount {\n margin-right: calc(-1 * var(--ic-space-xxxs));\n}\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-results-button,\ninput[type=\"search\"]::-webkit-search-results-decoration {\n display: none;\n}\n\ninput[type=\"search\"].truncate-value {\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n@media (forced-colors: active) {\n input.readonly,\n textarea.readonly {\n color: canvastext;\n }\n\n .has-value ::slotted([slot=\"icon\"]) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n Method,\n h,\n} from \"@stencil/core\";\nimport {\n IcInformationStatus,\n IcAutocompleteTypes,\n IcAutocorrectStates,\n IcInformationStatusOrEmpty,\n IcValueEventDetail,\n} from \"../../utils/types\";\nimport {\n inheritAttributes,\n debounceEvent,\n getInputDescribedByText,\n renderHiddenInput,\n isEmptyString,\n onComponentRequiredPropUndefined,\n addFormResetListener,\n removeFormResetListener,\n isSlotUsed,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcAriaAutocompleteTypes,\n IcTextFieldInputModes,\n IcTextFieldTypes,\n} from \"./ic-text-field.types\";\n\nlet inputIds = 0;\n\n/**\n * @slot icon - Content will be placed to the left of the text input.\n */\n@Component({\n tag: \"ic-text-field\",\n styleUrl: \"ic-text-field.css\",\n shadow: true,\n})\nexport class TextField {\n @Element() el: HTMLIcTextFieldElement;\n\n private inputEl: HTMLInputElement | HTMLTextAreaElement;\n private inheritedAttributes: { [k: string]: unknown } = {};\n\n /**\n * @slot clear-button - an ic-button clear component will render as an end adornment to the input.\n * @slot search-submit-button - an ic-button search submit component will render as an end adornment to the input.\n * @slot menu - an ic-menu component will appear below the input.\n */\n\n /**\n * The ID for the input.\n */\n @Prop() inputId?: string = `ic-text-field-input-${inputIds++}`;\n\n /**\n * The label for the input.\n */\n @Prop() label!: string;\n\n /**\n * If `true`, the input will require a value.\n */\n @Prop() required: boolean = false;\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * If `true`, the read only state will be set.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The placeholder value to be displayed.\n */\n @Prop() placeholder: string = \"\";\n\n /**\n * Specify whether the text field fills the full width of the container.\n * If `true`, this overrides the --input-width CSS variable.\n */\n @Prop() fullWidth: boolean = false;\n\n /**\n * If `true`, the label will be hidden and the required label value will be applied as an aria-label.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * The helper text that will be displayed for additional field guidance.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * The number of rows to transform the text field into a text area with a specific height.\n */\n @Prop() rows: number = 1;\n\n /**\n * If `true`, the multiline text area will be resizeable.\n */\n @Prop() resize: boolean = false;\n\n /**\n * If `true`, the small styling will be applied to the text field.\n */\n @Prop({ reflect: true }) small: boolean = false;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = \"\";\n\n /**\n * The minimum number that can be accepted as a value, when `type` is `number` and `rows` is `1`. (NOTE: Ensure to include visual indication of min value in `helperText` or `label`)\n */\n @Prop() min: string | number = undefined;\n\n /**\n * The maximum number that can be accepted as a value, when `type` is `number` and `rows` is `1`. (NOTE: Ensure to include visual indication of max value in `helperText` or `label`)\n */\n @Prop() max: string | number = undefined;\n\n /**\n * The maximum number of characters that can be entered in the field.\n */\n @Prop() maxLength: number = 0;\n\n /**\n * The validation state - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n\n /**\n * The validation state - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationText: string = \"\";\n\n /**\n * If `true`, the icon in input control will be displayed - only applies when validationStatus ='success'.\n */\n @Prop() validationInline: boolean = false;\n\n /**\n * @internal If `true`, the validation will display inline.\n */\n @Prop() validationInlineInternal: boolean = false;\n\n /**\n * The automatic capitalisation of the text value as it is entered/edited by the user.\n * Available options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\".\n */\n @Prop() autocapitalize = \"off\";\n\n /**\n * The state of autocompletion the browser can apply on the text value.\n */\n @Prop() autocomplete: IcAutocompleteTypes = \"off\";\n\n /**\n * The state of autocorrection the browser can apply when the user is entering/editing the text value.\n */\n @Prop() autocorrect: IcAutocorrectStates = \"off\";\n\n /**\n * If `true`, the form control will have input focus when the page loads.\n */\n @Prop() autoFocus = false;\n\n /**\n * The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.\n */\n @Prop() debounce: number = 0;\n\n private showLeftIcon: boolean = this.hasLeftIconSlot();\n\n @Watch(\"debounce\")\n private debounceChanged() {\n this.icChange = debounceEvent(this.icChange, this.debounce);\n }\n\n /**\n * The type of control to display. The default type is text.\n */\n @Prop() type: IcTextFieldTypes = \"text\";\n\n /**\n * A hint to the browser for which keyboard to display.\n * Possible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n * `\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n */\n @Prop() inputmode: IcTextFieldInputModes = \"text\";\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * If `true`, the value of the text field will have its spelling and grammar checked.\n */\n @Prop() spellcheck: boolean = false;\n\n /**\n * @internal The active element when focus is on the ic-menu items.\n */\n @Prop() ariaActiveDescendant?: string;\n /**\n * @internal If `true`, an ellipsis will be displayed at the end of the value if the value is longer than the container.\n */\n @Prop() truncateValue?: boolean;\n\n /**\n * @internal Used to identify if the slotted menu is rendered\n */\n @Prop() ariaExpanded: string;\n\n /**\n * @internal Used to identify any related child component\n */\n @Prop() ariaOwns: string;\n\n /**\n * @internal Used to identify whether inputting any text triggers more predictions\n */\n @Prop() ariaAutocomplete: IcAriaAutocompleteTypes = undefined;\n\n /**\n * @internal Used to set the role if not default textbox;\n */\n @Prop() role: string;\n\n /**\n * @internal If `true`, the hidden form input will stop rendering for form submission.\n */\n @Prop() hiddenInput: boolean = true;\n\n @State() numChars: number = 0;\n @State() maxLengthExceeded: boolean = false;\n @State() minValueUnattained: boolean = false;\n @State() maxValueExceeded: boolean = false;\n @State() initialValue = this.value;\n\n @Watch(\"value\")\n watchValueHandler(newValue: string): void {\n if (this.inputEl && this.inputEl.value !== newValue) {\n this.inputEl.value = newValue;\n }\n\n this.numChars = newValue.length;\n\n if (this.type === \"number\") {\n if (newValue && Number(newValue) < Number(this.min)) {\n this.minValueUnattained = true;\n } else {\n this.minValueUnattained = false;\n }\n if (Number(newValue) > Number(this.max)) {\n this.maxValueExceeded = true;\n } else {\n this.maxValueExceeded = false;\n }\n }\n\n if (this.maxLength > 0) {\n if (newValue.length > this.maxLength) {\n this.maxLengthExceeded = true;\n } else {\n this.maxLengthExceeded = false;\n }\n }\n this.icChange.emit({ value: newValue });\n }\n\n /**\n * Sets focus on the native `input`.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.inputEl) {\n this.inputEl.focus();\n }\n }\n\n @Listen(\"keydown\", {})\n handleKeyDown(ev: KeyboardEvent): void {\n this.icKeydown.emit({ event: ev });\n }\n\n /**\n * Emitted when a keydown event occurred.\n */\n @Event() icKeydown: EventEmitter<{ event: KeyboardEvent }>;\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() icInput: EventEmitter<IcValueEventDetail>;\n private onInput = (ev: Event) => {\n this.value = (ev.target as HTMLInputElement).value;\n this.icInput.emit({ value: this.value });\n };\n\n /**\n * Emitted when input loses focus.\n */\n @Event() icBlur: EventEmitter<IcValueEventDetail>;\n private onBlur = (ev: Event) => {\n const value = (ev.target as HTMLInputElement).value;\n this.icBlur.emit({ value: value });\n };\n\n /**\n * Emitted when input gains focus.\n */\n @Event() icFocus: EventEmitter<IcValueEventDetail>;\n private onFocus = (ev: Event) => {\n const value = (ev.target as HTMLInputElement).value;\n this.icFocus.emit({ value: value });\n };\n\n /**\n * Emitted when the value has changed.\n */\n @Event() icChange: EventEmitter<IcValueEventDetail>;\n\n private isTextArea = (): boolean => {\n return this.rows > 1;\n };\n\n /**\n * @internal Emitted when the validationInlineInternal is `true`\n */\n @Event() getValidationText: EventEmitter<IcValueEventDetail>;\n\n private getInlineValidationText = () => {\n this.getValidationText.emit({ value: this.validationText });\n };\n\n private hasLeftIconSlot(): boolean {\n const iconEl = this.el.querySelector(`[slot=\"icon\"]`);\n return iconEl !== null;\n }\n\n private hasStatus = (status: IcInformationStatusOrEmpty): boolean => {\n return status !== \"\" && !this.disabled;\n };\n\n private showStatusText = (status: IcInformationStatusOrEmpty): boolean => {\n return (\n this.hasStatus(status) &&\n !(status == IcInformationStatus.Success && this.validationInline) &&\n !this.validationInlineInternal\n );\n };\n\n private handleFormReset = (): void => {\n this.value = this.initialValue;\n };\n\n connectedCallback(): void {\n this.debounceChanged();\n }\n\n componentWillLoad(): void {\n this.watchValueHandler(this.value);\n\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"title\",\n \"aria-autocomplete\",\n \"aria-haspopup\",\n ]);\n\n if (this.readonly) {\n this.maxLengthExceeded = false;\n this.maxValueExceeded = false;\n this.minValueUnattained = false;\n }\n\n addFormResetListener(this.el, this.handleFormReset);\n\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Text Field\"\n );\n if (this.validationInlineInternal) {\n this.getInlineValidationText();\n }\n }\n\n disconnectedCallback(): void {\n removeFormResetListener(this.el, this.handleFormReset);\n }\n\n render() {\n const {\n inputId,\n name,\n label,\n required,\n small,\n placeholder,\n helperText,\n rows,\n resize,\n disabled,\n value,\n min,\n max,\n maxLength,\n numChars,\n readonly,\n maxLengthExceeded,\n minValueUnattained,\n maxValueExceeded,\n validationStatus,\n validationText,\n validationInline,\n validationInlineInternal,\n spellcheck,\n inputmode,\n fullWidth,\n truncateValue,\n hiddenInput,\n } = this;\n\n const disabledMode = readonly ? true : disabled;\n\n const placeholderText = disabled ? \"\" : placeholder;\n\n const currentStatus =\n maxLengthExceeded || maxValueExceeded || minValueUnattained\n ? IcInformationStatus.Error\n : validationStatus;\n\n const currentValidationText = maxLengthExceeded\n ? \"Maximum length exceeded\"\n : maxValueExceeded\n ? `Maximum value of ${max} exceeded`\n : minValueUnattained\n ? `Minimum value of ${min} not met`\n : validationText;\n\n const maxNumChars = readonly ? 0 : maxLength;\n\n const messageAriaLive =\n maxLengthExceeded ||\n maxValueExceeded ||\n minValueUnattained ||\n (maxLength === 0 && currentStatus === IcInformationStatus.Error)\n ? \"assertive\"\n : \"polite\";\n\n const showStatusText = this.showStatusText(currentStatus);\n const multiline = this.isTextArea();\n const hiddenCharCountDescId =\n maxLength > 0 ? inputId + \"-charcount-desc\" : \"\";\n const describedBy = (\n hiddenCharCountDescId +\n \" \" +\n getInputDescribedByText(inputId, helperText !== \"\", showStatusText)\n ).trim();\n\n if (this.showLeftIcon && !readonly && disabledMode) {\n this.showLeftIcon = false;\n }\n\n const invalid =\n currentStatus === IcInformationStatus.Error ? \"true\" : \"false\";\n const disabledText = disabledMode && !readonly;\n\n if (hiddenInput) {\n renderHiddenInput(true, this.el, name, value, disabledMode);\n }\n return (\n <Host class={{ [\"fullwidth\"]: fullWidth }}>\n <ic-input-container readonly={readonly} disabled={disabledMode}>\n {!this.hideLabel && (\n <ic-input-label\n for={inputId}\n label={label}\n helperText={helperText}\n required={required}\n disabled={disabledText}\n readonly={readonly}\n ></ic-input-label>\n )}\n\n <ic-input-component-container\n small={small}\n validationStatus={currentStatus}\n multiLine={multiline}\n disabled={disabledMode}\n readonly={readonly}\n validationInline={validationInline}\n fullWidth={fullWidth}\n >\n {this.showLeftIcon && (\n <span\n class={{\n [\"readonly\"]: readonly,\n [\"has-value\"]: value.length > 0,\n }}\n slot=\"left-icon\"\n >\n <slot name=\"icon\" />\n </span>\n )}\n\n {!multiline && (\n <input\n id={inputId}\n name={name}\n ref={(el) => (this.inputEl = el as HTMLInputElement)}\n type={this.type}\n min={min}\n max={max}\n value={value}\n class={{\n [\"no-left-pad\"]: !this.showLeftIcon && readonly,\n [\"readonly\"]: readonly,\n [\"truncate-value\"]: truncateValue,\n }}\n placeholder={placeholderText}\n required={required}\n disabled={disabledMode}\n readonly={readonly}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n aria-label={label}\n aria-describedby={describedBy}\n aria-invalid={invalid}\n aria-activedescendant={this.ariaActiveDescendant}\n aria-expanded={this.ariaExpanded}\n aria-owns={this.ariaOwns}\n autocomplete={this.autocomplete}\n autocapitalize={this.autocapitalize}\n autoFocus={this.autoFocus}\n spellcheck={spellcheck}\n inputmode={inputmode}\n role={this.role}\n {...this.inheritedAttributes}\n ></input>\n )}\n {multiline && (\n <textarea\n id={inputId}\n class={{\n [\"no-resize\"]: resize === false || readonly,\n [\"no-left-pad\"]: !this.showLeftIcon && readonly,\n [\"readonly\"]: readonly,\n }}\n name={name}\n ref={(el) => (this.inputEl = el as HTMLTextAreaElement)}\n value={value}\n rows={rows}\n required={required}\n disabled={disabledMode}\n placeholder={placeholderText}\n readonly={readonly}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n aria-label={label}\n aria-describedby={describedBy}\n aria-invalid={invalid}\n autocapitalize={this.autocapitalize}\n autoFocus={this.autoFocus}\n spellcheck={spellcheck}\n inputmode={inputmode}\n {...this.inheritedAttributes}\n ></textarea>\n )}\n {isSlotUsed(this.el, \"clear-button\") && (\n <slot name=\"clear-button\"></slot>\n )}\n {isSlotUsed(this.el, \"search-submit-button\") && (\n <slot name=\"search-submit-button\"></slot>\n )}\n </ic-input-component-container>\n {isSlotUsed(this.el, \"menu\") && <slot name=\"menu\"></slot>}\n {(!isEmptyString(validationStatus) ||\n !isEmptyString(validationText) ||\n maxNumChars > 0 ||\n maxValueExceeded ||\n minValueUnattained) &&\n !validationInlineInternal && (\n <ic-input-validation\n status={\n this.hasStatus(currentStatus) === false ||\n (currentStatus === IcInformationStatus.Success &&\n validationInline) ||\n validationInlineInternal\n ? \"\"\n : currentStatus\n }\n message={showStatusText ? currentValidationText : \"\"}\n ariaLiveMode={messageAriaLive}\n for={inputId}\n fullWidth={fullWidth}\n >\n {!readonly && maxNumChars > 0 && (\n <div slot=\"validation-message-adornment\">\n <ic-typography\n variant=\"caption\"\n class={{\n [\"maxlengthtext\"]: true,\n [\"error\"]: maxLengthExceeded,\n [\"disabled\"]: disabledText,\n }}\n >\n <span\n aria-live=\"polite\"\n id={`${inputId}-charcount`}\n class=\"charcount\"\n >\n {numChars}/{maxNumChars}\n </span>\n <span hidden={true} id={hiddenCharCountDescId}>\n Field can contain a maximum of {maxNumChars} characters.\n </span>\n </ic-typography>\n </div>\n )}\n </ic-input-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-text-field/ic-text-field.css?tag=ic-text-field&encapsulation=shadow","./src/components/ic-text-field/ic-text-field.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n /**\n * @prop --input-width: Width of the input field\n */\n display: block;\n}\n\n:host(.fullwidth) {\n width: 100%;\n}\n\n::placeholder {\n color: var(--ic-color-tertiary-text);\n opacity: 1;\n}\n\ninput,\ntextarea {\n border: 0;\n border-radius: var(--ic-border-radius);\n background-color: var(--ic-architectural-white);\n line-height: 1.5rem;\n letter-spacing: 0.005rem;\n width: 100%;\n padding-right: var(--ic-space-xs);\n padding-left: var(--ic-space-xs);\n}\n\ntextarea {\n min-height: var(--ic-space-lg);\n resize: vertical;\n padding-top: 0.375rem;\n}\n\ninput:focus,\ntextarea:focus {\n border: 0;\n outline: 0;\n}\n\ninput:disabled,\ntextarea:disabled {\n color: var(--ic-architectural-200);\n}\n\ninput.readonly,\ntextarea.readonly {\n color: var(--ic-color-primary-text);\n}\n\n/* Chrome, Safari, Edge */\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput[type=\"number\"] {\n -moz-appearance: textfield;\n}\n\ntextarea.no-resize {\n resize: none;\n}\n\n.maxlengthtext {\n color: var(--ic-color-secondary-text);\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n}\n\n.no-left-pad {\n padding-left: 0;\n}\n\n::slotted([slot=\"icon\"]) {\n fill: var(--ic-color-tertiary-text);\n}\n\n.has-value ::slotted([slot=\"icon\"]) {\n fill: var(--ic-color-primary-text);\n}\n\n.charcount {\n margin-right: calc(-1 * var(--ic-space-xxxs));\n}\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-results-button,\ninput[type=\"search\"]::-webkit-search-results-decoration {\n display: none;\n}\n\ninput[type=\"search\"].truncate-value {\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n@media (forced-colors: active) {\n input.readonly,\n textarea.readonly {\n color: canvastext;\n }\n\n .has-value ::slotted([slot=\"icon\"]) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n Method,\n h,\n} from \"@stencil/core\";\nimport {\n IcInformationStatus,\n IcAutocompleteTypes,\n IcAutocorrectStates,\n IcInformationStatusOrEmpty,\n IcValueEventDetail,\n} from \"../../utils/types\";\nimport {\n inheritAttributes,\n debounceEvent,\n getInputDescribedByText,\n renderHiddenInput,\n isEmptyString,\n onComponentRequiredPropUndefined,\n addFormResetListener,\n removeFormResetListener,\n isSlotUsed,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcAriaAutocompleteTypes,\n IcTextFieldInputModes,\n IcTextFieldTypes,\n} from \"./ic-text-field.types\";\n\nlet inputIds = 0;\n\n/**\n * @slot icon - Content will be placed to the left of the text input.\n */\n@Component({\n tag: \"ic-text-field\",\n styleUrl: \"ic-text-field.css\",\n shadow: true,\n})\nexport class TextField {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private inputEl: HTMLInputElement | HTMLTextAreaElement;\n private showLeftIcon: boolean = this.hasLeftIconSlot();\n\n @Element() el: HTMLIcTextFieldElement;\n\n @State() numChars: number = 0;\n @State() maxLengthExceeded: boolean = false;\n @State() maxValueExceeded: boolean = false;\n @State() minValueUnattained: boolean = false;\n\n /**\n * @slot clear-button - an ic-button clear component will render as an end adornment to the input.\n * @slot search-submit-button - an ic-button search submit component will render as an end adornment to the input.\n * @slot menu - an ic-menu component will appear below the input.\n */\n\n /**\n * @internal The active element when focus is on the ic-menu items.\n */\n @Prop() ariaActiveDescendant?: string;\n\n /**\n * @internal Used to identify whether inputting any text triggers more predictions\n */\n @Prop() ariaAutocomplete: IcAriaAutocompleteTypes = undefined;\n\n /**\n * @internal Used to identify if the slotted menu is rendered\n */\n @Prop() ariaExpanded: string;\n\n /**\n * @internal Used to identify any related child component\n */\n @Prop() ariaOwns: string;\n\n /**\n * The automatic capitalisation of the text value as it is entered/edited by the user.\n * Available options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\".\n */\n @Prop() autocapitalize = \"off\";\n\n /**\n * The state of autocompletion the browser can apply on the text value.\n */\n @Prop() autocomplete: IcAutocompleteTypes = \"off\";\n\n /**\n * The state of autocorrection the browser can apply when the user is entering/editing the text value.\n */\n @Prop() autocorrect: IcAutocorrectStates = \"off\";\n\n /**\n * If `true`, the form control will have input focus when the page loads.\n */\n @Prop() autoFocus = false;\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Specify whether the text field fills the full width of the container.\n * If `true`, this overrides the --input-width CSS variable.\n */\n @Prop() fullWidth: boolean = false;\n\n /**\n * The helper text that will be displayed for additional field guidance.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * If `true`, the label will be hidden and the required label value will be applied as an aria-label.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * @internal If `true`, the hidden form input will stop rendering for form submission.\n */\n @Prop() hiddenInput: boolean = true;\n\n /**\n * The ID for the input.\n */\n @Prop() inputId?: string = `ic-text-field-input-${inputIds++}`;\n\n /**\n * A hint to the browser for which keyboard to display.\n * Possible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n * `\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n */\n @Prop() inputmode: IcTextFieldInputModes = \"text\";\n\n /**\n * The label for the input.\n */\n @Prop() label!: string;\n\n /**\n * The maximum number that can be accepted as a value, when `type` is `number` and `rows` is `1`. (NOTE: Ensure to include visual indication of max value in `helperText` or `label`)\n */\n @Prop() max: string | number = undefined;\n\n /**\n * The maximum number of characters that can be entered in the field.\n */\n @Prop() maxLength: number = 0;\n\n /**\n * The minimum number that can be accepted as a value, when `type` is `number` and `rows` is `1`. (NOTE: Ensure to include visual indication of min value in `helperText` or `label`)\n */\n @Prop() min: string | number = undefined;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * The placeholder value to be displayed.\n */\n @Prop() placeholder: string = \"\";\n\n /**\n * If `true`, the read only state will be set.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * If `true`, the input will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the multiline text area will be resizeable.\n */\n @Prop() resize: boolean = false;\n\n /**\n * @internal Used to set the role if not default textbox;\n */\n @Prop() role: string;\n\n /**\n * The number of rows to transform the text field into a text area with a specific height.\n */\n @Prop() rows: number = 1;\n\n /**\n * If `true`, the small styling will be applied to the text field.\n */\n @Prop({ reflect: true }) small: boolean = false;\n\n /**\n * If `true`, the value of the text field will have its spelling and grammar checked.\n */\n @Prop() spellcheck: boolean = false;\n /**\n * @internal If `true`, an ellipsis will be displayed at the end of the value if the value is longer than the container.\n */\n @Prop() truncateValue?: boolean;\n\n /**\n * The type of control to display. The default type is text.\n */\n @Prop() type: IcTextFieldTypes = \"text\";\n\n /**\n * If `true`, the icon in input control will be displayed - only applies when validationStatus ='success'.\n */\n @Prop() validationInline: boolean = false;\n\n /**\n * @internal If `true`, the validation will display inline.\n */\n @Prop() validationInlineInternal: boolean = false;\n\n /**\n * The validation state - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n\n /**\n * The validation state - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationText: string = \"\";\n\n /**\n * The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.\n */\n @Prop() debounce: number = 0;\n\n @Watch(\"debounce\")\n private debounceChanged() {\n this.icChange = debounceEvent(this.icChange, this.debounce);\n }\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = \"\";\n @State() initialValue = this.value;\n\n @Watch(\"value\")\n private watchValueHandler(newValue: string): void {\n if (this.inputEl && this.inputEl.value !== newValue) {\n this.inputEl.value = newValue;\n }\n\n this.numChars = newValue.length;\n\n if (this.type === \"number\") {\n if (newValue && Number(newValue) < Number(this.min)) {\n this.minValueUnattained = true;\n } else {\n this.minValueUnattained = false;\n }\n if (Number(newValue) > Number(this.max)) {\n this.maxValueExceeded = true;\n } else {\n this.maxValueExceeded = false;\n }\n }\n\n if (this.maxLength > 0) {\n if (newValue.length > this.maxLength) {\n this.maxLengthExceeded = true;\n } else {\n this.maxLengthExceeded = false;\n }\n }\n this.icChange.emit({ value: newValue });\n }\n\n /**\n * @internal Emitted when the validationInlineInternal is `true`\n */\n @Event() getValidationText: EventEmitter<IcValueEventDetail>;\n\n /**\n * Emitted when input loses focus.\n */\n @Event() icBlur: EventEmitter<IcValueEventDetail>;\n\n /**\n * Emitted when the value has changed.\n */\n @Event() icChange: EventEmitter<IcValueEventDetail>;\n\n /**\n * Emitted when input gains focus.\n */\n @Event() icFocus: EventEmitter<IcValueEventDetail>;\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() icInput: EventEmitter<IcValueEventDetail>;\n\n /**\n * Emitted when a keydown event occurred.\n */\n @Event() icKeydown: EventEmitter<{ event: KeyboardEvent }>;\n\n connectedCallback(): void {\n this.debounceChanged();\n }\n\n disconnectedCallback(): void {\n removeFormResetListener(this.el, this.handleFormReset);\n }\n\n componentWillLoad(): void {\n this.watchValueHandler(this.value);\n\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"title\",\n \"aria-autocomplete\",\n \"aria-haspopup\",\n ]);\n\n if (this.readonly) {\n this.maxLengthExceeded = false;\n this.maxValueExceeded = false;\n this.minValueUnattained = false;\n }\n\n addFormResetListener(this.el, this.handleFormReset);\n\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Text Field\"\n );\n if (this.validationInlineInternal) {\n this.getInlineValidationText();\n }\n }\n\n @Listen(\"keydown\", {})\n handleKeyDown(ev: KeyboardEvent): void {\n this.icKeydown.emit({ event: ev });\n }\n\n /**\n * Sets focus on the native `input`.\n */\n\n @Method()\n async setFocus(): Promise<void> {\n if (this.inputEl) {\n this.inputEl.focus();\n }\n }\n\n private onInput = (ev: Event) => {\n this.value = (ev.target as HTMLInputElement).value;\n this.icInput.emit({ value: this.value });\n };\n\n private onBlur = (ev: Event) => {\n const value = (ev.target as HTMLInputElement).value;\n this.icBlur.emit({ value: value });\n };\n\n private onFocus = (ev: Event) => {\n const value = (ev.target as HTMLInputElement).value;\n this.icFocus.emit({ value: value });\n };\n\n private isTextArea = (): boolean => {\n return this.rows > 1;\n };\n\n private getInlineValidationText = () => {\n this.getValidationText.emit({ value: this.validationText });\n };\n\n private hasLeftIconSlot(): boolean {\n const iconEl = this.el.querySelector(`[slot=\"icon\"]`);\n return iconEl !== null;\n }\n\n private hasStatus = (status: IcInformationStatusOrEmpty): boolean => {\n return status !== \"\" && !this.disabled;\n };\n\n private showStatusText = (status: IcInformationStatusOrEmpty): boolean => {\n return (\n this.hasStatus(status) &&\n !(status == IcInformationStatus.Success && this.validationInline) &&\n !this.validationInlineInternal\n );\n };\n\n private handleFormReset = (): void => {\n this.value = this.initialValue;\n };\n\n render() {\n const {\n inputId,\n name,\n label,\n required,\n small,\n placeholder,\n helperText,\n rows,\n resize,\n disabled,\n value,\n min,\n max,\n maxLength,\n numChars,\n readonly,\n maxLengthExceeded,\n minValueUnattained,\n maxValueExceeded,\n validationStatus,\n validationText,\n validationInline,\n validationInlineInternal,\n spellcheck,\n inputmode,\n fullWidth,\n truncateValue,\n hiddenInput,\n } = this;\n\n const disabledMode = readonly ? true : disabled;\n\n const placeholderText = disabled ? \"\" : placeholder;\n\n const currentStatus =\n maxLengthExceeded || maxValueExceeded || minValueUnattained\n ? IcInformationStatus.Error\n : validationStatus;\n\n const currentValidationText = maxLengthExceeded\n ? \"Maximum length exceeded\"\n : maxValueExceeded\n ? `Maximum value of ${max} exceeded`\n : minValueUnattained\n ? `Minimum value of ${min} not met`\n : validationText;\n\n const maxNumChars = readonly ? 0 : maxLength;\n\n const messageAriaLive =\n maxLengthExceeded ||\n maxValueExceeded ||\n minValueUnattained ||\n (maxLength === 0 && currentStatus === IcInformationStatus.Error)\n ? \"assertive\"\n : \"polite\";\n\n const showStatusText = this.showStatusText(currentStatus);\n const multiline = this.isTextArea();\n const hiddenCharCountDescId =\n maxLength > 0 ? inputId + \"-charcount-desc\" : \"\";\n const describedBy = (\n hiddenCharCountDescId +\n \" \" +\n getInputDescribedByText(inputId, helperText !== \"\", showStatusText)\n ).trim();\n\n if (this.showLeftIcon && !readonly && disabledMode) {\n this.showLeftIcon = false;\n }\n\n const invalid =\n currentStatus === IcInformationStatus.Error ? \"true\" : \"false\";\n const disabledText = disabledMode && !readonly;\n\n if (hiddenInput) {\n renderHiddenInput(true, this.el, name, value, disabledMode);\n }\n return (\n <Host class={{ [\"fullwidth\"]: fullWidth }}>\n <ic-input-container readonly={readonly} disabled={disabledMode}>\n {!this.hideLabel && (\n <ic-input-label\n for={inputId}\n label={label}\n helperText={helperText}\n required={required}\n disabled={disabledText}\n readonly={readonly}\n ></ic-input-label>\n )}\n\n <ic-input-component-container\n small={small}\n validationStatus={currentStatus}\n multiLine={multiline}\n disabled={disabledMode}\n readonly={readonly}\n validationInline={validationInline}\n fullWidth={fullWidth}\n >\n {this.showLeftIcon && (\n <span\n class={{\n [\"readonly\"]: readonly,\n [\"has-value\"]: value.length > 0,\n }}\n slot=\"left-icon\"\n >\n <slot name=\"icon\" />\n </span>\n )}\n\n {!multiline && (\n <input\n id={inputId}\n name={name}\n ref={(el) => (this.inputEl = el as HTMLInputElement)}\n type={this.type}\n min={min}\n max={max}\n value={value}\n class={{\n [\"no-left-pad\"]: !this.showLeftIcon && readonly,\n [\"readonly\"]: readonly,\n [\"truncate-value\"]: truncateValue,\n }}\n placeholder={placeholderText}\n required={required}\n disabled={disabledMode}\n readonly={readonly}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n aria-label={label}\n aria-describedby={describedBy}\n aria-invalid={invalid}\n aria-activedescendant={this.ariaActiveDescendant}\n aria-expanded={this.ariaExpanded}\n aria-owns={this.ariaOwns}\n autocomplete={this.autocomplete}\n autocapitalize={this.autocapitalize}\n autoFocus={this.autoFocus}\n spellcheck={spellcheck}\n inputmode={inputmode}\n role={this.role}\n {...this.inheritedAttributes}\n ></input>\n )}\n {multiline && (\n <textarea\n id={inputId}\n class={{\n [\"no-resize\"]: resize === false || readonly,\n [\"no-left-pad\"]: !this.showLeftIcon && readonly,\n [\"readonly\"]: readonly,\n }}\n name={name}\n ref={(el) => (this.inputEl = el as HTMLTextAreaElement)}\n value={value}\n rows={rows}\n required={required}\n disabled={disabledMode}\n placeholder={placeholderText}\n readonly={readonly}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n aria-label={label}\n aria-describedby={describedBy}\n aria-invalid={invalid}\n autocapitalize={this.autocapitalize}\n autoFocus={this.autoFocus}\n spellcheck={spellcheck}\n inputmode={inputmode}\n {...this.inheritedAttributes}\n ></textarea>\n )}\n {isSlotUsed(this.el, \"clear-button\") && (\n <slot name=\"clear-button\"></slot>\n )}\n {isSlotUsed(this.el, \"search-submit-button\") && (\n <slot name=\"search-submit-button\"></slot>\n )}\n </ic-input-component-container>\n {isSlotUsed(this.el, \"menu\") && <slot name=\"menu\"></slot>}\n {(!isEmptyString(validationStatus) ||\n !isEmptyString(validationText) ||\n maxNumChars > 0 ||\n maxValueExceeded ||\n minValueUnattained) &&\n !validationInlineInternal && (\n <ic-input-validation\n status={\n this.hasStatus(currentStatus) === false ||\n (currentStatus === IcInformationStatus.Success &&\n validationInline) ||\n validationInlineInternal\n ? \"\"\n : currentStatus\n }\n message={showStatusText ? currentValidationText : \"\"}\n ariaLiveMode={messageAriaLive}\n for={inputId}\n fullWidth={fullWidth}\n >\n {!readonly && maxNumChars > 0 && (\n <div slot=\"validation-message-adornment\">\n <ic-typography\n variant=\"caption\"\n class={{\n [\"maxlengthtext\"]: true,\n [\"error\"]: maxLengthExceeded,\n [\"disabled\"]: disabledText,\n }}\n >\n <span\n aria-live=\"polite\"\n id={`${inputId}-charcount`}\n class=\"charcount\"\n >\n {numChars}/{maxNumChars}\n </span>\n <span hidden={true} id={hiddenCharCountDescId}>\n Field can contain a maximum of {maxNumChars} characters.\n </span>\n </ic-typography>\n </div>\n )}\n </ic-input-validation>\n )}\n </ic-input-container>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"ic-theme.js","mappings":";;;MA0Ba,KAAK;;;;;;IAgBR,4BAAuB,GAAG;MAChC,IACE,uBAAuB,EAAE,GAAG,0BAA0B;QACtD,uBAAuB,EAAE,GAAG,0BAA0B,EACtD;QACA,OAAO,CAAC,IAAI,CACV,2TAA2T,CAC5T,CAAC;OACH;KACF,CAAC;IAEM,kBAAa,GAAG;MACtB,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;QACvB,IAAI,SAAS,GAAG,IAAI,CAAC;QACrB,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACzC,IAAI,SAAS,KAAK,GAAG,EAAE;UACrB,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACnC;aAAM,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,GAAG,EAAE;UAC1C,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACtC;QACD,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;OAC9B;KACF,CAAC;IAEM,iBAAY,GAAG,CAAC,SAAsB;MAC5C,IAAI,SAAS,KAAK,IAAI,EAAE;QACtB,MAAM,IAAI,GAAG,QAAQ,CAAC,eAAe,CAAC;QACtC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEvE,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAE/B,MAAM,eAAe,GAAG,uBAAuB,EAAE,CAAC;QAClD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;OACpE;KACF,CAAC;iBAjDuB,IAAI;;EAG7B,qBAAqB;IACnB,IAAI,CAAC,aAAa,EAAE,CAAC;GACtB;EA8CD,iBAAiB;IACf,IAAI,CAAC,aAAa,EAAE,CAAC;GACtB;EAED,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;GACtB;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-theme/ic-theme.tsx"],"sourcesContent":["import {\n Component,\n Host,\n Event,\n EventEmitter,\n h,\n Watch,\n Prop,\n} from \"@stencil/core\";\n\nimport { IcColorRGBA, IcTheme } from \"../../utils/types\";\nimport {\n getThemeForegroundColor,\n hexToRgba,\n rgbaStrToObj,\n} from \"../../utils/helpers\";\nimport { getThemeColorBrightness } from \"../../utils/helpers\";\nimport {\n BLACK_MIN_COLOR_BRIGHTNESS,\n WHITE_MAX_COLOR_BRIGHTNESS,\n} from \"../../utils/constants\";\n\n@Component({\n tag: \"ic-theme\",\n shadow: true,\n})\nexport class Theme {\n /**\n * The theme colour. Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() color?: string = null;\n\n @Watch(\"color\")\n watchColorPropHandler(): void {\n this.setThemeColor();\n }\n\n /**\n * @internal Emitted when the theme is changed.\n */\n @Event() themeChange: EventEmitter<IcTheme>;\n\n private checkThemeColorContrast = (): void => {\n if (\n getThemeColorBrightness() < BLACK_MIN_COLOR_BRIGHTNESS &&\n getThemeColorBrightness() > WHITE_MAX_COLOR_BRIGHTNESS\n ) {\n console.warn(\n `The theme colour does not provide enough contrast with either of the ICDS black or white foreground colours. Consider choosing a colour with a different brightness to achieve sufficient colour contrast for good visibility. See https://www.w3.org/TR/AERT/#color-contrast for more information about colour contrast.`\n );\n }\n };\n\n private setThemeColor = () => {\n if (this.color !== null) {\n let colorRGBA = null;\n const firstChar = this.color.slice(0, 1);\n if (firstChar === \"#\") {\n colorRGBA = hexToRgba(this.color);\n } else if (firstChar.toLowerCase() === \"r\") {\n colorRGBA = rgbaStrToObj(this.color);\n }\n this.setThemeRGBA(colorRGBA);\n }\n };\n\n private setThemeRGBA = (colorRGBA: IcColorRGBA) => {\n if (colorRGBA !== null) {\n const root = document.documentElement;\n root.style.setProperty(\"--ic-theme-primary-r\", colorRGBA.r.toString());\n root.style.setProperty(\"--ic-theme-primary-g\", colorRGBA.g.toString());\n root.style.setProperty(\"--ic-theme-primary-b\", colorRGBA.b.toString());\n root.style.setProperty(\"--ic-theme-primary-a\", colorRGBA.a.toString());\n\n this.checkThemeColorContrast();\n\n const foregroundColor = getThemeForegroundColor();\n this.themeChange.emit({ mode: foregroundColor, color: colorRGBA });\n }\n };\n\n componentWillLoad(): void {\n this.setThemeColor();\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
1
+ {"file":"ic-theme.js","mappings":";;;MA0Ba,KAAK;;;;;;IAoBR,4BAA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,eAAe,GAAG,uBAAuB,EAAE,CAAC;QAClD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;OACpE;KACF,CAAC;iBArDuB,IAAI;;EAG7B,qBAAqB;IACnB,IAAI,CAAC,aAAa,EAAE,CAAC;GACtB;EAOD,iBAAiB;IACf,IAAI,CAAC,aAAa,EAAE,CAAC;GACtB;EAyCD,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;GACtB;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-theme/ic-theme.tsx"],"sourcesContent":["import {\n Component,\n Host,\n Event,\n EventEmitter,\n h,\n Watch,\n Prop,\n} from \"@stencil/core\";\n\nimport { IcColorRGBA, IcTheme } from \"../../utils/types\";\nimport {\n getThemeForegroundColor,\n hexToRgba,\n rgbaStrToObj,\n} from \"../../utils/helpers\";\nimport { getThemeColorBrightness } from \"../../utils/helpers\";\nimport {\n BLACK_MIN_COLOR_BRIGHTNESS,\n WHITE_MAX_COLOR_BRIGHTNESS,\n} from \"../../utils/constants\";\n\n@Component({\n tag: \"ic-theme\",\n shadow: true,\n})\nexport class Theme {\n /**\n * The theme colour. Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() color?: string = null;\n\n @Watch(\"color\")\n watchColorPropHandler(): void {\n this.setThemeColor();\n }\n\n /**\n * @internal Emitted when the theme is changed.\n */\n @Event() themeChange: EventEmitter<IcTheme>;\n\n componentWillLoad(): void {\n this.setThemeColor();\n }\n\n private checkThemeColorContrast = (): void => {\n if (\n getThemeColorBrightness() < BLACK_MIN_COLOR_BRIGHTNESS &&\n getThemeColorBrightness() > WHITE_MAX_COLOR_BRIGHTNESS\n ) {\n console.warn(\n `The theme colour does not provide enough contrast with either of the ICDS black or white foreground colours. Consider choosing a colour with a different brightness to achieve sufficient colour contrast for good visibility. See https://www.w3.org/TR/AERT/#color-contrast for more information about colour contrast.`\n );\n }\n };\n\n private setThemeColor = () => {\n if (this.color !== null) {\n let colorRGBA = null;\n const firstChar = this.color.slice(0, 1);\n if (firstChar === \"#\") {\n colorRGBA = hexToRgba(this.color);\n } else if (firstChar.toLowerCase() === \"r\") {\n colorRGBA = rgbaStrToObj(this.color);\n }\n this.setThemeRGBA(colorRGBA);\n }\n };\n\n private setThemeRGBA = (colorRGBA: IcColorRGBA) => {\n if (colorRGBA !== null) {\n const root = document.documentElement;\n root.style.setProperty(\"--ic-theme-primary-r\", colorRGBA.r.toString());\n root.style.setProperty(\"--ic-theme-primary-g\", colorRGBA.g.toString());\n root.style.setProperty(\"--ic-theme-primary-b\", colorRGBA.b.toString());\n root.style.setProperty(\"--ic-theme-primary-a\", colorRGBA.a.toString());\n\n this.checkThemeColorContrast();\n\n const foregroundColor = getThemeForegroundColor();\n this.themeChange.emit({ mode: foregroundColor, color: colorRGBA });\n }\n };\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
@@ -6,18 +6,6 @@ const ToastRegion = /*@__PURE__*/ proxyCustomElement(class ToastRegion extends H
6
6
  this.__registerHost();
7
7
  this.pendingVisibility = [];
8
8
  }
9
- /**
10
- * Handles setting the visibility of various toasts based on what is already visible
11
- * @param toast The toast element being requested to display
12
- */
13
- async setVisible(toast) {
14
- const visibleToasts = Array.from(document.querySelectorAll("ic-toast")).filter((el) => window.getComputedStyle(el).display !== "none");
15
- if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {
16
- toast.setVisible().then((res) => (this.previouslyFocused = res));
17
- }
18
- if (visibleToasts.length > 0)
19
- this.pendingVisibility.push(toast);
20
- }
21
9
  handleDismissedToast() {
22
10
  var _a;
23
11
  if (this.pendingVisibility.length > 0) {
@@ -34,6 +22,18 @@ const ToastRegion = /*@__PURE__*/ proxyCustomElement(class ToastRegion extends H
34
22
  (_a = this.previouslyFocused) === null || _a === void 0 ? void 0 : _a.focus();
35
23
  }
36
24
  }
25
+ /**
26
+ * Handles setting the visibility of various toasts based on what is already visible
27
+ * @param toast The toast element being requested to display
28
+ */
29
+ async setVisible(toast) {
30
+ const visibleToasts = Array.from(document.querySelectorAll("ic-toast")).filter((el) => window.getComputedStyle(el).display !== "none");
31
+ if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {
32
+ toast.setVisible().then((res) => (this.previouslyFocused = res));
33
+ }
34
+ if (visibleToasts.length > 0)
35
+ this.pendingVisibility.push(toast);
36
+ }
37
37
  render() {
38
38
  return h("slot", null);
39
39
  }
@@ -1 +1 @@
1
- {"file":"ic-toast-region.js","mappings":";;MAIa,WAAW;EADxB;;;IAKE,sBAAiB,GAAyB,EAAE,CAAC;GAkC9C;;;;;EA3BC,MAAM,UAAU,CAAC,KAAyB;IACxC,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,QAAQ,CAAC,gBAAgB,CAAC,UAAU,CAAC,CACtC,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC;IACjE,IAAI,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,aAAa,CAAC,MAAM,IAAI,CAAC,EAAE;MACpE,KAAK,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC,CAAC,CAAC;KAClE;IACD,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC;MAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;GAClE;EAGD,oBAAoB;;IAClB,IAAI,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,EAAE;MACrC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;SACtB,UAAU,EAAE;SACZ,IAAI,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC,CAAC,CAAC;MACjD,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;KAChC;SAAM;MACL,IAAI,IAAI,CAAC,iBAAiB,IAAI,UAAU,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACjE,IAAI,CAAC,iBAA2C,CAAC,QAAQ,EAAE,CAAC;OAC9D;;QAAM,MAAA,IAAI,CAAC,iBAAiB,0CAAE,KAAK,EAAE,CAAC;KACxC;GACF;EAED,MAAM;IACJ,OAAO,eAAa,CAAC;GACtB;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-toast-region/ic-toast-region.tsx"],"sourcesContent":["import { Component, Element, h, Listen, Method } from \"@stencil/core\";\nimport { IcFocusableComponents } from \"../../utils/types\";\n\n@Component({ tag: \"ic-toast-region\" })\nexport class ToastRegion {\n @Element() el: HTMLIcToastRegionElement;\n\n previouslyFocused: HTMLElement;\n pendingVisibility: HTMLIcToastElement[] = [];\n\n /**\n * Handles setting the visibility of various toasts based on what is already visible\n * @param toast The toast element being requested to display\n */\n @Method()\n async setVisible(toast: HTMLIcToastElement) {\n const visibleToasts = Array.from(\n document.querySelectorAll(\"ic-toast\")\n ).filter((el) => window.getComputedStyle(el).display !== \"none\");\n if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {\n toast.setVisible().then((res) => (this.previouslyFocused = res));\n }\n if (visibleToasts.length > 0) this.pendingVisibility.push(toast);\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleDismissedToast() {\n if (this.pendingVisibility.length > 0) {\n this.pendingVisibility[0]\n .setVisible()\n .then((res) => (this.previouslyFocused = res));\n this.pendingVisibility.shift();\n } else {\n if (this.previouslyFocused && \"setFocus\" in this.previouslyFocused) {\n (this.previouslyFocused as IcFocusableComponents).setFocus();\n } else this.previouslyFocused?.focus();\n }\n }\n\n render() {\n return <slot></slot>;\n }\n}\n"],"version":3}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;;;;;;;","names":[],"sources":["./src/components/ic-toast-region/ic-toast-region.tsx"],"sourcesContent":["import { Component, Element, h, Listen, Method } from \"@stencil/core\";\nimport { IcFocusableComponents } from \"../../utils/types\";\n\n@Component({ tag: \"ic-toast-region\" })\nexport class ToastRegion {\n private pendingVisibility: HTMLIcToastElement[] = [];\n private previouslyFocused: HTMLElement;\n\n @Element() el: HTMLIcToastRegionElement;\n\n @Listen(\"icDismiss\", { capture: true })\n handleDismissedToast(): void {\n if (this.pendingVisibility.length > 0) {\n this.pendingVisibility[0]\n .setVisible()\n .then((res) => (this.previouslyFocused = res));\n this.pendingVisibility.shift();\n } else {\n if (this.previouslyFocused && \"setFocus\" in this.previouslyFocused) {\n (this.previouslyFocused as IcFocusableComponents).setFocus();\n } else this.previouslyFocused?.focus();\n }\n }\n\n /**\n * Handles setting the visibility of various toasts based on what is already visible\n * @param toast The toast element being requested to display\n */\n @Method()\n async setVisible(toast: HTMLIcToastElement): Promise<void> {\n const visibleToasts = Array.from(\n document.querySelectorAll(\"ic-toast\")\n ).filter((el) => window.getComputedStyle(el).display !== \"none\");\n if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {\n toast.setVisible().then((res) => (this.previouslyFocused = res));\n }\n if (visibleToasts.length > 0) this.pendingVisibility.push(toast);\n }\n\n render() {\n return <slot></slot>;\n }\n}\n"],"version":3}
@@ -26,33 +26,53 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
26
26
  this.timerProgress -=
27
27
  (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
28
28
  };
29
+ this.timerProgress = 100;
30
+ this.visible = false;
31
+ this.autoDismissTimeout = 5000;
32
+ this.dismissButtonAriaLabel = "dismiss";
33
+ this.dismissMode = "manual";
29
34
  this.heading = undefined;
30
- this.variant = undefined;
31
35
  this.message = undefined;
32
- this.dismissMode = "manual";
33
- this.autoDismissTimeout = 5000;
34
36
  this.neutralIconAriaLabel = undefined;
35
- this.dismissButtonAriaLabel = "dismiss";
36
- this.visible = false;
37
- this.timerProgress = 100;
37
+ this.variant = undefined;
38
38
  }
39
- /**
40
- * Used to display the individual toast
41
- * @returns The element that previously had focus before the toast appeared
42
- */
43
- async setVisible() {
44
- if (!this.visible)
45
- this.visible = true;
46
- if (!this.isManual) {
47
- this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
48
- this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
49
- return null;
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;
50
56
  }
51
- else {
52
- window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
53
- return document.activeElement;
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);
54
65
  }
55
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
+ }
56
76
  handleDismiss() {
57
77
  this.visible = false;
58
78
  clearInterval(this.timerRefreshInterval);
@@ -87,6 +107,23 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
87
107
  }
88
108
  }
89
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;
121
+ }
122
+ else {
123
+ window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);
124
+ return document.activeElement;
125
+ }
126
+ }
90
127
  handleLongText(headingTooLong, messageTooLong) {
91
128
  if (messageTooLong || headingTooLong) {
92
129
  console.error(`Too many characters in toast ${headingTooLong ? "heading" : ""}${headingTooLong && messageTooLong ? " and " : ""}${messageTooLong ? "message" : ""}. Refer to character limits specified in the prop description`);
@@ -115,43 +152,6 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
115
152
  return !!this.el.shadowRoot.activeElement;
116
153
  return document.activeElement === targetEl;
117
154
  }
118
- componentWillLoad() {
119
- var _a, _b;
120
- this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);
121
- if (this.autoDismissTimeout < 5000)
122
- this.autoDismissTimeout = 5000;
123
- if (isSlotUsed(this.el, "action"))
124
- this.dismissMode = "manual";
125
- this.isManual = this.dismissMode === "manual";
126
- if (isSlotUsed(this.el, "neutral-icon"))
127
- this.variant = "neutral";
128
- if (this.variant === "neutral") {
129
- this.neutralVariantLabel =
130
- (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;
131
- }
132
- if (this.isManual) {
133
- this.el.setAttribute("aria-label", this.variant
134
- ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel
135
- : this.heading);
136
- (this.variant || this.message) &&
137
- this.el.setAttribute("aria-description", this.variant
138
- ? `${this.heading}${this.message !== undefined ? `. ${this.message}` : ""}`
139
- : this.message);
140
- }
141
- }
142
- componentDidLoad() {
143
- onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Toast");
144
- const actionContent = getSlot(this.el, "action");
145
- const dismissButton = this.el.shadowRoot.querySelector("ic-button");
146
- if (actionContent)
147
- this.interactiveElements.push(actionContent);
148
- if (dismissButton)
149
- this.interactiveElements.push(dismissButton);
150
- }
151
- disconnectedCallback() {
152
- window.clearTimeout(this.dismissTimeout);
153
- window.clearInterval(this.timerRefreshInterval);
154
- }
155
155
  render() {
156
156
  const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
157
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: {
@@ -165,15 +165,15 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
165
165
  get el() { return this; }
166
166
  static get style() { return icToastCss; }
167
167
  }, [1, "ic-toast", {
168
+ "autoDismissTimeout": [1026, "auto-dismiss-timeout"],
169
+ "dismissButtonAriaLabel": [1, "dismiss-button-aria-label"],
170
+ "dismissMode": [1025, "dismiss-mode"],
168
171
  "heading": [1],
169
- "variant": [1025],
170
172
  "message": [1],
171
- "dismissMode": [1025, "dismiss-mode"],
172
- "autoDismissTimeout": [1026, "auto-dismiss-timeout"],
173
173
  "neutralIconAriaLabel": [1, "neutral-icon-aria-label"],
174
- "dismissButtonAriaLabel": [1, "dismiss-button-aria-label"],
175
- "visible": [32],
174
+ "variant": [1025],
176
175
  "timerProgress": [32],
176
+ "visible": [32],
177
177
  "setVisible": [64]
178
178
  }, [[2, "icDismiss", "handleDismiss"], [4, "keydown", "handleKeyboard"], [1, "mouseenter", "handleTimer"], [1, "mouseleave", "handleTimer"]]]);
179
179
  function defineCustomElement$1() {
@@ -1 +1 @@
1
- {"file":"ic-toast.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,ksJAAksJ;;AC0BrtJ,MAAM,kCAAkC,GAAG,IAAI,CAAC;AAChD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,wBAAwB,GAAG,GAAG,CAAC;MAWxB,KAAK;;;;;;IA0ChB,wBAAmB,GAA6B,EAAE,CAAC;IAyE3C,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;;;;uBAzGyD,QAAQ;8BAKpB,IAAI;;kCAQjB,SAAS;mBAMxB,KAAK;yBACC,GAAG;;;;;;EAa5B,MAAM,UAAU;IACd,IAAI,CAAC,IAAI,CAAC,OAAO;MAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACvC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,UAAU,CACrC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,kBAAkB,CACxB,CAAC;MACF,IAAI,CAAC,oBAAoB,GAAG,MAAM,CAAC,WAAW,CAC5C,IAAI,CAAC,oBAAoB,EACzB,kCAAkC,CACnC,CAAC;MACF,OAAO,IAAI,CAAC;KACb;SAAM;MACL,MAAM,CAAC,UAAU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AS,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-architectural-500);\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-architectural-500);\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 @Element() el: HTMLIcToastElement;\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 * The variant of the toast being rendered\n */\n @Prop({ mutable: true }) variant?: IcStatusVariants;\n /**\n * The main body message of the toast. (NOTE: Should be no more than `140` characters)\n */\n @Prop() message?: string;\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 * 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 * Provides a custom alt-text to be announced to screen readers, if slotting a custom neutral icon\n */\n @Prop() neutralIconAriaLabel?: string;\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 * Is emitted when the user dismisses the toast\n */\n @Event() icDismiss: EventEmitter<void>;\n\n @State() visible = false;\n @State() timerProgress = 100;\n\n dismissTimeout: number;\n timerRefreshInterval: number;\n isManual: boolean;\n interactiveElements: ActionAreaElementTypes[] = [];\n neutralVariantLabel: string;\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() {\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 @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 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 componentWillLoad() {\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() {\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 disconnectedCallback() {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\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,ksJAAksJ;;AC0BrtJ,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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,GAAG,IAAI;QACjB,CAAC,WAAW,OAAO,EAAE,GAAG,IAAI;OAC7B,GACI,EACN,OAAO,KAAK,SAAS,IACpB,YAAM,IAAI,EAAC,cAAc,GAAG,KAE5B,YACE,KAAK,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-architectural-500);\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-architectural-500);\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}
@@ -1807,13 +1807,21 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
1807
1807
  super();
1808
1808
  this.__registerHost();
1809
1809
  this.__attachShadow();
1810
+ this.delayedHideEvents = ["mouseleave"];
1811
+ this.instantHideEvents = ["focusout"];
1810
1812
  this.mouseOverTool = false;
1813
+ this.persistTooltip = false;
1814
+ this.screenReaderOnlyStyles = {
1815
+ position: "absolute",
1816
+ left: "-10000px",
1817
+ top: "auto",
1818
+ width: "1px",
1819
+ height: "1px",
1820
+ overflow: "hidden",
1821
+ };
1811
1822
  this.showEvents = this.disableHover
1812
1823
  ? ["click"]
1813
1824
  : ["mouseenter", "focusin"];
1814
- this.instantHideEvents = ["focusout"];
1815
- this.delayedHideEvents = ["mouseleave"];
1816
- this.persistTooltip = false;
1817
1825
  this.show = () => {
1818
1826
  this.toolTip.setAttribute("data-show", "");
1819
1827
  this.popperInstance.update();
@@ -1862,18 +1870,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
1862
1870
  });
1863
1871
  document[method]("keydown", this.handleKeyDown);
1864
1872
  };
1865
- this.screenReaderOnlyStyles = {
1866
- position: "absolute",
1867
- left: "-10000px",
1868
- top: "auto",
1869
- width: "1px",
1870
- height: "1px",
1871
- overflow: "hidden",
1872
- };
1873
- this.target = undefined;
1873
+ this.disableHover = false;
1874
1874
  this.placement = "bottom";
1875
+ this.target = undefined;
1875
1876
  this.label = undefined;
1876
- this.disableHover = false;
1877
1877
  }
1878
1878
  updateLabel(newValue) {
1879
1879
  const describedBySpan = this.el.previousElementSibling;
@@ -1881,14 +1881,9 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
1881
1881
  describedBySpan.innerText = newValue;
1882
1882
  }
1883
1883
  }
1884
- /**
1885
- * Method to programmatically show/hide the tooltip without needing to interact with an anchor element
1886
- * @param show Whether to show or hide the tooltip
1887
- * @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
1888
- */
1889
- async displayTooltip(show, persistTooltip) {
1890
- this.persistTooltip = persistTooltip;
1891
- show ? this.show() : this.hide();
1884
+ disconnectedCallback() {
1885
+ this.manageEventListeners("remove");
1886
+ this.popperInstance.destroy();
1892
1887
  }
1893
1888
  componentDidLoad() {
1894
1889
  this.popperInstance = createPopper(this.el, this.toolTip, {
@@ -1923,9 +1918,14 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
1923
1918
  this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
1924
1919
  }
1925
1920
  }
1926
- disconnectedCallback() {
1927
- this.manageEventListeners("remove");
1928
- this.popperInstance.destroy();
1921
+ /**
1922
+ * Method to programmatically show/hide the tooltip without needing to interact with an anchor element
1923
+ * @param show Whether to show or hide the tooltip
1924
+ * @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
1925
+ */
1926
+ async displayTooltip(show, persistTooltip) {
1927
+ this.persistTooltip = persistTooltip;
1928
+ show ? this.show() : this.hide();
1929
1929
  }
1930
1930
  render() {
1931
1931
  const { label } = this;
@@ -1937,10 +1937,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
1937
1937
  }; }
1938
1938
  static get style() { return icTooltipCss; }
1939
1939
  }, [1, "ic-tooltip", {
1940
- "target": [513],
1940
+ "disableHover": [4, "disable-hover"],
1941
1941
  "placement": [1],
1942
+ "target": [513],
1942
1943
  "label": [1],
1943
- "disableHover": [4, "disable-hover"],
1944
1944
  "displayTooltip": [64]
1945
1945
  }]);
1946
1946
  function defineCustomElement() {