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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1078) hide show
  1. package/dist/cjs/core.cjs.js +10 -3
  2. package/dist/cjs/core.cjs.js.map +1 -1
  3. package/dist/cjs/{helpers-d6b5880e.js → helpers-eb53c416.js} +7 -1
  4. package/dist/cjs/helpers-eb53c416.js.map +1 -0
  5. package/dist/cjs/ic-alert.cjs.entry.js +10 -10
  6. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +27 -21
  10. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-breadcrumb.cjs.entry.js +7 -7
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js +98 -97
  14. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-card.cjs.entry.js +43 -42
  16. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +19 -16
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox.cjs.entry.js +34 -30
  20. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +17 -14
  22. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-data-row.cjs.entry.js +22 -22
  26. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  28. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-divider.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-footer-link-group.cjs.entry.js +18 -18
  31. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-footer-link.cjs.entry.js +16 -16
  33. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-footer.cjs.entry.js +20 -20
  35. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-hero.cjs.entry.js +20 -20
  37. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +35 -22
  39. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +130 -91
  41. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-input-label_2.cjs.entry.js +10 -10
  43. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-link.cjs.entry.js +19 -19
  45. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-menu-item.cjs.entry.js +16 -15
  48. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-button.cjs.entry.js +17 -17
  50. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-navigation-group.cjs.entry.js +79 -53
  52. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-navigation-item.cjs.entry.js +44 -44
  54. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-navigation-menu.cjs.entry.js +28 -28
  56. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-page-header.cjs.entry.js +15 -15
  58. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-pagination-item.cjs.entry.js +11 -6
  60. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-pagination.cjs.entry.js +33 -32
  62. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-popover-menu.cjs.entry.js +64 -64
  64. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-radio-group.cjs.entry.js +41 -23
  66. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-radio-option.cjs.entry.js +38 -37
  68. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-search-bar.cjs.entry.js +123 -120
  70. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-select.cjs.entry.js +99 -96
  73. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-side-navigation.cjs.entry.js +81 -76
  75. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
  77. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
  79. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-step.cjs.entry.js +8 -8
  81. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  83. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-switch.cjs.entry.js +20 -19
  85. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-tab-context.cjs.entry.js +27 -33
  87. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-tab-group.cjs.entry.js +4 -4
  89. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-tab-panel.cjs.entry.js +3 -3
  91. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-tab.cjs.entry.js +19 -15
  93. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-text-field.cjs.entry.js +57 -58
  95. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  97. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-toast-region.cjs.entry.js +13 -13
  99. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-toast.cjs.entry.js +59 -59
  101. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-top-navigation.cjs.entry.js +40 -40
  103. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-typography.cjs.entry.js +13 -13
  105. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  106. package/dist/cjs/{index-a62312a7.js → index-014e3058.js} +222 -43
  107. package/dist/cjs/index-014e3058.js.map +1 -0
  108. package/dist/cjs/loader.cjs.js +4 -3
  109. package/dist/cjs/loader.cjs.js.map +1 -1
  110. package/dist/collection/collection-manifest.json +12 -11
  111. package/dist/collection/components/ic-alert/ic-alert.js +49 -49
  112. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  113. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  114. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  115. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  116. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  117. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  118. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  119. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  120. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  121. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  122. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  123. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  124. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  125. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  126. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +24 -24
  127. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  128. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  129. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  130. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +25 -19
  131. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  132. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  133. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  134. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  135. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  136. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  137. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  138. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  139. package/dist/collection/components/ic-button/ic-button.css +4 -0
  140. package/dist/collection/components/ic-button/ic-button.js +192 -190
  141. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  142. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  143. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  144. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +173 -0
  145. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  146. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +230 -0
  147. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  148. package/dist/collection/components/ic-card/ic-card.css +3 -2
  149. package/dist/collection/components/ic-card/ic-card.js +121 -120
  150. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  151. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  152. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  153. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  154. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  155. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  156. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  157. package/dist/collection/components/ic-checkbox/ic-checkbox.js +95 -91
  158. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  159. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +59 -56
  160. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  161. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  162. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  163. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  164. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  165. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +175 -0
  166. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  167. package/dist/collection/components/ic-chip/ic-chip.js +55 -52
  168. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  169. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  170. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  171. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  172. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  173. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  174. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  175. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  176. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  177. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  178. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  179. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  180. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  181. package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
  182. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  183. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  184. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  185. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +185 -0
  186. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  187. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  188. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  189. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  190. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  191. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +204 -0
  193. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  194. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  195. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  196. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  197. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  198. package/dist/collection/components/ic-footer/ic-footer.js +48 -48
  199. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  200. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  201. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  202. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  203. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  204. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  205. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  206. package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
  207. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  208. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  209. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  210. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  211. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  212. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  213. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  214. 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
  215. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  216. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  217. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  218. package/dist/collection/components/ic-hero/ic-hero.js +95 -95
  219. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  220. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  221. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  222. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  223. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  224. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +35 -22
  225. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  226. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  227. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  228. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  229. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  230. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +32 -4
  231. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  232. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  233. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  234. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  235. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  236. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  237. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  238. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  239. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  240. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  241. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
  242. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  243. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  244. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  245. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  246. package/dist/collection/components/ic-link/ic-link.js +48 -48
  247. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  248. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  249. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  250. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  251. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  252. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
  253. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  254. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  255. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  256. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  257. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  258. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  259. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  260. package/dist/collection/components/ic-menu/ic-menu.css +9 -1
  261. package/dist/collection/components/ic-menu/ic-menu.js +285 -222
  262. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  263. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +650 -0
  264. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  265. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  266. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  267. package/dist/collection/components/ic-menu-item/ic-menu-item.css +2 -2
  268. package/dist/collection/components/ic-menu-item/ic-menu-item.js +77 -76
  269. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  270. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +105 -0
  271. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  272. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  273. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  274. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  275. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  276. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
  277. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +95 -69
  278. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  279. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  280. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  281. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  282. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  283. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +5 -4
  284. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
  285. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  286. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  287. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  288. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  289. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  290. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
  291. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
  292. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  293. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  294. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  295. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  296. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  297. package/dist/collection/components/ic-page-header/ic-page-header.css +1 -1
  298. package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
  299. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  300. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  301. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  302. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  303. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  304. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  305. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  306. package/dist/collection/components/ic-pagination/ic-pagination.js +99 -98
  307. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  308. package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
  309. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  310. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  311. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  312. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +325 -0
  313. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  314. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +69 -65
  315. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  316. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +1 -1
  317. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
  318. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  319. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
  320. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  321. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  322. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  323. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
  324. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  325. package/dist/collection/components/ic-radio-group/ic-radio-group.js +103 -79
  326. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  327. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  328. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  329. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  330. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  331. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  332. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  333. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  334. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  335. package/dist/collection/components/ic-radio-option/ic-radio-option.css +1 -1
  336. package/dist/collection/components/ic-radio-option/ic-radio-option.js +110 -95
  337. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  338. package/dist/collection/components/ic-search-bar/ic-search-bar.js +386 -383
  339. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  340. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  341. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  342. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  343. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1054 -0
  344. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  345. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +570 -0
  346. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  347. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  348. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  349. package/dist/collection/components/ic-select/ic-select.js +299 -296
  350. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  351. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  352. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  353. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1765 -0
  354. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  355. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1276 -0
  356. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  357. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -11
  358. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +123 -118
  359. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  360. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  361. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  362. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  363. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +412 -0
  364. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  365. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  366. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  367. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  368. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  369. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  370. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  371. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  372. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  373. package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -6
  374. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  375. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  376. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  377. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  378. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  379. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  380. package/dist/collection/components/ic-step/ic-step.js +126 -126
  381. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  382. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  383. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  384. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  385. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  386. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  387. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  388. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  389. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  390. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  391. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  392. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  393. package/dist/collection/components/ic-switch/ic-switch.css +1 -1
  394. package/dist/collection/components/ic-switch/ic-switch.js +74 -73
  395. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  396. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  397. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  398. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  399. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  400. package/dist/collection/components/ic-tab/ic-tab.js +58 -54
  401. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  402. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  403. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  404. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  405. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  406. package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
  407. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  408. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  409. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  410. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  411. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +369 -0
  412. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  413. package/dist/collection/components/ic-tab-group/ic-tab-group.css +2 -2
  414. package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
  415. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  416. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
  417. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  418. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  419. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  420. package/dist/collection/components/ic-text-field/ic-text-field.css +0 -4
  421. package/dist/collection/components/ic-text-field/ic-text-field.js +377 -378
  422. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  423. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  424. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  425. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  426. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  427. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  428. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  429. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  430. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  431. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  432. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  433. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  434. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  435. package/dist/collection/components/ic-toast/ic-toast.js +111 -111
  436. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  437. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  438. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  439. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  440. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  441. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  442. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  443. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  444. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  445. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  446. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  447. package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
  448. package/dist/collection/components/ic-tooltip/ic-tooltip.js +71 -72
  449. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  450. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  451. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  452. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
  453. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  454. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
  455. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  456. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +82 -82
  457. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  458. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +1 -1
  459. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  460. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +42 -0
  461. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  462. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  463. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  464. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +286 -0
  465. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  466. package/dist/collection/components/ic-typography/ic-typography.js +36 -36
  467. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  468. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  469. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  470. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +36 -0
  471. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  472. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +296 -0
  473. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  474. package/dist/collection/testspec.setup.js +11 -0
  475. package/dist/collection/testspec.setup.js.map +1 -1
  476. package/dist/collection/utils/helpers.js +5 -0
  477. package/dist/collection/utils/helpers.js.map +1 -1
  478. package/dist/components/helpers.js +6 -1
  479. package/dist/components/helpers.js.map +1 -1
  480. package/dist/components/ic-alert.js +1 -113
  481. package/dist/components/ic-alert.js.map +1 -1
  482. package/dist/components/ic-alert2.js +117 -0
  483. package/dist/components/ic-alert2.js.map +1 -0
  484. package/dist/components/ic-back-to-top.js +6 -6
  485. package/dist/components/ic-back-to-top.js.map +1 -1
  486. package/dist/components/ic-breadcrumb-group.js +27 -21
  487. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  488. package/dist/components/ic-breadcrumb2.js +8 -8
  489. package/dist/components/ic-breadcrumb2.js.map +1 -1
  490. package/dist/components/ic-button2.js +48 -46
  491. package/dist/components/ic-button2.js.map +1 -1
  492. package/dist/components/ic-card.js +52 -51
  493. package/dist/components/ic-card.js.map +1 -1
  494. package/dist/components/ic-checkbox-group.js +22 -19
  495. package/dist/components/ic-checkbox-group.js.map +1 -1
  496. package/dist/components/ic-checkbox.js +39 -35
  497. package/dist/components/ic-checkbox.js.map +1 -1
  498. package/dist/components/ic-chip.js +21 -18
  499. package/dist/components/ic-chip.js.map +1 -1
  500. package/dist/components/ic-classification-banner.js +1 -1
  501. package/dist/components/ic-data-entity.js +1 -1
  502. package/dist/components/ic-data-row.js +23 -23
  503. package/dist/components/ic-data-row.js.map +1 -1
  504. package/dist/components/ic-dialog.d.ts +11 -0
  505. package/dist/components/ic-dialog.js +356 -0
  506. package/dist/components/ic-dialog.js.map +1 -0
  507. package/dist/components/ic-divider2.js +2 -2
  508. package/dist/components/ic-footer-link-group.js +20 -20
  509. package/dist/components/ic-footer-link-group.js.map +1 -1
  510. package/dist/components/ic-footer-link.js +18 -18
  511. package/dist/components/ic-footer-link.js.map +1 -1
  512. package/dist/components/ic-footer.js +22 -22
  513. package/dist/components/ic-footer.js.map +1 -1
  514. package/dist/components/ic-hero.js +27 -27
  515. package/dist/components/ic-hero.js.map +1 -1
  516. package/dist/components/ic-horizontal-scroll2.js +36 -23
  517. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  518. package/dist/components/ic-input-component-container2.js +11 -11
  519. package/dist/components/ic-input-component-container2.js.map +1 -1
  520. package/dist/components/ic-input-container2.js +1 -1
  521. package/dist/components/ic-input-label2.js +10 -10
  522. package/dist/components/ic-input-label2.js.map +1 -1
  523. package/dist/components/ic-input-validation2.js +9 -9
  524. package/dist/components/ic-input-validation2.js.map +1 -1
  525. package/dist/components/ic-link2.js +21 -21
  526. package/dist/components/ic-link2.js.map +1 -1
  527. package/dist/components/ic-loading-indicator2.js +25 -25
  528. package/dist/components/ic-loading-indicator2.js.map +1 -1
  529. package/dist/components/ic-menu-group.js +1 -1
  530. package/dist/components/ic-menu-item2.js +21 -20
  531. package/dist/components/ic-menu-item2.js.map +1 -1
  532. package/dist/components/ic-menu2.js +136 -97
  533. package/dist/components/ic-menu2.js.map +1 -1
  534. package/dist/components/ic-navigation-button.js +22 -22
  535. package/dist/components/ic-navigation-button.js.map +1 -1
  536. package/dist/components/ic-navigation-group.js +83 -57
  537. package/dist/components/ic-navigation-group.js.map +1 -1
  538. package/dist/components/ic-navigation-item.js +54 -54
  539. package/dist/components/ic-navigation-item.js.map +1 -1
  540. package/dist/components/ic-navigation-menu2.js +30 -30
  541. package/dist/components/ic-navigation-menu2.js.map +1 -1
  542. package/dist/components/ic-page-header.js +21 -21
  543. package/dist/components/ic-page-header.js.map +1 -1
  544. package/dist/components/ic-pagination-item2.js +16 -12
  545. package/dist/components/ic-pagination-item2.js.map +1 -1
  546. package/dist/components/ic-pagination.js +41 -40
  547. package/dist/components/ic-pagination.js.map +1 -1
  548. package/dist/components/ic-popover-menu.js +67 -67
  549. package/dist/components/ic-popover-menu.js.map +1 -1
  550. package/dist/components/ic-radio-group.js +46 -28
  551. package/dist/components/ic-radio-group.js.map +1 -1
  552. package/dist/components/ic-radio-option.js +43 -42
  553. package/dist/components/ic-radio-option.js.map +1 -1
  554. package/dist/components/ic-search-bar.js +146 -143
  555. package/dist/components/ic-search-bar.js.map +1 -1
  556. package/dist/components/ic-section-container2.js +1 -1
  557. package/dist/components/ic-select.js +127 -124
  558. package/dist/components/ic-select.js.map +1 -1
  559. package/dist/components/ic-side-navigation.js +90 -85
  560. package/dist/components/ic-side-navigation.js.map +1 -1
  561. package/dist/components/ic-skeleton.js +6 -6
  562. package/dist/components/ic-skeleton.js.map +1 -1
  563. package/dist/components/ic-status-tag.js +9 -9
  564. package/dist/components/ic-status-tag.js.map +1 -1
  565. package/dist/components/ic-step.js +16 -16
  566. package/dist/components/ic-step.js.map +1 -1
  567. package/dist/components/ic-stepper.js +21 -21
  568. package/dist/components/ic-stepper.js.map +1 -1
  569. package/dist/components/ic-switch.js +24 -23
  570. package/dist/components/ic-switch.js.map +1 -1
  571. package/dist/components/ic-tab-context.js +29 -35
  572. package/dist/components/ic-tab-context.js.map +1 -1
  573. package/dist/components/ic-tab-group.js +6 -6
  574. package/dist/components/ic-tab-group.js.map +1 -1
  575. package/dist/components/ic-tab-panel.js +5 -5
  576. package/dist/components/ic-tab-panel.js.map +1 -1
  577. package/dist/components/ic-tab.js +20 -16
  578. package/dist/components/ic-tab.js.map +1 -1
  579. package/dist/components/ic-text-field2.js +86 -87
  580. package/dist/components/ic-text-field2.js.map +1 -1
  581. package/dist/components/ic-theme.js +2 -2
  582. package/dist/components/ic-theme.js.map +1 -1
  583. package/dist/components/ic-toast-region.js +13 -13
  584. package/dist/components/ic-toast-region.js.map +1 -1
  585. package/dist/components/ic-toast.js +64 -64
  586. package/dist/components/ic-toast.js.map +1 -1
  587. package/dist/components/ic-tooltip2.js +53 -54
  588. package/dist/components/ic-tooltip2.js.map +1 -1
  589. package/dist/components/ic-top-navigation.js +49 -49
  590. package/dist/components/ic-top-navigation.js.map +1 -1
  591. package/dist/components/ic-typography2.js +15 -15
  592. package/dist/components/ic-typography2.js.map +1 -1
  593. package/dist/components/index.d.ts +9 -60
  594. package/dist/components/index.js +1 -58
  595. package/dist/components/index.js.map +1 -1
  596. package/dist/core/core.css +41 -2
  597. package/dist/core/core.esm.js +1 -1
  598. package/dist/core/core.esm.js.map +1 -1
  599. package/dist/core/index.esm.js.map +1 -1
  600. package/dist/core/p-00b0c1b5.entry.js +2 -0
  601. package/dist/core/p-00b0c1b5.entry.js.map +1 -0
  602. package/dist/core/{p-fb5861c6.entry.js → p-0471f0a2.entry.js} +2 -2
  603. package/dist/core/p-0471f0a2.entry.js.map +1 -0
  604. package/dist/core/{p-de45134c.entry.js → p-04d626ee.entry.js} +2 -2
  605. package/dist/core/p-04d626ee.entry.js.map +1 -0
  606. package/dist/core/p-053b387f.entry.js +2 -0
  607. package/dist/core/p-053b387f.entry.js.map +1 -0
  608. package/dist/core/p-06321d19.js.map +1 -1
  609. package/dist/core/p-071bd3f5.entry.js +2 -0
  610. package/dist/core/p-071bd3f5.entry.js.map +1 -0
  611. package/dist/core/p-0738d6e3.entry.js +2 -0
  612. package/dist/core/p-0738d6e3.entry.js.map +1 -0
  613. package/dist/core/p-0ccdb432.entry.js +2 -0
  614. package/dist/core/p-0ccdb432.entry.js.map +1 -0
  615. package/dist/core/{p-ca20c9c3.entry.js → p-0d4507ef.entry.js} +2 -2
  616. package/dist/core/p-0d4507ef.entry.js.map +1 -0
  617. package/dist/core/p-11e0f917.entry.js +2 -0
  618. package/dist/core/p-11e0f917.entry.js.map +1 -0
  619. package/dist/core/{p-454b1ecd.entry.js → p-12287f17.entry.js} +2 -2
  620. package/dist/core/p-12287f17.entry.js.map +1 -0
  621. package/dist/core/{p-4dd0eb6a.entry.js → p-18f86ab2.entry.js} +2 -2
  622. package/dist/core/p-18f86ab2.entry.js.map +1 -0
  623. package/dist/core/{p-443052a7.entry.js → p-1a7d6eca.entry.js} +2 -2
  624. package/dist/core/p-1a7d6eca.entry.js.map +1 -0
  625. package/dist/core/p-1c30ece9.entry.js +2 -0
  626. package/dist/core/p-1c30ece9.entry.js.map +1 -0
  627. package/dist/core/p-206a402a.entry.js +2 -0
  628. package/dist/core/p-206a402a.entry.js.map +1 -0
  629. package/dist/core/p-221c905b.entry.js +2 -0
  630. package/dist/core/p-221c905b.entry.js.map +1 -0
  631. package/dist/core/p-2b80ce4c.entry.js +2 -0
  632. package/dist/core/p-2b80ce4c.entry.js.map +1 -0
  633. package/dist/core/p-3294961a.entry.js +2 -0
  634. package/dist/core/p-3294961a.entry.js.map +1 -0
  635. package/dist/core/p-36115f6a.entry.js +2 -0
  636. package/dist/core/p-36115f6a.entry.js.map +1 -0
  637. package/dist/core/{p-50421f27.entry.js → p-38450979.entry.js} +2 -2
  638. package/dist/core/p-38450979.entry.js.map +1 -0
  639. package/dist/core/p-39ec4fc2.entry.js +2 -0
  640. package/dist/core/p-39ec4fc2.entry.js.map +1 -0
  641. package/dist/core/p-44512ebe.js.map +1 -1
  642. package/dist/core/p-4a47cc51.entry.js +2 -0
  643. package/dist/core/p-4a47cc51.entry.js.map +1 -0
  644. package/dist/core/{p-d2d5132d.entry.js → p-4a814585.entry.js} +2 -2
  645. package/dist/core/p-4a814585.entry.js.map +1 -0
  646. package/dist/core/{p-312c10b0.entry.js → p-4c4fa082.entry.js} +2 -2
  647. package/dist/core/p-4c4fa082.entry.js.map +1 -0
  648. package/dist/core/{p-fc7dce3d.entry.js → p-4f7b34ed.entry.js} +2 -2
  649. package/dist/core/p-4f7b34ed.entry.js.map +1 -0
  650. package/dist/core/p-51d4c05c.entry.js +2 -0
  651. package/dist/core/p-51d4c05c.entry.js.map +1 -0
  652. package/dist/core/p-54a5e971.entry.js +2 -0
  653. package/dist/core/p-54a5e971.entry.js.map +1 -0
  654. package/dist/core/{p-050dbce8.entry.js → p-57ba3442.entry.js} +2 -2
  655. package/dist/core/p-57ba3442.entry.js.map +1 -0
  656. package/dist/core/{p-af815dfb.entry.js → p-594e88fe.entry.js} +2 -2
  657. package/dist/core/p-594e88fe.entry.js.map +1 -0
  658. package/dist/core/p-5d245683.entry.js +2 -0
  659. package/dist/core/p-5d245683.entry.js.map +1 -0
  660. package/dist/core/{p-36e0671f.entry.js → p-64584eb6.entry.js} +2 -2
  661. package/dist/core/p-64584eb6.entry.js.map +1 -0
  662. package/dist/core/p-67e99ad8.entry.js +2 -0
  663. package/dist/core/p-67e99ad8.entry.js.map +1 -0
  664. package/dist/core/{p-cee45622.entry.js → p-6921177c.entry.js} +2 -2
  665. package/dist/core/p-6921177c.entry.js.map +1 -0
  666. package/dist/core/{p-1585e5c1.entry.js → p-6ac8df90.entry.js} +2 -2
  667. package/dist/core/p-6ac8df90.entry.js.map +1 -0
  668. package/dist/core/p-6aee5f18.entry.js +2 -0
  669. package/dist/core/p-6aee5f18.entry.js.map +1 -0
  670. package/dist/core/p-6f57b13c.js.map +1 -1
  671. package/dist/core/{p-70124e59.entry.js → p-7350d63d.entry.js} +2 -2
  672. package/dist/core/p-7350d63d.entry.js.map +1 -0
  673. package/dist/core/p-75e23d08.entry.js +2 -0
  674. package/dist/core/p-75e23d08.entry.js.map +1 -0
  675. package/dist/core/p-7ae1d7bc.entry.js +2 -0
  676. package/dist/core/p-7ae1d7bc.entry.js.map +1 -0
  677. package/dist/core/p-7fafc87a.entry.js +2 -0
  678. package/dist/core/p-7fafc87a.entry.js.map +1 -0
  679. package/dist/core/p-8c7f4343.js.map +1 -1
  680. package/dist/core/p-8d4f7027.js.map +1 -1
  681. package/dist/core/{p-bffa2e1a.entry.js → p-9779c179.entry.js} +2 -2
  682. package/dist/core/p-9779c179.entry.js.map +1 -0
  683. package/dist/core/{p-68547339.entry.js → p-9e7b1167.entry.js} +2 -2
  684. package/dist/core/p-9e7b1167.entry.js.map +1 -0
  685. package/dist/core/{p-a18c0672.entry.js → p-ac10763e.entry.js} +2 -2
  686. package/dist/core/p-ac10763e.entry.js.map +1 -0
  687. package/dist/core/p-acdc2931.entry.js +2 -0
  688. package/dist/core/p-acdc2931.entry.js.map +1 -0
  689. package/dist/core/{p-a8dc8196.entry.js → p-bc02816a.entry.js} +2 -2
  690. package/dist/core/p-bc02816a.entry.js.map +1 -0
  691. package/dist/core/p-bde0fcab.entry.js +2 -0
  692. package/dist/core/p-bde0fcab.entry.js.map +1 -0
  693. package/dist/core/{p-29ea6f88.entry.js → p-be6ee8a9.entry.js} +2 -2
  694. package/dist/core/p-be6ee8a9.entry.js.map +1 -0
  695. package/dist/core/{p-471820e6.js → p-bf5669a2.js} +2 -2
  696. package/dist/core/p-bf5669a2.js.map +1 -0
  697. package/dist/core/p-c4dcc6b9.entry.js +2 -0
  698. package/dist/core/p-c4dcc6b9.entry.js.map +1 -0
  699. package/dist/core/{p-df1b0f17.entry.js → p-ca0e8569.entry.js} +2 -2
  700. package/dist/core/p-ca0e8569.entry.js.map +1 -0
  701. package/dist/core/p-ddb60a4b.entry.js +2 -0
  702. package/dist/core/p-ddb60a4b.entry.js.map +1 -0
  703. package/dist/core/{p-28bc3bf0.entry.js → p-df67b151.entry.js} +2 -2
  704. package/dist/core/p-df67b151.entry.js.map +1 -0
  705. package/dist/core/{p-5e896163.entry.js → p-e0bbf81e.entry.js} +2 -2
  706. package/dist/core/p-e0bbf81e.entry.js.map +1 -0
  707. package/dist/core/p-e6d3b5f8.entry.js +2 -0
  708. package/dist/core/p-e6d3b5f8.entry.js.map +1 -0
  709. package/dist/core/p-e8be020c.entry.js +2 -0
  710. package/dist/core/p-e8be020c.entry.js.map +1 -0
  711. package/dist/core/p-ec26fc38.js.map +1 -1
  712. package/dist/core/p-f3053872.js +3 -0
  713. package/dist/core/p-f3053872.js.map +1 -0
  714. package/dist/core/{p-46371c05.entry.js → p-fa40a71b.entry.js} +2 -2
  715. package/dist/core/p-fa40a71b.entry.js.map +1 -0
  716. package/dist/esm/core.js +7 -3
  717. package/dist/esm/core.js.map +1 -1
  718. package/dist/esm/{helpers-73666f14.js → helpers-c4e378c4.js} +7 -2
  719. package/dist/esm/helpers-c4e378c4.js.map +1 -0
  720. package/dist/esm/ic-alert.entry.js +10 -10
  721. package/dist/esm/ic-alert.entry.js.map +1 -1
  722. package/dist/esm/ic-back-to-top.entry.js +4 -4
  723. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  724. package/dist/esm/ic-breadcrumb-group.entry.js +27 -21
  725. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  726. package/dist/esm/ic-breadcrumb.entry.js +7 -7
  727. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  728. package/dist/esm/ic-button_3.entry.js +98 -97
  729. package/dist/esm/ic-button_3.entry.js.map +1 -1
  730. package/dist/esm/ic-card.entry.js +43 -42
  731. package/dist/esm/ic-card.entry.js.map +1 -1
  732. package/dist/esm/ic-checkbox-group.entry.js +19 -16
  733. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  734. package/dist/esm/ic-checkbox.entry.js +34 -30
  735. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  736. package/dist/esm/ic-chip.entry.js +17 -14
  737. package/dist/esm/ic-chip.entry.js.map +1 -1
  738. package/dist/esm/ic-classification-banner.entry.js +1 -1
  739. package/dist/esm/ic-data-entity.entry.js +1 -1
  740. package/dist/esm/ic-data-row.entry.js +22 -22
  741. package/dist/esm/ic-data-row.entry.js.map +1 -1
  742. package/dist/esm/ic-dialog.entry.js +291 -0
  743. package/dist/esm/ic-dialog.entry.js.map +1 -0
  744. package/dist/esm/ic-divider.entry.js +2 -2
  745. package/dist/esm/ic-footer-link-group.entry.js +18 -18
  746. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  747. package/dist/esm/ic-footer-link.entry.js +16 -16
  748. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  749. package/dist/esm/ic-footer.entry.js +20 -20
  750. package/dist/esm/ic-footer.entry.js.map +1 -1
  751. package/dist/esm/ic-hero.entry.js +20 -20
  752. package/dist/esm/ic-hero.entry.js.map +1 -1
  753. package/dist/esm/ic-horizontal-scroll.entry.js +35 -22
  754. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  755. package/dist/esm/ic-input-component-container_3.entry.js +130 -91
  756. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  757. package/dist/esm/ic-input-label_2.entry.js +10 -10
  758. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  759. package/dist/esm/ic-link.entry.js +19 -19
  760. package/dist/esm/ic-link.entry.js.map +1 -1
  761. package/dist/esm/ic-menu-group.entry.js +1 -1
  762. package/dist/esm/ic-menu-item.entry.js +16 -15
  763. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  764. package/dist/esm/ic-navigation-button.entry.js +17 -17
  765. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  766. package/dist/esm/ic-navigation-group.entry.js +79 -53
  767. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  768. package/dist/esm/ic-navigation-item.entry.js +44 -44
  769. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  770. package/dist/esm/ic-navigation-menu.entry.js +28 -28
  771. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  772. package/dist/esm/ic-page-header.entry.js +15 -15
  773. package/dist/esm/ic-page-header.entry.js.map +1 -1
  774. package/dist/esm/ic-pagination-item.entry.js +11 -6
  775. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  776. package/dist/esm/ic-pagination.entry.js +33 -32
  777. package/dist/esm/ic-pagination.entry.js.map +1 -1
  778. package/dist/esm/ic-popover-menu.entry.js +64 -64
  779. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  780. package/dist/esm/ic-radio-group.entry.js +41 -23
  781. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  782. package/dist/esm/ic-radio-option.entry.js +38 -37
  783. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  784. package/dist/esm/ic-search-bar.entry.js +123 -120
  785. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  786. package/dist/esm/ic-section-container.entry.js +1 -1
  787. package/dist/esm/ic-select.entry.js +99 -96
  788. package/dist/esm/ic-select.entry.js.map +1 -1
  789. package/dist/esm/ic-side-navigation.entry.js +81 -76
  790. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  791. package/dist/esm/ic-skeleton.entry.js +4 -4
  792. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  793. package/dist/esm/ic-status-tag.entry.js +6 -6
  794. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  795. package/dist/esm/ic-step.entry.js +8 -8
  796. package/dist/esm/ic-step.entry.js.map +1 -1
  797. package/dist/esm/ic-stepper.entry.js +15 -15
  798. package/dist/esm/ic-stepper.entry.js.map +1 -1
  799. package/dist/esm/ic-switch.entry.js +20 -19
  800. package/dist/esm/ic-switch.entry.js.map +1 -1
  801. package/dist/esm/ic-tab-context.entry.js +27 -33
  802. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  803. package/dist/esm/ic-tab-group.entry.js +4 -4
  804. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  805. package/dist/esm/ic-tab-panel.entry.js +3 -3
  806. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  807. package/dist/esm/ic-tab.entry.js +19 -15
  808. package/dist/esm/ic-tab.entry.js.map +1 -1
  809. package/dist/esm/ic-text-field.entry.js +57 -58
  810. package/dist/esm/ic-text-field.entry.js.map +1 -1
  811. package/dist/esm/ic-theme.entry.js +2 -2
  812. package/dist/esm/ic-theme.entry.js.map +1 -1
  813. package/dist/esm/ic-toast-region.entry.js +13 -13
  814. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  815. package/dist/esm/ic-toast.entry.js +59 -59
  816. package/dist/esm/ic-toast.entry.js.map +1 -1
  817. package/dist/esm/ic-top-navigation.entry.js +40 -40
  818. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  819. package/dist/esm/ic-typography.entry.js +13 -13
  820. package/dist/esm/ic-typography.entry.js.map +1 -1
  821. package/dist/esm/{index-3b144b17.js → index-a77644e1.js} +222 -44
  822. package/dist/esm/index-a77644e1.js.map +1 -0
  823. package/dist/esm/loader.js +4 -3
  824. package/dist/esm/loader.js.map +1 -1
  825. package/dist/esm/polyfills/css-shim.js +1 -1
  826. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  827. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  828. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  829. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
  830. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
  831. package/dist/types/components/ic-button/ic-button.d.ts +52 -52
  832. package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
  833. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  834. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
  835. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +14 -13
  836. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -15
  837. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
  838. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
  839. package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
  840. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  841. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  842. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
  843. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +10 -10
  844. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  845. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  846. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
  847. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  848. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  849. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  850. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  851. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
  852. package/dist/types/components/ic-link/ic-link.d.ts +8 -8
  853. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
  854. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
  855. package/dist/types/components/ic-menu/ic-menu.d.ts +65 -59
  856. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
  857. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -1
  858. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  859. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
  860. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +21 -19
  861. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
  862. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  863. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  864. package/dist/types/components/ic-pagination/ic-pagination.d.ts +27 -27
  865. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
  866. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +16 -15
  867. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -1
  868. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
  869. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +22 -23
  870. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  871. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
  872. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +106 -106
  873. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
  874. package/dist/types/components/ic-select/ic-select.d.ts +89 -89
  875. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +27 -24
  876. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  877. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
  878. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  879. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
  880. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  881. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
  882. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  883. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
  884. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  885. package/dist/types/components/ic-tab/ic-tab.d.ts +16 -15
  886. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
  887. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
  888. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
  889. package/dist/types/components/ic-text-field/ic-text-field.d.ts +103 -103
  890. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
  891. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  892. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
  893. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
  894. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  895. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
  896. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
  897. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +32 -32
  898. package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
  899. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  900. package/dist/types/components.d.ts +192 -28
  901. package/dist/types/stencil-public-runtime.d.ts +72 -15
  902. package/dist/types/testspec.setup.d.ts +11 -0
  903. package/dist/types/utils/helpers.d.ts +1 -0
  904. package/dist/types/utils/types.d.ts +22 -22
  905. package/hydrate/index.d.ts +17 -16
  906. package/hydrate/index.js +2251 -1787
  907. package/loader/index.d.ts +9 -0
  908. package/package.json +5 -5
  909. package/dist/cjs/helpers-d6b5880e.js.map +0 -1
  910. package/dist/cjs/index-a62312a7.js.map +0 -1
  911. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  912. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  913. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  914. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  915. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  916. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  917. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  918. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  919. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  920. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  921. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  922. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  923. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  924. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  925. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  926. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  927. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  928. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  929. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  930. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  931. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  932. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
  933. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
  934. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  935. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  936. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  937. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  938. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  939. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  940. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  941. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  942. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  943. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  944. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  945. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  946. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  947. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  948. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  949. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  950. package/dist/core/p-050dbce8.entry.js.map +0 -1
  951. package/dist/core/p-06962e10.entry.js +0 -2
  952. package/dist/core/p-06962e10.entry.js.map +0 -1
  953. package/dist/core/p-0969a95a.entry.js +0 -2
  954. package/dist/core/p-0969a95a.entry.js.map +0 -1
  955. package/dist/core/p-0a11ec35.entry.js +0 -2
  956. package/dist/core/p-0a11ec35.entry.js.map +0 -1
  957. package/dist/core/p-0f153569.entry.js +0 -2
  958. package/dist/core/p-0f153569.entry.js.map +0 -1
  959. package/dist/core/p-1585e5c1.entry.js.map +0 -1
  960. package/dist/core/p-223a214f.entry.js +0 -2
  961. package/dist/core/p-223a214f.entry.js.map +0 -1
  962. package/dist/core/p-28bc3bf0.entry.js.map +0 -1
  963. package/dist/core/p-29ea6f88.entry.js.map +0 -1
  964. package/dist/core/p-2e63f202.entry.js +0 -2
  965. package/dist/core/p-2e63f202.entry.js.map +0 -1
  966. package/dist/core/p-2e6ea6d3.entry.js +0 -2
  967. package/dist/core/p-2e6ea6d3.entry.js.map +0 -1
  968. package/dist/core/p-2fb97a1b.entry.js +0 -2
  969. package/dist/core/p-2fb97a1b.entry.js.map +0 -1
  970. package/dist/core/p-312c10b0.entry.js.map +0 -1
  971. package/dist/core/p-31b4b684.entry.js +0 -2
  972. package/dist/core/p-31b4b684.entry.js.map +0 -1
  973. package/dist/core/p-32cc8827.entry.js +0 -2
  974. package/dist/core/p-32cc8827.entry.js.map +0 -1
  975. package/dist/core/p-3498db0b.entry.js +0 -2
  976. package/dist/core/p-3498db0b.entry.js.map +0 -1
  977. package/dist/core/p-36e0671f.entry.js.map +0 -1
  978. package/dist/core/p-443052a7.entry.js.map +0 -1
  979. package/dist/core/p-454b1ecd.entry.js.map +0 -1
  980. package/dist/core/p-46371c05.entry.js.map +0 -1
  981. package/dist/core/p-471820e6.js.map +0 -1
  982. package/dist/core/p-4dd0eb6a.entry.js.map +0 -1
  983. package/dist/core/p-50421f27.entry.js.map +0 -1
  984. package/dist/core/p-559b3d17.entry.js +0 -2
  985. package/dist/core/p-559b3d17.entry.js.map +0 -1
  986. package/dist/core/p-589f6dd3.js +0 -3
  987. package/dist/core/p-589f6dd3.js.map +0 -1
  988. package/dist/core/p-5a3f3f37.entry.js +0 -2
  989. package/dist/core/p-5a3f3f37.entry.js.map +0 -1
  990. package/dist/core/p-5e896163.entry.js.map +0 -1
  991. package/dist/core/p-68547339.entry.js.map +0 -1
  992. package/dist/core/p-6f2be5bd.entry.js +0 -2
  993. package/dist/core/p-6f2be5bd.entry.js.map +0 -1
  994. package/dist/core/p-70124e59.entry.js.map +0 -1
  995. package/dist/core/p-80164baa.entry.js +0 -2
  996. package/dist/core/p-80164baa.entry.js.map +0 -1
  997. package/dist/core/p-80eff050.entry.js +0 -2
  998. package/dist/core/p-80eff050.entry.js.map +0 -1
  999. package/dist/core/p-8edd3a9b.entry.js +0 -2
  1000. package/dist/core/p-8edd3a9b.entry.js.map +0 -1
  1001. package/dist/core/p-9715ec62.entry.js +0 -2
  1002. package/dist/core/p-9715ec62.entry.js.map +0 -1
  1003. package/dist/core/p-983cb33c.entry.js +0 -2
  1004. package/dist/core/p-983cb33c.entry.js.map +0 -1
  1005. package/dist/core/p-a18c0672.entry.js.map +0 -1
  1006. package/dist/core/p-a8dc8196.entry.js.map +0 -1
  1007. package/dist/core/p-a9184841.entry.js +0 -2
  1008. package/dist/core/p-a9184841.entry.js.map +0 -1
  1009. package/dist/core/p-af815dfb.entry.js.map +0 -1
  1010. package/dist/core/p-b69226d2.entry.js +0 -2
  1011. package/dist/core/p-b69226d2.entry.js.map +0 -1
  1012. package/dist/core/p-b7cf6411.entry.js +0 -2
  1013. package/dist/core/p-b7cf6411.entry.js.map +0 -1
  1014. package/dist/core/p-bffa2e1a.entry.js.map +0 -1
  1015. package/dist/core/p-c85476c0.entry.js +0 -2
  1016. package/dist/core/p-c85476c0.entry.js.map +0 -1
  1017. package/dist/core/p-ca20c9c3.entry.js.map +0 -1
  1018. package/dist/core/p-cee45622.entry.js.map +0 -1
  1019. package/dist/core/p-d2d5132d.entry.js.map +0 -1
  1020. package/dist/core/p-de45134c.entry.js.map +0 -1
  1021. package/dist/core/p-df1b0f17.entry.js.map +0 -1
  1022. package/dist/core/p-e16e817e.entry.js +0 -2
  1023. package/dist/core/p-e16e817e.entry.js.map +0 -1
  1024. package/dist/core/p-e6217f40.entry.js +0 -2
  1025. package/dist/core/p-e6217f40.entry.js.map +0 -1
  1026. package/dist/core/p-faeedfd1.entry.js +0 -2
  1027. package/dist/core/p-faeedfd1.entry.js.map +0 -1
  1028. package/dist/core/p-fb5861c6.entry.js.map +0 -1
  1029. package/dist/core/p-fc7dce3d.entry.js.map +0 -1
  1030. package/dist/core/p-fd18d7a3.entry.js +0 -2
  1031. package/dist/core/p-fd18d7a3.entry.js.map +0 -1
  1032. package/dist/esm/helpers-73666f14.js.map +0 -1
  1033. package/dist/esm/index-3b144b17.js.map +0 -1
  1034. /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
  1035. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  1036. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
  1037. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  1038. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  1039. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  1040. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  1041. /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
  1042. /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
  1043. /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
  1044. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  1045. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1046. /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
  1047. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1048. /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
  1049. /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
  1050. /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
  1051. /package/dist/types/components/{ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts → ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1052. /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1053. /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1054. /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1055. /package/dist/types/components/{ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1056. /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1057. /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1058. /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1059. /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1060. /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1061. /package/dist/types/components/{ic-pagination/ic-pagination.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1062. /package/dist/types/components/{ic-popover-menu/ic-popover-menu.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1063. /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1064. /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1065. /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1066. /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1067. /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1068. /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
  1069. /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1070. /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1071. /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1072. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1073. /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1074. /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1075. /package/dist/types/components/{ic-toast/ic-toast.test.a11y.d.ts → ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
  1076. /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-toast/test/a11y/ic-toast.test.a11y.d.ts} +0 -0
  1077. /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
  1078. /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts} +0 -0
@@ -1 +1 @@
1
- {"file":"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iBAAiB;IACf,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GACjC;EAED,oBAAoB;IAClB,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CACvC,6BAA6B,IAAI,CAAC,SAAS,GAAG,CACpB,CAAC;IAC7B,IAAI,UAAU,EAAE;MACd,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KACjD;GACF;EAED,MAAM;IACJ,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAChD,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,eAAe;QAC1C,CAAC,cAAc,GAAG,UAAU,KAAK,qBAAqB,CAAC,KAAK;QAC5D,CAAC,UAAU,GAAG,QAAQ;QACtB,CAAC,UAAU,GAAG,QAAQ;OACvB,EACD,IAAI,EAAC,KAAK,mBACK,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC1C,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,WAAW,EAAE,IAAI,CAAC,eAAe,mBAClB,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC1C,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,IAE/B,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,YAAM,IAAI,EAAC,MAAM,GAAQ,EACtE,qBAAe,KAAK,EAAC,cAAc,EAAC,OAAO,EAAC,OAAO,IACjD,gBACE,eAAa,CACR,CACO,CACX,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","./src/components/ic-tab/ic-tab.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --indicator-color: var(--ic-action-default);\n --focus-indicator: var(--ic-border-focus);\n --label-color: var(--ic-color-primary-text);\n --background-color-hover: var(--ic-action-default-bg-hover);\n --background-color-active: var(--ic-action-default-bg-active);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--label-color);\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--background-color-hover);\n}\n\n:host(:active) {\n background-color: var(--background-color-active);\n}\n\n:host(.ic-tab-light) {\n --indicator-initial-color: rgb(255 255 255 / 0%);\n --indicator-color: rgb(255 255 255 / 100%);\n --focus-indicator: var(--ic-border-focus);\n --label-color: white;\n --background-color-hover: var(--ic-action-dark-bg-hover);\n --background-color-active: var(--ic-action-dark-bg-active);\n}\n\n:host(.selected) {\n border-bottom: var(--ic-space-xxs) solid var(--indicator-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n:host(.selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n}\n\n.ic-tab-label {\n pointer-events: none;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.disabled) {\n color: GrayText;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n h,\n Method,\n} from \"@stencil/core\";\n\nimport { IcTabClickEventDetail } from \"./ic-tab.types\";\nimport {\n IcThemeForegroundNoDefault,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot icon - Content will be rendered next to the tab label.\n */\n@Component({\n tag: \"ic-tab\",\n styleUrl: \"ic-tab.css\",\n shadow: true,\n})\nexport class Tab {\n @Element() host: HTMLIcTabElement;\n\n /** @internal The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel. */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n\n /** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */\n @Prop({ reflect: true }) selected?: boolean = false;\n\n /** @internal The shared ID between panel and tab. */\n @Prop({ reflect: true }) tabId?: string;\n\n /** @internal The position of the tab inside the tabs array in context. */\n @Prop() tabPosition?: number;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n /**\n * @internal Emitted when a tab is selected.\n */\n @Event() tabClick: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is focussed.\n */\n @Event() tabFocus: EventEmitter<IcTabClickEventDetail>;\n /**\n * @internal Emitted when a tab is dynamically created.\n */\n @Event() tabCreated: EventEmitter<HTMLIcTabElement>;\n\n /**\n * @internal Emitted when a tab is unmounted.\n */\n @Event() tabRemoved: EventEmitter<void>;\n\n private isInitialRender: boolean = true;\n private focusFromClick: boolean = false;\n private focusTabId: string;\n\n private handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n\n private handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n }\n };\n\n private handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a seperate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n\n /**\n * Sets focus on the tab.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.host) {\n this.host.focus();\n }\n }\n\n componentDidUpdate(): void {\n this.isInitialRender = false;\n }\n\n connectedCallback(): void {\n this.tabCreated.emit(this.host);\n }\n\n disconnectedCallback(): void {\n const tabContext = document.querySelector(\n `ic-tab-context[context-id=${this.contextId}]`\n ) as HTMLIcTabContextElement;\n if (tabContext) {\n tabContext.tabRemovedHandler(!!this.focusTabId);\n }\n }\n\n render() {\n const { disabled, selected, appearance } = this;\n return (\n <Host\n class={{\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"selected\"]: selected,\n [\"disabled\"]: disabled,\n }}\n role=\"tab\"\n aria-selected={selected ? \"true\" : \"false\"}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n onMouseDown={this.handleMouseDown}\n aria-disabled={disabled ? \"true\" : \"false\"}\n tabindex={this.selected ? 0 : -1}\n >\n {this.host.querySelector('[slot=\"icon\"]') && <slot name=\"icon\"></slot>}\n <ic-typography class=\"ic-tab-label\" variant=\"label\">\n <span>\n <slot></slot>\n </span>\n </ic-typography>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-tab.entry.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,+8HAA+8H;;MC0Bn9H,GAAG;;;;;;;IACN,mBAAc,GAAY,KAAK,CAAC;IAEhC,oBAAe,GAAY,IAAI,CAAC;IA2EhC,gBAAW,GAAG;MACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QACjB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,WAAW;OAC3B,CAAC,CAAC;MACH,IAAI,IAAI,CAAC,cAAc,EAAE;QACvB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;UACjB,KAAK,EAA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,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAChD,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,eAAe;QAC1C,CAAC,cAAc,GAAG,UAAU,KAAK,qBAAqB,CAAC,KAAK;QAC5D,CAAC,UAAU,GAAG,QAAQ;QACtB,CAAC,UAAU,GAAG,QAAQ;OACvB,EACD,IAAI,EAAC,KAAK,mBACK,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC1C,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,WAAW,EAAE,IAAI,CAAC,eAAe,mBAClB,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC1C,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,IAE/B,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,YAAM,IAAI,EAAC,MAAM,GAAQ,EACtE,qBAAe,KAAK,EAAC,cAAc,EAAC,OAAO,EAAC,OAAO,IACjD,gBACE,eAAa,CACR,CACO,CACX,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","./src/components/ic-tab/ic-tab.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --indicator-color: var(--ic-action-default);\n --focus-indicator: var(--ic-border-focus);\n --label-color: var(--ic-color-primary-text);\n --background-color-hover: var(--ic-action-default-bg-hover);\n --background-color-active: var(--ic-action-default-bg-active);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--label-color);\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--background-color-hover);\n}\n\n:host(:active) {\n background-color: var(--background-color-active);\n}\n\n:host(.ic-tab-light) {\n --indicator-initial-color: rgb(255 255 255 / 0%);\n --indicator-color: rgb(255 255 255 / 100%);\n --focus-indicator: var(--ic-border-focus);\n --label-color: white;\n --background-color-hover: var(--ic-action-dark-bg-hover);\n --background-color-active: var(--ic-action-dark-bg-active);\n}\n\n:host(.selected) {\n border-bottom: var(--ic-space-xxs) solid var(--indicator-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n:host(.selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n}\n\n.ic-tab-label {\n pointer-events: none;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.disabled) {\n color: GrayText;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n h,\n Method,\n} from \"@stencil/core\";\n\nimport { IcTabClickEventDetail } from \"./ic-tab.types\";\nimport {\n IcThemeForegroundNoDefault,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { removeDisabledFalse } from \"../../utils/helpers\";\n\n/**\n * @slot icon - Content will be rendered next to the tab label.\n */\n@Component({\n tag: \"ic-tab\",\n styleUrl: \"ic-tab.css\",\n shadow: true,\n})\nexport class Tab {\n private focusFromClick: boolean = false;\n private focusTabId: string;\n private isInitialRender: boolean = true;\n\n @Element() host: HTMLIcTabElement;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n /** @internal The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel. */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n\n /** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */\n @Prop({ reflect: true }) selected?: boolean = false;\n\n /** @internal The shared ID between panel and tab. */\n @Prop({ reflect: true }) tabId?: string;\n\n /** @internal The position of the tab inside the tabs array in context. */\n @Prop() tabPosition?: number;\n\n /**\n * @internal Emitted when a tab is selected.\n */\n @Event() tabClick: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is dynamically created.\n */\n @Event() tabCreated: EventEmitter<HTMLIcTabElement>;\n\n /**\n * @internal Emitted when a tab is focussed.\n */\n @Event() tabFocus: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is unmounted.\n */\n @Event() tabRemoved: EventEmitter<void>;\n\n connectedCallback(): void {\n this.tabCreated.emit(this.host);\n }\n\n disconnectedCallback(): void {\n const tabContext = document.querySelector(\n `ic-tab-context[context-id=${this.contextId}]`\n ) as HTMLIcTabContextElement;\n if (tabContext) {\n tabContext.tabRemovedHandler(!!this.focusTabId);\n }\n }\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.host);\n }\n\n componentDidUpdate(): void {\n this.isInitialRender = false;\n }\n\n /**\n * Sets focus on the tab.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.host) {\n this.host.focus();\n }\n }\n\n private handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n\n private handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n }\n };\n\n private handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a seperate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n\n render() {\n const { disabled, selected, appearance } = this;\n return (\n <Host\n class={{\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"selected\"]: selected,\n [\"disabled\"]: disabled,\n }}\n role=\"tab\"\n aria-selected={selected ? \"true\" : \"false\"}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n onMouseDown={this.handleMouseDown}\n aria-disabled={disabled ? \"true\" : \"false\"}\n tabindex={this.selected ? 0 : -1}\n >\n {this.host.querySelector('[slot=\"icon\"]') && <slot name=\"icon\"></slot>}\n <ic-typography class=\"ic-tab-label\" variant=\"label\">\n <span>\n <slot></slot>\n </span>\n </ic-typography>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,19 +1,19 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3b144b17.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a77644e1.js';
2
2
  import { a as IcInformationStatus } from './types-dd515332.js';
3
- import { J as debounceEvent, m as inheritAttributes, d as addFormResetListener, a as onComponentRequiredPropUndefined, r as removeFormResetListener, h as getInputDescribedByText, e as renderHiddenInput, i as isSlotUsed, K as isEmptyString, n as IC_INHERITED_ARIA } from './helpers-73666f14.js';
3
+ import { K as debounceEvent, e as removeFormResetListener, n as inheritAttributes, d as addFormResetListener, r as removeDisabledFalse, a as onComponentRequiredPropUndefined, j as getInputDescribedByText, f as renderHiddenInput, i as isSlotUsed, L as isEmptyString, p as IC_INHERITED_ARIA } from './helpers-c4e378c4.js';
4
4
 
5
- const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host(.fullwidth){width:100%}::-moz-placeholder{color:var(--ic-color-tertiary-text);opacity:1}::placeholder{color:var(--ic-color-tertiary-text);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-primary-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.maxlengthtext{color:var(--ic-color-secondary-text)}.error{color:var(--ic-status-error)}.disabled{color:var(--ic-architectural-200)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.charcount{margin-right:calc(-1 * var(--ic-space-xxxs))}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
5
+ const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host(.fullwidth){width:100%}::-moz-placeholder{color:var(--ic-color-tertiary-text);opacity:1}::placeholder{color:var(--ic-color-tertiary-text);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-primary-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.maxlengthtext{color:var(--ic-color-secondary-text)}.disabled{color:var(--ic-architectural-200)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.charcount{margin-right:calc(-1 * var(--ic-space-xxxs))}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
6
6
 
7
7
  let inputIds = 0;
8
8
  const TextField = class {
9
9
  constructor(hostRef) {
10
10
  registerInstance(this, hostRef);
11
- this.icKeydown = createEvent(this, "icKeydown", 7);
12
- this.icInput = createEvent(this, "icInput", 7);
11
+ this.getValidationText = createEvent(this, "getValidationText", 7);
13
12
  this.icBlur = createEvent(this, "icBlur", 7);
14
- this.icFocus = createEvent(this, "icFocus", 7);
15
13
  this.icChange = createEvent(this, "icChange", 7);
16
- this.getValidationText = createEvent(this, "getValidationText", 7);
14
+ this.icFocus = createEvent(this, "icFocus", 7);
15
+ this.icInput = createEvent(this, "icInput", 7);
16
+ this.icKeydown = createEvent(this, "icKeydown", 7);
17
17
  this.inheritedAttributes = {};
18
18
  this.showLeftIcon = this.hasLeftIconSlot();
19
19
  this.onInput = (ev) => {
@@ -45,46 +45,46 @@ const TextField = class {
45
45
  this.handleFormReset = () => {
46
46
  this.value = this.initialValue;
47
47
  };
48
- this.inputId = `ic-text-field-input-${inputIds++}`;
49
- this.label = undefined;
50
- this.required = false;
51
- this.disabled = false;
52
- this.readonly = false;
53
- this.placeholder = "";
54
- this.fullWidth = false;
55
- this.hideLabel = false;
56
- this.helperText = "";
57
- this.rows = 1;
58
- this.resize = false;
59
- this.small = false;
60
- this.value = "";
61
- this.min = undefined;
62
- this.max = undefined;
63
- this.maxLength = 0;
64
- this.validationStatus = "";
65
- this.validationText = "";
66
- this.validationInline = false;
67
- this.validationInlineInternal = false;
48
+ this.numChars = 0;
49
+ this.maxLengthExceeded = false;
50
+ this.maxValueExceeded = false;
51
+ this.minValueUnattained = false;
52
+ this.ariaActiveDescendant = undefined;
53
+ this.ariaAutocomplete = undefined;
54
+ this.ariaExpanded = undefined;
55
+ this.ariaOwns = undefined;
68
56
  this.autocapitalize = "off";
69
57
  this.autocomplete = "off";
70
58
  this.autocorrect = "off";
71
59
  this.autoFocus = false;
72
- this.debounce = 0;
73
- this.type = "text";
60
+ this.disabled = false;
61
+ this.fullWidth = false;
62
+ this.helperText = "";
63
+ this.hideLabel = false;
64
+ this.hiddenInput = true;
65
+ this.inputId = `ic-text-field-input-${inputIds++}`;
74
66
  this.inputmode = "text";
67
+ this.label = undefined;
68
+ this.max = undefined;
69
+ this.maxLength = 0;
70
+ this.min = undefined;
75
71
  this.name = this.inputId;
72
+ this.placeholder = "";
73
+ this.readonly = false;
74
+ this.required = false;
75
+ this.resize = false;
76
+ this.role = undefined;
77
+ this.rows = 1;
78
+ this.small = false;
76
79
  this.spellcheck = false;
77
- this.ariaActiveDescendant = undefined;
78
80
  this.truncateValue = undefined;
79
- this.ariaExpanded = undefined;
80
- this.ariaOwns = undefined;
81
- this.ariaAutocomplete = undefined;
82
- this.role = undefined;
83
- this.hiddenInput = true;
84
- this.numChars = 0;
85
- this.maxLengthExceeded = false;
86
- this.minValueUnattained = false;
87
- this.maxValueExceeded = false;
81
+ this.type = "text";
82
+ this.validationInline = false;
83
+ this.validationInlineInternal = false;
84
+ this.validationStatus = "";
85
+ this.validationText = "";
86
+ this.debounce = 0;
87
+ this.value = "";
88
88
  this.initialValue = this.value;
89
89
  }
90
90
  debounceChanged() {
@@ -119,26 +119,12 @@ const TextField = class {
119
119
  }
120
120
  this.icChange.emit({ value: newValue });
121
121
  }
122
- /**
123
- * Sets focus on the native `input`.
124
- */
125
- async setFocus() {
126
- if (this.inputEl) {
127
- this.inputEl.focus();
128
- }
129
- }
130
- //stop keydown event bubbling up to storybook
131
- handleKeyDown(ev) {
132
- this.icKeydown.emit({ event: ev });
133
- ev.cancelBubble = true;
134
- }
135
- hasLeftIconSlot() {
136
- const iconEl = this.el.querySelector(`[slot="icon"]`);
137
- return iconEl !== null;
138
- }
139
122
  connectedCallback() {
140
123
  this.debounceChanged();
141
124
  }
125
+ disconnectedCallback() {
126
+ removeFormResetListener(this.el, this.handleFormReset);
127
+ }
142
128
  componentWillLoad() {
143
129
  this.watchValueHandler(this.value);
144
130
  this.inheritedAttributes = inheritAttributes(this.el, [
@@ -153,6 +139,7 @@ const TextField = class {
153
139
  this.minValueUnattained = false;
154
140
  }
155
141
  addFormResetListener(this.el, this.handleFormReset);
142
+ removeDisabledFalse(this.disabled, this.el);
156
143
  }
157
144
  componentDidLoad() {
158
145
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
@@ -160,8 +147,20 @@ const TextField = class {
160
147
  this.getInlineValidationText();
161
148
  }
162
149
  }
163
- disconnectedCallback() {
164
- removeFormResetListener(this.el, this.handleFormReset);
150
+ handleKeyDown(ev) {
151
+ this.icKeydown.emit({ event: ev });
152
+ }
153
+ /**
154
+ * Sets focus on the native `input`.
155
+ */
156
+ async setFocus() {
157
+ if (this.inputEl) {
158
+ this.inputEl.focus();
159
+ }
160
+ }
161
+ hasLeftIconSlot() {
162
+ const iconEl = this.el.querySelector(`[slot="icon"]`);
163
+ return iconEl !== null;
165
164
  }
166
165
  render() {
167
166
  const { inputId, name, label, required, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
@@ -1 +1 @@
1
- {"file":"ic-text-field.entry.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,8/HAA8/H;;ACuCrhI,IAAI,QAAQ,GAAG,CAAC,CAAC;MAUJ,SAAS;;;;;;;;;IAIZ,wBAAmB,GAA6B,EAAE,CAAC;IAsInD,iBAAY,GAAY,IAAI,CAAC,eAAe,EAAE,CAAC;IA8H/C,YAAO,GAAG,CAAC,EAAS;MAC1B,IAAI,CAAC,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAC;MACnD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;KAC1C,CAAC;IAMM,WAAM,GAAG,CAAC,EAAS;MACzB,MAAM,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAC;MACpD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;KACpC,CAAC;IAMM,YAAO,GAAG,CAAC,EAAS;MAC1B,MAAM,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAC;MACpD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;KACrC,CAAC;IAOM,eAAU,GAAG;MACnB,OAAO,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;KACtB,CAAC;IAOM,4BAAuB,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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.error {\n color: var(--ic-status-error);\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\";\n\nimport {\n IcAutocompleteTypes,\n IcAutocorrectStates,\n IcInformationStatusOrEmpty,\n IcValueEventDetail,\n} from \"../../interface\";\nimport { IcInformationStatus } from \"../../utils/types\";\nimport {\n inheritAttributes,\n debounceEvent,\n getInputDescribedByText,\n renderHiddenInput,\n isEmptyString,\n onComponentRequiredPropUndefined,\n addFormResetListener,\n removeFormResetListener,\n isSlotUsed,\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 //stop keydown event bubbling up to storybook\n @Listen(\"keydown\", {})\n handleKeyDown(ev: KeyboardEvent): void {\n this.icKeydown.emit({ event: ev });\n ev.cancelBubble = true;\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\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-validation>\n )}\n </ic-input-container>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-text-field.entry.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,09HAA09H;;ACuCj/H,IAAI,QAAQ,GAAG,CAAC,CAAC;MAUJ,SAAS;;;;;;;;;IACZ,wBAAmB,GAA6B,EAAE,CAAC;IAEnD,iBAAY,GAAY,IAAI,CAAC,eAAe,EAAE,CAAC;IAgU/C,YAAO,GAAG,CAAC,EAAS;MAC1B,IAAI,CAAC,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAC;MACnD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;KAC1C,CAAC;IAEM,WAAM,GAAG,CAAC,EAAS;MACzB,MAAM,KAAK,GAAI,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAC;MACpD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;KACpC,CAAC;IAEM,YAAO,GAAG,CA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,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 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,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-3b144b17.js';
2
- import { B as getThemeColorBrightness, C as BLACK_MIN_COLOR_BRIGHTNESS, W as WHITE_MAX_COLOR_BRIGHTNESS, E as hexToRgba, F as rgbaStrToObj, k as getThemeForegroundColor } from './helpers-73666f14.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-a77644e1.js';
2
+ import { C as getThemeColorBrightness, E as BLACK_MIN_COLOR_BRIGHTNESS, W as WHITE_MAX_COLOR_BRIGHTNESS, F as hexToRgba, G as rgbaStrToObj, l as getThemeForegroundColor } from './helpers-c4e378c4.js';
3
3
  import './types-dd515332.js';
4
4
 
5
5
  const Theme = class {
@@ -1 +1 @@
1
- {"file":"ic-theme.entry.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.entry.js","mappings":";;;;MA0Ba,KAAK;;;;IAoBR,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,IAA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"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}
@@ -1,22 +1,10 @@
1
- import { r as registerInstance, h, g as getElement } from './index-3b144b17.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-a77644e1.js';
2
2
 
3
3
  const ToastRegion = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.pendingVisibility = [];
7
7
  }
8
- /**
9
- * Handles setting the visibility of various toasts based on what is already visible
10
- * @param toast The toast element being requested to display
11
- */
12
- async setVisible(toast) {
13
- const visibleToasts = Array.from(document.querySelectorAll("ic-toast")).filter((el) => window.getComputedStyle(el).display !== "none");
14
- if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {
15
- toast.setVisible().then((res) => (this.previouslyFocused = res));
16
- }
17
- if (visibleToasts.length > 0)
18
- this.pendingVisibility.push(toast);
19
- }
20
8
  handleDismissedToast() {
21
9
  var _a;
22
10
  if (this.pendingVisibility.length > 0) {
@@ -33,6 +21,18 @@ const ToastRegion = class {
33
21
  (_a = this.previouslyFocused) === null || _a === void 0 ? void 0 : _a.focus();
34
22
  }
35
23
  }
24
+ /**
25
+ * Handles setting the visibility of various toasts based on what is already visible
26
+ * @param toast The toast element being requested to display
27
+ */
28
+ async setVisible(toast) {
29
+ const visibleToasts = Array.from(document.querySelectorAll("ic-toast")).filter((el) => window.getComputedStyle(el).display !== "none");
30
+ if (visibleToasts.indexOf(toast) === -1 && visibleToasts.length <= 0) {
31
+ toast.setVisible().then((res) => (this.previouslyFocused = res));
32
+ }
33
+ if (visibleToasts.length > 0)
34
+ this.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AC;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}
1
+ {"file":"ic-toast-region.entry.js","mappings":";;MAIa,WAAW;EADxB;;IAEU,sBAAiB,GAAyB,EAAE,CAAC;GAqCtD;EA/BC,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;;;;;EAOD,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;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 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}