@ukic/canary-web-components 2.0.0-canary.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1298) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +162 -0
  3. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  4. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  5. package/dist/cjs/check-icon-b2f60716.js +10 -0
  6. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  7. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  8. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  9. package/dist/cjs/close-icon-8ccb0163.js +12 -0
  10. package/dist/cjs/close-icon-8ccb0163.js.map +1 -0
  11. package/dist/cjs/core.cjs.js +28 -0
  12. package/dist/cjs/core.cjs.js.map +1 -0
  13. package/dist/cjs/helpers-3811d14b.js +599 -0
  14. package/dist/cjs/helpers-3811d14b.js.map +1 -0
  15. package/dist/cjs/ic-alert.cjs.entry.js +73 -0
  16. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -0
  17. package/dist/cjs/ic-back-to-top.cjs.entry.js +145 -0
  18. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -0
  19. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +188 -0
  20. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -0
  21. package/dist/cjs/ic-breadcrumb.cjs.entry.js +74 -0
  22. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -0
  23. package/dist/cjs/ic-button_3.cjs.entry.js +560 -0
  24. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -0
  25. package/dist/cjs/ic-card.cjs.entry.js +126 -0
  26. package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js +69 -0
  28. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-checkbox.cjs.entry.js +114 -0
  30. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -0
  31. package/dist/cjs/ic-chip.cjs.entry.js +80 -0
  32. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  33. package/dist/cjs/ic-classification-banner.cjs.entry.js +42 -0
  34. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ic-data-entity.cjs.entry.js +31 -0
  36. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
  37. package/dist/cjs/ic-data-row.cjs.entry.js +91 -0
  38. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -0
  39. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  40. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  41. package/dist/cjs/ic-divider.cjs.entry.js +30 -0
  42. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-footer-link-group.cjs.entry.js +71 -0
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -0
  45. package/dist/cjs/ic-footer-link.cjs.entry.js +67 -0
  46. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-footer.cjs.entry.js +90 -0
  48. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -0
  49. package/dist/cjs/ic-hero.cjs.entry.js +75 -0
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -0
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +177 -0
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  53. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +699 -0
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-input-label_2.cjs.entry.js +85 -0
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-link.cjs.entry.js +76 -0
  58. package/dist/cjs/ic-link.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  60. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  63. package/dist/cjs/ic-navigation-button.cjs.entry.js +88 -0
  64. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -0
  65. package/dist/cjs/ic-navigation-group.cjs.entry.js +289 -0
  66. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -0
  67. package/dist/cjs/ic-navigation-item.cjs.entry.js +154 -0
  68. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-navigation-menu.cjs.entry.js +124 -0
  70. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -0
  71. package/dist/cjs/ic-page-header.cjs.entry.js +105 -0
  72. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -0
  73. package/dist/cjs/ic-pagination-bar.cjs.entry.js +270 -0
  74. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -0
  75. package/dist/cjs/ic-pagination_4.cjs.entry.js +1115 -0
  76. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -0
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +130 -0
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -0
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +141 -0
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -0
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +493 -0
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -0
  85. package/dist/cjs/ic-section-container.cjs.entry.js +29 -0
  86. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -0
  87. package/dist/cjs/ic-side-navigation.cjs.entry.js +435 -0
  88. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -0
  89. package/dist/cjs/ic-skeleton.cjs.entry.js +59 -0
  90. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -0
  91. package/dist/cjs/ic-status-tag.cjs.entry.js +36 -0
  92. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ic-step.cjs.entry.js +140 -0
  94. package/dist/cjs/ic-step.cjs.entry.js.map +1 -0
  95. package/dist/cjs/ic-stepper.cjs.entry.js +221 -0
  96. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ic-switch.cjs.entry.js +86 -0
  98. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -0
  99. package/dist/cjs/ic-tab-context.cjs.entry.js +269 -0
  100. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ic-tab-group.cjs.entry.js +38 -0
  102. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -0
  103. package/dist/cjs/ic-tab-panel.cjs.entry.js +44 -0
  104. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ic-tab.cjs.entry.js +103 -0
  106. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ic-theme.cjs.entry.js +62 -0
  108. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -0
  109. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  110. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  111. package/dist/cjs/ic-toast.cjs.entry.js +169 -0
  112. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  113. package/dist/cjs/ic-top-navigation.cjs.entry.js +217 -0
  114. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -0
  115. package/dist/cjs/ic-typography.cjs.entry.js +128 -0
  116. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -0
  117. package/dist/cjs/ic-unstable-data-table.cjs.entry.js +271 -0
  118. package/dist/cjs/ic-unstable-data-table.cjs.entry.js.map +1 -0
  119. package/dist/cjs/index-4f4d2b43.js +2689 -0
  120. package/dist/cjs/index-4f4d2b43.js.map +1 -0
  121. package/dist/cjs/index.cjs.js +4 -0
  122. package/dist/cjs/index.cjs.js.map +1 -0
  123. package/dist/cjs/loader.cjs.js +24 -0
  124. package/dist/cjs/loader.cjs.js.map +1 -0
  125. package/dist/cjs/popper-d7adcfc6.js +1796 -0
  126. package/dist/cjs/popper-d7adcfc6.js.map +1 -0
  127. package/dist/cjs/types-3eb02246.js +16 -0
  128. package/dist/cjs/types-3eb02246.js.map +1 -0
  129. package/dist/collection/assets/OpenInNew.svg +1 -0
  130. package/dist/collection/assets/back-icon.svg +3 -0
  131. package/dist/collection/assets/check-icon.svg +3 -0
  132. package/dist/collection/assets/chevron-icon.svg +3 -0
  133. package/dist/collection/assets/clear-icon.svg +3 -0
  134. package/dist/collection/assets/close-icon.svg +5 -0
  135. package/dist/collection/assets/dismiss-icon.svg +3 -0
  136. package/dist/collection/assets/error-icon.svg +6 -0
  137. package/dist/collection/assets/hamburger-menu-icon.svg +5 -0
  138. package/dist/collection/assets/info-icon.svg +6 -0
  139. package/dist/collection/assets/neutral-icon.svg +6 -0
  140. package/dist/collection/assets/pagination-first-last.svg +3 -0
  141. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  142. package/dist/collection/assets/search-icon.svg +3 -0
  143. package/dist/collection/assets/success-icon.svg +6 -0
  144. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  145. package/dist/collection/assets/warning-icon.svg +6 -0
  146. package/dist/collection/collection-manifest.json +71 -0
  147. package/dist/collection/components/ic-alert/ic-alert.css +616 -0
  148. package/dist/collection/components/ic-alert/ic-alert.js +243 -0
  149. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -0
  150. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +11 -0
  151. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  152. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  153. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  154. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  155. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  156. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +3 -0
  157. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +542 -0
  158. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +171 -0
  159. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -0
  160. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +28 -0
  161. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  162. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  163. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  164. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  165. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  166. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +100 -0
  167. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +166 -0
  168. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -0
  169. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +2 -0
  170. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +1 -0
  171. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  172. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  173. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +36 -0
  174. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +234 -0
  175. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -0
  176. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +21 -0
  177. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  178. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +35 -0
  179. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  180. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  181. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  182. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  183. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  184. package/dist/collection/components/ic-button/ic-button.css +871 -0
  185. package/dist/collection/components/ic-button/ic-button.js +727 -0
  186. package/dist/collection/components/ic-button/ic-button.js.map +1 -0
  187. package/dist/collection/components/ic-button/ic-button.types.js +2 -0
  188. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -0
  189. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +11 -0
  190. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  191. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
  192. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  193. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
  194. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  195. package/dist/collection/components/ic-card/ic-card.css +620 -0
  196. package/dist/collection/components/ic-card/ic-card.js +400 -0
  197. package/dist/collection/components/ic-card/ic-card.js.map +1 -0
  198. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +21 -0
  199. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  200. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  201. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  202. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  203. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  204. package/dist/collection/components/ic-checkbox/ic-checkbox.css +675 -0
  205. package/dist/collection/components/ic-checkbox/ic-checkbox.js +386 -0
  206. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -0
  207. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +482 -0
  208. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +295 -0
  209. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -0
  210. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +2 -0
  211. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -0
  212. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +16 -0
  213. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  214. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  215. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  216. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +203 -0
  217. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  218. package/dist/collection/components/ic-chip/ic-chip.css +597 -0
  219. package/dist/collection/components/ic-chip/ic-chip.js +250 -0
  220. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  221. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  222. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  223. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +11 -0
  224. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  225. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  226. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  227. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +504 -0
  228. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +141 -0
  229. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -0
  230. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +2 -0
  231. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +1 -0
  232. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +11 -0
  233. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  235. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  236. package/dist/collection/components/ic-data-entity/ic-data-entity.css +474 -0
  237. package/dist/collection/components/ic-data-entity/ic-data-entity.js +70 -0
  238. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -0
  239. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +11 -0
  240. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  241. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  242. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  243. package/dist/collection/components/ic-data-row/ic-data-row.css +525 -0
  244. package/dist/collection/components/ic-data-row/ic-data-row.js +157 -0
  245. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -0
  246. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +18 -0
  247. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  248. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
  249. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  250. package/dist/collection/components/ic-data-table/assets/ascending-icon.svg +3 -0
  251. package/dist/collection/components/ic-data-table/assets/descending-icon.svg +3 -0
  252. package/dist/collection/components/ic-data-table/assets/unsorted-icon.svg +3 -0
  253. package/dist/collection/components/ic-data-table/ic-data-table.css +214 -0
  254. package/dist/collection/components/ic-data-table/ic-data-table.js +533 -0
  255. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -0
  256. package/dist/collection/components/ic-data-table/ic-data-table.types.js +2 -0
  257. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -0
  258. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +28 -0
  259. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -0
  260. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +466 -0
  261. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -0
  262. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  263. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  264. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  265. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  266. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  267. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
  268. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  269. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  270. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  271. package/dist/collection/components/ic-divider/ic-divider.css +11 -0
  272. package/dist/collection/components/ic-divider/ic-divider.js +44 -0
  273. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -0
  274. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  275. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  276. package/dist/collection/components/ic-footer/ic-footer.css +543 -0
  277. package/dist/collection/components/ic-footer/ic-footer.js +252 -0
  278. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -0
  279. package/dist/collection/components/ic-footer/ic-footer.types.js +2 -0
  280. package/dist/collection/components/ic-footer/ic-footer.types.js.map +1 -0
  281. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +21 -0
  282. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  283. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  284. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  285. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  286. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  287. package/dist/collection/components/ic-footer-link/ic-footer-link.css +612 -0
  288. package/dist/collection/components/ic-footer-link/ic-footer-link.js +200 -0
  289. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -0
  290. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +21 -0
  291. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  292. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  293. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  294. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +522 -0
  295. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +114 -0
  296. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -0
  297. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +21 -0
  298. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  299. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  300. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  301. package/dist/collection/components/ic-hero/ic-hero.css +726 -0
  302. package/dist/collection/components/ic-hero/ic-hero.js +275 -0
  303. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -0
  304. package/dist/collection/components/ic-hero/ic-hero.types.js +2 -0
  305. package/dist/collection/components/ic-hero/ic-hero.types.js.map +1 -0
  306. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +11 -0
  307. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  308. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  309. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  310. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  311. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  312. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +535 -0
  313. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +232 -0
  314. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  315. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +34 -0
  316. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  317. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  318. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  319. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +166 -0
  320. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +208 -0
  321. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -0
  322. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  323. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  324. package/dist/collection/components/ic-input-container/ic-input-container.css +4 -0
  325. package/dist/collection/components/ic-input-container/ic-input-container.js +66 -0
  326. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -0
  327. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  328. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  329. package/dist/collection/components/ic-input-label/ic-input-label.css +35 -0
  330. package/dist/collection/components/ic-input-label/ic-input-label.js +194 -0
  331. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -0
  332. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  333. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  334. package/dist/collection/components/ic-input-validation/ic-input-validation.css +34 -0
  335. package/dist/collection/components/ic-input-validation/ic-input-validation.js +152 -0
  336. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -0
  337. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +2 -0
  338. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +1 -0
  339. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  340. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  341. package/dist/collection/components/ic-link/ic-link.css +558 -0
  342. package/dist/collection/components/ic-link/ic-link.js +264 -0
  343. package/dist/collection/components/ic-link/ic-link.js.map +1 -0
  344. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +11 -0
  345. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  346. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  347. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  348. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +663 -0
  349. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +423 -0
  350. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -0
  351. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +2 -0
  352. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -0
  353. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +11 -0
  354. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  355. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  356. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  357. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  358. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  359. package/dist/collection/components/ic-menu/ic-menu.css +629 -0
  360. package/dist/collection/components/ic-menu/ic-menu.js +1150 -0
  361. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -0
  362. package/dist/collection/components/ic-menu/ic-menu.types.js +2 -0
  363. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -0
  364. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
  365. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  366. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  367. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  368. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  369. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  370. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  371. package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
  372. package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
  373. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  374. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  375. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  376. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
  377. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  378. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +456 -0
  379. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +267 -0
  380. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -0
  381. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +2 -0
  382. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +1 -0
  383. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  384. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  385. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +646 -0
  386. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +379 -0
  387. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -0
  388. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +18 -0
  389. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  390. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  391. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  392. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +1028 -0
  393. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +444 -0
  394. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -0
  395. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +18 -0
  396. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  397. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  398. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  399. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +92 -0
  400. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +202 -0
  401. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -0
  402. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  403. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  404. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  405. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  406. package/dist/collection/components/ic-page-header/ic-page-header.css +582 -0
  407. package/dist/collection/components/ic-page-header/ic-page-header.js +272 -0
  408. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -0
  409. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +13 -0
  410. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  411. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  412. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  413. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  414. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  415. package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
  416. package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
  417. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  418. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  419. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  420. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
  421. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  422. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  423. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  424. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
  425. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  426. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +107 -0
  427. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +539 -0
  428. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -0
  429. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +11 -0
  430. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -0
  431. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +415 -0
  432. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -0
  433. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  434. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
  435. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  436. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  437. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  438. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
  439. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
  440. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  441. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
  442. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  443. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  444. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  445. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
  446. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  447. package/dist/collection/components/ic-radio-group/ic-radio-group.css +486 -0
  448. package/dist/collection/components/ic-radio-group/ic-radio-group.js +363 -0
  449. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -0
  450. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  451. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  452. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +16 -0
  453. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  454. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  455. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  456. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  457. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  458. package/dist/collection/components/ic-radio-option/ic-radio-option.css +654 -0
  459. package/dist/collection/components/ic-radio-option/ic-radio-option.js +384 -0
  460. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -0
  461. package/dist/collection/components/ic-search-bar/ic-search-bar.css +560 -0
  462. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1318 -0
  463. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -0
  464. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +2 -0
  465. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -0
  466. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +11 -0
  467. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  468. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1118 -0
  469. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  470. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
  471. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  472. package/dist/collection/components/ic-section-container/ic-section-container.css +514 -0
  473. package/dist/collection/components/ic-section-container/ic-section-container.js +74 -0
  474. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -0
  475. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  476. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  477. package/dist/collection/components/ic-select/assets/Check.svg +3 -0
  478. package/dist/collection/components/ic-select/assets/Clear.svg +3 -0
  479. package/dist/collection/components/ic-select/assets/Expand.svg +3 -0
  480. package/dist/collection/components/ic-select/ic-select.css +670 -0
  481. package/dist/collection/components/ic-select/ic-select.js +1285 -0
  482. package/dist/collection/components/ic-select/ic-select.js.map +1 -0
  483. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +28 -0
  484. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  485. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
  486. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  487. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
  488. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  489. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +635 -0
  490. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +638 -0
  491. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -0
  492. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +2 -0
  493. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -0
  494. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +14 -0
  495. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  496. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +411 -0
  497. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  498. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +432 -0
  499. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  500. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  501. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  502. package/dist/collection/components/ic-skeleton/ic-skeleton.css +503 -0
  503. package/dist/collection/components/ic-skeleton/ic-skeleton.js +112 -0
  504. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -0
  505. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +2 -0
  506. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +1 -0
  507. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +11 -0
  508. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  509. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  510. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  511. package/dist/collection/components/ic-status-tag/ic-status-tag.css +504 -0
  512. package/dist/collection/components/ic-status-tag/ic-status-tag.js +138 -0
  513. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -0
  514. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +2 -0
  515. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -0
  516. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +11 -0
  517. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  518. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  519. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  520. package/dist/collection/components/ic-step/ic-step.css +278 -0
  521. package/dist/collection/components/ic-step/ic-step.js +394 -0
  522. package/dist/collection/components/ic-step/ic-step.js.map +1 -0
  523. package/dist/collection/components/ic-step/ic-step.types.js +2 -0
  524. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -0
  525. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  526. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  527. package/dist/collection/components/ic-stepper/ic-stepper.css +28 -0
  528. package/dist/collection/components/ic-stepper/ic-stepper.js +317 -0
  529. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -0
  530. package/dist/collection/components/ic-stepper/ic-stepper.types.js +2 -0
  531. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +1 -0
  532. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +36 -0
  533. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  534. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +74 -0
  535. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  536. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  537. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  538. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  539. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  540. package/dist/collection/components/ic-switch/ic-switch.css +656 -0
  541. package/dist/collection/components/ic-switch/ic-switch.js +329 -0
  542. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -0
  543. package/dist/collection/components/ic-switch/ic-switch.types.js +2 -0
  544. package/dist/collection/components/ic-switch/ic-switch.types.js.map +1 -0
  545. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +11 -0
  546. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  547. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  548. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  549. package/dist/collection/components/ic-tab/ic-tab.css +521 -0
  550. package/dist/collection/components/ic-tab/ic-tab.js +361 -0
  551. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -0
  552. package/dist/collection/components/ic-tab/ic-tab.types.js +2 -0
  553. package/dist/collection/components/ic-tab/ic-tab.types.js.map +1 -0
  554. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  555. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  556. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  557. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  558. package/dist/collection/components/ic-tab-context/ic-tab-context.js +451 -0
  559. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -0
  560. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +19 -0
  561. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  562. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  563. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  564. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
  565. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  566. package/dist/collection/components/ic-tab-group/ic-tab-group.css +25 -0
  567. package/dist/collection/components/ic-tab-group/ic-tab-group.js +124 -0
  568. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -0
  569. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +7 -0
  570. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +196 -0
  571. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -0
  572. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  573. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  574. package/dist/collection/components/ic-text-field/ic-text-field.css +558 -0
  575. package/dist/collection/components/ic-text-field/ic-text-field.js +1107 -0
  576. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -0
  577. package/dist/collection/components/ic-text-field/ic-text-field.types.js +2 -0
  578. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +1 -0
  579. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +33 -0
  580. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  581. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  582. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  583. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  584. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  585. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  586. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  587. package/dist/collection/components/ic-theme/ic-theme.js +106 -0
  588. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -0
  589. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  590. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  591. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  592. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  593. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  594. package/dist/collection/components/ic-toast/ic-toast.js +386 -0
  595. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  596. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  597. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  598. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +16 -0
  599. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  600. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  601. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  602. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  603. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  604. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  605. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  606. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  607. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  608. package/dist/collection/components/ic-tooltip/ic-tooltip.css +563 -0
  609. package/dist/collection/components/ic-tooltip/ic-tooltip.js +294 -0
  610. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -0
  611. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +2 -0
  612. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +1 -0
  613. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +15 -0
  614. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  615. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
  616. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  617. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
  618. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  619. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +737 -0
  620. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +439 -0
  621. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -0
  622. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +30 -0
  623. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  624. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
  625. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  626. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  627. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  628. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
  629. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  630. package/dist/collection/components/ic-typography/ic-typography.css +627 -0
  631. package/dist/collection/components/ic-typography/ic-typography.js +271 -0
  632. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -0
  633. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +11 -0
  634. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  635. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
  636. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  637. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +324 -0
  638. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  639. package/dist/collection/index.js +2 -0
  640. package/dist/collection/index.js.map +1 -0
  641. package/dist/collection/normalize.css +440 -0
  642. package/dist/collection/testspec.setup.js +63 -0
  643. package/dist/collection/testspec.setup.js.map +1 -0
  644. package/dist/collection/utils/constants.js +81 -0
  645. package/dist/collection/utils/constants.js.map +1 -0
  646. package/dist/collection/utils/helpers.js +433 -0
  647. package/dist/collection/utils/helpers.js.map +1 -0
  648. package/dist/collection/utils/testa11y.helpers.js +8 -0
  649. package/dist/collection/utils/testa11y.helpers.js.map +1 -0
  650. package/dist/collection/utils/types.js +13 -0
  651. package/dist/collection/utils/types.js.map +1 -0
  652. package/dist/components/OpenInNew.js +5 -0
  653. package/dist/components/OpenInNew.js.map +1 -0
  654. package/dist/components/check-icon.js +8 -0
  655. package/dist/components/check-icon.js.map +1 -0
  656. package/dist/components/chevron-icon.js +8 -0
  657. package/dist/components/chevron-icon.js.map +1 -0
  658. package/dist/components/close-icon.js +10 -0
  659. package/dist/components/close-icon.js.map +1 -0
  660. package/dist/components/helpers.js +552 -0
  661. package/dist/components/helpers.js.map +1 -0
  662. package/dist/components/ic-alert.d.ts +11 -0
  663. package/dist/components/ic-alert.js +8 -0
  664. package/dist/components/ic-alert.js.map +1 -0
  665. package/dist/components/ic-alert2.js +117 -0
  666. package/dist/components/ic-alert2.js.map +1 -0
  667. package/dist/components/ic-back-to-top.d.ts +11 -0
  668. package/dist/components/ic-back-to-top.js +169 -0
  669. package/dist/components/ic-back-to-top.js.map +1 -0
  670. package/dist/components/ic-breadcrumb-group.d.ts +11 -0
  671. package/dist/components/ic-breadcrumb-group.js +218 -0
  672. package/dist/components/ic-breadcrumb-group.js.map +1 -0
  673. package/dist/components/ic-breadcrumb.d.ts +11 -0
  674. package/dist/components/ic-breadcrumb.js +8 -0
  675. package/dist/components/ic-breadcrumb.js.map +1 -0
  676. package/dist/components/ic-breadcrumb2.js +96 -0
  677. package/dist/components/ic-breadcrumb2.js.map +1 -0
  678. package/dist/components/ic-button.d.ts +11 -0
  679. package/dist/components/ic-button.js +8 -0
  680. package/dist/components/ic-button.js.map +1 -0
  681. package/dist/components/ic-button2.js +284 -0
  682. package/dist/components/ic-button2.js.map +1 -0
  683. package/dist/components/ic-card.d.ts +11 -0
  684. package/dist/components/ic-card.js +183 -0
  685. package/dist/components/ic-card.js.map +1 -0
  686. package/dist/components/ic-checkbox-group.d.ts +11 -0
  687. package/dist/components/ic-checkbox-group.js +111 -0
  688. package/dist/components/ic-checkbox-group.js.map +1 -0
  689. package/dist/components/ic-checkbox.d.ts +11 -0
  690. package/dist/components/ic-checkbox.js +147 -0
  691. package/dist/components/ic-checkbox.js.map +1 -0
  692. package/dist/components/ic-chip.d.ts +11 -0
  693. package/dist/components/ic-chip.js +114 -0
  694. package/dist/components/ic-chip.js.map +1 -0
  695. package/dist/components/ic-classification-banner.d.ts +11 -0
  696. package/dist/components/ic-classification-banner.js +68 -0
  697. package/dist/components/ic-classification-banner.js.map +1 -0
  698. package/dist/components/ic-data-entity.d.ts +11 -0
  699. package/dist/components/ic-data-entity.js +54 -0
  700. package/dist/components/ic-data-entity.js.map +1 -0
  701. package/dist/components/ic-data-row.d.ts +11 -0
  702. package/dist/components/ic-data-row.js +116 -0
  703. package/dist/components/ic-data-row.js.map +1 -0
  704. package/dist/components/ic-dialog.d.ts +11 -0
  705. package/dist/components/ic-dialog.js +356 -0
  706. package/dist/components/ic-dialog.js.map +1 -0
  707. package/dist/components/ic-divider.d.ts +11 -0
  708. package/dist/components/ic-divider.js +8 -0
  709. package/dist/components/ic-divider.js.map +1 -0
  710. package/dist/components/ic-divider2.js +42 -0
  711. package/dist/components/ic-divider2.js.map +1 -0
  712. package/dist/components/ic-footer-link-group.d.ts +11 -0
  713. package/dist/components/ic-footer-link-group.js +102 -0
  714. package/dist/components/ic-footer-link-group.js.map +1 -0
  715. package/dist/components/ic-footer-link.d.ts +11 -0
  716. package/dist/components/ic-footer-link.js +90 -0
  717. package/dist/components/ic-footer-link.js.map +1 -0
  718. package/dist/components/ic-footer.d.ts +11 -0
  719. package/dist/components/ic-footer.js +125 -0
  720. package/dist/components/ic-footer.js.map +1 -0
  721. package/dist/components/ic-hero.d.ts +11 -0
  722. package/dist/components/ic-hero.js +115 -0
  723. package/dist/components/ic-hero.js.map +1 -0
  724. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  725. package/dist/components/ic-horizontal-scroll.js +8 -0
  726. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  727. package/dist/components/ic-horizontal-scroll2.js +218 -0
  728. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  729. package/dist/components/ic-input-component-container.d.ts +11 -0
  730. package/dist/components/ic-input-component-container.js +8 -0
  731. package/dist/components/ic-input-component-container.js.map +1 -0
  732. package/dist/components/ic-input-component-container2.js +71 -0
  733. package/dist/components/ic-input-component-container2.js.map +1 -0
  734. package/dist/components/ic-input-container.d.ts +11 -0
  735. package/dist/components/ic-input-container.js +8 -0
  736. package/dist/components/ic-input-container.js.map +1 -0
  737. package/dist/components/ic-input-container2.js +40 -0
  738. package/dist/components/ic-input-container2.js.map +1 -0
  739. package/dist/components/ic-input-label.d.ts +11 -0
  740. package/dist/components/ic-input-label.js +8 -0
  741. package/dist/components/ic-input-label.js.map +1 -0
  742. package/dist/components/ic-input-label2.js +74 -0
  743. package/dist/components/ic-input-label2.js.map +1 -0
  744. package/dist/components/ic-input-validation.d.ts +11 -0
  745. package/dist/components/ic-input-validation.js +8 -0
  746. package/dist/components/ic-input-validation.js.map +1 -0
  747. package/dist/components/ic-input-validation2.js +67 -0
  748. package/dist/components/ic-input-validation2.js.map +1 -0
  749. package/dist/components/ic-link.d.ts +11 -0
  750. package/dist/components/ic-link.js +8 -0
  751. package/dist/components/ic-link.js.map +1 -0
  752. package/dist/components/ic-link2.js +97 -0
  753. package/dist/components/ic-link2.js.map +1 -0
  754. package/dist/components/ic-loading-indicator.d.ts +11 -0
  755. package/dist/components/ic-loading-indicator.js +8 -0
  756. package/dist/components/ic-loading-indicator.js.map +1 -0
  757. package/dist/components/ic-loading-indicator2.js +226 -0
  758. package/dist/components/ic-loading-indicator2.js.map +1 -0
  759. package/dist/components/ic-menu-group.d.ts +11 -0
  760. package/dist/components/ic-menu-group.js +46 -0
  761. package/dist/components/ic-menu-group.js.map +1 -0
  762. package/dist/components/ic-menu-item.d.ts +11 -0
  763. package/dist/components/ic-menu-item.js +8 -0
  764. package/dist/components/ic-menu-item.js.map +1 -0
  765. package/dist/components/ic-menu-item2.js +169 -0
  766. package/dist/components/ic-menu-item2.js.map +1 -0
  767. package/dist/components/ic-menu.d.ts +11 -0
  768. package/dist/components/ic-menu.js +8 -0
  769. package/dist/components/ic-menu.js.map +1 -0
  770. package/dist/components/ic-menu2.js +692 -0
  771. package/dist/components/ic-menu2.js.map +1 -0
  772. package/dist/components/ic-navigation-button.d.ts +11 -0
  773. package/dist/components/ic-navigation-button.js +137 -0
  774. package/dist/components/ic-navigation-button.js.map +1 -0
  775. package/dist/components/ic-navigation-group.d.ts +11 -0
  776. package/dist/components/ic-navigation-group.js +319 -0
  777. package/dist/components/ic-navigation-group.js.map +1 -0
  778. package/dist/components/ic-navigation-item.d.ts +11 -0
  779. package/dist/components/ic-navigation-item.js +200 -0
  780. package/dist/components/ic-navigation-item.js.map +1 -0
  781. package/dist/components/ic-navigation-menu.d.ts +11 -0
  782. package/dist/components/ic-navigation-menu.js +8 -0
  783. package/dist/components/ic-navigation-menu.js.map +1 -0
  784. package/dist/components/ic-navigation-menu2.js +161 -0
  785. package/dist/components/ic-navigation-menu2.js.map +1 -0
  786. package/dist/components/ic-page-header.d.ts +11 -0
  787. package/dist/components/ic-page-header.js +166 -0
  788. package/dist/components/ic-page-header.js.map +1 -0
  789. package/dist/components/ic-pagination-bar.d.ts +11 -0
  790. package/dist/components/ic-pagination-bar.js +8 -0
  791. package/dist/components/ic-pagination-bar.js.map +1 -0
  792. package/dist/components/ic-pagination-bar2.js +378 -0
  793. package/dist/components/ic-pagination-bar2.js.map +1 -0
  794. package/dist/components/ic-pagination-item.d.ts +11 -0
  795. package/dist/components/ic-pagination-item.js +8 -0
  796. package/dist/components/ic-pagination-item.js.map +1 -0
  797. package/dist/components/ic-pagination-item2.js +81 -0
  798. package/dist/components/ic-pagination-item2.js.map +1 -0
  799. package/dist/components/ic-pagination.d.ts +11 -0
  800. package/dist/components/ic-pagination.js +8 -0
  801. package/dist/components/ic-pagination.js.map +1 -0
  802. package/dist/components/ic-pagination2.js +285 -0
  803. package/dist/components/ic-pagination2.js.map +1 -0
  804. package/dist/components/ic-popover-menu.d.ts +11 -0
  805. package/dist/components/ic-popover-menu.js +290 -0
  806. package/dist/components/ic-popover-menu.js.map +1 -0
  807. package/dist/components/ic-radio-group.d.ts +11 -0
  808. package/dist/components/ic-radio-group.js +174 -0
  809. package/dist/components/ic-radio-group.js.map +1 -0
  810. package/dist/components/ic-radio-option.d.ts +11 -0
  811. package/dist/components/ic-radio-option.js +171 -0
  812. package/dist/components/ic-radio-option.js.map +1 -0
  813. package/dist/components/ic-search-bar.d.ts +11 -0
  814. package/dist/components/ic-search-bar.js +604 -0
  815. package/dist/components/ic-search-bar.js.map +1 -0
  816. package/dist/components/ic-section-container.d.ts +11 -0
  817. package/dist/components/ic-section-container.js +8 -0
  818. package/dist/components/ic-section-container.js.map +1 -0
  819. package/dist/components/ic-section-container2.js +43 -0
  820. package/dist/components/ic-section-container2.js.map +1 -0
  821. package/dist/components/ic-select.d.ts +11 -0
  822. package/dist/components/ic-select.js +8 -0
  823. package/dist/components/ic-select.js.map +1 -0
  824. package/dist/components/ic-select2.js +728 -0
  825. package/dist/components/ic-select2.js.map +1 -0
  826. package/dist/components/ic-side-navigation.d.ts +11 -0
  827. package/dist/components/ic-side-navigation.js +496 -0
  828. package/dist/components/ic-side-navigation.js.map +1 -0
  829. package/dist/components/ic-skeleton.d.ts +11 -0
  830. package/dist/components/ic-skeleton.js +80 -0
  831. package/dist/components/ic-skeleton.js.map +1 -0
  832. package/dist/components/ic-status-tag.d.ts +11 -0
  833. package/dist/components/ic-status-tag.js +61 -0
  834. package/dist/components/ic-status-tag.js.map +1 -0
  835. package/dist/components/ic-step.d.ts +11 -0
  836. package/dist/components/ic-step.js +179 -0
  837. package/dist/components/ic-step.js.map +1 -0
  838. package/dist/components/ic-stepper.d.ts +11 -0
  839. package/dist/components/ic-stepper.js +246 -0
  840. package/dist/components/ic-stepper.js.map +1 -0
  841. package/dist/components/ic-switch.d.ts +11 -0
  842. package/dist/components/ic-switch.js +124 -0
  843. package/dist/components/ic-switch.js.map +1 -0
  844. package/dist/components/ic-tab-context.d.ts +11 -0
  845. package/dist/components/ic-tab-context.js +289 -0
  846. package/dist/components/ic-tab-context.js.map +1 -0
  847. package/dist/components/ic-tab-group.d.ts +11 -0
  848. package/dist/components/ic-tab-group.js +87 -0
  849. package/dist/components/ic-tab-group.js.map +1 -0
  850. package/dist/components/ic-tab-panel.d.ts +11 -0
  851. package/dist/components/ic-tab-panel.js +64 -0
  852. package/dist/components/ic-tab-panel.js.map +1 -0
  853. package/dist/components/ic-tab.d.ts +11 -0
  854. package/dist/components/ic-tab.js +131 -0
  855. package/dist/components/ic-tab.js.map +1 -0
  856. package/dist/components/ic-text-field.d.ts +11 -0
  857. package/dist/components/ic-text-field.js +8 -0
  858. package/dist/components/ic-text-field.js.map +1 -0
  859. package/dist/components/ic-text-field2.js +325 -0
  860. package/dist/components/ic-text-field2.js.map +1 -0
  861. package/dist/components/ic-theme.d.ts +11 -0
  862. package/dist/components/ic-theme.js +77 -0
  863. package/dist/components/ic-theme.js.map +1 -0
  864. package/dist/components/ic-toast-region.d.ts +11 -0
  865. package/dist/components/ic-toast-region.js +63 -0
  866. package/dist/components/ic-toast-region.js.map +1 -0
  867. package/dist/components/ic-toast.d.ts +11 -0
  868. package/dist/components/ic-toast.js +218 -0
  869. package/dist/components/ic-toast.js.map +1 -0
  870. package/dist/components/ic-tooltip.d.ts +11 -0
  871. package/dist/components/ic-tooltip.js +8 -0
  872. package/dist/components/ic-tooltip.js.map +1 -0
  873. package/dist/components/ic-tooltip2.js +1970 -0
  874. package/dist/components/ic-tooltip2.js.map +1 -0
  875. package/dist/components/ic-top-navigation.d.ts +11 -0
  876. package/dist/components/ic-top-navigation.js +290 -0
  877. package/dist/components/ic-top-navigation.js.map +1 -0
  878. package/dist/components/ic-typography.d.ts +11 -0
  879. package/dist/components/ic-typography.js +8 -0
  880. package/dist/components/ic-typography.js.map +1 -0
  881. package/dist/components/ic-typography2.js +149 -0
  882. package/dist/components/ic-typography2.js.map +1 -0
  883. package/dist/components/ic-unstable-data-table.d.ts +11 -0
  884. package/dist/components/ic-unstable-data-table.js +397 -0
  885. package/dist/components/ic-unstable-data-table.js.map +1 -0
  886. package/dist/components/index.d.ts +27 -0
  887. package/dist/components/index.js +3 -0
  888. package/dist/components/index.js.map +1 -0
  889. package/dist/components/types.js +16 -0
  890. package/dist/components/types.js.map +1 -0
  891. package/dist/core/core.css +101 -0
  892. package/dist/core/core.esm.js +2 -0
  893. package/dist/core/core.esm.js.map +1 -0
  894. package/dist/core/index.esm.js +2 -0
  895. package/dist/core/index.esm.js.map +1 -0
  896. package/dist/core/normalize.css +440 -0
  897. package/dist/core/p-019688bf.entry.js +2 -0
  898. package/dist/core/p-019688bf.entry.js.map +1 -0
  899. package/dist/core/p-0584ebc5.entry.js +2 -0
  900. package/dist/core/p-0584ebc5.entry.js.map +1 -0
  901. package/dist/core/p-06321d19.js +2 -0
  902. package/dist/core/p-06321d19.js.map +1 -0
  903. package/dist/core/p-095d3352.entry.js +2 -0
  904. package/dist/core/p-095d3352.entry.js.map +1 -0
  905. package/dist/core/p-10fd8931.entry.js +2 -0
  906. package/dist/core/p-10fd8931.entry.js.map +1 -0
  907. package/dist/core/p-11833706.entry.js +2 -0
  908. package/dist/core/p-11833706.entry.js.map +1 -0
  909. package/dist/core/p-1af8f256.js +3 -0
  910. package/dist/core/p-1af8f256.js.map +1 -0
  911. package/dist/core/p-1b5f5bf2.entry.js +2 -0
  912. package/dist/core/p-1b5f5bf2.entry.js.map +1 -0
  913. package/dist/core/p-1e0eb83a.entry.js +2 -0
  914. package/dist/core/p-1e0eb83a.entry.js.map +1 -0
  915. package/dist/core/p-2138a75e.entry.js +2 -0
  916. package/dist/core/p-2138a75e.entry.js.map +1 -0
  917. package/dist/core/p-29d35210.entry.js +2 -0
  918. package/dist/core/p-29d35210.entry.js.map +1 -0
  919. package/dist/core/p-2c6f2aad.entry.js +2 -0
  920. package/dist/core/p-2c6f2aad.entry.js.map +1 -0
  921. package/dist/core/p-35b9f898.entry.js +2 -0
  922. package/dist/core/p-35b9f898.entry.js.map +1 -0
  923. package/dist/core/p-3b686a68.entry.js +2 -0
  924. package/dist/core/p-3b686a68.entry.js.map +1 -0
  925. package/dist/core/p-4208e336.entry.js +2 -0
  926. package/dist/core/p-4208e336.entry.js.map +1 -0
  927. package/dist/core/p-44512ebe.js +2 -0
  928. package/dist/core/p-44512ebe.js.map +1 -0
  929. package/dist/core/p-4ddbc685.entry.js +2 -0
  930. package/dist/core/p-4ddbc685.entry.js.map +1 -0
  931. package/dist/core/p-4efac9a5.entry.js +2 -0
  932. package/dist/core/p-4efac9a5.entry.js.map +1 -0
  933. package/dist/core/p-5278461f.entry.js +2 -0
  934. package/dist/core/p-5278461f.entry.js.map +1 -0
  935. package/dist/core/p-55278403.entry.js +2 -0
  936. package/dist/core/p-55278403.entry.js.map +1 -0
  937. package/dist/core/p-57839a76.entry.js +2 -0
  938. package/dist/core/p-57839a76.entry.js.map +1 -0
  939. package/dist/core/p-5914df44.entry.js +2 -0
  940. package/dist/core/p-5914df44.entry.js.map +1 -0
  941. package/dist/core/p-5d89cfab.entry.js +2 -0
  942. package/dist/core/p-5d89cfab.entry.js.map +1 -0
  943. package/dist/core/p-5f6b0c72.entry.js +2 -0
  944. package/dist/core/p-5f6b0c72.entry.js.map +1 -0
  945. package/dist/core/p-633cb50b.entry.js +2 -0
  946. package/dist/core/p-633cb50b.entry.js.map +1 -0
  947. package/dist/core/p-6f57b13c.js +2 -0
  948. package/dist/core/p-6f57b13c.js.map +1 -0
  949. package/dist/core/p-7232b2f0.entry.js +2 -0
  950. package/dist/core/p-7232b2f0.entry.js.map +1 -0
  951. package/dist/core/p-7adfd23a.entry.js +2 -0
  952. package/dist/core/p-7adfd23a.entry.js.map +1 -0
  953. package/dist/core/p-7b1dea48.entry.js +2 -0
  954. package/dist/core/p-7b1dea48.entry.js.map +1 -0
  955. package/dist/core/p-7b475a6c.entry.js +2 -0
  956. package/dist/core/p-7b475a6c.entry.js.map +1 -0
  957. package/dist/core/p-7c0dcd00.js +2 -0
  958. package/dist/core/p-7c0dcd00.js.map +1 -0
  959. package/dist/core/p-7dda131b.entry.js +2 -0
  960. package/dist/core/p-7dda131b.entry.js.map +1 -0
  961. package/dist/core/p-80c4fdfb.entry.js +2 -0
  962. package/dist/core/p-80c4fdfb.entry.js.map +1 -0
  963. package/dist/core/p-83adbb69.entry.js +2 -0
  964. package/dist/core/p-83adbb69.entry.js.map +1 -0
  965. package/dist/core/p-8ae9fdd1.entry.js +2 -0
  966. package/dist/core/p-8ae9fdd1.entry.js.map +1 -0
  967. package/dist/core/p-8c7f4343.js +2 -0
  968. package/dist/core/p-8c7f4343.js.map +1 -0
  969. package/dist/core/p-8d4f7027.js +2 -0
  970. package/dist/core/p-8d4f7027.js.map +1 -0
  971. package/dist/core/p-92a9c0f7.entry.js +2 -0
  972. package/dist/core/p-92a9c0f7.entry.js.map +1 -0
  973. package/dist/core/p-a3b86ed0.entry.js +2 -0
  974. package/dist/core/p-a3b86ed0.entry.js.map +1 -0
  975. package/dist/core/p-a9e4e5f8.entry.js +2 -0
  976. package/dist/core/p-a9e4e5f8.entry.js.map +1 -0
  977. package/dist/core/p-ad3102a5.entry.js +2 -0
  978. package/dist/core/p-ad3102a5.entry.js.map +1 -0
  979. package/dist/core/p-b36723c5.entry.js +2 -0
  980. package/dist/core/p-b36723c5.entry.js.map +1 -0
  981. package/dist/core/p-b5c0b75c.js +2 -0
  982. package/dist/core/p-b5c0b75c.js.map +1 -0
  983. package/dist/core/p-b6e9eab9.entry.js +2 -0
  984. package/dist/core/p-b6e9eab9.entry.js.map +1 -0
  985. package/dist/core/p-b7d521e9.entry.js +2 -0
  986. package/dist/core/p-b7d521e9.entry.js.map +1 -0
  987. package/dist/core/p-b9c3598b.entry.js +2 -0
  988. package/dist/core/p-b9c3598b.entry.js.map +1 -0
  989. package/dist/core/p-bdb10987.entry.js +2 -0
  990. package/dist/core/p-bdb10987.entry.js.map +1 -0
  991. package/dist/core/p-c571e57c.entry.js +2 -0
  992. package/dist/core/p-c571e57c.entry.js.map +1 -0
  993. package/dist/core/p-cc15dfdc.entry.js +2 -0
  994. package/dist/core/p-cc15dfdc.entry.js.map +1 -0
  995. package/dist/core/p-cc2b961d.entry.js +2 -0
  996. package/dist/core/p-cc2b961d.entry.js.map +1 -0
  997. package/dist/core/p-d0fccb05.entry.js +2 -0
  998. package/dist/core/p-d0fccb05.entry.js.map +1 -0
  999. package/dist/core/p-d19b9d1b.entry.js +2 -0
  1000. package/dist/core/p-d19b9d1b.entry.js.map +1 -0
  1001. package/dist/core/p-d77c0936.entry.js +2 -0
  1002. package/dist/core/p-d77c0936.entry.js.map +1 -0
  1003. package/dist/core/p-df0b02b4.entry.js +2 -0
  1004. package/dist/core/p-df0b02b4.entry.js.map +1 -0
  1005. package/dist/core/p-e948ffe5.entry.js +2 -0
  1006. package/dist/core/p-e948ffe5.entry.js.map +1 -0
  1007. package/dist/core/p-ed9bc07a.entry.js +2 -0
  1008. package/dist/core/p-ed9bc07a.entry.js.map +1 -0
  1009. package/dist/core/p-f0fd1444.entry.js +2 -0
  1010. package/dist/core/p-f0fd1444.entry.js.map +1 -0
  1011. package/dist/core/p-f91432bf.entry.js +2 -0
  1012. package/dist/core/p-f91432bf.entry.js.map +1 -0
  1013. package/dist/core/p-fdcf4f5d.entry.js +2 -0
  1014. package/dist/core/p-fdcf4f5d.entry.js.map +1 -0
  1015. package/dist/core/p-fef750a3.entry.js +2 -0
  1016. package/dist/core/p-fef750a3.entry.js.map +1 -0
  1017. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  1018. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  1019. package/dist/esm/check-icon-abb210ec.js +8 -0
  1020. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  1021. package/dist/esm/chevron-icon-7927f709.js +8 -0
  1022. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  1023. package/dist/esm/close-icon-2f02b42a.js +10 -0
  1024. package/dist/esm/close-icon-2f02b42a.js.map +1 -0
  1025. package/dist/esm/core.js +23 -0
  1026. package/dist/esm/core.js.map +1 -0
  1027. package/dist/esm/helpers-8617aaa0.js +552 -0
  1028. package/dist/esm/helpers-8617aaa0.js.map +1 -0
  1029. package/dist/esm/ic-alert.entry.js +69 -0
  1030. package/dist/esm/ic-alert.entry.js.map +1 -0
  1031. package/dist/esm/ic-back-to-top.entry.js +141 -0
  1032. package/dist/esm/ic-back-to-top.entry.js.map +1 -0
  1033. package/dist/esm/ic-breadcrumb-group.entry.js +184 -0
  1034. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -0
  1035. package/dist/esm/ic-breadcrumb.entry.js +70 -0
  1036. package/dist/esm/ic-breadcrumb.entry.js.map +1 -0
  1037. package/dist/esm/ic-button_3.entry.js +554 -0
  1038. package/dist/esm/ic-button_3.entry.js.map +1 -0
  1039. package/dist/esm/ic-card.entry.js +122 -0
  1040. package/dist/esm/ic-card.entry.js.map +1 -0
  1041. package/dist/esm/ic-checkbox-group.entry.js +65 -0
  1042. package/dist/esm/ic-checkbox-group.entry.js.map +1 -0
  1043. package/dist/esm/ic-checkbox.entry.js +110 -0
  1044. package/dist/esm/ic-checkbox.entry.js.map +1 -0
  1045. package/dist/esm/ic-chip.entry.js +76 -0
  1046. package/dist/esm/ic-chip.entry.js.map +1 -0
  1047. package/dist/esm/ic-classification-banner.entry.js +38 -0
  1048. package/dist/esm/ic-classification-banner.entry.js.map +1 -0
  1049. package/dist/esm/ic-data-entity.entry.js +27 -0
  1050. package/dist/esm/ic-data-entity.entry.js.map +1 -0
  1051. package/dist/esm/ic-data-row.entry.js +87 -0
  1052. package/dist/esm/ic-data-row.entry.js.map +1 -0
  1053. package/dist/esm/ic-dialog.entry.js +291 -0
  1054. package/dist/esm/ic-dialog.entry.js.map +1 -0
  1055. package/dist/esm/ic-divider.entry.js +26 -0
  1056. package/dist/esm/ic-divider.entry.js.map +1 -0
  1057. package/dist/esm/ic-footer-link-group.entry.js +67 -0
  1058. package/dist/esm/ic-footer-link-group.entry.js.map +1 -0
  1059. package/dist/esm/ic-footer-link.entry.js +63 -0
  1060. package/dist/esm/ic-footer-link.entry.js.map +1 -0
  1061. package/dist/esm/ic-footer.entry.js +86 -0
  1062. package/dist/esm/ic-footer.entry.js.map +1 -0
  1063. package/dist/esm/ic-hero.entry.js +71 -0
  1064. package/dist/esm/ic-hero.entry.js.map +1 -0
  1065. package/dist/esm/ic-horizontal-scroll.entry.js +173 -0
  1066. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  1067. package/dist/esm/ic-input-component-container_3.entry.js +693 -0
  1068. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  1069. package/dist/esm/ic-input-label_2.entry.js +80 -0
  1070. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  1071. package/dist/esm/ic-link.entry.js +72 -0
  1072. package/dist/esm/ic-link.entry.js.map +1 -0
  1073. package/dist/esm/ic-menu-group.entry.js +20 -0
  1074. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  1075. package/dist/esm/ic-menu-item.entry.js +118 -0
  1076. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  1077. package/dist/esm/ic-navigation-button.entry.js +84 -0
  1078. package/dist/esm/ic-navigation-button.entry.js.map +1 -0
  1079. package/dist/esm/ic-navigation-group.entry.js +285 -0
  1080. package/dist/esm/ic-navigation-group.entry.js.map +1 -0
  1081. package/dist/esm/ic-navigation-item.entry.js +150 -0
  1082. package/dist/esm/ic-navigation-item.entry.js.map +1 -0
  1083. package/dist/esm/ic-navigation-menu.entry.js +120 -0
  1084. package/dist/esm/ic-navigation-menu.entry.js.map +1 -0
  1085. package/dist/esm/ic-page-header.entry.js +101 -0
  1086. package/dist/esm/ic-page-header.entry.js.map +1 -0
  1087. package/dist/esm/ic-pagination-bar.entry.js +266 -0
  1088. package/dist/esm/ic-pagination-bar.entry.js.map +1 -0
  1089. package/dist/esm/ic-pagination_4.entry.js +1108 -0
  1090. package/dist/esm/ic-pagination_4.entry.js.map +1 -0
  1091. package/dist/esm/ic-popover-menu.entry.js +233 -0
  1092. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  1093. package/dist/esm/ic-radio-group.entry.js +126 -0
  1094. package/dist/esm/ic-radio-group.entry.js.map +1 -0
  1095. package/dist/esm/ic-radio-option.entry.js +137 -0
  1096. package/dist/esm/ic-radio-option.entry.js.map +1 -0
  1097. package/dist/esm/ic-search-bar.entry.js +489 -0
  1098. package/dist/esm/ic-search-bar.entry.js.map +1 -0
  1099. package/dist/esm/ic-section-container.entry.js +25 -0
  1100. package/dist/esm/ic-section-container.entry.js.map +1 -0
  1101. package/dist/esm/ic-side-navigation.entry.js +431 -0
  1102. package/dist/esm/ic-side-navigation.entry.js.map +1 -0
  1103. package/dist/esm/ic-skeleton.entry.js +55 -0
  1104. package/dist/esm/ic-skeleton.entry.js.map +1 -0
  1105. package/dist/esm/ic-status-tag.entry.js +32 -0
  1106. package/dist/esm/ic-status-tag.entry.js.map +1 -0
  1107. package/dist/esm/ic-step.entry.js +136 -0
  1108. package/dist/esm/ic-step.entry.js.map +1 -0
  1109. package/dist/esm/ic-stepper.entry.js +217 -0
  1110. package/dist/esm/ic-stepper.entry.js.map +1 -0
  1111. package/dist/esm/ic-switch.entry.js +82 -0
  1112. package/dist/esm/ic-switch.entry.js.map +1 -0
  1113. package/dist/esm/ic-tab-context.entry.js +265 -0
  1114. package/dist/esm/ic-tab-context.entry.js.map +1 -0
  1115. package/dist/esm/ic-tab-group.entry.js +34 -0
  1116. package/dist/esm/ic-tab-group.entry.js.map +1 -0
  1117. package/dist/esm/ic-tab-panel.entry.js +40 -0
  1118. package/dist/esm/ic-tab-panel.entry.js.map +1 -0
  1119. package/dist/esm/ic-tab.entry.js +99 -0
  1120. package/dist/esm/ic-tab.entry.js.map +1 -0
  1121. package/dist/esm/ic-theme.entry.js +58 -0
  1122. package/dist/esm/ic-theme.entry.js.map +1 -0
  1123. package/dist/esm/ic-toast-region.entry.js +44 -0
  1124. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  1125. package/dist/esm/ic-toast.entry.js +165 -0
  1126. package/dist/esm/ic-toast.entry.js.map +1 -0
  1127. package/dist/esm/ic-top-navigation.entry.js +213 -0
  1128. package/dist/esm/ic-top-navigation.entry.js.map +1 -0
  1129. package/dist/esm/ic-typography.entry.js +124 -0
  1130. package/dist/esm/ic-typography.entry.js.map +1 -0
  1131. package/dist/esm/ic-unstable-data-table.entry.js +267 -0
  1132. package/dist/esm/ic-unstable-data-table.entry.js.map +1 -0
  1133. package/dist/esm/index-36ab8165.js +2659 -0
  1134. package/dist/esm/index-36ab8165.js.map +1 -0
  1135. package/dist/esm/index.js +3 -0
  1136. package/dist/esm/index.js.map +1 -0
  1137. package/dist/esm/loader.js +20 -0
  1138. package/dist/esm/loader.js.map +1 -0
  1139. package/dist/esm/polyfills/core-js.js +11 -0
  1140. package/dist/esm/polyfills/css-shim.js +1 -0
  1141. package/dist/esm/polyfills/dom.js +79 -0
  1142. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1143. package/dist/esm/polyfills/index.js +34 -0
  1144. package/dist/esm/polyfills/system.js +6 -0
  1145. package/dist/esm/popper-15e448b4.js +1794 -0
  1146. package/dist/esm/popper-15e448b4.js.map +1 -0
  1147. package/dist/esm/types-dd515332.js +16 -0
  1148. package/dist/esm/types-dd515332.js.map +1 -0
  1149. package/dist/index.cjs.js +1 -0
  1150. package/dist/index.js +1 -0
  1151. package/dist/types/components/ic-alert/ic-alert.d.ts +48 -0
  1152. package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +1 -0
  1153. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +25 -0
  1154. package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +1 -0
  1155. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +30 -0
  1156. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -0
  1157. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +40 -0
  1158. package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +1 -0
  1159. package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +2 -0
  1160. package/dist/types/components/ic-button/ic-button.d.ts +132 -0
  1161. package/dist/types/components/ic-button/ic-button.types.d.ts +3 -0
  1162. package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +1 -0
  1163. package/dist/types/components/ic-card/ic-card.d.ts +83 -0
  1164. package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +1 -0
  1165. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +72 -0
  1166. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +54 -0
  1167. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +8 -0
  1168. package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +1 -0
  1169. package/dist/types/components/ic-chip/ic-chip.d.ts +50 -0
  1170. package/dist/types/components/ic-chip/ic-chip.types.d.ts +1 -0
  1171. package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +1 -0
  1172. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +24 -0
  1173. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -0
  1174. package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +1 -0
  1175. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +12 -0
  1176. package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +1 -0
  1177. package/dist/types/components/ic-data-row/ic-data-row.d.ts +37 -0
  1178. package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +1 -0
  1179. package/dist/types/components/ic-data-table/ic-data-table.d.ts +97 -0
  1180. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +15 -0
  1181. package/dist/types/components/ic-data-table/test/a11y/ic-data-table.test.a11y.d.ts +1 -0
  1182. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  1183. package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +1 -0
  1184. package/dist/types/components/ic-divider/ic-divider.d.ts +6 -0
  1185. package/dist/types/components/ic-footer/ic-footer.d.ts +52 -0
  1186. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -0
  1187. package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +1 -0
  1188. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +41 -0
  1189. package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +1 -0
  1190. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +19 -0
  1191. package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +1 -0
  1192. package/dist/types/components/ic-hero/ic-hero.d.ts +57 -0
  1193. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -0
  1194. package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +1 -0
  1195. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +40 -0
  1196. package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  1197. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +40 -0
  1198. package/dist/types/components/ic-input-container/ic-input-container.d.ts +11 -0
  1199. package/dist/types/components/ic-input-label/ic-input-label.d.ts +36 -0
  1200. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +30 -0
  1201. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -0
  1202. package/dist/types/components/ic-link/ic-link.d.ts +50 -0
  1203. package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +1 -0
  1204. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +80 -0
  1205. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +7 -0
  1206. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +1 -0
  1207. package/dist/types/components/ic-menu/ic-menu.d.ts +167 -0
  1208. package/dist/types/components/ic-menu/ic-menu.types.d.ts +12 -0
  1209. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  1210. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  1211. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  1212. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +53 -0
  1213. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -0
  1214. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +63 -0
  1215. package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +1 -0
  1216. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +85 -0
  1217. package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +1 -0
  1218. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +36 -0
  1219. package/dist/types/components/ic-page-header/ic-page-header.d.ts +57 -0
  1220. package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +1 -0
  1221. package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
  1222. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +6 -0
  1223. package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +1 -0
  1224. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +103 -0
  1225. package/dist/types/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.d.ts +1 -0
  1226. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
  1227. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  1228. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
  1229. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +1 -0
  1230. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +60 -0
  1231. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  1232. package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +1 -0
  1233. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +70 -0
  1234. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +243 -0
  1235. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +5 -0
  1236. package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +1 -0
  1237. package/dist/types/components/ic-section-container/ic-section-container.d.ts +12 -0
  1238. package/dist/types/components/ic-select/ic-select.d.ts +226 -0
  1239. package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +1 -0
  1240. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +101 -0
  1241. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +9 -0
  1242. package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +1 -0
  1243. package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +6 -0
  1244. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +18 -0
  1245. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -0
  1246. package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +1 -0
  1247. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +25 -0
  1248. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -0
  1249. package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +1 -0
  1250. package/dist/types/components/ic-step/ic-step.d.ts +54 -0
  1251. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -0
  1252. package/dist/types/components/ic-stepper/ic-stepper.d.ts +43 -0
  1253. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -0
  1254. package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +1 -0
  1255. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -0
  1256. package/dist/types/components/ic-switch/ic-switch.d.ts +75 -0
  1257. package/dist/types/components/ic-switch/ic-switch.types.d.ts +4 -0
  1258. package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +1 -0
  1259. package/dist/types/components/ic-tab/ic-tab.d.ts +59 -0
  1260. package/dist/types/components/ic-tab/ic-tab.types.d.ts +8 -0
  1261. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +64 -0
  1262. package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +1 -0
  1263. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +23 -0
  1264. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +37 -0
  1265. package/dist/types/components/ic-text-field/ic-text-field.d.ts +217 -0
  1266. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -0
  1267. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +1 -0
  1268. package/dist/types/components/ic-theme/ic-theme.d.ts +18 -0
  1269. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  1270. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  1271. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +1 -0
  1272. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  1273. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +50 -0
  1274. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
  1275. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
  1276. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +84 -0
  1277. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
  1278. package/dist/types/components/ic-typography/ic-typography.d.ts +56 -0
  1279. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  1280. package/dist/types/components.d.ts +4709 -0
  1281. package/dist/types/index.d.ts +1 -0
  1282. package/dist/types/interface.d.ts +14 -0
  1283. package/dist/types/stencil-public-runtime.d.ts +1640 -0
  1284. package/dist/types/testspec.setup.d.ts +15 -0
  1285. package/dist/types/utils/constants.d.ts +38 -0
  1286. package/dist/types/utils/helpers.d.ts +123 -0
  1287. package/dist/types/utils/testa11y.helpers.d.ts +2 -0
  1288. package/dist/types/utils/types.d.ts +65 -0
  1289. package/hydrate/index.d.ts +218 -0
  1290. package/hydrate/index.js +18605 -0
  1291. package/hydrate/package.json +6 -0
  1292. package/loader/cdn.js +3 -0
  1293. package/loader/index.cjs.js +3 -0
  1294. package/loader/index.d.ts +21 -0
  1295. package/loader/index.es2017.js +3 -0
  1296. package/loader/index.js +4 -0
  1297. package/loader/package.json +11 -0
  1298. package/package.json +81 -0
