@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,533 @@
1
+ import { h } from "@stencil/core";
2
+ import unsortedIcon from "./assets/unsorted-icon.svg";
3
+ import ascendingIcon from "./assets/ascending-icon.svg";
4
+ import descendingIcon from "./assets/descending-icon.svg";
5
+ export class DataTable {
6
+ constructor() {
7
+ this.SORT_ICONS = {
8
+ unsorted: unsortedIcon,
9
+ ascending: ascendingIcon,
10
+ descending: descendingIcon,
11
+ };
12
+ this.isObject = (value) => typeof value === "object";
13
+ this.notDefaultDensity = () => this.density !== "default";
14
+ this.getCellContent = (cell, dataType) => {
15
+ switch (dataType) {
16
+ case "element":
17
+ return undefined;
18
+ case "date":
19
+ return (cell instanceof Date ? cell : new Date(cell)).toLocaleDateString();
20
+ default:
21
+ return cell;
22
+ }
23
+ };
24
+ this.getCellAlignment = (cell, alignment) => {
25
+ if (this.isObject(cell) && Object.keys(cell).includes("cellAlignment")) {
26
+ return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
27
+ }
28
+ };
29
+ this.createCells = (row) => {
30
+ const rowValues = Object.values(row);
31
+ const rowKeys = Object.keys(row);
32
+ let rowAlignment;
33
+ let rowEmphasis;
34
+ const headerIndex = rowKeys.indexOf("header");
35
+ if (headerIndex > -1) {
36
+ rowAlignment = this.getObjectValue(rowValues[headerIndex], "rowAlignment");
37
+ rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
38
+ }
39
+ return rowValues.map((cell, index) => {
40
+ const { columnAlignment, dataType, emphasis } = this.columns[index];
41
+ const cellValue = (key) => this.getObjectValue(cell, key);
42
+ return rowKeys[index] === "header" ? (h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
43
+ ["row-header"]: true,
44
+ [`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
45
+ ["row-header-sticky"]: this.stickyRowHeaders,
46
+ } }, cellValue("title"))) : (h("td", { innerHTML: dataType === "element" ? cell : null, class: {
47
+ ["table-cell"]: true,
48
+ [`table-density-${this.density}`]: this.notDefaultDensity(),
49
+ [`data-type-${dataType}`]: true,
50
+ [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
51
+ this.getCellAlignment(cell, "horizontal")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
52
+ !!this.getCellAlignment(cell, "horizontal"),
53
+ [`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
54
+ rowAlignment ||
55
+ this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
56
+ !!rowAlignment ||
57
+ !!this.getCellAlignment(cell, "vertical"),
58
+ } }, h("ic-typography", { variant: "body", class: {
59
+ [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
60
+ emphasis ||
61
+ rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
62
+ !!emphasis ||
63
+ !!rowEmphasis,
64
+ [`text-${this.density}`]: this.notDefaultDensity(),
65
+ } }, this.isObject(cell) && dataType !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, dataType)))));
66
+ });
67
+ };
68
+ this.createColumnHeaders = () => {
69
+ return this.columns.map(({ cellAlignment, colspan, key, title }) => (h("th", { scope: "col", class: {
70
+ ["column-header"]: true,
71
+ [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
72
+ [`table-density-${this.density}`]: this.notDefaultDensity(),
73
+ }, colSpan: colspan }, this.sortable ? (h("div", { class: "column-header-inner-container" }, h("ic-typography", { variant: "body", class: {
74
+ ["column-header-text"]: true,
75
+ [`text-${this.density}`]: this.notDefaultDensity(),
76
+ } }, title), h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
77
+ // eslint-disable-next-line react/jsx-no-bind
78
+ onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
79
+ ? this.sortedColumnOrder
80
+ : "unsorted"], class: {
81
+ ["sort-button"]: true,
82
+ ["sort-button-unsorted"]: this.sortedColumn !== key ||
83
+ this.sortedColumnOrder === "unsorted",
84
+ } }))) : (h("ic-typography", { variant: "body", class: {
85
+ ["column-header-text"]: true,
86
+ [`text-${this.density}`]: this.notDefaultDensity(),
87
+ } }, title)))));
88
+ };
89
+ this.createRows = () => {
90
+ const data = this.showPagination
91
+ ? this.data.slice(this.fromRow, this.toRow)
92
+ : this.data.slice();
93
+ return data
94
+ .sort(!this.sortable ? undefined : this.getSortFunction())
95
+ .map((row) => (h("tr", { onClick: () => (this.selectedRow = this.selectedRow !== row && row), class: {
96
+ ["table-row"]: true,
97
+ ["table-row-selected"]: this.selectedRow === row,
98
+ } }, this.createCells(row))));
99
+ };
100
+ this.getObjectValue = (cell, key) => {
101
+ return Object.values(cell)[Object.keys(cell).indexOf(key)];
102
+ };
103
+ this.getSortButtonLabel = (key) => {
104
+ let label = "";
105
+ const getNextSortOption = (option) => {
106
+ const sortOrders = this.sortOptions.sortOrders;
107
+ return sortOrders[(sortOrders.indexOf(option) + 1) % sortOrders.length];
108
+ };
109
+ if (this.sortedColumn === key) {
110
+ const sortOption = getNextSortOption(this.sortedColumnOrder);
111
+ label = sortOption !== "unsorted" ? `Sort ${sortOption}` : "Remove sort";
112
+ }
113
+ else {
114
+ label = `Sort ${getNextSortOption("unsorted")}`;
115
+ }
116
+ return label;
117
+ };
118
+ this.getComparison = (targetRow, comparisonRow) => {
119
+ const targetRowValue = targetRow[this.sortedColumn];
120
+ const comparisonRowValue = comparisonRow[this.sortedColumn];
121
+ return this.columns.find((col) => col.key === this.sortedColumn)
122
+ .dataType === "date"
123
+ ? new Date(targetRowValue).valueOf() -
124
+ new Date(comparisonRowValue).valueOf()
125
+ : String(this.isObject(targetRowValue)
126
+ ? Object.values(targetRowValue)[0]
127
+ : targetRowValue).localeCompare(String(this.isObject(comparisonRowValue)
128
+ ? Object.values(comparisonRowValue)[0]
129
+ : comparisonRowValue), undefined, { numeric: true, sensitivity: "base" });
130
+ };
131
+ this.getSortFunction = () => {
132
+ switch (this.sortedColumnOrder) {
133
+ case "ascending":
134
+ return (a, b) => this.getComparison(a, b);
135
+ case "descending":
136
+ return (a, b) => this.getComparison(b, a);
137
+ default:
138
+ return undefined;
139
+ }
140
+ };
141
+ this.sortRows = (column) => {
142
+ const sortButton = this.el.shadowRoot.querySelector(`#sort-button-${column}`);
143
+ const sortOrders = this.sortOptions.sortOrders;
144
+ if (column !== this.sortedColumn) {
145
+ if (this.sortedColumn) {
146
+ const previousSortedButton = this.el.shadowRoot.querySelector(`#sort-button-${this.sortedColumn}`);
147
+ previousSortedButton.updateAriaLabel(this.getSortButtonLabel(column)); // Passing through unsorted column returns correct label for newly unsorted column
148
+ }
149
+ this.sortedColumn = column;
150
+ this.sortedColumnOrder = "unsorted";
151
+ }
152
+ let nextSortOrderIndex = sortOrders.indexOf(this.sortedColumnOrder) + 1;
153
+ if (nextSortOrderIndex > sortOrders.length - 1) {
154
+ nextSortOrderIndex = 0;
155
+ }
156
+ this.sortedColumnOrder = sortOrders[nextSortOrderIndex];
157
+ sortButton.updateAriaLabel(this.getSortButtonLabel(column));
158
+ };
159
+ this.updateScrollOffset = () => {
160
+ this.scrollOffset = this.el.shadowRoot.querySelector(".table-row-container").scrollTop;
161
+ };
162
+ this.fromRow = 0;
163
+ this.previousRowsPerPage = undefined;
164
+ this.rowsPerPage = undefined;
165
+ this.scrollable = false;
166
+ this.scrollOffset = 0;
167
+ this.selectedRow = undefined;
168
+ this.sortedColumn = undefined;
169
+ this.sortedColumnOrder = undefined;
170
+ this.toRow = undefined;
171
+ this.caption = undefined;
172
+ this.columns = undefined;
173
+ this.data = undefined;
174
+ this.density = "default";
175
+ this.embedded = false;
176
+ this.hideColumnHeaders = false;
177
+ this.paginationOptions = {
178
+ itemsPerPage: [
179
+ { label: "10", value: "10" },
180
+ { label: "25", value: "25" },
181
+ { label: "50", value: "50" },
182
+ ],
183
+ type: "page",
184
+ control: "simple",
185
+ itemsPerPageControl: true,
186
+ goToPageControl: true,
187
+ alignment: "right",
188
+ };
189
+ this.showPagination = false;
190
+ this.sortable = false;
191
+ this.sortOptions = {
192
+ sortOrders: ["unsorted", "ascending", "descending"],
193
+ defaultColumn: "",
194
+ };
195
+ this.stickyColumnHeaders = false;
196
+ this.stickyRowHeaders = false;
197
+ }
198
+ componentWillLoad() {
199
+ this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);
200
+ this.previousRowsPerPage = this.rowsPerPage;
201
+ this.toRow = this.rowsPerPage;
202
+ this.sortedColumn = this.sortOptions.defaultColumn;
203
+ this.sortedColumnOrder = this.sortOptions.sortOrders[0];
204
+ }
205
+ componentDidLoad() {
206
+ const tableElement = this.el.shadowRoot.querySelector("table");
207
+ const tableContainer = this.el.shadowRoot.querySelector(".table-container");
208
+ if ((tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientHeight) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientHeight) ||
209
+ (tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientWidth) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientWidth)) {
210
+ this.scrollable = true;
211
+ }
212
+ }
213
+ handleItemsPerPageChange(ev) {
214
+ this.previousRowsPerPage = this.rowsPerPage;
215
+ this.rowsPerPage = ev.detail.value;
216
+ }
217
+ handlePageChange(ev) {
218
+ this.fromRow = (ev.detail.value - 1) * this.rowsPerPage;
219
+ this.toRow = this.fromRow + this.rowsPerPage;
220
+ const tableRowsContainer = this.el.shadowRoot.querySelector(".table-row-container");
221
+ if (this.previousRowsPerPage === this.rowsPerPage) {
222
+ tableRowsContainer.scrollTop = 0;
223
+ }
224
+ else if (this.previousRowsPerPage < this.rowsPerPage) {
225
+ tableRowsContainer.scrollTop = this.scrollOffset;
226
+ this.previousRowsPerPage = this.rowsPerPage;
227
+ }
228
+ else {
229
+ this.previousRowsPerPage = this.rowsPerPage;
230
+ }
231
+ }
232
+ clickListener(ev) {
233
+ if (ev.target !== this.el)
234
+ this.selectedRow = undefined;
235
+ }
236
+ render() {
237
+ const { caption, createColumnHeaders, createRows, data, hideColumnHeaders, paginationOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, } = this;
238
+ return (h("div", { class: "table-container" }, h("div", { class: {
239
+ ["table-row-container"]: true,
240
+ scrollable,
241
+ }, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, h("table", null, h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (h("thead", { class: {
242
+ ["column-header-sticky"]: stickyColumnHeaders,
243
+ ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
244
+ } }, h("tr", null, createColumnHeaders()))), (data === null || data === void 0 ? void 0 : data.length) > 0 && h("tbody", null, createRows()))), showPagination && (h("div", { class: "pagination-container" }, h("ic-pagination-bar", { totalItems: data.length, paginationType: paginationOptions.type, paginationControl: paginationOptions.control, showItemsPerPageControl: paginationOptions.itemsPerPageControl, showGoToPageControl: paginationOptions.goToPageControl, itemsPerPageOptions: paginationOptions.itemsPerPage, alignment: paginationOptions.alignment }))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
245
+ ? `${sortedColumn} sorted ${sortedColumnOrder}`
246
+ : "table unsorted"))));
247
+ }
248
+ static get is() { return "ic-unstable-data-table"; }
249
+ static get encapsulation() { return "shadow"; }
250
+ static get originalStyleUrls() {
251
+ return {
252
+ "$": ["ic-data-table.css"]
253
+ };
254
+ }
255
+ static get styleUrls() {
256
+ return {
257
+ "$": ["ic-data-table.css"]
258
+ };
259
+ }
260
+ static get properties() {
261
+ return {
262
+ "caption": {
263
+ "type": "string",
264
+ "mutable": false,
265
+ "complexType": {
266
+ "original": "string",
267
+ "resolved": "string",
268
+ "references": {}
269
+ },
270
+ "required": true,
271
+ "optional": false,
272
+ "docs": {
273
+ "tags": [],
274
+ "text": "The title for the table only visible to screen readers."
275
+ },
276
+ "attribute": "caption",
277
+ "reflect": false
278
+ },
279
+ "columns": {
280
+ "type": "unknown",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "IcDataTableColumnObject[]",
284
+ "resolved": "IcDataTableColumnObject[]",
285
+ "references": {
286
+ "IcDataTableColumnObject": {
287
+ "location": "import",
288
+ "path": "./ic-data-table.types"
289
+ }
290
+ }
291
+ },
292
+ "required": true,
293
+ "optional": false,
294
+ "docs": {
295
+ "tags": [],
296
+ "text": "The column headers for the table."
297
+ }
298
+ },
299
+ "data": {
300
+ "type": "unknown",
301
+ "mutable": false,
302
+ "complexType": {
303
+ "original": "{ [key: string]: any }[]",
304
+ "resolved": "{ [key: string]: any; }[]",
305
+ "references": {}
306
+ },
307
+ "required": false,
308
+ "optional": false,
309
+ "docs": {
310
+ "tags": [],
311
+ "text": "The row content for the table."
312
+ }
313
+ },
314
+ "density": {
315
+ "type": "string",
316
+ "mutable": false,
317
+ "complexType": {
318
+ "original": "IcDataTableDensityOptions",
319
+ "resolved": "\"default\" | \"dense\" | \"spacious\"",
320
+ "references": {
321
+ "IcDataTableDensityOptions": {
322
+ "location": "import",
323
+ "path": "./ic-data-table.types"
324
+ }
325
+ }
326
+ },
327
+ "required": false,
328
+ "optional": true,
329
+ "docs": {
330
+ "tags": [],
331
+ "text": "Set the density of the table including font and padding."
332
+ },
333
+ "attribute": "density",
334
+ "reflect": false,
335
+ "defaultValue": "\"default\""
336
+ },
337
+ "embedded": {
338
+ "type": "boolean",
339
+ "mutable": false,
340
+ "complexType": {
341
+ "original": "boolean",
342
+ "resolved": "boolean",
343
+ "references": {}
344
+ },
345
+ "required": false,
346
+ "optional": true,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": "Applies a border to the table container."
350
+ },
351
+ "attribute": "embedded",
352
+ "reflect": false,
353
+ "defaultValue": "false"
354
+ },
355
+ "hideColumnHeaders": {
356
+ "type": "boolean",
357
+ "mutable": false,
358
+ "complexType": {
359
+ "original": "boolean",
360
+ "resolved": "boolean",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": true,
365
+ "docs": {
366
+ "tags": [],
367
+ "text": "If `true`, column headers will not be visible."
368
+ },
369
+ "attribute": "hide-column-headers",
370
+ "reflect": false,
371
+ "defaultValue": "false"
372
+ },
373
+ "paginationOptions": {
374
+ "type": "unknown",
375
+ "mutable": false,
376
+ "complexType": {
377
+ "original": "{\n itemsPerPage?: { label: string; value: string }[];\n type?: IcPaginationTypes;\n control?: IcPaginationControlTypes;\n itemsPerPageControl?: boolean;\n goToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n }",
378
+ "resolved": "{ itemsPerPage?: { label: string; value: string; }[]; type?: IcPaginationTypes; control?: IcPaginationControlTypes; itemsPerPageControl?: boolean; goToPageControl?: boolean; alignment?: IcPaginationAlignmentOptions; }",
379
+ "references": {
380
+ "IcPaginationTypes": {
381
+ "location": "import",
382
+ "path": "../ic-pagination/ic-pagination.types"
383
+ },
384
+ "IcPaginationControlTypes": {
385
+ "location": "import",
386
+ "path": "../ic-pagination/ic-pagination.types"
387
+ },
388
+ "IcPaginationAlignmentOptions": {
389
+ "location": "import",
390
+ "path": "../ic-pagination/ic-pagination.types"
391
+ }
392
+ }
393
+ },
394
+ "required": false,
395
+ "optional": true,
396
+ "docs": {
397
+ "tags": [],
398
+ "text": "Sets the props for the pagination bar."
399
+ },
400
+ "defaultValue": "{\n itemsPerPage: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n type: \"page\",\n control: \"simple\",\n itemsPerPageControl: true,\n goToPageControl: true,\n alignment: \"right\",\n }"
401
+ },
402
+ "showPagination": {
403
+ "type": "boolean",
404
+ "mutable": false,
405
+ "complexType": {
406
+ "original": "boolean",
407
+ "resolved": "boolean",
408
+ "references": {}
409
+ },
410
+ "required": false,
411
+ "optional": true,
412
+ "docs": {
413
+ "tags": [],
414
+ "text": "If `true`, adds a pagination bar to the bottom of the table."
415
+ },
416
+ "attribute": "show-pagination",
417
+ "reflect": false,
418
+ "defaultValue": "false"
419
+ },
420
+ "sortable": {
421
+ "type": "boolean",
422
+ "mutable": false,
423
+ "complexType": {
424
+ "original": "boolean",
425
+ "resolved": "boolean",
426
+ "references": {}
427
+ },
428
+ "required": false,
429
+ "optional": true,
430
+ "docs": {
431
+ "tags": [],
432
+ "text": "If `true`, allows table columns to be sorted using applied sort buttons."
433
+ },
434
+ "attribute": "sortable",
435
+ "reflect": false,
436
+ "defaultValue": "false"
437
+ },
438
+ "sortOptions": {
439
+ "type": "unknown",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "{\n sortOrders: IcDataTableSortOrderOptions[];\n defaultColumn?: string;\n }",
443
+ "resolved": "{ sortOrders: IcDataTableSortOrderOptions[]; defaultColumn?: string; }",
444
+ "references": {
445
+ "IcDataTableSortOrderOptions": {
446
+ "location": "import",
447
+ "path": "./ic-data-table.types"
448
+ }
449
+ }
450
+ },
451
+ "required": false,
452
+ "optional": true,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "Sets the order columns will be sorted in and allows for 'default' sorts to be added."
456
+ },
457
+ "defaultValue": "{\n sortOrders: [\"unsorted\", \"ascending\", \"descending\"],\n defaultColumn: \"\",\n }"
458
+ },
459
+ "stickyColumnHeaders": {
460
+ "type": "boolean",
461
+ "mutable": false,
462
+ "complexType": {
463
+ "original": "boolean",
464
+ "resolved": "boolean",
465
+ "references": {}
466
+ },
467
+ "required": false,
468
+ "optional": true,
469
+ "docs": {
470
+ "tags": [],
471
+ "text": "If `true`, column headers will remain at the top of the table when scrolling vertically."
472
+ },
473
+ "attribute": "sticky-column-headers",
474
+ "reflect": false,
475
+ "defaultValue": "false"
476
+ },
477
+ "stickyRowHeaders": {
478
+ "type": "boolean",
479
+ "mutable": false,
480
+ "complexType": {
481
+ "original": "boolean",
482
+ "resolved": "boolean",
483
+ "references": {}
484
+ },
485
+ "required": false,
486
+ "optional": true,
487
+ "docs": {
488
+ "tags": [],
489
+ "text": "If `true`, row headers will remain to the left when scrolling horizontally."
490
+ },
491
+ "attribute": "sticky-row-headers",
492
+ "reflect": false,
493
+ "defaultValue": "false"
494
+ }
495
+ };
496
+ }
497
+ static get states() {
498
+ return {
499
+ "fromRow": {},
500
+ "previousRowsPerPage": {},
501
+ "rowsPerPage": {},
502
+ "scrollable": {},
503
+ "scrollOffset": {},
504
+ "selectedRow": {},
505
+ "sortedColumn": {},
506
+ "sortedColumnOrder": {},
507
+ "toRow": {}
508
+ };
509
+ }
510
+ static get elementRef() { return "el"; }
511
+ static get listeners() {
512
+ return [{
513
+ "name": "icItemsPerPageChange",
514
+ "method": "handleItemsPerPageChange",
515
+ "target": undefined,
516
+ "capture": false,
517
+ "passive": false
518
+ }, {
519
+ "name": "icPageChange",
520
+ "method": "handlePageChange",
521
+ "target": undefined,
522
+ "capture": false,
523
+ "passive": false
524
+ }, {
525
+ "name": "click",
526
+ "method": "clickListener",
527
+ "target": "window",
528
+ "capture": false,
529
+ "passive": false
530
+ }];
531
+ }
532
+ }
533
+ //# sourceMappingURL=ic-data-table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-data-table.js","sourceRoot":"","sources":["../../../src/components/ic-data-table/ic-data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAkB1D,MAAM,OAAO,SAAS;;IACZ,eAAU,GAAG;MACnB,QAAQ,EAAE,YAAY;MACtB,SAAS,EAAE,aAAa;MACxB,UAAU,EAAE,cAAc;KAC3B,CAAC;IAyJM,aAAQ,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC;IAErD,sBAAiB,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;IAErD,mBAAc,GAAG,CACvB,IAAS,EACT,QAAoC,EAC/B,EAAE;MACP,QAAQ,QAAQ,EAAE;QAChB,KAAK,SAAS;UACZ,OAAO,SAAS,CAAC;QACnB,KAAK,MAAM;UACT,OAAO,CACL,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAC7C,CAAC,kBAAkB,EAAE,CAAC;QACzB;UACE,OAAO,IAAI,CAAC;OACf;IACH,CAAC,CAAC;IAEM,qBAAgB,GAAG,CACzB,IAAS,EACT,SAAoC,EACpC,EAAE;MACF,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,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,WAAK,KAAK,EAAC,yBAAyB,eAAW,QAAQ,IACpD,iBAAiB,KAAK,UAAU,IAAI,YAAY;QAC/C,CAAC,CAAC,GAAG,YAAY,WAAW,iBAAiB,EAAE;QAC/C,CAAC,CAAC,gBAAgB,CAChB,CACP,CACG,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State, Listen } from \"@stencil/core\";\nimport unsortedIcon from \"./assets/unsorted-icon.svg\";\nimport ascendingIcon from \"./assets/ascending-icon.svg\";\nimport descendingIcon from \"./assets/descending-icon.svg\";\nimport {\n IcDataTableColumnDataTypes,\n IcDataTableColumnObject,\n IcDataTableDensityOptions,\n IcDataTableSortOrderOptions,\n} from \"./ic-data-table.types\";\nimport {\n IcPaginationAlignmentOptions,\n IcPaginationControlTypes,\n IcPaginationTypes,\n} from \"../ic-pagination/ic-pagination.types\";\n\n@Component({\n tag: \"ic-unstable-data-table\",\n styleUrl: \"ic-data-table.css\",\n shadow: true,\n})\nexport class DataTable {\n private SORT_ICONS = {\n unsorted: unsortedIcon,\n ascending: ascendingIcon,\n descending: descendingIcon,\n };\n\n @Element() el: HTMLIcUnstableDataTableElement;\n\n @State() fromRow: number = 0;\n\n @State() previousRowsPerPage: number;\n\n @State() rowsPerPage: number;\n\n @State() scrollable: boolean = false;\n\n @State() scrollOffset: number = 0;\n\n @State() selectedRow: object;\n\n @State() sortedColumn: string;\n\n @State() sortedColumnOrder: IcDataTableSortOrderOptions;\n\n @State() toRow: number;\n\n /**\n * The title for the table only visible to screen readers.\n */\n @Prop() caption!: string;\n\n /**\n * The column headers for the table.\n */\n @Prop() columns!: IcDataTableColumnObject[];\n\n /**\n * The row content for the table.\n */\n @Prop() data: { [key: string]: any }[];\n\n /**\n * Set the density of the table including font and padding.\n */\n @Prop() density?: IcDataTableDensityOptions = \"default\";\n\n /**\n * Applies a border to the table container.\n */\n @Prop() embedded?: boolean = false;\n\n /**\n * If `true`, column headers will not be visible.\n */\n @Prop() hideColumnHeaders?: boolean = false;\n\n /**\n * Sets the props for the pagination bar.\n */\n @Prop() paginationOptions?: {\n itemsPerPage?: { label: string; value: string }[];\n type?: IcPaginationTypes;\n control?: IcPaginationControlTypes;\n itemsPerPageControl?: boolean;\n goToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n } = {\n itemsPerPage: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n type: \"page\",\n control: \"simple\",\n itemsPerPageControl: true,\n goToPageControl: true,\n alignment: \"right\",\n };\n\n /**\n * If `true`, adds a pagination bar to the bottom of the table.\n */\n @Prop() showPagination?: boolean = false;\n\n /**\n * If `true`, allows table columns to be sorted using applied sort buttons.\n */\n @Prop() sortable?: boolean = false;\n\n /**\n * Sets the order columns will be sorted in and allows for 'default' sorts to be added.\n */\n @Prop() sortOptions?: {\n sortOrders: IcDataTableSortOrderOptions[];\n defaultColumn?: string;\n } = {\n sortOrders: [\"unsorted\", \"ascending\", \"descending\"],\n defaultColumn: \"\",\n };\n\n /**\n * If `true`, column headers will remain at the top of the table when scrolling vertically.\n */\n @Prop() stickyColumnHeaders?: boolean = false;\n\n /**\n * If `true`, row headers will remain to the left when scrolling horizontally.\n */\n @Prop() stickyRowHeaders?: boolean = false;\n\n componentWillLoad(): void {\n this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);\n this.previousRowsPerPage = this.rowsPerPage;\n this.toRow = this.rowsPerPage;\n this.sortedColumn = this.sortOptions.defaultColumn;\n this.sortedColumnOrder = this.sortOptions.sortOrders[0];\n }\n\n componentDidLoad(): void {\n const tableElement = this.el.shadowRoot.querySelector(\"table\");\n const tableContainer = this.el.shadowRoot.querySelector(\".table-container\");\n if (\n tableElement?.clientHeight > tableContainer?.clientHeight ||\n tableElement?.clientWidth > tableContainer?.clientWidth\n ) {\n this.scrollable = true;\n }\n }\n\n @Listen(\"icItemsPerPageChange\")\n handleItemsPerPageChange(ev: CustomEvent): void {\n this.previousRowsPerPage = this.rowsPerPage;\n this.rowsPerPage = ev.detail.value;\n }\n\n @Listen(\"icPageChange\")\n handlePageChange(ev: CustomEvent): void {\n this.fromRow = (ev.detail.value - 1) * this.rowsPerPage;\n this.toRow = this.fromRow + this.rowsPerPage;\n const tableRowsContainer = this.el.shadowRoot.querySelector(\n \".table-row-container\"\n );\n if (this.previousRowsPerPage === this.rowsPerPage) {\n tableRowsContainer.scrollTop = 0;\n } else if (this.previousRowsPerPage < this.rowsPerPage) {\n tableRowsContainer.scrollTop = this.scrollOffset;\n this.previousRowsPerPage = this.rowsPerPage;\n } else {\n this.previousRowsPerPage = this.rowsPerPage;\n }\n }\n\n @Listen(\"click\", { target: \"window\" })\n clickListener(ev: MouseEvent): void {\n if (ev.target !== this.el) this.selectedRow = undefined;\n }\n\n private isObject = (value: any) => typeof value === \"object\";\n\n private notDefaultDensity = () => this.density !== \"default\";\n\n private getCellContent = (\n cell: any,\n dataType: IcDataTableColumnDataTypes\n ): any => {\n switch (dataType) {\n case \"element\":\n return undefined;\n case \"date\":\n return (\n cell instanceof Date ? cell : new Date(cell)\n ).toLocaleDateString();\n default:\n return cell;\n }\n };\n\n private getCellAlignment = (\n cell: any,\n alignment: \"horizontal\" | \"vertical\"\n ) => {\n if (this.isObject(cell) && Object.keys(cell).includes(\"cellAlignment\")) {\n return this.getObjectValue(\n this.getObjectValue(cell, \"cellAlignment\"),\n alignment\n );\n }\n };\n\n private createCells = (row: object) => {\n const rowValues = Object.values(row);\n const rowKeys = Object.keys(row);\n let rowAlignment: string;\n let rowEmphasis: string;\n const headerIndex = rowKeys.indexOf(\"header\");\n if (headerIndex > -1) {\n rowAlignment = this.getObjectValue(\n rowValues[headerIndex],\n \"rowAlignment\"\n );\n rowEmphasis = this.getObjectValue(rowValues[headerIndex], \"emphasis\");\n }\n return rowValues.map((cell, index) => {\n const { columnAlignment, dataType, emphasis } = this.columns[index];\n const cellValue = (key: string) => this.getObjectValue(cell, key);\n\n return rowKeys[index] === \"header\" ? (\n <th\n scope=\"row\"\n colSpan={cellValue(\"colspan\")}\n class={{\n [\"row-header\"]: true,\n [`row-header-alignment-${cellValue(\"cellAlignment\")}`]:\n !!cellValue(\"cellAlignment\"),\n [\"row-header-sticky\"]: this.stickyRowHeaders,\n }}\n >\n {cellValue(\"title\")}\n </th>\n ) : (\n <td\n innerHTML={dataType === \"element\" ? (cell as string) : null}\n class={{\n [\"table-cell\"]: true,\n [`table-density-${this.density}`]: this.notDefaultDensity(),\n [`data-type-${dataType}`]: true,\n [`cell-alignment-${\n columnAlignment?.horizontal ||\n this.getCellAlignment(cell, \"horizontal\")\n }`]:\n !!columnAlignment?.horizontal ||\n !!this.getCellAlignment(cell, \"horizontal\"),\n [`cell-alignment-${\n columnAlignment?.vertical ||\n rowAlignment ||\n this.getCellAlignment(cell, \"vertical\")\n }`]:\n !!columnAlignment?.vertical ||\n !!rowAlignment ||\n !!this.getCellAlignment(cell, \"vertical\"),\n }}\n >\n <ic-typography\n variant=\"body\"\n class={{\n [`cell-emphasis-${\n (this.isObject(cell) && cellValue(\"emphasis\")) ||\n emphasis ||\n rowEmphasis\n }`]:\n (this.isObject(cell) && !!cellValue(\"emphasis\")) ||\n !!emphasis ||\n !!rowEmphasis,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {this.isObject(cell) && dataType !== \"date\" ? (\n Object.keys(cell).includes(\"href\") ? (\n <ic-link href={cellValue(\"href\")}>{cellValue(\"data\")}</ic-link>\n ) : (\n cellValue(\"data\")\n )\n ) : (\n this.getCellContent(cell, dataType)\n )}\n </ic-typography>\n </td>\n );\n });\n };\n\n private createColumnHeaders = () => {\n return this.columns.map(({ cellAlignment, colspan, key, title }) => (\n <th\n scope=\"col\"\n class={{\n [\"column-header\"]: true,\n [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,\n [`table-density-${this.density}`]: this.notDefaultDensity(),\n }}\n colSpan={colspan}\n >\n {this.sortable ? (\n <div class=\"column-header-inner-container\">\n <ic-typography\n variant=\"body\"\n class={{\n [\"column-header-text\"]: true,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {title}\n </ic-typography>\n <ic-button\n variant=\"icon\"\n id={`sort-button-${key}`}\n aria-label={this.getSortButtonLabel(key)}\n // eslint-disable-next-line react/jsx-no-bind\n onClick={() => this.sortRows(key)}\n innerHTML={\n this.SORT_ICONS[\n this.sortedColumn === key\n ? this.sortedColumnOrder\n : \"unsorted\"\n ]\n }\n class={{\n [\"sort-button\"]: true,\n [\"sort-button-unsorted\"]:\n this.sortedColumn !== key ||\n this.sortedColumnOrder === \"unsorted\",\n }}\n ></ic-button>\n </div>\n ) : (\n <ic-typography\n variant=\"body\"\n class={{\n [\"column-header-text\"]: true,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {title}\n </ic-typography>\n )}\n </th>\n ));\n };\n\n private createRows = () => {\n const data = this.showPagination\n ? this.data.slice(this.fromRow, this.toRow)\n : this.data.slice();\n return data\n .sort(!this.sortable ? undefined : this.getSortFunction())\n .map((row) => (\n <tr\n onClick={() => (this.selectedRow = this.selectedRow !== row && row)}\n class={{\n [\"table-row\"]: true,\n [\"table-row-selected\"]: this.selectedRow === row,\n }}\n >\n {this.createCells(row)}\n </tr>\n ));\n };\n\n private getObjectValue = (cell: object, key: string) => {\n return Object.values(cell)[Object.keys(cell).indexOf(key)];\n };\n\n private getSortButtonLabel = (key: string) => {\n let label = \"\";\n const getNextSortOption = (option: IcDataTableSortOrderOptions) => {\n const sortOrders = this.sortOptions.sortOrders;\n return sortOrders[(sortOrders.indexOf(option) + 1) % sortOrders.length];\n };\n\n if (this.sortedColumn === key) {\n const sortOption = getNextSortOption(this.sortedColumnOrder);\n label = sortOption !== \"unsorted\" ? `Sort ${sortOption}` : \"Remove sort\";\n } else {\n label = `Sort ${getNextSortOption(\"unsorted\")}`;\n }\n\n return label;\n };\n\n private getComparison = (targetRow: any, comparisonRow: any): number => {\n const targetRowValue = targetRow[this.sortedColumn];\n const comparisonRowValue = comparisonRow[this.sortedColumn];\n return this.columns.find((col) => col.key === this.sortedColumn)\n .dataType === \"date\"\n ? new Date(targetRowValue).valueOf() -\n new Date(comparisonRowValue).valueOf()\n : String(\n this.isObject(targetRowValue)\n ? Object.values(targetRowValue)[0]\n : targetRowValue\n ).localeCompare(\n String(\n this.isObject(comparisonRowValue)\n ? Object.values(comparisonRowValue)[0]\n : comparisonRowValue\n ),\n undefined,\n { numeric: true, sensitivity: \"base\" }\n );\n };\n\n private getSortFunction = () => {\n switch (this.sortedColumnOrder) {\n case \"ascending\":\n return (a: any, b: any) => this.getComparison(a, b);\n case \"descending\":\n return (a: any, b: any) => this.getComparison(b, a);\n default:\n return undefined;\n }\n };\n\n private sortRows = (column: string) => {\n const sortButton = this.el.shadowRoot.querySelector(\n `#sort-button-${column}`\n ) as HTMLIcButtonElement;\n\n const sortOrders = this.sortOptions.sortOrders;\n\n if (column !== this.sortedColumn) {\n if (this.sortedColumn) {\n const previousSortedButton = this.el.shadowRoot.querySelector(\n `#sort-button-${this.sortedColumn}`\n ) as HTMLIcButtonElement;\n previousSortedButton.updateAriaLabel(this.getSortButtonLabel(column)); // Passing through unsorted column returns correct label for newly unsorted column\n }\n this.sortedColumn = column;\n this.sortedColumnOrder = \"unsorted\";\n }\n\n let nextSortOrderIndex = sortOrders.indexOf(this.sortedColumnOrder) + 1;\n\n if (nextSortOrderIndex > sortOrders.length - 1) {\n nextSortOrderIndex = 0;\n }\n\n this.sortedColumnOrder = sortOrders[nextSortOrderIndex];\n\n sortButton.updateAriaLabel(this.getSortButtonLabel(column));\n };\n\n private updateScrollOffset = () => {\n this.scrollOffset = this.el.shadowRoot.querySelector(\n \".table-row-container\"\n ).scrollTop;\n };\n\n render() {\n const {\n caption,\n createColumnHeaders,\n createRows,\n data,\n hideColumnHeaders,\n paginationOptions,\n scrollable,\n scrollOffset,\n showPagination,\n sortable,\n sortedColumnOrder,\n sortedColumn,\n stickyColumnHeaders,\n updateScrollOffset,\n } = this;\n\n return (\n <div class=\"table-container\">\n <div\n class={{\n [\"table-row-container\"]: true,\n scrollable,\n }}\n tabIndex={scrollable ? 0 : null}\n onScroll={updateScrollOffset}\n >\n <table>\n <caption class=\"table-caption\">{caption}</caption>\n {!hideColumnHeaders && (\n <thead\n class={{\n [\"column-header-sticky\"]: stickyColumnHeaders,\n [\"column-header-overlay\"]:\n stickyColumnHeaders && scrollOffset !== 0,\n }}\n >\n <tr>{createColumnHeaders()}</tr>\n </thead>\n )}\n {data?.length > 0 && <tbody>{createRows()}</tbody>}\n </table>\n </div>\n {showPagination && (\n <div class=\"pagination-container\">\n <ic-pagination-bar\n totalItems={data.length}\n paginationType={paginationOptions.type}\n paginationControl={paginationOptions.control}\n showItemsPerPageControl={paginationOptions.itemsPerPageControl}\n showGoToPageControl={paginationOptions.goToPageControl}\n itemsPerPageOptions={paginationOptions.itemsPerPage}\n alignment={paginationOptions.alignment}\n ></ic-pagination-bar>\n </div>\n )}\n {sortable && (\n <div class=\"screen-reader-sort-text\" aria-live=\"polite\">\n {sortedColumnOrder !== \"unsorted\" && sortedColumn\n ? `${sortedColumn} sorted ${sortedColumnOrder}`\n : \"table unsorted\"}\n </div>\n )}\n </div>\n );\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ic-data-table.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-data-table.types.js","sourceRoot":"","sources":["../../../src/components/ic-data-table/ic-data-table.types.tsx"],"names":[],"mappings":"","sourcesContent":["export type IcDataTableSortOrderOptions =\n | \"unsorted\"\n | \"ascending\"\n | \"descending\";\n\nexport type IcDataTableDensityOptions = \"default\" | \"dense\" | \"spacious\";\n\nexport type IcDataTableColumnDataTypes =\n | \"string\"\n | \"number\"\n | \"address\"\n | \"element\"\n | \"date\";\n\nexport type IcDataTableColumnObject = {\n key: string;\n title: string;\n dataType: IcDataTableColumnDataTypes;\n columnAlignment?: {\n horizontal?: string;\n vertical?: string;\n };\n cellAlignment?: string;\n emphasis?: string;\n colspan?: number;\n};\n"]}
@@ -0,0 +1,28 @@
1
+ import { fixture } from "@open-wc/testing-helpers";
2
+ import { axe } from "jest-axe";
3
+ import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
+ describe("ic-unstable-data-table", () => {
5
+ it("passes accessibility", async () => {
6
+ const el = await fixture(`<ic-unstable-data-table></ic-unstable-data-table>
7
+ <script>
8
+ var dataTable = document.querySelector('ic-unstable-data-table');
9
+ dataTable.columns = [
10
+ {key: "name", title: "Name", dataType: "string"},
11
+ {key: "age", title: "Age", dataType: "number"},
12
+ {key: "department", title: "Department", dataType: "string"},
13
+ {key: "employeeNumber", title: "Employee number", dataType: "number"}
14
+ ];
15
+ dataTable.data = [
16
+ {name: "John Smith", age: 36, department: "Accounts", employeeNumber: 1},
17
+ {name: "Sally Jones", age: 32, department: "Engineering", employeeNumber: 2},
18
+ {name: "Tim Rayes", age: 41, department: "Sales", employeeNumber: 3},
19
+ {name: "Luke Fisher", age: "23", department: "Engineering", employeeNumber: 4},
20
+ {name: "Jane Lock", age: 34, department: "Engineering", employeeNumber: 5},
21
+ {name: "Margaret Hale", age: 45, department: "HR", employeeNumber: 6}
22
+ ];
23
+ </script>`);
24
+ checkShadowElementRendersCorrectly(el);
25
+ expect(await axe(el)).toHaveNoViolations();
26
+ });
27
+ });
28
+ //# sourceMappingURL=ic-data-table.test.a11y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-data-table.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-data-table/test/a11y/ic-data-table.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;EACtC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB;;;;;;;;;;;;;;;;;gBAiBU,CACX,CAAC;IACF,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"ic-unstable-data-table\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\n `<ic-unstable-data-table></ic-unstable-data-table>\n <script>\n var dataTable = document.querySelector('ic-unstable-data-table');\n dataTable.columns = [\n {key: \"name\", title: \"Name\", dataType: \"string\"},\n {key: \"age\", title: \"Age\", dataType: \"number\"},\n {key: \"department\", title: \"Department\", dataType: \"string\"},\n {key: \"employeeNumber\", title: \"Employee number\", dataType: \"number\"}\n ];\n dataTable.data = [\n {name: \"John Smith\", age: 36, department: \"Accounts\", employeeNumber: 1},\n {name: \"Sally Jones\", age: 32, department: \"Engineering\", employeeNumber: 2},\n {name: \"Tim Rayes\", age: 41, department: \"Sales\", employeeNumber: 3},\n {name: \"Luke Fisher\", age: \"23\", department: \"Engineering\", employeeNumber: 4},\n {name: \"Jane Lock\", age: 34, department: \"Engineering\", employeeNumber: 5},\n {name: \"Margaret Hale\", age: 45, department: \"HR\", employeeNumber: 6}\n ];\n </script>`\n );\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}