@@ -0,0 +1,552 @@
1
+ import { I as IcThemeForegroundEnum } from './types.js';
2
+
3
+ const errorIcon = `<svg aria-labelledby="error-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
4
+ <title id="error-title">Error</title>
5
+ <g id="close-octagon">
6
+ <path id="Vector" d="M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" />
7
+ </g>
8
+ </svg>
9
+ `;
10
+
11
+ const infoIcon = `<svg aria-labelledby="info-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
12
+ <title id="info-title">For your information</title>
13
+ <g id="info">
14
+ <path id="Vector" d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 17C11.45 17 11 16.55 11 16V12C11 11.45 11.45 11 12 11C12.55 11 13 11.45 13 12V16C13 16.55 12.55 17 12 17ZM13 9H11V7H13V9Z" />
15
+ </g>
16
+ </svg>
17
+ `;
18
+
19
+ const neutralIcon = `<svg aria-labelledby="neutral-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
20
+ <title id="neutral-title">Neutral</title>
21
+ <g id="Icon">
22
+ <path id="Vector" d="M19.5 3H5.5C4.4 3 3.5 3.9 3.5 5V19C3.5 20.1 4.4 21 5.5 21H19.5C20.6 21 21.5 20.1 21.5 19V5C21.5 3.9 20.6 3 19.5 3ZM12.51 18C11.81 18 11.25 17.44 11.25 16.74C11.25 16.03 11.81 15.49 12.51 15.49C13.22 15.49 13.76 16.03 13.76 16.74C13.75 17.43 13.22 18 12.51 18ZM15.52 10.6C14.76 11.71 14.04 12.06 13.65 12.77C13.55 12.95 13.49 13.09 13.46 13.4C13.41 13.85 13.01 14.18 12.56 14.18H12.5C11.98 14.18 11.57 13.74 11.62 13.22C11.65 12.88 11.73 12.53 11.92 12.19C12.41 11.32 13.34 10.8 13.88 10.03C14.45 9.22 14.13 7.7 12.51 7.7C11.8 7.7 11.33 8.06 11.04 8.49C10.79 8.85 10.35 9.02 9.94 8.85C9.41 8.64 9.22 8 9.54 7.54C10.15 6.65 11.17 6 12.49 6C13.97 6 14.98 6.67 15.5 7.52C15.94 8.24 16.2 9.59 15.52 10.6Z" />
23
+ </g>
24
+ </svg>
25
+ `;
26
+
27
+ const successIcon = `<svg aria-labelledby="success-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
28
+ <title id="success-title">Success</title>
29
+ <g id="check_circle">
30
+ <path id="Vector" d="M12.5 2C6.98 2 2.5 6.48 2.5 12C2.5 17.52 6.98 22 12.5 22C18.02 22 22.5 17.52 22.5 12C22.5 6.48 18.02 2 12.5 2ZM9.79 16.29L6.2 12.7C5.81 12.31 5.81 11.68 6.2 11.29C6.59 10.9 7.22 10.9 7.61 11.29L10.5 14.17L17.38 7.29C17.77 6.9 18.4 6.9 18.79 7.29C19.18 7.68 19.18 8.31 18.79 8.7L11.2 16.29C10.82 16.68 10.18 16.68 9.79 16.29Z" />
31
+ </g>
32
+ </svg>
33
+ `;
34
+
35
+ const warningIcon = `<svg aria-labelledby="warning-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
36
+ <title id="warning-title">Warning</title>
37
+ <g id="warning">
38
+ <path id="Vector" d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" />
39
+ </g>
40
+ </svg>
41
+ `;
42
+
43
+ // Global status icons
44
+ const VARIANT_ICONS = {
45
+ neutral: {
46
+ icon: neutralIcon,
47
+ ariaLabel: "Neutral",
48
+ },
49
+ info: {
50
+ icon: infoIcon,
51
+ ariaLabel: "For your information",
52
+ },
53
+ warning: {
54
+ icon: warningIcon,
55
+ ariaLabel: "Warning",
56
+ },
57
+ error: {
58
+ icon: errorIcon,
59
+ ariaLabel: "Error",
60
+ },
61
+ success: {
62
+ icon: successIcon,
63
+ ariaLabel: "Success",
64
+ },
65
+ };
66
+ // Global ARIA attributes
67
+ const IC_INHERITED_ARIA = [
68
+ "aria-atomic",
69
+ "aria-busy",
70
+ "aria-controls",
71
+ "aria-current",
72
+ "aria-describedby",
73
+ "aria-description",
74
+ "aria-details",
75
+ "aria-disabled",
76
+ "aria-dropeffect",
77
+ "aria-errormessage",
78
+ "aria-flowto",
79
+ "aria-grabbed",
80
+ "aria-haspopup",
81
+ "aria-hidden",
82
+ "aria-invalid",
83
+ "aria-keyshortcuts",
84
+ "aria-label",
85
+ "aria-labelledby",
86
+ "aria-live",
87
+ "aria-owns",
88
+ "aria-relevant",
89
+ "aria-roledescription",
90
+ ];
91
+ const IC_DEVICE_SIZES = {
92
+ XS: 576,
93
+ S: 768,
94
+ M: 992,
95
+ L: 1200,
96
+ XL: 99999,
97
+ };
98
+ const IC_BLOCK_COLOR_COMPONENTS = [
99
+ "ic-hero",
100
+ "ic-top-navigation",
101
+ "ic-footer",
102
+ "ic-side-navigation",
103
+ "ic-alert",
104
+ ];
105
+ const IC_FIXED_COLOR_COMPONENTS = ["ic-alert"];
106
+ const IC_BLOCK_COLOR_EXCEPTIONS = {
107
+ "ic-alert": ["ic-link"],
108
+ };
109
+ /* Range within which the chosen theme colour would not have a sufficient brightness difference with either of the black or white foreground colours
110
+ * The brightness difference must be greater than 125 to provide good colour visibility
111
+ * Calculated by:
112
+ * - Using the brightness formula for both colours: https://www.w3.org/TR/AERT/#color-contrast
113
+ * - Adding 125 to the brightness of the black foreground colour - RGB(11, 12, 12)
114
+ * - Subtracting 125 from the brightness of the white foreground colour - RGB(255, 255, 255)
115
+ */
116
+ const BLACK_MIN_COLOR_BRIGHTNESS = 136.701;
117
+ const WHITE_MAX_COLOR_BRIGHTNESS = 130;
118
+
119
+ const DARK_MODE_THRESHOLD = 133.3505;
120
+ /**
121
+ * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
122
+ * to a variable that is later used in the render function.
123
+ *
124
+ * This does not need to be reactive as changing attributes on the host element
125
+ * does not trigger a re-render.
126
+ */
127
+ const inheritAttributes = (element, attributes = []) => {
128
+ const attributeObject = {};
129
+ attributes.forEach((attr) => {
130
+ if (element.hasAttribute(attr)) {
131
+ const value = element.getAttribute(attr);
132
+ if (value !== null) {
133
+ attributeObject[attr] = element.getAttribute(attr);
134
+ }
135
+ element.removeAttribute(attr);
136
+ }
137
+ });
138
+ return attributeObject;
139
+ };
140
+ const debounceEvent = (event, wait) => {
141
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
142
+ const original = event._original || event;
143
+ return {
144
+ _original: event,
145
+ emit: debounce(original.emit.bind(original), wait),
146
+ };
147
+ };
148
+ const debounce = (func, wait = 0) => {
149
+ let timer;
150
+ return (...args) => {
151
+ clearTimeout(timer);
152
+ timer = setTimeout(func, wait, ...args);
153
+ };
154
+ };
155
+ /**
156
+ * This method is used to add a hidden input to a host element that contains
157
+ * a Shadow DOM. It does not add the input inside of the Shadow root which
158
+ * allows it to be picked up inside of forms. It should contain the same
159
+ * values as the host element.
160
+ *
161
+ * @param always Add a hidden input even if the container does not use Shadow
162
+ * @param container The element where the input will be added
163
+ * @param name The name of the input
164
+ * @param value The value of the input
165
+ * @param disabled If true, the input is disabled
166
+ */
167
+ const renderHiddenInput = (always, container, name, value, disabled) => {
168
+ if (name !== undefined && (always || hasShadowDom(container))) {
169
+ const inputs = container.querySelectorAll("input.ic-input");
170
+ const inputEls = Array.from(inputs);
171
+ const filtered = inputEls.filter((el) => container === el.parentElement);
172
+ let input = filtered[0];
173
+ if (input === null || input === undefined) {
174
+ input = container.ownerDocument.createElement("input");
175
+ input.type = "hidden";
176
+ input.classList.add("ic-input");
177
+ container.appendChild(input);
178
+ }
179
+ input.disabled = disabled;
180
+ input.name = name;
181
+ input.value = value || "";
182
+ }
183
+ };
184
+ const removeHiddenInput = (container) => {
185
+ const inputs = container.querySelectorAll("input.ic-input");
186
+ const inputEls = Array.from(inputs);
187
+ const filtered = inputEls.filter((el) => container === el.parentElement);
188
+ const input = filtered[0];
189
+ input === null || input === void 0 ? void 0 : input.remove();
190
+ };
191
+ const hasShadowDom = (el) => {
192
+ return !!el.shadowRoot && !!el.attachShadow;
193
+ };
194
+ const getInputHelperTextID = (id) => {
195
+ return id + "-helper-text";
196
+ };
197
+ const getInputValidationTextID = (id) => {
198
+ return id + "-validation-text";
199
+ };
200
+ const getInputDescribedByText = (inputId, helperText, validationText) => {
201
+ return `${helperText ? getInputHelperTextID(inputId) : ""} ${validationText ? getInputValidationTextID(inputId) : ""}`.trim();
202
+ };
203
+ /**
204
+ * This method helps to understand the context in which a component exists,
205
+ * to assist with choosing appropriate foreground colours to use. For example,
206
+ * this method will help you use the 'white' version of a button if it's within
207
+ * a block colour element using white foreground text.
208
+ *
209
+ * This only works for components/elements passed via <slot> and not if they
210
+ * are part of an IC component.
211
+ *
212
+ * ""
213
+ * @returns IcThemeForeground depending on the context
214
+ */
215
+ const getThemeFromContext = (el, themeFromEvent = null) => {
216
+ var _a;
217
+ const parentElement = el.parentElement || el.getRootNode().host.parentElement;
218
+ const blockColorParent = parentElement.closest(IC_BLOCK_COLOR_COMPONENTS.join(","));
219
+ // If within a block color component
220
+ if (blockColorParent !== null) {
221
+ const parentTag = blockColorParent.tagName.toLowerCase();
222
+ const currentTag = el.tagName.toLowerCase();
223
+ if ((_a = IC_BLOCK_COLOR_EXCEPTIONS[parentTag]) === null || _a === void 0 ? void 0 : _a.includes(currentTag)) {
224
+ return IcThemeForegroundEnum.Default;
225
+ }
226
+ else if (themeFromEvent !== null &&
227
+ !IC_FIXED_COLOR_COMPONENTS.includes(parentTag)) {
228
+ return themeFromEvent;
229
+ }
230
+ else if (blockColorParent.classList.contains(IcThemeForegroundEnum.Dark)) {
231
+ return IcThemeForegroundEnum.Dark;
232
+ }
233
+ return IcThemeForegroundEnum.Light;
234
+ }
235
+ return IcThemeForegroundEnum.Default;
236
+ };
237
+ const isMobileOrTablet = () => {
238
+ let isMobileOrTablet = false;
239
+ if ("maxTouchPoints" in navigator) {
240
+ isMobileOrTablet = navigator.maxTouchPoints > 0;
241
+ }
242
+ return isMobileOrTablet;
243
+ };
244
+ /**
245
+ * Will create a button within the lightDOM which interacts with the parent form.
246
+ * This is required as buttons within the shadowDOM will not invoke a submit or reset
247
+ *
248
+ * @param form - parent form element which contains shadowDom button
249
+ * @param button - shadowDOM button
250
+ */
251
+ const handleHiddenFormButtonClick = (form, button) => {
252
+ const hiddenFormButton = document.createElement("button");
253
+ hiddenFormButton.setAttribute("type", button.type);
254
+ hiddenFormButton.style.display = "none";
255
+ form.appendChild(hiddenFormButton);
256
+ hiddenFormButton.click();
257
+ hiddenFormButton.remove();
258
+ };
259
+ const isEmptyString = (value) => {
260
+ if (!value) {
261
+ return true;
262
+ }
263
+ return value.trim().length === 0;
264
+ };
265
+ /**
266
+ * Extracts the label using the value from an object. Requires the object to have a label and value property.
267
+ * @param value - value from object
268
+ * @param options - list of menu items
269
+ * @returns - label corresponding to value
270
+ */
271
+ const getLabelFromValue = (value, options) => {
272
+ var _a;
273
+ const ungroupedOptions = [];
274
+ if (options.length > 0 && options.map) {
275
+ options.map((option) => {
276
+ if (option.children) {
277
+ option.children.map((option) => ungroupedOptions.push(option));
278
+ }
279
+ else {
280
+ ungroupedOptions.push(option);
281
+ }
282
+ });
283
+ return (_a = ungroupedOptions.find((option) => option.value === value)) === null || _a === void 0 ? void 0 : _a.label;
284
+ }
285
+ return undefined;
286
+ };
287
+ /**
288
+ * Filters the options based on the search string.
289
+ * @param options - array of options
290
+ * @param includeDescriptions - determines whether option descriptions are included when filtering options
291
+ * @param searchString - string used to filter the options
292
+ * @param position - whether the search string matches the start of or anywhere in the options
293
+ * @returns filtered array of options
294
+ */
295
+ const getFilteredMenuOptions = (options, includeDescriptions, searchString, position) => {
296
+ let rawFilteredOptions;
297
+ if (position === "anywhere") {
298
+ rawFilteredOptions = options.filter((option) => {
299
+ var _a;
300
+ if (includeDescriptions) {
301
+ return (option.label.toLowerCase().includes(searchString.toLowerCase()) ||
302
+ ((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchString.toLowerCase())));
303
+ }
304
+ else {
305
+ return option.label.toLowerCase().includes(searchString.toLowerCase());
306
+ }
307
+ });
308
+ }
309
+ else {
310
+ rawFilteredOptions = options.filter((option) => {
311
+ var _a;
312
+ if (includeDescriptions) {
313
+ return (option.label.toLowerCase().startsWith(searchString.toLowerCase()) ||
314
+ ((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().startsWith(searchString.toLowerCase())));
315
+ }
316
+ else {
317
+ return option.label
318
+ .toLowerCase()
319
+ .startsWith(searchString.toLowerCase());
320
+ }
321
+ });
322
+ }
323
+ return rawFilteredOptions;
324
+ };
325
+ const deviceSizeMatches = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
326
+ const getCurrentDeviceSize = () => {
327
+ if (deviceSizeMatches(DEVICE_SIZES.S)) {
328
+ return DEVICE_SIZES.S;
329
+ }
330
+ if (deviceSizeMatches(DEVICE_SIZES.M)) {
331
+ return DEVICE_SIZES.M;
332
+ }
333
+ if (deviceSizeMatches(DEVICE_SIZES.L)) {
334
+ return DEVICE_SIZES.L;
335
+ }
336
+ if (deviceSizeMatches(DEVICE_SIZES.XL)) {
337
+ return DEVICE_SIZES.XL;
338
+ }
339
+ //fallback needed as all of above get initialised to 0 in jest tests
340
+ return DEVICE_SIZES.UNDEFINED;
341
+ };
342
+ const getCssProperty = (cssVar) => {
343
+ return getComputedStyle(document.documentElement).getPropertyValue(cssVar);
344
+ };
345
+ /**
346
+ * Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:
347
+ * - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
348
+ * - Adding them together and dividing by 1000
349
+ * This is a similar calculation to its CSS counterpart: "--ic-theme-text"
350
+ * @returns number representing the brightness of the theme colour
351
+ */
352
+ const getThemeColorBrightness = () => {
353
+ const themeRed = getCssProperty("--ic-theme-primary-r");
354
+ const themeGreen = getCssProperty("--ic-theme-primary-g");
355
+ const themeBlue = getCssProperty("--ic-theme-primary-b");
356
+ return ((parseInt(themeRed) * 299 +
357
+ parseInt(themeGreen) * 587 +
358
+ parseInt(themeBlue) * 114) /
359
+ 1000);
360
+ };
361
+ /**
362
+ * Returns if dark or light foreground colors should be used for color contrast reasons
363
+ * @returns "dark" or "light"
364
+ */
365
+ const getThemeForegroundColor = () => {
366
+ return getThemeColorBrightness() > DARK_MODE_THRESHOLD
367
+ ? IcThemeForegroundEnum.Dark
368
+ : IcThemeForegroundEnum.Light;
369
+ };
370
+ const getSlot = (element, name) => {
371
+ if (element && element.querySelector) {
372
+ return element.querySelector(`[slot="${name}"]`);
373
+ }
374
+ return null;
375
+ };
376
+ const slotHasContent = (element, name) => getSlot(element, name) !== null;
377
+ const getSlotContent = (element, name) => {
378
+ const slot = getSlot(element, name);
379
+ if (slot) {
380
+ return getSlotElements(slot);
381
+ }
382
+ return null;
383
+ };
384
+ const getSlotElements = (slot) => {
385
+ const slotContent = slot.firstElementChild;
386
+ if (slotContent !== null) {
387
+ const elements = slotContent.assignedElements
388
+ ? slotContent.assignedElements()
389
+ : slotContent.childNodes;
390
+ return elements.length ? elements : null;
391
+ }
392
+ else {
393
+ //check for single element
394
+ return slot === null ? null : [slot];
395
+ }
396
+ };
397
+ const getNavItemParentDetails = (el) => {
398
+ let navType = { navType: "", parent: null };
399
+ switch (getParentElementType(el)) {
400
+ case "IC-NAVIGATION-GROUP":
401
+ navType = getNavItemParentDetails(el.parentElement);
402
+ break;
403
+ case "IC-TOP-NAVIGATION":
404
+ navType = { navType: "top", parent: getParentElement(el) };
405
+ break;
406
+ case "IC-SIDE-NAVIGATION":
407
+ navType = { navType: "side", parent: getParentElement(el) };
408
+ break;
409
+ case "IC-PAGE-HEADER":
410
+ navType = { navType: "page-header", parent: null };
411
+ break;
412
+ }
413
+ return navType;
414
+ };
415
+ const DEVICE_SIZES = {
416
+ XS: Number(getCssProperty("--ic-breakpoint-xs").replace("px", "")),
417
+ S: Number(getCssProperty("--ic-breakpoint-sm").replace("px", "")),
418
+ M: Number(getCssProperty("--ic-breakpoint-md").replace("px", "")),
419
+ L: Number(getCssProperty("--ic-breakpoint-lg").replace("px", "")),
420
+ XL: Number(getCssProperty("--ic-breakpoint-xl").replace("px", "")),
421
+ UNDEFINED: 1200,
422
+ };
423
+ const hasValidationStatus = (status, disabled) => {
424
+ return status !== "" && !disabled;
425
+ };
426
+ const isSlotUsed = (element, slotName) => {
427
+ return Array.from(element.children).some((child) => child.getAttribute("slot") === slotName);
428
+ };
429
+ // added as a common method to allow detection of gatsby hydration issue, where (camelCase) props are initially undefined & then update
430
+ // with a value. Allows a callback function to be executed when this is the case
431
+ const onComponentPropUndefinedChange = (oldValue, newValue, callback) => {
432
+ if (oldValue === undefined && newValue !== oldValue) {
433
+ callback();
434
+ }
435
+ };
436
+ const onComponentRequiredPropUndefined = (props, component) => {
437
+ for (let i = 0; i < props.length; i++) {
438
+ const { prop, propName } = props[i];
439
+ if (prop === null || prop === undefined) {
440
+ console.error(`No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(propName)}' (react) required`);
441
+ }
442
+ }
443
+ };
444
+ const kebabToCamelCase = (kebabCase) => {
445
+ kebabCase = kebabCase.toLowerCase();
446
+ const individualWords = kebabCase.split("-");
447
+ let camelCase = individualWords[0];
448
+ for (let i = 1; i < individualWords.length; i++) {
449
+ camelCase +=
450
+ individualWords[i].substring(0, 1).toUpperCase() +
451
+ individualWords[i].substring(1);
452
+ }
453
+ return camelCase;
454
+ };
455
+ const checkResizeObserver = (callbackFn) => {
456
+ if (typeof window !== "undefined" &&
457
+ typeof window.ResizeObserver !== "undefined") {
458
+ callbackFn();
459
+ }
460
+ };
461
+ const hex2dec = function (v) {
462
+ return parseInt(v, 16);
463
+ };
464
+ const hexToRgba = (hex) => {
465
+ let c;
466
+ if (hex.length === 4) {
467
+ c = hex.replace("#", "").split("");
468
+ return {
469
+ r: hex2dec(c[0] + c[0]),
470
+ g: hex2dec(c[1] + c[1]),
471
+ b: hex2dec(c[2] + c[2]),
472
+ a: 1,
473
+ };
474
+ }
475
+ else {
476
+ return {
477
+ r: hex2dec(hex.slice(1, 3)),
478
+ g: hex2dec(hex.slice(3, 5)),
479
+ b: hex2dec(hex.slice(5)),
480
+ a: 1,
481
+ };
482
+ }
483
+ };
484
+ const rgbaStrToObj = (rgbaStr) => {
485
+ const fourthChar = rgbaStr.slice(3, 4);
486
+ let colorRGBA;
487
+ if (fourthChar.toLowerCase() === "a") {
488
+ colorRGBA = { r: null, g: null, b: null, a: null };
489
+ const rgba = rgbaStr
490
+ .substring(5, rgbaStr.length - 1)
491
+ .replace(/ /g, "")
492
+ .split(",");
493
+ colorRGBA.r = Number(rgba[0]);
494
+ colorRGBA.g = Number(rgba[1]);
495
+ colorRGBA.b = Number(rgba[2]);
496
+ colorRGBA.a = Number(rgba[3]);
497
+ }
498
+ else {
499
+ colorRGBA = { r: null, g: null, b: null, a: 1 };
500
+ const rgb = rgbaStr
501
+ .substring(4, rgbaStr.length - 1)
502
+ .replace(/ /g, "")
503
+ .split(",");
504
+ colorRGBA.r = Number(rgb[0]);
505
+ colorRGBA.g = Number(rgb[1]);
506
+ colorRGBA.b = Number(rgb[2]);
507
+ }
508
+ return colorRGBA;
509
+ };
510
+ const elementOverflowsX = (element) => {
511
+ return element.scrollWidth > element.clientWidth;
512
+ };
513
+ /**
514
+ *
515
+ * @param child - The child element
516
+ * @returns string
517
+ */
518
+ const getParentElementType = (child) => child.parentElement.tagName;
519
+ const getParentElement = (child) => child.parentElement;
520
+ const hasClassificationBanner = () => {
521
+ return document.querySelector("ic-classification-banner:not([inline='true'])")
522
+ ? true
523
+ : false;
524
+ };
525
+ const getForm = (el) => {
526
+ return el.closest("FORM");
527
+ };
528
+ const addFormResetListener = (el, callbackFn) => {
529
+ const form = getForm(el);
530
+ if (form !== null) {
531
+ form.addEventListener("reset", callbackFn);
532
+ }
533
+ };
534
+ const removeFormResetListener = (el, callbackFn) => {
535
+ const form = getForm(el);
536
+ if (form !== null) {
537
+ form.removeEventListener("reset", callbackFn);
538
+ }
539
+ };
540
+ const pxToRem = (px, base = 16) => {
541
+ const tempPx = parseInt(px);
542
+ return `${(1 / base) * tempPx}rem`;
543
+ };
544
+ const removeDisabledFalse = (disabled, element) => {
545
+ if (!disabled) {
546
+ element.removeAttribute("disabled");
547
+ }
548
+ };
549
+
550
+ export { getNavItemParentDetails as A, getParentElementType as B, getSlotContent as C, DEVICE_SIZES as D, getSlot as E, getLabelFromValue as F, getFilteredMenuOptions as G, isMobileOrTablet as H, IC_INHERITED_ARIA as I, debounceEvent as J, isEmptyString as K, handleHiddenFormButtonClick as L, getCssProperty as M, pxToRem as N, getThemeColorBrightness as O, BLACK_MIN_COLOR_BRIGHTNESS as P, hexToRgba as Q, rgbaStrToObj as R, VARIANT_ICONS as V, WHITE_MAX_COLOR_BRIGHTNESS as W, inheritAttributes as a, onComponentPropUndefinedChange as b, checkResizeObserver as c, getCurrentDeviceSize as d, addFormResetListener as e, removeFormResetListener as f, getThemeFromContext as g, renderHiddenInput as h, isSlotUsed as i, removeHiddenInput as j, getInputDescribedByText as k, hasValidationStatus as l, getInputHelperTextID as m, getInputValidationTextID as n, onComponentRequiredPropUndefined as o, errorIcon as p, slotHasContent as q, removeDisabledFalse as r, successIcon as s, getThemeForegroundColor as t, IC_DEVICE_SIZES as u, hasClassificationBanner as v, warningIcon as w, elementOverflowsX as x, getSlotElements as y, getParentElement as z };
551
+
552
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"file":"helpers.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;MACa,aAAa,GAAG;EAC3B,OAAO,EAAE;IACP,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;GACrB;EACD,IAAI,EAAE;IACJ,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,sBAAsB;GAClC;EACD,OAAO,EAAE;IACP,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;GACrB;EACD,KAAK,EAAE;IACL,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,OAAO;GACnB;EACD,OAAO,EAAE;IACP,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;GACrB;EACD;AAEF;MACa,iBAAiB,GAAG;EAC/B,aAAa;EACb,WAAW;EACX,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,kBAAkB;EACl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AAe,EACf,UAAsC;EAEtC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;EACzB,IAAI,IAAI,KAAK,IAAI,EAAE;IACjB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;GAC5C;AACH,EAAE;MAEW,uBAAuB,GAAG,CACrC,EAAe,EACf,UAAsC;EAEtC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;EACzB,IAAI,IAAI,KAAK,IAAI,EAAE;IACjB,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;GAC/C;AACH,EAAE;MAEW,OAAO,GAAG,CAAC,EAAU,EAAE,IAAI,GAAG,EAAE;EAC3C,MAAM,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;EAC5B,OAAO,GAAG,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,KAAK,CAAC;AACrC,EAAE;MAEW,mBAAmB,GAAG,CACjC,QAAiB,EACjB,OAAoB;EAEpB,IAAI,CAAC,QAAQ,EAAE;IACb,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;GACrC;AACH;;;;","names":[],"sources":["./src/utils/constants.ts","./src/utils/helpers.ts"],"sourcesContent":["import errorIcon from \"../assets/error-icon.svg\";\nimport infoIcon from \"../assets/info-icon.svg\";\nimport neutralIcon from \"../assets/neutral-icon.svg\";\nimport successIcon from \"../assets/success-icon.svg\";\nimport warningIcon from \"../assets/warning-icon.svg\";\n\n// Global status icons\nexport const VARIANT_ICONS = {\n neutral: {\n icon: neutralIcon,\n ariaLabel: \"Neutral\",\n },\n info: {\n icon: infoIcon,\n ariaLabel: \"For your information\",\n },\n warning: {\n icon: warningIcon,\n ariaLabel: \"Warning\",\n },\n error: {\n icon: errorIcon,\n ariaLabel: \"Error\",\n },\n success: {\n icon: successIcon,\n ariaLabel: \"Success\",\n },\n};\n\n// Global ARIA attributes\nexport const IC_INHERITED_ARIA = [\n \"aria-atomic\",\n \"aria-busy\",\n \"aria-controls\",\n \"aria-current\",\n \"aria-describedby\",\n \"aria-description\",\n \"aria-details\",\n \"aria-disabled\",\n \"aria-dropeffect\",\n \"aria-errormessage\",\n \"aria-flowto\",\n \"aria-grabbed\",\n \"aria-haspopup\",\n \"aria-hidden\",\n \"aria-invalid\",\n \"aria-keyshortcuts\",\n \"aria-label\",\n \"aria-labelledby\",\n \"aria-live\",\n \"aria-owns\",\n \"aria-relevant\",\n \"aria-roledescription\",\n];\n\nexport const IC_DEVICE_SIZES = {\n XS: 576,\n S: 768,\n M: 992,\n L: 1200,\n XL: 99999,\n};\n\nexport const IC_BLOCK_COLOR_COMPONENTS = [\n \"ic-hero\",\n \"ic-top-navigation\",\n \"ic-footer\",\n \"ic-side-navigation\",\n \"ic-alert\",\n];\n\nexport const IC_FIXED_COLOR_COMPONENTS = [\"ic-alert\"];\n\nexport interface IcColorExceptions {\n [details: string]: string[];\n}\n\nexport const IC_BLOCK_COLOR_EXCEPTIONS: IcColorExceptions = {\n \"ic-alert\": [\"ic-link\"],\n};\n\n/* Range within which the chosen theme colour would not have a sufficient brightness difference with either of the black or white foreground colours\n * The brightness difference must be greater than 125 to provide good colour visibility\n * Calculated by:\n * - Using the brightness formula for both colours: https://www.w3.org/TR/AERT/#color-contrast\n * - Adding 125 to the brightness of the black foreground colour - RGB(11, 12, 12)\n * - Subtracting 125 from the brightness of the white foreground colour - RGB(255, 255, 255)\n */\nexport const BLACK_MIN_COLOR_BRIGHTNESS = 136.701;\nexport const WHITE_MAX_COLOR_BRIGHTNESS = 130;\n","import { EventEmitter } from \"@stencil/core\";\nimport {\n IcCallbackFunctionNoReturn,\n IcInformationStatusOrEmpty,\n IcNavParentDetails,\n IcPropObject,\n IcSearchMatchPositions,\n IcColorRGBA,\n} from \"./types\";\n\nimport {\n IcMenuOption,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../utils/types\";\nimport {\n IC_BLOCK_COLOR_COMPONENTS,\n IC_BLOCK_COLOR_EXCEPTIONS,\n IC_FIXED_COLOR_COMPONENTS,\n} from \"./constants\";\n\nconst DARK_MODE_THRESHOLD = 133.3505;\n\n/**\n * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned\n * to a variable that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (\n element: HTMLElement,\n attributes: string[] = []\n): { [key: string]: unknown } => {\n const attributeObject: { [key: string]: unknown } = {};\n\n attributes.forEach((attr) => {\n if (element.hasAttribute(attr)) {\n const value = element.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = element.getAttribute(attr);\n }\n element.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n};\n\nexport const debounceEvent = (\n event: EventEmitter,\n wait: number\n): EventEmitter => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const original = (event as any)._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n } as EventEmitter;\n};\n\nexport const debounce = (\n func: (...args: unknown[]) => void,\n wait = 0\n): unknown => {\n let timer: ReturnType<typeof setTimeout>;\n return (...args: unknown[]) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nexport const renderHiddenInput = (\n always: boolean,\n container: HTMLElement,\n name: string,\n value: string | undefined | null,\n disabled: boolean\n): void => {\n if (name !== undefined && (always || hasShadowDom(container))) {\n const inputs = container.querySelectorAll(\"input.ic-input\");\n const inputEls = Array.from(inputs);\n const filtered = inputEls.filter((el) => container === el.parentElement);\n\n let input = filtered[0] as HTMLInputElement;\n if (input === null || input === undefined) {\n input = container.ownerDocument.createElement(\"input\");\n input.type = \"hidden\";\n input.classList.add(\"ic-input\");\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || \"\";\n }\n};\n\nexport const removeHiddenInput = (container: HTMLElement): void => {\n const inputs = container.querySelectorAll(\"input.ic-input\");\n const inputEls = Array.from(inputs);\n const filtered = inputEls.filter((el) => container === el.parentElement);\n const input = filtered[0] as HTMLInputElement;\n input?.remove();\n};\n\nexport const hasShadowDom = (el: HTMLElement): boolean => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\n\nexport const getInputHelperTextID = (id: string): string => {\n return id + \"-helper-text\";\n};\n\nexport const getInputValidationTextID = (id: string): string => {\n return id + \"-validation-text\";\n};\n\nexport const getInputDescribedByText = (\n inputId: string,\n helperText: boolean,\n validationText: boolean\n): string => {\n return `${helperText ? getInputHelperTextID(inputId) : \"\"} ${\n validationText ? getInputValidationTextID(inputId) : \"\"\n }`.trim();\n};\n\n/**\n * This method helps to understand the context in which a component exists,\n * to assist with choosing appropriate foreground colours to use. For example,\n * this method will help you use the 'white' version of a button if it's within\n * a block colour element using white foreground text.\n *\n * This only works for components/elements passed via <slot> and not if they\n * are part of an IC component.\n *\n * \"\"\n * @returns IcThemeForeground depending on the context\n */\nexport const getThemeFromContext = (\n el: Element,\n themeFromEvent: IcThemeForeground = null\n): IcThemeForeground => {\n const parentElement =\n el.parentElement || (<ShadowRoot>el.getRootNode()).host.parentElement;\n const blockColorParent = parentElement.closest(\n IC_BLOCK_COLOR_COMPONENTS.join(\",\")\n );\n\n // If within a block color component\n if (blockColorParent !== null) {\n const parentTag = blockColorParent.tagName.toLowerCase();\n const currentTag = el.tagName.toLowerCase();\n\n if (IC_BLOCK_COLOR_EXCEPTIONS[parentTag]?.includes(currentTag)) {\n return IcThemeForegroundEnum.Default;\n } else if (\n themeFromEvent !== null &&\n !IC_FIXED_COLOR_COMPONENTS.includes(parentTag)\n ) {\n return themeFromEvent;\n } else if (\n blockColorParent.classList.contains(IcThemeForegroundEnum.Dark)\n ) {\n return IcThemeForegroundEnum.Dark;\n }\n\n return IcThemeForegroundEnum.Light;\n }\n\n return IcThemeForegroundEnum.Default;\n};\n\nexport const isMobileOrTablet = (): boolean => {\n let isMobileOrTablet = false;\n if (\"maxTouchPoints\" in navigator) {\n isMobileOrTablet = navigator.maxTouchPoints > 0;\n }\n return isMobileOrTablet;\n};\n\n/**\n * Will create a button within the lightDOM which interacts with the parent form.\n * This is required as buttons within the shadowDOM will not invoke a submit or reset\n *\n * @param form - parent form element which contains shadowDom button\n * @param button - shadowDOM button\n */\nexport const handleHiddenFormButtonClick = (\n form: HTMLFormElement,\n button: HTMLIcButtonElement | HTMLButtonElement\n): void => {\n const hiddenFormButton = document.createElement(\"button\");\n\n hiddenFormButton.setAttribute(\"type\", button.type);\n hiddenFormButton.style.display = \"none\";\n\n form.appendChild(hiddenFormButton);\n\n hiddenFormButton.click();\n hiddenFormButton.remove();\n};\n\nexport const isEmptyString = (value: string): boolean => {\n if (!value) {\n return true;\n }\n\n return value.trim().length === 0;\n};\n\n/**\n * Extracts the label using the value from an object. Requires the object to have a label and value property.\n * @param value - value from object\n * @param options - list of menu items\n * @returns - label corresponding to value\n */\nexport const getLabelFromValue = (\n value: string,\n options: IcMenuOption[]\n): string | undefined => {\n const ungroupedOptions: IcMenuOption[] = [];\n if (options.length > 0 && options.map) {\n options.map((option) => {\n if (option.children) {\n option.children.map((option: IcMenuOption) =>\n ungroupedOptions.push(option)\n );\n } else {\n ungroupedOptions.push(option);\n }\n });\n return ungroupedOptions.find((option) => option.value === value)?.label;\n }\n\n return undefined;\n};\n\n/**\n * Filters the options based on the search string.\n * @param options - array of options\n * @param includeDescriptions - determines whether option descriptions are included when filtering options\n * @param searchString - string used to filter the options\n * @param position - whether the search string matches the start of or anywhere in the options\n * @returns filtered array of options\n */\nexport const getFilteredMenuOptions = (\n options: IcMenuOption[],\n includeDescriptions: boolean,\n searchString: string,\n position: IcSearchMatchPositions\n): IcMenuOption[] => {\n let rawFilteredOptions;\n\n if (position === \"anywhere\") {\n rawFilteredOptions = options.filter((option) => {\n if (includeDescriptions) {\n return (\n option.label.toLowerCase().includes(searchString.toLowerCase()) ||\n option.description?.toLowerCase().includes(searchString.toLowerCase())\n );\n } else {\n return option.label.toLowerCase().includes(searchString.toLowerCase());\n }\n });\n } else {\n rawFilteredOptions = options.filter((option) => {\n if (includeDescriptions) {\n return (\n option.label.toLowerCase().startsWith(searchString.toLowerCase()) ||\n option.description\n ?.toLowerCase()\n .startsWith(searchString.toLowerCase())\n );\n } else {\n return option.label\n .toLowerCase()\n .startsWith(searchString.toLowerCase());\n }\n });\n }\n\n return rawFilteredOptions;\n};\n\nexport const deviceSizeMatches = (size: number): boolean =>\n window.matchMedia(`(max-width: ${size}px)`).matches;\n\nexport const getCurrentDeviceSize = (): number => {\n if (deviceSizeMatches(DEVICE_SIZES.S)) {\n return DEVICE_SIZES.S;\n }\n if (deviceSizeMatches(DEVICE_SIZES.M)) {\n return DEVICE_SIZES.M;\n }\n if (deviceSizeMatches(DEVICE_SIZES.L)) {\n return DEVICE_SIZES.L;\n }\n if (deviceSizeMatches(DEVICE_SIZES.XL)) {\n return DEVICE_SIZES.XL;\n }\n //fallback needed as all of above get initialised to 0 in jest tests\n return DEVICE_SIZES.UNDEFINED;\n};\n\nexport const getCssProperty = (cssVar: string): string => {\n return getComputedStyle(document.documentElement).getPropertyValue(cssVar);\n};\n\n/**\n * Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:\n * - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast\n * - Adding them together and dividing by 1000\n * This is a similar calculation to its CSS counterpart: \"--ic-theme-text\"\n * @returns number representing the brightness of the theme colour\n */\nexport const getThemeColorBrightness = (): number => {\n const themeRed = getCssProperty(\"--ic-theme-primary-r\");\n const themeGreen = getCssProperty(\"--ic-theme-primary-g\");\n const themeBlue = getCssProperty(\"--ic-theme-primary-b\");\n return (\n (parseInt(themeRed) * 299 +\n parseInt(themeGreen) * 587 +\n parseInt(themeBlue) * 114) /\n 1000\n );\n};\n\n/**\n * Returns if dark or light foreground colors should be used for color contrast reasons\n * @returns \"dark\" or \"light\"\n */\nexport const getThemeForegroundColor = (): IcThemeForeground => {\n return getThemeColorBrightness() > DARK_MODE_THRESHOLD\n ? IcThemeForegroundEnum.Dark\n : IcThemeForegroundEnum.Light;\n};\n\nexport const getSlot = (element: HTMLElement, name: string): Element | null => {\n if (element && element.querySelector) {\n return element.querySelector(`[slot=\"${name}\"]`);\n }\n return null;\n};\n\nexport const slotHasContent = (element: HTMLElement, name: string): boolean =>\n getSlot(element, name) !== null;\n\nexport const getSlotContent = (\n element: HTMLElement,\n name: string\n): Element[] | NodeListOf<ChildNode> | null => {\n const slot = getSlot(element, name);\n if (slot) {\n return getSlotElements(slot);\n }\n\n return null;\n};\n\nexport const getSlotElements = (\n slot: Element\n): NodeListOf<ChildNode> | Element[] => {\n const slotContent = slot.firstElementChild as HTMLSlotElement;\n\n if (slotContent !== null) {\n const elements = slotContent.assignedElements\n ? slotContent.assignedElements()\n : slotContent.childNodes;\n return elements.length ? elements : null;\n } else {\n //check for single element\n return slot === null ? null : [slot];\n }\n};\n\nexport const getNavItemParentDetails = (\n el: HTMLElement\n): IcNavParentDetails => {\n let navType: IcNavParentDetails = { navType: \"\", parent: null };\n switch (getParentElementType(el)) {\n case \"IC-NAVIGATION-GROUP\":\n navType = getNavItemParentDetails(el.parentElement);\n break;\n case \"IC-TOP-NAVIGATION\":\n navType = { navType: \"top\", parent: getParentElement(el) };\n break;\n case \"IC-SIDE-NAVIGATION\":\n navType = { navType: \"side\", parent: getParentElement(el) };\n break;\n case \"IC-PAGE-HEADER\":\n navType = { navType: \"page-header\", parent: null };\n break;\n }\n return navType;\n};\n\nexport const DEVICE_SIZES = {\n XS: Number(getCssProperty(\"--ic-breakpoint-xs\").replace(\"px\", \"\")), // 0\n S: Number(getCssProperty(\"--ic-breakpoint-sm\").replace(\"px\", \"\")), // 576\n M: Number(getCssProperty(\"--ic-breakpoint-md\").replace(\"px\", \"\")), // 768\n L: Number(getCssProperty(\"--ic-breakpoint-lg\").replace(\"px\", \"\")), // 992\n XL: Number(getCssProperty(\"--ic-breakpoint-xl\").replace(\"px\", \"\")), // 1200\n UNDEFINED: 1200,\n};\n\nexport const hasValidationStatus = (\n status: IcInformationStatusOrEmpty,\n disabled: boolean\n): boolean => {\n return status !== \"\" && !disabled;\n};\n\nexport const isSlotUsed = (element: HTMLElement, slotName: string): boolean => {\n return Array.from(element.children).some(\n (child) => child.getAttribute(\"slot\") === slotName\n );\n};\n\n// added as a common method to allow detection of gatsby hydration issue, where (camelCase) props are initially undefined & then update\n// with a value. Allows a callback function to be executed when this is the case\nexport const onComponentPropUndefinedChange = (\n oldValue: string | undefined,\n newValue: string | undefined,\n callback: IcCallbackFunctionNoReturn\n): void => {\n if (oldValue === undefined && newValue !== oldValue) {\n callback();\n }\n};\n\nexport const onComponentRequiredPropUndefined = (\n props: IcPropObject[],\n component: string\n): void => {\n for (let i = 0; i < props.length; i++) {\n const { prop, propName } = props[i];\n if (prop === null || prop === undefined) {\n console.error(\n `No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(\n propName\n )}' (react) required`\n );\n }\n }\n};\n\nexport const kebabToCamelCase = (kebabCase: string): string => {\n kebabCase = kebabCase.toLowerCase();\n const individualWords: string[] = kebabCase.split(\"-\");\n let camelCase = individualWords[0];\n for (let i = 1; i < individualWords.length; i++) {\n camelCase +=\n individualWords[i].substring(0, 1).toUpperCase() +\n individualWords[i].substring(1);\n }\n return camelCase;\n};\n\nexport const checkResizeObserver = (\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n if (\n typeof window !== \"undefined\" &&\n typeof window.ResizeObserver !== \"undefined\"\n ) {\n callbackFn();\n }\n};\n\nconst hex2dec = function (v: string) {\n return parseInt(v, 16);\n};\n\nexport const hexToRgba = (hex: string): IcColorRGBA => {\n let c;\n if (hex.length === 4) {\n c = hex.replace(\"#\", \"\").split(\"\");\n return {\n r: hex2dec(c[0] + c[0]),\n g: hex2dec(c[1] + c[1]),\n b: hex2dec(c[2] + c[2]),\n a: 1,\n };\n } else {\n return {\n r: hex2dec(hex.slice(1, 3)),\n g: hex2dec(hex.slice(3, 5)),\n b: hex2dec(hex.slice(5)),\n a: 1,\n };\n }\n};\n\nexport const rgbaStrToObj = (rgbaStr: string): IcColorRGBA => {\n const fourthChar = rgbaStr.slice(3, 4);\n let colorRGBA: IcColorRGBA;\n if (fourthChar.toLowerCase() === \"a\") {\n colorRGBA = { r: null, g: null, b: null, a: null };\n const rgba = rgbaStr\n .substring(5, rgbaStr.length - 1)\n .replace(/ /g, \"\")\n .split(\",\");\n colorRGBA.r = Number(rgba[0]);\n colorRGBA.g = Number(rgba[1]);\n colorRGBA.b = Number(rgba[2]);\n colorRGBA.a = Number(rgba[3]);\n } else {\n colorRGBA = { r: null, g: null, b: null, a: 1 };\n const rgb = rgbaStr\n .substring(4, rgbaStr.length - 1)\n .replace(/ /g, \"\")\n .split(\",\");\n colorRGBA.r = Number(rgb[0]);\n colorRGBA.g = Number(rgb[1]);\n colorRGBA.b = Number(rgb[2]);\n }\n\n return colorRGBA;\n};\n\nexport const elementOverflowsX = (element: HTMLElement): boolean => {\n return element.scrollWidth > element.clientWidth;\n};\n/**\n *\n * @param child - The child element\n * @returns string\n */\nexport const getParentElementType = (child: HTMLElement): string =>\n child.parentElement.tagName;\n\nexport const getParentElement = (child: HTMLElement): HTMLElement =>\n child.parentElement;\n\nexport const hasClassificationBanner = (): boolean => {\n return document.querySelector(\"ic-classification-banner:not([inline='true'])\")\n ? true\n : false;\n};\n\nexport const getForm = (el: HTMLElement): HTMLFormElement | null => {\n return el.closest(\"FORM\");\n};\n\nexport const addFormResetListener = (\n el: HTMLElement,\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n const form = getForm(el);\n if (form !== null) {\n form.addEventListener(\"reset\", callbackFn);\n }\n};\n\nexport const removeFormResetListener = (\n el: HTMLElement,\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n const form = getForm(el);\n if (form !== null) {\n form.removeEventListener(\"reset\", callbackFn);\n }\n};\n\nexport const pxToRem = (px: string, base = 16): string => {\n const tempPx = parseInt(px);\n return `${(1 / base) * tempPx}rem`;\n};\n\nexport const removeDisabledFalse = (\n disabled: boolean,\n element: HTMLElement\n): void => {\n if (!disabled) {\n element.removeAttribute(\"disabled\");\n }\n};\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IcAlert extends Components.IcAlert, HTMLElement {}
4
+ export const IcAlert: {
5
+ prototype: IcAlert;
6
+ new (): IcAlert;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,8 @@
1
+ import { A as Alert, d as defineCustomElement$1 } from './ic-alert2.js';
2
+
3
+ const IcAlert = Alert;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { IcAlert, defineCustomElement };
7
+
8
+ //# sourceMappingURL=ic-alert.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-alert.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}